Skip to content

Commit ecb689e

Browse files
v1.2.641
[Bot] push changes from Files.com
1 parent 50f76bd commit ecb689e

16 files changed

Lines changed: 157 additions & 57 deletions

_VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
1.2.640
1+
1.2.641

docs/models/Bundle.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,7 @@
6666
"snapshot_id": 1,
6767
"user_id": 1,
6868
"username": "user",
69+
"group_id": 1,
6970
"clickwrap_id": 1,
7071
"inbox_id": 1,
7172
"watermark_attachment": {
@@ -124,6 +125,7 @@
124125
* `snapshot_id` (int64): ID of the snapshot containing this bundle's contents.
125126
* `user_id` (int64): Bundle creator user ID
126127
* `username` (string): Bundle creator username
128+
* `group_id` (int64): Owning group ID. If set, members of this group can view, edit, and share this Share Link.
127129
* `clickwrap_id` (int64): ID of the clickwrap to use with this bundle.
128130
* `inbox_id` (int64): ID of the associated inbox, if available.
129131
* `watermark_attachment` (Image): Preview watermark image applied to all bundle items.
@@ -194,6 +196,7 @@ await Bundle.create({
194196
'expires_at': "2000-01-01T01:00:00Z",
195197
'finalize_snapshot': false,
196198
'max_uses': 1,
199+
'group_id': 1,
197200
'description': "The public description of the bundle.",
198201
'note': "The internal note on the bundle.",
199202
'code': "abc123",
@@ -228,6 +231,7 @@ await Bundle.create({
228231
* `expires_at` (string): Bundle expiration date/time
229232
* `finalize_snapshot` (boolean): If true, finalize the snapshot of this bundle's contents. Note that `create_snapshot` must also be true.
230233
* `max_uses` (int64): Maximum number of times bundle can be accessed
234+
* `group_id` (int64): Owning group ID. If set, members of this group can view, edit, and share this Share Link.
231235
* `description` (string): Public description
232236
* `note` (string): Bundle internal note
233237
* `code` (string): Bundle code. This code forms the end part of the Public URL.
@@ -291,6 +295,7 @@ await bundle.update({
291295
'finalize_snapshot': false,
292296
'inbox_id': 1,
293297
'max_uses': 1,
298+
'group_id': 1,
294299
'note': "The internal note on the bundle.",
295300
'path_template': "{{name}}_{{ip}}",
296301
'path_template_time_zone': "Eastern Time (US & Canada)",
@@ -325,6 +330,7 @@ await bundle.update({
325330
* `finalize_snapshot` (boolean): If true, finalize the snapshot of this bundle's contents. Note that `create_snapshot` must also be true.
326331
* `inbox_id` (int64): ID of the associated inbox, if available.
327332
* `max_uses` (int64): Maximum number of times bundle can be accessed
333+
* `group_id` (int64): Owning group ID. If set, members of this group can view, edit, and share this Share Link.
328334
* `note` (string): Bundle internal note
329335
* `path_template` (string): Template for creating submission subfolders. Can use the uploader's name, email address, ip, company, `strftime` directives, and any custom form data.
330336
* `path_template_time_zone` (string): Timezone to use when rendering timestamps in path templates.
@@ -408,6 +414,7 @@ await bundle.update({
408414
"snapshot_id": 1,
409415
"user_id": 1,
410416
"username": "user",
417+
"group_id": 1,
411418
"clickwrap_id": 1,
412419
"inbox_id": 1,
413420
"watermark_attachment": {

docs/models/BundleAction.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,8 @@
6060
```
6161
await BundleAction.list({
6262
'user_id': 1,
63+
'bundle_id': 1,
64+
'bundle_registration_id': 1,
6365
})
6466
```
6567

@@ -75,3 +77,5 @@ await BundleAction.list({
7577
* `filter_gteq` (object): If set, return records where the specified field is greater than or equal the supplied value. Valid fields are `created_at`.
7678
* `filter_lt` (object): If set, return records where the specified field is less than the supplied value. Valid fields are `created_at`.
7779
* `filter_lteq` (object): If set, return records where the specified field is less than or equal the supplied value. Valid fields are `created_at`.
80+
* `bundle_id` (int64): Bundle ID
81+
* `bundle_registration_id` (int64): Bundle Registration ID

docs/models/BundleNotification.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@
2828
```
2929
await BundleNotification.list({
3030
'user_id': 1,
31+
'bundle_id': 1,
3132
})
3233
```
3334

@@ -39,6 +40,7 @@ await BundleNotification.list({
3940
* `per_page` (int64): Number of records to show per page. (Max: 10000, 1,000 or less is recommended).
4041
* `sort_by` (object): If set, sort records by the specified field in either `asc` or `desc` direction. Valid fields are `workspace_id` and `bundle_id`.
4142
* `filter` (object): If set, return records where the specified field is equal to the supplied value. Valid fields are `bundle_id`.
43+
* `bundle_id` (int64): Bundle ID
4244

4345
---
4446

docs/models/Site.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@
3939
"bundle_expiration": 1,
4040
"bundle_not_found_message": "example",
4141
"bundle_password_required": true,
42+
"bundles_default_owned_by_primary_group": true,
4243
"bundle_recipient_blacklist_domains": [
4344
"example"
4445
],
@@ -373,6 +374,7 @@
373374
* `bundle_expiration` (int64): Site-wide Bundle expiration in days
374375
* `bundle_not_found_message` (string): Custom error message to show when bundle is not found.
375376
* `bundle_password_required` (boolean): Do Bundles require password protection?
377+
* `bundles_default_owned_by_primary_group` (boolean): If true, new Share Links created by a user with a primary group will default to that group as owner.
376378
* `bundle_recipient_blacklist_domains` (array(string)): List of email domains to disallow when entering a Bundle/Inbox recipients
377379
* `bundle_recipient_blacklist_free_email_domains` (boolean): Disallow free email domains for Bundle/Inbox recipients?
378380
* `bundle_registration_notifications` (string): Do Bundle owners receive registration notification?
@@ -595,6 +597,7 @@ await Site.update({
595597
'additional_text_file_types': ["example"],
596598
'bundle_require_note': false,
597599
'bundle_send_shared_receipts': false,
600+
'bundles_default_owned_by_primary_group': false,
598601
'calculate_file_checksums_crc32': false,
599602
'calculate_file_checksums_md5': false,
600603
'calculate_file_checksums_sha1': false,
@@ -770,6 +773,7 @@ await Site.update({
770773
* `additional_text_file_types` (array(string)): Additional extensions that are considered text files
771774
* `bundle_require_note` (boolean): Do Bundles require internal notes?
772775
* `bundle_send_shared_receipts` (boolean): Do Bundle creators receive receipts of invitations?
776+
* `bundles_default_owned_by_primary_group` (boolean): If true, new Share Links created by a user with a primary group will default to that group as owner.
773777
* `calculate_file_checksums_crc32` (boolean): Calculate CRC32 checksums for files?
774778
* `calculate_file_checksums_md5` (boolean): Calculate MD5 checksums for files?
775779
* `calculate_file_checksums_sha1` (boolean): Calculate SHA1 checksums for files?

lib/Files.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ var apiKey;
1212
var baseUrl = 'https://app.files.com';
1313
var sessionId = null;
1414
var language = null;
15-
var version = '1.2.640';
15+
var version = '1.2.641';
1616
var userAgent = "Files.com JavaScript SDK v".concat(version);
1717
var logLevel = _Logger.LogLevel.INFO;
1818
var debugRequest = false;

0 commit comments

Comments
 (0)