files.com 1.1.718 → 1.1.720

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: 26440a1745afdb3b105e177175018054c6e19617630f118284df32363e8629cc
4
- data.tar.gz: fa97f8cd9fa3dd61ac03018125e6694db4fce185080a635cb689272df3c4b564
3
+ metadata.gz: 659a4926d060630ccc6dcc28a15865736be46a54993949ddf58291f653d86f6c
4
+ data.tar.gz: e395535775d6c1ac62485a228d7b1d1a809a105ced6a8a0b47d2d8b13f92a5d2
5
5
  SHA512:
6
- metadata.gz: 672fcc247987c5fffc758d6459c96b8e9c27c0813d9bf6ad3e1730ddd249008fe451389db396d5d5a195e692c3c698fb134f665e3cb3f856015882dfb3104823
7
- data.tar.gz: 0f1cf361030c0c2d994ff9921dd4eb0ea732df9aed6a9ddd5a3486a9e8a21bcc618c873682edb3fb72296470f614096766cb050a62826c046c4e09b913108b4a
6
+ metadata.gz: 07d039a3cb2b2b80be24f9fc3b2250fa5dde754bff1e28a9f5ab256efca8611e996c4f8086e2181e24082a4b14125a7696bcee7db5153c3c228e024a1b14db04
7
+ data.tar.gz: 5052b9341584908648f4c79251ce37f9adb54d31e9cf6a17982b993e3eae5bdd5443b1fbf213c5b4004f806517c3284f27d13dd419413b4740712c003e99d01b
data/_VERSION CHANGED
@@ -1 +1 @@
1
- 1.1.718
1
+ 1.1.720
@@ -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.
@@ -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.
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Files
4
- VERSION = "1.1.718"
4
+ VERSION = "1.1.720"
5
5
  end
data/lib/files.com.rb CHANGED
@@ -116,10 +116,6 @@ require "files.com/models/invoice_line_item"
116
116
  require "files.com/models/ip_address"
117
117
  require "files.com/models/key_lifecycle_rule"
118
118
  require "files.com/models/lock"
119
- require "files.com/models/message"
120
- require "files.com/models/message_comment"
121
- require "files.com/models/message_comment_reaction"
122
- require "files.com/models/message_reaction"
123
119
  require "files.com/models/metadata_category"
124
120
  require "files.com/models/notification"
125
121
  require "files.com/models/outbound_connection_log"
@@ -133,7 +129,6 @@ require "files.com/models/payment_line_item"
133
129
  require "files.com/models/pending_work_event"
134
130
  require "files.com/models/permission"
135
131
  require "files.com/models/preview"
136
- require "files.com/models/project"
137
132
  require "files.com/models/public_hosting_request_log"
138
133
  require "files.com/models/public_ip_address"
139
134
  require "files.com/models/public_key"
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.718
4
+ version: 1.1.720
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-07 00:00:00.000000000 Z
11
+ date: 2026-09-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: addressable
@@ -255,10 +255,6 @@ files:
255
255
  - docs/ip_address.md
256
256
  - docs/key_lifecycle_rule.md
257
257
  - docs/lock.md
258
- - docs/message.md
259
- - docs/message_comment.md
260
- - docs/message_comment_reaction.md
261
- - docs/message_reaction.md
262
258
  - docs/metadata_category.md
263
259
  - docs/notification.md
264
260
  - docs/outbound_connection_log.md
@@ -272,7 +268,6 @@ files:
272
268
  - docs/pending_work_event.md
273
269
  - docs/permission.md
274
270
  - docs/preview.md
275
- - docs/project.md
276
271
  - docs/public_hosting_request_log.md
277
272
  - docs/public_ip_address.md
278
273
  - docs/public_key.md
@@ -412,10 +407,6 @@ files:
412
407
  - lib/files.com/models/ip_address.rb
413
408
  - lib/files.com/models/key_lifecycle_rule.rb
414
409
  - lib/files.com/models/lock.rb
415
- - lib/files.com/models/message.rb
416
- - lib/files.com/models/message_comment.rb
417
- - lib/files.com/models/message_comment_reaction.rb
418
- - lib/files.com/models/message_reaction.rb
419
410
  - lib/files.com/models/metadata_category.rb
