files.com 1.0.204 → 1.0.208
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/_VERSION +1 -1
- data/build.sh +1 -3
- data/docs/priority.md +30 -0
- data/docs/remote_server.md +0 -8
- data/docs/site.md +1 -0
- data/docs/user.md +6 -4
- data/lib/files.com/models/priority.rb +43 -0
- data/lib/files.com/models/remote_server.rb +0 -15
- data/lib/files.com/models/user.rb +13 -4
- data/lib/files.com.rb +1 -0
- metadata +4 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 338dbd01060e2af598a844cfc78d2fd3dc08056161ac59dc5d8ac8098c678462
|
4
|
+
data.tar.gz: b3b1d00f73d4f0dd3b146c0df3472def4300478e377690b675da939a2bee988b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 83629f10047b516c31d63d5d593299ba8c1432c0e11dd13d88bedb52058820a7eeb342f7089c2c2d88947d28e41999b723be1e8c2e5192551242d4b936055608
|
7
|
+
data.tar.gz: ac9673fc689b715369a25ce0d00350178b52e6d460aff78f733e37aa332d0e394eed627aa7431e1bfd534243e098201e436af7b890c9459e8e1a1ed46827f3ad
|
data/_VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.0.
|
1
|
+
1.0.208
|
data/build.sh
CHANGED
data/docs/priority.md
ADDED
@@ -0,0 +1,30 @@
|
|
1
|
+
# Priority
|
2
|
+
|
3
|
+
## Example Priority Object
|
4
|
+
|
5
|
+
```
|
6
|
+
{
|
7
|
+
"path": "foo/bar",
|
8
|
+
"color": "pink"
|
9
|
+
}
|
10
|
+
```
|
11
|
+
|
12
|
+
* `path` (string): The path corresponding to the priority color This must be slash-delimited, but it must neither start nor end with a slash. Maximum of 5000 characters.
|
13
|
+
* `color` (string): The priority color
|
14
|
+
|
15
|
+
|
16
|
+
---
|
17
|
+
|
18
|
+
## List Priorities
|
19
|
+
|
20
|
+
```
|
21
|
+
Files::Priority.list(path,
|
22
|
+
per_page: 1
|
23
|
+
)
|
24
|
+
```
|
25
|
+
|
26
|
+
### Parameters
|
27
|
+
|
28
|
+
* `cursor` (string): Used for pagination. Send a cursor value to resume an existing list from the point at which you left off. Get a cursor from an existing list via the X-Files-Cursor-Next header.
|
29
|
+
* `per_page` (int64): Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
|
30
|
+
* `path` (string): Required - The path to query for priorities
|
data/docs/remote_server.md
CHANGED
@@ -34,7 +34,6 @@
|
|
34
34
|
"azure_blob_storage_account": "storage-account-name",
|
35
35
|
"azure_blob_storage_container": "container-name",
|
36
36
|
"s3_compatible_bucket": "my-bucket",
|
37
|
-
"s3_compatible_region": "us-east-1",
|
38
37
|
"s3_compatible_endpoint": "mys3platform.com",
|
39
38
|
"enable_dedicated_ips": true
|
40
39
|
}
|
@@ -70,7 +69,6 @@
|
|
70
69
|
* `azure_blob_storage_account` (string): Azure Blob Storage Account name
|
71
70
|
* `azure_blob_storage_container` (string): Azure Blob Storage Container name
|
72
71
|
* `s3_compatible_bucket` (string): S3-compatible Bucket name
|
73
|
-
* `s3_compatible_region` (string): S3-compatible Bucket name
|
74
72
|
* `s3_compatible_endpoint` (string): S3-compatible endpoint
|
75
73
|
* `enable_dedicated_ips` (boolean): `true` if remote server only accepts connections from dedicated IPs
|
76
74
|
* `aws_access_key` (string): AWS Access Key.
|
@@ -150,7 +148,6 @@ Files::RemoteServer.create(
|
|
150
148
|
azure_blob_storage_account: "storage-account-name",
|
151
149
|
azure_blob_storage_container: "container-name",
|
152
150
|
s3_compatible_bucket: "my-bucket",
|
153
|
-
s3_compatible_region: "us-east-1",
|
154
151
|
s3_compatible_endpoint: "mys3platform.com",
|
155
152
|
enable_dedicated_ips: true
|
156
153
|
)
|
@@ -195,7 +192,6 @@ Files::RemoteServer.create(
|
|
195
192
|
* `azure_blob_storage_account` (string): Azure Blob Storage Account name
|
196
193
|
* `azure_blob_storage_container` (string): Azure Blob Storage Container name
|
197
194
|
* `s3_compatible_bucket` (string): S3-compatible Bucket name
|
198
|
-
* `s3_compatible_region` (string): S3-compatible Bucket name
|
199
195
|
* `s3_compatible_endpoint` (string): S3-compatible endpoint
|
200
196
|
* `enable_dedicated_ips` (boolean): `true` if remote server only accepts connections from dedicated IPs
|
201
197
|
* `s3_compatible_access_key` (string): S3-compatible access key
|
@@ -233,7 +229,6 @@ Files::RemoteServer.update(id,
|
|
233
229
|
azure_blob_storage_account: "storage-account-name",
|
234
230
|
azure_blob_storage_container: "container-name",
|
235
231
|
s3_compatible_bucket: "my-bucket",
|
236
|
-
s3_compatible_region: "us-east-1",
|
237
232
|
s3_compatible_endpoint: "mys3platform.com",
|
238
233
|
enable_dedicated_ips: true
|
239
234
|
)
|
@@ -279,7 +274,6 @@ Files::RemoteServer.update(id,
|
|
279
274
|
* `azure_blob_storage_account` (string): Azure Blob Storage Account name
|
280
275
|
* `azure_blob_storage_container` (string): Azure Blob Storage Container name
|
281
276
|
* `s3_compatible_bucket` (string): S3-compatible Bucket name
|
282
|
-
* `s3_compatible_region` (string): S3-compatible Bucket name
|
283
277
|
* `s3_compatible_endpoint` (string): S3-compatible endpoint
|
284
278
|
* `enable_dedicated_ips` (boolean): `true` if remote server only accepts connections from dedicated IPs
|
285
279
|
* `s3_compatible_access_key` (string): S3-compatible access key
|
@@ -332,7 +326,6 @@ remote_server.update(
|
|
332
326
|
azure_blob_storage_account: "storage-account-name",
|
333
327
|
azure_blob_storage_container: "container-name",
|
334
328
|
s3_compatible_bucket: "my-bucket",
|
335
|
-
s3_compatible_region: "us-east-1",
|
336
329
|
s3_compatible_endpoint: "mys3platform.com",
|
337
330
|
enable_dedicated_ips: true
|
338
331
|
)
|
@@ -378,7 +371,6 @@ remote_server.update(
|
|
378
371
|
* `azure_blob_storage_account` (string): Azure Blob Storage Account name
|
379
372
|
* `azure_blob_storage_container` (string): Azure Blob Storage Container name
|
380
373
|
* `s3_compatible_bucket` (string): S3-compatible Bucket name
|
381
|
-
* `s3_compatible_region` (string): S3-compatible Bucket name
|
382
374
|
* `s3_compatible_endpoint` (string): S3-compatible endpoint
|
383
375
|
* `enable_dedicated_ips` (boolean): `true` if remote server only accepts connections from dedicated IPs
|
384
376
|
* `s3_compatible_access_key` (string): S3-compatible access key
|
data/docs/site.md
CHANGED
data/docs/user.md
CHANGED
@@ -41,6 +41,7 @@
|
|
41
41
|
"require_2fa": "always_require",
|
42
42
|
"active_2fa": true,
|
43
43
|
"require_password_change": true,
|
44
|
+
"password_expired": true,
|
44
45
|
"restapi_permission": true,
|
45
46
|
"self_managed": true,
|
46
47
|
"sftp_permission": true,
|
@@ -91,6 +92,7 @@
|
|
91
92
|
* `require_2fa` (string): 2FA required setting
|
92
93
|
* `active_2fa` (boolean): Is 2fa active for the user?
|
93
94
|
* `require_password_change` (boolean): Is a password change required upon next user login?
|
95
|
+
* `password_expired` (boolean): Is user's password expired?
|
94
96
|
* `restapi_permission` (boolean): Can this user access the REST API?
|
95
97
|
* `self_managed` (boolean): Does this user manage it's own credentials or is it a shared/bot user?
|
96
98
|
* `sftp_permission` (boolean): Can the user access with SFTP?
|
@@ -109,7 +111,7 @@
|
|
109
111
|
* `change_password_confirmation` (string): Optional, but if provided, we will ensure that it matches the value sent in `change_password`.
|
110
112
|
* `grant_permission` (string): Permission to grant on the user root. Can be blank or `full`, `read`, `write`, `list`, or `history`.
|
111
113
|
* `group_id` (int64): Group ID to associate this user with.
|
112
|
-
* `imported_password_hash` (string): Pre-calculated hash of the user's password.
|
114
|
+
* `imported_password_hash` (string): Pre-calculated hash of the user's password. If supplied, this will be used to authenticate the user on first login. Supported hash menthods are MD5, SHA1, and SHA256.
|
113
115
|
* `password` (string): User password.
|
114
116
|
* `password_confirmation` (string): Optional, but if provided, we will ensure that it matches the value sent in `password`.
|
115
117
|
* `announcements_read` (boolean): Signifies that the user has read all the announcements in the UI.
|
@@ -214,7 +216,7 @@ Files::User.create(
|
|
214
216
|
* `grant_permission` (string): Permission to grant on the user root. Can be blank or `full`, `read`, `write`, `list`, or `history`.
|
215
217
|
* `group_id` (int64): Group ID to associate this user with.
|
216
218
|
* `group_ids` (string): A list of group ids to associate this user with. Comma delimited.
|
217
|
-
* `imported_password_hash` (string): Pre-calculated hash of the user's password.
|
219
|
+
* `imported_password_hash` (string): Pre-calculated hash of the user's password. If supplied, this will be used to authenticate the user on first login. Supported hash menthods are MD5, SHA1, and SHA256.
|
218
220
|
* `password` (string): User password.
|
219
221
|
* `password_confirmation` (string): Optional, but if provided, we will ensure that it matches the value sent in `password`.
|
220
222
|
* `announcements_read` (boolean): Signifies that the user has read all the announcements in the UI.
|
@@ -346,7 +348,7 @@ Files::User.update(id,
|
|
346
348
|
* `grant_permission` (string): Permission to grant on the user root. Can be blank or `full`, `read`, `write`, `list`, or `history`.
|
347
349
|
* `group_id` (int64): Group ID to associate this user with.
|
348
350
|
* `group_ids` (string): A list of group ids to associate this user with. Comma delimited.
|
349
|
-
* `imported_password_hash` (string): Pre-calculated hash of the user's password.
|
351
|
+
* `imported_password_hash` (string): Pre-calculated hash of the user's password. If supplied, this will be used to authenticate the user on first login. Supported hash menthods are MD5, SHA1, and SHA256.
|
350
352
|
* `password` (string): User password.
|
351
353
|
* `password_confirmation` (string): Optional, but if provided, we will ensure that it matches the value sent in `password`.
|
352
354
|
* `announcements_read` (boolean): Signifies that the user has read all the announcements in the UI.
|
@@ -499,7 +501,7 @@ user.update(
|
|
499
501
|
* `grant_permission` (string): Permission to grant on the user root. Can be blank or `full`, `read`, `write`, `list`, or `history`.
|
500
502
|
* `group_id` (int64): Group ID to associate this user with.
|
501
503
|
* `group_ids` (string): A list of group ids to associate this user with. Comma delimited.
|
502
|
-
* `imported_password_hash` (string): Pre-calculated hash of the user's password.
|
504
|
+
* `imported_password_hash` (string): Pre-calculated hash of the user's password. If supplied, this will be used to authenticate the user on first login. Supported hash menthods are MD5, SHA1, and SHA256.
|
503
505
|
* `password` (string): User password.
|
504
506
|
* `password_confirmation` (string): Optional, but if provided, we will ensure that it matches the value sent in `password`.
|
505
507
|
* `announcements_read` (boolean): Signifies that the user has read all the announcements in the UI.
|
@@ -0,0 +1,43 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
module Files
|
4
|
+
class Priority
|
5
|
+
attr_reader :options, :attributes
|
6
|
+
|
7
|
+
def initialize(attributes = {}, options = {})
|
8
|
+
@attributes = attributes || {}
|
9
|
+
@options = options || {}
|
10
|
+
end
|
11
|
+
|
12
|
+
# string - The path corresponding to the priority color This must be slash-delimited, but it must neither start nor end with a slash. Maximum of 5000 characters.
|
13
|
+
def path
|
14
|
+
@attributes[:path]
|
15
|
+
end
|
16
|
+
|
17
|
+
# string - The priority color
|
18
|
+
def color
|
19
|
+
@attributes[:color]
|
20
|
+
end
|
21
|
+
|
22
|
+
# Parameters:
|
23
|
+
# cursor - string - Used for pagination. Send a cursor value to resume an existing list from the point at which you left off. Get a cursor from an existing list via the X-Files-Cursor-Next header.
|
24
|
+
# per_page - int64 - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
|
25
|
+
# path (required) - string - The path to query for priorities
|
26
|
+
def self.list(path, params = {}, options = {})
|
27
|
+
params ||= {}
|
28
|
+
params[:path] = path
|
29
|
+
raise InvalidParameterError.new("Bad parameter: cursor must be an String") if params.dig(:cursor) and !params.dig(:cursor).is_a?(String)
|
30
|
+
raise InvalidParameterError.new("Bad parameter: per_page must be an Integer") if params.dig(:per_page) and !params.dig(:per_page).is_a?(Integer)
|
31
|
+
raise InvalidParameterError.new("Bad parameter: path must be an String") if params.dig(:path) and !params.dig(:path).is_a?(String)
|
32
|
+
raise MissingParameterError.new("Parameter missing: path") unless params.dig(:path)
|
33
|
+
|
34
|
+
List.new(Priority, params) do
|
35
|
+
Api.send_request("/priorities", :get, params, options)
|
36
|
+
end
|
37
|
+
end
|
38
|
+
|
39
|
+
def self.all(path, params = {}, options = {})
|
40
|
+
list(path, params, options)
|
41
|
+
end
|
42
|
+
end
|
43
|
+
end
|
@@ -279,15 +279,6 @@ module Files
|
|
279
279
|
@attributes[:s3_compatible_bucket] = value
|
280
280
|
end
|
281
281
|
|
282
|
-
# string - S3-compatible Bucket name
|
283
|
-
def s3_compatible_region
|
284
|
-
@attributes[:s3_compatible_region]
|
285
|
-
end
|
286
|
-
|
287
|
-
def s3_compatible_region=(value)
|
288
|
-
@attributes[:s3_compatible_region] = value
|
289
|
-
end
|
290
|
-
|
291
282
|
# string - S3-compatible endpoint
|
292
283
|
def s3_compatible_endpoint
|
293
284
|
@attributes[:s3_compatible_endpoint]
|
@@ -479,7 +470,6 @@ module Files
|
|
479
470
|
# azure_blob_storage_account - string - Azure Blob Storage Account name
|
480
471
|
# azure_blob_storage_container - string - Azure Blob Storage Container name
|
481
472
|
# s3_compatible_bucket - string - S3-compatible Bucket name
|
482
|
-
# s3_compatible_region - string - S3-compatible Bucket name
|
483
473
|
# s3_compatible_endpoint - string - S3-compatible endpoint
|
484
474
|
# enable_dedicated_ips - boolean - `true` if remote server only accepts connections from dedicated IPs
|
485
475
|
# s3_compatible_access_key - string - S3-compatible access key
|
@@ -525,7 +515,6 @@ module Files
|
|
525
515
|
raise InvalidParameterError.new("Bad parameter: azure_blob_storage_account must be an String") if params.dig(:azure_blob_storage_account) and !params.dig(:azure_blob_storage_account).is_a?(String)
|
526
516
|
raise InvalidParameterError.new("Bad parameter: azure_blob_storage_container must be an String") if params.dig(:azure_blob_storage_container) and !params.dig(:azure_blob_storage_container).is_a?(String)
|
527
517
|
raise InvalidParameterError.new("Bad parameter: s3_compatible_bucket must be an String") if params.dig(:s3_compatible_bucket) and !params.dig(:s3_compatible_bucket).is_a?(String)
|
528
|
-
raise InvalidParameterError.new("Bad parameter: s3_compatible_region must be an String") if params.dig(:s3_compatible_region) and !params.dig(:s3_compatible_region).is_a?(String)
|
529
518
|
raise InvalidParameterError.new("Bad parameter: s3_compatible_endpoint must be an String") if params.dig(:s3_compatible_endpoint) and !params.dig(:s3_compatible_endpoint).is_a?(String)
|
530
519
|
raise InvalidParameterError.new("Bad parameter: s3_compatible_access_key must be an String") if params.dig(:s3_compatible_access_key) and !params.dig(:s3_compatible_access_key).is_a?(String)
|
531
520
|
raise InvalidParameterError.new("Bad parameter: s3_compatible_secret_key must be an String") if params.dig(:s3_compatible_secret_key) and !params.dig(:s3_compatible_secret_key).is_a?(String)
|
@@ -627,7 +616,6 @@ module Files
|
|
627
616
|
# azure_blob_storage_account - string - Azure Blob Storage Account name
|
628
617
|
# azure_blob_storage_container - string - Azure Blob Storage Container name
|
629
618
|
# s3_compatible_bucket - string - S3-compatible Bucket name
|
630
|
-
# s3_compatible_region - string - S3-compatible Bucket name
|
631
619
|
# s3_compatible_endpoint - string - S3-compatible endpoint
|
632
620
|
# enable_dedicated_ips - boolean - `true` if remote server only accepts connections from dedicated IPs
|
633
621
|
# s3_compatible_access_key - string - S3-compatible access key
|
@@ -669,7 +657,6 @@ module Files
|
|
669
657
|
raise InvalidParameterError.new("Bad parameter: azure_blob_storage_account must be an String") if params.dig(:azure_blob_storage_account) and !params.dig(:azure_blob_storage_account).is_a?(String)
|
670
658
|
raise InvalidParameterError.new("Bad parameter: azure_blob_storage_container must be an String") if params.dig(:azure_blob_storage_container) and !params.dig(:azure_blob_storage_container).is_a?(String)
|
671
659
|
raise InvalidParameterError.new("Bad parameter: s3_compatible_bucket must be an String") if params.dig(:s3_compatible_bucket) and !params.dig(:s3_compatible_bucket).is_a?(String)
|
672
|
-
raise InvalidParameterError.new("Bad parameter: s3_compatible_region must be an String") if params.dig(:s3_compatible_region) and !params.dig(:s3_compatible_region).is_a?(String)
|
673
660
|
raise InvalidParameterError.new("Bad parameter: s3_compatible_endpoint must be an String") if params.dig(:s3_compatible_endpoint) and !params.dig(:s3_compatible_endpoint).is_a?(String)
|
674
661
|
raise InvalidParameterError.new("Bad parameter: s3_compatible_access_key must be an String") if params.dig(:s3_compatible_access_key) and !params.dig(:s3_compatible_access_key).is_a?(String)
|
675
662
|
raise InvalidParameterError.new("Bad parameter: s3_compatible_secret_key must be an String") if params.dig(:s3_compatible_secret_key) and !params.dig(:s3_compatible_secret_key).is_a?(String)
|
@@ -716,7 +703,6 @@ module Files
|
|
716
703
|
# azure_blob_storage_account - string - Azure Blob Storage Account name
|
717
704
|
# azure_blob_storage_container - string - Azure Blob Storage Container name
|
718
705
|
# s3_compatible_bucket - string - S3-compatible Bucket name
|
719
|
-
# s3_compatible_region - string - S3-compatible Bucket name
|
720
706
|
# s3_compatible_endpoint - string - S3-compatible endpoint
|
721
707
|
# enable_dedicated_ips - boolean - `true` if remote server only accepts connections from dedicated IPs
|
722
708
|
# s3_compatible_access_key - string - S3-compatible access key
|
@@ -761,7 +747,6 @@ module Files
|
|
761
747
|
raise InvalidParameterError.new("Bad parameter: azure_blob_storage_account must be an String") if params.dig(:azure_blob_storage_account) and !params.dig(:azure_blob_storage_account).is_a?(String)
|
762
748
|
raise InvalidParameterError.new("Bad parameter: azure_blob_storage_container must be an String") if params.dig(:azure_blob_storage_container) and !params.dig(:azure_blob_storage_container).is_a?(String)
|
763
749
|
raise InvalidParameterError.new("Bad parameter: s3_compatible_bucket must be an String") if params.dig(:s3_compatible_bucket) and !params.dig(:s3_compatible_bucket).is_a?(String)
|
764
|
-
raise InvalidParameterError.new("Bad parameter: s3_compatible_region must be an String") if params.dig(:s3_compatible_region) and !params.dig(:s3_compatible_region).is_a?(String)
|
765
750
|
raise InvalidParameterError.new("Bad parameter: s3_compatible_endpoint must be an String") if params.dig(:s3_compatible_endpoint) and !params.dig(:s3_compatible_endpoint).is_a?(String)
|
766
751
|
raise InvalidParameterError.new("Bad parameter: s3_compatible_access_key must be an String") if params.dig(:s3_compatible_access_key) and !params.dig(:s3_compatible_access_key).is_a?(String)
|
767
752
|
raise InvalidParameterError.new("Bad parameter: s3_compatible_secret_key must be an String") if params.dig(:s3_compatible_secret_key) and !params.dig(:s3_compatible_secret_key).is_a?(String)
|
@@ -320,6 +320,15 @@ module Files
|
|
320
320
|
@attributes[:require_password_change] = value
|
321
321
|
end
|
322
322
|
|
323
|
+
# boolean - Is user's password expired?
|
324
|
+
def password_expired
|
325
|
+
@attributes[:password_expired]
|
326
|
+
end
|
327
|
+
|
328
|
+
def password_expired=(value)
|
329
|
+
@attributes[:password_expired] = value
|
330
|
+
end
|
331
|
+
|
323
332
|
# boolean - Can this user access the REST API?
|
324
333
|
def restapi_permission
|
325
334
|
@attributes[:restapi_permission]
|
@@ -482,7 +491,7 @@ module Files
|
|
482
491
|
@attributes[:group_id] = value
|
483
492
|
end
|
484
493
|
|
485
|
-
# string - Pre-calculated hash of the user's password.
|
494
|
+
# string - Pre-calculated hash of the user's password. If supplied, this will be used to authenticate the user on first login. Supported hash menthods are MD5, SHA1, and SHA256.
|
486
495
|
def imported_password_hash
|
487
496
|
@attributes[:imported_password_hash]
|
488
497
|
end
|
@@ -560,7 +569,7 @@ module Files
|
|
560
569
|
# grant_permission - string - Permission to grant on the user root. Can be blank or `full`, `read`, `write`, `list`, or `history`.
|
561
570
|
# group_id - int64 - Group ID to associate this user with.
|
562
571
|
# group_ids - string - A list of group ids to associate this user with. Comma delimited.
|
563
|
-
# imported_password_hash - string - Pre-calculated hash of the user's password.
|
572
|
+
# imported_password_hash - string - Pre-calculated hash of the user's password. If supplied, this will be used to authenticate the user on first login. Supported hash menthods are MD5, SHA1, and SHA256.
|
564
573
|
# password - string - User password.
|
565
574
|
# password_confirmation - string - Optional, but if provided, we will ensure that it matches the value sent in `password`.
|
566
575
|
# announcements_read - boolean - Signifies that the user has read all the announcements in the UI.
|
@@ -720,7 +729,7 @@ module Files
|
|
720
729
|
# grant_permission - string - Permission to grant on the user root. Can be blank or `full`, `read`, `write`, `list`, or `history`.
|
721
730
|
# group_id - int64 - Group ID to associate this user with.
|
722
731
|
# group_ids - string - A list of group ids to associate this user with. Comma delimited.
|
723
|
-
# imported_password_hash - string - Pre-calculated hash of the user's password.
|
732
|
+
# imported_password_hash - string - Pre-calculated hash of the user's password. If supplied, this will be used to authenticate the user on first login. Supported hash menthods are MD5, SHA1, and SHA256.
|
724
733
|
# password - string - User password.
|
725
734
|
# password_confirmation - string - Optional, but if provided, we will ensure that it matches the value sent in `password`.
|
726
735
|
# announcements_read - boolean - Signifies that the user has read all the announcements in the UI.
|
@@ -829,7 +838,7 @@ module Files
|
|
829
838
|
# grant_permission - string - Permission to grant on the user root. Can be blank or `full`, `read`, `write`, `list`, or `history`.
|
830
839
|
# group_id - int64 - Group ID to associate this user with.
|
831
840
|
# group_ids - string - A list of group ids to associate this user with. Comma delimited.
|
832
|
-
# imported_password_hash - string - Pre-calculated hash of the user's password.
|
841
|
+
# imported_password_hash - string - Pre-calculated hash of the user's password. If supplied, this will be used to authenticate the user on first login. Supported hash menthods are MD5, SHA1, and SHA256.
|
833
842
|
# password - string - User password.
|
834
843
|
# password_confirmation - string - Optional, but if provided, we will ensure that it matches the value sent in `password`.
|
835
844
|
# announcements_read - boolean - Signifies that the user has read all the announcements in the UI.
|
data/lib/files.com.rb
CHANGED
@@ -78,6 +78,7 @@ require "files.com/models/payment"
|
|
78
78
|
require "files.com/models/payment_line_item"
|
79
79
|
require "files.com/models/permission"
|
80
80
|
require "files.com/models/preview"
|
81
|
+
require "files.com/models/priority"
|
81
82
|
require "files.com/models/project"
|
82
83
|
require "files.com/models/public_ip_address"
|
83
84
|
require "files.com/models/public_key"
|
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.0.
|
4
|
+
version: 1.0.208
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- files.com
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-
|
11
|
+
date: 2021-09-14 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: addressable
|
@@ -138,6 +138,7 @@ files:
|
|
138
138
|
- docs/payment_line_item.md
|
139
139
|
- docs/permission.md
|
140
140
|
- docs/preview.md
|
141
|
+
- docs/priority.md
|
141
142
|
- docs/project.md
|
142
143
|
- docs/public_ip_address.md
|
143
144
|
- docs/public_key.md
|
@@ -215,6 +216,7 @@ files:
|
|
215
216
|
- lib/files.com/models/payment_line_item.rb
|
216
217
|
- lib/files.com/models/permission.rb
|
217
218
|
- lib/files.com/models/preview.rb
|
219
|
+
- lib/files.com/models/priority.rb
|
218
220
|
- lib/files.com/models/project.rb
|
219
221
|
- lib/files.com/models/public_ip_address.rb
|
220
222
|
- lib/files.com/models/public_key.rb
|