files.com 1.0.201 → 1.0.205

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: f8b5cd1077ae4d1034afc3d69b932d1d634eb5edef2ca1287dabbf4bcd2248d5
4
- data.tar.gz: 96543ffd75b2f6c6dc86e7b08aa28b2dcec8ba089bbaacb35473df087d0b51c0
3
+ metadata.gz: f8464d4566cfa86c36e356bbca9c2d6e61ad7979e95c3ab156caed919e9d3f3e
4
+ data.tar.gz: e56f8d609526e24ec6c1c15e9fb25d8b185e3b6d305bc0e4f1acb33cc3362a08
5
5
  SHA512:
6
- metadata.gz: 3cc3a0696ff3338286f1515c3cf457fb88e7f62c873eab656a437d9f7b973d31e693e575a477333d2bf171fbd11cec10449c95ffab9bee1a59096fa6a64b1a1c
7
- data.tar.gz: c19f88ab8382c1e0ed07e1873baef0d292e4d0d2838fc489601bbf989ed1815b29cc3c4b161a4ed867357b966bf0c6c820aee39b709131c38c252976e98c3de5
6
+ metadata.gz: 0e5e2efe33c13efe80e1d5d287c1040bb0b892944c3b7390b09e347908d137b08d65ce13c64dcc5f0134ddb43c59492087e69d2a87e23fd40ced1b25a207ed37
7
+ data.tar.gz: f1bed388135f56850129c82d0922b323d03bcba01b96049395b4baccbe0240f4947532e319acb645ee49613a841a8691a4595278dcc58ff9bb05e9fb6bde23ba
data/_VERSION CHANGED
@@ -1 +1 @@
1
- 1.0.201
1
+ 1.0.205
@@ -12,7 +12,9 @@
12
12
  "inbox_code": "abc123",
13
13
  "clickwrap_body": "",
14
14
  "form_field_set_id": 1,
15
- "form_field_data": ""
15
+ "form_field_data": "",
16
+ "bundle_id": 1,
17
+ "bundle_recipient_id": 1
16
18
  }
17
19
  ```
18
20
 
@@ -25,6 +27,8 @@
25
27
  * `clickwrap_body` (string): Clickwrap text that was shown to the registrant
26
28
  * `form_field_set_id` (int64): Id of associated form field set
27
29
  * `form_field_data` (string): Data for form field set with form field ids as keys and user data as values
30
+ * `bundle_id` (int64): Id of associated bundle
31
+ * `bundle_recipient_id` (int64): Id of associated bundle recipient
28
32
 
29
33
 
30
34
  ---
@@ -10,7 +10,9 @@
10
10
  "email": "john.doe@files.com",
11
11
  "clickwrap_body": "",
12
12
  "form_field_set_id": 1,
13
- "form_field_data": ""
13
+ "form_field_data": "",
14
+ "inbox_id": 1,
15
+ "inbox_recipient_id": 1
14
16
  }
15
17
  ```
16
18
 
@@ -21,6 +23,8 @@
21
23
  * `clickwrap_body` (string): Clickwrap text that was shown to the registrant
22
24
  * `form_field_set_id` (int64): Id of associated form field set
23
25
  * `form_field_data` (string): Data for form field set with form field ids as keys and user data as values
26
+ * `inbox_id` (int64): Id of associated inbox
27
+ * `inbox_recipient_id` (int64): Id of associated inbox recipient
24
28
 
25
29
 
26
30
  ---