420
411
  - lib/files.com/models/notification.rb
421
412
  - lib/files.com/models/outbound_connection_log.rb
@@ -429,7 +420,6 @@ files:
429
420
  - lib/files.com/models/pending_work_event.rb
430
421
  - lib/files.com/models/permission.rb
431
422
  - lib/files.com/models/preview.rb
432
- - lib/files.com/models/project.rb
433
423
  - lib/files.com/models/public_hosting_request_log.rb
434
424
  - lib/files.com/models/public_ip_address.rb
435
425
  - lib/files.com/models/public_key.rb
data/docs/message.md DELETED
@@ -1,153 +0,0 @@
1
- # Message
2
-
3
- ## Example Message Object
4
-
5
- ```
6
- {
7
- "id": 1,
8
- "subject": "Files.com Account Upgrade",
9
- "body": "We should upgrade our Files.com account!",
10
- "comments": [
11
- {
12
- "id": 1,
13
- "body": "What a great idea, thank you!",
14
- "reactions": [
15
- {
16
- "id": 1,
17
- "emoji": "👍"
18
- }
19
- ]
20
- }
21
- ]
22
- }
23
- ```
24
-
25
- * `id` (int64): Message ID
26
- * `subject` (string): Message subject.
27
- * `body` (string): Message body.
28
- * `comments` (array(object)): Comments.
29
- * `user_id` (int64): User ID. Provide a value of `0` to operate the current session's user.
30
- * `project_id` (int64): Project to which the message should be attached.
31
-
32
-
33
- ---
34
-
35
- ## List Messages
36
-
37
- ```
38
- Files::Message.list(
39
- user_id: 1,
40
- project_id: 1
41
- )
42
- ```
43
-
44
- ### Parameters
45
-
46
- * `user_id` (int64): User ID. Provide a value of `0` to operate the current session's user.
47
- * `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.
48
- * `per_page` (int64): Number of records to show per page. (Max: 10000, 1,000 or less is recommended).
49
- * `project_id` (int64): Required - Project for which to return messages.
50
-
51
-
52
- ---
53
-
54
- ## Show Message
55
-
56
- ```
57
- Files::Message.find(id)
58
- ```
59
-
60
- ### Parameters
61
-
62
- * `id` (int64): Required - Message ID.
63
-
64
-
65
- ---
66
-
67
- ## Create Message
68
-
69
- ```
70
- Files::Message.create(
71
- user_id: 1,
72
- project_id: 1,
73
- subject: "Files.com Account Upgrade",
74
- body: "We should upgrade our Files.com account!"
75
- )
76
- ```
77
-
78
- ### Parameters
79
-
80
- * `user_id` (int64): User ID. Provide a value of `0` to operate the current session's user.
81
- * `project_id` (int64): Required - Project to which the message should be attached.
82
- * `subject` (string): Required - Message subject.
83
- * `body` (string): Required - Message body.
84
-
85
-
86
- ---
87
-
88
- ## Update Message
89
-
90
- ```
91
- Files::Message.update(id,
92
- project_id: 1,
93
- subject: "Files.com Account Upgrade",
94
- body: "We should upgrade our Files.com account!"
95
- )
96
- ```
97
-
98
- ### Parameters
99
-
100
- * `id` (int64): Required - Message ID.
101
- * `project_id` (int64): Required - Project to which the message should be attached.
102
- * `subject` (string): Required - Message subject.
103
- * `body` (string): Required - Message body.
104
-
105
-
106
- ---
107
-
108
- ## Delete Message
109
-
110
- ```
111
- Files::Message.delete(id)
112
- ```
113
-
114
- ### Parameters
115
-
116
- * `id` (int64): Required - Message ID.
117
-
118
-
119
- ---
120
-
121
- ## Update Message
122
-
123
- ```
124
- message = Files::Message.find(id)
125
-
126
- message.update(
127
- project_id: 1,
128
- subject: "Files.com Account Upgrade",
129
- body: "We should upgrade our Files.com account!"
130
- )
131
- ```
132
-
133
- ### Parameters
134
-
135
- * `id` (int64): Required - Message ID.
136
- * `project_id` (int64): Required - Project to which the message should be attached.
137
- * `subject` (string): Required - Message subject.
138
- * `body` (string): Required - Message body.
139
-
140
-
141
- ---
142
-
143
- ## Delete Message
144
-
145
- ```
146
- message = Files::Message.find(id)
147
-
148
- message.delete
149
- ```
150
-
151
- ### Parameters
152
-
153
- * `id` (int64): Required - Message ID.
@@ -1,133 +0,0 @@
1
- # MessageComment
2
-
3
- ## Example MessageComment Object
4
-
5
- ```
6
- {
7
- "id": 1,
8
- "body": "What a great idea, thank you!",
9
- "reactions": [
10
- {
11
- "id": 1,
12
- "emoji": "👍"
13
- }
14
- ]
15
- }
16
- ```
17
-
18
- * `id` (int64): Message Comment ID
19
- * `body` (string): Comment body.
20
- * `reactions` (array(object)): Reactions to this comment.
21
- * `user_id` (int64): User ID. Provide a value of `0` to operate the current session's user.
22
-
23
-
24
- ---
25
-
26
- ## List Message Comments
27
-
28
- ```
29
- Files::MessageComment.list(
30
- user_id: 1,
31
- message_id: 1
32
- )
33
- ```
34
-
35
- ### Parameters
36
-
37
- * `user_id` (int64): User ID. Provide a value of `0` to operate the current session's user.
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: 10000, 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 .
41
- * `message_id` (int64): Required - Message comment to return comments for.
42
-
43
-
44
- ---
45
-
46
- ## Show Message Comment
47
-
48
- ```
49
- Files::MessageComment.find(id)
50
- ```
51
-
52
- ### Parameters
53
-
54
- * `id` (int64): Required - Message Comment ID.
55
-
56
-
57
- ---
58
-
59
- ## Create Message Comment
60
-
61
- ```
62
- Files::MessageComment.create(
63
- user_id: 1,
64
- body: "What a great idea, thank you!"
65
- )
66
- ```
67
-
68
- ### Parameters
69
-
70
- * `user_id` (int64): User ID. Provide a value of `0` to operate the current session's user.
71
- * `body` (string): Required - Comment body.
72
-
73
-
74
- ---
75
-
76
- ## Update Message Comment
77
-
78
- ```
79
- Files::MessageComment.update(id,
80
- body: "What a great idea, thank you!"
81
- )
82
- ```
83
-
84
- ### Parameters
85
-
86
- * `id` (int64): Required - Message Comment ID.
87
- * `body` (string): Required - Comment body.
88
-
89
-
90
- ---
91
-
92
- ## Delete Message Comment
93
-
94
- ```
95
- Files::MessageComment.delete(id)
96
- ```
97
-
98
- ### Parameters
99
-
100
- * `id` (int64): Required - Message Comment ID.
101
-
102
-
103
- ---
104
-
105
- ## Update Message Comment
106
-
107
- ```
108
- message_comment = Files::MessageComment.find(id)
109
-
110
- message_comment.update(
111
- body: "What a great idea, thank you!"
112
- )
113
- ```
114
-
115
- ### Parameters
116
-
117
- * `id` (int64): Required - Message Comment ID.
118
- * `body` (string): Required - Comment body.
119
-
120
-
121
- ---
122
-
123
- ## Delete Message Comment
124
-
125
- ```
126
- message_comment = Files::MessageComment.find(id)
127
-
128
- message_comment.delete
129
- ```
130
-
131
- ### Parameters
132
-
133
- * `id` (int64): Required - Message Comment ID.
@@ -1,92 +0,0 @@
1
- # MessageCommentReaction
2
-
3
- ## Example MessageCommentReaction Object
4
-
5
- ```
6
- {
7
- "id": 1,
8
- "emoji": "👍"
9
- }
10
- ```
11
-
12
- * `id` (int64): Reaction ID
13
- * `emoji` (string): Emoji used in the reaction.
14
- * `user_id` (int64): User ID. Provide a value of `0` to operate the current session's user.
15
-
16
-
17
- ---
18
-
19
- ## List Message Comment Reactions
20
-
21
- ```
22
- Files::MessageCommentReaction.list(
23
- user_id: 1,
24
- message_comment_id: 1
25
- )
26
- ```
27
-
28
- ### Parameters
29
-
30
- * `user_id` (int64): User ID. Provide a value of `0` to operate the current session's user.
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
- * `per_page` (int64): Number of records to show per page. (Max: 10000, 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 .
34
- * `message_comment_id` (int64): Required - Message comment to return reactions for.
35
-
36
-
37
- ---
38
-
39
- ## Show Message Comment Reaction
40
-
41
- ```
42
- Files::MessageCommentReaction.find(id)
43
- ```
44
-
45
- ### Parameters
46
-
47
- * `id` (int64): Required - Message Comment Reaction ID.
48
-
49
-
50
- ---
51
-
52
- ## Create Message Comment Reaction
53
-
54
- ```
55
- Files::MessageCommentReaction.create(
56
- user_id: 1,
57
- emoji: "emoji"
58
- )
59
- ```
60
-
61
- ### Parameters
62
-
63
- * `user_id` (int64): User ID. Provide a value of `0` to operate the current session's user.
64
- * `emoji` (string): Required - Emoji to react with.
65
-
66
-
67
- ---
68
-
69
- ## Delete Message Comment Reaction
70
-
71
- ```
72
- Files::MessageCommentReaction.delete(id)
73
- ```
74
-
75
- ### Parameters
76
-
77
- * `id` (int64): Required - Message Comment Reaction ID.
78
-
79
-
80
- ---
81
-
82
- ## Delete Message Comment Reaction
83
-
84
- ```
85
- message_comment_reaction = Files::MessageCommentReaction.find(id)
86
-
87
- message_comment_reaction.delete
88
- ```
89
-
90
- ### Parameters
91
-
92
- * `id` (int64): Required - Message Comment Reaction ID.
@@ -1,91 +0,0 @@
1
- # MessageReaction
2
-
3
- ## Example MessageReaction Object
4
-
5
- ```
6
- {
7
- "id": 1,
8
- "emoji": "👍"
9
- }
10
- ```
11
-
12
- * `id` (int64): Reaction ID
13
- * `emoji` (string): Emoji used in the reaction.
14
- * `user_id` (int64): User ID. Provide a value of `0` to operate the current session's user.
15
-
16
-
17
- ---
18
-
19
- ## List Message Reactions
20
-
21
- ```
22
- Files::MessageReaction.list(
23
- user_id: 1,
24
- message_id: 1
25
- )
26
- ```
27
-
28
- ### Parameters
29
-
30
- * `user_id` (int64): User ID. Provide a value of `0` to operate the current session's user.
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
- * `per_page` (int64): Number of records to show per page. (Max: 10000, 1,000 or less is recommended).
33
- * `message_id` (int64): Required - Message to return reactions for.
34
-
35
-
36
- ---
37
-
38
- ## Show Message Reaction
39
-
40
- ```
41
- Files::MessageReaction.find(id)
42
- ```
43
-
44
- ### Parameters
45
-
46
- * `id` (int64): Required - Message Reaction ID.
47
-
48
-
49
- ---
50
-
51
- ## Create Message Reaction
52
-
53
- ```
54
- Files::MessageReaction.create(
55
- user_id: 1,
56
- emoji: "emoji"
57
- )
58
- ```
59
-
60
- ### Parameters
61
-
62
- * `user_id` (int64): User ID. Provide a value of `0` to operate the current session's user.
63
- * `emoji` (string): Required - Emoji to react with.
64
-
65
-
66
- ---
67
-
68
- ## Delete Message Reaction
69
-
70
- ```
71
- Files::MessageReaction.delete(id)
72
- ```
73
-
74
- ### Parameters
75
-
76
- * `id` (int64): Required - Message Reaction ID.
77
-
78
-
79
- ---
80
-
81
- ## Delete Message Reaction
82
-
83
- ```
84
- message_reaction = Files::MessageReaction.find(id)
85
-
86
- message_reaction.delete
87
- ```
88
-
89
- ### Parameters
90
-
91
- * `id` (int64): Required - Message Reaction ID.