files.com 1.2.144 → 1.2.146
Sign up to get free protection for your applications and to get access to all the features.
- package/_VERSION +1 -1
- package/docs/models/Site.md +5 -0
- package/docs/models/User.md +3 -0
- package/lib/Files.js +1 -1
- package/lib/models/Site.js +5 -0
- package/lib/models/User.js +7 -0
- package/package.json +1 -1
- package/src/Files.js +1 -1
- package/src/models/Site.js +4 -0
- package/src/models/User.js +7 -0
package/_VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.2.
|
1
|
+
1.2.146
|
package/docs/models/Site.md
CHANGED
@@ -35,6 +35,7 @@
|
|
35
35
|
"bundle_require_registration": true,
|
36
36
|
"bundle_require_share_recipient": true,
|
37
37
|
"bundle_require_note": true,
|
38
|
+
"bundle_send_shared_receipts": true,
|
38
39
|
"bundle_upload_receipt_notifications": "never",
|
39
40
|
"bundle_watermark_attachment": {
|
40
41
|
"name": "My logo",
|
@@ -212,6 +213,7 @@
|
|
212
213
|
"authenticate_until": "2000-01-01T01:00:00Z",
|
213
214
|
"authentication_method": "password",
|
214
215
|
"avatar_url": "example",
|
216
|
+
"billable": true,
|
215
217
|
"billing_permission": false,
|
216
218
|
"bypass_site_allowed_ips": false,
|
217
219
|
"bypass_inactive_disable": false,
|
@@ -315,6 +317,7 @@
|
|
315
317
|
* `bundle_require_registration` (boolean): Do Bundles require registration?
|
316
318
|
* `bundle_require_share_recipient` (boolean): Do Bundles require recipients for sharing?
|
317
319
|
* `bundle_require_note` (boolean): Do Bundles require internal notes?
|
320
|
+
* `bundle_send_shared_receipts` (boolean): Do Bundle creators receive receipts of invitations?
|
318
321
|
* `bundle_upload_receipt_notifications` (string): Do Bundle uploaders receive upload confirmation notifications?
|
319
322
|
* `bundle_watermark_attachment` (Image): Preview watermark image applied to all bundle items.
|
320
323
|
* `bundle_watermark_value` (object): Preview watermark settings applied to all bundle items. Uses the same keys as Behavior.value
|
@@ -511,6 +514,7 @@ await Site.update({
|
|
511
514
|
'motd_use_for_sftp': true,
|
512
515
|
'additional_text_file_types': ["example"],
|
513
516
|
'bundle_require_note': true,
|
517
|
+
'bundle_send_shared_receipts': true,
|
514
518
|
'session_expiry': 1.0,
|
515
519
|
'ssl_required': true,
|
516
520
|
'tls_disabled': true,
|
@@ -664,6 +668,7 @@ await Site.update({
|
|
664
668
|
* `left_navigation_visibility` (object): Visibility settings for account navigation
|
665
669
|
* `additional_text_file_types` (array(string)): Additional extensions that are considered text files
|
666
670
|
* `bundle_require_note` (boolean): Do Bundles require internal notes?
|
671
|
+
* `bundle_send_shared_receipts` (boolean): Do Bundle creators receive receipts of invitations?
|
667
672
|
* `session_expiry` (double): Session expiry in hours
|
668
673
|
* `ssl_required` (boolean): Is SSL required? Disabling this is insecure.
|
669
674
|
* `tls_disabled` (boolean): DO NOT ENABLE. This setting allows TLSv1.0 and TLSv1.1 to be used on your site. We intend to remove this capability entirely in early 2024. If set, the `sftp_insecure_ciphers` flag will be automatically set to true.
|
package/docs/models/User.md
CHANGED
@@ -15,6 +15,7 @@
|
|
15
15
|
"authenticate_until": "2000-01-01T01:00:00Z",
|
16
16
|
"authentication_method": "password",
|
17
17
|
"avatar_url": "example",
|
18
|
+
"billable": true,
|
18
19
|
"billing_permission": true,
|
19
20
|
"bypass_site_allowed_ips": true,
|
20
21
|
"bypass_inactive_disable": true,
|
@@ -82,6 +83,7 @@
|
|
82
83
|
* `authenticate_until` (date-time): Scheduled Date/Time at which user will be deactivated
|
83
84
|
* `authentication_method` (string): How is this user authenticated?
|
84
85
|
* `avatar_url` (string): URL holding the user's avatar
|
86
|
+
* `billable` (boolean): Is this a billable user record?
|
85
87
|
* `billing_permission` (boolean): Allow this user to perform operations on the account, payments, and invoices?
|
86
88
|
* `bypass_site_allowed_ips` (boolean): Allow this user to skip site-wide IP blacklists?
|
87
89
|
* `bypass_inactive_disable` (boolean): Exempt this user from being disabled based on inactivity?
|
@@ -446,6 +448,7 @@ await user.update({
|
|
446
448
|
"authenticate_until": "2000-01-01T01:00:00Z",
|
447
449
|
"authentication_method": "password",
|
448
450
|
"avatar_url": "example",
|
451
|
+
"billable": true,
|
449
452
|
"billing_permission": true,
|
450
453
|
"bypass_site_allowed_ips": true,
|
451
454
|
"bypass_inactive_disable": true,
|
package/lib/Files.js
CHANGED
@@ -11,7 +11,7 @@ var endpointPrefix = '/api/rest/v1';
|
|
11
11
|
var apiKey;
|
12
12
|
var baseUrl = 'https://app.files.com';
|
13
13
|
var sessionId = null;
|
14
|
-
var version = '1.2.
|
14
|
+
var version = '1.2.146';
|
15
15
|
var userAgent = "Files.com JavaScript SDK v".concat(version);
|
16
16
|
var logLevel = _Logger.LogLevel.INFO;
|
17
17
|
var debugRequest = false;
|
package/lib/models/Site.js
CHANGED
@@ -141,6 +141,10 @@ var Site = /*#__PURE__*/(0, _createClass2.default)(function Site() {
|
|
141
141
|
(0, _defineProperty2.default)(this, "getBundleRequireNote", function () {
|
142
142
|
return _this.attributes.bundle_require_note;
|
143
143
|
});
|
144
|
+
// boolean # Do Bundle creators receive receipts of invitations?
|
145
|
+
(0, _defineProperty2.default)(this, "getBundleSendSharedReceipts", function () {
|
146
|
+
return _this.attributes.bundle_send_shared_receipts;
|
147
|
+
});
|
144
148
|
// string # Do Bundle uploaders receive upload confirmation notifications?
|
145
149
|
(0, _defineProperty2.default)(this, "getBundleUploadReceiptNotifications", function () {
|
146
150
|
return _this.attributes.bundle_upload_receipt_notifications;
|
@@ -776,6 +780,7 @@ _Site = Site;
|
|
776
780
|
// left_navigation_visibility - object - Visibility settings for account navigation
|
777
781
|
// additional_text_file_types - array(string) - Additional extensions that are considered text files
|
778
782
|
// bundle_require_note - boolean - Do Bundles require internal notes?
|
783
|
+
// bundle_send_shared_receipts - boolean - Do Bundle creators receive receipts of invitations?
|
779
784
|
// session_expiry - double - Session expiry in hours
|
780
785
|
// ssl_required - boolean - Is SSL required? Disabling this is insecure.
|
781
786
|
// tls_disabled - boolean - DO NOT ENABLE. This setting allows TLSv1.0 and TLSv1.1 to be used on your site. We intend to remove this capability entirely in early 2024. If set, the `sftp_insecure_ciphers` flag will be automatically set to true.
|
package/lib/models/User.js
CHANGED
@@ -96,6 +96,13 @@ var User = /*#__PURE__*/(0, _createClass2.default)(function User() {
|
|
96
96
|
(0, _defineProperty2.default)(this, "setAvatarUrl", function (value) {
|
97
97
|
_this.attributes.avatar_url = value;
|
98
98
|
});
|
99
|
+
// boolean # Is this a billable user record?
|
100
|
+
(0, _defineProperty2.default)(this, "getBillable", function () {
|
101
|
+
return _this.attributes.billable;
|
102
|
+
});
|
103
|
+
(0, _defineProperty2.default)(this, "setBillable", function (value) {
|
104
|
+
_this.attributes.billable = value;
|
105
|
+
});
|
99
106
|
// boolean # Allow this user to perform operations on the account, payments, and invoices?
|
100
107
|
(0, _defineProperty2.default)(this, "getBillingPermission", function () {
|
101
108
|
return _this.attributes.billing_permission;
|
package/package.json
CHANGED
package/src/Files.js
CHANGED
package/src/models/Site.js
CHANGED
@@ -109,6 +109,9 @@ class Site {
|
|
109
109
|
// boolean # Do Bundles require internal notes?
|
110
110
|
getBundleRequireNote = () => this.attributes.bundle_require_note
|
111
111
|
|
112
|
+
// boolean # Do Bundle creators receive receipts of invitations?
|
113
|
+
getBundleSendSharedReceipts = () => this.attributes.bundle_send_shared_receipts
|
114
|
+
|
112
115
|
// string # Do Bundle uploaders receive upload confirmation notifications?
|
113
116
|
getBundleUploadReceiptNotifications = () => this.attributes.bundle_upload_receipt_notifications
|
114
117
|
|
@@ -567,6 +570,7 @@ class Site {
|
|
567
570
|
// left_navigation_visibility - object - Visibility settings for account navigation
|
568
571
|
// additional_text_file_types - array(string) - Additional extensions that are considered text files
|
569
572
|
// bundle_require_note - boolean - Do Bundles require internal notes?
|
573
|
+
// bundle_send_shared_receipts - boolean - Do Bundle creators receive receipts of invitations?
|
570
574
|
// session_expiry - double - Session expiry in hours
|
571
575
|
// ssl_required - boolean - Is SSL required? Disabling this is insecure.
|
572
576
|
// tls_disabled - boolean - DO NOT ENABLE. This setting allows TLSv1.0 and TLSv1.1 to be used on your site. We intend to remove this capability entirely in early 2024. If set, the `sftp_insecure_ciphers` flag will be automatically set to true.
|
package/src/models/User.js
CHANGED
@@ -91,6 +91,13 @@ class User {
|
|
91
91
|
this.attributes.avatar_url = value
|
92
92
|
}
|
93
93
|
|
94
|
+
// boolean # Is this a billable user record?
|
95
|
+
getBillable = () => this.attributes.billable
|
96
|
+
|
97
|
+
setBillable = value => {
|
98
|
+
this.attributes.billable = value
|
99
|
+
}
|
100
|
+
|
94
101
|
// boolean # Allow this user to perform operations on the account, payments, and invoices?
|
95
102
|
getBillingPermission = () => this.attributes.billing_permission
|
96
103
|
|