files-com 1.6.7__py3-none-any.whl → 1.6.113__py3-none-any.whl

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.

Potentially problematic release.


This version of files-com might be problematic. Click here for more details.

Files changed (53) hide show
  1. README.md +80 -18
  2. _VERSION +1 -1
  3. {files_com-1.6.7.dist-info → files_com-1.6.113.dist-info}/METADATA +81 -19
  4. {files_com-1.6.7.dist-info → files_com-1.6.113.dist-info}/RECORD +53 -46
  5. files_sdk/__init__.py +17 -1
  6. files_sdk/error.py +98 -23
  7. files_sdk/models/__init__.py +9 -0
  8. files_sdk/models/api_key.py +10 -0
  9. files_sdk/models/api_request_log.py +21 -3
  10. files_sdk/models/as2_partner.py +31 -9
  11. files_sdk/models/as2_station.py +1 -1
  12. files_sdk/models/automation.py +65 -5
  13. files_sdk/models/automation_log.py +20 -3
  14. files_sdk/models/behavior.py +2 -16
  15. files_sdk/models/bundle.py +1 -1
  16. files_sdk/models/bundle_action.py +5 -1
  17. files_sdk/models/bundle_registration.py +1 -1
  18. files_sdk/models/child_site_management_policy.py +278 -0
  19. files_sdk/models/email_log.py +17 -7
  20. files_sdk/models/exavault_api_request_log.py +20 -3
  21. files_sdk/models/file.py +8 -0
  22. files_sdk/models/file_migration_log.py +17 -7
  23. files_sdk/models/folder.py +11 -1
  24. files_sdk/models/ftp_action_log.py +20 -3
  25. files_sdk/models/gpg_key.py +61 -9
  26. files_sdk/models/history_export.py +4 -4
  27. files_sdk/models/history_export_result.py +2 -2
  28. files_sdk/models/holiday_region.py +58 -0
  29. files_sdk/models/inbox_registration.py +1 -1
  30. files_sdk/models/invoice_line_item.py +5 -0
  31. files_sdk/models/outbound_connection_log.py +20 -3
  32. files_sdk/models/partner.py +296 -0
  33. files_sdk/models/permission.py +10 -2
  34. files_sdk/models/public_hosting_request_log.py +27 -8
  35. files_sdk/models/public_key.py +59 -3
  36. files_sdk/models/remote_mount_backend.py +438 -0
  37. files_sdk/models/remote_server.py +19 -91
  38. files_sdk/models/remote_server_configuration_file.py +1 -0
  39. files_sdk/models/scim_log.py +88 -0
  40. files_sdk/models/sftp_action_log.py +20 -3
  41. files_sdk/models/siem_http_destination.py +98 -19
  42. files_sdk/models/site.py +37 -31
  43. files_sdk/models/sso_strategy.py +2 -1
  44. files_sdk/models/sync.py +574 -0
  45. files_sdk/models/sync_log.py +19 -8
  46. files_sdk/models/sync_run.py +123 -0
  47. files_sdk/models/user.py +105 -12
  48. files_sdk/models/user_cipher_use.py +24 -1
  49. files_sdk/models/user_lifecycle_rule.py +94 -39
  50. files_sdk/models/web_dav_action_log.py +20 -3
  51. {files_com-1.6.7.dist-info → files_com-1.6.113.dist-info}/WHEEL +0 -0
  52. {files_com-1.6.7.dist-info → files_com-1.6.113.dist-info}/licenses/LICENSE +0 -0
  53. {files_com-1.6.7.dist-info → files_com-1.6.113.dist-info}/top_level.txt +0 -0
@@ -14,15 +14,18 @@ class SiemHttpDestination:
14
14
  "name": None, # string - Name for this Destination
15
15
  "destination_type": None, # string - Destination Type
16
16
  "destination_url": None, # string - Destination Url
17
+ "file_destination_path": None, # string - Applicable only for destination type: file. Destination folder path on Files.com.
18
+ "file_format": None, # string - Applicable only for destination type: file. Generated file format.
19
+ "file_interval_minutes": None, # int64 - Applicable only for destination type: file. Interval, in minutes, between file deliveries.
17
20
  "additional_headers": None, # object - Additional HTTP Headers included in calls to the destination URL
18
21
  "sending_active": None, # boolean - Whether this SIEM HTTP Destination is currently being sent to or not
