files.com 1.0.247 → 1.0.249
Sign up to get free protection for your applications and to get access to all the features.
- package/_VERSION +1 -1
- package/docs/models/RemoteServer.md +16 -2
- package/lib/models/AccountLineItem.js +14 -0
- package/lib/models/Action.js +13 -0
- package/lib/models/ActionNotificationExport.js +27 -0
- package/lib/models/ActionNotificationExportResult.js +15 -0
- package/lib/models/ActionWebhookFailure.js +1 -0
- package/lib/models/ApiKey.js +42 -0
- package/lib/models/App.js +26 -0
- package/lib/models/As2IncomingMessage.js +46 -0
- package/lib/models/As2OutgoingMessage.js +42 -0
- package/lib/models/As2Partner.js +29 -0
- package/lib/models/As2Station.js +31 -0
- package/lib/models/Auto.js +1 -0
- package/lib/models/Automation.js +72 -0
- package/lib/models/AutomationRun.js +20 -0
- package/lib/models/BandwidthSnapshot.js +19 -0
- package/lib/models/Behavior.js +57 -0
- package/lib/models/Bundle.js +98 -0
- package/lib/models/BundleDownload.js +16 -0
- package/lib/models/BundleNotification.js +20 -0
- package/lib/models/BundleRecipient.js +28 -0
- package/lib/models/BundleRegistration.js +18 -0
- package/lib/models/Clickwrap.js +23 -0
- package/lib/models/DnsRecord.js +7 -0
- package/lib/models/Errors.js +2 -0
- package/lib/models/ExternalEvent.js +26 -0
- package/lib/models/File.js +88 -0
- package/lib/models/FileAction.js +2 -0
- package/lib/models/FileComment.js +13 -0
- package/lib/models/FileCommentReaction.js +8 -0
- package/lib/models/FileMigration.js +11 -0
- package/lib/models/FileUploadPart.js +15 -0
- package/lib/models/Folder.js +33 -0
- package/lib/models/FormField.js +8 -0
- package/lib/models/FormFieldSet.js +27 -0
- package/lib/models/Group.js +29 -0
- package/lib/models/GroupUser.js +22 -0
- package/lib/models/History.js +57 -0
- package/lib/models/HistoryExport.js +51 -0
- package/lib/models/HistoryExportResult.js +29 -0
- package/lib/models/Image.js +2 -0
- package/lib/models/InboxRecipient.js +28 -0
- package/lib/models/InboxRegistration.js +15 -0
- package/lib/models/InboxUpload.js +15 -0
- package/lib/models/Invoice.js +19 -0
- package/lib/models/InvoiceLineItem.js +9 -0
- package/lib/models/IpAddress.js +13 -0
- package/lib/models/Lock.js +25 -0
- package/lib/models/Message.js +22 -0
- package/lib/models/MessageComment.js +16 -0
- package/lib/models/MessageCommentReaction.js +13 -0
- package/lib/models/MessageReaction.js +13 -0
- package/lib/models/Notification.js +70 -0
- package/lib/models/Payment.js +19 -0
- package/lib/models/PaymentLineItem.js +4 -0
- package/lib/models/Permission.js +29 -0
- package/lib/models/Preview.js +5 -0
- package/lib/models/Priority.js +6 -0
- package/lib/models/Project.js +11 -0
- package/lib/models/PublicIpAddress.js +4 -0
- package/lib/models/PublicKey.js +18 -0
- package/lib/models/RemoteBandwidthSnapshot.js +15 -0
- package/lib/models/RemoteServer.js +253 -11
- package/lib/models/RemoteServerConfigurationFile.js +12 -0
- package/lib/models/Request.js +25 -0
- package/lib/models/Session.js +13 -0
- package/lib/models/SettingsChange.js +15 -0
- package/lib/models/SftpHostKey.js +16 -0
- package/lib/models/Site.js +276 -0
- package/lib/models/SsoStrategy.js +49 -0
- package/lib/models/Status.js +7 -0
- package/lib/models/Style.js +9 -0
- package/lib/models/UsageDailySnapshot.js +21 -0
- package/lib/models/UsageSnapshot.js +18 -0
- package/lib/models/User.js +183 -0
- package/lib/models/UserCipherUse.js +10 -0
- package/lib/models/UserRequest.js +13 -0
- package/lib/models/WebhookTest.js +24 -0
- package/package.json +1 -1
- package/src/models/RemoteServer.js +41 -0
package/lib/models/Site.js
CHANGED
@@ -31,429 +31,571 @@ var Site = /*#__PURE__*/(0, _createClass2.default)(function Site() {
|
|
31
31
|
(0, _defineProperty2.default)(this, "isLoaded", function () {
|
32
32
|
return !!_this.attributes.id;
|
33
33
|
});
|
34
|
+
// string # Site name
|
34
35
|
(0, _defineProperty2.default)(this, "getName", function () {
|
35
36
|
return _this.attributes.name;
|
36
37
|
});
|
38
|
+
// boolean # Is SMS two factor authentication allowed?
|
37
39
|
(0, _defineProperty2.default)(this, "getAllowed2faMethodSms", function () {
|
38
40
|
return _this.attributes.allowed_2fa_method_sms;
|
39
41
|
});
|
42
|
+
// boolean # Is TOTP two factor authentication allowed?
|
40
43
|
(0, _defineProperty2.default)(this, "getAllowed2faMethodTotp", function () {
|
41
44
|
return _this.attributes.allowed_2fa_method_totp;
|
42
45
|
});
|
46
|
+
// boolean # Is U2F two factor authentication allowed?
|
43
47
|
(0, _defineProperty2.default)(this, "getAllowed2faMethodU2f", function () {
|
44
48
|
return _this.attributes.allowed_2fa_method_u2f;
|
45
49
|
});
|
50
|
+
// boolean # Is WebAuthn two factor authentication allowed?
|
46
51
|
(0, _defineProperty2.default)(this, "getAllowed2faMethodWebauthn", function () {
|
47
52
|
return _this.attributes.allowed_2fa_method_webauthn;
|
48
53
|
});
|
54
|
+
// boolean # Is yubikey two factor authentication allowed?
|
49
55
|
(0, _defineProperty2.default)(this, "getAllowed2faMethodYubi", function () {
|
50
56
|
return _this.attributes.allowed_2fa_method_yubi;
|
51
57
|
});
|
58
|
+
// boolean # Are users allowed to configure their two factor authentication to be bypassed for FTP/SFTP/WebDAV?
|
52
59
|
(0, _defineProperty2.default)(this, "getAllowed2faMethodBypassForFtpSftpDav", function () {
|
53
60
|
return _this.attributes.allowed_2fa_method_bypass_for_ftp_sftp_dav;
|
54
61
|
});
|
62
|
+
// int64 # User ID for the main site administrator
|
55
63
|
(0, _defineProperty2.default)(this, "getAdminUserId", function () {
|
56
64
|
return _this.attributes.admin_user_id;
|
57
65
|
});
|
66
|
+
// boolean # Are manual Bundle names allowed?
|
58
67
|
(0, _defineProperty2.default)(this, "getAllowBundleNames", function () {
|
59
68
|
return _this.attributes.allow_bundle_names;
|
60
69
|
});
|
70
|
+
// string # Comma seperated list of allowed Country codes
|
61
71
|
(0, _defineProperty2.default)(this, "getAllowedCountries", function () {
|
62
72
|
return _this.attributes.allowed_countries;
|
63
73
|
});
|
74
|
+
// string # List of allowed IP addresses
|
64
75
|
(0, _defineProperty2.default)(this, "getAllowedIps", function () {
|
65
76
|
return _this.attributes.allowed_ips;
|
66
77
|
});
|
78
|
+
// boolean # If false, rename conflicting files instead of asking for overwrite confirmation. Only applies to web interface.
|
67
79
|
(0, _defineProperty2.default)(this, "getAskAboutOverwrites", function () {
|
68
80
|
return _this.attributes.ask_about_overwrites;
|
69
81
|
});
|
82
|
+
// string # Do Bundle owners receive activity notifications?
|
70
83
|
(0, _defineProperty2.default)(this, "getBundleActivityNotifications", function () {
|
71
84
|
return _this.attributes.bundle_activity_notifications;
|
72
85
|
});
|
86
|
+
// int64 # Site-wide Bundle expiration in days
|
73
87
|
(0, _defineProperty2.default)(this, "getBundleExpiration", function () {
|
74
88
|
return _this.attributes.bundle_expiration;
|
75
89
|
});
|
90
|
+
// boolean # Do Bundles require password protection?
|
76
91
|
(0, _defineProperty2.default)(this, "getBundlePasswordRequired", function () {
|
77
92
|
return _this.attributes.bundle_password_required;
|
78
93
|
});
|
94
|
+
// string # Do Bundle owners receive registration notification?
|
79
95
|
(0, _defineProperty2.default)(this, "getBundleRegistrationNotifications", function () {
|
80
96
|
return _this.attributes.bundle_registration_notifications;
|
81
97
|
});
|
98
|
+
// boolean # Do Bundles require recipients for sharing?
|
82
99
|
(0, _defineProperty2.default)(this, "getBundleRequireShareRecipient", function () {
|
83
100
|
return _this.attributes.bundle_require_share_recipient;
|
84
101
|
});
|
102
|
+
// string # Do Bundle uploaders receive upload confirmation notifications?
|
85
103
|
(0, _defineProperty2.default)(this, "getBundleUploadReceiptNotifications", function () {
|
86
104
|
return _this.attributes.bundle_upload_receipt_notifications;
|
87
105
|
});
|
106
|
+
// Image # Preview watermark image applied to all bundle items.
|
88
107
|
(0, _defineProperty2.default)(this, "getBundleWatermarkAttachment", function () {
|
89
108
|
return _this.attributes.bundle_watermark_attachment;
|
90
109
|
});
|
110
|
+
// object # Preview watermark settings applied to all bundle items. Uses the same keys as Behavior.value
|
91
111
|
(0, _defineProperty2.default)(this, "getBundleWatermarkValue", function () {
|
92
112
|
return _this.attributes.bundle_watermark_value;
|
93
113
|
});
|
114
|
+
// string # Page link and button color
|
94
115
|
(0, _defineProperty2.default)(this, "getColor2Left", function () {
|
95
116
|
return _this.attributes.color2_left;
|
96
117
|
});
|
118
|
+
// string # Top bar link color
|
97
119
|
(0, _defineProperty2.default)(this, "getColor2Link", function () {
|
98
120
|
return _this.attributes.color2_link;
|
99
121
|
});
|
122
|
+
// string # Page link and button color
|
100
123
|
(0, _defineProperty2.default)(this, "getColor2Text", function () {
|
101
124
|
return _this.attributes.color2_text;
|
102
125
|
});
|
126
|
+
// string # Top bar background color
|
103
127
|
(0, _defineProperty2.default)(this, "getColor2Top", function () {
|
104
128
|
return _this.attributes.color2_top;
|
105
129
|
});
|
130
|
+
// string # Top bar text color
|
106
131
|
(0, _defineProperty2.default)(this, "getColor2TopText", function () {
|
107
132
|
return _this.attributes.color2_top_text;
|
108
133
|
});
|
134
|
+
// string # Site main contact name
|
109
135
|
(0, _defineProperty2.default)(this, "getContactName", function () {
|
110
136
|
return _this.attributes.contact_name;
|
111
137
|
});
|
138
|
+
// date-time # Time this site was created
|
112
139
|
(0, _defineProperty2.default)(this, "getCreatedAt", function () {
|
113
140
|
return _this.attributes.created_at;
|
114
141
|
});
|
142
|
+
// string # Preferred currency
|
115
143
|
(0, _defineProperty2.default)(this, "getCurrency", function () {
|
116
144
|
return _this.attributes.currency;
|
117
145
|
});
|
146
|
+
// boolean # Is this site using a custom namespace for users?
|
118
147
|
(0, _defineProperty2.default)(this, "getCustomNamespace", function () {
|
119
148
|
return _this.attributes.custom_namespace;
|
120
149
|
});
|
150
|
+
// int64 # Number of days to keep deleted files
|
121
151
|
(0, _defineProperty2.default)(this, "getDaysToRetainBackups", function () {
|
122
152
|
return _this.attributes.days_to_retain_backups;
|
123
153
|
});
|
154
|
+
// string # Site default time zone
|
124
155
|
(0, _defineProperty2.default)(this, "getDefaultTimeZone", function () {
|
125
156
|
return _this.attributes.default_time_zone;
|
126
157
|
});
|
158
|
+
// boolean # Is the desktop app enabled?
|
127
159
|
(0, _defineProperty2.default)(this, "getDesktopApp", function () {
|
128
160
|
return _this.attributes.desktop_app;
|
129
161
|
});
|
162
|
+
// boolean # Is desktop app session IP pinning enabled?
|
130
163
|
(0, _defineProperty2.default)(this, "getDesktopAppSessionIpPinning", function () {
|
131
164
|
return _this.attributes.desktop_app_session_ip_pinning;
|
132
165
|
});
|
166
|
+
// int64 # Desktop app session lifetime (in hours)
|
133
167
|
(0, _defineProperty2.default)(this, "getDesktopAppSessionLifetime", function () {
|
134
168
|
return _this.attributes.desktop_app_session_lifetime;
|
135
169
|
});
|
170
|
+
// boolean # Is the mobile app enabled?
|
136
171
|
(0, _defineProperty2.default)(this, "getMobileApp", function () {
|
137
172
|
return _this.attributes.mobile_app;
|
138
173
|
});
|
174
|
+
// boolean # Is mobile app session IP pinning enabled?
|
139
175
|
(0, _defineProperty2.default)(this, "getMobileAppSessionIpPinning", function () {
|
140
176
|
return _this.attributes.mobile_app_session_ip_pinning;
|
141
177
|
});
|
178
|
+
// int64 # Mobile app session lifetime (in hours)
|
142
179
|
(0, _defineProperty2.default)(this, "getMobileAppSessionLifetime", function () {
|
143
180
|
return _this.attributes.mobile_app_session_lifetime;
|
144
181
|
});
|
182
|
+
// string # Comma seperated list of disallowed Country codes
|
145
183
|
(0, _defineProperty2.default)(this, "getDisallowedCountries", function () {
|
146
184
|
return _this.attributes.disallowed_countries;
|
147
185
|
});
|
186
|
+
// boolean # If set, Files.com will not set the CAA records required to generate future SSL certificates for this domain.
|
148
187
|
(0, _defineProperty2.default)(this, "getDisableFilesCertificateGeneration", function () {
|
149
188
|
return _this.attributes.disable_files_certificate_generation;
|
150
189
|
});
|
190
|
+
// boolean # Are notifications disabled?
|
151
191
|
(0, _defineProperty2.default)(this, "getDisableNotifications", function () {
|
152
192
|
return _this.attributes.disable_notifications;
|
153
193
|
});
|
194
|
+
// boolean # Is password reset disabled?
|
154
195
|
(0, _defineProperty2.default)(this, "getDisablePasswordReset", function () {
|
155
196
|
return _this.attributes.disable_password_reset;
|
156
197
|
});
|
198
|
+
// string # Custom domain
|
157
199
|
(0, _defineProperty2.default)(this, "getDomain", function () {
|
158
200
|
return _this.attributes.domain;
|
159
201
|
});
|
202
|
+
// boolean # Send HSTS (HTTP Strict Transport Security) header when visitors access the site via a custom domain?
|
160
203
|
(0, _defineProperty2.default)(this, "getDomainHstsHeader", function () {
|
161
204
|
return _this.attributes.domain_hsts_header;
|
162
205
|
});
|
206
|
+
// string # Letsencrypt chain to use when registering SSL Certificate for domain.
|
163
207
|
(0, _defineProperty2.default)(this, "getDomainLetsencryptChain", function () {
|
164
208
|
return _this.attributes.domain_letsencrypt_chain;
|
165
209
|
});
|
210
|
+
// email # Main email for this site
|
166
211
|
(0, _defineProperty2.default)(this, "getEmail", function () {
|
167
212
|
return _this.attributes.email;
|
168
213
|
});
|
214
|
+
// boolean # Is FTP enabled?
|
169
215
|
(0, _defineProperty2.default)(this, "getFtpEnabled", function () {
|
170
216
|
return _this.attributes.ftp_enabled;
|
171
217
|
});
|
218
|
+
// email # Reply-to email for this site
|
172
219
|
(0, _defineProperty2.default)(this, "getReplyToEmail", function () {
|
173
220
|
return _this.attributes.reply_to_email;
|
174
221
|
});
|
222
|
+
// boolean # If true, groups can be manually created / modified / deleted by Site Admins. Otherwise, groups can only be managed via your SSO provider.
|
175
223
|
(0, _defineProperty2.default)(this, "getNonSsoGroupsAllowed", function () {
|
176
224
|
return _this.attributes.non_sso_groups_allowed;
|
177
225
|
});
|
226
|
+
// boolean # If true, users can be manually created / modified / deleted by Site Admins. Otherwise, users can only be managed via your SSO provider.
|
178
227
|
(0, _defineProperty2.default)(this, "getNonSsoUsersAllowed", function () {
|
179
228
|
return _this.attributes.non_sso_users_allowed;
|
180
229
|
});
|
230
|
+
// boolean # If true, permissions for this site must be bound to a group (not a user). Otherwise, permissions must be bound to a user.
|
181
231
|
(0, _defineProperty2.default)(this, "getFolderPermissionsGroupsOnly", function () {
|
182
232
|
return _this.attributes.folder_permissions_groups_only;
|
183
233
|
});
|
234
|
+
// boolean # Is there a signed HIPAA BAA between Files.com and this site?
|
184
235
|
(0, _defineProperty2.default)(this, "getHipaa", function () {
|
185
236
|
return _this.attributes.hipaa;
|
186
237
|
});
|
238
|
+
// Image # Branded icon 128x128
|
187
239
|
(0, _defineProperty2.default)(this, "getIcon128", function () {
|
188
240
|
return _this.attributes.icon128;
|
189
241
|
});
|
242
|
+
// Image # Branded icon 16x16
|
190
243
|
(0, _defineProperty2.default)(this, "getIcon16", function () {
|
191
244
|
return _this.attributes.icon16;
|
192
245
|
});
|
246
|
+
// Image # Branded icon 32x32
|
193
247
|
(0, _defineProperty2.default)(this, "getIcon32", function () {
|
194
248
|
return _this.attributes.icon32;
|
195
249
|
});
|
250
|
+
// Image # Branded icon 48x48
|
196
251
|
(0, _defineProperty2.default)(this, "getIcon48", function () {
|
197
252
|
return _this.attributes.icon48;
|
198
253
|
});
|
254
|
+
// date-time # Can files be modified?
|
199
255
|
(0, _defineProperty2.default)(this, "getImmutableFilesSetAt", function () {
|
200
256
|
return _this.attributes.immutable_files_set_at;
|
201
257
|
});
|
258
|
+
// boolean # Include password in emails to new users?
|
202
259
|
(0, _defineProperty2.default)(this, "getIncludePasswordInWelcomeEmail", function () {
|
203
260
|
return _this.attributes.include_password_in_welcome_email;
|
204
261
|
});
|
262
|
+
// string # Site default language
|
205
263
|
(0, _defineProperty2.default)(this, "getLanguage", function () {
|
206
264
|
return _this.attributes.language;
|
207
265
|
});
|
266
|
+
// string # Base DN for looking up users in LDAP server
|
208
267
|
(0, _defineProperty2.default)(this, "getLdapBaseDn", function () {
|
209
268
|
return _this.attributes.ldap_base_dn;
|
210
269
|
});
|
270
|
+
// string # Domain name that will be appended to usernames
|
211
271
|
(0, _defineProperty2.default)(this, "getLdapDomain", function () {
|
212
272
|
return _this.attributes.ldap_domain;
|
213
273
|
});
|
274
|
+
// boolean # Main LDAP setting: is LDAP enabled?
|
214
275
|
(0, _defineProperty2.default)(this, "getLdapEnabled", function () {
|
215
276
|
return _this.attributes.ldap_enabled;
|
216
277
|
});
|
278
|
+
// string # Should we sync groups from LDAP server?
|
217
279
|
(0, _defineProperty2.default)(this, "getLdapGroupAction", function () {
|
218
280
|
return _this.attributes.ldap_group_action;
|
219
281
|
});
|
282
|
+
// string # Comma or newline separated list of group names (with optional wildcards) to exclude when syncing.
|
220
283
|
(0, _defineProperty2.default)(this, "getLdapGroupExclusion", function () {
|
221
284
|
return _this.attributes.ldap_group_exclusion;
|
222
285
|
});
|
286
|
+
// string # Comma or newline separated list of group names (with optional wildcards) to include when syncing.
|
223
287
|
(0, _defineProperty2.default)(this, "getLdapGroupInclusion", function () {
|
224
288
|
return _this.attributes.ldap_group_inclusion;
|
225
289
|
});
|
290
|
+
// string # LDAP host
|
226
291
|
(0, _defineProperty2.default)(this, "getLdapHost", function () {
|
227
292
|
return _this.attributes.ldap_host;
|
228
293
|
});
|
294
|
+
// string # LDAP backup host
|
229
295
|
(0, _defineProperty2.default)(this, "getLdapHost2", function () {
|
230
296
|
return _this.attributes.ldap_host_2;
|
231
297
|
});
|
298
|
+
// string # LDAP backup host
|
232
299
|
(0, _defineProperty2.default)(this, "getLdapHost3", function () {
|
233
300
|
return _this.attributes.ldap_host_3;
|
234
301
|
});
|
302
|
+
// int64 # LDAP port
|
235
303
|
(0, _defineProperty2.default)(this, "getLdapPort", function () {
|
236
304
|
return _this.attributes.ldap_port;
|
237
305
|
});
|
306
|
+
// boolean # Use secure LDAP?
|
238
307
|
(0, _defineProperty2.default)(this, "getLdapSecure", function () {
|
239
308
|
return _this.attributes.ldap_secure;
|
240
309
|
});
|
310
|
+
// string # LDAP type
|
241
311
|
(0, _defineProperty2.default)(this, "getLdapType", function () {
|
242
312
|
return _this.attributes.ldap_type;
|
243
313
|
});
|
314
|
+
// string # Should we sync users from LDAP server?
|
244
315
|
(0, _defineProperty2.default)(this, "getLdapUserAction", function () {
|
245
316
|
return _this.attributes.ldap_user_action;
|
246
317
|
});
|
318
|
+
// string # Comma or newline separated list of group names (with optional wildcards) - if provided, only users in these groups will be added or synced.
|
247
319
|
(0, _defineProperty2.default)(this, "getLdapUserIncludeGroups", function () {
|
248
320
|
return _this.attributes.ldap_user_include_groups;
|
249
321
|
});
|
322
|
+
// string # Username for signing in to LDAP server.
|
250
323
|
(0, _defineProperty2.default)(this, "getLdapUsername", function () {
|
251
324
|
return _this.attributes.ldap_username;
|
252
325
|
});
|
326
|
+
// string # LDAP username field
|
253
327
|
(0, _defineProperty2.default)(this, "getLdapUsernameField", function () {
|
254
328
|
return _this.attributes.ldap_username_field;
|
255
329
|
});
|
330
|
+
// string # Login help text
|
256
331
|
(0, _defineProperty2.default)(this, "getLoginHelpText", function () {
|
257
332
|
return _this.attributes.login_help_text;
|
258
333
|
});
|
334
|
+
// Image # Branded logo
|
259
335
|
(0, _defineProperty2.default)(this, "getLogo", function () {
|
260
336
|
return _this.attributes.logo;
|
261
337
|
});
|
338
|
+
// int64 # Number of prior passwords to disallow
|
262
339
|
(0, _defineProperty2.default)(this, "getMaxPriorPasswords", function () {
|
263
340
|
return _this.attributes.max_prior_passwords;
|
264
341
|
});
|
342
|
+
// string # A message to show users when they connect via FTP or SFTP.
|
265
343
|
(0, _defineProperty2.default)(this, "getMotdText", function () {
|
266
344
|
return _this.attributes.motd_text;
|
267
345
|
});
|
346
|
+
// boolean # Show message to users connecting via FTP
|
268
347
|
(0, _defineProperty2.default)(this, "getMotdUseForFtp", function () {
|
269
348
|
return _this.attributes.motd_use_for_ftp;
|
270
349
|
});
|
350
|
+
// boolean # Show message to users connecting via SFTP
|
271
351
|
(0, _defineProperty2.default)(this, "getMotdUseForSftp", function () {
|
272
352
|
return _this.attributes.motd_use_for_sftp;
|
273
353
|
});
|
354
|
+
// double # Next billing amount
|
274
355
|
(0, _defineProperty2.default)(this, "getNextBillingAmount", function () {
|
275
356
|
return _this.attributes.next_billing_amount;
|
276
357
|
});
|
358
|
+
// string # Next billing date
|
277
359
|
(0, _defineProperty2.default)(this, "getNextBillingDate", function () {
|
278
360
|
return _this.attributes.next_billing_date;
|
279
361
|
});
|
362
|
+
// boolean # Allow users to use Office for the web?
|
280
363
|
(0, _defineProperty2.default)(this, "getOfficeIntegrationAvailable", function () {
|
281
364
|
return _this.attributes.office_integration_available;
|
282
365
|
});
|
366
|
+
// string # Office integration application used to edit and view the MS Office documents
|
283
367
|
(0, _defineProperty2.default)(this, "getOfficeIntegrationType", function () {
|
284
368
|
return _this.attributes.office_integration_type;
|
285
369
|
});
|
370
|
+
// string # Link to scheduling a meeting with our Sales team
|
286
371
|
(0, _defineProperty2.default)(this, "getOncehubLink", function () {
|
287
372
|
return _this.attributes.oncehub_link;
|
288
373
|
});
|
374
|
+
// boolean # Use servers in the USA only?
|
289
375
|
(0, _defineProperty2.default)(this, "getOptOutGlobal", function () {
|
290
376
|
return _this.attributes.opt_out_global;
|
291
377
|
});
|
378
|
+
// date-time # Last time the site was notified about an overage
|
292
379
|
(0, _defineProperty2.default)(this, "getOverageNotifiedAt", function () {
|
293
380
|
return _this.attributes.overage_notified_at;
|
294
381
|
});
|
382
|
+
// boolean # Notify site email of overages?
|
295
383
|
(0, _defineProperty2.default)(this, "getOverageNotify", function () {
|
296
384
|
return _this.attributes.overage_notify;
|
297
385
|
});
|
386
|
+
// boolean # Is this site's billing overdue?
|
298
387
|
(0, _defineProperty2.default)(this, "getOverdue", function () {
|
299
388
|
return _this.attributes.overdue;
|
300
389
|
});
|
390
|
+
// int64 # Shortest password length for users
|
301
391
|
(0, _defineProperty2.default)(this, "getPasswordMinLength", function () {
|
302
392
|
return _this.attributes.password_min_length;
|
303
393
|
});
|
394
|
+
// boolean # Require a letter in passwords?
|
304
395
|
(0, _defineProperty2.default)(this, "getPasswordRequireLetter", function () {
|
305
396
|
return _this.attributes.password_require_letter;
|
306
397
|
});
|
398
|
+
// boolean # Require lower and upper case letters in passwords?
|
307
399
|
(0, _defineProperty2.default)(this, "getPasswordRequireMixed", function () {
|
308
400
|
return _this.attributes.password_require_mixed;
|
309
401
|
});
|
402
|
+
// boolean # Require a number in passwords?
|
310
403
|
(0, _defineProperty2.default)(this, "getPasswordRequireNumber", function () {
|
311
404
|
return _this.attributes.password_require_number;
|
312
405
|
});
|
406
|
+
// boolean # Require special characters in password?
|
313
407
|
(0, _defineProperty2.default)(this, "getPasswordRequireSpecial", function () {
|
314
408
|
return _this.attributes.password_require_special;
|
315
409
|
});
|
410
|
+
// boolean # Require passwords that have not been previously breached? (see https://haveibeenpwned.com/)
|
316
411
|
(0, _defineProperty2.default)(this, "getPasswordRequireUnbreached", function () {
|
317
412
|
return _this.attributes.password_require_unbreached;
|
318
413
|
});
|
414
|
+
// boolean # Require bundles' passwords, and passwords for other items (inboxes, public shares, etc.) to conform to the same requirements as users' passwords?
|
319
415
|
(0, _defineProperty2.default)(this, "getPasswordRequirementsApplyToBundles", function () {
|
320
416
|
return _this.attributes.password_requirements_apply_to_bundles;
|
321
417
|
});
|
418
|
+
// int64 # Number of days password is valid
|
322
419
|
(0, _defineProperty2.default)(this, "getPasswordValidityDays", function () {
|
323
420
|
return _this.attributes.password_validity_days;
|
324
421
|
});
|
422
|
+
// string # Site phone number
|
325
423
|
(0, _defineProperty2.default)(this, "getPhone", function () {
|
326
424
|
return _this.attributes.phone;
|
327
425
|
});
|
426
|
+
// boolean # If true, we will ensure that all internal communications with any remote server are made through the primary region of the site. This setting overrides individual remote server settings.
|
328
427
|
(0, _defineProperty2.default)(this, "getPinAllRemoteServersToSiteRegion", function () {
|
329
428
|
return _this.attributes.pin_all_remote_servers_to_site_region;
|
330
429
|
});
|
430
|
+
// boolean # Require two-factor authentication for all users?
|
331
431
|
(0, _defineProperty2.default)(this, "getRequire2fa", function () {
|
332
432
|
return _this.attributes.require_2fa;
|
333
433
|
});
|
434
|
+
// date-time # If set, requirement for two-factor authentication has been scheduled to end on this date-time.
|
334
435
|
(0, _defineProperty2.default)(this, "getRequire2faStopTime", function () {
|
335
436
|
return _this.attributes.require_2fa_stop_time;
|
336
437
|
});
|
438
|
+
// string # What type of user is required to use two-factor authentication (when require_2fa is set to `true` for this site)?
|
337
439
|
(0, _defineProperty2.default)(this, "getRequire2faUserType", function () {
|
338
440
|
return _this.attributes.require_2fa_user_type;
|
339
441
|
});
|
442
|
+
// Session # Current session
|
340
443
|
(0, _defineProperty2.default)(this, "getSession", function () {
|
341
444
|
return _this.attributes.session;
|
342
445
|
});
|
446
|
+
// boolean # Are sessions locked to the same IP? (i.e. do users need to log in again if they change IPs?)
|
343
447
|
(0, _defineProperty2.default)(this, "getSessionPinnedByIp", function () {
|
344
448
|
return _this.attributes.session_pinned_by_ip;
|
345
449
|
});
|
450
|
+
// boolean # Is SFTP enabled?
|
346
451
|
(0, _defineProperty2.default)(this, "getSftpEnabled", function () {
|
347
452
|
return _this.attributes.sftp_enabled;
|
348
453
|
});
|
454
|
+
// string # Sftp Host Key Type
|
349
455
|
(0, _defineProperty2.default)(this, "getSftpHostKeyType", function () {
|
350
456
|
return _this.attributes.sftp_host_key_type;
|
351
457
|
});
|
458
|
+
// int64 # Id of the currently selected custom SFTP Host Key
|
352
459
|
(0, _defineProperty2.default)(this, "getActiveSftpHostKeyId", function () {
|
353
460
|
return _this.attributes.active_sftp_host_key_id;
|
354
461
|
});
|
462
|
+
// boolean # Are Insecure Ciphers allowed for SFTP? Note: Settting TLS Disabled -> True will always allow insecure ciphers for SFTP as well. Enabling this is insecure.
|
355
463
|
(0, _defineProperty2.default)(this, "getSftpInsecureCiphers", function () {
|
356
464
|
return _this.attributes.sftp_insecure_ciphers;
|
357
465
|
});
|
466
|
+
// boolean # Use user FTP roots also for SFTP?
|
358
467
|
(0, _defineProperty2.default)(this, "getSftpUserRootEnabled", function () {
|
359
468
|
return _this.attributes.sftp_user_root_enabled;
|
360
469
|
});
|
470
|
+
// boolean # Allow bundle creation
|
361
471
|
(0, _defineProperty2.default)(this, "getSharingEnabled", function () {
|
362
472
|
return _this.attributes.sharing_enabled;
|
363
473
|
});
|
474
|
+
// boolean # Show request access link for users without access? Currently unused.
|
364
475
|
(0, _defineProperty2.default)(this, "getShowRequestAccessLink", function () {
|
365
476
|
return _this.attributes.show_request_access_link;
|
366
477
|
});
|
478
|
+
// string # Custom site footer text
|
367
479
|
(0, _defineProperty2.default)(this, "getSiteFooter", function () {
|
368
480
|
return _this.attributes.site_footer;
|
369
481
|
});
|
482
|
+
// string # Custom site header text
|
370
483
|
(0, _defineProperty2.default)(this, "getSiteHeader", function () {
|
371
484
|
return _this.attributes.site_header;
|
372
485
|
});
|
486
|
+
// string # SMTP server hostname or IP
|
373
487
|
(0, _defineProperty2.default)(this, "getSmtpAddress", function () {
|
374
488
|
return _this.attributes.smtp_address;
|
375
489
|
});
|
490
|
+
// string # SMTP server authentication type
|
376
491
|
(0, _defineProperty2.default)(this, "getSmtpAuthentication", function () {
|
377
492
|
return _this.attributes.smtp_authentication;
|
378
493
|
});
|
494
|
+
// string # From address to use when mailing through custom SMTP
|
379
495
|
(0, _defineProperty2.default)(this, "getSmtpFrom", function () {
|
380
496
|
return _this.attributes.smtp_from;
|
381
497
|
});
|
498
|
+
// int64 # SMTP server port
|
382
499
|
(0, _defineProperty2.default)(this, "getSmtpPort", function () {
|
383
500
|
return _this.attributes.smtp_port;
|
384
501
|
});
|
502
|
+
// string # SMTP server username
|
385
503
|
(0, _defineProperty2.default)(this, "getSmtpUsername", function () {
|
386
504
|
return _this.attributes.smtp_username;
|
387
505
|
});
|
506
|
+
// double # Session expiry in hours
|
388
507
|
(0, _defineProperty2.default)(this, "getSessionExpiry", function () {
|
389
508
|
return _this.attributes.session_expiry;
|
390
509
|
});
|
510
|
+
// int64 # Session expiry in minutes
|
391
511
|
(0, _defineProperty2.default)(this, "getSessionExpiryMinutes", function () {
|
392
512
|
return _this.attributes.session_expiry_minutes;
|
393
513
|
});
|
514
|
+
// boolean # Is SSL required? Disabling this is insecure.
|
394
515
|
(0, _defineProperty2.default)(this, "getSslRequired", function () {
|
395
516
|
return _this.attributes.ssl_required;
|
396
517
|
});
|
518
|
+
// string # Site subdomain
|
397
519
|
(0, _defineProperty2.default)(this, "getSubdomain", function () {
|
398
520
|
return _this.attributes.subdomain;
|
399
521
|
});
|
522
|
+
// date-time # If switching plans, when does the new plan take effect?
|
400
523
|
(0, _defineProperty2.default)(this, "getSwitchToPlanDate", function () {
|
401
524
|
return _this.attributes.switch_to_plan_date;
|
402
525
|
});
|
526
|
+
// boolean # Are Insecure TLS and SFTP Ciphers allowed? Enabling this is insecure.
|
403
527
|
(0, _defineProperty2.default)(this, "getTlsDisabled", function () {
|
404
528
|
return _this.attributes.tls_disabled;
|
405
529
|
});
|
530
|
+
// int64 # Number of days left in trial
|
406
531
|
(0, _defineProperty2.default)(this, "getTrialDaysLeft", function () {
|
407
532
|
return _this.attributes.trial_days_left;
|
408
533
|
});
|
534
|
+
// date-time # When does this Site trial expire?
|
409
535
|
(0, _defineProperty2.default)(this, "getTrialUntil", function () {
|
410
536
|
return _this.attributes.trial_until;
|
411
537
|
});
|
538
|
+
// date-time # Last time this Site was updated
|
412
539
|
(0, _defineProperty2.default)(this, "getUpdatedAt", function () {
|
413
540
|
return _this.attributes.updated_at;
|
414
541
|
});
|
542
|
+
// boolean # Allow uploaders to set `provided_modified_at` for uploaded files?
|
415
543
|
(0, _defineProperty2.default)(this, "getUseProvidedModifiedAt", function () {
|
416
544
|
return _this.attributes.use_provided_modified_at;
|
417
545
|
});
|
546
|
+
// User # User of current session
|
418
547
|
(0, _defineProperty2.default)(this, "getUser", function () {
|
419
548
|
return _this.attributes.user;
|
420
549
|
});
|
550
|
+
// boolean # Will users be locked out after incorrect login attempts?
|
421
551
|
(0, _defineProperty2.default)(this, "getUserLockout", function () {
|
422
552
|
return _this.attributes.user_lockout;
|
423
553
|
});
|
554
|
+
// int64 # How many hours to lock user out for failed password?
|
424
555
|
(0, _defineProperty2.default)(this, "getUserLockoutLockPeriod", function () {
|
425
556
|
return _this.attributes.user_lockout_lock_period;
|
426
557
|
});
|
558
|
+
// int64 # Number of login tries within `user_lockout_within` hours before users are locked out
|
427
559
|
(0, _defineProperty2.default)(this, "getUserLockoutTries", function () {
|
428
560
|
return _this.attributes.user_lockout_tries;
|
429
561
|
});
|
562
|
+
// int64 # Number of hours for user lockout window
|
430
563
|
(0, _defineProperty2.default)(this, "getUserLockoutWithin", function () {
|
431
564
|
return _this.attributes.user_lockout_within;
|
432
565
|
});
|
566
|
+
// boolean # Enable User Requests feature
|
433
567
|
(0, _defineProperty2.default)(this, "getUserRequestsEnabled", function () {
|
434
568
|
return _this.attributes.user_requests_enabled;
|
435
569
|
});
|
570
|
+
// boolean # Send email to site admins when a user request is received?
|
436
571
|
(0, _defineProperty2.default)(this, "getUserRequestsNotifyAdmins", function () {
|
437
572
|
return _this.attributes.user_requests_notify_admins;
|
438
573
|
});
|
574
|
+
// string # Custom text send in user welcome email
|
439
575
|
(0, _defineProperty2.default)(this, "getWelcomeCustomText", function () {
|
440
576
|
return _this.attributes.welcome_custom_text;
|
441
577
|
});
|
578
|
+
// email # Include this email in welcome emails if enabled
|
442
579
|
(0, _defineProperty2.default)(this, "getWelcomeEmailCc", function () {
|
443
580
|
return _this.attributes.welcome_email_cc;
|
444
581
|
});
|
582
|
+
// string # Include this email subject in welcome emails if enabled
|
445
583
|
(0, _defineProperty2.default)(this, "getWelcomeEmailSubject", function () {
|
446
584
|
return _this.attributes.welcome_email_subject;
|
447
585
|
});
|
586
|
+
// boolean # Will the welcome email be sent to new users?
|
448
587
|
(0, _defineProperty2.default)(this, "getWelcomeEmailEnabled", function () {
|
449
588
|
return _this.attributes.welcome_email_enabled;
|
450
589
|
});
|
590
|
+
// string # Does the welcome screen appear?
|
451
591
|
(0, _defineProperty2.default)(this, "getWelcomeScreen", function () {
|
452
592
|
return _this.attributes.welcome_screen;
|
453
593
|
});
|
594
|
+
// boolean # Does FTP user Windows emulation mode?
|
454
595
|
(0, _defineProperty2.default)(this, "getWindowsModeFtp", function () {
|
455
596
|
return _this.attributes.windows_mode_ftp;
|
456
597
|
});
|
598
|
+
// int64 # If greater than zero, users will unable to login if they do not show activity within this number of days.
|
457
599
|
(0, _defineProperty2.default)(this, "getDisableUsersFromInactivityPeriodDays", function () {
|
458
600
|
return _this.attributes.disable_users_from_inactivity_period_days;
|
459
601
|
});
|
@@ -508,6 +650,140 @@ var Site = /*#__PURE__*/(0, _createClass2.default)(function Site() {
|
|
508
650
|
}
|
509
651
|
}, _callee2);
|
510
652
|
})));
|
653
|
+
// Parameters:
|
654
|
+
// name - string - Site name
|
655
|
+
// subdomain - string - Site subdomain
|
656
|
+
// domain - string - Custom domain
|
657
|
+
// domain_hsts_header - boolean - Send HSTS (HTTP Strict Transport Security) header when visitors access the site via a custom domain?
|
658
|
+
// domain_letsencrypt_chain - string - Letsencrypt chain to use when registering SSL Certificate for domain.
|
659
|
+
// email - string - Main email for this site
|
660
|
+
// reply_to_email - string - Reply-to email for this site
|
661
|
+
// allow_bundle_names - boolean - Are manual Bundle names allowed?
|
662
|
+
// bundle_expiration - int64 - Site-wide Bundle expiration in days
|
663
|
+
// overage_notify - boolean - Notify site email of overages?
|
664
|
+
// welcome_email_enabled - boolean - Will the welcome email be sent to new users?
|
665
|
+
// ask_about_overwrites - boolean - If false, rename conflicting files instead of asking for overwrite confirmation. Only applies to web interface.
|
666
|
+
// show_request_access_link - boolean - Show request access link for users without access? Currently unused.
|
667
|
+
// welcome_email_cc - string - Include this email in welcome emails if enabled
|
668
|
+
// welcome_email_subject - string - Include this email subject in welcome emails if enabled
|
669
|
+
// welcome_custom_text - string - Custom text send in user welcome email
|
670
|
+
// language - string - Site default language
|
671
|
+
// windows_mode_ftp - boolean - Does FTP user Windows emulation mode?
|
672
|
+
// default_time_zone - string - Site default time zone
|
673
|
+
// desktop_app - boolean - Is the desktop app enabled?
|
674
|
+
// desktop_app_session_ip_pinning - boolean - Is desktop app session IP pinning enabled?
|
675
|
+
// desktop_app_session_lifetime - int64 - Desktop app session lifetime (in hours)
|
676
|
+
// mobile_app - boolean - Is the mobile app enabled?
|
677
|
+
// mobile_app_session_ip_pinning - boolean - Is mobile app session IP pinning enabled?
|
678
|
+
// mobile_app_session_lifetime - int64 - Mobile app session lifetime (in hours)
|
679
|
+
// 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.
|
680
|
+
// welcome_screen - string - Does the welcome screen appear?
|
681
|
+
// office_integration_available - boolean - Allow users to use Office for the web?
|
682
|
+
// office_integration_type - string - Office integration application used to edit and view the MS Office documents
|
683
|
+
// pin_all_remote_servers_to_site_region - boolean - If true, we will ensure that all internal communications with any remote server are made through the primary region of the site. This setting overrides individual remote server settings.
|
684
|
+
// motd_text - string - A message to show users when they connect via FTP or SFTP.
|
685
|
+
// motd_use_for_ftp - boolean - Show message to users connecting via FTP
|
686
|
+
// motd_use_for_sftp - boolean - Show message to users connecting via SFTP
|
687
|
+
// session_expiry - double - Session expiry in hours
|
688
|
+
// ssl_required - boolean - Is SSL required? Disabling this is insecure.
|
689
|
+
// tls_disabled - boolean - Are Insecure TLS and SFTP Ciphers allowed? Enabling this is insecure.
|
690
|
+
// sftp_insecure_ciphers - boolean - Are Insecure Ciphers allowed for SFTP? Note: Settting TLS Disabled -> True will always allow insecure ciphers for SFTP as well. Enabling this is insecure.
|
691
|
+
// disable_files_certificate_generation - boolean - If set, Files.com will not set the CAA records required to generate future SSL certificates for this domain.
|
692
|
+
// user_lockout - boolean - Will users be locked out after incorrect login attempts?
|
693
|
+
// user_lockout_tries - int64 - Number of login tries within `user_lockout_within` hours before users are locked out
|
694
|
+
// user_lockout_within - int64 - Number of hours for user lockout window
|
695
|
+
// user_lockout_lock_period - int64 - How many hours to lock user out for failed password?
|
696
|
+
// include_password_in_welcome_email - boolean - Include password in emails to new users?
|
697
|
+
// allowed_countries - string - Comma seperated list of allowed Country codes
|
698
|
+
// allowed_ips - string - List of allowed IP addresses
|
699
|
+
// disallowed_countries - string - Comma seperated list of disallowed Country codes
|
700
|
+
// days_to_retain_backups - int64 - Number of days to keep deleted files
|
701
|
+
// max_prior_passwords - int64 - Number of prior passwords to disallow
|
702
|
+
// password_validity_days - int64 - Number of days password is valid
|
703
|
+
// password_min_length - int64 - Shortest password length for users
|
704
|
+
// password_require_letter - boolean - Require a letter in passwords?
|
705
|
+
// password_require_mixed - boolean - Require lower and upper case letters in passwords?
|
706
|
+
// password_require_special - boolean - Require special characters in password?
|
707
|
+
// password_require_number - boolean - Require a number in passwords?
|
708
|
+
// password_require_unbreached - boolean - Require passwords that have not been previously breached? (see https://haveibeenpwned.com/)
|
709
|
+
// sftp_user_root_enabled - boolean - Use user FTP roots also for SFTP?
|
710
|
+
// disable_password_reset - boolean - Is password reset disabled?
|
711
|
+
// immutable_files - boolean - Are files protected from modification?
|
712
|
+
// session_pinned_by_ip - boolean - Are sessions locked to the same IP? (i.e. do users need to log in again if they change IPs?)
|
713
|
+
// bundle_password_required - boolean - Do Bundles require password protection?
|
714
|
+
// bundle_require_share_recipient - boolean - Do Bundles require recipients for sharing?
|
715
|
+
// bundle_registration_notifications - string - Do Bundle owners receive registration notification?
|
716
|
+
// bundle_activity_notifications - string - Do Bundle owners receive activity notifications?
|
717
|
+
// bundle_upload_receipt_notifications - string - Do Bundle uploaders receive upload confirmation notifications?
|
718
|
+
// password_requirements_apply_to_bundles - boolean - Require bundles' passwords, and passwords for other items (inboxes, public shares, etc.) to conform to the same requirements as users' passwords?
|
719
|
+
// opt_out_global - boolean - Use servers in the USA only?
|
720
|
+
// use_provided_modified_at - boolean - Allow uploaders to set `provided_modified_at` for uploaded files?
|
721
|
+
// custom_namespace - boolean - Is this site using a custom namespace for users?
|
722
|
+
// disable_users_from_inactivity_period_days - int64 - If greater than zero, users will unable to login if they do not show activity within this number of days.
|
723
|
+
// non_sso_groups_allowed - boolean - If true, groups can be manually created / modified / deleted by Site Admins. Otherwise, groups can only be managed via your SSO provider.
|
724
|
+
// non_sso_users_allowed - boolean - If true, users can be manually created / modified / deleted by Site Admins. Otherwise, users can only be managed via your SSO provider.
|
725
|
+
// sharing_enabled - boolean - Allow bundle creation
|
726
|
+
// user_requests_enabled - boolean - Enable User Requests feature
|
727
|
+
// user_requests_notify_admins - boolean - Send email to site admins when a user request is received?
|
728
|
+
// ftp_enabled - boolean - Is FTP enabled?
|
729
|
+
// sftp_enabled - boolean - Is SFTP enabled?
|
730
|
+
// sftp_host_key_type - string - Sftp Host Key Type
|
731
|
+
// active_sftp_host_key_id - int64 - Id of the currently selected custom SFTP Host Key
|
732
|
+
// bundle_watermark_value - object - Preview watermark settings applied to all bundle items. Uses the same keys as Behavior.value
|
733
|
+
// allowed_2fa_method_sms - boolean - Is SMS two factor authentication allowed?
|
734
|
+
// allowed_2fa_method_u2f - boolean - Is U2F two factor authentication allowed?
|
735
|
+
// allowed_2fa_method_totp - boolean - Is TOTP two factor authentication allowed?
|
736
|
+
// allowed_2fa_method_webauthn - boolean - Is WebAuthn two factor authentication allowed?
|
737
|
+
// allowed_2fa_method_yubi - boolean - Is yubikey two factor authentication allowed?
|
738
|
+
// allowed_2fa_method_bypass_for_ftp_sftp_dav - boolean - Are users allowed to configure their two factor authentication to be bypassed for FTP/SFTP/WebDAV?
|
739
|
+
// require_2fa - boolean - Require two-factor authentication for all users?
|
740
|
+
// require_2fa_user_type - string - What type of user is required to use two-factor authentication (when require_2fa is set to `true` for this site)?
|
741
|
+
// color2_top - string - Top bar background color
|
742
|
+
// color2_left - string - Page link and button color
|
743
|
+
// color2_link - string - Top bar link color
|
744
|
+
// color2_text - string - Page link and button color
|
745
|
+
// color2_top_text - string - Top bar text color
|
746
|
+
// site_header - string - Custom site header text
|
747
|
+
// site_footer - string - Custom site footer text
|
748
|
+
// login_help_text - string - Login help text
|
749
|
+
// smtp_address - string - SMTP server hostname or IP
|
750
|
+
// smtp_authentication - string - SMTP server authentication type
|
751
|
+
// smtp_from - string - From address to use when mailing through custom SMTP
|
752
|
+
// smtp_username - string - SMTP server username
|
753
|
+
// smtp_port - int64 - SMTP server port
|
754
|
+
// ldap_enabled - boolean - Main LDAP setting: is LDAP enabled?
|
755
|
+
// ldap_type - string - LDAP type
|
756
|
+
// ldap_host - string - LDAP host
|
757
|
+
// ldap_host_2 - string - LDAP backup host
|
758
|
+
// ldap_host_3 - string - LDAP backup host
|
759
|
+
// ldap_port - int64 - LDAP port
|
760
|
+
// ldap_secure - boolean - Use secure LDAP?
|
761
|
+
// ldap_username - string - Username for signing in to LDAP server.
|
762
|
+
// ldap_username_field - string - LDAP username field
|
763
|
+
// ldap_domain - string - Domain name that will be appended to usernames
|
764
|
+
// ldap_user_action - string - Should we sync users from LDAP server?
|
765
|
+
// ldap_group_action - string - Should we sync groups from LDAP server?
|
766
|
+
// ldap_user_include_groups - string - Comma or newline separated list of group names (with optional wildcards) - if provided, only users in these groups will be added or synced.
|
767
|
+
// ldap_group_exclusion - string - Comma or newline separated list of group names (with optional wildcards) to exclude when syncing.
|
768
|
+
// ldap_group_inclusion - string - Comma or newline separated list of group names (with optional wildcards) to include when syncing.
|
769
|
+
// ldap_base_dn - string - Base DN for looking up users in LDAP server
|
770
|
+
// icon16_file - file
|
771
|
+
// icon16_delete - boolean - If true, will delete the file stored in icon16
|
772
|
+
// icon32_file - file
|
773
|
+
// icon32_delete - boolean - If true, will delete the file stored in icon32
|
774
|
+
// icon48_file - file
|
775
|
+
// icon48_delete - boolean - If true, will delete the file stored in icon48
|
776
|
+
// icon128_file - file
|
777
|
+
// icon128_delete - boolean - If true, will delete the file stored in icon128
|
778
|
+
// logo_file - file
|
779
|
+
// logo_delete - boolean - If true, will delete the file stored in logo
|
780
|
+
// bundle_watermark_attachment_file - file
|
781
|
+
// bundle_watermark_attachment_delete - boolean - If true, will delete the file stored in bundle_watermark_attachment
|
782
|
+
// disable_2fa_with_delay - boolean - If set to true, we will begin the process of disabling 2FA on this site.
|
783
|
+
// ldap_password_change - string - New LDAP password.
|
784
|
+
// ldap_password_change_confirmation - string - Confirm new LDAP password.
|
785
|
+
// smtp_password - string - Password for SMTP server.
|
786
|
+
// session_expiry_minutes - int64 - Session expiry in minutes
|
511
787
|
(0, _defineProperty2.default)(Site, "update", /*#__PURE__*/(0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee3() {
|
512
788
|
var params,
|
513
789
|
options,
|