files.com 1.1.625 → 1.1.627

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 4201153ef6082c819fe1fa9ea460cbf23afb35d5f38d16353be6cd0627bfb27a
4
- data.tar.gz: cb25b0a57fe96d9e8a84896e20b09c2dcf60708361adc8cabf7ed09ba0dccfea
3
+ metadata.gz: 30f032ab26677bfa7374fcf39a13d1ee7f76db399fb8894ec70141f1faecf71e
4
+ data.tar.gz: a7ad8780d246773d28c738862ead421a7c5c30eaaa0c4fd79340293cbb4e8068
5
5
  SHA512:
6
- metadata.gz: b2c3a17bcbc273afee404aed33d77eca33125f7c3fb18e6edd609cc14ab67fd44b1cee76a10fba172084b276d0d14bdeab2b10e213233eb58872ce38e3ce17ab
7
- data.tar.gz: d8017aaaffebc9a916b5a3cbf54161292da6372ec87e382391b46e06c4c0ce1f129ca236c0f890be879b102aa2359a3d6722ae0d0176290415e61242525604bd
6
+ metadata.gz: d68d076935968bd0372cd342935feecd8dd96cbfc37284ecc6cca1bb4bcd8c77e3c486c007b41f70e384459b816fa52541d5160f20bbc6e73ba7e5d86b9a1799
7
+ data.tar.gz: f23b69c3ff544c963d38ac75b8a45d8f2bc4bd0e6c59634f9f77130bb9c73e87675e9a4876b84c6685be2f5664b65a126171f06b08c60451b4e9f8f60afecd09
data/_VERSION CHANGED
@@ -1 +1 @@
1
- 1.1.625
1
+ 1.1.627
@@ -35,7 +35,7 @@ Files::EventChannel.list
35
35
 
36
36
  * `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.
37
37
  * `per_page` (int64): Number of records to show per page. (Max: 10000, 1,000 or less is recommended).
38
- * `sort_by` (object): If set, sort records by the specified field in either `asc` or `desc` direction. Valid fields are `enabled` and `default_channel`.
38
+ * `sort_by` (object): If set, sort records by the specified field in either `asc` or `desc` direction. Valid fields are `name`, `enabled` or `default_channel`.
39
39
  * `filter` (object): If set, return records where the specified field is equal to the supplied value. Valid fields are `enabled` and `default_channel`.
40
40
 
41
41
 
@@ -51,7 +51,7 @@ Files::EventDeliveryAttempt.list
51
51
 
52
52
  * `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.
53
53
  * `per_page` (int64): Number of records to show per page. (Max: 10000, 1,000 or less is recommended).
54
- * `sort_by` (object): If set, sort records by the specified field in either `asc` or `desc` direction. Valid fields are `status`, `event_record_id`, `event_target_id` or `workspace_id`.
54
+ * `sort_by` (object): If set, sort records by the specified field in either `asc` or `desc` direction. Valid fields are `created_at`, `status`, `event_record_id`, `event_target_id` or `workspace_id`.
55
55
  * `filter` (object): If set, return records where the specified field is equal to the supplied value. Valid fields are `status`, `workspace_id`, `event_record_id` or `event_target_id`. Valid field combinations are `[ workspace_id, status ]`, `[ workspace_id, event_record_id ]` or `[ workspace_id, event_target_id ]`.
56
56
 
57
57
 
@@ -49,7 +49,7 @@ Files::EventSubscription.list
49
49
 
50
50
  * `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.
51
51
  * `per_page` (int64): Number of records to show per page. (Max: 10000, 1,000 or less is recommended).
52
- * `sort_by` (object): If set, sort records by the specified field in either `asc` or `desc` direction. Valid fields are `enabled`, `event_channel_id` or `workspace_id`.
52
+ * `sort_by` (object): If set, sort records by the specified field in either `asc` or `desc` direction. Valid fields are `name`, `enabled`, `event_channel_id` or `workspace_id`.
53
53
  * `filter` (object): If set, return records where the specified field is equal to the supplied value. Valid fields are `enabled`, `event_channel_id` or `workspace_id`. Valid field combinations are `[ enabled, event_channel_id ]`, `[ workspace_id, enabled ]` or `[ workspace_id, enabled, event_channel_id ]`.
54
54
 
55
55
 
data/docs/event_target.md CHANGED
@@ -41,7 +41,7 @@ Files::EventTarget.list
41
41
 
42
42
  * `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.
