files.com 1.1.717 → 1.1.719

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: e37c3544323a72647c37e95fe9e35bbe6ccfe6a3f6332488de57166bbdfff33a
4
- data.tar.gz: 65a935ff85893faa2b8fee83b5659cdb87329da867aae793177ab3157ab07209
3
+ metadata.gz: b125729244bd0e2c6ff02e18bc2e3b14fb56d1faaab5c4bd8697922f245575b1
4
+ data.tar.gz: c00dcfe74e6cc1db0fa37e508c70aba30ec0250112132154ae9ead1cba73c010
5
5
  SHA512:
6
- metadata.gz: '0900d72a977aebe60d6e6815e7323ca736f72b9bc328c215d7789e78a924ed2b7cfd861aac55bd78db40bb4d3e5d8e312133eec0901272b0de2d5e6c35e35285'
7
- data.tar.gz: e6b6f1ba8035701a1e15dcb7df88a7db3d16a81a04f53e11b9d423bb4aa50cda402a4b85bca884bbb0b800126231a76fa4d86e9d7c0d138598cf4b08d186599f
6
+ metadata.gz: 6ced8d95d198ddd68f3cf33f5dbb6d353e420c97ed5fc30880bb08ec6c2f02207687fda6baffd7d8e11273ea9d75c577a0644c43d2a9f05cd37adb8a46c53adb
7
+ data.tar.gz: 3db3110f149cb4d855df4862ab90cd25a2eb7ecb207988d2bba50c5520329b8331207f83f33666d40696e674831561d94041d94218caf317d027704e194c3a08
data/_VERSION CHANGED
@@ -1 +1 @@
1
- 1.1.717
1
+ 1.1.719
@@ -11,6 +11,7 @@
11
11
  "name": "example",
12
12
  "subject": "example",
13
13
  "message": "example",
14
+ "message_only": true,
14
15
  "enabled": true,