19
22
  "generic_payload_type": None, # string - Applicable only for destination type: generic. Indicates the type of HTTP body. Can be json_newline or json_array. json_newline is multiple log entries as JSON separated by newlines. json_array is a single JSON array containing multiple log entries as JSON.
20
23
  "splunk_token_masked": None, # string - Applicable only for destination type: splunk. Authentication token provided by Splunk.
21
- "azure_dcr_immutable_id": None, # string - Applicable only for destination type: azure. Immutable ID of the Data Collection Rule.
24
+ "azure_dcr_immutable_id": None, # string - Applicable only for destination types: azure, azure_legacy. Immutable ID of the Data Collection Rule.
22
25
  "azure_stream_name": None, # string - Applicable only for destination type: azure. Name of the stream in the DCR that represents the destination table.
23
- "azure_oauth_client_credentials_tenant_id": None, # string - Applicable only for destination type: azure. Client Credentials OAuth Tenant ID.
24
- "azure_oauth_client_credentials_client_id": None, # string - Applicable only for destination type: azure. Client Credentials OAuth Client ID.
25
- "azure_oauth_client_credentials_client_secret_masked": None, # string - Applicable only for destination type: azure. Client Credentials OAuth Client Secret.
26
+ "azure_oauth_client_credentials_tenant_id": None, # string - Applicable only for destination types: azure, azure_legacy. Client Credentials OAuth Tenant ID.
27
+ "azure_oauth_client_credentials_client_id": None, # string - Applicable only for destination types: azure, azure_legacy. Client Credentials OAuth Client ID.
28
+ "azure_oauth_client_credentials_client_secret_masked": None, # string - Applicable only for destination types: azure, azure_legacy. Client Credentials OAuth Client Secret.
26
29
  "qradar_username": None, # string - Applicable only for destination type: qradar. Basic auth username provided by QRadar.
27
30
  "qradar_password_masked": None, # string - Applicable only for destination type: qradar. Basic auth password provided by QRadar.
28
31
  "solar_winds_token_masked": None, # string - Applicable only for destination type: solar_winds. Authentication token provided by Solar Winds.
@@ -94,11 +97,14 @@ class SiemHttpDestination:
94
97
  # additional_headers - object - Additional HTTP Headers included in calls to the destination URL
95
98
  # sending_active - boolean - Whether this SIEM HTTP Destination is currently being sent to or not
96
99
  # generic_payload_type - string - Applicable only for destination type: generic. Indicates the type of HTTP body. Can be json_newline or json_array. json_newline is multiple log entries as JSON separated by newlines. json_array is a single JSON array containing multiple log entries as JSON.
100
+ # file_destination_path - string - Applicable only for destination type: file. Destination folder path on Files.com.
101
+ # file_format - string - Applicable only for destination type: file. Generated file format.
102
+ # file_interval_minutes - int64 - Applicable only for destination type: file. Interval, in minutes, between file deliveries. Valid values are 5, 10, 15, 20, 30, 60, 90, 180, 240, 360.
97
103
  # splunk_token - string - Applicable only for destination type: splunk. Authentication token provided by Splunk.
98
- # azure_dcr_immutable_id - string - Applicable only for destination type: azure. Immutable ID of the Data Collection Rule.
104
+ # azure_dcr_immutable_id - string - Applicable only for destination types: azure, azure_legacy. Immutable ID of the Data Collection Rule.
99
105
  # azure_stream_name - string - Applicable only for destination type: azure. Name of the stream in the DCR that represents the destination table.
100
- # azure_oauth_client_credentials_tenant_id - string - Applicable only for destination type: azure. Client Credentials OAuth Tenant ID.
101
- # azure_oauth_client_credentials_client_id - string - Applicable only for destination type: azure. Client Credentials OAuth Client ID.
106
+ # azure_oauth_client_credentials_tenant_id - string - Applicable only for destination types: azure, azure_legacy. Client Credentials OAuth Tenant ID.
107
+ # azure_oauth_client_credentials_client_id - string - Applicable only for destination types: azure, azure_legacy. Client Credentials OAuth Client ID.
102
108
  # azure_oauth_client_credentials_client_secret - string - Applicable only for destination type: azure. Client Credentials OAuth Client Secret.
