files.com 1.1.740 → 1.1.742

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: 58f07bfe5e8d2be7cc7371fb18debc668f2ee92bcd65acf1d3146452e0b55d8c
4
- data.tar.gz: 9257ec5ee62df6fac09565466d2d69e712b23a4eefad33a7987829cc32468662
3
+ metadata.gz: 6eaea9b1945f0274b55cc2a9feb611f13f0b9917beca78dbea094a409944b1c6
4
+ data.tar.gz: 372f12afe52d8d73de1d7e3fa2742d4446b12d350e75328c8a4f06f57bce47fd
5
5
  SHA512:
6
- metadata.gz: cf67a88f9c55d56a97aae4f5f53ec65c161a86199fc8d2fd2e842bf594198877d5afcd6761dc8eaec89d0a7954797604bcbea2a4a5c4e89b9fcfb0fe81c0e85b
7
- data.tar.gz: c8b0a5262b1ec2e6fc5b79ceaa45361e5d440867b5b9efc06f1621a9d31c4ff2f2b434bbee61c169c6ef9b0a496d8d8ea52bcc4e3c86dd4f4626f077da4d38be
6
+ metadata.gz: 9cb706c708decb0b9e30a42f2142a97ac1134c584629611f52ddef70b345b33d79f1b998b382742787bb108b3a068589bd13c8adfba4a3eecf1991985bc5be6b
7
+ data.tar.gz: db7a56c07494eb6ea2ac2c98f5c66fcbdf747928d877aadc04b400f8f803c16a31d5c0770162d0ea05df41b893caef662beb27f1e208669072b38c872efb81cc
data/_VERSION CHANGED
@@ -1 +1 @@
1
- 1.1.740
1
+ 1.1.742
@@ -5,6 +5,7 @@
5
5
  ```
6
6
  {
7
7
  "id": 1,
8
+ "workspace_id": 1,
8
9
  "export_version": "20201213.2",
9
10
  "start_at": "2000-01-01T01:00:00Z",
10
11
  "end_at": "2000-01-01T01:00:00Z",
@@ -21,6 +22,7 @@
21
22
  ```
22
23
 
23
24
  * `id` (int64): History Export ID
25
+ * `workspace_id` (int64): Workspace whose logs are exported. Set to `0` for the default workspace. A null value means a site-wide export.
24
26
  * `export_version` (string): Version of the underlying records for the export.
25
27
  * `start_at` (date-time): Start date/time of export range.
26
28
  * `end_at` (date-time): End date/time of export range.
