files.com 1.0.233 → 1.0.234

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.233
1
+ 1.0.234
@@ -64,7 +64,7 @@
64
64
  "type_of_2fa": "yubi",
65
65
  "updated_at": "2000-01-01T01:00:00Z",
66
66
  "user_root": "example",
67
- "days_remaining_until_password_expire": "2000-01-01T01:00:00Z",
67
+ "days_remaining_until_password_expire": 1,
68
68
  "password_expire_at": "2000-01-01T01:00:00Z"
69
69
  }
70
70
  ```
@@ -127,7 +127,7 @@
127
127
  * `type_of_2fa` (string): Type(s) of 2FA methods in use. Will be either `sms`, `totp`, `u2f`, `yubi`, or multiple values sorted alphabetically and joined by an underscore.
128
128
  * `updated_at` (date-time): User record most recently updated at. Note this may be incremented because of internal or external updates.
129
129
  * `user_root` (string): Root folder for FTP (and optionally SFTP if the appropriate site-wide setting is set.) Note that this is not used for API, Desktop, or Web interface.
130
- * `days_remaining_until_password_expire` (date-time): Number of days remaining until password expires
130
+ * `days_remaining_until_password_expire` (int64): Number of days remaining until password expires
131
131
  * `password_expire_at` (date-time): Password expiration datetime
132
132
  * `avatar_file` (file): An image file for your user avatar.
133
133
  * `avatar_delete` (boolean): If true, the avatar will be deleted.
@@ -484,7 +484,7 @@ await user.update({
484
484
  "type_of_2fa": "yubi",
485
485
  "updated_at": "2000-01-01T01:00:00Z",
486
486
  "user_root": "example",
487
- "days_remaining_until_password_expire": "2000-01-01T01:00:00Z",
487
+ "days_remaining_until_password_expire": 1,
488
488
  "password_expire_at": "2000-01-01T01:00:00Z"
489
489
  }
490
490
  ```
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "files.com",
3
- "version": "1.0.233",
3
+ "version": "1.0.234",
4
4
  "description": "Files.com SDK for JavaScript",
5
5
  "keywords": [
6
6
  "files.com",
@@ -421,7 +421,7 @@ class User {
421
421
  this.attributes.user_root = value
422
422
  }
423
423
 
424
- // date-time # Number of days remaining until password expires
424
+ // int64 # Number of days remaining until password expires
425
425
  getDaysRemainingUntilPasswordExpire = () => this.attributes.days_remaining_until_password_expire
426
426
 
427
427
  setDaysRemainingUntilPasswordExpire = value => {