43
43
  * `per_page` (int64): Number of records to show per page. (Max: 10000, 1,000 or less is recommended).
44
- * `sort_by` (object): If set, sort records by the specified field in either `asc` or `desc` direction. Valid fields are `enabled` and `workspace_id`.
44
+ * `sort_by` (object): If set, sort records by the specified field in either `asc` or `desc` direction. Valid fields are `name`, `enabled` or `workspace_id`.
45
45
  * `filter` (object): If set, return records where the specified field is equal to the supplied value. Valid fields are `enabled`, `target_type` or `workspace_id`. Valid field combinations are `[ enabled, target_type ]`, `[ workspace_id, enabled ]` or `[ workspace_id, enabled, target_type ]`.
46
46
 
47
47
 
data/docs/site.md CHANGED
@@ -184,6 +184,7 @@
184
184
  "aws_secret_key": "example",
185
185
  "login_token": "@tok-randomcode",
186
186
  "login_token_domain": "https://mysite.files.com",
187
+ "default_workspace_id": 1,
187
188
  "max_dir_listing_size": 1,
188
189
  "multiple_regions": true,
189
190
  "read_only": true,
@@ -311,6 +312,7 @@
311
312
  "workspace_admin": true,
312
313
  "site_id": 1,
313
314
  "workspace_id": 1,
315
+ "default_workspace_id": 1,
314
316
  "skip_welcome_screen": true,
315
317
  "ssl_required": "always_require",
316
318
  "sso_strategy_id": 1,
data/docs/user.md CHANGED
@@ -76,6 +76,7 @@
76
76
  "workspace_admin": true,
77
77
  "site_id": 1,
78
78
  "workspace_id": 1,
79
+ "default_workspace_id": 1,
79
80
  "skip_welcome_screen": true,
80
81
  "ssl_required": "always_require",
81
82
  "sso_strategy_id": 1,
@@ -162,6 +163,7 @@
162
163
  * `workspace_admin` (boolean): Is the user a Workspace administrator? Applicable only to the workspace ID related to this user, if one is set.
163
164
  * `site_id` (int64): Site ID
164
165
  * `workspace_id` (int64): Workspace ID
166
+ * `default_workspace_id` (int64): Workspace ID the user should land in by default when more than one Workspace is available.
165
167
  * `skip_welcome_screen` (boolean): Skip Welcome page in the UI?
166
168
  * `ssl_required` (string): SSL required setting
167
169
  * `sso_strategy_id` (int64): SSO (Single Sign On) strategy ID for the user, if applicable.