@@ -56,6 +58,7 @@ Files::ActionNotificationExport.find(id)
56
58
  ```
57
59
  Files::ActionNotificationExport.create(
58
60
  user_id: 1,
61
+ workspace_id: 1,
59
62
  start_at: "2000-01-01T01:00:00Z",
60
63
  end_at: "2000-01-01T01:00:00Z",
61
64
  query_message: "Connection Refused",
@@ -71,6 +74,7 @@ Files::ActionNotificationExport.create(
71
74
  ### Parameters
72
75
 
73
76
  * `user_id` (int64): User ID. Provide a value of `0` to operate the current session's user.
77
+ * `workspace_id` (int64): Workspace whose logs are exported. Set to `0` for the default workspace. A null value means a site-wide export.
74
78
  * `start_at` (string): Start date/time of export range.
75
79
  * `end_at` (string): End date/time of export range.
76
80
  * `query_message` (string): Error message associated with the request, if any.
data/docs/site.md CHANGED
@@ -557,7 +557,7 @@
557
557
  * `users_can_create_ssh_keys` (boolean): Allow users to create their own SSH keys?
558
558
  * `username_display` (string): How usernames are displayed in the web UI. Can be `username_only`, `full_name_only`, `full_name_username`, `full_name_company`, or `full_name_username_company`.
559
559
  * `welcome_custom_text` (string): Custom text send in user welcome email
560
- * `email_footer_custom_text` (string): Custom footer text for system-generated emails. Supports standard strftime date/time patterns like %Y (4-digit year), %m (month), %d (day).
560
+ * `email_footer_custom_text` (string): Custom footer text for system-generated emails (as Markdown). Supports standard strftime date/time patterns like %Y (4-digit year), %m (month), %d (day).
561
561
  * `welcome_email_cc` (email): Include this email in welcome emails if enabled
562
562
  * `welcome_email_subject` (string): Include this email subject in welcome emails if enabled
563
563
  * `welcome_email_enabled` (boolean): Will the welcome email be sent to new users?
@@ -918,7 +918,7 @@ Files::Site.update(
918
918
  * `site_public_footer` (string): Custom site footer text for public pages
919
919
  * `login_help_text` (string): Login help text
920
920
  * `use_dedicated_ips_for_smtp` (boolean): If using custom SMTP, should we use dedicated IPs to deliver emails?
921
- * `email_footer_custom_text` (string): Custom footer text for system-generated emails. Supports standard strftime date/time patterns like %Y (4-digit year), %m (month), %d (day).
921
+ * `email_footer_custom_text` (string): Custom footer text for system-generated emails (as Markdown). Supports standard strftime date/time patterns like %Y (4-digit year), %m (month), %d (day).
922
922
  * `smtp_address` (string): SMTP server hostname or IP
923
923
  * `smtp_authentication` (string): SMTP server authentication type
924
924
  * `smtp_from` (string): From address to use when mailing through custom SMTP
@@ -18,6 +18,15 @@ module Files
18
18
  @attributes[:id] = value
19
19
  end
20
20
 
21
+ # int64 - Workspace whose logs are exported. Set to `0` for the default workspace. A null value means a site-wide export.
22
+ def workspace_id
23
+ @attributes[:workspace_id]
24
+ end
25
+
26
+ def workspace_id=(value)
27
+ @attributes[:workspace_id] = value
28
+ end
29
+
21
30
  # string - Version of the underlying records for the export.
22
31
  def export_version
23
32
  @attributes[:export_version]
@@ -164,6 +173,7 @@ module Files
164
173
 
165
174
  # Parameters:
166
175
  # user_id - int64 - User ID. Provide a value of `0` to operate the current session's user.
176
+ # workspace_id - int64 - Workspace whose logs are exported. Set to `0` for the default workspace. A null value means a site-wide export.
167
177
  # start_at - string - Start date/time of export range.
168
178
  # end_at - string - End date/time of export range.
169
179
  # query_message - string - Error message associated with the request, if any.
@@ -175,6 +185,7 @@ module Files
175
185
  # query_folder - string - Return notifications that were triggered by actions in this folder.
176
186
  def self.create(params = {}, options = {})
177
187
  raise InvalidParameterError.new("Bad parameter: user_id must be an Integer") if params[:user_id] and !params[:user_id].is_a?(Integer)
188
+ raise InvalidParameterError.new("Bad parameter: workspace_id must be an Integer") if params[:workspace_id] and !params[:workspace_id].is_a?(Integer)
178
189
  raise InvalidParameterError.new("Bad parameter: start_at must be an String") if params[:start_at] and !params[:start_at].is_a?(String)
179
190
  raise InvalidParameterError.new("Bad parameter: end_at must be an String") if params[:end_at] and !params[:end_at].is_a?(String)
180
191
  raise InvalidParameterError.new("Bad parameter: query_message must be an String") if params[:query_message] and !params[:query_message].is_a?(String)
@@ -959,7 +959,7 @@ module Files
959
959
  @attributes[:welcome_custom_text]
960
960
  end
961
961
 
962
- # string - Custom footer text for system-generated emails. Supports standard strftime date/time patterns like %Y (4-digit year), %m (month), %d (day).
962
+ # string - Custom footer text for system-generated emails (as Markdown). Supports standard strftime date/time patterns like %Y (4-digit year), %m (month), %d (day).
963
963
  def email_footer_custom_text
964
964
  @attributes[:email_footer_custom_text]
965
965
  end
@@ -1146,7 +1146,7 @@ module Files
1146
1146
  # site_public_footer - string - Custom site footer text for public pages
1147
1147
  # login_help_text - string - Login help text
1148
1148
  # use_dedicated_ips_for_smtp - boolean - If using custom SMTP, should we use dedicated IPs to deliver emails?
1149
- # email_footer_custom_text - string - Custom footer text for system-generated emails. Supports standard strftime date/time patterns like %Y (4-digit year), %m (month), %d (day).
1149
+ # email_footer_custom_text - string - Custom footer text for system-generated emails (as Markdown). Supports standard strftime date/time patterns like %Y (4-digit year), %m (month), %d (day).
1150
1150
  # smtp_address - string - SMTP server hostname or IP
1151
1151
  # smtp_authentication - string - SMTP server authentication type
1152
1152
  # smtp_from - string - From address to use when mailing through custom SMTP
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Files
4
- VERSION = "1.1.740"
4
+ VERSION = "1.1.742"
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.740
4
+ version: 1.1.742
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-09-21 00:00:00.000000000 Z
11
+ date: 2026-09-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: addressable