files.com 1.0.312 → 1.0.314

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 762bc842f1125c3865dafd75deba86d5487496fd3454b5008688666da2d783eb
4
- data.tar.gz: bc48d33cb47532fcc6965dafe049820d9df1f4ca2a9dc77fe80e196765a38ec9
3
+ metadata.gz: 32987c0b0e88de464b8f4fba24a907c751af8c00bdb0ff470e1e854282f611cc
4
+ data.tar.gz: f6ad63bbbb89d9e505116a086f6e4402534964741d27842846234b9fe981fb41
5
5
  SHA512:
6
- metadata.gz: fdaa91d9dd9f783c9fa465f3a64681f47e3b4439465563fa4e5e79080f51bab045e444c975f9c6a4d5ede1b1cdbf2f748e56de0f432d52a4323ea98812548931
7
- data.tar.gz: b5b81eca4e13a6e461c29d8c86106c2e4aa68cc06a274a3a5df6180a17d29edb809b44c8f4ce18e7e12faed340ada59dbd257f50df0e35ff68c1151ef3497732
6
+ metadata.gz: 3f3c0dba2c1a2fc490d82bed104e2522735b665e5b7f82fc949e76406f7f120f951c9ef657baa4299759f804144476414fe04bb916f6b0d5256d6c534fe892a2
7
+ data.tar.gz: f1303811b54688da9785d5f10e0280c1479c2ede12e1f55a2df34451442d64ea508f44ec5c74c7877e80ca602ed23ab81b984b48c8992914ad1fa0c5b1160703
data/_VERSION CHANGED
@@ -1 +1 @@
1
- 1.0.312
1
+ 1.0.314
data/docs/bundle.md CHANGED
@@ -24,6 +24,7 @@
24
24
  "max_uses": 1,
25
25
  "note": "The internal note on the bundle.",
26
26
  "path_template": "{{name}}_{{ip}}",
27
+ "send_email_receipt_to_uploader": true,
27
28
  "user_id": 1,
28
29
  "username": "user",
29
30
  "clickwrap_id": 1,
@@ -59,6 +60,7 @@
59
60
  * `max_uses` (int64): Maximum number of times bundle can be accessed
60
61
  * `note` (string): Bundle internal note
61
62
  * `path_template` (string): Template for creating submission subfolders. Can use the uploader's name, email address, ip, company, and any custom form data.
63
+ * `send_email_receipt_to_uploader` (boolean): Send delivery receipt to the uploader. Note: For writable share only
62
64
  * `user_id` (int64): Bundle creator user ID
63
65
  * `username` (string): Bundle creator username
64
66
  * `clickwrap_id` (int64): ID of the clickwrap to use with this bundle.
