files.com 1.1.82 → 1.1.84
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 +4 -4
- data/_VERSION +1 -1
- data/docs/account_line_item.md +2 -2
- data/docs/action.md +1 -1
- data/docs/api_key.md +2 -2
- data/docs/app.md +1 -1
- data/docs/as2_partner.md +2 -2
- data/docs/as2_station.md +2 -2
- data/docs/automation.md +10 -10
- data/docs/behavior.md +2 -2
- data/docs/bundle.md +5 -5
- data/docs/bundle_notification.md +2 -2
- data/docs/clickwrap.md +2 -2
- data/docs/errors.md +2 -2
- data/docs/file.md +6 -6
- data/docs/file_comment.md +1 -1
- data/docs/form_field.md +1 -1
- data/docs/form_field_set.md +4 -4
- data/docs/gpg_key.md +2 -2
- data/docs/group.md +2 -2
- data/docs/group_user.md +1 -1
- data/docs/history.md +1 -1
- data/docs/invoice.md +2 -2
- data/docs/ip_address.md +1 -1
- data/docs/message.md +3 -3
- data/docs/message_comment.md +3 -3
- data/docs/message_comment_reaction.md +1 -1
- data/docs/message_reaction.md +1 -1
- data/docs/notification.md +5 -5
- data/docs/payment.md +2 -2
- data/docs/project.md +2 -2
- data/docs/public_key.md +2 -2
- data/docs/remote_server.md +3 -3
- data/docs/settings_change.md +1 -1
- data/docs/sftp_host_key.md +2 -2
- data/docs/share_group.md +3 -3
- data/docs/site.md +2 -2
- data/docs/snapshot.md +3 -3
- data/docs/sso_strategy.md +1 -1
- data/docs/status.md +1 -1
- data/docs/style.md +2 -2
- data/docs/user.md +6 -6
- data/docs/user_request.md +1 -1
- data/lib/files.com/models/account_line_item.rb +2 -2
- data/lib/files.com/models/action.rb +1 -1
- data/lib/files.com/models/app.rb +1 -1
- data/lib/files.com/models/automation.rb +7 -7
- data/lib/files.com/models/bundle.rb +2 -2
- data/lib/files.com/models/errors.rb +2 -2
- data/lib/files.com/models/file_comment.rb +1 -1
- data/lib/files.com/models/form_field.rb +1 -1
- data/lib/files.com/models/form_field_set.rb +2 -2
- data/lib/files.com/models/group_user.rb +1 -1
- data/lib/files.com/models/history.rb +1 -1
- data/lib/files.com/models/invoice.rb +2 -2
- data/lib/files.com/models/ip_address.rb +1 -1
- data/lib/files.com/models/message.rb +1 -1
- data/lib/files.com/models/message_comment.rb +1 -1
- data/lib/files.com/models/notification.rb +3 -3
- data/lib/files.com/models/payment.rb +2 -2
- data/lib/files.com/models/settings_change.rb +1 -1
- data/lib/files.com/models/share_group.rb +1 -1
- data/lib/files.com/models/site.rb +2 -2
- data/lib/files.com/models/status.rb +1 -1
- data/lib/files.com/models/user.rb +1 -1
- data/lib/files.com/version.rb +1 -1
- metadata +2 -2
data/docs/sftp_host_key.md
CHANGED
@@ -98,7 +98,7 @@ Files::SftpHostKey.delete(id)
|
|
98
98
|
## Update Sftp Host Key
|
99
99
|
|
100
100
|
```
|
101
|
-
sftp_host_key = Files::SftpHostKey.
|
101
|
+
sftp_host_key = Files::SftpHostKey.find(id)
|
102
102
|
|
103
103
|
sftp_host_key.update(
|
104
104
|
name: "example"
|
@@ -117,7 +117,7 @@ sftp_host_key.update(
|
|
117
117
|
## Delete Sftp Host Key
|
118
118
|
|
119
119
|
```
|
120
|
-
sftp_host_key = Files::SftpHostKey.
|
120
|
+
sftp_host_key = Files::SftpHostKey.find(id)
|
121
121
|
|
122
122
|
sftp_host_key.delete
|
123
123
|
```
|
data/docs/share_group.md
CHANGED
@@ -22,7 +22,7 @@
|
|
22
22
|
* `name` (string): Name of the share group
|
23
23
|
* `notes` (string): Additional notes of the share group
|
24
24
|
* `user_id` (int64): Owner User ID
|
25
|
-
* `members` (array): A list of share group members
|
25
|
+
* `members` (array(object)): A list of share group members
|
26
26
|
|
27
27
|
|
28
28
|
---
|
@@ -115,7 +115,7 @@ Files::ShareGroup.delete(id)
|
|
115
115
|
## Update Share Group
|
116
116
|
|
117
117
|
```
|
118
|
-
share_group = Files::ShareGroup.
|
118
|
+
share_group = Files::ShareGroup.find(id)
|
119
119
|
|
120
120
|
share_group.update(
|
121
121
|
notes: "This group is defined for testing purposes",
|
@@ -137,7 +137,7 @@ share_group.update(
|
|
137
137
|
## Delete Share Group
|
138
138
|
|
139
139
|
```
|
140
|
-
share_group = Files::ShareGroup.
|
140
|
+
share_group = Files::ShareGroup.find(id)
|
141
141
|
|
142
142
|
share_group.delete
|
143
143
|
```
|
data/docs/site.md
CHANGED
@@ -282,7 +282,7 @@
|
|
282
282
|
```
|
283
283
|
|
284
284
|
* `name` (string): Site name
|
285
|
-
* `additional_text_file_types` (array): Additional extensions that are considered text files
|
285
|
+
* `additional_text_file_types` (array(string)): Additional extensions that are considered text files
|
286
286
|
* `allowed_2fa_method_sms` (boolean): Is SMS two factor authentication allowed?
|
287
287
|
* `allowed_2fa_method_totp` (boolean): Is TOTP two factor authentication allowed?
|
288
288
|
* `allowed_2fa_method_u2f` (boolean): Is U2F two factor authentication allowed?
|
@@ -302,7 +302,7 @@
|
|
302
302
|
* `bundle_expiration` (int64): Site-wide Bundle expiration in days
|
303
303
|
* `bundle_not_found_message` (string): Custom error message to show when bundle is not found.
|
304
304
|
* `bundle_password_required` (boolean): Do Bundles require password protection?
|
305
|
-
* `bundle_recipient_blacklist_domains` (array): List of email domains to disallow when entering a Bundle/Inbox recipients
|
305
|
+
* `bundle_recipient_blacklist_domains` (array(string)): List of email domains to disallow when entering a Bundle/Inbox recipients
|
306
306
|
* `bundle_recipient_blacklist_free_email_domains` (boolean): Disallow free email domains for Bundle/Inbox recipients?
|
307
307
|
* `bundle_registration_notifications` (string): Do Bundle owners receive registration notification?
|
308
308
|
* `bundle_require_registration` (boolean): Do Bundles require registration?
|
data/docs/snapshot.md
CHANGED
@@ -119,7 +119,7 @@ Files::Snapshot.delete(id)
|
|
119
119
|
## Finalize Snapshot
|
120
120
|
|
121
121
|
```
|
122
|
-
snapshot = Files::Snapshot.
|
122
|
+
snapshot = Files::Snapshot.find(id)
|
123
123
|
|
124
124
|
snapshot.finalize
|
125
125
|
```
|
@@ -134,7 +134,7 @@ snapshot.finalize
|
|
134
134
|
## Update Snapshot
|
135
135
|
|
136
136
|
```
|
137
|
-
snapshot = Files::Snapshot.
|
137
|
+
snapshot = Files::Snapshot.find(id)
|
138
138
|
|
139
139
|
snapshot.update(
|
140
140
|
expires_at: "2000-01-01T01:00:00Z",
|
@@ -155,7 +155,7 @@ snapshot.update(
|
|
155
155
|
## Delete Snapshot
|
156
156
|
|
157
157
|
```
|
158
|
-
snapshot = Files::Snapshot.
|
158
|
+
snapshot = Files::Snapshot.find(id)
|
159
159
|
|
160
160
|
snapshot.delete
|
161
161
|
```
|
data/docs/sso_strategy.md
CHANGED
data/docs/status.md
CHANGED
@@ -27,6 +27,6 @@
|
|
27
27
|
* `message` (string): Error message
|
28
28
|
* `status` (string): Status message
|
29
29
|
* `data` (Auto): Additional data
|
30
|
-
* `errors` (array): A list of api errors
|
30
|
+
* `errors` (array(object)): A list of api errors
|
31
31
|
* `clickwrap_id` (int64): Required Clickwrap id
|
32
32
|
* `clickwrap_body` (string): Required Clickwrap body
|
data/docs/style.md
CHANGED
@@ -65,7 +65,7 @@ Files::Style.delete(path)
|
|
65
65
|
## Update Style
|
66
66
|
|
67
67
|
```
|
68
|
-
style = Files::Style.
|
68
|
+
style = Files::Style.find(path)
|
69
69
|
|
70
70
|
style.update(
|
71
71
|
file: "file"
|
@@ -83,7 +83,7 @@ style.update(
|
|
83
83
|
## Delete Style
|
84
84
|
|
85
85
|
```
|
86
|
-
style = Files::Style.
|
86
|
+
style = Files::Style.find(path)
|
87
87
|
|
88
88
|
style.delete
|
89
89
|
```
|
data/docs/user.md
CHANGED
@@ -73,7 +73,7 @@
|
|
73
73
|
|
74
74
|
* `id` (int64): User ID
|
75
75
|
* `username` (string): User's username
|
76
|
-
* `admin_group_ids` (array): List of group IDs of which this user is an administrator
|
76
|
+
* `admin_group_ids` (array(int64)): List of group IDs of which this user is an administrator
|
77
77
|
* `allowed_ips` (string): A list of allowed IPs if applicable. Newline delimited
|
78
78
|
* `attachments_permission` (boolean): DEPRECATED: Can the user create Bundles (aka Share Links)? Use the bundle permission instead.
|
79
79
|
* `api_keys_count` (int64): Number of api keys associated with this user
|
@@ -433,7 +433,7 @@ Files::User.delete(id)
|
|
433
433
|
## Unlock user who has been locked out due to failed logins
|
434
434
|
|
435
435
|
```
|
436
|
-
user = Files::User.
|
436
|
+
user = Files::User.find(id)
|
437
437
|
|
438
438
|
user.unlock
|
439
439
|
```
|
@@ -448,7 +448,7 @@ user.unlock
|
|
448
448
|
## Resend user welcome email
|
449
449
|
|
450
450
|
```
|
451
|
-
user = Files::User.
|
451
|
+
user = Files::User.find(id)
|
452
452
|
|
453
453
|
user.resend_welcome_email
|
454
454
|
```
|
@@ -463,7 +463,7 @@ user.resend_welcome_email
|
|
463
463
|
## Trigger 2FA Reset process for user who has lost access to their existing 2FA methods
|
464
464
|
|
465
465
|
```
|
466
|
-
user = Files::User.
|
466
|
+
user = Files::User.find(id)
|
467
467
|
|
468
468
|
user.user_2fa_reset
|
469
469
|
```
|
@@ -478,7 +478,7 @@ user.user_2fa_reset
|
|
478
478
|
## Update User
|
479
479
|
|
480
480
|
```
|
481
|
-
user = Files::User.
|
481
|
+
user = Files::User.find(id)
|
482
482
|
|
483
483
|
user.update(
|
484
484
|
avatar_delete: true,
|
@@ -577,7 +577,7 @@ user.update(
|
|
577
577
|
## Delete User
|
578
578
|
|
579
579
|
```
|
580
|
-
user = Files::User.
|
580
|
+
user = Files::User.find(id)
|
581
581
|
|
582
582
|
user.delete
|
583
583
|
```
|
data/docs/user_request.md
CHANGED
@@ -39,7 +39,7 @@ module Files
|
|
39
39
|
@attributes[:download_uri]
|
40
40
|
end
|
41
41
|
|
42
|
-
# array - Associated invoice line items
|
42
|
+
# array(object) - Associated invoice line items
|
43
43
|
def invoice_line_items
|
44
44
|
@attributes[:invoice_line_items]
|
45
45
|
end
|
@@ -49,7 +49,7 @@ module Files
|
|
49
49
|
@attributes[:method]
|
50
50
|
end
|
51
51
|
|
52
|
-
# array - Associated payment line items
|
52
|
+
# array(object) - Associated payment line items
|
53
53
|
def payment_line_items
|
54
54
|
@attributes[:payment_line_items]
|
55
55
|
end
|
data/lib/files.com/models/app.rb
CHANGED
@@ -72,7 +72,7 @@ module Files
|
|
72
72
|
@attributes[:destination_replace_to] = value
|
73
73
|
end
|
74
74
|
|
75
|
-
# array - Destination Paths
|
75
|
+
# array(string) - Destination Paths
|
76
76
|
def destinations
|
77
77
|
@attributes[:destinations]
|
78
78
|
end
|
@@ -99,7 +99,7 @@ module Files
|
|
99
99
|
@attributes[:flatten_destination_structure] = value
|
100
100
|
end
|
101
101
|
|
102
|
-
# array - IDs of Groups for the Automation (i.e. who to Request File from)
|
102
|
+
# array(int64) - IDs of Groups for the Automation (i.e. who to Request File from)
|
103
103
|
def group_ids
|
104
104
|
@attributes[:group_ids]
|
105
105
|
end
|
@@ -198,7 +198,7 @@ module Files
|
|
198
198
|
@attributes[:human_readable_schedule] = value
|
199
199
|
end
|
200
200
|
|
201
|
-
# array - If trigger is `custom_schedule`, Custom schedule description for when the automation should be run. 0-based days of the week. 0 is Sunday, 1 is Monday, etc.
|
201
|
+
# array(int64) - If trigger is `custom_schedule`, Custom schedule description for when the automation should be run. 0-based days of the week. 0 is Sunday, 1 is Monday, etc.
|
202
202
|
def schedule_days_of_week
|
203
203
|
@attributes[:schedule_days_of_week]
|
204
204
|
end
|
@@ -207,7 +207,7 @@ module Files
|
|
207
207
|
@attributes[:schedule_days_of_week] = value
|
208
208
|
end
|
209
209
|
|
210
|
-
# array - If trigger is `custom_schedule`, Custom schedule description for when the automation should be run. Times of day in HH:MM format.
|
210
|
+
# array(string) - If trigger is `custom_schedule`, Custom schedule description for when the automation should be run. Times of day in HH:MM format.
|
211
211
|
def schedule_times_of_day
|
212
212
|
@attributes[:schedule_times_of_day]
|
213
213
|
end
|
@@ -234,7 +234,7 @@ module Files
|
|
234
234
|
@attributes[:source] = value
|
235
235
|
end
|
236
236
|
|
237
|
-
# array - IDs of remote sync folder behaviors to run by this Automation
|
237
|
+
# array(int64) - IDs of remote sync folder behaviors to run by this Automation
|
238
238
|
def sync_ids
|
239
239
|
@attributes[:sync_ids]
|
240
240
|
end
|
@@ -243,7 +243,7 @@ module Files
|
|
243
243
|
@attributes[:sync_ids] = value
|
244
244
|
end
|
245
245
|
|
246
|
-
# array - If trigger is `action`, this is the list of action types on which to trigger the automation. Valid actions are create, read, update, destroy, move, copy
|
246
|
+
# array(string) - If trigger is `action`, this is the list of action types on which to trigger the automation. Valid actions are create, read, update, destroy, move, copy
|
247
247
|
def trigger_actions
|
248
248
|
@attributes[:trigger_actions]
|
249
249
|
end
|
@@ -270,7 +270,7 @@ module Files
|
|
270
270
|
@attributes[:user_id] = value
|
271
271
|
end
|
272
272
|
|
273
|
-
# array - IDs of Users for the Automation (i.e. who to Request File from)
|
273
|
+
# array(int64) - IDs of Users for the Automation (i.e. who to Request File from)
|
274
274
|
def user_ids
|
275
275
|
@attributes[:user_ids]
|
276
276
|
end
|
@@ -338,7 +338,7 @@ module Files
|
|
338
338
|
@attributes[:has_inbox] = value
|
339
339
|
end
|
340
340
|
|
341
|
-
# array - A list of paths in this bundle. For performance reasons, this is not provided when listing bundles.
|
341
|
+
# array(string) - A list of paths in this bundle. For performance reasons, this is not provided when listing bundles.
|
342
342
|
def paths
|
343
343
|
@attributes[:paths]
|
344
344
|
end
|
@@ -347,7 +347,7 @@ module Files
|
|
347
347
|
@attributes[:paths] = value
|
348
348
|
end
|
349
349
|
|
350
|
-
# array - A list of bundlepaths in this bundle. For performance reasons, this is not provided when listing bundles.
|
350
|
+
# array(object) - A list of bundlepaths in this bundle. For performance reasons, this is not provided when listing bundles.
|
351
351
|
def bundlepaths
|
352
352
|
@attributes[:bundlepaths]
|
353
353
|
end
|
@@ -9,12 +9,12 @@ module Files
|
|
9
9
|
@options = options || {}
|
10
10
|
end
|
11
11
|
|
12
|
-
# array - A list of fields where errors occur
|
12
|
+
# array(string) - A list of fields where errors occur
|
13
13
|
def fields
|
14
14
|
@attributes[:fields]
|
15
15
|
end
|
16
16
|
|
17
|
-
# array - A list of error messages
|
17
|
+
# array(string) - A list of error messages
|
18
18
|
def messages
|
19
19
|
@attributes[:messages]
|
20
20
|
end
|
@@ -27,7 +27,7 @@ module Files
|
|
27
27
|
@attributes[:title] = value
|
28
28
|
end
|
29
29
|
|
30
|
-
# array - Layout of the form
|
30
|
+
# array(int64) - Layout of the form
|
31
31
|
def form_layout
|
32
32
|
@attributes[:form_layout]
|
33
33
|
end
|
@@ -36,7 +36,7 @@ module Files
|
|
36
36
|
@attributes[:form_layout] = value
|
37
37
|
end
|
38
38
|
|
39
|
-
# array - Associated form fields
|
39
|
+
# array(object) - Associated form fields
|
40
40
|
def form_fields
|
41
41
|
@attributes[:form_fields]
|
42
42
|
end
|
@@ -39,7 +39,7 @@ module Files
|
|
39
39
|
@attributes[:download_uri]
|
40
40
|
end
|
41
41
|
|
42
|
-
# array - Associated invoice line items
|
42
|
+
# array(object) - Associated invoice line items
|
43
43
|
def invoice_line_items
|
44
44
|
@attributes[:invoice_line_items]
|
45
45
|
end
|
@@ -49,7 +49,7 @@ module Files
|
|
49
49
|
@attributes[:method]
|
50
50
|
end
|
51
51
|
|
52
|
-
# array - Associated payment line items
|
52
|
+
# array(object) - Associated payment line items
|
53
53
|
def payment_line_items
|
54
54
|
@attributes[:payment_line_items]
|
55
55
|
end
|
@@ -45,7 +45,7 @@ module Files
|
|
45
45
|
@attributes[:group_name] = value
|
46
46
|
end
|
47
47
|
|
48
|
-
# array - If set, will only notify on actions made by a member of one of the specified groups
|
48
|
+
# array(int64) - If set, will only notify on actions made by a member of one of the specified groups
|
49
49
|
def triggering_group_ids
|
50
50
|
@attributes[:triggering_group_ids]
|
51
51
|
end
|
@@ -54,7 +54,7 @@ module Files
|
|
54
54
|
@attributes[:triggering_group_ids] = value
|
55
55
|
end
|
56
56
|
|
57
|
-
# array - If set, will onlynotify on actions made one of the specified users
|
57
|
+
# array(int64) - If set, will onlynotify on actions made one of the specified users
|
58
58
|
def triggering_user_ids
|
59
59
|
@attributes[:triggering_user_ids]
|
60
60
|
end
|
@@ -153,7 +153,7 @@ module Files
|
|
153
153
|
@attributes[:message] = value
|
154
154
|
end
|
155
155
|
|
156
|
-
# array - Array of filenames (possibly with wildcards) to scope trigger
|
156
|
+
# array(string) - Array of filenames (possibly with wildcards) to scope trigger
|
157
157
|
def triggering_filenames
|
158
158
|
@attributes[:triggering_filenames]
|
159
159
|
end
|
@@ -39,7 +39,7 @@ module Files
|
|
39
39
|
@attributes[:download_uri]
|
40
40
|
end
|
41
41
|
|
42
|
-
# array - Associated invoice line items
|
42
|
+
# array(object) - Associated invoice line items
|
43
43
|
def invoice_line_items
|
44
44
|
@attributes[:invoice_line_items]
|
45
45
|
end
|
@@ -49,7 +49,7 @@ module Files
|
|
49
49
|
@attributes[:method]
|
50
50
|
end
|
51
51
|
|
52
|
-
# array - Associated payment line items
|
52
|
+
# array(object) - Associated payment line items
|
53
53
|
def payment_line_items
|
54
54
|
@attributes[:payment_line_items]
|
55
55
|
end
|
@@ -14,7 +14,7 @@ module Files
|
|
14
14
|
@attributes[:name]
|
15
15
|
end
|
16
16
|
|
17
|
-
# array - Additional extensions that are considered text files
|
17
|
+
# array(string) - Additional extensions that are considered text files
|
18
18
|
def additional_text_file_types
|
19
19
|
@attributes[:additional_text_file_types]
|
20
20
|
end
|
@@ -114,7 +114,7 @@ module Files
|
|
114
114
|
@attributes[:bundle_password_required]
|
115
115
|
end
|
116
116
|
|
117
|
-
# array - List of email domains to disallow when entering a Bundle/Inbox recipients
|
117
|
+
# array(string) - List of email domains to disallow when entering a Bundle/Inbox recipients
|
118
118
|
def bundle_recipient_blacklist_domains
|
119
119
|
@attributes[:bundle_recipient_blacklist_domains]
|
120
120
|
end
|
@@ -27,7 +27,7 @@ module Files
|
|
27
27
|
@attributes[:username] = value
|
28
28
|
end
|
29
29
|
|
30
|
-
# array - List of group IDs of which this user is an administrator
|
30
|
+
# array(int64) - List of group IDs of which this user is an administrator
|
31
31
|
def admin_group_ids
|
32
32
|
@attributes[:admin_group_ids]
|
33
33
|
end
|
data/lib/files.com/version.rb
CHANGED
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.
|
4
|
+
version: 1.1.84
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- files.com
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-05-
|
11
|
+
date: 2024-05-23 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: addressable
|