103
109
  # qradar_username - string - Applicable only for destination type: qradar. Basic auth username provided by QRadar.
104
110
  # qradar_password - string - Applicable only for destination type: qradar. Basic auth password provided by QRadar.
@@ -138,6 +144,24 @@ class SiemHttpDestination:
138
144
  raise InvalidParameterError(
139
145
  "Bad parameter: generic_payload_type must be an str"
140
146
  )
147
+ if "file_destination_path" in params and not isinstance(
148
+ params["file_destination_path"], str
149
+ ):
150
+ raise InvalidParameterError(
151
+ "Bad parameter: file_destination_path must be an str"
152
+ )
153
+ if "file_format" in params and not isinstance(
154
+ params["file_format"], str
155
+ ):
156
+ raise InvalidParameterError(
157
+ "Bad parameter: file_format must be an str"
158
+ )
159
+ if "file_interval_minutes" in params and not isinstance(
160
+ params["file_interval_minutes"], int
161
+ ):
162
+ raise InvalidParameterError(
163
+ "Bad parameter: file_interval_minutes must be an int"
164
+ )
141
165
  if "splunk_token" in params and not isinstance(
142
166
  params["splunk_token"], str
143
167
  ):
@@ -317,11 +341,14 @@ def get(id, params=None, options=None):
317
341
  # additional_headers - object - Additional HTTP Headers included in calls to the destination URL
318
342
  # sending_active - boolean - Whether this SIEM HTTP Destination is currently being sent to or not
319
343
  # generic_payload_type - string - Applicable only for destination type: generic. Indicates the type of HTTP body. Can be json_newline or json_array. json_newline is multiple log entries as JSON separated by newlines. json_array is a single JSON array containing multiple log entries as JSON.
344
+ # file_destination_path - string - Applicable only for destination type: file. Destination folder path on Files.com.
345
+ # file_format - string - Applicable only for destination type: file. Generated file format.
346
+ # file_interval_minutes - int64 - Applicable only for destination type: file. Interval, in minutes, between file deliveries. Valid values are 5, 10, 15, 20, 30, 60, 90, 180, 240, 360.
320
347
  # splunk_token - string - Applicable only for destination type: splunk. Authentication token provided by Splunk.
321
- # azure_dcr_immutable_id - string - Applicable only for destination type: azure. Immutable ID of the Data Collection Rule.
348
+ # azure_dcr_immutable_id - string - Applicable only for destination types: azure, azure_legacy. Immutable ID of the Data Collection Rule.
322
349
  # azure_stream_name - string - Applicable only for destination type: azure. Name of the stream in the DCR that represents the destination table.
323
- # azure_oauth_client_credentials_tenant_id - string - Applicable only for destination type: azure. Client Credentials OAuth Tenant ID.
324
- # azure_oauth_client_credentials_client_id - string - Applicable only for destination type: azure. Client Credentials OAuth Client ID.
350
+ # azure_oauth_client_credentials_tenant_id - string - Applicable only for destination types: azure, azure_legacy. Client Credentials OAuth Tenant ID.
351
+ # azure_oauth_client_credentials_client_id - string - Applicable only for destination types: azure, azure_legacy. Client Credentials OAuth Client ID.
325
352
  # azure_oauth_client_credentials_client_secret - string - Applicable only for destination type: azure. Client Credentials OAuth Client Secret.
326
353
  # qradar_username - string - Applicable only for destination type: qradar. Basic auth username provided by QRadar.
327
354
  # qradar_password - string - Applicable only for destination type: qradar. Basic auth password provided by QRadar.
@@ -340,7 +367,7 @@ def get(id, params=None, options=None):
340
367
  # exavault_api_request_send_enabled - boolean - Whether or not sending is enabled for exavault_api_request logs.
341
368
  # settings_change_send_enabled - boolean - Whether or not sending is enabled for settings_change logs.
342
369
  # destination_type (required) - string - Destination Type
343
- # destination_url (required) - string - Destination Url
370
+ # destination_url - string - Destination Url
344
371
  def create(params=None, options=None):
345
372
  if not isinstance(params, dict):
346
373
  params = {}
@@ -366,6 +393,22 @@ def create(params=None, options=None):
366
393
  raise InvalidParameterError(
367
394
  "Bad parameter: generic_payload_type must be an str"
368
395
  )