@@ -134,6 +136,7 @@ Files::Bundle.create(
134
136
  clickwrap_id: 1,
135
137
  inbox_id: 1,
136
138
  require_share_recipient: true,
139
+ send_email_receipt_to_uploader: true,
137
140
  skip_email: true,
138
141
  skip_name: true,
139
142
  skip_company: true
@@ -159,6 +162,7 @@ Files::Bundle.create(
159
162
  * `clickwrap_id` (int64): ID of the clickwrap to use with this bundle.
160
163
  * `inbox_id` (int64): ID of the associated inbox, if available.
161
164
  * `require_share_recipient` (boolean): Only allow access to recipients who have explicitly received the share via an email sent through the Files.com UI?
165
+ * `send_email_receipt_to_uploader` (boolean): Send delivery receipt to the uploader. Note: For writable share only
162
166
  * `skip_email` (boolean): BundleRegistrations can be saved without providing email?
163
167
  * `skip_name` (boolean): BundleRegistrations can be saved without providing name?
164
168
  * `skip_company` (boolean): BundleRegistrations can be saved without providing company?
@@ -207,9 +211,10 @@ Files::Bundle.update(id,
207
211
  preview_only: true,
208
212
  require_registration: true,
209
213
  require_share_recipient: true,
214
+ send_email_receipt_to_uploader: true,
215
+ skip_company: true,
210
216
  skip_email: true,
211
217
  skip_name: true,
212
- skip_company: true,
213
218
  watermark_attachment_delete: true
214
219
  )
215
220
  ```
@@ -233,9 +238,10 @@ Files::Bundle.update(id,
233
238
  * `preview_only` (boolean): Restrict users to previewing files only?
234
239
  * `require_registration` (boolean): Show a registration page that captures the downloader's name and email address?
235
240
  * `require_share_recipient` (boolean): Only allow access to recipients who have explicitly received the share via an email sent through the Files.com UI?
241
+ * `send_email_receipt_to_uploader` (boolean): Send delivery receipt to the uploader. Note: For writable share only
242
+ * `skip_company` (boolean): BundleRegistrations can be saved without providing company?
236
243
  * `skip_email` (boolean): BundleRegistrations can be saved without providing email?
237
244
  * `skip_name` (boolean): BundleRegistrations can be saved without providing name?
238
- * `skip_company` (boolean): BundleRegistrations can be saved without providing company?
239
245
  * `watermark_attachment_delete` (boolean): If true, will delete the file stored in watermark_attachment
240
246
  * `watermark_attachment_file` (file): Preview watermark image applied to all bundle items.
241
247
 
@@ -299,9 +305,10 @@ bundle.update(
299
305
  preview_only: true,
300
306
  require_registration: true,
301
307
  require_share_recipient: true,
308
+ send_email_receipt_to_uploader: true,
309
+ skip_company: true,
302
310
  skip_email: true,
303
311
  skip_name: true,
304
- skip_company: true,
305
312
  watermark_attachment_delete: true
306
313
  )
307
314
  ```
@@ -325,9 +332,10 @@ bundle.update(
325
332
  * `preview_only` (boolean): Restrict users to previewing files only?
326
333
  * `require_registration` (boolean): Show a registration page that captures the downloader's name and email address?
327
334
  * `require_share_recipient` (boolean): Only allow access to recipients who have explicitly received the share via an email sent through the Files.com UI?
335
+ * `send_email_receipt_to_uploader` (boolean): Send delivery receipt to the uploader. Note: For writable share only
336
+ * `skip_company` (boolean): BundleRegistrations can be saved without providing company?
328
337
  * `skip_email` (boolean): BundleRegistrations can be saved without providing email?
329
338
  * `skip_name` (boolean): BundleRegistrations can be saved without providing name?
330
- * `skip_company` (boolean): BundleRegistrations can be saved without providing company?
331
339
  * `watermark_attachment_delete` (boolean): If true, will delete the file stored in watermark_attachment
332
340
  * `watermark_attachment_file` (file): Preview watermark image applied to all bundle items.
333
341
 
@@ -17,7 +17,8 @@
17
17
  },
18
18
  "bundle_code": "example",
19
19
  "bundle_id": 1,
20
- "bundle_recipient_id": 1
20
+ "bundle_recipient_id": 1,
21
+ "created_at": "2000-01-01T01:00:00Z"
21
22
  }
22
23
  ```
23
24
 
@@ -33,6 +34,7 @@
33
34
  * `bundle_code` (string): Bundle URL code
34
35
  * `bundle_id` (int64): Id of associated bundle
35
36
  * `bundle_recipient_id` (int64): Id of associated bundle recipient
37
+ * `created_at` (date-time): Registration creation date/time
36
38
 
37
39
 
38
40
  ---
@@ -15,7 +15,8 @@
15
15
  },
16
16
  "inbox_id": 1,
17
17
  "inbox_recipient_id": 1,
18
- "inbox_title": "example"
18
+ "inbox_title": "example",
19
+ "created_at": "2000-01-01T01:00:00Z"
19
20
  }
20
21
  ```
21
22
 
@@ -29,6 +30,7 @@
29
30
  * `inbox_id` (int64): Id of associated inbox
30
31
  * `inbox_recipient_id` (int64): Id of associated inbox recipient
31
32
  * `inbox_title` (string): Title of associated inbox
33
+ * `created_at` (date-time): Registration creation date/time
32
34
 
33
35
 
34
36
  ---
@@ -7,8 +7,7 @@
7
7
  "amount": 1.0,
8
8
  "created_at": "2000-01-01T01:00:00Z",
9
9
  "invoice_id": 1,
10
- "payment_id": 1,
11
- "updated_at": "2000-01-01T01:00:00Z"
10
+ "payment_id": 1
12
11
  }
