files.com 1.0.198 → 1.0.199

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (41) hide show
  1. package/_VERSION +1 -1
  2. package/docs/models/AccountLineItem.md +24 -20
  3. package/docs/models/App.md +1 -1
  4. package/docs/models/Automation.md +10 -6
  5. package/docs/models/Bundle.md +39 -28
  6. package/docs/models/FileComment.md +13 -9
  7. package/docs/models/FormField.md +1 -1
  8. package/docs/models/FormFieldSet.md +36 -32
  9. package/docs/models/Group.md +13 -25
  10. package/docs/models/Invoice.md +24 -20
  11. package/docs/models/InvoiceLineItem.md +1 -1
  12. package/docs/models/Message.md +21 -13
  13. package/docs/models/MessageComment.md +13 -9
  14. package/docs/models/Notification.md +2 -2
  15. package/docs/models/Payment.md +24 -20
  16. package/docs/models/RemoteServer.md +10 -0
  17. package/docs/models/SettingsChange.md +1 -1
  18. package/docs/models/Site.md +8 -0
  19. package/docs/models/Status.md +9 -7
  20. package/docs/models/UsageDailySnapshot.md +1 -1
  21. package/lib/models/Bundle.js +37 -15
  22. package/lib/models/RemoteServer.js +12 -0
  23. package/lib/models/Site.js +6 -0
  24. package/package.json +1 -1
  25. package/src/models/AccountLineItem.js +2 -2
  26. package/src/models/App.js +1 -1
  27. package/src/models/Automation.js +2 -2
  28. package/src/models/Bundle.js +16 -0
  29. package/src/models/FileComment.js +1 -1
  30. package/src/models/FormField.js +1 -1
  31. package/src/models/FormFieldSet.js +2 -2
  32. package/src/models/Group.js +3 -3
  33. package/src/models/Invoice.js +2 -2
  34. package/src/models/Message.js +1 -1
  35. package/src/models/MessageComment.js +1 -1
  36. package/src/models/Notification.js +2 -2
  37. package/src/models/Payment.js +2 -2
  38. package/src/models/RemoteServer.js +16 -0
  39. package/src/models/SettingsChange.js +1 -1
  40. package/src/models/Site.js +8 -0
  41. package/src/models/Status.js +1 -1
@@ -79,6 +79,20 @@ class RemoteServer {
79
79
  this.attributes.max_connections = value
80
80
  }
81
81
 
82
+ // boolean # If true, we will ensure that all communications with this remote server are made through the primary region of the site. This setting can also be overridden by a sitewide setting which will force it to true.
83
+ getPinToSiteRegion = () => this.attributes.pin_to_site_region
84
+
85
+ setPinToSiteRegion = value => {
86
+ this.attributes.pin_to_site_region = value
87
+ }
88
+
89
+ // string # If set, all communciations with this remote server are made through the provided region.
90
+ getPinnedRegion = () => this.attributes.pinned_region
91
+
92
+ setPinnedRegion = value => {
93
+ this.attributes.pinned_region = value
94
+ }
95
+
82
96
  // string # S3 bucket name
83
97
  getS3Bucket = () => this.attributes.s3_bucket
84
98
 
@@ -428,6 +442,7 @@ class RemoteServer {
428
442
  // hostname - string - Hostname or IP address
429
443
  // name - string - Internal name for your reference
430
444
  // max_connections - int64 - Max number of parallel connections. Ignored for S3 connections (we will parallelize these as much as possible).
445
+ // pin_to_site_region - boolean - If true, we will ensure that all communications with this remote server are made through the primary region of the site. This setting can also be overridden by a sitewide setting which will force it to true.
431
446
  // port - int64 - Port for remote server. Not needed for S3.
432
447
  // s3_bucket - string - S3 bucket name
433
448
  // s3_region - string - S3 region
@@ -727,6 +742,7 @@ class RemoteServer {
727
742
  // hostname - string - Hostname or IP address
728
743
  // name - string - Internal name for your reference
729
744
  // max_connections - int64 - Max number of parallel connections. Ignored for S3 connections (we will parallelize these as much as possible).
745
+ // pin_to_site_region - boolean - If true, we will ensure that all communications with this remote server are made through the primary region of the site. This setting can also be overridden by a sitewide setting which will force it to true.
730
746
  // port - int64 - Port for remote server. Not needed for S3.
731
747
  // s3_bucket - string - S3 bucket name
732
748
  // s3_region - string - S3 region
@@ -23,7 +23,7 @@ class SettingsChange {
23
23
  }
24
24
 
25
25
  isLoaded = () => !!this.attributes.id
26
- // string # Markdown-formatted change messages.
26
+ // array # Markdown-formatted change messages.
27
27
  getChanges = () => this.attributes.changes
28
28
 
29
29
  // date-time # The time this change was made
@@ -293,6 +293,9 @@ class Site {
293
293
  // string # Site phone number
294
294
  getPhone = () => this.attributes.phone
295
295
 
296
+ // 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.
297
+ getPinAllRemoteServersToSiteRegion = () => this.attributes.pin_all_remote_servers_to_site_region
298
+
296
299
  // boolean # Require two-factor authentication for all users?
297
300
  getRequire2fa = () => this.attributes.require_2fa
298
301
 
@@ -389,6 +392,9 @@ class Site {
389
392
  // boolean # Enable User Requests feature
390
393
  getUserRequestsEnabled = () => this.attributes.user_requests_enabled
391
394
 
395
+ // boolean # Send email to site admins when a user request is received?
396
+ getUserRequestsNotifyAdmins = () => this.attributes.user_requests_notify_admins
397
+
392
398
  // string # Custom text send in user welcome email
393
399
  getWelcomeCustomText = () => this.attributes.welcome_custom_text
394
400
 
@@ -452,6 +458,7 @@ class Site {
452
458
  // 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.
453
459
  // welcome_screen - string - Does the welcome screen appear?
454
460
  // office_integration_available - boolean - Allow users to use Office for the web?
461
+ // 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.
455
462
  // session_expiry - double - Session expiry in hours
456
463
  // ssl_required - boolean - Is SSL required? Disabling this is insecure.
457
464
  // tls_disabled - boolean - Are Insecure TLS and SFTP Ciphers allowed? Enabling this is insecure.
@@ -488,6 +495,7 @@ class Site {
488
495
  // 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.
489
496
  // sharing_enabled - boolean - Allow bundle creation
490
497
  // user_requests_enabled - boolean - Enable User Requests feature
498
+ // user_requests_notify_admins - boolean - Send email to site admins when a user request is received?
491
499
  // ftp_enabled - boolean - Is FTP enabled?
492
500
  // sftp_enabled - boolean - Is SFTP enabled?
493
501
  // allowed_2fa_method_sms - boolean - Is SMS two factor authentication allowed?
@@ -35,7 +35,7 @@ class Status {
35
35
  // Auto # Additional data
36
36
  getData = () => this.attributes.data
37
37
 
38
- // Errors # A list of api errors
38
+ // array # A list of api errors
39
39
  getErrors = () => this.attributes.errors
40
40
 
41
41
  // int64 # Required Clickwrap id