396
+ if "file_destination_path" in params and not isinstance(
397
+ params["file_destination_path"], str
398
+ ):
399
+ raise InvalidParameterError(
400
+ "Bad parameter: file_destination_path must be an str"
401
+ )
402
+ if "file_format" in params and not isinstance(params["file_format"], str):
403
+ raise InvalidParameterError(
404
+ "Bad parameter: file_format must be an str"
405
+ )
406
+ if "file_interval_minutes" in params and not isinstance(
407
+ params["file_interval_minutes"], int
408
+ ):
409
+ raise InvalidParameterError(
410
+ "Bad parameter: file_interval_minutes must be an int"
411
+ )
369
412
  if "splunk_token" in params and not isinstance(
370
413
  params["splunk_token"], str
371
414
  ):
@@ -521,8 +564,6 @@ def create(params=None, options=None):
521
564
  )
522
565
  if "destination_type" not in params:
523
566
  raise MissingParameterError("Parameter missing: destination_type")
524
- if "destination_url" not in params:
525
- raise MissingParameterError("Parameter missing: destination_url")
526
567
  response, options = Api.send_request(
527
568
  "POST", "/siem_http_destinations", params, options
528
569
  )
@@ -537,11 +578,14 @@ def create(params=None, options=None):
537
578
  # additional_headers - object - Additional HTTP Headers included in calls to the destination URL
538
579
  # sending_active - boolean - Whether this SIEM HTTP Destination is currently being sent to or not
539
580
  # generic_payload_type - string - Applicable only for destination type: generic. Indicates the type of HTTP body. Can be json_newline or json_array. json_newline is multiple log entries as JSON separated by newlines. json_array is a single JSON array containing multiple log entries as JSON.
581
+ # file_destination_path - string - Applicable only for destination type: file. Destination folder path on Files.com.
582
+ # file_format - string - Applicable only for destination type: file. Generated file format.
583
+ # file_interval_minutes - int64 - Applicable only for destination type: file. Interval, in minutes, between file deliveries. Valid values are 5, 10, 15, 20, 30, 60, 90, 180, 240, 360.
540
584
  # splunk_token - string - Applicable only for destination type: splunk. Authentication token provided by Splunk.
541
- # azure_dcr_immutable_id - string - Applicable only for destination type: azure. Immutable ID of the Data Collection Rule.
585
+ # azure_dcr_immutable_id - string - Applicable only for destination types: azure, azure_legacy. Immutable ID of the Data Collection Rule.
542
586
  # azure_stream_name - string - Applicable only for destination type: azure. Name of the stream in the DCR that represents the destination table.
543
- # azure_oauth_client_credentials_tenant_id - string - Applicable only for destination type: azure. Client Credentials OAuth Tenant ID.
544
- # azure_oauth_client_credentials_client_id - string - Applicable only for destination type: azure. Client Credentials OAuth Client ID.
587
+ # azure_oauth_client_credentials_tenant_id - string - Applicable only for destination types: azure, azure_legacy. Client Credentials OAuth Tenant ID.
588
+ # azure_oauth_client_credentials_client_id - string - Applicable only for destination types: azure, azure_legacy. Client Credentials OAuth Client ID.
545
589
  # azure_oauth_client_credentials_client_secret - string - Applicable only for destination type: azure. Client Credentials OAuth Client Secret.
546
590
  # qradar_username - string - Applicable only for destination type: qradar. Basic auth username provided by QRadar.
547
591
  # qradar_password - string - Applicable only for destination type: qradar. Basic auth password provided by QRadar.
@@ -602,6 +646,22 @@ def send_test_entry(params=None, options=None):
602
646
  raise InvalidParameterError(
603
647
  "Bad parameter: generic_payload_type must be an str"
604
648
  )
649
+ if "file_destination_path" in params and not isinstance(
650
+ params["file_destination_path"], str
651
+ ):
652
+ raise InvalidParameterError(
653
+ "Bad parameter: file_destination_path must be an str"
654
+ )
655
+ if "file_format" in params and not isinstance(params["file_format"], str):
656
+ raise InvalidParameterError(
657
+ "Bad parameter: file_format must be an str"
658
+ )
659
+ if "file_interval_minutes" in params and not isinstance(
660
+ params["file_interval_minutes"], int
661
+ ):
662
+ raise InvalidParameterError(
663
+ "Bad parameter: file_interval_minutes must be an int"
664
+ )
605
665
  if "splunk_token" in params and not isinstance(
606
666
  params["splunk_token"], str
607
667
  ):
