files.com 1.1.760 → 1.1.762
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/remote_server_credential.md +1 -1
- data/docs/restore.md +8 -8
- data/docs/site.md +4 -0
- data/lib/files.com/models/remote_server_credential.rb +1 -1
- data/lib/files.com/models/restore.rb +8 -8
- data/lib/files.com/models/site.rb +7 -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: cf73e3d192ff3f0f0c3080260cf28b789d40b244874762d11c567d7503134a50
|
|
4
|
+
data.tar.gz: e190c5b8448ee93c21c4dbe305fe4cacc40acf3fd177e85108e41b6b49ef2072
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 329c7e14bceb7ad4d0543fe5ef2965b239347f5372fbdff69e0fba921bbfdcd6e6c64b61d349e2d0a9942b06adf9ad6911669a2fc3de9eb240e795f8e9f66c8c
|
|
7
|
+
data.tar.gz: 838cae9505b9f6e9e54e90d01dd1729a369b4d8317a9659adeb9e87000b785e898202395f403c2868f33c9c1b6f2c7cc9713bedf7922f4f35ec12c423a939390
|
data/_VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
1.1.
|
|
1
|
+
1.1.762
|
|
@@ -79,7 +79,7 @@ Files::RemoteServerCredential.list
|
|
|
79
79
|
|
|
80
80
|
* `cursor` (string): Used for pagination. When a list request has more records available, cursors are provided in the response headers `X-Files-Cursor-Next` and `X-Files-Cursor-Prev`. Send one of those cursor value here to resume an existing list from the next available record. Note: many of our SDKs have iterator methods that will automatically handle cursor-based pagination.
|
|
81
81
|
* `per_page` (int64): Number of records to show per page. (Max: 10000, 1,000 or less is recommended).
|
|
82
|
-
* `sort_by` (object): If set, sort records by the specified field in either `asc` or `desc` direction. Valid fields are `workspace_id` and `
|
|
82
|
+
* `sort_by` (object): If set, sort records by the specified field in either `asc` or `desc` direction. Valid fields are `workspace_id` and `name`.
|
|
83
83
|
* `filter` (object): If set, return records where the specified field is equal to the supplied value. Valid fields are `workspace_id` and `name`. Valid field combinations are `[ workspace_id, name ]`.
|
|
84
84
|
* `filter_prefix` (object): If set, return records where the specified field is prefixed by the supplied value. Valid fields are `name`.
|
|
85
85
|
|
data/docs/restore.md
CHANGED
|
@@ -31,7 +31,7 @@
|
|
|
31
31
|
}
|
|
32
32
|
```
|
|
33
33
|
|
|
34
|
-
* `earliest_date` (date-time): Restore
|
|
34
|
+
* `earliest_date` (date-time): Restore files or users deleted on or after this date/time. Don't set this earlier than you need. Can not be greater than 365 days prior to the restore request.
|
|
35
35
|
* `id` (int64): Restore Record ID.
|
|
36
36
|
* `dirs_restored` (int64): Number of directories that were successfully restored.
|
|
37
37
|
* `dirs_errored` (int64): Number of directories that were not able to be restored.
|
|
@@ -39,10 +39,10 @@
|
|
|
39
39
|
* `files_restored` (int64): Number of files successfully restored.
|
|
40
40
|
* `files_errored` (int64): Number of files that were not able to be restored.
|
|
41
41
|
* `files_total` (int64): Total number of files processed.
|
|
42
|
-
* `prefix` (string): Prefix of the files/folders to restore. To restore a folder, add a trailing slash to the folder name. Do not use a leading slash. To restore all deleted items, specify an empty string (`''`) in the prefix field or omit the field from the request.
|
|
43
|
-
* `restoration_type` (string): Type of restoration to perform. `files` restores deleted filesystem items. `users` restores deleted users and associated access/authentication records.
|
|
42
|
+
* `prefix` (string): Prefix of the files/folders to restore, or a case-insensitive username prefix for a user restore. To restore a folder, add a trailing slash to the folder name. Do not use a leading slash. To restore all deleted items of the selected restoration type, specify an empty string (`''`) in the prefix field or omit the field from the request.
|
|
43
|
+
* `restoration_type` (string): Type of restoration to perform. `files` restores deleted filesystem items. `users` restores deleted users and associated access/authentication records removed as part of deleting those users.
|
|
44
44
|
* `restore_in_place` (boolean): If true, we will restore the files in place (into their original paths). If false, we will create a new restoration folder in the root and restore files there.
|
|
45
|
-
* `restore_deleted_permissions` (boolean): If true,
|
|
45
|
+
* `restore_deleted_permissions` (boolean): If true, restore permissions removed as part of deleting the selected users for a user restore, or permissions matching the selected path prefix and deletion dates for a file restore.
|
|
46
46
|
* `users_restored` (int64): Number of users successfully restored (only present for `restoration_type=users`).
|
|
47
47
|
* `users_errored` (int64): Number of users that failed to restore (only present for `restoration_type=users`).
|
|
48
48
|
* `users_total` (int64): Total number of users processed (only present for `restoration_type=users`).
|
|
@@ -89,10 +89,10 @@ Files::Restore.create(
|
|
|
89
89
|
|
|
90
90
|
### Parameters
|
|
91
91
|
|
|
92
|
-
* `earliest_date` (string): Required - Restore
|
|
93
|
-
* `prefix` (string): Prefix of the files/folders to restore. To restore a folder, add a trailing slash to the folder name. Do not use a leading slash. To restore all deleted items, specify an empty string (`''`) in the prefix field or omit the field from the request.
|
|
94
|
-
* `restoration_type` (string): Type of restoration to perform. `files` restores deleted filesystem items. `users` restores deleted users and associated access/authentication records.
|
|
95
|
-
* `restore_deleted_permissions` (boolean): If true,
|
|
92
|
+
* `earliest_date` (string): Required - Restore files or users deleted on or after this date/time. Don't set this earlier than you need. Can not be greater than 365 days prior to the restore request.
|
|
93
|
+
* `prefix` (string): Prefix of the files/folders to restore, or a case-insensitive username prefix for a user restore. To restore a folder, add a trailing slash to the folder name. Do not use a leading slash. To restore all deleted items of the selected restoration type, specify an empty string (`''`) in the prefix field or omit the field from the request.
|
|
94
|
+
* `restoration_type` (string): Type of restoration to perform. `files` restores deleted filesystem items. `users` restores deleted users and associated access/authentication records removed as part of deleting those users.
|
|
95
|
+
* `restore_deleted_permissions` (boolean): If true, restore permissions removed as part of deleting the selected users for a user restore, or permissions matching the selected path prefix and deletion dates for a file restore.
|
|
96
96
|
* `restore_in_place` (boolean): If true, we will restore the files in place (into their original paths). If false, we will create a new restoration folder in the root and restore files there.
|
|
97
97
|
* `update_timestamps` (boolean): If true, we will update the last modified timestamp of restored files to today's date. If false, we might trigger File Expiration to delete the file again.
|
|
98
98
|
* `workspace_id` (int64): Workspace ID for a workspace-scoped restore. `0` means the default site-wide scope.
|
data/docs/site.md
CHANGED
|
@@ -251,6 +251,7 @@
|
|
|
251
251
|
"smtp_authentication": "plain",
|
|
252
252
|
"smtp_from": "me@my-mail-server.com",
|
|
253
253
|
"smtp_port": 25,
|
|
254
|
+
"smtp_ssl": "require",
|
|
254
255
|
"smtp_username": "mail",
|
|
255
256
|
"session_expiry_minutes": 360,
|
|
256
257
|
"snapshot_sharing_enabled": true,
|
|
@@ -545,6 +546,7 @@
|
|
|
545
546
|
* `smtp_authentication` (string): SMTP server authentication type
|
|
546
547
|
* `smtp_from` (string): From address to use when mailing through custom SMTP
|
|
547
548
|
* `smtp_port` (int64): SMTP server port
|
|
549
|
+
* `smtp_ssl` (string): Custom SMTP encryption mode: if_available (default) uses STARTTLS when offered and otherwise sends credentials and messages unencrypted; require requires STARTTLS before authentication; require_implicit uses TLS from connection start; never disables TLS. TLS verifies the server certificate against smtp_address.
|
|
548
550
|
* `smtp_username` (string): SMTP server username
|
|
549
551
|
* `session_expiry_minutes` (int64): Session expiry in minutes
|
|
550
552
|
* `snapshot_sharing_enabled` (boolean): Allow snapshot share links creation
|
|
@@ -750,6 +752,7 @@ Files::Site.update(
|
|
|
750
752
|
smtp_from: "me@my-mail-server.com",
|
|
751
753
|
smtp_username: "mail",
|
|
752
754
|
smtp_port: 1,
|
|
755
|
+
smtp_ssl: "require",
|
|
753
756
|
ldap_enabled: false,
|
|
754
757
|
ldap_type: "open_ldap",
|
|
755
758
|
ldap_host: "ldap.site.com",
|
|
@@ -936,6 +939,7 @@ Files::Site.update(
|
|
|
936
939
|
* `smtp_from` (string): From address to use when mailing through custom SMTP
|
|
937
940
|
* `smtp_username` (string): SMTP server username
|
|
938
941
|
* `smtp_port` (int64): SMTP server port
|
|
942
|
+
* `smtp_ssl` (string): Custom SMTP encryption mode: if_available (default) uses STARTTLS when offered and otherwise sends credentials and messages unencrypted; require requires STARTTLS before authentication; require_implicit uses TLS from connection start; never disables TLS. TLS verifies the server certificate against smtp_address.
|
|
939
943
|
* `ldap_enabled` (boolean): Main LDAP setting: is LDAP enabled?
|
|
940
944
|
* `ldap_type` (string): LDAP type
|
|
941
945
|
* `ldap_host` (string): LDAP host
|
|
@@ -468,7 +468,7 @@ module Files
|
|
|
468
468
|
# Parameters:
|
|
469
469
|
# cursor - string - Used for pagination. When a list request has more records available, cursors are provided in the response headers `X-Files-Cursor-Next` and `X-Files-Cursor-Prev`. Send one of those cursor value here to resume an existing list from the next available record. Note: many of our SDKs have iterator methods that will automatically handle cursor-based pagination.
|
|
470
470
|
# per_page - int64 - Number of records to show per page. (Max: 10000, 1,000 or less is recommended).
|
|
471
|
-
# sort_by - object - If set, sort records by the specified field in either `asc` or `desc` direction. Valid fields are `workspace_id` and `
|
|
471
|
+
# sort_by - object - If set, sort records by the specified field in either `asc` or `desc` direction. Valid fields are `workspace_id` and `name`.
|
|
472
472
|
# filter - object - If set, return records where the specified field is equal to the supplied value. Valid fields are `workspace_id` and `name`. Valid field combinations are `[ workspace_id, name ]`.
|
|
473
473
|
# filter_prefix - object - If set, return records where the specified field is prefixed by the supplied value. Valid fields are `name`.
|
|
474
474
|
def self.list(params = {}, options = {})
|
|
@@ -9,7 +9,7 @@ module Files
|
|
|
9
9
|
@options = options || {}
|
|
10
10
|
end
|
|
11
11
|
|
|
12
|
-
# date-time - Restore
|
|
12
|
+
# date-time - Restore files or users deleted on or after this date/time. Don't set this earlier than you need. Can not be greater than 365 days prior to the restore request.
|
|
13
13
|
def earliest_date
|
|
14
14
|
@attributes[:earliest_date]
|
|
15
15
|
end
|
|
@@ -81,7 +81,7 @@ module Files
|
|
|
81
81
|
@attributes[:files_total] = value
|
|
82
82
|
end
|
|
83
83
|
|
|
84
|
-
# string - Prefix of the files/folders to restore. To restore a folder, add a trailing slash to the folder name. Do not use a leading slash. To restore all deleted items, specify an empty string (`''`) in the prefix field or omit the field from the request.
|
|
84
|
+
# string - Prefix of the files/folders to restore, or a case-insensitive username prefix for a user restore. To restore a folder, add a trailing slash to the folder name. Do not use a leading slash. To restore all deleted items of the selected restoration type, specify an empty string (`''`) in the prefix field or omit the field from the request.
|
|
85
85
|
def prefix
|
|
86
86
|
@attributes[:prefix]
|
|
87
87
|
end
|
|
@@ -90,7 +90,7 @@ module Files
|
|
|
90
90
|
@attributes[:prefix] = value
|
|
91
91
|
end
|
|
92
92
|
|
|
93
|
-
# string - Type of restoration to perform. `files` restores deleted filesystem items. `users` restores deleted users and associated access/authentication records.
|
|
93
|
+
# string - Type of restoration to perform. `files` restores deleted filesystem items. `users` restores deleted users and associated access/authentication records removed as part of deleting those users.
|
|
94
94
|
def restoration_type
|
|
95
95
|
@attributes[:restoration_type]
|
|
96
96
|
end
|
|
@@ -108,7 +108,7 @@ module Files
|
|
|
108
108
|
@attributes[:restore_in_place] = value
|
|
109
109
|
end
|
|
110
110
|
|
|
111
|
-
# boolean - If true,
|
|
111
|
+
# boolean - If true, restore permissions removed as part of deleting the selected users for a user restore, or permissions matching the selected path prefix and deletion dates for a file restore.
|
|
112
112
|
def restore_deleted_permissions
|
|
113
113
|
@attributes[:restore_deleted_permissions]
|
|
114
114
|
end
|
|
@@ -239,10 +239,10 @@ module Files
|
|
|
239
239
|
end
|
|
240
240
|
|
|
241
241
|
# Parameters:
|
|
242
|
-
# earliest_date (required) - string - Restore
|
|
243
|
-
# prefix - string - Prefix of the files/folders to restore. To restore a folder, add a trailing slash to the folder name. Do not use a leading slash. To restore all deleted items, specify an empty string (`''`) in the prefix field or omit the field from the request.
|
|
244
|
-
# restoration_type - string - Type of restoration to perform. `files` restores deleted filesystem items. `users` restores deleted users and associated access/authentication records.
|
|
245
|
-
# restore_deleted_permissions - boolean - If true,
|
|
242
|
+
# earliest_date (required) - string - Restore files or users deleted on or after this date/time. Don't set this earlier than you need. Can not be greater than 365 days prior to the restore request.
|
|
243
|
+
# prefix - string - Prefix of the files/folders to restore, or a case-insensitive username prefix for a user restore. To restore a folder, add a trailing slash to the folder name. Do not use a leading slash. To restore all deleted items of the selected restoration type, specify an empty string (`''`) in the prefix field or omit the field from the request.
|
|
244
|
+
# restoration_type - string - Type of restoration to perform. `files` restores deleted filesystem items. `users` restores deleted users and associated access/authentication records removed as part of deleting those users.
|
|
245
|
+
# restore_deleted_permissions - boolean - If true, restore permissions removed as part of deleting the selected users for a user restore, or permissions matching the selected path prefix and deletion dates for a file restore.
|
|
246
246
|
# restore_in_place - boolean - If true, we will restore the files in place (into their original paths). If false, we will create a new restoration folder in the root and restore files there.
|
|
247
247
|
# update_timestamps - boolean - If true, we will update the last modified timestamp of restored files to today's date. If false, we might trigger File Expiration to delete the file again.
|
|
248
248
|
# workspace_id - int64 - Workspace ID for a workspace-scoped restore. `0` means the default site-wide scope.
|
|
@@ -864,6 +864,11 @@ module Files
|
|
|
864
864
|
@attributes[:smtp_port]
|
|
865
865
|
end
|
|
866
866
|
|
|
867
|
+
# string - Custom SMTP encryption mode: if_available (default) uses STARTTLS when offered and otherwise sends credentials and messages unencrypted; require requires STARTTLS before authentication; require_implicit uses TLS from connection start; never disables TLS. TLS verifies the server certificate against smtp_address.
|
|
868
|
+
def smtp_ssl
|
|
869
|
+
@attributes[:smtp_ssl]
|
|
870
|
+
end
|
|
871
|
+
|
|
867
872
|
# string - SMTP server username
|
|
868
873
|
def smtp_username
|
|
869
874
|
@attributes[:smtp_username]
|
|
@@ -1163,6 +1168,7 @@ module Files
|
|
|
1163
1168
|
# smtp_from - string - From address to use when mailing through custom SMTP
|
|
1164
1169
|
# smtp_username - string - SMTP server username
|
|
1165
1170
|
# smtp_port - int64 - SMTP server port
|
|
1171
|
+
# smtp_ssl - string - Custom SMTP encryption mode: if_available (default) uses STARTTLS when offered and otherwise sends credentials and messages unencrypted; require requires STARTTLS before authentication; require_implicit uses TLS from connection start; never disables TLS. TLS verifies the server certificate against smtp_address.
|
|
1166
1172
|
# ldap_enabled - boolean - Main LDAP setting: is LDAP enabled?
|
|
1167
1173
|
# ldap_type - string - LDAP type
|
|
1168
1174
|
# ldap_host - string - LDAP host
|
|
@@ -1260,6 +1266,7 @@ module Files
|
|
|
1260
1266
|
raise InvalidParameterError.new("Bad parameter: smtp_from must be an String") if params[:smtp_from] and !params[:smtp_from].is_a?(String)
|
|
1261
1267
|
raise InvalidParameterError.new("Bad parameter: smtp_username must be an String") if params[:smtp_username] and !params[:smtp_username].is_a?(String)
|
|
1262
1268
|
raise InvalidParameterError.new("Bad parameter: smtp_port must be an Integer") if params[:smtp_port] and !params[:smtp_port].is_a?(Integer)
|
|
1269
|
+
raise InvalidParameterError.new("Bad parameter: smtp_ssl must be an String") if params[:smtp_ssl] and !params[:smtp_ssl].is_a?(String)
|
|
1263
1270
|
raise InvalidParameterError.new("Bad parameter: ldap_type must be an String") if params[:ldap_type] and !params[:ldap_type].is_a?(String)
|
|
1264
1271
|
raise InvalidParameterError.new("Bad parameter: ldap_host must be an String") if params[:ldap_host] and !params[:ldap_host].is_a?(String)
|
|
1265
1272
|
raise InvalidParameterError.new("Bad parameter: ldap_host_2 must be an String") if params[:ldap_host_2] and !params[:ldap_host_2].is_a?(String)
|
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.762
|
|
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-
|
|
11
|
+
date: 2026-10-01 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: addressable
|