@@ -38,4 +42,4 @@ Files::InboxRegistration.list(
38
42
 
39
43
  * `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.
40
44
  * `per_page` (int64): Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
41
- * `folder_behavior_id` (int64): Required - ID of the associated Inbox.
45
+ * `folder_behavior_id` (int64): ID of the associated Inbox.
data/docs/site.md CHANGED
@@ -39,6 +39,7 @@
39
39
  "disable_password_reset": true,
40
40
  "domain": "my-custom-domain.com",
41
41
  "email": "john.doe@files.com",
42
+ "ftp_enabled": true,
42
43
  "reply_to_email": "jane.doe@files.com",
43
44
  "non_sso_groups_allowed": true,
44
45
  "non_sso_users_allowed": true,
@@ -126,6 +127,7 @@
126
127
  "windows_mode_ftp": false
127
128
  },
128
129
  "session_pinned_by_ip": true,
130
+ "sftp_enabled": true,
129
131
  "sftp_user_root_enabled": true,
130
132
  "sharing_enabled": true,
131
133
  "show_request_access_link": true,
@@ -245,6 +247,7 @@
245
247
  * `disable_password_reset` (boolean): Is password reset disabled?
246
248
  * `domain` (string): Custom domain
247
249
  * `email` (email): Main email for this site
250
+ * `ftp_enabled` (boolean): Is FTP enabled?
248
251
  * `reply_to_email` (email): Reply-to email for this site
249
252
  * `non_sso_groups_allowed` (boolean): If true, groups can be manually created / modified / deleted by Site Admins. Otherwise, groups can only be managed via your SSO provider.
250
253
  * `non_sso_users_allowed` (boolean): If true, users can be manually created / modified / deleted by Site Admins. Otherwise, users can only be managed via your SSO provider.
@@ -298,6 +301,7 @@
298
301
  * `require_2fa_user_type` (string): What type of user is required to use two-factor authentication (when require_2fa is set to `true` for this site)?
299
302
  * `session`: Current session
300
303
  * `session_pinned_by_ip` (boolean): Are sessions locked to the same IP? (i.e. do users need to log in again if they change IPs?)
304
+ * `sftp_enabled` (boolean): Is SFTP enabled?
301
305
  * `sftp_user_root_enabled` (boolean): Use user FTP roots also for SFTP?
302
306
  * `sharing_enabled` (boolean): Allow bundle creation
303
307
  * `show_request_access_link` (boolean): Show request access link for users without access? Currently unused.
@@ -413,6 +417,8 @@ Files::Site.update(
413
417
  non_sso_users_allowed: true,
414
418
  sharing_enabled: true,
415
419
  user_requests_enabled: true,
420
+ ftp_enabled: true,
421
+ sftp_enabled: true,
416
422
  allowed_2fa_method_sms: true,
417
423
  allowed_2fa_method_u2f: true,
418
424
  allowed_2fa_method_totp: true,
@@ -513,6 +519,8 @@ Files::Site.update(
513
519
  * `non_sso_users_allowed` (boolean): If true, users can be manually created / modified / deleted by Site Admins. Otherwise, users can only be managed via your SSO provider.
514
520
  * `sharing_enabled` (boolean): Allow bundle creation
515
521
  * `user_requests_enabled` (boolean): Enable User Requests feature
522
+ * `ftp_enabled` (boolean): Is FTP enabled?
523
+ * `sftp_enabled` (boolean): Is SFTP enabled?
516
524
  * `allowed_2fa_method_sms` (boolean): Is SMS two factor authentication allowed?
517
525
  * `allowed_2fa_method_u2f` (boolean): Is U2F two factor authentication allowed?
518
526
  * `allowed_2fa_method_totp` (boolean): Is TOTP two factor authentication allowed?
data/docs/user.md CHANGED
@@ -109,7 +109,7 @@
109
109
  * `change_password_confirmation` (string): Optional, but if provided, we will ensure that it matches the value sent in `change_password`.
110
110
  * `grant_permission` (string): Permission to grant on the user root. Can be blank or `full`, `read`, `write`, `list`, or `history`.
111
111
  * `group_id` (int64): Group ID to associate this user with.
112
- * `imported_password_hash` (string): Pre-calculated hash of the user's password.
112
+ * `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
113
  * `password` (string): User password.
114
114
  * `password_confirmation` (string): Optional, but if provided, we will ensure that it matches the value sent in `password`.
115
115
  * `announcements_read` (boolean): Signifies that the user has read all the announcements in the UI.
@@ -214,7 +214,7 @@ Files::User.create(
214
214
  * `grant_permission` (string): Permission to grant on the user root. Can be blank or `full`, `read`, `write`, `list`, or `history`.
215
215
  * `group_id` (int64): Group ID to associate this user with.
216
216
  * `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.
217
+ * `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
218
  * `password` (string): User password.
219
219
  * `password_confirmation` (string): Optional, but if provided, we will ensure that it matches the value sent in `password`.
220
220
  * `announcements_read` (boolean): Signifies that the user has read all the announcements in the UI.
@@ -346,7 +346,7 @@ Files::User.update(id,
346
346
  * `grant_permission` (string): Permission to grant on the user root. Can be blank or `full`, `read`, `write`, `list`, or `history`.
347
347
  * `group_id` (int64): Group ID to associate this user with.
348
348
  * `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.
349
+ * `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
350
  * `password` (string): User password.
351
351
  * `password_confirmation` (string): Optional, but if provided, we will ensure that it matches the value sent in `password`.
352
352
  * `announcements_read` (boolean): Signifies that the user has read all the announcements in the UI.
@@ -499,7 +499,7 @@ user.update(
499
499
  * `grant_permission` (string): Permission to grant on the user root. Can be blank or `full`, `read`, `write`, `list`, or `history`.
500
500
  * `group_id` (int64): Group ID to associate this user with.
501
501
  * `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.
502
+ * `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
503
  * `password` (string): User password.
504
504
  * `password_confirmation` (string): Optional, but if provided, we will ensure that it matches the value sent in `password`.
505
505
  * `announcements_read` (boolean): Signifies that the user has read all the announcements in the UI.
@@ -54,6 +54,16 @@ module Files
54
54
  @attributes[:form_field_data]
55
55
  end
56
56
 
57
+ # int64 - Id of associated bundle
58
+ def bundle_id
59
+ @attributes[:bundle_id]
60
+ end
61
+
62
+ # int64 - Id of associated bundle recipient
63
+ def bundle_recipient_id
64
+ @attributes[:bundle_recipient_id]
65
+ end
66
+
57
67
  # Parameters:
58
68
  # user_id - int64 - User ID. Provide a value of `0` to operate the current session's user.
59
69
  # 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.
@@ -44,15 +44,24 @@ module Files
44
44
  @attributes[:form_field_data]
45
45
  end
46
46
 
47
+ # int64 - Id of associated inbox
48
+ def inbox_id
49
+ @attributes[:inbox_id]
50
+ end
51
+
52
+ # int64 - Id of associated inbox recipient
53
+ def inbox_recipient_id
54
+ @attributes[:inbox_recipient_id]
55
+ end
56
+
47
57
  # Parameters:
48
58
  # 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.
49
59
  # per_page - int64 - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
50
- # folder_behavior_id (required) - int64 - ID of the associated Inbox.
60
+ # folder_behavior_id - int64 - ID of the associated Inbox.
51
61
  def self.list(params = {}, options = {})
52
62
  raise InvalidParameterError.new("Bad parameter: cursor must be an String") if params.dig(:cursor) and !params.dig(:cursor).is_a?(String)
53
63
  raise InvalidParameterError.new("Bad parameter: per_page must be an Integer") if params.dig(:per_page) and !params.dig(:per_page).is_a?(Integer)
54
64
  raise InvalidParameterError.new("Bad parameter: folder_behavior_id must be an Integer") if params.dig(:folder_behavior_id) and !params.dig(:folder_behavior_id).is_a?(Integer)
55
- raise MissingParameterError.new("Parameter missing: folder_behavior_id") unless params.dig(:folder_behavior_id)
56
65
 
57
66
  List.new(InboxRegistration, params) do
58
67
  Api.send_request("/inbox_registrations", :get, params, options)
@@ -184,6 +184,11 @@ module Files
184
184
  @attributes[:email]
185
185
  end
186
186
 
187
+ # boolean - Is FTP enabled?
188
+ def ftp_enabled
189
+ @attributes[:ftp_enabled]
190
+ end
191
+
187
192
  # email - Reply-to email for this site
188
193
  def reply_to_email
189
194
  @attributes[:reply_to_email]
@@ -449,6 +454,11 @@ module Files
449
454
  @attributes[:session_pinned_by_ip]
450
455
  end
451
456
 
457
+ # boolean - Is SFTP enabled?
458
+ def sftp_enabled
459
+ @attributes[:sftp_enabled]
460
+ end
461
+
452
462
  # boolean - Use user FTP roots also for SFTP?
453
463
  def sftp_user_root_enabled
454
464
  @attributes[:sftp_user_root_enabled]
@@ -675,6 +685,8 @@ module Files
675
685
  # non_sso_users_allowed - boolean - If true, users can be manually created / modified / deleted by Site Admins. Otherwise, users can only be managed via your SSO provider.
676
686
  # sharing_enabled - boolean - Allow bundle creation
677
687
  # user_requests_enabled - boolean - Enable User Requests feature
688
+ # ftp_enabled - boolean - Is FTP enabled?
689
+ # sftp_enabled - boolean - Is SFTP enabled?
678
690
  # allowed_2fa_method_sms - boolean - Is SMS two factor authentication allowed?
679
691
  # allowed_2fa_method_u2f - boolean - Is U2F two factor authentication allowed?
680
692
  # allowed_2fa_method_totp - boolean - Is TOTP two factor authentication allowed?
@@ -482,7 +482,7 @@ module Files
482
482
  @attributes[:group_id] = value
483
483
  end
484
484
 
485
- # string - Pre-calculated hash of the user's password.
485
+ # 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
486
  def imported_password_hash
487
487
  @attributes[:imported_password_hash]
488
488
  end
@@ -560,7 +560,7 @@ module Files
560
560
  # grant_permission - string - Permission to grant on the user root. Can be blank or `full`, `read`, `write`, `list`, or `history`.
561
561
  # group_id - int64 - Group ID to associate this user with.
562
562
  # 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.
563
+ # 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
564
  # password - string - User password.
565
565
  # password_confirmation - string - Optional, but if provided, we will ensure that it matches the value sent in `password`.
566
566
  # announcements_read - boolean - Signifies that the user has read all the announcements in the UI.
@@ -720,7 +720,7 @@ module Files
720
720
  # grant_permission - string - Permission to grant on the user root. Can be blank or `full`, `read`, `write`, `list`, or `history`.
721
721
  # group_id - int64 - Group ID to associate this user with.
722
722
  # 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.
723
+ # 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
724
  # password - string - User password.
725
725
  # password_confirmation - string - Optional, but if provided, we will ensure that it matches the value sent in `password`.
726
726
  # announcements_read - boolean - Signifies that the user has read all the announcements in the UI.
@@ -829,7 +829,7 @@ module Files
829
829
  # grant_permission - string - Permission to grant on the user root. Can be blank or `full`, `read`, `write`, `list`, or `history`.
830
830
  # group_id - int64 - Group ID to associate this user with.
831
831
  # 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.
832
+ # 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
833
  # password - string - User password.
834
834
  # password_confirmation - string - Optional, but if provided, we will ensure that it matches the value sent in `password`.
835
835
  # announcements_read - boolean - Signifies that the user has read all the announcements in the UI.
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.201
4
+ version: 1.0.205
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-08-26 00:00:00.000000000 Z
11
+ date: 2021-08-30 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: addressable