@@ -753,11 +813,14 @@ def send_test_entry(params=None, options=None):
753
813
  # additional_headers - object - Additional HTTP Headers included in calls to the destination URL
754
814
  # sending_active - boolean - Whether this SIEM HTTP Destination is currently being sent to or not
755
815
  # generic_payload_type - string - Applicable only for destination type: generic. Indicates the type of HTTP body. Can be json_newline or json_array. json_newline is multiple log entries as JSON separated by newlines. json_array is a single JSON array containing multiple log entries as JSON.
816
+ # file_destination_path - string - Applicable only for destination type: file. Destination folder path on Files.com.
817
+ # file_format - string - Applicable only for destination type: file. Generated file format.
818
+ # file_interval_minutes - int64 - Applicable only for destination type: file. Interval, in minutes, between file deliveries. Valid values are 5, 10, 15, 20, 30, 60, 90, 180, 240, 360.
756
819
  # splunk_token - string - Applicable only for destination type: splunk. Authentication token provided by Splunk.
757
- # azure_dcr_immutable_id - string - Applicable only for destination type: azure. Immutable ID of the Data Collection Rule.
820
+ # azure_dcr_immutable_id - string - Applicable only for destination types: azure, azure_legacy. Immutable ID of the Data Collection Rule.
758
821
  # azure_stream_name - string - Applicable only for destination type: azure. Name of the stream in the DCR that represents the destination table.
759
- # azure_oauth_client_credentials_tenant_id - string - Applicable only for destination type: azure. Client Credentials OAuth Tenant ID.
760
- # azure_oauth_client_credentials_client_id - string - Applicable only for destination type: azure. Client Credentials OAuth Client ID.
822
+ # azure_oauth_client_credentials_tenant_id - string - Applicable only for destination types: azure, azure_legacy. Client Credentials OAuth Tenant ID.
823
+ # azure_oauth_client_credentials_client_id - string - Applicable only for destination types: azure, azure_legacy. Client Credentials OAuth Client ID.
761
824
  # azure_oauth_client_credentials_client_secret - string - Applicable only for destination type: azure. Client Credentials OAuth Client Secret.
762
825
  # qradar_username - string - Applicable only for destination type: qradar. Basic auth username provided by QRadar.
763
826
  # qradar_password - string - Applicable only for destination type: qradar. Basic auth password provided by QRadar.
@@ -805,6 +868,22 @@ def update(id, params=None, options=None):
805
868
  raise InvalidParameterError(
806
869
  "Bad parameter: generic_payload_type must be an str"
807
870
  )
871
+ if "file_destination_path" in params and not isinstance(
872
+ params["file_destination_path"], str
873
+ ):
874
+ raise InvalidParameterError(
875
+ "Bad parameter: file_destination_path must be an str"
876
+ )
877
+ if "file_format" in params and not isinstance(params["file_format"], str):
878
+ raise InvalidParameterError(
879
+ "Bad parameter: file_format must be an str"
880
+ )
881
+ if "file_interval_minutes" in params and not isinstance(
882
+ params["file_interval_minutes"], int
883
+ ):
884
+ raise InvalidParameterError(
885
+ "Bad parameter: file_interval_minutes must be an int"
886
+ )
808
887
  if "splunk_token" in params and not isinstance(
809
888
  params["splunk_token"], str
810
889
  ):
files_sdk/models/site.py CHANGED
@@ -26,6 +26,7 @@ class Site:
26
26
  "allowed_countries": None, # string - Comma separated list of allowed Country codes
27
27
  "allowed_ips": None, # string - List of allowed IP addresses
28
28
  "always_mkdir_parents": None, # boolean - Create parent directories if they do not exist during uploads? This is primarily used to work around broken upload clients that assume servers will perform this step.
29
+ "as2_message_retention_days": None, # int64 - Number of days to retain AS2 messages (incoming and outgoing).
29
30
  "ask_about_overwrites": None, # boolean - If false, rename conflicting files instead of asking for overwrite confirmation. Only applies to web interface.
30
31
  "bundle_activity_notifications": None, # string - Do Bundle owners receive activity notifications?
