files.com 1.1.343 → 1.1.345
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/gpg_key.md +2 -0
- data/docs/partner.md +7 -1
- data/docs/site.md +1 -0
- data/docs/user.md +2 -0
- data/lib/files.com/models/gpg_key.rb +9 -0
- data/lib/files.com/models/partner.rb +9 -0
- data/lib/files.com/models/user.rb +9 -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: e853c9d85e0f89370a45e3b8e31dee1e56bd2b2455b67eff215d9eefbc8123a2
|
|
4
|
+
data.tar.gz: 403f66f5e17c3efec00ac52427fd4eb879802ba6d54732433f5d0dc165aaf577
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: e9731d426a54cb06796d95104b1e409b4d86fdb58ef55b13c6186294c3d8d498a8b6b88585c32daaa5b20885b576243698da18b8da98bfd8fa1988176499c590
|
|
7
|
+
data.tar.gz: 8f06f217ed1aba53ae9f8cf9a936037dd868c312ad26b6656aad4108f24ada704c6a6afe1993746b4a957355fc861b8efffa9d5791cbf50bd04fc75706f1ba9d
|
data/_VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
1.1.
|
|
1
|
+
1.1.345
|
data/docs/gpg_key.md
CHANGED
|
@@ -8,6 +8,7 @@
|
|
|
8
8
|
"expires_at": "2000-01-01T01:00:00Z",
|
|
9
9
|
"name": "key name",
|
|
10
10
|
"partner_id": 1,
|
|
11
|
+
"partner_name": "example",
|
|
11
12
|
"user_id": 1,
|
|
12
13
|
"public_key_md5": "7f8bc1210b09b9ddf469e6b6b8920e76",
|
|
13
14
|
"private_key_md5": "ab236cfe4a195f0226bc2e674afdd6b0",
|
|
@@ -21,6 +22,7 @@
|
|
|
21
22
|
* `expires_at` (date-time): Your GPG key expiration date.
|
|
22
23
|
* `name` (string): Your GPG key name.
|
|
23
24
|
* `partner_id` (int64): Partner ID who owns this GPG Key, if applicable.
|
|
25
|
+
* `partner_name` (string): Name of the Partner who owns this GPG Key, if applicable.
|
|
24
26
|
* `user_id` (int64): User ID who owns this GPG Key, if applicable.
|
|
25
27
|
* `public_key_md5` (string): MD5 hash of your GPG public key
|
|
26
28
|
* `private_key_md5` (string): MD5 hash of your GPG private key.
|
data/docs/partner.md
CHANGED
|
@@ -12,7 +12,12 @@
|
|
|
12
12
|
"name": "Acme Corp",
|
|
13
13
|
"notes": "This is a note about the partner.",
|
|
14
14
|
"root_folder": "/AcmeCorp",
|
|
15
|
-
"tags": "example"
|
|
15
|
+
"tags": "example",
|
|
16
|
+
"user_ids": [
|
|
17
|
+
1,
|
|
18
|
+
2,
|
|
19
|
+
3
|
|
20
|
+
]
|
|
16
21
|
}
|
|
17
22
|
```
|
|
18
23
|
|
|
@@ -25,6 +30,7 @@
|
|
|
25
30
|
* `notes` (string): Notes about this Partner.
|
|
26
31
|
* `root_folder` (string): The root folder path for this Partner.
|
|
27
32
|
* `tags` (string): Comma-separated list of Tags for this Partner. Tags are used for other features, such as UserLifecycleRules, which can target specific tags. Tags must only contain lowercase letters, numbers, and hyphens.
|
|
33
|
+
* `user_ids` (array(int64)): Array of User IDs that belong to this Partner.
|
|
28
34
|
|
|
29
35
|
|
|
30
36
|
---
|
data/docs/site.md
CHANGED
data/docs/user.md
CHANGED
|
@@ -48,6 +48,7 @@
|
|
|
48
48
|
"office_integration_enabled": true,
|
|
49
49
|
"partner_admin": true,
|
|
50
50
|
"partner_id": 1,
|
|
51
|
+
"partner_name": "example",
|
|
51
52
|
"password_set_at": "2000-01-01T01:00:00Z",
|
|
52
53
|
"password_validity_days": 1,
|
|
53
54
|
"public_keys_count": 1,
|
|
@@ -121,6 +122,7 @@
|
|
|
121
122
|
* `office_integration_enabled` (boolean): Enable integration with Office for the web?
|
|
122
123
|
* `partner_admin` (boolean): Is this user a Partner administrator?
|
|
123
124
|
* `partner_id` (int64): Partner ID if this user belongs to a Partner
|
|
125
|
+
* `partner_name` (string): Name of the Partner if this user belongs to a Partner
|
|
124
126
|
* `password_set_at` (date-time): Last time the user's password was set
|
|
125
127
|
* `password_validity_days` (int64): Number of days to allow user to use the same password
|
|
126
128
|
* `public_keys_count` (int64): Number of public keys associated with this user
|
|
@@ -45,6 +45,15 @@ module Files
|
|
|
45
45
|
@attributes[:partner_id] = value
|
|
46
46
|
end
|
|
47
47
|
|
|
48
|
+
# string - Name of the Partner who owns this GPG Key, if applicable.
|
|
49
|
+
def partner_name
|
|
50
|
+
@attributes[:partner_name]
|
|
51
|
+
end
|
|
52
|
+
|
|
53
|
+
def partner_name=(value)
|
|
54
|
+
@attributes[:partner_name] = value
|
|
55
|
+
end
|
|
56
|
+
|
|
48
57
|
# int64 - User ID who owns this GPG Key, if applicable.
|
|
49
58
|
def user_id
|
|
50
59
|
@attributes[:user_id]
|
|
@@ -90,6 +90,15 @@ module Files
|
|
|
90
90
|
@attributes[:tags] = value
|
|
91
91
|
end
|
|
92
92
|
|
|
93
|
+
# array(int64) - Array of User IDs that belong to this Partner.
|
|
94
|
+
def user_ids
|
|
95
|
+
@attributes[:user_ids]
|
|
96
|
+
end
|
|
97
|
+
|
|
98
|
+
def user_ids=(value)
|
|
99
|
+
@attributes[:user_ids] = value
|
|
100
|
+
end
|
|
101
|
+
|
|
93
102
|
# Parameters:
|
|
94
103
|
# name - string - The name of the Partner.
|
|
95
104
|
# allow_bypassing_2fa_policies - boolean - Allow users created under this Partner to bypass Two-Factor Authentication policies.
|
|
@@ -383,6 +383,15 @@ module Files
|
|
|
383
383
|
@attributes[:partner_id] = value
|
|
384
384
|
end
|
|
385
385
|
|
|
386
|
+
# string - Name of the Partner if this user belongs to a Partner
|
|
387
|
+
def partner_name
|
|
388
|
+
@attributes[:partner_name]
|
|
389
|
+
end
|
|
390
|
+
|
|
391
|
+
def partner_name=(value)
|
|
392
|
+
@attributes[:partner_name] = value
|
|
393
|
+
end
|
|
394
|
+
|
|
386
395
|
# date-time - Last time the user's password was set
|
|
387
396
|
def password_set_at
|
|
388
397
|
@attributes[:password_set_at]
|
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.345
|
|
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-
|
|
11
|
+
date: 2025-11-04 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: addressable
|