files.com 1.0.271 → 1.0.272

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.271
1
+ 1.0.272
@@ -213,7 +213,8 @@
213
213
  "welcome_email_enabled": true,
214
214
  "welcome_screen": "user_controlled",
215
215
  "windows_mode_ftp": true,
216
- "disable_users_from_inactivity_period_days": 1
216
+ "disable_users_from_inactivity_period_days": 1,
217
+ "group_admins_can_set_user_password": true
217
218
  }
218
219
  ```
219
220
 
@@ -358,6 +359,7 @@
358
359
  * `welcome_screen` (string): Does the welcome screen appear?
359
360
  * `windows_mode_ftp` (boolean): Does FTP user Windows emulation mode?
360
361
  * `disable_users_from_inactivity_period_days` (int64): If greater than zero, users will unable to login if they do not show activity within this number of days.
362
+ * `group_admins_can_set_user_password` (boolean): Allow group admins set password authentication method
361
363
 
362
364
  ---
363
365
 
@@ -461,6 +463,7 @@ await Site.update({
461
463
  'sftp_host_key_type': "default",
462
464
  'active_sftp_host_key_id': 1,
463
465
  'bundle_watermark_value': {"key":"example value"},
466
+ 'group_admins_can_set_user_password': true,
464
467
  'allowed_2fa_method_sms': true,
465
468
  'allowed_2fa_method_u2f': true,
466
469
  'allowed_2fa_method_totp': true,
@@ -591,6 +594,7 @@ await Site.update({
591
594
  * `sftp_host_key_type` (string): Sftp Host Key Type
592
595
  * `active_sftp_host_key_id` (int64): Id of the currently selected custom SFTP Host Key
593
596
  * `bundle_watermark_value` (object): Preview watermark settings applied to all bundle items. Uses the same keys as Behavior.value
597
+ * `group_admins_can_set_user_password` (boolean): Allow group admins set password authentication method
594
598
  * `allowed_2fa_method_sms` (boolean): Is SMS two factor authentication allowed?
595
599
  * `allowed_2fa_method_u2f` (boolean): Is U2F two factor authentication allowed?
596
600
  * `allowed_2fa_method_totp` (boolean): Is TOTP two factor authentication allowed?
@@ -595,6 +595,10 @@ var Site = /*#__PURE__*/(0, _createClass2.default)(function Site() {
595
595
  (0, _defineProperty2.default)(this, "getDisableUsersFromInactivityPeriodDays", function () {
596
596
  return _this.attributes.disable_users_from_inactivity_period_days;
597
597
  });
598
+ // boolean # Allow group admins set password authentication method
599
+ (0, _defineProperty2.default)(this, "getGroupAdminsCanSetUserPassword", function () {
600
+ return _this.attributes.group_admins_can_set_user_password;
601
+ });
598
602
  Object.entries(attributes).forEach(function (_ref) {
599
603
  var _ref2 = (0, _slicedToArray2.default)(_ref, 2),
600
604
  key = _ref2[0],
@@ -725,6 +729,7 @@ var Site = /*#__PURE__*/(0, _createClass2.default)(function Site() {
725
729
  // sftp_host_key_type - string - Sftp Host Key Type
726
730
  // active_sftp_host_key_id - int64 - Id of the currently selected custom SFTP Host Key
727
731
  // bundle_watermark_value - object - Preview watermark settings applied to all bundle items. Uses the same keys as Behavior.value
732
+ // group_admins_can_set_user_password - boolean - Allow group admins set password authentication method
728
733
  // allowed_2fa_method_sms - boolean - Is SMS two factor authentication allowed?
729
734
  // allowed_2fa_method_u2f - boolean - Is U2F two factor authentication allowed?
730
735
  // allowed_2fa_method_totp - boolean - Is TOTP two factor authentication allowed?
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "files.com",
3
- "version": "1.0.271",
3
+ "version": "1.0.272",
4
4
  "description": "Files.com SDK for JavaScript",
5
5
  "keywords": [
6
6
  "files.com",
@@ -446,6 +446,9 @@ class Site {
446
446
  // int64 # If greater than zero, users will unable to login if they do not show activity within this number of days.
447
447
  getDisableUsersFromInactivityPeriodDays = () => this.attributes.disable_users_from_inactivity_period_days
448
448
 
449
+ // boolean # Allow group admins set password authentication method
450
+ getGroupAdminsCanSetUserPassword = () => this.attributes.group_admins_can_set_user_password
451
+
449
452
 
450
453
  static get = async (options = {}) => {
451
454
  const response = await Api.sendRequest(`/site`, 'GET', {}, options)
@@ -538,6 +541,7 @@ class Site {
538
541
  // sftp_host_key_type - string - Sftp Host Key Type
539
542
  // active_sftp_host_key_id - int64 - Id of the currently selected custom SFTP Host Key
540
543
  // bundle_watermark_value - object - Preview watermark settings applied to all bundle items. Uses the same keys as Behavior.value
544
+ // group_admins_can_set_user_password - boolean - Allow group admins set password authentication method
541
545
  // allowed_2fa_method_sms - boolean - Is SMS two factor authentication allowed?
542
546
  // allowed_2fa_method_u2f - boolean - Is U2F two factor authentication allowed?
543
547
  // allowed_2fa_method_totp - boolean - Is TOTP two factor authentication allowed?