files.com 1.2.208 → 1.2.210

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.2.208
1
+ 1.2.210
@@ -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",
@@ -40,6 +40,7 @@
40
40
  "provision_time_zone": "Eastern Time (US & Canada)",
41
41
  "provision_company": "ACME Corp.",
42
42
  "provision_require_2fa": "always_require",
43
+ "identifier": "",
43
44
  "ldap_base_dn": "example",
44
45
  "ldap_domain": "mysite.com",
45
46
  "enabled": true,
@@ -89,6 +90,7 @@
89
90
  * `provision_time_zone` (string): Default time zone for auto provisioned users.
90
91
  * `provision_company` (string): Default company for auto provisioned users.
91
92
  * `provision_require_2fa` (string): 2FA required setting for auto provisioned users.
93
+ * `identifier` (string): URL-friendly, unique identifier for Azure SAML configuration
92
94
  * `ldap_base_dn` (string): Base DN for looking up users in LDAP server
93
95
  * `ldap_domain` (string): Domain name that will be appended to LDAP usernames
94
96
  * `enabled` (boolean): Is strategy enabled? This may become automatically set to `false` after a high number and duration of failures.
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.208';
14
+ var version = '1.2.210';
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;
@@ -177,6 +177,10 @@ var SsoStrategy = /*#__PURE__*/(0, _createClass2.default)(function SsoStrategy()
177
177
  (0, _defineProperty2.default)(this, "getProvisionRequire2fa", function () {
178
178
  return _this.attributes.provision_require_2fa;
179
179
  });
180
+ // string # URL-friendly, unique identifier for Azure SAML configuration
181
+ (0, _defineProperty2.default)(this, "getIdentifier", function () {
182
+ return _this.attributes.identifier;
183
+ });
180
184
  // string # Base DN for looking up users in LDAP server
181
185
  (0, _defineProperty2.default)(this, "getLdapBaseDn", function () {
182
186
  return _this.attributes.ldap_base_dn;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "files.com",
3
- "version": "1.2.208",
3
+ "version": "1.2.210",
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.208'
8
+ const version = '1.2.210'
9
9
  let userAgent = `Files.com JavaScript SDK v${version}`
10
10
 
11
11
  let logLevel = LogLevel.INFO
@@ -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
 
@@ -136,6 +136,9 @@ class SsoStrategy {
136
136
  // string # 2FA required setting for auto provisioned users.
137
137
  getProvisionRequire2fa = () => this.attributes.provision_require_2fa
138
138
 
139
+ // string # URL-friendly, unique identifier for Azure SAML configuration
140
+ getIdentifier = () => this.attributes.identifier
141
+
139
142
  // string # Base DN for looking up users in LDAP server
140
143
  getLdapBaseDn = () => this.attributes.ldap_base_dn
141
144