files.com 1.1.329 → 1.1.331

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: 8c5b292783bcc67908147d98c3d6aa41848dc27e59ce139d3d95ea920794d0f7
4
- data.tar.gz: 4cc76cc55a69cbb53b60bcc12bc1641860045ade665c203e0998b453945bdb05
3
+ metadata.gz: 68d53421ad1a1f6e2463d8160072fbce783744c8b054d03d0a0765d584e88f07
4
+ data.tar.gz: 2bac6081f72a123c4fd6ae86ac3d564cbbaab89a4ec50a39e83b9cad29c43a56
5
5
  SHA512:
6
- metadata.gz: d1301b7baaa75fd0151ff1a9cfbbf9203c7b921f86829f527a7aab28d732ed380002c85861611b9d6696f49c9e6a8720bf98c71832b987ffcbb3bdfca0f3f934
7
- data.tar.gz: aea2127560c0294993c9dba359c0b6c972840a2ff73dbefaecccf105a8dda89ce1f23c8ea3be5565beea2ba47cacb63920aadb8be811b37704267cedd83b4354
6
+ metadata.gz: a9a6762a5239ad692124ad5776789b5e3158d13c59a1ef3c8ef147a08177f27e289389d5bd32a8881d9efe8d6bcff341f181c8f2b0721962c95c6511b62f294d
7
+ data.tar.gz: 9add9afbf40f263354ea7592db8cd05ba4555e4ce4d5aa5f184dfcdf8e63f93b3ba926f262d8d46615aaaba39be4a5800a9c008815327abfb247099f4cb5800f
data/_VERSION CHANGED
@@ -1 +1 @@
1
- 1.1.329
1
+ 1.1.331
data/docs/scim_log.md ADDED
@@ -0,0 +1,40 @@
1
+ # ScimLog
2
+
3
+ ## Example ScimLog Object
4
+
5
+ ```
6
+ {
7
+ "id": 1,
8
+ "created_at": "2023-01-01T12:00:00Z",
9
+ "request_path": "/api/scim/Users",
10
+ "request_method": "POST",
11
+ "http_response_code": "200",
12
+ "user_agent": "Okta",
13
+ "request_json": "example",
14
+ "response_json": "example"
15
+ }
16
+ ```
17
+
18
+ * `id` (int64): The unique ID of this SCIM request.
19
+ * `created_at` (string): The date and time when this SCIM request occurred.
20
+ * `request_path` (string): The path portion of the URL requested.
21
+ * `request_method` (string): The HTTP method used for this request.
22
+ * `http_response_code` (string): The HTTP response code returned for this request.
23
+ * `user_agent` (string): The User-Agent header sent with the request.
24
+ * `request_json` (string): The JSON payload sent with the request.
25
+ * `response_json` (string): The JSON payload returned in the response.
26
+
27
+
28
+ ---
29
+
30
+ ## List Scim Logs
31
+
32
+ ```
33
+ Files::ScimLog.list
34
+ ```
35
+
36
+ ### Parameters
37
+
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
+ * `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 `created_at`.
data/docs/site.md CHANGED
@@ -22,6 +22,7 @@
22
22
  "allowed_countries": "US,DE",
23
23
  "allowed_ips": "example",
24
24
  "always_mkdir_parents": true,
25
+ "as2_message_retention_days": 1,
25
26
  "ask_about_overwrites": true,
26
27
  "bundle_activity_notifications": "never",
27
28
  "bundle_expiration": 1,
@@ -321,6 +322,7 @@
321
322
  * `allowed_countries` (string): Comma separated list of allowed Country codes
322
323
  * `allowed_ips` (string): List of allowed IP addresses
323
324
  * `always_mkdir_parents` (boolean): Create parent directories if they do not exist during uploads? This is primarily used to work around broken upload clients that assume servers will perform this step.
325
+ * `as2_message_retention_days` (int64): Number of days to retain AS2 messages (incoming and outgoing).
324
326
  * `ask_about_overwrites` (boolean): If false, rename conflicting files instead of asking for overwrite confirmation. Only applies to web interface.
325
327
  * `bundle_activity_notifications` (string): Do Bundle owners receive activity notifications?
326
328
  * `bundle_expiration` (int64): Site-wide Bundle expiration in days
@@ -545,6 +547,7 @@ Files::Site.update(
545
547
  calculate_file_checksums_sha256: false,
546
548
  legacy_checksums_mode: false,
547
549
  migrate_remote_server_sync_to_sync: false,
550
+ as2_message_retention_days: 1,
548
551
  session_expiry: 1.0,
549
552
  ssl_required: false,
550
553
  sftp_insecure_ciphers: false,
@@ -705,6 +708,7 @@ Files::Site.update(
705
708
  * `calculate_file_checksums_sha256` (boolean): Calculate SHA256 checksums for files?
706
709
  * `legacy_checksums_mode` (boolean): Use legacy checksums mode?
707
710
  * `migrate_remote_server_sync_to_sync` (boolean): If true, we will migrate all remote server syncs to the new Sync model.
711
+ * `as2_message_retention_days` (int64): Number of days to retain AS2 messages (incoming and outgoing).
708
712
  * `session_expiry` (double): Session expiry in hours
709
713
  * `ssl_required` (boolean): Is SSL required? Disabling this is insecure.
710
714
  * `sftp_insecure_ciphers` (boolean): If true, we will allow weak and known insecure ciphers to be used for SFTP connections. Enabling this setting severely weakens the security of your site and it is not recommend, except as a last resort for compatibility.
@@ -0,0 +1,70 @@
1
+ # frozen_string_literal: true
2
+
3
+ module Files
4
+ class ScimLog
5
+ attr_reader :options, :attributes
6
+
7
+ def initialize(attributes = {}, options = {})
8
+ @attributes = attributes || {}
9
+ @options = options || {}
10
+ end
11
+
12
+ # int64 - The unique ID of this SCIM request.
13
+ def id
14
+ @attributes[:id]
15
+ end
16
+
17
+ # string - The date and time when this SCIM request occurred.
18
+ def created_at
19
+ @attributes[:created_at]
20
+ end
21
+
22
+ # string - The path portion of the URL requested.
23
+ def request_path
24
+ @attributes[:request_path]
25
+ end
26
+
27
+ # string - The HTTP method used for this request.
28
+ def request_method
29
+ @attributes[:request_method]
30
+ end
31
+
32
+ # string - The HTTP response code returned for this request.
33
+ def http_response_code
34
+ @attributes[:http_response_code]
35
+ end
36
+
37
+ # string - The User-Agent header sent with the request.
38
+ def user_agent
39
+ @attributes[:user_agent]
40
+ end
41
+
42
+ # string - The JSON payload sent with the request.
43
+ def request_json
44
+ @attributes[:request_json]
45
+ end
46
+
47
+ # string - The JSON payload returned in the response.
48
+ def response_json
49
+ @attributes[:response_json]
50
+ end
51
+
52
+ # Parameters:
53
+ # 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.
54
+ # per_page - int64 - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
55
+ # sort_by - object - If set, sort records by the specified field in either `asc` or `desc` direction. Valid fields are `created_at`.
56
+ def self.list(params = {}, options = {})
57
+ raise InvalidParameterError.new("Bad parameter: cursor must be an String") if params[:cursor] and !params[:cursor].is_a?(String)
58
+ raise InvalidParameterError.new("Bad parameter: per_page must be an Integer") if params[:per_page] and !params[:per_page].is_a?(Integer)
59
+ raise InvalidParameterError.new("Bad parameter: sort_by must be an Hash") if params[:sort_by] and !params[:sort_by].is_a?(Hash)
60
+
61
+ List.new(ScimLog, params) do
62
+ Api.send_request("/scim_logs", :get, params, options)
63
+ end
64
+ end
65
+
66
+ def self.all(params = {}, options = {})
67
+ list(params, options)
68
+ end
69
+ end
70
+ end
@@ -89,6 +89,11 @@ module Files
89
89
  @attributes[:always_mkdir_parents]
90
90
  end
91
91
 
92
+ # int64 - Number of days to retain AS2 messages (incoming and outgoing).
93
+ def as2_message_retention_days
94
+ @attributes[:as2_message_retention_days]
95
+ end
96
+
92
97
  # boolean - If false, rename conflicting files instead of asking for overwrite confirmation. Only applies to web interface.
93
98
  def ask_about_overwrites
94
99
  @attributes[:ask_about_overwrites]
@@ -923,6 +928,7 @@ module Files
923
928
  # calculate_file_checksums_sha256 - boolean - Calculate SHA256 checksums for files?
924
929
  # legacy_checksums_mode - boolean - Use legacy checksums mode?
925
930
  # migrate_remote_server_sync_to_sync - boolean - If true, we will migrate all remote server syncs to the new Sync model.
931
+ # as2_message_retention_days - int64 - Number of days to retain AS2 messages (incoming and outgoing).
926
932
  # session_expiry - double - Session expiry in hours
927
933
  # ssl_required - boolean - Is SSL required? Disabling this is insecure.
928
934
  # sftp_insecure_ciphers - boolean - If true, we will allow weak and known insecure ciphers to be used for SFTP connections. Enabling this setting severely weakens the security of your site and it is not recommend, except as a last resort for compatibility.
@@ -1065,6 +1071,7 @@ module Files
1065
1071
  raise InvalidParameterError.new("Bad parameter: motd_text must be an String") if params[:motd_text] and !params[:motd_text].is_a?(String)
1066
1072
  raise InvalidParameterError.new("Bad parameter: left_navigation_visibility must be an Hash") if params[:left_navigation_visibility] and !params[:left_navigation_visibility].is_a?(Hash)
1067
1073
  raise InvalidParameterError.new("Bad parameter: additional_text_file_types must be an Array") if params[:additional_text_file_types] and !params[:additional_text_file_types].is_a?(Array)
1074
+ raise InvalidParameterError.new("Bad parameter: as2_message_retention_days must be an Integer") if params[:as2_message_retention_days] and !params[:as2_message_retention_days].is_a?(Integer)
1068
1075
  raise InvalidParameterError.new("Bad parameter: session_expiry must be an Float") if params[:session_expiry] and !params[:session_expiry].is_a?(Float)
1069
1076
  raise InvalidParameterError.new("Bad parameter: user_lockout_tries must be an Integer") if params[:user_lockout_tries] and !params[:user_lockout_tries].is_a?(Integer)
1070
1077
  raise InvalidParameterError.new("Bad parameter: user_lockout_within must be an Integer") if params[:user_lockout_within] and !params[:user_lockout_within].is_a?(Integer)
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Files
4
- VERSION = "1.1.329"
4
+ VERSION = "1.1.331"
5
5
  end
data/lib/files.com.rb CHANGED
@@ -111,6 +111,7 @@ require "files.com/models/remote_server"
111
111
  require "files.com/models/remote_server_configuration_file"
112
112
  require "files.com/models/request"
113
113
  require "files.com/models/restore"
114
+ require "files.com/models/scim_log"
114
115
  require "files.com/models/session"
115
116
  require "files.com/models/settings_change"
116
117
  require "files.com/models/sftp_action_log"
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.329
4
+ version: 1.1.331
5
5
  platform: ruby
6
6
  authors:
7
7
  - files.com
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2025-09-29 00:00:00.000000000 Z
11
+ date: 2025-10-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: addressable
@@ -236,6 +236,7 @@ files:
236
236
  - docs/remote_server_configuration_file.md
237
237
  - docs/request.md
238
238
  - docs/restore.md
239
+ - docs/scim_log.md
239
240
  - docs/session.md
240
241
  - docs/settings_change.md
241
242
  - docs/sftp_action_log.md
@@ -348,6 +349,7 @@ files:
348
349
  - lib/files.com/models/remote_server_configuration_file.rb
349
350
  - lib/files.com/models/request.rb
350
351
  - lib/files.com/models/restore.rb
352
+ - lib/files.com/models/scim_log.rb
351
353
  - lib/files.com/models/session.rb
352
354
  - lib/files.com/models/settings_change.rb
353
355
  - lib/files.com/models/sftp_action_log.rb