files.com 1.0.234 → 1.0.235
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 +1 -1
- package/docs/models/PaymentLineItem.md +1 -3
- package/docs/models/UsageSnapshot.md +0 -8
- package/docs/models/User.md +0 -3
- package/lib/models/PaymentLineItem.js +0 -3
- package/lib/models/UsageSnapshot.js +0 -12
- package/lib/models/User.js +0 -3
- package/package.json +1 -1
- package/src/models/PaymentLineItem.js +0 -3
- package/src/models/UsageSnapshot.js +0 -12
- package/src/models/User.js +0 -3
package/_VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.0.
|
1
|
+
1.0.235
|
@@ -7,8 +7,7 @@
|
|
7
7
|
"amount": 1.0,
|
8
8
|
"created_at": "2000-01-01T01:00:00Z",
|
9
9
|
"invoice_id": 1,
|
10
|
-
"payment_id": 1
|
11
|
-
"updated_at": "2000-01-01T01:00:00Z"
|
10
|
+
"payment_id": 1
|
12
11
|
}
|
13
12
|
```
|
14
13
|
|
@@ -16,4 +15,3 @@
|
|
16
15
|
* `created_at` (date-time): Payment line item created at date/time
|
17
16
|
* `invoice_id` (int64): Invoice ID
|
18
17
|
* `payment_id` (int64): Payment ID
|
19
|
-
* `updated_at` (date-time): Payment line item updated at date/time
|
@@ -7,13 +7,9 @@
|
|
7
7
|
"id": 1,
|
8
8
|
"start_at": "2000-01-01T01:00:00Z",
|
9
9
|
"end_at": "2000-01-01T01:00:00Z",
|
10
|
-
"created_at": "2000-01-01T01:00:00Z",
|
11
10
|
"high_water_user_count": 1.0,
|
12
11
|
"current_storage": 1.0,
|
13
12
|
"high_water_storage": 1.0,
|
14
|
-
"total_downloads": 1,
|
15
|
-
"total_uploads": 1,
|
16
|
-
"updated_at": "2000-01-01T01:00:00Z",
|
17
13
|
"usage_by_top_level_dir": {
|
18
14
|
"key": "example value"
|
19
15
|
},
|
@@ -31,13 +27,9 @@
|
|
31
27
|
* `id` (int64): Usage snapshot ID
|
32
28
|
* `start_at` (date-time): Usage snapshot start date/time
|
33
29
|
* `end_at` (date-time): Usage snapshot end date/time
|
34
|
-
* `created_at` (date-time): DEPRECATED: Usage snapshot created at date/time
|
35
30
|
* `high_water_user_count` (double): Highest user count number in time period
|
36
31
|
* `current_storage` (double): Current total Storage Usage GB as of end date (not necessarily high water mark, which is used for billing)
|
37
32
|
* `high_water_storage` (double): Highest Storage Usage GB recorded in time period (used for billing)
|
38
|
-
* `total_downloads` (int64): DEPRECATED: Number of downloads in report time period
|
39
|
-
* `total_uploads` (int64): DEPRECATED: Number of uploads in time period
|
40
|
-
* `updated_at` (date-time): DEPRECATED: The last time this site usage report was updated
|
41
33
|
* `usage_by_top_level_dir` (object): Storage Usage - map of root folders to their usage as of end date (not necessarily high water mark, which is used for billing)
|
42
34
|
* `root_storage` (double): Storage Usage for root folder as of end date (not necessarily high water mark, which is used for billing)
|
43
35
|
* `deleted_files_counted_in_minimum` (double): Storage Usage for files that are deleted but uploaded within last 30 days as of end date (not necessarily high water mark, which is used for billing)
|
package/docs/models/User.md
CHANGED
@@ -62,7 +62,6 @@
|
|
62
62
|
"externally_managed": true,
|
63
63
|
"time_zone": "Pacific Time (US & Canada)",
|
64
64
|
"type_of_2fa": "yubi",
|
65
|
-
"updated_at": "2000-01-01T01:00:00Z",
|
66
65
|
"user_root": "example",
|
67
66
|
"days_remaining_until_password_expire": 1,
|
68
67
|
"password_expire_at": "2000-01-01T01:00:00Z"
|
@@ -125,7 +124,6 @@
|
|
125
124
|
* `externally_managed` (boolean): Is this user managed by a SsoStrategy?
|
126
125
|
* `time_zone` (string): User time zone
|
127
126
|
* `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
|
-
* `updated_at` (date-time): User record most recently updated at. Note this may be incremented because of internal or external updates.
|
129
127
|
* `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
128
|
* `days_remaining_until_password_expire` (int64): Number of days remaining until password expires
|
131
129
|
* `password_expire_at` (date-time): Password expiration datetime
|
@@ -482,7 +480,6 @@ await user.update({
|
|
482
480
|
"externally_managed": true,
|
483
481
|
"time_zone": "Pacific Time (US & Canada)",
|
484
482
|
"type_of_2fa": "yubi",
|
485
|
-
"updated_at": "2000-01-01T01:00:00Z",
|
486
483
|
"user_root": "example",
|
487
484
|
"days_remaining_until_password_expire": 1,
|
488
485
|
"password_expire_at": "2000-01-01T01:00:00Z"
|
@@ -41,9 +41,6 @@ var PaymentLineItem = /*#__PURE__*/(0, _createClass2.default)(function PaymentLi
|
|
41
41
|
(0, _defineProperty2.default)(this, "getPaymentId", function () {
|
42
42
|
return _this.attributes.payment_id;
|
43
43
|
});
|
44
|
-
(0, _defineProperty2.default)(this, "getUpdatedAt", function () {
|
45
|
-
return _this.attributes.updated_at;
|
46
|
-
});
|
47
44
|
Object.entries(attributes).forEach(function (_ref) {
|
48
45
|
var _ref2 = (0, _slicedToArray2.default)(_ref, 2),
|
49
46
|
key = _ref2[0],
|
@@ -40,9 +40,6 @@ var UsageSnapshot = /*#__PURE__*/(0, _createClass2.default)(function UsageSnapsh
|
|
40
40
|
(0, _defineProperty2.default)(this, "getEndAt", function () {
|
41
41
|
return _this.attributes.end_at;
|
42
42
|
});
|
43
|
-
(0, _defineProperty2.default)(this, "getCreatedAt", function () {
|
44
|
-
return _this.attributes.created_at;
|
45
|
-
});
|
46
43
|
(0, _defineProperty2.default)(this, "getHighWaterUserCount", function () {
|
47
44
|
return _this.attributes.high_water_user_count;
|
48
45
|
});
|
@@ -52,15 +49,6 @@ var UsageSnapshot = /*#__PURE__*/(0, _createClass2.default)(function UsageSnapsh
|
|
52
49
|
(0, _defineProperty2.default)(this, "getHighWaterStorage", function () {
|
53
50
|
return _this.attributes.high_water_storage;
|
54
51
|
});
|
55
|
-
(0, _defineProperty2.default)(this, "getTotalDownloads", function () {
|
56
|
-
return _this.attributes.total_downloads;
|
57
|
-
});
|
58
|
-
(0, _defineProperty2.default)(this, "getTotalUploads", function () {
|
59
|
-
return _this.attributes.total_uploads;
|
60
|
-
});
|
61
|
-
(0, _defineProperty2.default)(this, "getUpdatedAt", function () {
|
62
|
-
return _this.attributes.updated_at;
|
63
|
-
});
|
64
52
|
(0, _defineProperty2.default)(this, "getUsageByTopLevelDir", function () {
|
65
53
|
return _this.attributes.usage_by_top_level_dir;
|
66
54
|
});
|
package/lib/models/User.js
CHANGED
@@ -364,9 +364,6 @@ var User = /*#__PURE__*/(0, _createClass2.default)(function User() {
|
|
364
364
|
(0, _defineProperty2.default)(this, "setTypeOf2fa", function (value) {
|
365
365
|
_this.attributes.type_of_2fa = value;
|
366
366
|
});
|
367
|
-
(0, _defineProperty2.default)(this, "getUpdatedAt", function () {
|
368
|
-
return _this.attributes.updated_at;
|
369
|
-
});
|
370
367
|
(0, _defineProperty2.default)(this, "getUserRoot", function () {
|
371
368
|
return _this.attributes.user_root;
|
372
369
|
});
|
package/package.json
CHANGED
@@ -32,9 +32,6 @@ class UsageSnapshot {
|
|
32
32
|
// date-time # Usage snapshot end date/time
|
33
33
|
getEndAt = () => this.attributes.end_at
|
34
34
|
|
35
|
-
// date-time # DEPRECATED: Usage snapshot created at date/time
|
36
|
-
getCreatedAt = () => this.attributes.created_at
|
37
|
-
|
38
35
|
// double # Highest user count number in time period
|
39
36
|
getHighWaterUserCount = () => this.attributes.high_water_user_count
|
40
37
|
|
@@ -44,15 +41,6 @@ class UsageSnapshot {
|
|
44
41
|
// double # Highest Storage Usage GB recorded in time period (used for billing)
|
45
42
|
getHighWaterStorage = () => this.attributes.high_water_storage
|
46
43
|
|
47
|
-
// int64 # DEPRECATED: Number of downloads in report time period
|
48
|
-
getTotalDownloads = () => this.attributes.total_downloads
|
49
|
-
|
50
|
-
// int64 # DEPRECATED: Number of uploads in time period
|
51
|
-
getTotalUploads = () => this.attributes.total_uploads
|
52
|
-
|
53
|
-
// date-time # DEPRECATED: The last time this site usage report was updated
|
54
|
-
getUpdatedAt = () => this.attributes.updated_at
|
55
|
-
|
56
44
|
// object # Storage Usage - map of root folders to their usage as of end date (not necessarily high water mark, which is used for billing)
|
57
45
|
getUsageByTopLevelDir = () => this.attributes.usage_by_top_level_dir
|
58
46
|
|
package/src/models/User.js
CHANGED
@@ -411,9 +411,6 @@ class User {
|
|
411
411
|
this.attributes.type_of_2fa = value
|
412
412
|
}
|
413
413
|
|
414
|
-
// date-time # User record most recently updated at. Note this may be incremented because of internal or external updates.
|
415
|
-
getUpdatedAt = () => this.attributes.updated_at
|
416
|
-
|
417
414
|
// 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.
|
418
415
|
getUserRoot = () => this.attributes.user_root
|
419
416
|
|