files.com 1.1.633 → 1.1.635
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/bundle.md +8 -0
- data/docs/bundle_action.md +5 -1
- data/docs/bundle_notification.md +3 -1
- data/docs/site.md +8 -0
- data/docs/sso_strategy.md +1 -1
- data/docs/user.md +4 -4
- data/lib/files.com/models/bundle.rb +15 -0
- data/lib/files.com/models/bundle_action.rb +4 -0
- data/lib/files.com/models/bundle_notification.rb +2 -0
- data/lib/files.com/models/site.rb +12 -0
- data/lib/files.com/models/sso_strategy.rb +1 -1
- data/lib/files.com/models/user.rb +4 -4
- 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: 07c8685ec589f7db545612acbd93062b543ab406d42dff852f97390b849d3002
|
|
4
|
+
data.tar.gz: 379bdd9123c551efa73ccedce8906454059d005c6011950bc5f1685ec2c4afb9
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 1c0a13e1cb07f617ba3d29f87fe79b3bad5e49de24f8dbeac4c6b89c7acf00ff95e919e54a5ea36b78562c8c07fd831a0cf0eb4be8111a79722e23a366b87b7f
|
|
7
|
+
data.tar.gz: 948e08d67679243ce4f59d118a67c43148d2c61e022fc5aee4fe51168ffe3ba3238c6698fccf11f7e62a19f331307469d53d800cc4dd73b77147b017f7ab5c76
|
data/_VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
1.1.
|
|
1
|
+
1.1.635
|
data/docs/bundle.md
CHANGED
|
@@ -66,6 +66,7 @@
|
|
|
66
66
|
"snapshot_id": 1,
|
|
67
67
|
"user_id": 1,
|
|
68
68
|
"username": "user",
|
|
69
|
+
"group_id": 1,
|
|
69
70
|
"clickwrap_id": 1,
|
|
70
71
|
"inbox_id": 1,
|
|
71
72
|
"watermark_attachment": {
|
|
@@ -124,6 +125,7 @@
|
|
|
124
125
|
* `snapshot_id` (int64): ID of the snapshot containing this bundle's contents.
|
|
125
126
|
* `user_id` (int64): Bundle creator user ID
|
|
126
127
|
* `username` (string): Bundle creator username
|
|
128
|
+
* `group_id` (int64): Owning group ID. If set, members of this group can view, edit, and share this Share Link.
|
|
127
129
|
* `clickwrap_id` (int64): ID of the clickwrap to use with this bundle.
|
|
128
130
|
* `inbox_id` (int64): ID of the associated inbox, if available.
|
|
129
131
|
* `watermark_attachment` (Image): Preview watermark image applied to all bundle items.
|
|
@@ -195,6 +197,7 @@ Files::Bundle.create(
|
|
|
195
197
|
expires_at: "2000-01-01T01:00:00Z",
|
|
196
198
|
finalize_snapshot: false,
|
|
197
199
|
max_uses: 1,
|
|
200
|
+
group_id: 1,
|
|
198
201
|
description: "The public description of the bundle.",
|
|
199
202
|
note: "The internal note on the bundle.",
|
|
200
203
|
code: "abc123",
|
|
@@ -228,6 +231,7 @@ Files::Bundle.create(
|
|
|
228
231
|
* `expires_at` (string): Bundle expiration date/time
|
|
229
232
|
* `finalize_snapshot` (boolean): If true, finalize the snapshot of this bundle's contents. Note that `create_snapshot` must also be true.
|
|
230
233
|
* `max_uses` (int64): Maximum number of times bundle can be accessed
|
|
234
|
+
* `group_id` (int64): Owning group ID. If set, members of this group can view, edit, and share this Share Link.
|
|
231
235
|
* `description` (string): Public description
|
|
232
236
|
* `note` (string): Bundle internal note
|
|
233
237
|
* `code` (string): Bundle code. This code forms the end part of the Public URL.
|
|
@@ -288,6 +292,7 @@ Files::Bundle.update(id,
|
|
|
288
292
|
finalize_snapshot: false,
|
|
289
293
|
inbox_id: 1,
|
|
290
294
|
max_uses: 1,
|
|
295
|
+
group_id: 1,
|
|
291
296
|
note: "The internal note on the bundle.",
|
|
292
297
|
path_template: "{{name}}_{{ip}}",
|
|
293
298
|
path_template_time_zone: "Eastern Time (US & Canada)",
|
|
@@ -322,6 +327,7 @@ Files::Bundle.update(id,
|
|
|
322
327
|
* `finalize_snapshot` (boolean): If true, finalize the snapshot of this bundle's contents. Note that `create_snapshot` must also be true.
|
|
323
328
|
* `inbox_id` (int64): ID of the associated inbox, if available.
|
|
324
329
|
* `max_uses` (int64): Maximum number of times bundle can be accessed
|
|
330
|
+
* `group_id` (int64): Owning group ID. If set, members of this group can view, edit, and share this Share Link.
|
|
325
331
|
* `note` (string): Bundle internal note
|
|
326
332
|
* `path_template` (string): Template for creating submission subfolders. Can use the uploader's name, email address, ip, company, `strftime` directives, and any custom form data.
|
|
327
333
|
* `path_template_time_zone` (string): Timezone to use when rendering timestamps in path templates.
|
|
@@ -396,6 +402,7 @@ bundle.update(
|
|
|
396
402
|
finalize_snapshot: false,
|
|
397
403
|
inbox_id: 1,
|
|
398
404
|
max_uses: 1,
|
|
405
|
+
group_id: 1,
|
|
399
406
|
note: "The internal note on the bundle.",
|
|
400
407
|
path_template: "{{name}}_{{ip}}",
|
|
401
408
|
path_template_time_zone: "Eastern Time (US & Canada)",
|
|
@@ -430,6 +437,7 @@ bundle.update(
|
|
|
430
437
|
* `finalize_snapshot` (boolean): If true, finalize the snapshot of this bundle's contents. Note that `create_snapshot` must also be true.
|
|
431
438
|
* `inbox_id` (int64): ID of the associated inbox, if available.
|
|
432
439
|
* `max_uses` (int64): Maximum number of times bundle can be accessed
|
|
440
|
+
* `group_id` (int64): Owning group ID. If set, members of this group can view, edit, and share this Share Link.
|
|
433
441
|
* `note` (string): Bundle internal note
|
|
434
442
|
* `path_template` (string): Template for creating submission subfolders. Can use the uploader's name, email address, ip, company, `strftime` directives, and any custom form data.
|
|
435
443
|
* `path_template_time_zone` (string): Timezone to use when rendering timestamps in path templates.
|
data/docs/bundle_action.md
CHANGED
|
@@ -60,7 +60,9 @@
|
|
|
60
60
|
|
|
61
61
|
```
|
|
62
62
|
Files::BundleAction.list(
|
|
63
|
-
user_id: 1
|
|
63
|
+
user_id: 1,
|
|
64
|
+
bundle_id: 1,
|
|
65
|
+
bundle_registration_id: 1
|
|
64
66
|
)
|
|
65
67
|
```
|
|
66
68
|
|
|
@@ -75,3 +77,5 @@ Files::BundleAction.list(
|
|
|
75
77
|
* `filter_gteq` (object): If set, return records where the specified field is greater than or equal the supplied value. Valid fields are `created_at`.
|
|
76
78
|
* `filter_lt` (object): If set, return records where the specified field is less than the supplied value. Valid fields are `created_at`.
|
|
77
79
|
* `filter_lteq` (object): If set, return records where the specified field is less than or equal the supplied value. Valid fields are `created_at`.
|
|
80
|
+
* `bundle_id` (int64): Bundle ID
|
|
81
|
+
* `bundle_registration_id` (int64): Bundle Registration ID
|
data/docs/bundle_notification.md
CHANGED
|
@@ -28,7 +28,8 @@
|
|
|
28
28
|
|
|
29
29
|
```
|
|
30
30
|
Files::BundleNotification.list(
|
|
31
|
-
user_id: 1
|
|
31
|
+
user_id: 1,
|
|
32
|
+
bundle_id: 1
|
|
32
33
|
)
|
|
33
34
|
```
|
|
34
35
|
|
|
@@ -39,6 +40,7 @@ Files::BundleNotification.list(
|
|
|
39
40
|
* `per_page` (int64): Number of records to show per page. (Max: 10000, 1,000 or less is recommended).
|
|
40
41
|
* `sort_by` (object): If set, sort records by the specified field in either `asc` or `desc` direction. Valid fields are `workspace_id` and `bundle_id`.
|
|
41
42
|
* `filter` (object): If set, return records where the specified field is equal to the supplied value. Valid fields are `bundle_id`.
|
|
43
|
+
* `bundle_id` (int64): Bundle ID
|
|
42
44
|
|
|
43
45
|
|
|
44
46
|
---
|
data/docs/site.md
CHANGED
|
@@ -39,6 +39,7 @@
|
|
|
39
39
|
"bundle_expiration": 1,
|
|
40
40
|
"bundle_not_found_message": "example",
|
|
41
41
|
"bundle_password_required": true,
|
|
42
|
+
"bundles_default_owned_by_primary_group": true,
|
|
42
43
|
"bundle_recipient_blacklist_domains": [
|
|
43
44
|
"example"
|
|
44
45
|
],
|
|
@@ -174,6 +175,7 @@
|
|
|
174
175
|
"prevent_root_permissions_for_non_site_admins": true,
|
|
175
176
|
"protocol_access_groups_only": true,
|
|
176
177
|
"require_2fa": true,
|
|
178
|
+
"require_2fa_exempt_all_sso_users": true,
|
|
177
179
|
"require_2fa_stop_time": "2000-01-01T01:00:00Z",
|
|
178
180
|
"revoke_bundle_access_on_disable_or_delete": true,
|
|
179
181
|
"require_2fa_user_type": "`site_admins`",
|
|
@@ -373,6 +375,7 @@
|
|
|
373
375
|
* `bundle_expiration` (int64): Site-wide Bundle expiration in days
|
|
374
376
|
* `bundle_not_found_message` (string): Custom error message to show when bundle is not found.
|
|
375
377
|
* `bundle_password_required` (boolean): Do Bundles require password protection?
|
|
378
|
+
* `bundles_default_owned_by_primary_group` (boolean): If true, new Share Links created by a user with a primary group will default to that group as owner.
|
|
376
379
|
* `bundle_recipient_blacklist_domains` (array(string)): List of email domains to disallow when entering a Bundle/Inbox recipients
|
|
377
380
|
* `bundle_recipient_blacklist_free_email_domains` (boolean): Disallow free email domains for Bundle/Inbox recipients?
|
|
378
381
|
* `bundle_registration_notifications` (string): Do Bundle owners receive registration notification?
|
|
@@ -483,6 +486,7 @@
|
|
|
483
486
|
* `prevent_root_permissions_for_non_site_admins` (boolean): If true, we will prevent non-administrators from receiving any permissions directly on the root folder. This is commonly used to prevent the accidental application of permissions.
|
|
484
487
|
* `protocol_access_groups_only` (boolean): If true, protocol access permissions on users will be ignored, and only protocol access permissions set on Groups will be honored. Make sure that your current user is a member of a group with API permission when changing this value to avoid locking yourself out of your site.
|
|
485
488
|
* `require_2fa` (boolean): Require two-factor authentication for all users?
|
|
489
|
+
* `require_2fa_exempt_all_sso_users` (boolean): If true, SSO users using the default user-level two-factor authentication setting are exempt from the site-wide two-factor authentication requirement.
|
|
486
490
|
* `require_2fa_stop_time` (date-time): If set, requirement for two-factor authentication has been scheduled to end on this date-time.
|
|
487
491
|
* `revoke_bundle_access_on_disable_or_delete` (boolean): Auto-removes bundles for disabled/deleted users and enforces bundle expiry within user access period.
|
|
488
492
|
* `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)?
|
|
@@ -596,6 +600,7 @@ Files::Site.update(
|
|
|
596
600
|
additional_text_file_types: ["example"],
|
|
597
601
|
bundle_require_note: false,
|
|
598
602
|
bundle_send_shared_receipts: false,
|
|
603
|
+
bundles_default_owned_by_primary_group: false,
|
|
599
604
|
calculate_file_checksums_crc32: false,
|
|
600
605
|
calculate_file_checksums_md5: false,
|
|
601
606
|
calculate_file_checksums_sha1: false,
|
|
@@ -682,6 +687,7 @@ Files::Site.update(
|
|
|
682
687
|
allowed_2fa_method_static: false,
|
|
683
688
|
allowed_2fa_method_bypass_for_ftp_sftp_dav: false,
|
|
684
689
|
require_2fa: false,
|
|
690
|
+
require_2fa_exempt_all_sso_users: false,
|
|
685
691
|
require_2fa_user_type: "`site_admins`",
|
|
686
692
|
color2_top: "#000000",
|
|
687
693
|
color2_left: "#0066a7",
|
|
@@ -770,6 +776,7 @@ Files::Site.update(
|
|
|
770
776
|
* `additional_text_file_types` (array(string)): Additional extensions that are considered text files
|
|
771
777
|
* `bundle_require_note` (boolean): Do Bundles require internal notes?
|
|
772
778
|
* `bundle_send_shared_receipts` (boolean): Do Bundle creators receive receipts of invitations?
|
|
779
|
+
* `bundles_default_owned_by_primary_group` (boolean): If true, new Share Links created by a user with a primary group will default to that group as owner.
|
|
773
780
|
* `calculate_file_checksums_crc32` (boolean): Calculate CRC32 checksums for files?
|
|
774
781
|
* `calculate_file_checksums_md5` (boolean): Calculate MD5 checksums for files?
|
|
775
782
|
* `calculate_file_checksums_sha1` (boolean): Calculate SHA1 checksums for files?
|
|
@@ -856,6 +863,7 @@ Files::Site.update(
|
|
|
856
863
|
* `allowed_2fa_method_static` (boolean): Is OTP via static codes for two factor authentication allowed?
|
|
857
864
|
* `allowed_2fa_method_bypass_for_ftp_sftp_dav` (boolean): Are users allowed to configure their two factor authentication to be bypassed for FTP/SFTP/WebDAV?
|
|
858
865
|
* `require_2fa` (boolean): Require two-factor authentication for all users?
|
|
866
|
+
* `require_2fa_exempt_all_sso_users` (boolean): If true, SSO users using the default user-level two-factor authentication setting are exempt from the site-wide two-factor authentication requirement.
|
|
859
867
|
* `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)?
|
|
860
868
|
* `color2_top` (string): Top bar background color
|
|
861
869
|
* `color2_left` (string): Page link and button color
|
data/docs/sso_strategy.md
CHANGED
|
@@ -95,7 +95,7 @@
|
|
|
95
95
|
* `provision_sftp_permission` (boolean): Auto-provisioned users get SFTP permission?
|
|
96
96
|
* `provision_time_zone` (string): Default time zone for auto provisioned users.
|
|
97
97
|
* `provision_company` (string): Default company for auto provisioned users.
|
|
98
|
-
* `provision_require_2fa` (string): 2FA required setting for auto provisioned users.
|
|
98
|
+
* `provision_require_2fa` (string): 2FA required setting for auto provisioned users. `use_system_setting` uses the site-wide setting, including SSO exemptions. `always_require` and `never_require` override the site-wide setting when user-level overrides are allowed.
|
|
99
99
|
* `provision_filesystem_layout` (string): File System layout to use for auto provisioned users.
|
|
100
100
|
* `provider_identifier` (string): URL-friendly, unique identifier for Azure SAML configuration
|
|
101
101
|
* `ldap_base_dn` (string): Base DN for looking up users in LDAP server
|
data/docs/user.md
CHANGED
|
@@ -150,7 +150,7 @@
|
|
|
150
150
|
* `notify_on_all_sync_failures` (boolean): Should the user receive sync failures via email?
|
|
151
151
|
* `notify_on_all_automation_failures` (boolean): Should the user receive automation failures via email?
|
|
152
152
|
* `notify_on_all_expectation_failures` (boolean): Should the user receive expectation failures and misses via email?
|
|
153
|
-
* `require_2fa` (string): 2FA required setting
|
|
153
|
+
* `require_2fa` (string): 2FA required setting. `use_system_setting` uses the site-wide setting, including SSO exemptions. `always_require` and `never_require` override the site-wide setting when user-level overrides are allowed.
|
|
154
154
|
* `require_login_by` (date-time): Require user to login by specified date otherwise it will be disabled.
|
|
155
155
|
* `active_2fa` (boolean): Is 2fa active for the user?
|
|
156
156
|
* `require_password_change` (boolean): Is a password change required upon next user login?
|
|
@@ -354,7 +354,7 @@ Files::User.create(
|
|
|
354
354
|
* `ssl_required` (string): SSL required setting
|
|
355
355
|
* `sso_strategy_id` (int64): SSO (Single Sign On) strategy ID for the user, if applicable.
|
|
356
356
|
* `subscribe_to_newsletter` (boolean): Is the user subscribed to the newsletter?
|
|
357
|
-
* `require_2fa` (string): 2FA required setting
|
|
357
|
+
* `require_2fa` (string): 2FA required setting. `use_system_setting` uses the site-wide setting, including SSO exemptions. `always_require` and `never_require` override the site-wide setting when user-level overrides are allowed.
|
|
358
358
|
* `tags` (string): Comma-separated list of Tags for this user. Tags are used for other features, such as UserLifecycleRules, which can target specific tags. Tags must only contain lowercase letters, numbers, and hyphens.
|
|
359
359
|
* `time_zone` (string): User time zone
|
|
360
360
|
* `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.
|
|
@@ -530,7 +530,7 @@ Files::User.update(id,
|
|
|
530
530
|
* `ssl_required` (string): SSL required setting
|
|
531
531
|
* `sso_strategy_id` (int64): SSO (Single Sign On) strategy ID for the user, if applicable.
|
|
532
532
|
* `subscribe_to_newsletter` (boolean): Is the user subscribed to the newsletter?
|
|
533
|
-
* `require_2fa` (string): 2FA required setting
|
|
533
|
+
* `require_2fa` (string): 2FA required setting. `use_system_setting` uses the site-wide setting, including SSO exemptions. `always_require` and `never_require` override the site-wide setting when user-level overrides are allowed.
|
|
534
534
|
* `tags` (string): Comma-separated list of Tags for this user. Tags are used for other features, such as UserLifecycleRules, which can target specific tags. Tags must only contain lowercase letters, numbers, and hyphens.
|
|
535
535
|
* `time_zone` (string): User time zone
|
|
536
536
|
* `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.
|
|
@@ -732,7 +732,7 @@ user.update(
|
|
|
732
732
|
* `ssl_required` (string): SSL required setting
|
|
733
733
|
* `sso_strategy_id` (int64): SSO (Single Sign On) strategy ID for the user, if applicable.
|
|
734
734
|
* `subscribe_to_newsletter` (boolean): Is the user subscribed to the newsletter?
|
|
735
|
-
* `require_2fa` (string): 2FA required setting
|
|
735
|
+
* `require_2fa` (string): 2FA required setting. `use_system_setting` uses the site-wide setting, including SSO exemptions. `always_require` and `never_require` override the site-wide setting when user-level overrides are allowed.
|
|
736
736
|
* `tags` (string): Comma-separated list of Tags for this user. Tags are used for other features, such as UserLifecycleRules, which can target specific tags. Tags must only contain lowercase letters, numbers, and hyphens.
|
|
737
737
|
* `time_zone` (string): User time zone
|
|
738
738
|
* `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.
|
|
@@ -302,6 +302,15 @@ module Files
|
|
|
302
302
|
@attributes[:username] = value
|
|
303
303
|
end
|
|
304
304
|
|
|
305
|
+
# int64 - Owning group ID. If set, members of this group can view, edit, and share this Share Link.
|
|
306
|
+
def group_id
|
|
307
|
+
@attributes[:group_id]
|
|
308
|
+
end
|
|
309
|
+
|
|
310
|
+
def group_id=(value)
|
|
311
|
+
@attributes[:group_id] = value
|
|
312
|
+
end
|
|
313
|
+
|
|
305
314
|
# int64 - ID of the clickwrap to use with this bundle.
|
|
306
315
|
def clickwrap_id
|
|
307
316
|
@attributes[:clickwrap_id]
|
|
@@ -479,6 +488,7 @@ module Files
|
|
|
479
488
|
# finalize_snapshot - boolean - If true, finalize the snapshot of this bundle's contents. Note that `create_snapshot` must also be true.
|
|
480
489
|
# inbox_id - int64 - ID of the associated inbox, if available.
|
|
481
490
|
# max_uses - int64 - Maximum number of times bundle can be accessed
|
|
491
|
+
# group_id - int64 - Owning group ID. If set, members of this group can view, edit, and share this Share Link.
|
|
482
492
|
# note - string - Bundle internal note
|
|
483
493
|
# path_template - string - Template for creating submission subfolders. Can use the uploader's name, email address, ip, company, `strftime` directives, and any custom form data.
|
|
484
494
|
# path_template_time_zone - string - Timezone to use when rendering timestamps in path templates.
|
|
@@ -509,6 +519,7 @@ module Files
|
|
|
509
519
|
raise InvalidParameterError.new("Bad parameter: expires_at must be an String") if params[:expires_at] and !params[:expires_at].is_a?(String)
|
|
510
520
|
raise InvalidParameterError.new("Bad parameter: inbox_id must be an Integer") if params[:inbox_id] and !params[:inbox_id].is_a?(Integer)
|
|
511
521
|
raise InvalidParameterError.new("Bad parameter: max_uses must be an Integer") if params[:max_uses] and !params[:max_uses].is_a?(Integer)
|
|
522
|
+
raise InvalidParameterError.new("Bad parameter: group_id must be an Integer") if params[:group_id] and !params[:group_id].is_a?(Integer)
|
|
512
523
|
raise InvalidParameterError.new("Bad parameter: note must be an String") if params[:note] and !params[:note].is_a?(String)
|
|
513
524
|
raise InvalidParameterError.new("Bad parameter: path_template must be an String") if params[:path_template] and !params[:path_template].is_a?(String)
|
|
514
525
|
raise InvalidParameterError.new("Bad parameter: path_template_time_zone must be an String") if params[:path_template_time_zone] and !params[:path_template_time_zone].is_a?(String)
|
|
@@ -606,6 +617,7 @@ module Files
|
|
|
606
617
|
# expires_at - string - Bundle expiration date/time
|
|
607
618
|
# finalize_snapshot - boolean - If true, finalize the snapshot of this bundle's contents. Note that `create_snapshot` must also be true.
|
|
608
619
|
# max_uses - int64 - Maximum number of times bundle can be accessed
|
|
620
|
+
# group_id - int64 - Owning group ID. If set, members of this group can view, edit, and share this Share Link.
|
|
609
621
|
# description - string - Public description
|
|
610
622
|
# note - string - Bundle internal note
|
|
611
623
|
# code - string - Bundle code. This code forms the end part of the Public URL.
|
|
@@ -632,6 +644,7 @@ module Files
|
|
|
632
644
|
raise InvalidParameterError.new("Bad parameter: form_field_set_id must be an Integer") if params[:form_field_set_id] and !params[:form_field_set_id].is_a?(Integer)
|
|
633
645
|
raise InvalidParameterError.new("Bad parameter: expires_at must be an String") if params[:expires_at] and !params[:expires_at].is_a?(String)
|
|
634
646
|
raise InvalidParameterError.new("Bad parameter: max_uses must be an Integer") if params[:max_uses] and !params[:max_uses].is_a?(Integer)
|
|
647
|
+
raise InvalidParameterError.new("Bad parameter: group_id must be an Integer") if params[:group_id] and !params[:group_id].is_a?(Integer)
|
|
635
648
|
raise InvalidParameterError.new("Bad parameter: description must be an String") if params[:description] and !params[:description].is_a?(String)
|
|
636
649
|
raise InvalidParameterError.new("Bad parameter: note must be an String") if params[:note] and !params[:note].is_a?(String)
|
|
637
650
|
raise InvalidParameterError.new("Bad parameter: code must be an String") if params[:code] and !params[:code].is_a?(String)
|
|
@@ -682,6 +695,7 @@ module Files
|
|
|
682
695
|
# finalize_snapshot - boolean - If true, finalize the snapshot of this bundle's contents. Note that `create_snapshot` must also be true.
|
|
683
696
|
# inbox_id - int64 - ID of the associated inbox, if available.
|
|
684
697
|
# max_uses - int64 - Maximum number of times bundle can be accessed
|
|
698
|
+
# group_id - int64 - Owning group ID. If set, members of this group can view, edit, and share this Share Link.
|
|
685
699
|
# note - string - Bundle internal note
|
|
686
700
|
# path_template - string - Template for creating submission subfolders. Can use the uploader's name, email address, ip, company, `strftime` directives, and any custom form data.
|
|
687
701
|
# path_template_time_zone - string - Timezone to use when rendering timestamps in path templates.
|
|
@@ -711,6 +725,7 @@ module Files
|
|
|
711
725
|
raise InvalidParameterError.new("Bad parameter: expires_at must be an String") if params[:expires_at] and !params[:expires_at].is_a?(String)
|
|
712
726
|
raise InvalidParameterError.new("Bad parameter: inbox_id must be an Integer") if params[:inbox_id] and !params[:inbox_id].is_a?(Integer)
|
|
713
727
|
raise InvalidParameterError.new("Bad parameter: max_uses must be an Integer") if params[:max_uses] and !params[:max_uses].is_a?(Integer)
|
|
728
|
+
raise InvalidParameterError.new("Bad parameter: group_id must be an Integer") if params[:group_id] and !params[:group_id].is_a?(Integer)
|
|
714
729
|
raise InvalidParameterError.new("Bad parameter: note must be an String") if params[:note] and !params[:note].is_a?(String)
|
|
715
730
|
raise InvalidParameterError.new("Bad parameter: path_template must be an String") if params[:path_template] and !params[:path_template].is_a?(String)
|
|
716
731
|
raise InvalidParameterError.new("Bad parameter: path_template_time_zone must be an String") if params[:path_template_time_zone] and !params[:path_template_time_zone].is_a?(String)
|
|
@@ -84,6 +84,8 @@ module Files
|
|
|
84
84
|
# filter_gteq - object - If set, return records where the specified field is greater than or equal the supplied value. Valid fields are `created_at`.
|
|
85
85
|
# filter_lt - object - If set, return records where the specified field is less than the supplied value. Valid fields are `created_at`.
|
|
86
86
|
# filter_lteq - object - If set, return records where the specified field is less than or equal the supplied value. Valid fields are `created_at`.
|
|
87
|
+
# bundle_id - int64 - Bundle ID
|
|
88
|
+
# bundle_registration_id - int64 - Bundle Registration ID
|
|
87
89
|
def self.list(params = {}, options = {})
|
|
88
90
|
raise InvalidParameterError.new("Bad parameter: user_id must be an Integer") if params[:user_id] and !params[:user_id].is_a?(Integer)
|
|
89
91
|
raise InvalidParameterError.new("Bad parameter: cursor must be an String") if params[:cursor] and !params[:cursor].is_a?(String)
|
|
@@ -94,6 +96,8 @@ module Files
|
|
|
94
96
|
raise InvalidParameterError.new("Bad parameter: filter_gteq must be an Hash") if params[:filter_gteq] and !params[:filter_gteq].is_a?(Hash)
|
|
95
97
|
raise InvalidParameterError.new("Bad parameter: filter_lt must be an Hash") if params[:filter_lt] and !params[:filter_lt].is_a?(Hash)
|
|
96
98
|
raise InvalidParameterError.new("Bad parameter: filter_lteq must be an Hash") if params[:filter_lteq] and !params[:filter_lteq].is_a?(Hash)
|
|
99
|
+
raise InvalidParameterError.new("Bad parameter: bundle_id must be an Integer") if params[:bundle_id] and !params[:bundle_id].is_a?(Integer)
|
|
100
|
+
raise InvalidParameterError.new("Bad parameter: bundle_registration_id must be an Integer") if params[:bundle_registration_id] and !params[:bundle_registration_id].is_a?(Integer)
|
|
97
101
|
|
|
98
102
|
List.new(BundleAction, params) do
|
|
99
103
|
Api.send_request("/bundle_actions", :get, params, options)
|
|
@@ -117,12 +117,14 @@ module Files
|
|
|
117
117
|
# per_page - int64 - Number of records to show per page. (Max: 10000, 1,000 or less is recommended).
|
|
118
118
|
# sort_by - object - If set, sort records by the specified field in either `asc` or `desc` direction. Valid fields are `workspace_id` and `bundle_id`.
|
|
119
119
|
# filter - object - If set, return records where the specified field is equal to the supplied value. Valid fields are `bundle_id`.
|
|
120
|
+
# bundle_id - int64 - Bundle ID
|
|
120
121
|
def self.list(params = {}, options = {})
|
|
121
122
|
raise InvalidParameterError.new("Bad parameter: user_id must be an Integer") if params[:user_id] and !params[:user_id].is_a?(Integer)
|
|
122
123
|
raise InvalidParameterError.new("Bad parameter: cursor must be an String") if params[:cursor] and !params[:cursor].is_a?(String)
|
|
123
124
|
raise InvalidParameterError.new("Bad parameter: per_page must be an Integer") if params[:per_page] and !params[:per_page].is_a?(Integer)
|
|
124
125
|
raise InvalidParameterError.new("Bad parameter: sort_by must be an Hash") if params[:sort_by] and !params[:sort_by].is_a?(Hash)
|
|
125
126
|
raise InvalidParameterError.new("Bad parameter: filter must be an Hash") if params[:filter] and !params[:filter].is_a?(Hash)
|
|
127
|
+
raise InvalidParameterError.new("Bad parameter: bundle_id must be an Integer") if params[:bundle_id] and !params[:bundle_id].is_a?(Integer)
|
|
126
128
|
|
|
127
129
|
List.new(BundleNotification, params) do
|
|
128
130
|
Api.send_request("/bundle_notifications", :get, params, options)
|
|
@@ -141,6 +141,11 @@ module Files
|
|
|
141
141
|
@attributes[:bundle_password_required]
|
|
142
142
|
end
|
|
143
143
|
|
|
144
|
+
# boolean - If true, new Share Links created by a user with a primary group will default to that group as owner.
|
|
145
|
+
def bundles_default_owned_by_primary_group
|
|
146
|
+
@attributes[:bundles_default_owned_by_primary_group]
|
|
147
|
+
end
|
|
148
|
+
|
|
144
149
|
# array(string) - List of email domains to disallow when entering a Bundle/Inbox recipients
|
|
145
150
|
def bundle_recipient_blacklist_domains
|
|
146
151
|
@attributes[:bundle_recipient_blacklist_domains]
|
|
@@ -694,6 +699,11 @@ module Files
|
|
|
694
699
|
@attributes[:require_2fa]
|
|
695
700
|
end
|
|
696
701
|
|
|
702
|
+
# boolean - If true, SSO users using the default user-level two-factor authentication setting are exempt from the site-wide two-factor authentication requirement.
|
|
703
|
+
def require_2fa_exempt_all_sso_users
|
|
704
|
+
@attributes[:require_2fa_exempt_all_sso_users]
|
|
705
|
+
end
|
|
706
|
+
|
|
697
707
|
# date-time - If set, requirement for two-factor authentication has been scheduled to end on this date-time.
|
|
698
708
|
def require_2fa_stop_time
|
|
699
709
|
@attributes[:require_2fa_stop_time]
|
|
@@ -989,6 +999,7 @@ module Files
|
|
|
989
999
|
# additional_text_file_types - array(string) - Additional extensions that are considered text files
|
|
990
1000
|
# bundle_require_note - boolean - Do Bundles require internal notes?
|
|
991
1001
|
# bundle_send_shared_receipts - boolean - Do Bundle creators receive receipts of invitations?
|
|
1002
|
+
# bundles_default_owned_by_primary_group - boolean - If true, new Share Links created by a user with a primary group will default to that group as owner.
|
|
992
1003
|
# calculate_file_checksums_crc32 - boolean - Calculate CRC32 checksums for files?
|
|
993
1004
|
# calculate_file_checksums_md5 - boolean - Calculate MD5 checksums for files?
|
|
994
1005
|
# calculate_file_checksums_sha1 - boolean - Calculate SHA1 checksums for files?
|
|
@@ -1075,6 +1086,7 @@ module Files
|
|
|
1075
1086
|
# allowed_2fa_method_static - boolean - Is OTP via static codes for two factor authentication allowed?
|
|
1076
1087
|
# allowed_2fa_method_bypass_for_ftp_sftp_dav - boolean - Are users allowed to configure their two factor authentication to be bypassed for FTP/SFTP/WebDAV?
|
|
1077
1088
|
# require_2fa - boolean - Require two-factor authentication for all users?
|
|
1089
|
+
# require_2fa_exempt_all_sso_users - boolean - If true, SSO users using the default user-level two-factor authentication setting are exempt from the site-wide two-factor authentication requirement.
|
|
1078
1090
|
# 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)?
|
|
1079
1091
|
# color2_top - string - Top bar background color
|
|
1080
1092
|
# color2_left - string - Page link and button color
|
|
@@ -189,7 +189,7 @@ module Files
|
|
|
189
189
|
@attributes[:provision_company]
|
|
190
190
|
end
|
|
191
191
|
|
|
192
|
-
# string - 2FA required setting for auto provisioned users.
|
|
192
|
+
# string - 2FA required setting for auto provisioned users. `use_system_setting` uses the site-wide setting, including SSO exemptions. `always_require` and `never_require` override the site-wide setting when user-level overrides are allowed.
|
|
193
193
|
def provision_require_2fa
|
|
194
194
|
@attributes[:provision_require_2fa]
|
|
195
195
|
end
|
|
@@ -518,7 +518,7 @@ module Files
|
|
|
518
518
|
@attributes[:notify_on_all_expectation_failures] = value
|
|
519
519
|
end
|
|
520
520
|
|
|
521
|
-
# string - 2FA required setting
|
|
521
|
+
# string - 2FA required setting. `use_system_setting` uses the site-wide setting, including SSO exemptions. `always_require` and `never_require` override the site-wide setting when user-level overrides are allowed.
|
|
522
522
|
def require_2fa
|
|
523
523
|
@attributes[:require_2fa]
|
|
524
524
|
end
|
|
@@ -959,7 +959,7 @@ module Files
|
|
|
959
959
|
# ssl_required - string - SSL required setting
|
|
960
960
|
# sso_strategy_id - int64 - SSO (Single Sign On) strategy ID for the user, if applicable.
|
|
961
961
|
# subscribe_to_newsletter - boolean - Is the user subscribed to the newsletter?
|
|
962
|
-
# require_2fa - string - 2FA required setting
|
|
962
|
+
# require_2fa - string - 2FA required setting. `use_system_setting` uses the site-wide setting, including SSO exemptions. `always_require` and `never_require` override the site-wide setting when user-level overrides are allowed.
|
|
963
963
|
# tags - string - Comma-separated list of Tags for this user. Tags are used for other features, such as UserLifecycleRules, which can target specific tags. Tags must only contain lowercase letters, numbers, and hyphens.
|
|
964
964
|
# time_zone - string - User time zone
|
|
965
965
|
# 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.
|
|
@@ -1150,7 +1150,7 @@ module Files
|
|
|
1150
1150
|
# ssl_required - string - SSL required setting
|
|
1151
1151
|
# sso_strategy_id - int64 - SSO (Single Sign On) strategy ID for the user, if applicable.
|
|
1152
1152
|
# subscribe_to_newsletter - boolean - Is the user subscribed to the newsletter?
|
|
1153
|
-
# require_2fa - string - 2FA required setting
|
|
1153
|
+
# require_2fa - string - 2FA required setting. `use_system_setting` uses the site-wide setting, including SSO exemptions. `always_require` and `never_require` override the site-wide setting when user-level overrides are allowed.
|
|
1154
1154
|
# tags - string - Comma-separated list of Tags for this user. Tags are used for other features, such as UserLifecycleRules, which can target specific tags. Tags must only contain lowercase letters, numbers, and hyphens.
|
|
1155
1155
|
# time_zone - string - User time zone
|
|
1156
1156
|
# 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.
|
|
@@ -1289,7 +1289,7 @@ module Files
|
|
|
1289
1289
|
# ssl_required - string - SSL required setting
|
|
1290
1290
|
# sso_strategy_id - int64 - SSO (Single Sign On) strategy ID for the user, if applicable.
|
|
1291
1291
|
# subscribe_to_newsletter - boolean - Is the user subscribed to the newsletter?
|
|
1292
|
-
# require_2fa - string - 2FA required setting
|
|
1292
|
+
# require_2fa - string - 2FA required setting. `use_system_setting` uses the site-wide setting, including SSO exemptions. `always_require` and `never_require` override the site-wide setting when user-level overrides are allowed.
|
|
1293
1293
|
# tags - string - Comma-separated list of Tags for this user. Tags are used for other features, such as UserLifecycleRules, which can target specific tags. Tags must only contain lowercase letters, numbers, and hyphens.
|
|
1294
1294
|
# time_zone - string - User time zone
|
|
1295
1295
|
# 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.
|
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.635
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- files.com
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2026-06-
|
|
11
|
+
date: 2026-06-05 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: addressable
|