@@ -248,6 +250,7 @@ Files::User.create(
248
250
  bypass_site_allowed_ips: false,
249
251
  dav_permission: true,
250
252
  desktop_configuration_profile_id: 1,
253
+ default_workspace_id: 1,
251
254
  disabled: true,
252
255
  filesystem_layout: "site_root",
253
256
  ftp_permission: true,
@@ -316,6 +319,7 @@ Files::User.create(
316
319
  * `bypass_site_allowed_ips` (boolean): Allow this user to skip site-wide IP blacklists?
317
320
  * `dav_permission` (boolean): Can the user connect with WebDAV?
318
321
  * `desktop_configuration_profile_id` (int64): Desktop Configuration Profile ID assigned directly to this user, if any.
322
+ * `default_workspace_id` (int64): Workspace ID the user should land in by default when more than one Workspace is available.
319
323
  * `disabled` (boolean): Is user disabled? Disabled users cannot log in, and do not count for billing purposes. Users can be automatically disabled after an inactivity period via a Site setting or schedule to be deactivated after specific date.
320
324
  * `filesystem_layout` (string): File system layout
321
325
  * `ftp_permission` (boolean): Can the user access with FTP/FTPS?
@@ -419,6 +423,7 @@ Files::User.update(id,
419
423
  bypass_site_allowed_ips: false,
420
424
  dav_permission: true,
421
425
  desktop_configuration_profile_id: 1,
426
+ default_workspace_id: 1,
422
427
  disabled: true,
423
428
  filesystem_layout: "site_root",
424
429
  ftp_permission: true,
@@ -489,6 +494,7 @@ Files::User.update(id,
489
494
  * `bypass_site_allowed_ips` (boolean): Allow this user to skip site-wide IP blacklists?
490
495
  * `dav_permission` (boolean): Can the user connect with WebDAV?
491
496
  * `desktop_configuration_profile_id` (int64): Desktop Configuration Profile ID assigned directly to this user, if any.
497
+ * `default_workspace_id` (int64): Workspace ID the user should land in by default when more than one Workspace is available.
492
498
  * `disabled` (boolean): Is user disabled? Disabled users cannot log in, and do not count for billing purposes. Users can be automatically disabled after an inactivity period via a Site setting or schedule to be deactivated after specific date.
493
499
  * `filesystem_layout` (string): File system layout
494
500
  * `ftp_permission` (boolean): Can the user access with FTP/FTPS?
@@ -617,6 +623,7 @@ user.update(
617
623
  bypass_site_allowed_ips: false,
618
624
  dav_permission: true,
619
625
  desktop_configuration_profile_id: 1,
626
+ default_workspace_id: 1,
620
627
  disabled: true,
621
628
  filesystem_layout: "site_root",
622
629
  ftp_permission: true,
@@ -687,6 +694,7 @@ user.update(
687
694
  * `bypass_site_allowed_ips` (boolean): Allow this user to skip site-wide IP blacklists?
688
695
  * `dav_permission` (boolean): Can the user connect with WebDAV?
689
696
  * `desktop_configuration_profile_id` (int64): Desktop Configuration Profile ID assigned directly to this user, if any.
697
+ * `default_workspace_id` (int64): Workspace ID the user should land in by default when more than one Workspace is available.
690
698
  * `disabled` (boolean): Is user disabled? Disabled users cannot log in, and do not count for billing purposes. Users can be automatically disabled after an inactivity period via a Site setting or schedule to be deactivated after specific date.
691
699
  * `filesystem_layout` (string): File system layout
692
700
  * `ftp_permission` (boolean): Can the user access with FTP/FTPS?
@@ -110,7 +110,7 @@ module Files
110
110
  # Parameters:
111
111
  # 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.
112
112
  # per_page - int64 - Number of records to show per page. (Max: 10000, 1,000 or less is recommended).
113
- # sort_by - object - If set, sort records by the specified field in either `asc` or `desc` direction. Valid fields are `enabled` and `default_channel`.
113
+ # sort_by - object - If set, sort records by the specified field in either `asc` or `desc` direction. Valid fields are `name`, `enabled` or `default_channel`.
114
114
  # filter - object - If set, return records where the specified field is equal to the supplied value. Valid fields are `enabled` and `default_channel`.
115
115
  def self.list(params = {}, options = {})
116
116
  raise InvalidParameterError.new("Bad parameter: cursor must be an String") if params[:cursor] and !params[:cursor].is_a?(String)
@@ -87,7 +87,7 @@ module Files
87
87
  # Parameters:
88
88
  # 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.
89
89
  # per_page - int64 - Number of records to show per page. (Max: 10000, 1,000 or less is recommended).
90
- # sort_by - object - If set, sort records by the specified field in either `asc` or `desc` direction. Valid fields are `status`, `event_record_id`, `event_target_id` or `workspace_id`.
90
+ # sort_by - object - If set, sort records by the specified field in either `asc` or `desc` direction. Valid fields are `created_at`, `status`, `event_record_id`, `event_target_id` or `workspace_id`.
91
91
  # filter - object - If set, return records where the specified field is equal to the supplied value. Valid fields are `status`, `workspace_id`, `event_record_id` or `event_target_id`. Valid field combinations are `[ workspace_id, status ]`, `[ workspace_id, event_record_id ]` or `[ workspace_id, event_target_id ]`.
92
92
  def self.list(params = {}, options = {})
93
93
  raise InvalidParameterError.new("Bad parameter: cursor must be an String") if params[:cursor] and !params[:cursor].is_a?(String)
@@ -163,7 +163,7 @@ module Files
163
163
  # Parameters:
164
164
  # 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.
165
165
  # per_page - int64 - Number of records to show per page. (Max: 10000, 1,000 or less is recommended).
166
- # sort_by - object - If set, sort records by the specified field in either `asc` or `desc` direction. Valid fields are `enabled`, `event_channel_id` or `workspace_id`.
166
+ # sort_by - object - If set, sort records by the specified field in either `asc` or `desc` direction. Valid fields are `name`, `enabled`, `event_channel_id` or `workspace_id`.
167
167
  # filter - object - If set, return records where the specified field is equal to the supplied value. Valid fields are `enabled`, `event_channel_id` or `workspace_id`. Valid field combinations are `[ enabled, event_channel_id ]`, `[ workspace_id, enabled ]` or `[ workspace_id, enabled, event_channel_id ]`.
168
168
  def self.list(params = {}, options = {})
169
169
  raise InvalidParameterError.new("Bad parameter: cursor must be an String") if params[:cursor] and !params[:cursor].is_a?(String)
@@ -141,7 +141,7 @@ module Files
141
141
  # Parameters:
142
142
  # 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.
143
143
  # per_page - int64 - Number of records to show per page. (Max: 10000, 1,000 or less is recommended).
144
- # sort_by - object - If set, sort records by the specified field in either `asc` or `desc` direction. Valid fields are `enabled` and `workspace_id`.
144
+ # sort_by - object - If set, sort records by the specified field in either `asc` or `desc` direction. Valid fields are `name`, `enabled` or `workspace_id`.
145
145
  # filter - object - If set, return records where the specified field is equal to the supplied value. Valid fields are `enabled`, `target_type` or `workspace_id`. Valid field combinations are `[ enabled, target_type ]`, `[ workspace_id, enabled ]` or `[ workspace_id, enabled, target_type ]`.
146
146
  def self.list(params = {}, options = {})
147
147
  raise InvalidParameterError.new("Bad parameter: cursor must be an String") if params[:cursor] and !params[:cursor].is_a?(String)
@@ -635,6 +635,15 @@ module Files
635
635
  @attributes[:workspace_id] = value
636
636
  end
637
637
 
638
+ # int64 - Workspace ID the user should land in by default when more than one Workspace is available.
639
+ def default_workspace_id
640
+ @attributes[:default_workspace_id]
641
+ end
642
+
643
+ def default_workspace_id=(value)
644
+ @attributes[:default_workspace_id] = value
645
+ end
646
+
638
647
  # boolean - Skip Welcome page in the UI?
639
648
  def skip_welcome_screen
640
649
  @attributes[:skip_welcome_screen]
@@ -915,6 +924,7 @@ module Files
915
924
  # bypass_site_allowed_ips - boolean - Allow this user to skip site-wide IP blacklists?
916
925
  # dav_permission - boolean - Can the user connect with WebDAV?
917
926
  # desktop_configuration_profile_id - int64 - Desktop Configuration Profile ID assigned directly to this user, if any.
927
+ # default_workspace_id - int64 - Workspace ID the user should land in by default when more than one Workspace is available.
918
928
  # disabled - boolean - Is user disabled? Disabled users cannot log in, and do not count for billing purposes. Users can be automatically disabled after an inactivity period via a Site setting or schedule to be deactivated after specific date.
919
929
  # filesystem_layout - string - File system layout
920
930
  # ftp_permission - boolean - Can the user access with FTP/FTPS?
@@ -976,6 +986,7 @@ module Files
976
986
  raise InvalidParameterError.new("Bad parameter: authenticate_until must be an String") if params[:authenticate_until] and !params[:authenticate_until].is_a?(String)
977
987
  raise InvalidParameterError.new("Bad parameter: authentication_method must be an String") if params[:authentication_method] and !params[:authentication_method].is_a?(String)
978
988
  raise InvalidParameterError.new("Bad parameter: desktop_configuration_profile_id must be an Integer") if params[:desktop_configuration_profile_id] and !params[:desktop_configuration_profile_id].is_a?(Integer)
989
+ raise InvalidParameterError.new("Bad parameter: default_workspace_id must be an Integer") if params[:default_workspace_id] and !params[:default_workspace_id].is_a?(Integer)
979
990
  raise InvalidParameterError.new("Bad parameter: filesystem_layout must be an String") if params[:filesystem_layout] and !params[:filesystem_layout].is_a?(String)
980
991
  raise InvalidParameterError.new("Bad parameter: header_text must be an String") if params[:header_text] and !params[:header_text].is_a?(String)
981
992
  raise InvalidParameterError.new("Bad parameter: language must be an String") if params[:language] and !params[:language].is_a?(String)
@@ -1102,6 +1113,7 @@ module Files
1102
1113
  # bypass_site_allowed_ips - boolean - Allow this user to skip site-wide IP blacklists?
1103
1114
  # dav_permission - boolean - Can the user connect with WebDAV?
1104
1115
  # desktop_configuration_profile_id - int64 - Desktop Configuration Profile ID assigned directly to this user, if any.
1116
+ # default_workspace_id - int64 - Workspace ID the user should land in by default when more than one Workspace is available.
1105
1117
  # disabled - boolean - Is user disabled? Disabled users cannot log in, and do not count for billing purposes. Users can be automatically disabled after an inactivity period via a Site setting or schedule to be deactivated after specific date.
1106
1118
  # filesystem_layout - string - File system layout
1107
1119
  # ftp_permission - boolean - Can the user access with FTP/FTPS?
@@ -1158,6 +1170,7 @@ module Files
1158
1170
  raise InvalidParameterError.new("Bad parameter: authenticate_until must be an String") if params[:authenticate_until] and !params[:authenticate_until].is_a?(String)
1159
1171
  raise InvalidParameterError.new("Bad parameter: authentication_method must be an String") if params[:authentication_method] and !params[:authentication_method].is_a?(String)
1160
1172
  raise InvalidParameterError.new("Bad parameter: desktop_configuration_profile_id must be an Integer") if params[:desktop_configuration_profile_id] and !params[:desktop_configuration_profile_id].is_a?(Integer)
1173
+ raise InvalidParameterError.new("Bad parameter: default_workspace_id must be an Integer") if params[:default_workspace_id] and !params[:default_workspace_id].is_a?(Integer)
1161
1174
  raise InvalidParameterError.new("Bad parameter: filesystem_layout must be an String") if params[:filesystem_layout] and !params[:filesystem_layout].is_a?(String)
1162
1175
  raise InvalidParameterError.new("Bad parameter: header_text must be an String") if params[:header_text] and !params[:header_text].is_a?(String)
1163
1176
  raise InvalidParameterError.new("Bad parameter: language must be an String") if params[:language] and !params[:language].is_a?(String)
@@ -1239,6 +1252,7 @@ module Files
1239
1252
  # bypass_site_allowed_ips - boolean - Allow this user to skip site-wide IP blacklists?
1240
1253
  # dav_permission - boolean - Can the user connect with WebDAV?
1241
1254
  # desktop_configuration_profile_id - int64 - Desktop Configuration Profile ID assigned directly to this user, if any.
1255
+ # default_workspace_id - int64 - Workspace ID the user should land in by default when more than one Workspace is available.
1242
1256
  # disabled - boolean - Is user disabled? Disabled users cannot log in, and do not count for billing purposes. Users can be automatically disabled after an inactivity period via a Site setting or schedule to be deactivated after specific date.
1243
1257
  # filesystem_layout - string - File system layout
1244
1258
  # ftp_permission - boolean - Can the user access with FTP/FTPS?
@@ -1299,6 +1313,7 @@ module Files
1299
1313
  raise InvalidParameterError.new("Bad parameter: authenticate_until must be an String") if params[:authenticate_until] and !params[:authenticate_until].is_a?(String)
1300
1314
  raise InvalidParameterError.new("Bad parameter: authentication_method must be an String") if params[:authentication_method] and !params[:authentication_method].is_a?(String)
1301
1315
  raise InvalidParameterError.new("Bad parameter: desktop_configuration_profile_id must be an Integer") if params[:desktop_configuration_profile_id] and !params[:desktop_configuration_profile_id].is_a?(Integer)
1316
+ raise InvalidParameterError.new("Bad parameter: default_workspace_id must be an Integer") if params[:default_workspace_id] and !params[:default_workspace_id].is_a?(Integer)
1302
1317
  raise InvalidParameterError.new("Bad parameter: filesystem_layout must be an String") if params[:filesystem_layout] and !params[:filesystem_layout].is_a?(String)
1303
1318
  raise InvalidParameterError.new("Bad parameter: header_text must be an String") if params[:header_text] and !params[:header_text].is_a?(String)
1304
1319
  raise InvalidParameterError.new("Bad parameter: language must be an String") if params[:language] and !params[:language].is_a?(String)
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Files
4
- VERSION = "1.1.625"
4
+ VERSION = "1.1.627"
5
5
  end
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.625
4
+ version: 1.1.627
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-05-29 00:00:00.000000000 Z
11
+ date: 2026-05-31 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: addressable