Skip to content

Commit 1e79ac6

Browse files
[Bot] push changes from Files.com
1 parent 0245388 commit 1e79ac6

File tree

6 files changed

+24
-2
lines changed

6 files changed

+24
-2
lines changed

_VERSION

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
1.0.19
1+
1.0.20

lib/models/Site.js

+3
Original file line numberDiff line numberDiff line change
@@ -219,6 +219,9 @@ var Site = function Site() {
219219
(0, _defineProperty2.default)(this, "getNextBillingDate", function () {
220220
return _this.attributes.next_billing_date;
221221
});
222+
(0, _defineProperty2.default)(this, "getOfficeIntegrationAvailable", function () {
223+
return _this.attributes.office_integration_available;
224+
});
222225
(0, _defineProperty2.default)(this, "getOptOutGlobal", function () {
223226
return _this.attributes.opt_out_global;
224227
});

lib/models/User.js

+6
Original file line numberDiff line numberDiff line change
@@ -192,6 +192,12 @@ var User = function User() {
192192
(0, _defineProperty2.default)(this, "setNotificationDailySendTime", function (value) {
193193
_this.attributes.notification_daily_send_time = value;
194194
});
195+
(0, _defineProperty2.default)(this, "getOfficeIntegrationEnabled", function () {
196+
return _this.attributes.office_integration_enabled;
197+
});
198+
(0, _defineProperty2.default)(this, "setOfficeIntegrationEnabled", function (value) {
199+
_this.attributes.office_integration_enabled = value;
200+
});
195201
(0, _defineProperty2.default)(this, "getPasswordSetAt", function () {
196202
return _this.attributes.password_set_at;
197203
});

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "files.com",
3-
"version": "1.0.0",
3+
"version": "1.0.20",
44
"description": "Files.com SDK for JavaScript",
55
"keywords": [
66
"files.com",

src/models/Site.js

+4
Original file line numberDiff line numberDiff line change
@@ -203,6 +203,9 @@ class Site {
203203
// string # Next billing date
204204
getNextBillingDate = () => this.attributes.next_billing_date
205205

206+
// boolean # Allow users to use Office for the web?
207+
getOfficeIntegrationAvailable = () => this.attributes.office_integration_available
208+
206209
// boolean # Use servers in the USA only?
207210
getOptOutGlobal = () => this.attributes.opt_out_global
208211

@@ -384,6 +387,7 @@ class Site {
384387
// desktop_app_session_lifetime - int64 - Desktop app session lifetime (in hours)
385388
// folder_permissions_groups_only - boolean - If true, permissions for this site must be bound to a group (not a user). Otherwise, permissions must be bound to a user.
386389
// welcome_screen - string - Does the welcome screen appear?
390+
// office_integration_available - boolean - Allow users to use Office for the web?
387391
// session_expiry - double - Session expiry in hours
388392
// ssl_required - boolean - Is SSL required? Disabling this is insecure.
389393
// tls_disabled - boolean - Is TLS disabled(site setting)?

src/models/User.js

+9
Original file line numberDiff line numberDiff line change
@@ -201,6 +201,13 @@ class User {
201201
this.attributes.notification_daily_send_time = value
202202
}
203203

204+
// boolean # Enable integration with Office for the web?
205+
getOfficeIntegrationEnabled = () => this.attributes.office_integration_enabled
206+
207+
setOfficeIntegrationEnabled = value => {
208+
this.attributes.office_integration_enabled = value
209+
}
210+
204211
// date-time # Last time the user's password was set
205212
getPasswordSetAt = () => this.attributes.password_set_at
206213

@@ -499,6 +506,7 @@ class User {
499506
// notification_daily_send_time - int64 - Hour of the day at which daily notifications should be sent. Can be in range 0 to 23
500507
// name - string - User's full name
501508
// notes - string - Any internal notes on the user
509+
// office_integration_enabled - boolean - Enable integration with Office for the web?
502510
// password_validity_days - int64 - Number of days to allow user to use the same password
503511
// receive_admin_alerts - boolean - Should the user receive admin alerts such a certificate expiration notifications and overages?
504512
// require_password_change - boolean - Is a password change required upon next user login?
@@ -740,6 +748,7 @@ class User {
740748
// notification_daily_send_time - int64 - Hour of the day at which daily notifications should be sent. Can be in range 0 to 23
741749
// name - string - User's full name
742750
// notes - string - Any internal notes on the user
751+
// office_integration_enabled - boolean - Enable integration with Office for the web?
743752
// password_validity_days - int64 - Number of days to allow user to use the same password
744753
// receive_admin_alerts - boolean - Should the user receive admin alerts such a certificate expiration notifications and overages?
745754
// require_password_change - boolean - Is a password change required upon next user login?

0 commit comments

Comments
 (0)