files.com 1.1.315 → 1.1.317
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.
- checksums.yaml +4 -4
- data/_VERSION +1 -1
- data/docs/account_line_item.md +1 -1
- data/docs/invoice.md +1 -1
- data/docs/invoice_line_item.md +2 -2
- data/docs/payment.md +1 -1
- data/docs/user.md +7 -2
- data/lib/files.com/models/invoice_line_item.rb +2 -2
- data/lib/files.com/models/user.rb +11 -0
- data/lib/files.com/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3a1ce1b74cbc14695daacd10ec6b9160d54559a5e12d6f4dd25478257ba0b9f6
|
4
|
+
data.tar.gz: 3af055495f8490b80ce292ca65da3ef3846fd732cdf7fdb87bf7ce2faa3adbd4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 23f80b207e037518c5fb7129afffd6be226359d8579d70a1d7c33ae48beeb198bbdbf5923c15d6eb27c88b8e2224d4a564be739794f2f2605bb61dfd93a37534
|
7
|
+
data.tar.gz: e5823ad38d322d682eb66ca7f8c1645acc4972de3de93752b1fdadc126d3a627810eab0332f85301daa3f623f252af9c7f5eb521dcdbea8113d946a6bcb9176e
|
data/_VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.1.
|
1
|
+
1.1.317
|
data/docs/account_line_item.md
CHANGED
data/docs/invoice.md
CHANGED
data/docs/invoice_line_item.md
CHANGED
@@ -16,7 +16,7 @@
|
|
16
16
|
"prepaid_bytes": 1,
|
17
17
|
"prepaid_bytes_expire_at": "2000-01-01T01:00:00Z",
|
18
18
|
"prepaid_bytes_used": 1,
|
19
|
-
"
|
19
|
+
"prepaid_bytes_available": 1
|
20
20
|
}
|
21
21
|
```
|
22
22
|
|
@@ -32,4 +32,4 @@
|
|
32
32
|
* `prepaid_bytes` (int64): Prepaid bytes purchased for this invoice line item
|
33
33
|
* `prepaid_bytes_expire_at` (date-time): When the prepaid bytes expire
|
34
34
|
* `prepaid_bytes_used` (int64): Total prepaid bytes used for this invoice line item
|
35
|
-
* `
|
35
|
+
* `prepaid_bytes_available` (int64): Available prepaid bytes for this invoice line item
|
data/docs/payment.md
CHANGED
data/docs/user.md
CHANGED
@@ -151,6 +151,7 @@
|
|
151
151
|
* `password` (string): User password.
|
152
152
|
* `password_confirmation` (string): Optional, but if provided, we will ensure that it matches the value sent in `password`.
|
153
153
|
* `announcements_read` (boolean): Signifies that the user has read all the announcements in the UI.
|
154
|
+
* `clear_2fa` (boolean): If true when changing authentication_method from `password` to `sso`, remove all two-factor methods. Ignored in all other cases.
|
154
155
|
|
155
156
|
|
156
157
|
---
|
@@ -376,7 +377,8 @@ Files::User.update(id,
|
|
376
377
|
time_zone: "Pacific Time (US & Canada)",
|
377
378
|
user_root: "example",
|
378
379
|
user_home: "example",
|
379
|
-
username: "user"
|
380
|
+
username: "user",
|
381
|
+
clear_2fa: false
|
380
382
|
)
|
381
383
|
```
|
382
384
|
|
@@ -430,6 +432,7 @@ Files::User.update(id,
|
|
430
432
|
* `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.
|
431
433
|
* `user_home` (string): Home folder for FTP/SFTP. Note that this is not used for API, Desktop, or Web interface.
|
432
434
|
* `username` (string): User's username
|
435
|
+
* `clear_2fa` (boolean): If true when changing authentication_method from `password` to `sso`, remove all two-factor methods. Ignored in all other cases.
|
433
436
|
|
434
437
|
|
435
438
|
---
|
@@ -540,7 +543,8 @@ user.update(
|
|
540
543
|
time_zone: "Pacific Time (US & Canada)",
|
541
544
|
user_root: "example",
|
542
545
|
user_home: "example",
|
543
|
-
username: "user"
|
546
|
+
username: "user",
|
547
|
+
clear_2fa: false
|
544
548
|
)
|
545
549
|
```
|
546
550
|
|
@@ -594,6 +598,7 @@ user.update(
|
|
594
598
|
* `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.
|
595
599
|
* `user_home` (string): Home folder for FTP/SFTP. Note that this is not used for API, Desktop, or Web interface.
|
596
600
|
* `username` (string): User's username
|
601
|
+
* `clear_2fa` (boolean): If true when changing authentication_method from `password` to `sso`, remove all two-factor methods. Ignored in all other cases.
|
597
602
|
|
598
603
|
|
599
604
|
---
|
@@ -689,6 +689,15 @@ module Files
|
|
689
689
|
@attributes[:announcements_read] = value
|
690
690
|
end
|
691
691
|
|
692
|
+
# boolean - If true when changing authentication_method from `password` to `sso`, remove all two-factor methods. Ignored in all other cases.
|
693
|
+
def clear_2fa
|
694
|
+
@attributes[:clear_2fa]
|
695
|
+
end
|
696
|
+
|
697
|
+
def clear_2fa=(value)
|
698
|
+
@attributes[:clear_2fa] = value
|
699
|
+
end
|
700
|
+
|
692
701
|
# Unlock user who has been locked out due to failed logins
|
693
702
|
def unlock(params = {})
|
694
703
|
params ||= {}
|
@@ -770,6 +779,7 @@ module Files
|
|
770
779
|
# 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.
|
771
780
|
# user_home - string - Home folder for FTP/SFTP. Note that this is not used for API, Desktop, or Web interface.
|
772
781
|
# username - string - User's username
|
782
|
+
# clear_2fa - boolean - If true when changing authentication_method from `password` to `sso`, remove all two-factor methods. Ignored in all other cases.
|
773
783
|
def update(params = {})
|
774
784
|
params ||= {}
|
775
785
|
params[:id] = @attributes[:id]
|
@@ -1050,6 +1060,7 @@ module Files
|
|
1050
1060
|
# 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.
|
1051
1061
|
# user_home - string - Home folder for FTP/SFTP. Note that this is not used for API, Desktop, or Web interface.
|
1052
1062
|
# username - string - User's username
|
1063
|
+
# clear_2fa - boolean - If true when changing authentication_method from `password` to `sso`, remove all two-factor methods. Ignored in all other cases.
|
1053
1064
|
def self.update(id, params = {}, options = {})
|
1054
1065
|
params ||= {}
|
1055
1066
|
params[:id] = id
|
data/lib/files.com/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: files.com
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.1.
|
4
|
+
version: 1.1.317
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- files.com
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2025-08-
|
11
|
+
date: 2025-08-13 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: addressable
|