files.com 1.1.197 → 1.1.199

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: d25011fc48fd8a94bebc5be3072085cb86b07f80783addb16c0701f04feed540
4
- data.tar.gz: a46a4632765ee7eb931435fd20e2b6ce26f0bf8e1627c79ab6d8bdf01254a6fd
3
+ metadata.gz: '09256e6e311fa606fed83bfc48401d703ba9db06507739d12ff8eb2cfaff7ca7'
4
+ data.tar.gz: 6471f8433662c993b88403984ae202ece5b8a8a81fd819037cf2c75d012466b4
5
5
  SHA512:
6
- metadata.gz: fd7f71ae3444a3a6d1468d566a63a54ea1b2c3aa512a4b7a6ff5121684c0a711ca9e4092c06187ee617436dd39ab0391c5f8b693602bc6612b9eb1c84a78c82e
7
- data.tar.gz: 605c707f7751f2dc0126172cc3c3f98313baf299e7a2a148bf55d7dc35b8dc4ed7f9f5c3e94e50c8c3eb09efbbd4042b160e28255d3cf3a04301cd46d747b69a
6
+ metadata.gz: 51b9e07d5e01c915354388213a69196afa9c37607092bc477abe5835fd62d508e1931e52f4914b63df0f8b807fade3fa84db5e4c89309a49ba8bea6a46101674
7
+ data.tar.gz: efa3136546869d5fcf55df7771ee9109169b766c0fb431fa45477b34938f7da2e8a1c762bbcb29904de991f189974cad3652b2126b8c6b8314caa6e632f9f139
data/_VERSION CHANGED
@@ -1 +1 @@
1
- 1.1.197
1
+ 1.1.199
data/docs/as2_station.md CHANGED
@@ -50,6 +50,7 @@ Files::As2Station.list
50
50
 
51
51
  * `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.
52
52
  * `per_page` (int64): Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
53
+ * `sort_by` (object): If set, sort records by the specified field in either `asc` or `desc` direction. Valid fields are `name`.
53
54
 
54
55
 
55
56
  ---
data/docs/bundle.md CHANGED
@@ -150,7 +150,7 @@ Files::Bundle.list(
150
150
  * `user_id` (int64): User ID. Provide a value of `0` to operate the current session's user.
151
151
  * `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.
152
152
  * `per_page` (int64): Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
153
- * `sort_by` (object): If set, sort records by the specified field in either `asc` or `desc` direction. Valid fields are .
153
+ * `sort_by` (object): If set, sort records by the specified field in either `asc` or `desc` direction. Valid fields are `expires_at`.
154
154
 
155
155
 
156
156
  ---
@@ -51,4 +51,5 @@ Files::BundleRegistration.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: 10,000, 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 `bundle_id`.
54
55
  * `bundle_id` (int64): ID of the associated Bundle
data/docs/clickwrap.md CHANGED
@@ -33,6 +33,7 @@ Files::Clickwrap.list
33
33
 
34
34
  * `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.
35
35
  * `per_page` (int64): Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
36
+ * `sort_by` (object): If set, sort records by the specified field in either `asc` or `desc` direction. Valid fields are .
36
37
 
37
38
 
38
39
  ---
@@ -37,6 +37,7 @@ Files::MessageComment.list(
37
37
  * `user_id` (int64): User ID. Provide a value of `0` to operate the current session's user.
38
38
  * `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.
39
39
  * `per_page` (int64): Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
40
+ * `sort_by` (object): If set, sort records by the specified field in either `asc` or `desc` direction. Valid fields are .
40
41
  * `message_id` (int64): Required - Message comment to return comments for.
41
42
 
42
43
 