31
32
  "bundle_expiration": None, # int64 - Site-wide Bundle expiration in days
@@ -57,7 +58,6 @@ class Site:
57
58
  "custom_namespace": None, # boolean - Is this site using a custom namespace for users?
58
59
  "dav_enabled": None, # boolean - Is WebDAV enabled?
59
60
  "dav_user_root_enabled": None, # boolean - Use user FTP roots also for WebDAV?
60
- "days_before_deleting_disabled_users": None, # int64 - Number of days to keep disabled users before deleting them. If set to 0, disabled users will not be deleted.
61
61
  "days_to_retain_backups": None, # int64 - Number of days to keep deleted files
62
62
  "document_edits_in_bundle_allowed": None, # boolean - If true, allow public viewers of Bundles with full permissions to use document editing integrations.
63
63
  "default_time_zone": None, # string - Site default time zone
@@ -65,6 +65,7 @@ class Site:
65
65
  "desktop_app_session_ip_pinning": None, # boolean - Is desktop app session IP pinning enabled?
66
66
  "desktop_app_session_lifetime": None, # int64 - Desktop app session lifetime (in hours)
67
67
  "legacy_checksums_mode": None, # boolean - Use legacy checksums mode?
68
+ "migrate_remote_server_sync_to_sync": None, # boolean - If true, we will migrate all remote server syncs to the new Sync model.
68
69
  "mobile_app": None, # boolean - Is the mobile app enabled?
69
70
  "mobile_app_session_ip_pinning": None, # boolean - Is mobile app session IP pinning enabled?
70
71
  "mobile_app_session_lifetime": None, # int64 - Mobile app session lifetime (in hours)
@@ -109,6 +110,7 @@ class Site:
109
110
  "logo": None, # Image - Branded logo
110
111
  "login_page_background_image": None, # Image - Branded login page background
111
112
  "max_prior_passwords": None, # int64 - Number of prior passwords to disallow
113
+ "managed_site_settings": None, # object - List of site settings managed by the parent site
112
114
  "motd_text": None, # string - A message to show users when they connect via FTP or SFTP.
113
115
  "motd_use_for_ftp": None, # boolean - Show message to users connecting via FTP
114
116
  "motd_use_for_sftp": None, # boolean - Show message to users connecting via SFTP
@@ -146,8 +148,10 @@ class Site:
146
148
  "sharing_enabled": None, # boolean - Allow bundle creation
147
149
  "show_user_notifications_log_in_link": None, # boolean - Show log in link in user notifications?
148
150
  "show_request_access_link": None, # boolean - Show request access link for users without access? Currently unused.
149
- "site_footer": None, # string - Custom site footer text
150
- "site_header": None, # string - Custom site header text
151
+ "site_footer": None, # string - Custom site footer text for authenticated pages
152
+ "site_header": None, # string - Custom site header text for authenticated pages
153
+ "site_public_footer": None, # string - Custom site footer text for public pages
154
+ "site_public_header": None, # string - Custom site header text for public pages
151
155
  "smtp_address": None, # string - SMTP server hostname or IP
152
156
  "smtp_authentication": None, # string - SMTP server authentication type
153
157
  "smtp_from": None, # string - From address to use when mailing through custom SMTP
@@ -159,7 +163,6 @@ class Site:
159
163
  "ssl_required": None, # boolean - Is SSL required? Disabling this is insecure.
160
164
  "subdomain": None, # string - Site subdomain
161
165
  "switch_to_plan_date": None, # date-time - If switching plans, when does the new plan take effect?
162
- "tls_disabled": None, # 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.
163
166
  "trial_days_left": None, # int64 - Number of days left in trial
164
167
  "trial_until": None, # date-time - When does this Site trial expire?
165
168
  "use_dedicated_ips_for_smtp": None, # boolean - If using custom SMTP, should we use dedicated IPs to deliver emails?
@@ -179,7 +182,6 @@ class Site:
179
182
  "welcome_email_enabled": None, # boolean - Will the welcome email be sent to new users?
180
183
  "welcome_screen": None, # string - Does the welcome screen appear?
181
184
  "windows_mode_ftp": None, # boolean - Does FTP user Windows emulation mode?
182
- "disable_users_from_inactivity_period_days": None, # int64 - If greater than zero, users will unable to login if they do not show activity within this number of days.
183
185
  "group_admins_can_set_user_password": None, # boolean - Allow group admins set password authentication method