15
16
  "event_types": [
16
17
  "example"
@@ -32,6 +33,7 @@
32
33
  * `name` (string): Event Subscription name.
33
34
  * `subject` (string): Custom subject line to use for notification emails.
34
35
  * `message` (string): Custom message to include in notification emails.
36
+ * `message_only` (boolean): If true, notification email bodies contain only the custom message, omitting event details and the review button. Requires a custom message, defaults to false, and does not affect non-email targets.
35
37
  * `enabled` (boolean): Whether this Event Subscription can dispatch events.
36
38
  * `event_types` (array(string)): Event type strings matched by this subscription. Blank means all event types.
37
39
  * `filter` (object): Structured event payload filter.
@@ -82,6 +84,7 @@ Files::EventSubscription.create(
82
84
  name: "example",
83
85
  subject: "example",
84
86
  message: "example",
87
+ message_only: true,
85
88
  enabled: true,
86
89
  event_types: ["example"],
87
90
  delivery_policy: "example",
@@ -97,6 +100,7 @@ Files::EventSubscription.create(
97
100
  * `name` (string): Required - Event Subscription name.
98
101
  * `subject` (string): Custom subject line to use for notification emails.
99
102
  * `message` (string): Custom message to include in notification emails.
103
+ * `message_only` (boolean): If true, notification email bodies contain only the custom message, omitting event details and the review button. Requires a custom message, defaults to false, and does not affect non-email targets.
100
104
  * `enabled` (boolean): Whether this Event Subscription can dispatch events.
101
105
  * `event_types` (array(string)): Event type strings matched by this subscription. Blank means all event types.
102
106
  * `filter` (object): Structured event payload filter.
@@ -116,6 +120,7 @@ Files::EventSubscription.update(id,
116
120
  name: "example",
117
121
  subject: "example",
118
122
  message: "example",
123
+ message_only: true,
119
124
  enabled: true,
120
125
  event_types: ["example"],
121
126
  delivery_policy: "example",
@@ -132,6 +137,7 @@ Files::EventSubscription.update(id,
132
137
  * `name` (string): Event Subscription name.
133
138
  * `subject` (string): Custom subject line to use for notification emails.
134
139
  * `message` (string): Custom message to include in notification emails.
140
+ * `message_only` (boolean): If true, notification email bodies contain only the custom message, omitting event details and the review button. Requires a custom message, defaults to false, and does not affect non-email targets.
135
141
  * `enabled` (boolean): Whether this Event Subscription can dispatch events.
136
142
  * `event_types` (array(string)): Event type strings matched by this subscription. Blank means all event types.
137
143
  * `filter` (object): Structured event payload filter.
@@ -166,6 +172,7 @@ event_subscription.update(
166
172
  name: "example",
167
173
  subject: "example",
168
174
  message: "example",
175
+ message_only: true,
169
176
  enabled: true,
170
177
  event_types: ["example"],
171
178
  delivery_policy: "example",
@@ -182,6 +189,7 @@ event_subscription.update(
182
189
  * `name` (string): Event Subscription name.
183
190
  * `subject` (string): Custom subject line to use for notification emails.
184
191
  * `message` (string): Custom message to include in notification emails.
192
+ * `message_only` (boolean): If true, notification email bodies contain only the custom message, omitting event details and the review button. Requires a custom message, defaults to false, and does not affect non-email targets.
185
193
  * `enabled` (boolean): Whether this Event Subscription can dispatch events.
186
194
  * `event_types` (array(string)): Event type strings matched by this subscription. Blank means all event types.
187
195
  * `filter` (object): Structured event payload filter.
data/docs/user.md CHANGED
@@ -196,7 +196,7 @@
196
196
  * `password_confirmation` (string): Optional, but if provided, we will ensure that it matches the value sent in `password`.
197
197
  * `announcements_read` (boolean): Signifies that the user has read all the announcements in the UI.
198
198
  * `clear_2fa` (boolean): If true when changing authentication_method from `password` to `sso`, remove all two-factor methods. Ignored in all other cases.
199
- * `convert_to_partner_user` (boolean): If true, convert this user to a partner user by assigning the partner_id provided.
199
+ * `convert_to_partner_user` (boolean): Required when assigning a Partner to an existing non-Partner user. If true, convert the user by assigning the partner_id provided.
200
200
 
201
201
 
202
202
  ---
@@ -563,7 +563,7 @@ Files::User.update(id,
563
563
  * `username` (string): User's username
564
564
  * `workspace_id` (int64): Workspace ID
565
565
  * `clear_2fa` (boolean): If true when changing authentication_method from `password` to `sso`, remove all two-factor methods. Ignored in all other cases.
566
- * `convert_to_partner_user` (boolean): If true, convert this user to a partner user by assigning the partner_id provided.
566
+ * `convert_to_partner_user` (boolean): Required when assigning a Partner to an existing non-Partner user. If true, convert the user by assigning the partner_id provided.
567
567
 
568
568
 
569
569
  ---
@@ -773,7 +773,7 @@ user.update(
773
773
  * `username` (string): User's username
774
774
  * `workspace_id` (int64): Workspace ID
775
775
  * `clear_2fa` (boolean): If true when changing authentication_method from `password` to `sso`, remove all two-factor methods. Ignored in all other cases.
776
- * `convert_to_partner_user` (boolean): If true, convert this user to a partner user by assigning the partner_id provided.
776
+ * `convert_to_partner_user` (boolean): Required when assigning a Partner to an existing non-Partner user. If true, convert the user by assigning the partner_id provided.
777
777
 
778
778
 
779
779
  ---
@@ -72,6 +72,15 @@ module Files
72
72
  @attributes[:message] = value
73
73
  end
74
74
 
75
+ # boolean - If true, notification email bodies contain only the custom message, omitting event details and the review button. Requires a custom message, defaults to false, and does not affect non-email targets.
76
+ def message_only
77
+ @attributes[:message_only]
78
+ end
79
+
80
+ def message_only=(value)
81
+ @attributes[:message_only] = value
82
+ end
83
+
75
84
  # boolean - Whether this Event Subscription can dispatch events.
76
85
  def enabled
77
86
  @attributes[:enabled]
@@ -134,6 +143,7 @@ module Files
134
143
  # name - string - Event Subscription name.
135
144
  # subject - string - Custom subject line to use for notification emails.
136
145
  # message - string - Custom message to include in notification emails.
146
+ # message_only - boolean - If true, notification email bodies contain only the custom message, omitting event details and the review button. Requires a custom message, defaults to false, and does not affect non-email targets.
137
147
  # enabled - boolean - Whether this Event Subscription can dispatch events.
138
148
  # event_types - array(string) - Event type strings matched by this subscription. Blank means all event types.
139
149
  # filter - object - Structured event payload filter.
@@ -225,6 +235,7 @@ module Files
225
235
  # name (required) - string - Event Subscription name.
226
236
  # subject - string - Custom subject line to use for notification emails.
227
237
  # message - string - Custom message to include in notification emails.
238
+ # message_only - boolean - If true, notification email bodies contain only the custom message, omitting event details and the review button. Requires a custom message, defaults to false, and does not affect non-email targets.
228
239
  # enabled - boolean - Whether this Event Subscription can dispatch events.
229
240
  # event_types - array(string) - Event type strings matched by this subscription. Blank means all event types.
230
241
  # filter - object - Structured event payload filter.
@@ -253,6 +264,7 @@ module Files
253
264
  # name - string - Event Subscription name.
254
265
  # subject - string - Custom subject line to use for notification emails.
255
266
  # message - string - Custom message to include in notification emails.
267
+ # message_only - boolean - If true, notification email bodies contain only the custom message, omitting event details and the review button. Requires a custom message, defaults to false, and does not affect non-email targets.
256
268
  # enabled - boolean - Whether this Event Subscription can dispatch events.
257
269
  # event_types - array(string) - Event type strings matched by this subscription. Blank means all event types.
258
270
  # filter - object - Structured event payload filter.
@@ -896,7 +896,7 @@ module Files
896
896
  @attributes[:clear_2fa] = value
897
897
  end
898
898
 
899
- # boolean - If true, convert this user to a partner user by assigning the partner_id provided.
899
+ # boolean - Required when assigning a Partner to an existing non-Partner user. If true, convert the user by assigning the partner_id provided.
900
900
  def convert_to_partner_user
901
901
  @attributes[:convert_to_partner_user]
902
902
  end
@@ -1008,7 +1008,7 @@ module Files
1008
1008
  # username - string - User's username
1009
1009
  # workspace_id - int64 - Workspace ID
1010
1010
  # clear_2fa - boolean - If true when changing authentication_method from `password` to `sso`, remove all two-factor methods. Ignored in all other cases.
1011
- # convert_to_partner_user - boolean - If true, convert this user to a partner user by assigning the partner_id provided.
1011
+ # convert_to_partner_user - boolean - Required when assigning a Partner to an existing non-Partner user. If true, convert the user by assigning the partner_id provided.
1012
1012
  def update(params = {})
1013
1013
  params ||= {}
1014
1014
  params[:id] = @attributes[:id]
@@ -1354,7 +1354,7 @@ module Files
1354
1354
  # username - string - User's username
1355
1355
  # workspace_id - int64 - Workspace ID
1356
1356
  # clear_2fa - boolean - If true when changing authentication_method from `password` to `sso`, remove all two-factor methods. Ignored in all other cases.
1357
- # convert_to_partner_user - boolean - If true, convert this user to a partner user by assigning the partner_id provided.
1357
+ # convert_to_partner_user - boolean - Required when assigning a Partner to an existing non-Partner user. If true, convert the user by assigning the partner_id provided.
1358
1358
  def self.update(id, params = {}, options = {})
1359
1359
  params ||= {}
1360
1360
  params[:id] = id
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Files
4
- VERSION = "1.1.717"
4
+ VERSION = "1.1.719"
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.717
4
+ version: 1.1.719
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-04 00:00:00.000000000 Z
11
+ date: 2026-09-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: addressable