Files.com 1.6.497__tar.gz → 1.6.499__tar.gz
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_com-1.6.497/files_com.egg-info → files_com-1.6.499}/PKG-INFO +3 -1
- {files_com-1.6.497 → files_com-1.6.499}/README.md +2 -0
- files_com-1.6.499/_VERSION +1 -0
- {files_com-1.6.497 → files_com-1.6.499/files_com.egg-info}/PKG-INFO +3 -1
- {files_com-1.6.497 → files_com-1.6.499}/files_com.egg-info/SOURCES.txt +1 -0
- {files_com-1.6.497 → files_com-1.6.499}/files_sdk/__init__.py +1 -1
- {files_com-1.6.497 → files_com-1.6.499}/files_sdk/error.py +30 -0
- {files_com-1.6.497 → files_com-1.6.499}/files_sdk/models/file.py +13 -1
- {files_com-1.6.497 → files_com-1.6.499}/files_sdk/models/remote_server.py +4 -4
- {files_com-1.6.497 → files_com-1.6.499}/files_sdk/models/site.py +10 -2
- {files_com-1.6.497 → files_com-1.6.499}/pyproject.toml +1 -1
- files_com-1.6.499/tests/test_file_download_default_path.py +27 -0
- files_com-1.6.497/_VERSION +0 -1
- {files_com-1.6.497 → files_com-1.6.499}/LICENSE +0 -0
- {files_com-1.6.497 → files_com-1.6.499}/files_com.egg-info/dependency_links.txt +0 -0
- {files_com-1.6.497 → files_com-1.6.499}/files_com.egg-info/requires.txt +0 -0
- {files_com-1.6.497 → files_com-1.6.499}/files_com.egg-info/top_level.txt +0 -0
- {files_com-1.6.497 → files_com-1.6.499}/files_sdk/api.py +0 -0
- {files_com-1.6.497 → files_com-1.6.499}/files_sdk/api_client.py +0 -0
- {files_com-1.6.497 → files_com-1.6.499}/files_sdk/list_obj.py +0 -0
- {files_com-1.6.497 → files_com-1.6.499}/files_sdk/models/__init__.py +0 -0
- {files_com-1.6.497 → files_com-1.6.499}/files_sdk/models/account_line_item.py +0 -0
- {files_com-1.6.497 → files_com-1.6.499}/files_sdk/models/action.py +0 -0
- {files_com-1.6.497 → files_com-1.6.499}/files_sdk/models/action_log.py +0 -0
- {files_com-1.6.497 → files_com-1.6.499}/files_sdk/models/action_notification_export.py +0 -0
- {files_com-1.6.497 → files_com-1.6.499}/files_sdk/models/action_notification_export_result.py +0 -0
- {files_com-1.6.497 → files_com-1.6.499}/files_sdk/models/agent_node.py +0 -0
- {files_com-1.6.497 → files_com-1.6.499}/files_sdk/models/agent_node_connection.py +0 -0
- {files_com-1.6.497 → files_com-1.6.499}/files_sdk/models/agent_node_instance.py +0 -0
- {files_com-1.6.497 → files_com-1.6.499}/files_sdk/models/agent_push_update.py +0 -0
- {files_com-1.6.497 → files_com-1.6.499}/files_sdk/models/ai_assistant_personality.py +0 -0
- {files_com-1.6.497 → files_com-1.6.499}/files_sdk/models/ai_task.py +0 -0
- {files_com-1.6.497 → files_com-1.6.499}/files_sdk/models/api_key.py +0 -0
- {files_com-1.6.497 → files_com-1.6.499}/files_sdk/models/api_request_log.py +0 -0
- {files_com-1.6.497 → files_com-1.6.499}/files_sdk/models/app.py +0 -0
- {files_com-1.6.497 → files_com-1.6.499}/files_sdk/models/as2_incoming_message.py +0 -0
- {files_com-1.6.497 → files_com-1.6.499}/files_sdk/models/as2_outgoing_message.py +0 -0
- {files_com-1.6.497 → files_com-1.6.499}/files_sdk/models/as2_partner.py +0 -0
- {files_com-1.6.497 → files_com-1.6.499}/files_sdk/models/as2_station.py +0 -0
- {files_com-1.6.497 → files_com-1.6.499}/files_sdk/models/auto.py +0 -0
- {files_com-1.6.497 → files_com-1.6.499}/files_sdk/models/automation.py +0 -0
- {files_com-1.6.497 → files_com-1.6.499}/files_sdk/models/automation_authoring_schema.py +0 -0
- {files_com-1.6.497 → files_com-1.6.499}/files_sdk/models/automation_execution_node.py +0 -0
- {files_com-1.6.497 → files_com-1.6.499}/files_sdk/models/automation_log.py +0 -0
- {files_com-1.6.497 → files_com-1.6.499}/files_sdk/models/automation_run.py +0 -0
- {files_com-1.6.497 → files_com-1.6.499}/files_sdk/models/bandwidth_snapshot.py +0 -0
- {files_com-1.6.497 → files_com-1.6.499}/files_sdk/models/behavior.py +0 -0
- {files_com-1.6.497 → files_com-1.6.499}/files_sdk/models/bundle.py +0 -0
- {files_com-1.6.497 → files_com-1.6.499}/files_sdk/models/bundle_action.py +0 -0
- {files_com-1.6.497 → files_com-1.6.499}/files_sdk/models/bundle_download.py +0 -0
- {files_com-1.6.497 → files_com-1.6.499}/files_sdk/models/bundle_notification.py +0 -0
- {files_com-1.6.497 → files_com-1.6.499}/files_sdk/models/bundle_path.py +0 -0
- {files_com-1.6.497 → files_com-1.6.499}/files_sdk/models/bundle_recipient.py +0 -0
- {files_com-1.6.497 → files_com-1.6.499}/files_sdk/models/bundle_registration.py +0 -0
- {files_com-1.6.497 → files_com-1.6.499}/files_sdk/models/chat_message.py +0 -0
- {files_com-1.6.497 → files_com-1.6.499}/files_sdk/models/chat_session.py +0 -0
- {files_com-1.6.497 → files_com-1.6.499}/files_sdk/models/child_site_management_policy.py +0 -0
- {files_com-1.6.497 → files_com-1.6.499}/files_sdk/models/clickwrap.py +0 -0
- {files_com-1.6.497 → files_com-1.6.499}/files_sdk/models/custom_domain.py +0 -0
- {files_com-1.6.497 → files_com-1.6.499}/files_sdk/models/desktop_configuration_profile.py +0 -0
- {files_com-1.6.497 → files_com-1.6.499}/files_sdk/models/direct_connection_info.py +0 -0
- {files_com-1.6.497 → files_com-1.6.499}/files_sdk/models/dns_record.py +0 -0
- {files_com-1.6.497 → files_com-1.6.499}/files_sdk/models/email_incoming_message.py +0 -0
- {files_com-1.6.497 → files_com-1.6.499}/files_sdk/models/email_log.py +0 -0
- {files_com-1.6.497 → files_com-1.6.499}/files_sdk/models/errors.py +0 -0
- {files_com-1.6.497 → files_com-1.6.499}/files_sdk/models/event_channel.py +0 -0
- {files_com-1.6.497 → files_com-1.6.499}/files_sdk/models/event_delivery_attempt.py +0 -0
- {files_com-1.6.497 → files_com-1.6.499}/files_sdk/models/event_record.py +0 -0
- {files_com-1.6.497 → files_com-1.6.499}/files_sdk/models/event_subscription.py +0 -0
- {files_com-1.6.497 → files_com-1.6.499}/files_sdk/models/event_target.py +0 -0
- {files_com-1.6.497 → files_com-1.6.499}/files_sdk/models/exavault_api_request_log.py +0 -0
- {files_com-1.6.497 → files_com-1.6.499}/files_sdk/models/expectation.py +0 -0
- {files_com-1.6.497 → files_com-1.6.499}/files_sdk/models/expectation_evaluation.py +0 -0
- {files_com-1.6.497 → files_com-1.6.499}/files_sdk/models/expectation_incident.py +0 -0
- {files_com-1.6.497 → files_com-1.6.499}/files_sdk/models/external_event.py +0 -0
- {files_com-1.6.497 → files_com-1.6.499}/files_sdk/models/file_action.py +0 -0
- {files_com-1.6.497 → files_com-1.6.499}/files_sdk/models/file_comment.py +0 -0
- {files_com-1.6.497 → files_com-1.6.499}/files_sdk/models/file_comment_reaction.py +0 -0
- {files_com-1.6.497 → files_com-1.6.499}/files_sdk/models/file_migration.py +0 -0
- {files_com-1.6.497 → files_com-1.6.499}/files_sdk/models/file_migration_log.py +0 -0
- {files_com-1.6.497 → files_com-1.6.499}/files_sdk/models/file_upload_part.py +0 -0
- {files_com-1.6.497 → files_com-1.6.499}/files_sdk/models/folder.py +0 -0
- {files_com-1.6.497 → files_com-1.6.499}/files_sdk/models/form_field.py +0 -0
- {files_com-1.6.497 → files_com-1.6.499}/files_sdk/models/form_field_set.py +0 -0
- {files_com-1.6.497 → files_com-1.6.499}/files_sdk/models/ftp_action_log.py +0 -0
- {files_com-1.6.497 → files_com-1.6.499}/files_sdk/models/gpg_key.py +0 -0
- {files_com-1.6.497 → files_com-1.6.499}/files_sdk/models/group.py +0 -0
- {files_com-1.6.497 → files_com-1.6.499}/files_sdk/models/group_user.py +0 -0
- {files_com-1.6.497 → files_com-1.6.499}/files_sdk/models/history.py +0 -0
- {files_com-1.6.497 → files_com-1.6.499}/files_sdk/models/history_export.py +0 -0
- {files_com-1.6.497 → files_com-1.6.499}/files_sdk/models/history_export_result.py +0 -0
- {files_com-1.6.497 → files_com-1.6.499}/files_sdk/models/holiday_calendar.py +0 -0
- {files_com-1.6.497 → files_com-1.6.499}/files_sdk/models/holiday_region.py +0 -0
- {files_com-1.6.497 → files_com-1.6.499}/files_sdk/models/image.py +0 -0
- {files_com-1.6.497 → files_com-1.6.499}/files_sdk/models/inbound_s3_log.py +0 -0
- {files_com-1.6.497 → files_com-1.6.499}/files_sdk/models/inbox_recipient.py +0 -0
- {files_com-1.6.497 → files_com-1.6.499}/files_sdk/models/inbox_registration.py +0 -0
- {files_com-1.6.497 → files_com-1.6.499}/files_sdk/models/inbox_upload.py +0 -0
- {files_com-1.6.497 → files_com-1.6.499}/files_sdk/models/integration_centric_profile.py +0 -0
- {files_com-1.6.497 → files_com-1.6.499}/files_sdk/models/invoice.py +0 -0
- {files_com-1.6.497 → files_com-1.6.499}/files_sdk/models/invoice_line_item.py +0 -0
- {files_com-1.6.497 → files_com-1.6.499}/files_sdk/models/ip_address.py +0 -0
- {files_com-1.6.497 → files_com-1.6.499}/files_sdk/models/key_lifecycle_rule.py +0 -0
- {files_com-1.6.497 → files_com-1.6.499}/files_sdk/models/lock.py +0 -0
- {files_com-1.6.497 → files_com-1.6.499}/files_sdk/models/metadata_category.py +0 -0
- {files_com-1.6.497 → files_com-1.6.499}/files_sdk/models/notification.py +0 -0
- {files_com-1.6.497 → files_com-1.6.499}/files_sdk/models/outbound_connection_log.py +0 -0
- {files_com-1.6.497 → files_com-1.6.499}/files_sdk/models/partner.py +0 -0
- {files_com-1.6.497 → files_com-1.6.499}/files_sdk/models/partner_channel.py +0 -0
- {files_com-1.6.497 → files_com-1.6.499}/files_sdk/models/partner_channel_template.py +0 -0
- {files_com-1.6.497 → files_com-1.6.499}/files_sdk/models/partner_connection.py +0 -0
- {files_com-1.6.497 → files_com-1.6.499}/files_sdk/models/partner_site.py +0 -0
- {files_com-1.6.497 → files_com-1.6.499}/files_sdk/models/partner_site_request.py +0 -0
- {files_com-1.6.497 → files_com-1.6.499}/files_sdk/models/payment.py +0 -0
- {files_com-1.6.497 → files_com-1.6.499}/files_sdk/models/payment_line_item.py +0 -0
- {files_com-1.6.497 → files_com-1.6.499}/files_sdk/models/pending_work_event.py +0 -0
- {files_com-1.6.497 → files_com-1.6.499}/files_sdk/models/permission.py +0 -0
- {files_com-1.6.497 → files_com-1.6.499}/files_sdk/models/preview.py +0 -0
- {files_com-1.6.497 → files_com-1.6.499}/files_sdk/models/public_hosting_request_log.py +0 -0
- {files_com-1.6.497 → files_com-1.6.499}/files_sdk/models/public_ip_address.py +0 -0
- {files_com-1.6.497 → files_com-1.6.499}/files_sdk/models/public_key.py +0 -0
- {files_com-1.6.497 → files_com-1.6.499}/files_sdk/models/remote_bandwidth_snapshot.py +0 -0
- {files_com-1.6.497 → files_com-1.6.499}/files_sdk/models/remote_mount_backend.py +0 -0
- {files_com-1.6.497 → files_com-1.6.499}/files_sdk/models/remote_server_configuration_file.py +0 -0
- {files_com-1.6.497 → files_com-1.6.499}/files_sdk/models/remote_server_credential.py +0 -0
- {files_com-1.6.497 → files_com-1.6.499}/files_sdk/models/request.py +0 -0
- {files_com-1.6.497 → files_com-1.6.499}/files_sdk/models/restore.py +0 -0
- {files_com-1.6.497 → files_com-1.6.499}/files_sdk/models/schedule.py +0 -0
- {files_com-1.6.497 → files_com-1.6.499}/files_sdk/models/scheduled_export.py +0 -0
- {files_com-1.6.497 → files_com-1.6.499}/files_sdk/models/scim_log.py +0 -0
- {files_com-1.6.497 → files_com-1.6.499}/files_sdk/models/secret.py +0 -0
- {files_com-1.6.497 → files_com-1.6.499}/files_sdk/models/session.py +0 -0
- {files_com-1.6.497 → files_com-1.6.499}/files_sdk/models/settings_change.py +0 -0
- {files_com-1.6.497 → files_com-1.6.499}/files_sdk/models/sftp_action_log.py +0 -0
- {files_com-1.6.497 → files_com-1.6.499}/files_sdk/models/sftp_host_key.py +0 -0
- {files_com-1.6.497 → files_com-1.6.499}/files_sdk/models/share_group.py +0 -0
- {files_com-1.6.497 → files_com-1.6.499}/files_sdk/models/share_group_member.py +0 -0
- {files_com-1.6.497 → files_com-1.6.499}/files_sdk/models/siem_http_destination.py +0 -0
- {files_com-1.6.497 → files_com-1.6.499}/files_sdk/models/siem_http_destination_event.py +0 -0
- {files_com-1.6.497 → files_com-1.6.499}/files_sdk/models/site_subdomain_redirect.py +0 -0
- {files_com-1.6.497 → files_com-1.6.499}/files_sdk/models/snapshot.py +0 -0
- {files_com-1.6.497 → files_com-1.6.499}/files_sdk/models/sso_event.py +0 -0
- {files_com-1.6.497 → files_com-1.6.499}/files_sdk/models/sso_strategy.py +0 -0
- {files_com-1.6.497 → files_com-1.6.499}/files_sdk/models/status.py +0 -0
- {files_com-1.6.497 → files_com-1.6.499}/files_sdk/models/style.py +0 -0
- {files_com-1.6.497 → files_com-1.6.499}/files_sdk/models/sync.py +0 -0
- {files_com-1.6.497 → files_com-1.6.499}/files_sdk/models/sync_log.py +0 -0
- {files_com-1.6.497 → files_com-1.6.499}/files_sdk/models/sync_run.py +0 -0
- {files_com-1.6.497 → files_com-1.6.499}/files_sdk/models/sync_run_live_transfer.py +0 -0
- {files_com-1.6.497 → files_com-1.6.499}/files_sdk/models/usage_by_top_level_dir.py +0 -0
- {files_com-1.6.497 → files_com-1.6.499}/files_sdk/models/usage_daily_snapshot.py +0 -0
- {files_com-1.6.497 → files_com-1.6.499}/files_sdk/models/usage_snapshot.py +0 -0
- {files_com-1.6.497 → files_com-1.6.499}/files_sdk/models/user.py +0 -0
- {files_com-1.6.497 → files_com-1.6.499}/files_sdk/models/user_additional_email_recipient.py +0 -0
- {files_com-1.6.497 → files_com-1.6.499}/files_sdk/models/user_cipher_use.py +0 -0
- {files_com-1.6.497 → files_com-1.6.499}/files_sdk/models/user_lifecycle_rule.py +0 -0
- {files_com-1.6.497 → files_com-1.6.499}/files_sdk/models/user_request.py +0 -0
- {files_com-1.6.497 → files_com-1.6.499}/files_sdk/models/user_security_event.py +0 -0
- {files_com-1.6.497 → files_com-1.6.499}/files_sdk/models/user_sftp_client_use.py +0 -0
- {files_com-1.6.497 → files_com-1.6.499}/files_sdk/models/web_dav_action_log.py +0 -0
- {files_com-1.6.497 → files_com-1.6.499}/files_sdk/models/webhook_test.py +0 -0
- {files_com-1.6.497 → files_com-1.6.499}/files_sdk/models/workspace.py +0 -0
- {files_com-1.6.497 → files_com-1.6.499}/files_sdk/models/zip_list_entry.py +0 -0
- {files_com-1.6.497 → files_com-1.6.499}/files_sdk/path_comparison.json +0 -0
- {files_com-1.6.497 → files_com-1.6.499}/files_sdk/path_util.py +0 -0
- {files_com-1.6.497 → files_com-1.6.499}/files_sdk/util.py +0 -0
- {files_com-1.6.497 → files_com-1.6.499}/setup.cfg +0 -0
- {files_com-1.6.497 → files_com-1.6.499}/tests/test_account_line_item.py +0 -0
- {files_com-1.6.497 → files_com-1.6.499}/tests/test_action.py +0 -0
- {files_com-1.6.497 → files_com-1.6.499}/tests/test_action_log.py +0 -0
- {files_com-1.6.497 → files_com-1.6.499}/tests/test_action_notification_export.py +0 -0
- {files_com-1.6.497 → files_com-1.6.499}/tests/test_action_notification_export_result.py +0 -0
- {files_com-1.6.497 → files_com-1.6.499}/tests/test_agent_node.py +0 -0
- {files_com-1.6.497 → files_com-1.6.499}/tests/test_agent_node_connection.py +0 -0
- {files_com-1.6.497 → files_com-1.6.499}/tests/test_agent_node_instance.py +0 -0
- {files_com-1.6.497 → files_com-1.6.499}/tests/test_agent_push_update.py +0 -0
- {files_com-1.6.497 → files_com-1.6.499}/tests/test_ai_assistant_personality.py +0 -0
- {files_com-1.6.497 → files_com-1.6.499}/tests/test_ai_task.py +0 -0
- {files_com-1.6.497 → files_com-1.6.499}/tests/test_api_errors.py +0 -0
- {files_com-1.6.497 → files_com-1.6.499}/tests/test_api_key.py +0 -0
- {files_com-1.6.497 → files_com-1.6.499}/tests/test_api_request_log.py +0 -0
- {files_com-1.6.497 → files_com-1.6.499}/tests/test_app.py +0 -0
- {files_com-1.6.497 → files_com-1.6.499}/tests/test_as2_incoming_message.py +0 -0
- {files_com-1.6.497 → files_com-1.6.499}/tests/test_as2_outgoing_message.py +0 -0
- {files_com-1.6.497 → files_com-1.6.499}/tests/test_as2_partner.py +0 -0
- {files_com-1.6.497 → files_com-1.6.499}/tests/test_as2_station.py +0 -0
- {files_com-1.6.497 → files_com-1.6.499}/tests/test_auto.py +0 -0
- {files_com-1.6.497 → files_com-1.6.499}/tests/test_automation.py +0 -0
- {files_com-1.6.497 → files_com-1.6.499}/tests/test_automation_authoring_schema.py +0 -0
- {files_com-1.6.497 → files_com-1.6.499}/tests/test_automation_execution_node.py +0 -0
- {files_com-1.6.497 → files_com-1.6.499}/tests/test_automation_log.py +0 -0
- {files_com-1.6.497 → files_com-1.6.499}/tests/test_automation_run.py +0 -0
- {files_com-1.6.497 → files_com-1.6.499}/tests/test_bandwidth_snapshot.py +0 -0
- {files_com-1.6.497 → files_com-1.6.499}/tests/test_behavior.py +0 -0
- {files_com-1.6.497 → files_com-1.6.499}/tests/test_bundle.py +0 -0
- {files_com-1.6.497 → files_com-1.6.499}/tests/test_bundle_action.py +0 -0
- {files_com-1.6.497 → files_com-1.6.499}/tests/test_bundle_download.py +0 -0
- {files_com-1.6.497 → files_com-1.6.499}/tests/test_bundle_notification.py +0 -0
- {files_com-1.6.497 → files_com-1.6.499}/tests/test_bundle_path.py +0 -0
- {files_com-1.6.497 → files_com-1.6.499}/tests/test_bundle_recipient.py +0 -0
- {files_com-1.6.497 → files_com-1.6.499}/tests/test_bundle_registration.py +0 -0
- {files_com-1.6.497 → files_com-1.6.499}/tests/test_chat_message.py +0 -0
- {files_com-1.6.497 → files_com-1.6.499}/tests/test_chat_session.py +0 -0
- {files_com-1.6.497 → files_com-1.6.499}/tests/test_child_site_management_policy.py +0 -0
- {files_com-1.6.497 → files_com-1.6.499}/tests/test_clickwrap.py +0 -0
- {files_com-1.6.497 → files_com-1.6.499}/tests/test_connection_adapter.py +0 -0
- {files_com-1.6.497 → files_com-1.6.499}/tests/test_custom_domain.py +0 -0
- {files_com-1.6.497 → files_com-1.6.499}/tests/test_decimal_contract.py +0 -0
- {files_com-1.6.497 → files_com-1.6.499}/tests/test_desktop_configuration_profile.py +0 -0
- {files_com-1.6.497 → files_com-1.6.499}/tests/test_direct_connection_info.py +0 -0
- {files_com-1.6.497 → files_com-1.6.499}/tests/test_dns_record.py +0 -0
- {files_com-1.6.497 → files_com-1.6.499}/tests/test_email_incoming_message.py +0 -0
- {files_com-1.6.497 → files_com-1.6.499}/tests/test_email_log.py +0 -0
- {files_com-1.6.497 → files_com-1.6.499}/tests/test_errors.py +0 -0
- {files_com-1.6.497 → files_com-1.6.499}/tests/test_event_channel.py +0 -0
- {files_com-1.6.497 → files_com-1.6.499}/tests/test_event_delivery_attempt.py +0 -0
- {files_com-1.6.497 → files_com-1.6.499}/tests/test_event_record.py +0 -0
- {files_com-1.6.497 → files_com-1.6.499}/tests/test_event_subscription.py +0 -0
- {files_com-1.6.497 → files_com-1.6.499}/tests/test_event_target.py +0 -0
- {files_com-1.6.497 → files_com-1.6.499}/tests/test_exavault_api_request_log.py +0 -0
- {files_com-1.6.497 → files_com-1.6.499}/tests/test_expectation.py +0 -0
- {files_com-1.6.497 → files_com-1.6.499}/tests/test_expectation_evaluation.py +0 -0
- {files_com-1.6.497 → files_com-1.6.499}/tests/test_expectation_incident.py +0 -0
- {files_com-1.6.497 → files_com-1.6.499}/tests/test_external_event.py +0 -0
- {files_com-1.6.497 → files_com-1.6.499}/tests/test_file.py +0 -0
- {files_com-1.6.497 → files_com-1.6.499}/tests/test_file_action.py +0 -0
- {files_com-1.6.497 → files_com-1.6.499}/tests/test_file_comment.py +0 -0
- {files_com-1.6.497 → files_com-1.6.499}/tests/test_file_comment_reaction.py +0 -0
- {files_com-1.6.497 → files_com-1.6.499}/tests/test_file_migration.py +0 -0
- {files_com-1.6.497 → files_com-1.6.499}/tests/test_file_migration_log.py +0 -0
- {files_com-1.6.497 → files_com-1.6.499}/tests/test_file_underscore_destinations.py +0 -0
- {files_com-1.6.497 → files_com-1.6.499}/tests/test_file_upload.py +0 -0
- {files_com-1.6.497 → files_com-1.6.499}/tests/test_file_upload_part.py +0 -0
- {files_com-1.6.497 → files_com-1.6.499}/tests/test_folder.py +0 -0
- {files_com-1.6.497 → files_com-1.6.499}/tests/test_form_field.py +0 -0
- {files_com-1.6.497 → files_com-1.6.499}/tests/test_form_field_set.py +0 -0
- {files_com-1.6.497 → files_com-1.6.499}/tests/test_ftp_action_log.py +0 -0
- {files_com-1.6.497 → files_com-1.6.499}/tests/test_gpg_key.py +0 -0
- {files_com-1.6.497 → files_com-1.6.499}/tests/test_group.py +0 -0
- {files_com-1.6.497 → files_com-1.6.499}/tests/test_group_user.py +0 -0
- {files_com-1.6.497 → files_com-1.6.499}/tests/test_history.py +0 -0
- {files_com-1.6.497 → files_com-1.6.499}/tests/test_history_export.py +0 -0
- {files_com-1.6.497 → files_com-1.6.499}/tests/test_history_export_result.py +0 -0
- {files_com-1.6.497 → files_com-1.6.499}/tests/test_holiday_calendar.py +0 -0
- {files_com-1.6.497 → files_com-1.6.499}/tests/test_holiday_region.py +0 -0
- {files_com-1.6.497 → files_com-1.6.499}/tests/test_image.py +0 -0
- {files_com-1.6.497 → files_com-1.6.499}/tests/test_inbound_s3_log.py +0 -0
- {files_com-1.6.497 → files_com-1.6.499}/tests/test_inbox_recipient.py +0 -0
- {files_com-1.6.497 → files_com-1.6.499}/tests/test_inbox_registration.py +0 -0
- {files_com-1.6.497 → files_com-1.6.499}/tests/test_inbox_upload.py +0 -0
- {files_com-1.6.497 → files_com-1.6.499}/tests/test_integration_centric_profile.py +0 -0
- {files_com-1.6.497 → files_com-1.6.499}/tests/test_invoice.py +0 -0
- {files_com-1.6.497 → files_com-1.6.499}/tests/test_invoice_line_item.py +0 -0
- {files_com-1.6.497 → files_com-1.6.499}/tests/test_ip_address.py +0 -0
- {files_com-1.6.497 → files_com-1.6.499}/tests/test_key_lifecycle_rule.py +0 -0
- {files_com-1.6.497 → files_com-1.6.499}/tests/test_lock.py +0 -0
- {files_com-1.6.497 → files_com-1.6.499}/tests/test_metadata_category.py +0 -0
- {files_com-1.6.497 → files_com-1.6.499}/tests/test_notification.py +0 -0
- {files_com-1.6.497 → files_com-1.6.499}/tests/test_outbound_connection_log.py +0 -0
- {files_com-1.6.497 → files_com-1.6.499}/tests/test_partner.py +0 -0
- {files_com-1.6.497 → files_com-1.6.499}/tests/test_partner_channel.py +0 -0
- {files_com-1.6.497 → files_com-1.6.499}/tests/test_partner_channel_template.py +0 -0
- {files_com-1.6.497 → files_com-1.6.499}/tests/test_partner_connection.py +0 -0
- {files_com-1.6.497 → files_com-1.6.499}/tests/test_partner_site.py +0 -0
- {files_com-1.6.497 → files_com-1.6.499}/tests/test_partner_site_request.py +0 -0
- {files_com-1.6.497 → files_com-1.6.499}/tests/test_path_parameter_encoding.py +0 -0
- {files_com-1.6.497 → files_com-1.6.499}/tests/test_path_util.py +0 -0
- {files_com-1.6.497 → files_com-1.6.499}/tests/test_payment.py +0 -0
- {files_com-1.6.497 → files_com-1.6.499}/tests/test_payment_line_item.py +0 -0
- {files_com-1.6.497 → files_com-1.6.499}/tests/test_pending_work_event.py +0 -0
- {files_com-1.6.497 → files_com-1.6.499}/tests/test_permission.py +0 -0
- {files_com-1.6.497 → files_com-1.6.499}/tests/test_preview.py +0 -0
- {files_com-1.6.497 → files_com-1.6.499}/tests/test_public_hosting_request_log.py +0 -0
- {files_com-1.6.497 → files_com-1.6.499}/tests/test_public_ip_address.py +0 -0
- {files_com-1.6.497 → files_com-1.6.499}/tests/test_public_key.py +0 -0
- {files_com-1.6.497 → files_com-1.6.499}/tests/test_redirect_auth.py +0 -0
- {files_com-1.6.497 → files_com-1.6.499}/tests/test_remote_bandwidth_snapshot.py +0 -0
- {files_com-1.6.497 → files_com-1.6.499}/tests/test_remote_mount_backend.py +0 -0
- {files_com-1.6.497 → files_com-1.6.499}/tests/test_remote_server.py +0 -0
- {files_com-1.6.497 → files_com-1.6.499}/tests/test_remote_server_configuration_file.py +0 -0
- {files_com-1.6.497 → files_com-1.6.499}/tests/test_remote_server_credential.py +0 -0
- {files_com-1.6.497 → files_com-1.6.499}/tests/test_request.py +0 -0
- {files_com-1.6.497 → files_com-1.6.499}/tests/test_restore.py +0 -0
- {files_com-1.6.497 → files_com-1.6.499}/tests/test_schedule.py +0 -0
- {files_com-1.6.497 → files_com-1.6.499}/tests/test_scheduled_export.py +0 -0
- {files_com-1.6.497 → files_com-1.6.499}/tests/test_scim_log.py +0 -0
- {files_com-1.6.497 → files_com-1.6.499}/tests/test_secret.py +0 -0
- {files_com-1.6.497 → files_com-1.6.499}/tests/test_session.py +0 -0
- {files_com-1.6.497 → files_com-1.6.499}/tests/test_settings_change.py +0 -0
- {files_com-1.6.497 → files_com-1.6.499}/tests/test_sftp_action_log.py +0 -0
- {files_com-1.6.497 → files_com-1.6.499}/tests/test_sftp_host_key.py +0 -0
- {files_com-1.6.497 → files_com-1.6.499}/tests/test_share_group.py +0 -0
- {files_com-1.6.497 → files_com-1.6.499}/tests/test_share_group_member.py +0 -0
- {files_com-1.6.497 → files_com-1.6.499}/tests/test_siem_http_destination.py +0 -0
- {files_com-1.6.497 → files_com-1.6.499}/tests/test_siem_http_destination_event.py +0 -0
- {files_com-1.6.497 → files_com-1.6.499}/tests/test_site.py +0 -0
- {files_com-1.6.497 → files_com-1.6.499}/tests/test_site_subdomain_redirect.py +0 -0
- {files_com-1.6.497 → files_com-1.6.499}/tests/test_snapshot.py +0 -0
- {files_com-1.6.497 → files_com-1.6.499}/tests/test_sso_event.py +0 -0
- {files_com-1.6.497 → files_com-1.6.499}/tests/test_sso_strategy.py +0 -0
- {files_com-1.6.497 → files_com-1.6.499}/tests/test_status.py +0 -0
- {files_com-1.6.497 → files_com-1.6.499}/tests/test_stream_download.py +0 -0
- {files_com-1.6.497 → files_com-1.6.499}/tests/test_style.py +0 -0
- {files_com-1.6.497 → files_com-1.6.499}/tests/test_sync.py +0 -0
- {files_com-1.6.497 → files_com-1.6.499}/tests/test_sync_log.py +0 -0
- {files_com-1.6.497 → files_com-1.6.499}/tests/test_sync_run.py +0 -0
- {files_com-1.6.497 → files_com-1.6.499}/tests/test_sync_run_live_transfer.py +0 -0
- {files_com-1.6.497 → files_com-1.6.499}/tests/test_transfer_privacy.py +0 -0
- {files_com-1.6.497 → files_com-1.6.499}/tests/test_usage_by_top_level_dir.py +0 -0
- {files_com-1.6.497 → files_com-1.6.499}/tests/test_usage_daily_snapshot.py +0 -0
- {files_com-1.6.497 → files_com-1.6.499}/tests/test_usage_snapshot.py +0 -0
- {files_com-1.6.497 → files_com-1.6.499}/tests/test_user.py +0 -0
- {files_com-1.6.497 → files_com-1.6.499}/tests/test_user_additional_email_recipient.py +0 -0
- {files_com-1.6.497 → files_com-1.6.499}/tests/test_user_cipher_use.py +0 -0
- {files_com-1.6.497 → files_com-1.6.499}/tests/test_user_lifecycle_rule.py +0 -0
- {files_com-1.6.497 → files_com-1.6.499}/tests/test_user_request.py +0 -0
- {files_com-1.6.497 → files_com-1.6.499}/tests/test_user_security_event.py +0 -0
- {files_com-1.6.497 → files_com-1.6.499}/tests/test_user_sftp_client_use.py +0 -0
- {files_com-1.6.497 → files_com-1.6.499}/tests/test_web_dav_action_log.py +0 -0
- {files_com-1.6.497 → files_com-1.6.499}/tests/test_webhook_test.py +0 -0
- {files_com-1.6.497 → files_com-1.6.499}/tests/test_workspace.py +0 -0
- {files_com-1.6.497 → files_com-1.6.499}/tests/test_workspace_id.py +0 -0
- {files_com-1.6.497 → files_com-1.6.499}/tests/test_zip_list_entry.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: files_com
|
|
3
|
-
Version: 1.6.
|
|
3
|
+
Version: 1.6.499
|
|
4
4
|
Summary: Python bindings for the Files.com API
|
|
5
5
|
License: MIT
|
|
6
6
|
Requires-Python: >=3.5
|
|
@@ -611,6 +611,7 @@ files_sdk.error.FolderAdminPermissionRequiredError -> files_sdk.error.NotAuthori
|
|
|
611
611
|
|`BillingPermissionRequiredError`| `NotAuthorizedError` |
|
|
612
612
|
|`BundleMaximumUsesReachedError`| `NotAuthorizedError` |
|
|
613
613
|
|`BundlePermissionRequiredError`| `NotAuthorizedError` |
|
|
614
|
+
|`CannotAdministerHigherLevelUserError`| `NotAuthorizedError` |
|
|
614
615
|
|`CannotLoginWhileUsingKeyError`| `NotAuthorizedError` |
|
|
615
616
|
|`CantActForOtherUserError`| `NotAuthorizedError` |
|
|
616
617
|
|`ContactAdminForPasswordChangeHelpError`| `NotAuthorizedError` |
|
|
@@ -712,6 +713,7 @@ files_sdk.error.FolderAdminPermissionRequiredError -> files_sdk.error.NotAuthori
|
|
|
712
713
|
|`MultipleProcessingErrorsError`| `ProcessingFailureError` |
|
|
713
714
|
|`PathTooLongError`| `ProcessingFailureError` |
|
|
714
715
|
|`RecipientAlreadySharedError`| `ProcessingFailureError` |
|
|
716
|
+
|`RemoteEntryReadOnlyError`| `ProcessingFailureError` |
|
|
715
717
|
|`RemoteServerErrorError`| `ProcessingFailureError` |
|
|
716
718
|
|`ResourceBelongsToParentSiteError`| `ProcessingFailureError` |
|
|
717
719
|
|`ResourceLockedError`| `ProcessingFailureError` |
|
|
@@ -599,6 +599,7 @@ files_sdk.error.FolderAdminPermissionRequiredError -> files_sdk.error.NotAuthori
|
|
|
599
599
|
|`BillingPermissionRequiredError`| `NotAuthorizedError` |
|
|
600
600
|
|`BundleMaximumUsesReachedError`| `NotAuthorizedError` |
|
|
601
601
|
|`BundlePermissionRequiredError`| `NotAuthorizedError` |
|
|
602
|
+
|`CannotAdministerHigherLevelUserError`| `NotAuthorizedError` |
|
|
602
603
|
|`CannotLoginWhileUsingKeyError`| `NotAuthorizedError` |
|
|
603
604
|
|`CantActForOtherUserError`| `NotAuthorizedError` |
|
|
604
605
|
|`ContactAdminForPasswordChangeHelpError`| `NotAuthorizedError` |
|
|
@@ -700,6 +701,7 @@ files_sdk.error.FolderAdminPermissionRequiredError -> files_sdk.error.NotAuthori
|
|
|
700
701
|
|`MultipleProcessingErrorsError`| `ProcessingFailureError` |
|
|
701
702
|
|`PathTooLongError`| `ProcessingFailureError` |
|
|
702
703
|
|`RecipientAlreadySharedError`| `ProcessingFailureError` |
|
|
704
|
+
|`RemoteEntryReadOnlyError`| `ProcessingFailureError` |
|
|
703
705
|
|`RemoteServerErrorError`| `ProcessingFailureError` |
|
|
704
706
|
|`ResourceBelongsToParentSiteError`| `ProcessingFailureError` |
|
|
705
707
|
|`ResourceLockedError`| `ProcessingFailureError` |
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
1.6.499
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: files_com
|
|
3
|
-
Version: 1.6.
|
|
3
|
+
Version: 1.6.499
|
|
4
4
|
Summary: Python bindings for the Files.com API
|
|
5
5
|
License: MIT
|
|
6
6
|
Requires-Python: >=3.5
|
|
@@ -611,6 +611,7 @@ files_sdk.error.FolderAdminPermissionRequiredError -> files_sdk.error.NotAuthori
|
|
|
611
611
|
|`BillingPermissionRequiredError`| `NotAuthorizedError` |
|
|
612
612
|
|`BundleMaximumUsesReachedError`| `NotAuthorizedError` |
|
|
613
613
|
|`BundlePermissionRequiredError`| `NotAuthorizedError` |
|
|
614
|
+
|`CannotAdministerHigherLevelUserError`| `NotAuthorizedError` |
|
|
614
615
|
|`CannotLoginWhileUsingKeyError`| `NotAuthorizedError` |
|
|
615
616
|
|`CantActForOtherUserError`| `NotAuthorizedError` |
|
|
616
617
|
|`ContactAdminForPasswordChangeHelpError`| `NotAuthorizedError` |
|
|
@@ -712,6 +713,7 @@ files_sdk.error.FolderAdminPermissionRequiredError -> files_sdk.error.NotAuthori
|
|
|
712
713
|
|`MultipleProcessingErrorsError`| `ProcessingFailureError` |
|
|
713
714
|
|`PathTooLongError`| `ProcessingFailureError` |
|
|
714
715
|
|`RecipientAlreadySharedError`| `ProcessingFailureError` |
|
|
716
|
+
|`RemoteEntryReadOnlyError`| `ProcessingFailureError` |
|
|
715
717
|
|`RemoteServerErrorError`| `ProcessingFailureError` |
|
|
716
718
|
|`ResourceBelongsToParentSiteError`| `ProcessingFailureError` |
|
|
717
719
|
|`ResourceLockedError`| `ProcessingFailureError` |
|
|
@@ -223,6 +223,7 @@ tests/test_file.py
|
|
|
223
223
|
tests/test_file_action.py
|
|
224
224
|
tests/test_file_comment.py
|
|
225
225
|
tests/test_file_comment_reaction.py
|
|
226
|
+
tests/test_file_download_default_path.py
|
|
226
227
|
tests/test_file_migration.py
|
|
227
228
|
tests/test_file_migration_log.py
|
|
228
229
|
tests/test_file_underscore_destinations.py
|
|
@@ -1282,6 +1282,21 @@ class BundlePermissionRequiredError(NotAuthorizedError):
|
|
|
1282
1282
|
)
|
|
1283
1283
|
|
|
1284
1284
|
|
|
1285
|
+
class CannotAdministerHigherLevelUserError(NotAuthorizedError):
|
|
1286
|
+
def __init__(
|
|
1287
|
+
self,
|
|
1288
|
+
message=None,
|
|
1289
|
+
http_body=None,
|
|
1290
|
+
http_status=None,
|
|
1291
|
+
json_body=None,
|
|
1292
|
+
headers=None,
|
|
1293
|
+
code=None,
|
|
1294
|
+
):
|
|
1295
|
+
super().__init__(
|
|
1296
|
+
message, http_body, http_status, json_body, headers, code
|
|
1297
|
+
)
|
|
1298
|
+
|
|
1299
|
+
|
|
1285
1300
|
class CannotLoginWhileUsingKeyError(NotAuthorizedError):
|
|
1286
1301
|
def __init__(
|
|
1287
1302
|
self,
|
|
@@ -2833,6 +2848,21 @@ class RecipientAlreadySharedError(ProcessingFailureError):
|
|
|
2833
2848
|
)
|
|
2834
2849
|
|
|
2835
2850
|
|
|
2851
|
+
class RemoteEntryReadOnlyError(ProcessingFailureError):
|
|
2852
|
+
def __init__(
|
|
2853
|
+
self,
|
|
2854
|
+
message=None,
|
|
2855
|
+
http_body=None,
|
|
2856
|
+
http_status=None,
|
|
2857
|
+
json_body=None,
|
|
2858
|
+
headers=None,
|
|
2859
|
+
code=None,
|
|
2860
|
+
):
|
|
2861
|
+
super().__init__(
|
|
2862
|
+
message, http_body, http_status, json_body, headers, code
|
|
2863
|
+
)
|
|
2864
|
+
|
|
2865
|
+
|
|
2836
2866
|
class RemoteServerErrorError(ProcessingFailureError):
|
|
2837
2867
|
def __init__(
|
|
2838
2868
|
self,
|
|
@@ -3,6 +3,7 @@ from urllib.parse import quote
|
|
|
3
3
|
from builtins import open as builtin_open
|
|
4
4
|
from datetime import datetime
|
|
5
5
|
import io
|
|
6
|
+
import os
|
|
6
7
|
from pathlib import Path
|
|
7
8
|
import files_sdk.path_util as path_util
|
|
8
9
|
from files_sdk.models.zip_list_entry import ZipListEntry
|
|
@@ -1590,11 +1591,22 @@ def move_to_child_site(path, site_id, destination, params=None, options=None):
|
|
|
1590
1591
|
return move(path, params, options)
|
|
1591
1592
|
|
|
1592
1593
|
|
|
1594
|
+
def _default_local_path(path):
|
|
1595
|
+
name = path_util.normalize(path).split("/")[-1]
|
|
1596
|
+
# On Windows a colon makes the name a drive-relative path or an NTFS
|
|
1597
|
+
# stream, which can write outside the working directory or onto another file.
|
|
1598
|
+
if os.name == "nt" and ":" in name:
|
|
1599
|
+
raise InvalidParameterError(
|
|
1600
|
+
f"Bad parameter: local_path is required because {name!r} is not a valid local file name"
|
|
1601
|
+
)
|
|
1602
|
+
return name
|
|
1603
|
+
|
|
1604
|
+
|
|
1593
1605
|
def download_file(path, local_path=None, options=None):
|
|
1594
1606
|
if not isinstance(options, dict):
|
|
1595
1607
|
options = {}
|
|
1596
1608
|
if local_path is None:
|
|
1597
|
-
local_path =
|
|
1609
|
+
local_path = _default_local_path(path)
|
|
1598
1610
|
return File(path, {}, options).download_file(local_path)
|
|
1599
1611
|
|
|
1600
1612
|
|
|
@@ -38,7 +38,7 @@ class RemoteServer:
|
|
|
38
38
|
"s3_assume_role_duration_seconds": None, # int64 - Session duration in seconds for AssumeRole authentication (900-43200).
|
|
39
39
|
"s3_assume_role_external_id": None, # string - External ID for AssumeRole authentication.
|
|
40
40
|
"server_certificate": None, # string - Remote server certificate
|
|
41
|
-
"server_host_key": None, # string - Pinned
|
|
41
|
+
"server_host_key": None, # string - Pinned SSH host key or OpenSSH host certificate for SFTP. If omitted, Files.com detects and stores a host key, preferring plain keys over certificates. With `server_certificate=require_match` (the default), the server must present the exact pinned key or certificate and prove it holds the matching private key. A pinned certificate is compared in full, so renewal can require updating `server_host_key` even when its underlying key is unchanged. Files.com does not check certificate CA signatures, principals, or validity periods. Certificate expiration alone does not end the pin. Update `server_host_key` to replace the pin.
|
|
42
42
|
"server_type": None, # string - Remote server type.
|
|
43
43
|
"workspace_id": None, # int64 - Workspace ID (0 for default workspace)
|
|
44
44
|
"ssl": None, # string - Should we require SSL?
|
|
@@ -264,7 +264,7 @@ class RemoteServer:
|
|
|
264
264
|
# s3_compatible_virtual_hosted_style - boolean - S3-compatible: If true, use virtual-hosted-style URLs instead of path-style URLs
|
|
265
265
|
# s3_region - string - S3 region
|
|
266
266
|
# server_certificate - string - Remote server certificate
|
|
267
|
-
# server_host_key - string - Pinned
|
|
267
|
+
# server_host_key - string - Pinned SSH host key or OpenSSH host certificate for SFTP. If omitted, Files.com detects and stores a host key, preferring plain keys over certificates. With `server_certificate=require_match` (the default), the server must present the exact pinned key or certificate and prove it holds the matching private key. A pinned certificate is compared in full, so renewal can require updating `server_host_key` even when its underlying key is unchanged. Files.com does not check certificate CA signatures, principals, or validity periods. Certificate expiration alone does not end the pin. Update `server_host_key` to replace the pin.
|
|
268
268
|
# server_type - string - Remote server type.
|
|
269
269
|
# sharepoint_client_id - string - SharePoint: Microsoft Entra application client ID for app-only authentication.
|
|
270
270
|
# sharepoint_site_url - string - SharePoint: Site URL to scope app-only authentication to a single site. Leave blank to browse all sites.
|
|
@@ -957,7 +957,7 @@ def find_configuration_file(id, params=None, options=None):
|
|
|
957
957
|
# s3_compatible_virtual_hosted_style - boolean - S3-compatible: If true, use virtual-hosted-style URLs instead of path-style URLs
|
|
958
958
|
# s3_region - string - S3 region
|
|
959
959
|
# server_certificate - string - Remote server certificate
|
|
960
|
-
# server_host_key - string - Pinned
|
|
960
|
+
# server_host_key - string - Pinned SSH host key or OpenSSH host certificate for SFTP. If omitted, Files.com detects and stores a host key, preferring plain keys over certificates. With `server_certificate=require_match` (the default), the server must present the exact pinned key or certificate and prove it holds the matching private key. A pinned certificate is compared in full, so renewal can require updating `server_host_key` even when its underlying key is unchanged. Files.com does not check certificate CA signatures, principals, or validity periods. Certificate expiration alone does not end the pin. Update `server_host_key` to replace the pin.
|
|
961
961
|
# server_type - string - Remote server type.
|
|
962
962
|
# sharepoint_client_id - string - SharePoint: Microsoft Entra application client ID for app-only authentication.
|
|
963
963
|
# sharepoint_site_url - string - SharePoint: Site URL to scope app-only authentication to a single site. Leave blank to browse all sites.
|
|
@@ -1555,7 +1555,7 @@ def agent_push_update(id, params=None, options=None):
|
|
|
1555
1555
|
# s3_compatible_virtual_hosted_style - boolean - S3-compatible: If true, use virtual-hosted-style URLs instead of path-style URLs
|
|
1556
1556
|
# s3_region - string - S3 region
|
|
1557
1557
|
# server_certificate - string - Remote server certificate
|
|
1558
|
-
# server_host_key - string - Pinned
|
|
1558
|
+
# server_host_key - string - Pinned SSH host key or OpenSSH host certificate for SFTP. If omitted, Files.com detects and stores a host key, preferring plain keys over certificates. With `server_certificate=require_match` (the default), the server must present the exact pinned key or certificate and prove it holds the matching private key. A pinned certificate is compared in full, so renewal can require updating `server_host_key` even when its underlying key is unchanged. Files.com does not check certificate CA signatures, principals, or validity periods. Certificate expiration alone does not end the pin. Update `server_host_key` to replace the pin.
|
|
1559
1559
|
# server_type - string - Remote server type.
|
|
1560
1560
|
# sharepoint_client_id - string - SharePoint: Microsoft Entra application client ID for app-only authentication.
|
|
1561
1561
|
# sharepoint_site_url - string - SharePoint: Site URL to scope app-only authentication to a single site. Leave blank to browse all sites.
|
|
@@ -18,7 +18,7 @@ class Site:
|
|
|
18
18
|
"id": None, # int64 - Site Id
|
|
19
19
|
"name": None, # string - Site name
|
|
20
20
|
"additional_text_file_types": None, # array(string) - Additional extensions that are considered text files
|
|
21
|
-
"ai_feature_availability": None, # object - Availability settings for AI features
|
|
21
|
+
"ai_feature_availability": None, # object - Availability settings for AI features. Each feature requires the site_admins, workspace_admins, folder_admins, and all_users keys. Optional selected_group_members defaults to false; when true, members of at least one group in group_ids get access regardless of the other options. All availability options are additive: any enabled option matching the user grants access. Optional group_ids is an array of integer IDs of active groups on this site, from any workspace. Omitted or empty group_ids grants no access through selected_group_members and does not affect other options. Disabling all AI features overrides these settings.
|
|
22
22
|
"allowed_2fa_method_sms": None, # boolean - Is SMS two factor authentication allowed?
|
|
23
23
|
"allowed_2fa_method_totp": None, # boolean - Is TOTP two factor authentication allowed?
|
|
24
24
|
"allowed_2fa_method_webauthn": None, # boolean - Is WebAuthn two factor authentication allowed?
|
|
@@ -165,6 +165,7 @@ class Site:
|
|
|
165
165
|
"require_2fa_user_type": None, # string - What type of user is required to use two-factor authentication (when require_2fa is set to `true` for this site)?
|
|
166
166
|
"require_logout_from_bundles_and_inboxes": None, # boolean - If true, we will hide the 'Remember Me' box on Inbox and Bundle registration pages, requiring that the user logout and log back in every time they visit the page.
|
|
167
167
|
"session": None, # Session - Current session
|
|
168
|
+
"s3_compatible_endpoint_enabled": None, # boolean - Is the S3-compatible endpoint enabled for all users and workspaces on this site? Defaults to true. When false, user and group S3 permissions do not allow access.
|
|
168
169
|
"sftp_enabled": None, # boolean - Is SFTP enabled?
|
|
169
170
|
"sftp_finalize_partial_uploads": None, # boolean - Finalize partial SFTP uploads from interrupted connections? Default: true.
|
|
170
171
|
"sftp_host_key_type": None, # string - Sftp Host Key Type
|
|
@@ -298,7 +299,7 @@ def get_usage(params=None, options=None):
|
|
|
298
299
|
# motd_use_for_sftp - boolean - Show message to users connecting via SFTP
|
|
299
300
|
# left_navigation_visibility - object - Visibility settings for account navigation
|
|
300
301
|
# disable_all_ai_features - boolean - If true, all AI features are disabled for this site.
|
|
301
|
-
# ai_feature_availability - object - Availability settings for AI features
|
|
302
|
+
# ai_feature_availability - object - Availability settings for AI features. Each feature requires the site_admins, workspace_admins, folder_admins, and all_users keys. Optional selected_group_members defaults to false; when true, members of at least one group in group_ids get access regardless of the other options. All availability options are additive: any enabled option matching the user grants access. Optional group_ids is an array of integer IDs of active groups on this site, from any workspace. Omitted or empty group_ids grants no access through selected_group_members and does not affect other options. Disabling all AI features overrides these settings.
|
|
302
303
|
# mcp_dcr_enabled - boolean - Is OAuth DCR (dynamic client registration) for MCP enabled?
|
|
303
304
|
# additional_text_file_types - array(string) - Additional extensions that are considered text files
|
|
304
305
|
# bundle_require_note - boolean - Do Bundles require internal notes?
|
|
@@ -367,6 +368,7 @@ def get_usage(params=None, options=None):
|
|
|
367
368
|
# user_requests_notify_admins - boolean - Send email to site admins when a user request is received?
|
|
368
369
|
# dav_enabled - boolean - Is WebDAV enabled?
|
|
369
370
|
# ftp_enabled - boolean - Is FTP enabled?
|
|
371
|
+
# s3_compatible_endpoint_enabled - boolean - Is the S3-compatible endpoint enabled for all users and workspaces on this site? Defaults to true. When false, user and group S3 permissions do not allow access.
|
|
370
372
|
# sftp_enabled - boolean - Is SFTP enabled?
|
|
371
373
|
# sftp_finalize_partial_uploads - boolean - Finalize partial SFTP uploads from interrupted connections? Default: true.
|
|
372
374
|
# users_can_create_api_keys - boolean - Allow users to create their own API keys?
|
|
@@ -1059,6 +1061,12 @@ def update(params=None, options=None):
|
|
|
1059
1061
|
raise InvalidParameterError(
|
|
1060
1062
|
"Bad parameter: ftp_enabled must be an bool"
|
|
1061
1063
|
)
|
|
1064
|
+
if "s3_compatible_endpoint_enabled" in params and not isinstance(
|
|
1065
|
+
params["s3_compatible_endpoint_enabled"], bool
|
|
1066
|
+
):
|
|
1067
|
+
raise InvalidParameterError(
|
|
1068
|
+
"Bad parameter: s3_compatible_endpoint_enabled must be an bool"
|
|
1069
|
+
)
|
|
1062
1070
|
if "sftp_enabled" in params and not isinstance(
|
|
1063
1071
|
params["sftp_enabled"], bool
|
|
1064
1072
|
):
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import unittest
|
|
2
|
+
from unittest import mock
|
|
3
|
+
|
|
4
|
+
import files_sdk
|
|
5
|
+
from files_sdk.error import InvalidParameterError
|
|
6
|
+
from files_sdk.models import file as file_model
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
class TestFileDownloadDefaultPath(unittest.TestCase):
|
|
10
|
+
def test_download_without_local_path_uses_the_remote_file_name(self):
|
|
11
|
+
with mock.patch.object(file_model.os, "name", "posix"), mock.patch.object(file_model.File, "download_file") as mock_download_file:
|
|
12
|
+
files_sdk.file.download_file("folder/report:2026.txt")
|
|
13
|
+
|
|
14
|
+
mock_download_file.assert_called_once_with("report:2026.txt")
|
|
15
|
+
|
|
16
|
+
def test_windows_download_without_local_path_rejects_drive_and_stream_names(self):
|
|
17
|
+
for remote_path in ("folder/C:victim.txt", "C:victim.txt", "folder/victim.txt::$DATA"):
|
|
18
|
+
with self.subTest(remote_path=remote_path):
|
|
19
|
+
with mock.patch.object(file_model.os, "name", "nt"), mock.patch.object(file_model.File, "download_file") as mock_download_file:
|
|
20
|
+
with self.assertRaises(InvalidParameterError):
|
|
21
|
+
files_sdk.file.download_file(remote_path)
|
|
22
|
+
|
|
23
|
+
mock_download_file.assert_not_called()
|
|
24
|
+
|
|
25
|
+
|
|
26
|
+
if __name__ == '__main__':
|
|
27
|
+
unittest.main()
|
files_com-1.6.497/_VERSION
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
1.6.497
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{files_com-1.6.497 → files_com-1.6.499}/files_sdk/models/action_notification_export_result.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{files_com-1.6.497 → files_com-1.6.499}/files_sdk/models/remote_server_configuration_file.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|