files.com 1.1.719 → 1.1.721

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: b125729244bd0e2c6ff02e18bc2e3b14fb56d1faaab5c4bd8697922f245575b1
4
- data.tar.gz: c00dcfe74e6cc1db0fa37e508c70aba30ec0250112132154ae9ead1cba73c010
3
+ metadata.gz: 0abf8f373e951f20194ea7dbc5fc7dfef3e4202b40f2b82a18c8a4be7c66407d
4
+ data.tar.gz: cc2cf4a0063d45684abd52d993e9bf7ed25deefc4c2abe29d7d1708876f38715
5
5
  SHA512:
6
- metadata.gz: 6ced8d95d198ddd68f3cf33f5dbb6d353e420c97ed5fc30880bb08ec6c2f02207687fda6baffd7d8e11273ea9d75c577a0644c43d2a9f05cd37adb8a46c53adb
7
- data.tar.gz: 3db3110f149cb4d855df4862ab90cd25a2eb7ecb207988d2bba50c5520329b8331207f83f33666d40696e674831561d94041d94218caf317d027704e194c3a08
6
+ metadata.gz: 84f662ac4f8fab2ffc9e3cd7e0d65bbec967dd7b7881d7d1820073cde464d34f30a0df34a3b9cd7b01640d942e8fcef8b3933ac4ff9f2fcadff4e29fd6e96bee
7
+ data.tar.gz: 766aab74724890db8628801614027151244aa5e755d440b63b857a8264aa8b0f9879c4180dfcd63e3c712687f57a017d3a2591d9f88f3af62cb7778aaa2d3c98
data/_VERSION CHANGED
@@ -1 +1 @@
1
- 1.1.719
1
+ 1.1.721
@@ -30,7 +30,7 @@
30
30
  * `api_usage_available` (boolean): True if the API usage fields `read_api_usage` and `write_api_usage` can be relied upon. If this is false, we suggest hiding that value from any UI.
31
31
  * `read_api_usage` (int64): Read API Calls used on this day. Note: only updated for days before the current day.
32
32
  * `write_api_usage` (int64): Write API Calls used on this day. Note: only updated for days before the current day.
33
- * `transformation_credits_usage` (int64): Transformation and AI credits used on this day. Note: initially this tracks GPG encrypt, decrypt, and recrypt usage.
33
+ * `transformation_credits_usage` (int64): Transformation and AI credits used on this day. Note: only updated for days before the current day.
34
34
  * `user_count` (int64): Number of billable users as of this day.
35
35
  * `current_storage` (int64): GB of Files Native Storage used on this day.
36
36
  * `deleted_files_storage` (int64): GB of Files Native Storage used on this day for files that have been deleted and are stored as backups.
@@ -8,6 +8,7 @@
8
8
  "start_at": "2000-01-01T01:00:00Z",
9
9
  "end_at": "2000-01-01T01:00:00Z",
10
10
  "high_water_user_count": 1,
11
+ "transformation_credits_usage": 1,
11
12
  "current_storage": 1,
12
13
  "high_water_storage": 1,
13
14
  "root_storage": 1,
@@ -32,6 +33,7 @@
32
33
  * `start_at` (date-time): Usage snapshot start date/time
33
34
  * `end_at` (date-time): Usage snapshot end date/time
34
35
  * `high_water_user_count` (int64): Highest user count number in time period
36
+ * `transformation_credits_usage` (int64): Total Transformation and AI credits used in this usage period. Updated daily. Does not include credits consumed today.
35
37
  * `current_storage` (int64): Current total Storage Usage GB as of end date (not necessarily high water mark, which is used for billing)
36
38
  * `high_water_storage` (int64): Highest Storage Usage GB recorded in time period (used for billing)
37
39
  * `root_storage` (int64): Storage Usage for root folder as of end date (not necessarily high water mark, which is used for billing)
@@ -34,7 +34,7 @@ module Files
34
34
  @attributes[:write_api_usage]
35
35
  end
36
36
 
37
- # int64 - Transformation and AI credits used on this day. Note: initially this tracks GPG encrypt, decrypt, and recrypt usage.
37
+ # int64 - Transformation and AI credits used on this day. Note: only updated for days before the current day.
38
38
  def transformation_credits_usage
39
39
  @attributes[:transformation_credits_usage]
40
40
  end
@@ -29,6 +29,11 @@ module Files
29
29
  @attributes[:high_water_user_count]
30
30
  end
31
31
 
32
+ # int64 - Total Transformation and AI credits used in this usage period. Updated daily. Does not include credits consumed today.
33
+ def transformation_credits_usage
34
+ @attributes[:transformation_credits_usage]
35
+ end
36
+
32
37
  # int64 - Current total Storage Usage GB as of end date (not necessarily high water mark, which is used for billing)
33
38
  def current_storage
34
39
  @attributes[:current_storage]
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Files
4
- VERSION = "1.1.719"
4
+ VERSION = "1.1.721"
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.719
4
+ version: 1.1.721
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-08 00:00:00.000000000 Z
11
+ date: 2026-09-11 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.