13
12
  ```
14
13
 
@@ -16,4 +15,3 @@
16
15
  * `created_at` (date-time): Payment line item created at date/time
17
16
  * `invoice_id` (int64): Invoice ID
18
17
  * `payment_id` (int64): Payment ID
19
- * `updated_at` (date-time): Payment line item updated at date/time
data/docs/site.md CHANGED
@@ -124,6 +124,7 @@
124
124
  "smtp_port": 25,
125
125
  "smtp_username": "mail",
126
126
  "session_expiry": 6.0,
127
+ "session_expiry_minutes": 360,
127
128
  "ssl_required": true,
128
129
  "subdomain": "mysite",
129
130
  "switch_to_plan_date": "2000-01-01T01:00:00Z",
@@ -267,6 +268,7 @@
267
268
  * `smtp_port` (int64): SMTP server port
268
269
  * `smtp_username` (string): SMTP server username
269
270
  * `session_expiry` (double): Session expiry in hours
271
+ * `session_expiry_minutes` (int64): Session expiry in minutes
270
272
  * `ssl_required` (boolean): Is SSL required? Disabling this is insecure.
271
273
  * `subdomain` (string): Site subdomain
272
274
  * `switch_to_plan_date` (date-time): If switching plans, when does the new plan take effect?
@@ -7,13 +7,9 @@
7
7
  "id": 1,
8
8
  "start_at": "2000-01-01T01:00:00Z",
9
9
  "end_at": "2000-01-01T01:00:00Z",
10
- "created_at": "2000-01-01T01:00:00Z",
11
10
  "high_water_user_count": 1.0,
12
11
  "current_storage": 1.0,
13
12
  "high_water_storage": 1.0,
14
- "total_downloads": 1,
15
- "total_uploads": 1,
16
- "updated_at": "2000-01-01T01:00:00Z",
17
13
  "usage_by_top_level_dir": {
18
14
  "key": "example value"
19
15
  },
@@ -31,13 +27,9 @@
31
27
  * `id` (int64): Usage snapshot ID
32
28
  * `start_at` (date-time): Usage snapshot start date/time
33
29
  * `end_at` (date-time): Usage snapshot end date/time
34
- * `created_at` (date-time): DEPRECATED: Usage snapshot created at date/time
35
30
  * `high_water_user_count` (double): Highest user count number in time period
36
31
  * `current_storage` (double): Current total Storage Usage GB as of end date (not necessarily high water mark, which is used for billing)
37
32
  * `high_water_storage` (double): Highest Storage Usage GB recorded in time period (used for billing)
38
- * `total_downloads` (int64): DEPRECATED: Number of downloads in report time period
39
- * `total_uploads` (int64): DEPRECATED: Number of uploads in time period
40
- * `updated_at` (date-time): DEPRECATED: The last time this site usage report was updated
41
33
  * `usage_by_top_level_dir` (object): Storage Usage - map of root folders to their usage as of end date (not necessarily high water mark, which is used for billing)
42
34
  * `root_storage` (double): Storage Usage for root folder as of end date (not necessarily high water mark, which is used for billing)
43
35
  * `deleted_files_counted_in_minimum` (double): Storage Usage for files that are deleted but uploaded within last 30 days as of end date (not necessarily high water mark, which is used for billing)
data/docs/user.md CHANGED
@@ -62,7 +62,6 @@
62
62
  "externally_managed": true,
63
63
  "time_zone": "Pacific Time (US & Canada)",
64
64
  "type_of_2fa": "yubi",
65
- "updated_at": "2000-01-01T01:00:00Z",
66
65
  "user_root": "example",
67
66
  "days_remaining_until_password_expire": 1,
68
67
  "password_expire_at": "2000-01-01T01:00:00Z"
@@ -125,7 +124,6 @@
125
124
  * `externally_managed` (boolean): Is this user managed by a SsoStrategy?
126
125
  * `time_zone` (string): User time zone
127
126
  * `type_of_2fa` (string): Type(s) of 2FA methods in use. Will be either `sms`, `totp`, `u2f`, `yubi`, or multiple values sorted alphabetically and joined by an underscore.
128
- * `updated_at` (date-time): User record most recently updated at. Note this may be incremented because of internal or external updates.
129
127
  * `user_root` (string): Root folder for FTP (and optionally SFTP if the appropriate site-wide setting is set.) Note that this is not used for API, Desktop, or Web interface.
130
128
  * `days_remaining_until_password_expire` (int64): Number of days remaining until password expires
131
129
  * `password_expire_at` (date-time): Password expiration datetime
@@ -185,6 +185,15 @@ module Files
185
185
  @attributes[:path_template] = value
186
186
  end
187
187
 
188
+ # boolean - Send delivery receipt to the uploader. Note: For writable share only
189
+ def send_email_receipt_to_uploader
190
+ @attributes[:send_email_receipt_to_uploader]
191
+ end
192
+
193
+ def send_email_receipt_to_uploader=(value)
194
+ @attributes[:send_email_receipt_to_uploader] = value
195
+ end
196
+
188
197
  # int64 - Bundle creator user ID
189
198
  def user_id
190
199
  @attributes[:user_id]
@@ -329,9 +338,10 @@ module Files
329
338
  # preview_only - boolean - Restrict users to previewing files only?
330
339
  # require_registration - boolean - Show a registration page that captures the downloader's name and email address?
331
340
  # require_share_recipient - boolean - Only allow access to recipients who have explicitly received the share via an email sent through the Files.com UI?
341
+ # send_email_receipt_to_uploader - boolean - Send delivery receipt to the uploader. Note: For writable share only
342
+ # skip_company - boolean - BundleRegistrations can be saved without providing company?
332
343
  # skip_email - boolean - BundleRegistrations can be saved without providing email?
333
344
  # skip_name - boolean - BundleRegistrations can be saved without providing name?
334
- # skip_company - boolean - BundleRegistrations can be saved without providing company?
335
345
  # watermark_attachment_delete - boolean - If true, will delete the file stored in watermark_attachment
336
346
  # watermark_attachment_file - file - Preview watermark image applied to all bundle items.
337
347
  def update(params = {})
@@ -445,6 +455,7 @@ module Files
445
455
  # clickwrap_id - int64 - ID of the clickwrap to use with this bundle.
446
456
  # inbox_id - int64 - ID of the associated inbox, if available.
447
457
  # require_share_recipient - boolean - Only allow access to recipients who have explicitly received the share via an email sent through the Files.com UI?
458
+ # send_email_receipt_to_uploader - boolean - Send delivery receipt to the uploader. Note: For writable share only
448
459
  # skip_email - boolean - BundleRegistrations can be saved without providing email?
449
460
  # skip_name - boolean - BundleRegistrations can be saved without providing name?
450
461
  # skip_company - boolean - BundleRegistrations can be saved without providing company?
@@ -505,9 +516,10 @@ module Files
505
516
  # preview_only - boolean - Restrict users to previewing files only?
506
517
  # require_registration - boolean - Show a registration page that captures the downloader's name and email address?
507
518
  # require_share_recipient - boolean - Only allow access to recipients who have explicitly received the share via an email sent through the Files.com UI?
519
+ # send_email_receipt_to_uploader - boolean - Send delivery receipt to the uploader. Note: For writable share only
520
+ # skip_company - boolean - BundleRegistrations can be saved without providing company?
508
521
  # skip_email - boolean - BundleRegistrations can be saved without providing email?
509
522
  # skip_name - boolean - BundleRegistrations can be saved without providing name?
510
- # skip_company - boolean - BundleRegistrations can be saved without providing company?
511
523
  # watermark_attachment_delete - boolean - If true, will delete the file stored in watermark_attachment
512
524
  # watermark_attachment_file - file - Preview watermark image applied to all bundle items.
513
525
  def self.update(id, params = {}, options = {})
@@ -69,6 +69,11 @@ module Files
69
69
  @attributes[:bundle_recipient_id]
70
70
  end
71
71
 
72
+ # date-time - Registration creation date/time
73
+ def created_at
74
+ @attributes[:created_at]
75
+ end
76
+
72
77
  # Parameters:
73
78
  # user_id - int64 - User ID. Provide a value of `0` to operate the current session's user.
74
79
  # cursor - string - Used for pagination. Send a cursor value to resume an existing list from the point at which you left off. Get a cursor from an existing list via either the X-Files-Cursor-Next header or the X-Files-Cursor-Prev header.
@@ -59,6 +59,11 @@ module Files
59
59
  @attributes[:inbox_title]
60
60
  end
61
61
 
62
+ # date-time - Registration creation date/time
63
+ def created_at
64
+ @attributes[:created_at]
65
+ end
66
+
62
67
  # Parameters:
63
68
  # cursor - string - Used for pagination. Send a cursor value to resume an existing list from the point at which you left off. Get a cursor from an existing list via either the X-Files-Cursor-Next header or the X-Files-Cursor-Prev header.
64
69
  # per_page - int64 - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
@@ -28,10 +28,5 @@ module Files
28
28
  def payment_id
29
29
  @attributes[:payment_id]
30
30
  end
31
-
32
- # date-time - Payment line item updated at date/time
33
- def updated_at
34
- @attributes[:updated_at]
35
- end
36
31
  end
37
32
  end
@@ -599,6 +599,11 @@ module Files
599
599
  @attributes[:session_expiry]
600
600
  end
601
601
 
602
+ # int64 - Session expiry in minutes
603
+ def session_expiry_minutes
604
+ @attributes[:session_expiry_minutes]
605
+ end
606
+
602
607
  # boolean - Is SSL required? Disabling this is insecure.
603
608
  def ssl_required
604
609
  @attributes[:ssl_required]
@@ -24,11 +24,6 @@ module Files
24
24
  @attributes[:end_at]
25
25
  end
26
26
 
27
- # date-time - DEPRECATED: Usage snapshot created at date/time
28
- def created_at
29
- @attributes[:created_at]
30
- end
31
-
32
27
  # double - Highest user count number in time period
33
28
  def high_water_user_count
34
29
  @attributes[:high_water_user_count]
@@ -44,21 +39,6 @@ module Files
44
39
  @attributes[:high_water_storage]
45
40
  end
46
41
 
47
- # int64 - DEPRECATED: Number of downloads in report time period
48
- def total_downloads
49
- @attributes[:total_downloads]
50
- end
51
-
52
- # int64 - DEPRECATED: Number of uploads in time period
53
- def total_uploads
54
- @attributes[:total_uploads]
55
- end
56
-
57
- # date-time - DEPRECATED: The last time this site usage report was updated
58
- def updated_at
59
- @attributes[:updated_at]
60
- end
61
-
62
42
  # object - Storage Usage - map of root folders to their usage as of end date (not necessarily high water mark, which is used for billing)
63
43
  def usage_by_top_level_dir
64
44
  @attributes[:usage_by_top_level_dir]
@@ -509,11 +509,6 @@ module Files
509
509
  @attributes[:type_of_2fa] = value
510
510
  end
511
511
 
512
- # date-time - User record most recently updated at. Note this may be incremented because of internal or external updates.
513
- def updated_at
514
- @attributes[:updated_at]
515
- end
516
-
517
512
  # string - Root folder for FTP (and optionally SFTP if the appropriate site-wide setting is set.) Note that this is not used for API, Desktop, or Web interface.
518
513
  def user_root
519
514
  @attributes[:user_root]
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.0.312
4
+ version: 1.0.314
5
5
  platform: ruby
6
6
  authors:
7
7
  - files.com
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-12-15 00:00:00.000000000 Z
11
+ date: 2022-12-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: addressable