@@ -30,6 +30,7 @@ Files::MessageCommentReaction.list(
30
30
  * `user_id` (int64): User ID. Provide a value of `0` to operate the current session's user.
31
31
  * `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.
32
32
  * `per_page` (int64): Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
33
+ * `sort_by` (object): If set, sort records by the specified field in either `asc` or `desc` direction. Valid fields are .
33
34
  * `message_comment_id` (int64): Required - Message comment to return reactions for.
34
35
 
35
36
 
data/docs/site.md CHANGED
@@ -60,6 +60,7 @@
60
60
  "custom_namespace": true,
61
61
  "dav_enabled": true,
62
62
  "dav_user_root_enabled": true,
63
+ "days_before_deleting_disabled_users": 30,
63
64
  "days_to_retain_backups": 30,
64
65
  "document_edits_in_bundle_allowed": true,
65
66
  "default_time_zone": "Pacific Time (US & Canada)",
@@ -347,6 +348,7 @@
347
348
  * `custom_namespace` (boolean): Is this site using a custom namespace for users?
348
349
  * `dav_enabled` (boolean): Is WebDAV enabled?
349
350
  * `dav_user_root_enabled` (boolean): Use user FTP roots also for WebDAV?
351
+ * `days_before_deleting_disabled_users` (int64): Number of days to keep disabled users before deleting them. If set to 0, disabled users will not be deleted.
350
352
  * `days_to_retain_backups` (int64): Number of days to keep deleted files
351
353
  * `document_edits_in_bundle_allowed` (boolean): If true, allow public viewers of Bundles with full permissions to use document editing integrations.
352
354
  * `default_time_zone` (string): Site default time zone
@@ -549,6 +551,7 @@ Files::Site.update(
549
551
  allowed_countries: "US,DE",
550
552
  allowed_ips: "example",
551
553
  disallowed_countries: "US,DE",
554
+ days_before_deleting_disabled_users: 1,
552
555
  days_to_retain_backups: 1,
553
556
  max_prior_passwords: 1,
554
557
  password_validity_days: 1,
@@ -706,6 +709,7 @@ Files::Site.update(
706
709
  * `allowed_countries` (string): Comma separated list of allowed Country codes
707
710
  * `allowed_ips` (string): List of allowed IP addresses
708
711
  * `disallowed_countries` (string): Comma separated list of disallowed Country codes
712
+ * `days_before_deleting_disabled_users` (int64): Number of days to keep disabled users before deleting them. If set to 0, disabled users will not be deleted.
709
713
  * `days_to_retain_backups` (int64): Number of days to keep deleted files
710
714
  * `max_prior_passwords` (int64): Number of prior passwords to disallow
711
715
  * `password_validity_days` (int64): Number of days password is valid
data/docs/sso_strategy.md CHANGED
@@ -113,6 +113,7 @@ Files::SsoStrategy.list
113
113
 
114
114
  * `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.
115
115
  * `per_page` (int64): Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
116
+ * `sort_by` (object): If set, sort records by the specified field in either `asc` or `desc` direction. Valid fields are .
116
117
 
117
118
 
118
119
  ---
@@ -201,9 +201,11 @@ module Files
201
201
  # Parameters:
202
202
  # 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.
203
203
  # per_page - int64 - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
204
+ # sort_by - object - If set, sort records by the specified field in either `asc` or `desc` direction. Valid fields are `name`.
204
205
  def self.list(params = {}, options = {})
205
206
  raise InvalidParameterError.new("Bad parameter: cursor must be an String") if params[:cursor] and !params[:cursor].is_a?(String)
206
207
  raise InvalidParameterError.new("Bad parameter: per_page must be an Integer") if params[:per_page] and !params[:per_page].is_a?(Integer)
208
+ raise InvalidParameterError.new("Bad parameter: sort_by must be an Hash") if params[:sort_by] and !params[:sort_by].is_a?(Hash)
207
209
 
208
210
  List.new(As2Station, params) do
209
211
  Api.send_request("/as2_stations", :get, params, options)
@@ -518,7 +518,7 @@ module Files
518
518
  # user_id - int64 - User ID. Provide a value of `0` to operate the current session's user.
519
519
  # 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.
520
520
  # per_page - int64 - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
521
- # sort_by - object - If set, sort records by the specified field in either `asc` or `desc` direction. Valid fields are .
521
+ # sort_by - object - If set, sort records by the specified field in either `asc` or `desc` direction. Valid fields are `expires_at`.
522
522
  def self.list(params = {}, options = {})
523
523
  raise InvalidParameterError.new("Bad parameter: user_id must be an Integer") if params[:user_id] and !params[:user_id].is_a?(Integer)
524
524
  raise InvalidParameterError.new("Bad parameter: cursor must be an String") if params[:cursor] and !params[:cursor].is_a?(String)
@@ -77,10 +77,12 @@ module Files
77
77
  # Parameters:
78
78
  # 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.
79
79
  # per_page - int64 - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
80
+ # sort_by - object - If set, sort records by the specified field in either `asc` or `desc` direction. Valid fields are `bundle_id`.
80
81
  # bundle_id - int64 - ID of the associated Bundle
81
82
  def self.list(params = {}, options = {})
82
83
  raise InvalidParameterError.new("Bad parameter: cursor must be an String") if params[:cursor] and !params[:cursor].is_a?(String)
83
84
  raise InvalidParameterError.new("Bad parameter: per_page must be an Integer") if params[:per_page] and !params[:per_page].is_a?(Integer)
85
+ raise InvalidParameterError.new("Bad parameter: sort_by must be an Hash") if params[:sort_by] and !params[:sort_by].is_a?(Hash)
84
86
  raise InvalidParameterError.new("Bad parameter: bundle_id must be an Integer") if params[:bundle_id] and !params[:bundle_id].is_a?(Integer)
85
87
 
86
88
  List.new(BundleRegistration, params) do
@@ -113,9 +113,11 @@ module Files
113
113
  # Parameters:
114
114
  # 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.
115
115
  # per_page - int64 - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
116
+ # sort_by - object - If set, sort records by the specified field in either `asc` or `desc` direction. Valid fields are .
116
117
  def self.list(params = {}, options = {})
117
118
  raise InvalidParameterError.new("Bad parameter: cursor must be an String") if params[:cursor] and !params[:cursor].is_a?(String)
118
119
  raise InvalidParameterError.new("Bad parameter: per_page must be an Integer") if params[:per_page] and !params[:per_page].is_a?(Integer)
120
+ raise InvalidParameterError.new("Bad parameter: sort_by must be an Hash") if params[:sort_by] and !params[:sort_by].is_a?(Hash)
119
121
 
120
122
  List.new(Clickwrap, params) do
121
123
  Api.send_request("/clickwraps", :get, params, options)
@@ -89,11 +89,13 @@ module Files
89
89
  # user_id - int64 - User ID. Provide a value of `0` to operate the current session's user.
90
90
  # 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.
91
91
  # per_page - int64 - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
92
+ # sort_by - object - If set, sort records by the specified field in either `asc` or `desc` direction. Valid fields are .
92
93
  # message_id (required) - int64 - Message comment to return comments for.
93
94
  def self.list(params = {}, options = {})
94
95
  raise InvalidParameterError.new("Bad parameter: user_id must be an Integer") if params[:user_id] and !params[:user_id].is_a?(Integer)
95
96
  raise InvalidParameterError.new("Bad parameter: cursor must be an String") if params[:cursor] and !params[:cursor].is_a?(String)
96
97
  raise InvalidParameterError.new("Bad parameter: per_page must be an Integer") if params[:per_page] and !params[:per_page].is_a?(Integer)
98
+ raise InvalidParameterError.new("Bad parameter: sort_by must be an Hash") if params[:sort_by] and !params[:sort_by].is_a?(Hash)
97
99
  raise InvalidParameterError.new("Bad parameter: message_id must be an Integer") if params[:message_id] and !params[:message_id].is_a?(Integer)
98
100
  raise MissingParameterError.new("Parameter missing: message_id") unless params[:message_id]
99
101
 
@@ -66,11 +66,13 @@ module Files
66
66
  # user_id - int64 - User ID. Provide a value of `0` to operate the current session's user.
67
67
  # 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.
68
68
  # per_page - int64 - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
69
+ # sort_by - object - If set, sort records by the specified field in either `asc` or `desc` direction. Valid fields are .
69
70
  # message_comment_id (required) - int64 - Message comment to return reactions for.
70
71
  def self.list(params = {}, options = {})
71
72
  raise InvalidParameterError.new("Bad parameter: user_id must be an Integer") if params[:user_id] and !params[:user_id].is_a?(Integer)
72
73
  raise InvalidParameterError.new("Bad parameter: cursor must be an String") if params[:cursor] and !params[:cursor].is_a?(String)
73
74
  raise InvalidParameterError.new("Bad parameter: per_page must be an Integer") if params[:per_page] and !params[:per_page].is_a?(Integer)
75
+ raise InvalidParameterError.new("Bad parameter: sort_by must be an Hash") if params[:sort_by] and !params[:sort_by].is_a?(Hash)
74
76
  raise InvalidParameterError.new("Bad parameter: message_comment_id must be an Integer") if params[:message_comment_id] and !params[:message_comment_id].is_a?(Integer)
75
77
  raise MissingParameterError.new("Parameter missing: message_comment_id") unless params[:message_comment_id]
76
78
 
@@ -244,6 +244,11 @@ module Files
244
244
  @attributes[:dav_user_root_enabled]
245
245
  end
246
246
 
247
+ # int64 - Number of days to keep disabled users before deleting them. If set to 0, disabled users will not be deleted.
248
+ def days_before_deleting_disabled_users
249
+ @attributes[:days_before_deleting_disabled_users]
250
+ end
251
+
247
252
  # int64 - Number of days to keep deleted files
248
253
  def days_to_retain_backups
249
254
  @attributes[:days_to_retain_backups]
@@ -916,6 +921,7 @@ module Files
916
921
  # allowed_countries - string - Comma separated list of allowed Country codes
917
922
  # allowed_ips - string - List of allowed IP addresses
918
923
  # disallowed_countries - string - Comma separated list of disallowed Country codes
924
+ # days_before_deleting_disabled_users - int64 - Number of days to keep disabled users before deleting them. If set to 0, disabled users will not be deleted.
919
925
  # days_to_retain_backups - int64 - Number of days to keep deleted files
920
926
  # max_prior_passwords - int64 - Number of prior passwords to disallow
921
927
  # password_validity_days - int64 - Number of days password is valid
@@ -1049,6 +1055,7 @@ module Files
1049
1055
  raise InvalidParameterError.new("Bad parameter: allowed_countries must be an String") if params[:allowed_countries] and !params[:allowed_countries].is_a?(String)
1050
1056
  raise InvalidParameterError.new("Bad parameter: allowed_ips must be an String") if params[:allowed_ips] and !params[:allowed_ips].is_a?(String)
1051
1057
  raise InvalidParameterError.new("Bad parameter: disallowed_countries must be an String") if params[:disallowed_countries] and !params[:disallowed_countries].is_a?(String)
1058
+ raise InvalidParameterError.new("Bad parameter: days_before_deleting_disabled_users must be an Integer") if params[:days_before_deleting_disabled_users] and !params[:days_before_deleting_disabled_users].is_a?(Integer)
1052
1059
  raise InvalidParameterError.new("Bad parameter: days_to_retain_backups must be an Integer") if params[:days_to_retain_backups] and !params[:days_to_retain_backups].is_a?(Integer)
1053
1060
  raise InvalidParameterError.new("Bad parameter: max_prior_passwords must be an Integer") if params[:max_prior_passwords] and !params[:max_prior_passwords].is_a?(Integer)
1054
1061
  raise InvalidParameterError.new("Bad parameter: password_validity_days must be an Integer") if params[:password_validity_days] and !params[:password_validity_days].is_a?(Integer)
@@ -253,9 +253,11 @@ module Files
253
253
  # Parameters:
254
254
  # 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.
255
255
  # per_page - int64 - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
256
+ # sort_by - object - If set, sort records by the specified field in either `asc` or `desc` direction. Valid fields are .
256
257
  def self.list(params = {}, options = {})
257
258
  raise InvalidParameterError.new("Bad parameter: cursor must be an String") if params[:cursor] and !params[:cursor].is_a?(String)
258
259
  raise InvalidParameterError.new("Bad parameter: per_page must be an Integer") if params[:per_page] and !params[:per_page].is_a?(Integer)
260
+ raise InvalidParameterError.new("Bad parameter: sort_by must be an Hash") if params[:sort_by] and !params[:sort_by].is_a?(Hash)
259
261
 
260
262
  List.new(SsoStrategy, params) do
261
263
  Api.send_request("/sso_strategies", :get, params, options)
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Files
4
- VERSION = "1.1.197"
4
+ VERSION = "1.1.199"
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.197
4
+ version: 1.1.199
5
5
  platform: ruby
6
6
  authors:
7
7
  - files.com
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-12-16 00:00:00.000000000 Z
11
+ date: 2024-12-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: addressable