184
186
  }
185
187
 
@@ -264,9 +266,10 @@ def get_usage(params=None, options=None):
264
266
  # calculate_file_checksums_sha1 - boolean - Calculate SHA1 checksums for files?
265
267
  # calculate_file_checksums_sha256 - boolean - Calculate SHA256 checksums for files?
266
268
  # legacy_checksums_mode - boolean - Use legacy checksums mode?
269
+ # migrate_remote_server_sync_to_sync - boolean - If true, we will migrate all remote server syncs to the new Sync model.
270
+ # as2_message_retention_days - int64 - Number of days to retain AS2 messages (incoming and outgoing).
267
271
  # session_expiry - double - Session expiry in hours
268
272
  # ssl_required - boolean - Is SSL required? Disabling this is insecure.
269
- # 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.
270
273
  # sftp_insecure_ciphers - boolean - If true, we will allow weak and known insecure ciphers to be used for SFTP connections. Enabling this setting severely weakens the security of your site and it is not recommend, except as a last resort for compatibility.
271
274
  # sftp_insecure_diffie_hellman - boolean - If true, we will allow weak Diffie Hellman parameters to be used within ciphers for SFTP that are otherwise on our secure list. This has the effect of making the cipher weaker than our normal threshold for security, but is required to support certain legacy or broken SSH and MFT clients. Enabling this weakens security, but not nearly as much as enabling the full `sftp_insecure_ciphers` option.
272
275
  # disable_files_certificate_generation - boolean - If set, Files.com will not set the CAA records required to generate future SSL certificates for this domain.
@@ -278,7 +281,6 @@ def get_usage(params=None, options=None):
278
281
  # allowed_countries - string - Comma separated list of allowed Country codes
279
282
  # allowed_ips - string - List of allowed IP addresses
280
283
  # disallowed_countries - string - Comma separated list of disallowed Country codes
281
- # days_before_deleting_disabled_users - int64 - Number of days to keep disabled users before deleting them. If set to 0, disabled users will not be deleted.
282
284
  # days_to_retain_backups - int64 - Number of days to keep deleted files
283
285
  # max_prior_passwords - int64 - Number of prior passwords to disallow
284
286
  # password_validity_days - int64 - Number of days password is valid
@@ -306,7 +308,6 @@ def get_usage(params=None, options=None):
306
308
  # opt_out_global - boolean - Use servers in the USA only?
307
309
  # use_provided_modified_at - boolean - Allow uploaders to set `provided_modified_at` for uploaded files?
308
310
  # custom_namespace - boolean - Is this site using a custom namespace for users?
309
- # 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.
310
311
  # 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.
311
312
  # 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.
312
313
  # sharing_enabled - boolean - Allow bundle creation
@@ -342,8 +343,10 @@ def get_usage(params=None, options=None):
342
343
  # color2_link - string - Top bar link color
343
344
  # color2_text - string - Page link and button color
344
345
  # color2_top_text - string - Top bar text color
345
- # site_header - string - Custom site header text
346
- # site_footer - string - Custom site footer text
346
+ # site_header - string - Custom site header text for authenticated pages
347
+ # site_footer - string - Custom site footer text for authenticated pages
348
+ # site_public_header - string - Custom site header text for public pages
349
+ # site_public_footer - string - Custom site footer text for public pages
347
350
  # login_help_text - string - Login help text
348
351
  # use_dedicated_ips_for_smtp - boolean - If using custom SMTP, should we use dedicated IPs to deliver emails?
349
352
  # smtp_address - string - SMTP server hostname or IP
@@ -616,6 +619,18 @@ def update(params=None, options=None):
616
619
  raise InvalidParameterError(
617
620
  "Bad parameter: legacy_checksums_mode must be an bool"
618
621
  )
622
+ if "migrate_remote_server_sync_to_sync" in params and not isinstance(
623
+ params["migrate_remote_server_sync_to_sync"], bool
624
+ ):
625
+ raise InvalidParameterError(
626
+ "Bad parameter: migrate_remote_server_sync_to_sync must be an bool"
627
+ )
628
+ if "as2_message_retention_days" in params and not isinstance(
629
+ params["as2_message_retention_days"], int
630
+ ):
631
+ raise InvalidParameterError(
632
+ "Bad parameter: as2_message_retention_days must be an int"
633
+ )
619
634
  if "session_expiry" in params and not isinstance(
620
635
  params["session_expiry"], float
621
636
  ):
