Skip to content

Commit df26491

Browse files
[Bot] push changes from Files.com
1 parent 4be9a91 commit df26491

7 files changed

Lines changed: 17 additions & 17 deletions

File tree

_VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
1.2.609
1+
1.2.610

docs/models/UserLifecycleRule.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
```
66
{
77
"id": 1,
8-
"authentication_method": "password",
8+
"authentication_method": "all_non_sso",
99
"group_ids": [
1010
1,
1111
2,
@@ -26,7 +26,7 @@
2626
```
2727

2828
* `id` (int64): User Lifecycle Rule ID
29-
* `authentication_method` (string): User authentication method for which the rule will apply.
29+
* `authentication_method` (string): User authentication method for which the rule will apply. Use `all_non_sso` to target every non-SSO authentication method with one rule.
3030
* `group_ids` (array(int64)): Array of Group IDs to which the rule applies. If empty or not set, the rule applies to all users.
3131
* `action` (string): Action to take on inactive users (disable or delete)
3232
* `inactivity_days` (int64): Number of days of inactivity before the rule applies
@@ -76,7 +76,7 @@ await UserLifecycleRule.find(id)
7676
```
7777
await UserLifecycleRule.create({
7878
'apply_to_all_workspaces': true,
79-
'authentication_method': "password",
79+
'authentication_method': "all_non_sso",
8080
'group_ids': [1,2,3],
8181
'inactivity_days': 12,
8282
'include_site_admins': true,
@@ -94,7 +94,7 @@ await UserLifecycleRule.create({
9494

9595
* `action` (string): Action to take on inactive users (disable or delete)
9696
* `apply_to_all_workspaces` (boolean): If true, a default-workspace rule also applies to users in all workspaces.
97-
* `authentication_method` (string): User authentication method for which the rule will apply.
97+
* `authentication_method` (string): User authentication method for which the rule will apply. Use `all_non_sso` to target every non-SSO authentication method with one rule.
9898
* `group_ids` (array(int64)): Array of Group IDs to which the rule applies. If empty or not set, the rule applies to all users.
9999
* `inactivity_days` (int64): Number of days of inactivity before the rule applies
100100
* `include_site_admins` (boolean): If true, the rule will apply to site admins.
@@ -114,7 +114,7 @@ const user_lifecycle_rule = await UserLifecycleRule.find(id)
114114
115115
await user_lifecycle_rule.update({
116116
'apply_to_all_workspaces': true,
117-
'authentication_method': "password",
117+
'authentication_method': "all_non_sso",
118118
'group_ids': [1,2,3],
119119
'inactivity_days': 12,
120120
'include_site_admins': true,
@@ -132,7 +132,7 @@ await user_lifecycle_rule.update({
132132
* `id` (int64): Required - User Lifecycle Rule ID.
133133
* `action` (string): Action to take on inactive users (disable or delete)
134134
* `apply_to_all_workspaces` (boolean): If true, a default-workspace rule also applies to users in all workspaces.
135-
* `authentication_method` (string): User authentication method for which the rule will apply.
135+
* `authentication_method` (string): User authentication method for which the rule will apply. Use `all_non_sso` to target every non-SSO authentication method with one rule.
136136
* `group_ids` (array(int64)): Array of Group IDs to which the rule applies. If empty or not set, the rule applies to all users.
137137
* `inactivity_days` (int64): Number of days of inactivity before the rule applies
138138
* `include_site_admins` (boolean): If true, the rule will apply to site admins.
@@ -148,7 +148,7 @@ await user_lifecycle_rule.update({
148148
```json
149149
{
150150
"id": 1,
151-
"authentication_method": "password",
151+
"authentication_method": "all_non_sso",
152152
"group_ids": [
153153
1,
154154
2,

lib/Files.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ var apiKey;
1212
var baseUrl = 'https://app.files.com';
1313
var sessionId = null;
1414
var language = null;
15-
var version = '1.2.609';
15+
var version = '1.2.610';
1616
var userAgent = "Files.com JavaScript SDK v".concat(version);
1717
var logLevel = _Logger.LogLevel.INFO;
1818
var debugRequest = false;

lib/models/UserLifecycleRule.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ var UserLifecycleRule = /*#__PURE__*/(0, _createClass2.default)(function UserLif
3939
(0, _defineProperty2.default)(this, "setId", function (value) {
4040
_this.attributes.id = value;
4141
});
42-
// string # User authentication method for which the rule will apply.
42+
// string # User authentication method for which the rule will apply. Use `all_non_sso` to target every non-SSO authentication method with one rule.
4343
(0, _defineProperty2.default)(this, "getAuthenticationMethod", function () {
4444
return _this.attributes.authentication_method;
4545
});
@@ -133,7 +133,7 @@ var UserLifecycleRule = /*#__PURE__*/(0, _createClass2.default)(function UserLif
133133
// Parameters:
134134
// action - string - Action to take on inactive users (disable or delete)
135135
// apply_to_all_workspaces - boolean - If true, a default-workspace rule also applies to users in all workspaces.
136-
// authentication_method - string - User authentication method for which the rule will apply.
136+
// authentication_method - string - User authentication method for which the rule will apply. Use `all_non_sso` to target every non-SSO authentication method with one rule.
137137
// group_ids - array(int64) - Array of Group IDs to which the rule applies. If empty or not set, the rule applies to all users.
138138
// inactivity_days - int64 - Number of days of inactivity before the rule applies
139139
// include_site_admins - boolean - If true, the rule will apply to site admins.
@@ -444,7 +444,7 @@ _UserLifecycleRule = UserLifecycleRule;
444444
// Parameters:
445445
// action - string - Action to take on inactive users (disable or delete)
446446
// apply_to_all_workspaces - boolean - If true, a default-workspace rule also applies to users in all workspaces.
447-
// authentication_method - string - User authentication method for which the rule will apply.
447+
// authentication_method - string - User authentication method for which the rule will apply. Use `all_non_sso` to target every non-SSO authentication method with one rule.
448448
// group_ids - array(int64) - Array of Group IDs to which the rule applies. If empty or not set, the rule applies to all users.
449449
// inactivity_days - int64 - Number of days of inactivity before the rule applies
450450
// include_site_admins - boolean - If true, the rule will apply to site admins.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "files.com",
3-
"version": "1.2.609",
3+
"version": "1.2.610",
44
"description": "Files.com SDK for JavaScript",
55
"keywords": [
66
"files.com",

src/Files.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ let apiKey
66
let baseUrl = 'https://app.files.com'
77
let sessionId = null
88
let language = null
9-
const version = '1.2.609'
9+
const version = '1.2.610'
1010
let userAgent = `Files.com JavaScript SDK v${version}`
1111

1212
let logLevel = LogLevel.INFO

src/models/UserLifecycleRule.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ class UserLifecycleRule {
3535
this.attributes.id = value
3636
}
3737

38-
// string # User authentication method for which the rule will apply.
38+
// string # User authentication method for which the rule will apply. Use `all_non_sso` to target every non-SSO authentication method with one rule.
3939
getAuthenticationMethod = () => this.attributes.authentication_method
4040

4141
setAuthenticationMethod = value => {
@@ -129,7 +129,7 @@ class UserLifecycleRule {
129129
// Parameters:
130130
// action - string - Action to take on inactive users (disable or delete)
131131
// apply_to_all_workspaces - boolean - If true, a default-workspace rule also applies to users in all workspaces.
132-
// authentication_method - string - User authentication method for which the rule will apply.
132+
// authentication_method - string - User authentication method for which the rule will apply. Use `all_non_sso` to target every non-SSO authentication method with one rule.
133133
// group_ids - array(int64) - Array of Group IDs to which the rule applies. If empty or not set, the rule applies to all users.
134134
// inactivity_days - int64 - Number of days of inactivity before the rule applies
135135
// include_site_admins - boolean - If true, the rule will apply to site admins.
@@ -292,7 +292,7 @@ class UserLifecycleRule {
292292
// Parameters:
293293
// action - string - Action to take on inactive users (disable or delete)
294294
// apply_to_all_workspaces - boolean - If true, a default-workspace rule also applies to users in all workspaces.
295-
// authentication_method - string - User authentication method for which the rule will apply.
295+
// authentication_method - string - User authentication method for which the rule will apply. Use `all_non_sso` to target every non-SSO authentication method with one rule.
296296
// group_ids - array(int64) - Array of Group IDs to which the rule applies. If empty or not set, the rule applies to all users.
297297
// inactivity_days - int64 - Number of days of inactivity before the rule applies
298298
// include_site_admins - boolean - If true, the rule will apply to site admins.

0 commit comments

Comments
 (0)