files.com 1.0.198 → 1.0.201

Sign up to get free protection for your applications and to get access to all the features.
Files changed (43) 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 +18 -10
  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/File.js +4 -2
  23. package/lib/models/RemoteServer.js +12 -0
  24. package/lib/models/Site.js +6 -0
  25. package/package.json +1 -1
  26. package/src/models/AccountLineItem.js +2 -2
  27. package/src/models/App.js +1 -1
  28. package/src/models/Automation.js +2 -2
  29. package/src/models/Bundle.js +16 -0
  30. package/src/models/File.js +1 -0
  31. package/src/models/FileComment.js +1 -1
  32. package/src/models/FormField.js +1 -1
  33. package/src/models/FormFieldSet.js +2 -2
  34. package/src/models/Group.js +3 -3
  35. package/src/models/Invoice.js +2 -2
  36. package/src/models/Message.js +1 -1
  37. package/src/models/MessageComment.js +1 -1
  38. package/src/models/Notification.js +2 -2
  39. package/src/models/Payment.js +2 -2
  40. package/src/models/RemoteServer.js +16 -0
  41. package/src/models/SettingsChange.js +1 -1
  42. package/src/models/Site.js +8 -0
  43. package/src/models/Status.js +1 -1
@@ -41,13 +41,13 @@ class Invoice {
41
41
  // string # Line item download uri
42
42
  getDownloadUri = () => this.attributes.download_uri
43
43
 
44
- // InvoiceLineItem # Associated invoice line items
44
+ // array # Associated invoice line items
45
45
  getInvoiceLineItems = () => this.attributes.invoice_line_items
46
46
 
47
47
  // string # Line item payment method
48
48
  getMethod = () => this.attributes.method
49
49
 
50
- // PaymentLineItem # Associated payment line items
50
+ // array # Associated payment line items
51
51
  getPaymentLineItems = () => this.attributes.payment_line_items
52
52
 
53
53
  // date-time # Date/time payment was reversed if applicable
@@ -44,7 +44,7 @@ class Message {
44
44
  this.attributes.body = value
45
45
  }
46
46
 
47
- // MessageComment # Comments.
47
+ // array # Comments.
48
48
  getComments = () => this.attributes.comments
49
49
 
50
50
  setComments = value => {
@@ -37,7 +37,7 @@ class MessageComment {
37
37
  this.attributes.body = value
38
38
  }
39
39
 
40
- // MessageCommentReaction # Reactions to this comment.
40
+ // array # Reactions to this comment.
41
41
  getReactions = () => this.attributes.reactions
42
42
 
43
43
  setReactions = value => {
@@ -51,14 +51,14 @@ class Notification {
51
51
  this.attributes.group_name = value
52
52
  }
53
53
 
54
- // int64 # Only notify on actions made by a member of one of the specified groups
54
+ // array # Only notify on actions made by a member of one of the specified groups
55
55
  getTriggeringGroupIds = () => this.attributes.triggering_group_ids
56
56
 
57
57
  setTriggeringGroupIds = value => {
58
58
  this.attributes.triggering_group_ids = value
59
59
  }
60
60
 
61
- // int64 # Only notify on actions made one of the specified users
61
+ // array # Only notify on actions made one of the specified users
62
62
  getTriggeringUserIds = () => this.attributes.triggering_user_ids
63
63
 
64
64
  setTriggeringUserIds = value => {
@@ -41,13 +41,13 @@ class Payment {
41
41
  // string # Line item download uri
42
42
  getDownloadUri = () => this.attributes.download_uri
43
43
 
44
- // InvoiceLineItem # Associated invoice line items
44
+ // array # Associated invoice line items
45
45
  getInvoiceLineItems = () => this.attributes.invoice_line_items
46
46
 
47
47
  // string # Line item payment method
48
48
  getMethod = () => this.attributes.method
49
49
 
50
- // PaymentLineItem # Associated payment line items
50
+ // array # Associated payment line items
51
51
  getPaymentLineItems = () => this.attributes.payment_line_items
52
52
 
53
53
  // date-time # Date/time payment was reversed if applicable
@@ -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