@@ -628,12 +643,6 @@ def update(params=None, options=None):
628
643
  raise InvalidParameterError(
629
644
  "Bad parameter: ssl_required must be an bool"
630
645
  )
631
- if "tls_disabled" in params and not isinstance(
632
- params["tls_disabled"], bool
633
- ):
634
- raise InvalidParameterError(
635
- "Bad parameter: tls_disabled must be an bool"
636
- )
637
646
  if "sftp_insecure_ciphers" in params and not isinstance(
638
647
  params["sftp_insecure_ciphers"], bool
639
648
  ):
@@ -698,12 +707,6 @@ def update(params=None, options=None):
698
707
  raise InvalidParameterError(
699
708
  "Bad parameter: disallowed_countries must be an str"
700
709
  )
701
- if "days_before_deleting_disabled_users" in params and not isinstance(
702
- params["days_before_deleting_disabled_users"], int
703
- ):
704
- raise InvalidParameterError(
705
- "Bad parameter: days_before_deleting_disabled_users must be an int"
706
- )
707
710
  if "days_to_retain_backups" in params and not isinstance(
708
711
  params["days_to_retain_backups"], int
709
712
  ):
@@ -869,15 +872,6 @@ def update(params=None, options=None):
869
872
  raise InvalidParameterError(
870
873
  "Bad parameter: custom_namespace must be an bool"
871
874
  )
872
- if (
873
- "disable_users_from_inactivity_period_days" in params
874
- and not isinstance(
875
- params["disable_users_from_inactivity_period_days"], int
876
- )
877
- ):
878
- raise InvalidParameterError(
879
- "Bad parameter: disable_users_from_inactivity_period_days must be an int"
880
- )
881
875
  if "non_sso_groups_allowed" in params and not isinstance(
882
876
  params["non_sso_groups_allowed"], bool
883
877
  ):
@@ -1089,6 +1083,18 @@ def update(params=None, options=None):
1089
1083
  raise InvalidParameterError(
1090
1084
  "Bad parameter: site_footer must be an str"
1091
1085
  )
1086
+ if "site_public_header" in params and not isinstance(
1087
+ params["site_public_header"], str
1088
+ ):
1089
+ raise InvalidParameterError(
1090
+ "Bad parameter: site_public_header must be an str"
1091
+ )
1092
+ if "site_public_footer" in params and not isinstance(
1093
+ params["site_public_footer"], str
1094
+ ):
1095
+ raise InvalidParameterError(
1096
+ "Bad parameter: site_public_footer must be an str"
1097
+ )
1092
1098
  if "login_help_text" in params and not isinstance(
1093
1099
  params["login_help_text"], str
1094
1100
  ):
@@ -26,7 +26,7 @@ class SsoStrategy:
26
26
  "scim_username": None, # string - SCIM username.
27
27
  "scim_oauth_access_token": None, # string - SCIM OAuth Access Token.
28
28
  "scim_oauth_access_token_expires_at": None, # string - SCIM OAuth Access Token Expiration Time.
29
- "subdomain": None, # string - Subdomain
29
+ "subdomain": None, # string - Subdomain or domain name for your auth provider. Example: `https://[subdomain].okta.com/`
30
30
  "provision_users": None, # boolean - Auto-provision users?
31
31
  "provision_groups": None, # boolean - Auto-provision group membership based on group memberships on the SSO side?
32
32
  "deprovision_users": None, # boolean - Auto-deprovision users?
@@ -47,6 +47,7 @@ class SsoStrategy:
47
47
  "provision_time_zone": None, # string - Default time zone for auto provisioned users.
48
48
  "provision_company": None, # string - Default company for auto provisioned users.
49
49
  "provision_require_2fa": None, # string - 2FA required setting for auto provisioned users.
50
+ "provision_filesystem_layout": None, # string - File System layout to use for auto provisioned users.
50
51
  "provider_identifier": None, # string - URL-friendly, unique identifier for Azure SAML configuration
51
52
  "ldap_base_dn": None, # string - Base DN for looking up users in LDAP server
52
53
  "ldap_domain": None, # string - Domain name that will be appended to LDAP usernames