files-com 1.6.52__tar.gz → 1.6.54__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.
Potentially problematic release.
This version of files-com might be problematic. Click here for more details.
- {files_com-1.6.52/files_com.egg-info → files_com-1.6.54}/PKG-INFO +6 -1
- {files_com-1.6.52 → files_com-1.6.54}/README.md +5 -0
- files_com-1.6.54/_VERSION +1 -0
- {files_com-1.6.52 → files_com-1.6.54/files_com.egg-info}/PKG-INFO +6 -1
- {files_com-1.6.52 → files_com-1.6.54}/files_sdk/__init__.py +1 -1
- {files_com-1.6.52 → files_com-1.6.54}/files_sdk/error.py +75 -0
- {files_com-1.6.52 → files_com-1.6.54}/files_sdk/models/invoice_line_item.py +1 -0
- {files_com-1.6.52 → files_com-1.6.54}/files_sdk/models/remote_server.py +3 -91
- {files_com-1.6.52 → files_com-1.6.54}/files_sdk/models/sync.py +37 -0
- {files_com-1.6.52 → files_com-1.6.54}/files_sdk/models/sync_run.py +5 -8
- {files_com-1.6.52 → files_com-1.6.54}/pyproject.toml +1 -1
- {files_com-1.6.52 → files_com-1.6.54}/tests/test_sync.py +16 -0
- {files_com-1.6.52 → files_com-1.6.54}/tests/test_sync_run.py +1 -4
- files_com-1.6.52/_VERSION +0 -1
- {files_com-1.6.52 → files_com-1.6.54}/LICENSE +0 -0
- {files_com-1.6.52 → files_com-1.6.54}/files_com.egg-info/SOURCES.txt +0 -0
- {files_com-1.6.52 → files_com-1.6.54}/files_com.egg-info/dependency_links.txt +0 -0
- {files_com-1.6.52 → files_com-1.6.54}/files_com.egg-info/requires.txt +0 -0
- {files_com-1.6.52 → files_com-1.6.54}/files_com.egg-info/top_level.txt +0 -0
- {files_com-1.6.52 → files_com-1.6.54}/files_sdk/api.py +0 -0
- {files_com-1.6.52 → files_com-1.6.54}/files_sdk/api_client.py +0 -0
- {files_com-1.6.52 → files_com-1.6.54}/files_sdk/list_obj.py +0 -0
- {files_com-1.6.52 → files_com-1.6.54}/files_sdk/models/__init__.py +0 -0
- {files_com-1.6.52 → files_com-1.6.54}/files_sdk/models/account_line_item.py +0 -0
- {files_com-1.6.52 → files_com-1.6.54}/files_sdk/models/action.py +0 -0
- {files_com-1.6.52 → files_com-1.6.54}/files_sdk/models/action_notification_export.py +0 -0
- {files_com-1.6.52 → files_com-1.6.54}/files_sdk/models/action_notification_export_result.py +0 -0
- {files_com-1.6.52 → files_com-1.6.54}/files_sdk/models/api_key.py +0 -0
- {files_com-1.6.52 → files_com-1.6.54}/files_sdk/models/api_request_log.py +0 -0
- {files_com-1.6.52 → files_com-1.6.54}/files_sdk/models/app.py +0 -0
- {files_com-1.6.52 → files_com-1.6.54}/files_sdk/models/as2_incoming_message.py +0 -0
- {files_com-1.6.52 → files_com-1.6.54}/files_sdk/models/as2_outgoing_message.py +0 -0
- {files_com-1.6.52 → files_com-1.6.54}/files_sdk/models/as2_partner.py +0 -0
- {files_com-1.6.52 → files_com-1.6.54}/files_sdk/models/as2_station.py +0 -0
- {files_com-1.6.52 → files_com-1.6.54}/files_sdk/models/auto.py +0 -0
- {files_com-1.6.52 → files_com-1.6.54}/files_sdk/models/automation.py +0 -0
- {files_com-1.6.52 → files_com-1.6.54}/files_sdk/models/automation_log.py +0 -0
- {files_com-1.6.52 → files_com-1.6.54}/files_sdk/models/automation_run.py +0 -0
- {files_com-1.6.52 → files_com-1.6.54}/files_sdk/models/bandwidth_snapshot.py +0 -0
- {files_com-1.6.52 → files_com-1.6.54}/files_sdk/models/behavior.py +0 -0
- {files_com-1.6.52 → files_com-1.6.54}/files_sdk/models/bundle.py +0 -0
- {files_com-1.6.52 → files_com-1.6.54}/files_sdk/models/bundle_action.py +0 -0
- {files_com-1.6.52 → files_com-1.6.54}/files_sdk/models/bundle_download.py +0 -0
- {files_com-1.6.52 → files_com-1.6.54}/files_sdk/models/bundle_notification.py +0 -0
- {files_com-1.6.52 → files_com-1.6.54}/files_sdk/models/bundle_path.py +0 -0
- {files_com-1.6.52 → files_com-1.6.54}/files_sdk/models/bundle_recipient.py +0 -0
- {files_com-1.6.52 → files_com-1.6.54}/files_sdk/models/bundle_registration.py +0 -0
- {files_com-1.6.52 → files_com-1.6.54}/files_sdk/models/child_site_management_policy.py +0 -0
- {files_com-1.6.52 → files_com-1.6.54}/files_sdk/models/clickwrap.py +0 -0
- {files_com-1.6.52 → files_com-1.6.54}/files_sdk/models/dns_record.py +0 -0
- {files_com-1.6.52 → files_com-1.6.54}/files_sdk/models/email_incoming_message.py +0 -0
- {files_com-1.6.52 → files_com-1.6.54}/files_sdk/models/email_log.py +0 -0
- {files_com-1.6.52 → files_com-1.6.54}/files_sdk/models/errors.py +0 -0
- {files_com-1.6.52 → files_com-1.6.54}/files_sdk/models/exavault_api_request_log.py +0 -0
- {files_com-1.6.52 → files_com-1.6.54}/files_sdk/models/external_event.py +0 -0
- {files_com-1.6.52 → files_com-1.6.54}/files_sdk/models/file.py +0 -0
- {files_com-1.6.52 → files_com-1.6.54}/files_sdk/models/file_action.py +0 -0
- {files_com-1.6.52 → files_com-1.6.54}/files_sdk/models/file_comment.py +0 -0
- {files_com-1.6.52 → files_com-1.6.54}/files_sdk/models/file_comment_reaction.py +0 -0
- {files_com-1.6.52 → files_com-1.6.54}/files_sdk/models/file_migration.py +0 -0
- {files_com-1.6.52 → files_com-1.6.54}/files_sdk/models/file_migration_log.py +0 -0
- {files_com-1.6.52 → files_com-1.6.54}/files_sdk/models/file_upload_part.py +0 -0
- {files_com-1.6.52 → files_com-1.6.54}/files_sdk/models/folder.py +0 -0
- {files_com-1.6.52 → files_com-1.6.54}/files_sdk/models/form_field.py +0 -0
- {files_com-1.6.52 → files_com-1.6.54}/files_sdk/models/form_field_set.py +0 -0
- {files_com-1.6.52 → files_com-1.6.54}/files_sdk/models/ftp_action_log.py +0 -0
- {files_com-1.6.52 → files_com-1.6.54}/files_sdk/models/gpg_key.py +0 -0
- {files_com-1.6.52 → files_com-1.6.54}/files_sdk/models/group.py +0 -0
- {files_com-1.6.52 → files_com-1.6.54}/files_sdk/models/group_user.py +0 -0
- {files_com-1.6.52 → files_com-1.6.54}/files_sdk/models/history.py +0 -0
- {files_com-1.6.52 → files_com-1.6.54}/files_sdk/models/history_export.py +0 -0
- {files_com-1.6.52 → files_com-1.6.54}/files_sdk/models/history_export_result.py +0 -0
- {files_com-1.6.52 → files_com-1.6.54}/files_sdk/models/holiday_region.py +0 -0
- {files_com-1.6.52 → files_com-1.6.54}/files_sdk/models/image.py +0 -0
- {files_com-1.6.52 → files_com-1.6.54}/files_sdk/models/inbox_recipient.py +0 -0
- {files_com-1.6.52 → files_com-1.6.54}/files_sdk/models/inbox_registration.py +0 -0
- {files_com-1.6.52 → files_com-1.6.54}/files_sdk/models/inbox_upload.py +0 -0
- {files_com-1.6.52 → files_com-1.6.54}/files_sdk/models/invoice.py +0 -0
- {files_com-1.6.52 → files_com-1.6.54}/files_sdk/models/ip_address.py +0 -0
- {files_com-1.6.52 → files_com-1.6.54}/files_sdk/models/lock.py +0 -0
- {files_com-1.6.52 → files_com-1.6.54}/files_sdk/models/message.py +0 -0
- {files_com-1.6.52 → files_com-1.6.54}/files_sdk/models/message_comment.py +0 -0
- {files_com-1.6.52 → files_com-1.6.54}/files_sdk/models/message_comment_reaction.py +0 -0
- {files_com-1.6.52 → files_com-1.6.54}/files_sdk/models/message_reaction.py +0 -0
- {files_com-1.6.52 → files_com-1.6.54}/files_sdk/models/notification.py +0 -0
- {files_com-1.6.52 → files_com-1.6.54}/files_sdk/models/outbound_connection_log.py +0 -0
- {files_com-1.6.52 → files_com-1.6.54}/files_sdk/models/payment.py +0 -0
- {files_com-1.6.52 → files_com-1.6.54}/files_sdk/models/payment_line_item.py +0 -0
- {files_com-1.6.52 → files_com-1.6.54}/files_sdk/models/permission.py +0 -0
- {files_com-1.6.52 → files_com-1.6.54}/files_sdk/models/preview.py +0 -0
- {files_com-1.6.52 → files_com-1.6.54}/files_sdk/models/priority.py +0 -0
- {files_com-1.6.52 → files_com-1.6.54}/files_sdk/models/project.py +0 -0
- {files_com-1.6.52 → files_com-1.6.54}/files_sdk/models/public_hosting_request_log.py +0 -0
- {files_com-1.6.52 → files_com-1.6.54}/files_sdk/models/public_ip_address.py +0 -0
- {files_com-1.6.52 → files_com-1.6.54}/files_sdk/models/public_key.py +0 -0
- {files_com-1.6.52 → files_com-1.6.54}/files_sdk/models/remote_bandwidth_snapshot.py +0 -0
- {files_com-1.6.52 → files_com-1.6.54}/files_sdk/models/remote_mount_backend.py +0 -0
- {files_com-1.6.52 → files_com-1.6.54}/files_sdk/models/remote_server_configuration_file.py +0 -0
- {files_com-1.6.52 → files_com-1.6.54}/files_sdk/models/request.py +0 -0
- {files_com-1.6.52 → files_com-1.6.54}/files_sdk/models/restore.py +0 -0
- {files_com-1.6.52 → files_com-1.6.54}/files_sdk/models/session.py +0 -0
- {files_com-1.6.52 → files_com-1.6.54}/files_sdk/models/settings_change.py +0 -0
- {files_com-1.6.52 → files_com-1.6.54}/files_sdk/models/sftp_action_log.py +0 -0
- {files_com-1.6.52 → files_com-1.6.54}/files_sdk/models/sftp_host_key.py +0 -0
- {files_com-1.6.52 → files_com-1.6.54}/files_sdk/models/share_group.py +0 -0
- {files_com-1.6.52 → files_com-1.6.54}/files_sdk/models/share_group_member.py +0 -0
- {files_com-1.6.52 → files_com-1.6.54}/files_sdk/models/siem_http_destination.py +0 -0
- {files_com-1.6.52 → files_com-1.6.54}/files_sdk/models/site.py +0 -0
- {files_com-1.6.52 → files_com-1.6.54}/files_sdk/models/snapshot.py +0 -0
- {files_com-1.6.52 → files_com-1.6.54}/files_sdk/models/sso_strategy.py +0 -0
- {files_com-1.6.52 → files_com-1.6.54}/files_sdk/models/status.py +0 -0
- {files_com-1.6.52 → files_com-1.6.54}/files_sdk/models/style.py +0 -0
- {files_com-1.6.52 → files_com-1.6.54}/files_sdk/models/sync_log.py +0 -0
- {files_com-1.6.52 → files_com-1.6.54}/files_sdk/models/usage_by_top_level_dir.py +0 -0
- {files_com-1.6.52 → files_com-1.6.54}/files_sdk/models/usage_daily_snapshot.py +0 -0
- {files_com-1.6.52 → files_com-1.6.54}/files_sdk/models/usage_snapshot.py +0 -0
- {files_com-1.6.52 → files_com-1.6.54}/files_sdk/models/user.py +0 -0
- {files_com-1.6.52 → files_com-1.6.54}/files_sdk/models/user_cipher_use.py +0 -0
- {files_com-1.6.52 → files_com-1.6.54}/files_sdk/models/user_lifecycle_rule.py +0 -0
- {files_com-1.6.52 → files_com-1.6.54}/files_sdk/models/user_request.py +0 -0
- {files_com-1.6.52 → files_com-1.6.54}/files_sdk/models/user_sftp_client_use.py +0 -0
- {files_com-1.6.52 → files_com-1.6.54}/files_sdk/models/web_dav_action_log.py +0 -0
- {files_com-1.6.52 → files_com-1.6.54}/files_sdk/models/webhook_test.py +0 -0
- {files_com-1.6.52 → files_com-1.6.54}/files_sdk/path_util.py +0 -0
- {files_com-1.6.52 → files_com-1.6.54}/files_sdk/util.py +0 -0
- {files_com-1.6.52 → files_com-1.6.54}/setup.cfg +0 -0
- {files_com-1.6.52 → files_com-1.6.54}/tests/test_account_line_item.py +0 -0
- {files_com-1.6.52 → files_com-1.6.54}/tests/test_action.py +0 -0
- {files_com-1.6.52 → files_com-1.6.54}/tests/test_action_notification_export.py +0 -0
- {files_com-1.6.52 → files_com-1.6.54}/tests/test_action_notification_export_result.py +0 -0
- {files_com-1.6.52 → files_com-1.6.54}/tests/test_api_errors.py +0 -0
- {files_com-1.6.52 → files_com-1.6.54}/tests/test_api_key.py +0 -0
- {files_com-1.6.52 → files_com-1.6.54}/tests/test_api_request_log.py +0 -0
- {files_com-1.6.52 → files_com-1.6.54}/tests/test_app.py +0 -0
- {files_com-1.6.52 → files_com-1.6.54}/tests/test_as2_incoming_message.py +0 -0
- {files_com-1.6.52 → files_com-1.6.54}/tests/test_as2_outgoing_message.py +0 -0
- {files_com-1.6.52 → files_com-1.6.54}/tests/test_as2_partner.py +0 -0
- {files_com-1.6.52 → files_com-1.6.54}/tests/test_as2_station.py +0 -0
- {files_com-1.6.52 → files_com-1.6.54}/tests/test_auto.py +0 -0
- {files_com-1.6.52 → files_com-1.6.54}/tests/test_automation.py +0 -0
- {files_com-1.6.52 → files_com-1.6.54}/tests/test_automation_log.py +0 -0
- {files_com-1.6.52 → files_com-1.6.54}/tests/test_automation_run.py +0 -0
- {files_com-1.6.52 → files_com-1.6.54}/tests/test_bandwidth_snapshot.py +0 -0
- {files_com-1.6.52 → files_com-1.6.54}/tests/test_behavior.py +0 -0
- {files_com-1.6.52 → files_com-1.6.54}/tests/test_bundle.py +0 -0
- {files_com-1.6.52 → files_com-1.6.54}/tests/test_bundle_action.py +0 -0
- {files_com-1.6.52 → files_com-1.6.54}/tests/test_bundle_download.py +0 -0
- {files_com-1.6.52 → files_com-1.6.54}/tests/test_bundle_notification.py +0 -0
- {files_com-1.6.52 → files_com-1.6.54}/tests/test_bundle_path.py +0 -0
- {files_com-1.6.52 → files_com-1.6.54}/tests/test_bundle_recipient.py +0 -0
- {files_com-1.6.52 → files_com-1.6.54}/tests/test_bundle_registration.py +0 -0
- {files_com-1.6.52 → files_com-1.6.54}/tests/test_child_site_management_policy.py +0 -0
- {files_com-1.6.52 → files_com-1.6.54}/tests/test_clickwrap.py +0 -0
- {files_com-1.6.52 → files_com-1.6.54}/tests/test_connection_adapter.py +0 -0
- {files_com-1.6.52 → files_com-1.6.54}/tests/test_dns_record.py +0 -0
- {files_com-1.6.52 → files_com-1.6.54}/tests/test_email_incoming_message.py +0 -0
- {files_com-1.6.52 → files_com-1.6.54}/tests/test_email_log.py +0 -0
- {files_com-1.6.52 → files_com-1.6.54}/tests/test_errors.py +0 -0
- {files_com-1.6.52 → files_com-1.6.54}/tests/test_exavault_api_request_log.py +0 -0
- {files_com-1.6.52 → files_com-1.6.54}/tests/test_external_event.py +0 -0
- {files_com-1.6.52 → files_com-1.6.54}/tests/test_file.py +0 -0
- {files_com-1.6.52 → files_com-1.6.54}/tests/test_file_action.py +0 -0
- {files_com-1.6.52 → files_com-1.6.54}/tests/test_file_comment.py +0 -0
- {files_com-1.6.52 → files_com-1.6.54}/tests/test_file_comment_reaction.py +0 -0
- {files_com-1.6.52 → files_com-1.6.54}/tests/test_file_migration.py +0 -0
- {files_com-1.6.52 → files_com-1.6.54}/tests/test_file_migration_log.py +0 -0
- {files_com-1.6.52 → files_com-1.6.54}/tests/test_file_upload_part.py +0 -0
- {files_com-1.6.52 → files_com-1.6.54}/tests/test_folder.py +0 -0
- {files_com-1.6.52 → files_com-1.6.54}/tests/test_form_field.py +0 -0
- {files_com-1.6.52 → files_com-1.6.54}/tests/test_form_field_set.py +0 -0
- {files_com-1.6.52 → files_com-1.6.54}/tests/test_ftp_action_log.py +0 -0
- {files_com-1.6.52 → files_com-1.6.54}/tests/test_gpg_key.py +0 -0
- {files_com-1.6.52 → files_com-1.6.54}/tests/test_group.py +0 -0
- {files_com-1.6.52 → files_com-1.6.54}/tests/test_group_user.py +0 -0
- {files_com-1.6.52 → files_com-1.6.54}/tests/test_history.py +0 -0
- {files_com-1.6.52 → files_com-1.6.54}/tests/test_history_export.py +0 -0
- {files_com-1.6.52 → files_com-1.6.54}/tests/test_history_export_result.py +0 -0
- {files_com-1.6.52 → files_com-1.6.54}/tests/test_holiday_region.py +0 -0
- {files_com-1.6.52 → files_com-1.6.54}/tests/test_image.py +0 -0
- {files_com-1.6.52 → files_com-1.6.54}/tests/test_inbox_recipient.py +0 -0
- {files_com-1.6.52 → files_com-1.6.54}/tests/test_inbox_registration.py +0 -0
- {files_com-1.6.52 → files_com-1.6.54}/tests/test_inbox_upload.py +0 -0
- {files_com-1.6.52 → files_com-1.6.54}/tests/test_invoice.py +0 -0
- {files_com-1.6.52 → files_com-1.6.54}/tests/test_invoice_line_item.py +0 -0
- {files_com-1.6.52 → files_com-1.6.54}/tests/test_ip_address.py +0 -0
- {files_com-1.6.52 → files_com-1.6.54}/tests/test_lock.py +0 -0
- {files_com-1.6.52 → files_com-1.6.54}/tests/test_message.py +0 -0
- {files_com-1.6.52 → files_com-1.6.54}/tests/test_message_comment.py +0 -0
- {files_com-1.6.52 → files_com-1.6.54}/tests/test_message_comment_reaction.py +0 -0
- {files_com-1.6.52 → files_com-1.6.54}/tests/test_message_reaction.py +0 -0
- {files_com-1.6.52 → files_com-1.6.54}/tests/test_notification.py +0 -0
- {files_com-1.6.52 → files_com-1.6.54}/tests/test_outbound_connection_log.py +0 -0
- {files_com-1.6.52 → files_com-1.6.54}/tests/test_path_util.py +0 -0
- {files_com-1.6.52 → files_com-1.6.54}/tests/test_payment.py +0 -0
- {files_com-1.6.52 → files_com-1.6.54}/tests/test_payment_line_item.py +0 -0
- {files_com-1.6.52 → files_com-1.6.54}/tests/test_permission.py +0 -0
- {files_com-1.6.52 → files_com-1.6.54}/tests/test_preview.py +0 -0
- {files_com-1.6.52 → files_com-1.6.54}/tests/test_priority.py +0 -0
- {files_com-1.6.52 → files_com-1.6.54}/tests/test_project.py +0 -0
- {files_com-1.6.52 → files_com-1.6.54}/tests/test_public_hosting_request_log.py +0 -0
- {files_com-1.6.52 → files_com-1.6.54}/tests/test_public_ip_address.py +0 -0
- {files_com-1.6.52 → files_com-1.6.54}/tests/test_public_key.py +0 -0
- {files_com-1.6.52 → files_com-1.6.54}/tests/test_remote_bandwidth_snapshot.py +0 -0
- {files_com-1.6.52 → files_com-1.6.54}/tests/test_remote_mount_backend.py +0 -0
- {files_com-1.6.52 → files_com-1.6.54}/tests/test_remote_server.py +0 -0
- {files_com-1.6.52 → files_com-1.6.54}/tests/test_remote_server_configuration_file.py +0 -0
- {files_com-1.6.52 → files_com-1.6.54}/tests/test_request.py +0 -0
- {files_com-1.6.52 → files_com-1.6.54}/tests/test_restore.py +0 -0
- {files_com-1.6.52 → files_com-1.6.54}/tests/test_session.py +0 -0
- {files_com-1.6.52 → files_com-1.6.54}/tests/test_settings_change.py +0 -0
- {files_com-1.6.52 → files_com-1.6.54}/tests/test_sftp_action_log.py +0 -0
- {files_com-1.6.52 → files_com-1.6.54}/tests/test_sftp_host_key.py +0 -0
- {files_com-1.6.52 → files_com-1.6.54}/tests/test_share_group.py +0 -0
- {files_com-1.6.52 → files_com-1.6.54}/tests/test_share_group_member.py +0 -0
- {files_com-1.6.52 → files_com-1.6.54}/tests/test_siem_http_destination.py +0 -0
- {files_com-1.6.52 → files_com-1.6.54}/tests/test_site.py +0 -0
- {files_com-1.6.52 → files_com-1.6.54}/tests/test_snapshot.py +0 -0
- {files_com-1.6.52 → files_com-1.6.54}/tests/test_sso_strategy.py +0 -0
- {files_com-1.6.52 → files_com-1.6.54}/tests/test_status.py +0 -0
- {files_com-1.6.52 → files_com-1.6.54}/tests/test_style.py +0 -0
- {files_com-1.6.52 → files_com-1.6.54}/tests/test_sync_log.py +0 -0
- {files_com-1.6.52 → files_com-1.6.54}/tests/test_usage_by_top_level_dir.py +0 -0
- {files_com-1.6.52 → files_com-1.6.54}/tests/test_usage_daily_snapshot.py +0 -0
- {files_com-1.6.52 → files_com-1.6.54}/tests/test_usage_snapshot.py +0 -0
- {files_com-1.6.52 → files_com-1.6.54}/tests/test_user.py +0 -0
- {files_com-1.6.52 → files_com-1.6.54}/tests/test_user_cipher_use.py +0 -0
- {files_com-1.6.52 → files_com-1.6.54}/tests/test_user_lifecycle_rule.py +0 -0
- {files_com-1.6.52 → files_com-1.6.54}/tests/test_user_request.py +0 -0
- {files_com-1.6.52 → files_com-1.6.54}/tests/test_user_sftp_client_use.py +0 -0
- {files_com-1.6.52 → files_com-1.6.54}/tests/test_web_dav_action_log.py +0 -0
- {files_com-1.6.52 → files_com-1.6.54}/tests/test_webhook_test.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.54
|
|
4
4
|
Summary: Python bindings for the Files.com API
|
|
5
5
|
License: MIT
|
|
6
6
|
Requires-Python: >=3.5
|
|
@@ -595,12 +595,16 @@ files_sdk.error.FolderAdminPermissionRequiredError -> files_sdk.error.NotAuthori
|
|
|
595
595
|
|`HistoryPermissionRequiredError`| `NotAuthorizedError` |
|
|
596
596
|
|`InsufficientPermissionForParamsError`| `NotAuthorizedError` |
|
|
597
597
|
|`InsufficientPermissionForSiteError`| `NotAuthorizedError` |
|
|
598
|
+
|`MoverAccessDeniedError`| `NotAuthorizedError` |
|
|
599
|
+
|`MoverPackageRequiredError`| `NotAuthorizedError` |
|
|
598
600
|
|`MustAuthenticateWithApiKeyError`| `NotAuthorizedError` |
|
|
599
601
|
|`NeedAdminPermissionForInboxError`| `NotAuthorizedError` |
|
|
600
602
|
|`NonAdminsMustQueryByFolderOrPathError`| `NotAuthorizedError` |
|
|
601
603
|
|`NotAllowedToCreateBundleError`| `NotAuthorizedError` |
|
|
604
|
+
|`NotEnqueuableSyncError`| `NotAuthorizedError` |
|
|
602
605
|
|`PasswordChangeNotRequiredError`| `NotAuthorizedError` |
|
|
603
606
|
|`PasswordChangeRequiredError`| `NotAuthorizedError` |
|
|
607
|
+
|`PaymentMethodErrorError`| `NotAuthorizedError` |
|
|
604
608
|
|`ReadOnlySessionError`| `NotAuthorizedError` |
|
|
605
609
|
|`ReadPermissionRequiredError`| `NotAuthorizedError` |
|
|
606
610
|
|`ReauthenticationFailedError`| `NotAuthorizedError` |
|
|
@@ -667,6 +671,7 @@ files_sdk.error.FolderAdminPermissionRequiredError -> files_sdk.error.NotAuthori
|
|
|
667
671
|
|`ResourceBelongsToParentSiteError`| `ProcessingFailureError` |
|
|
668
672
|
|`ResourceLockedError`| `ProcessingFailureError` |
|
|
669
673
|
|`SubfolderLockedError`| `ProcessingFailureError` |
|
|
674
|
+
|`SyncInProgressError`| `ProcessingFailureError` |
|
|
670
675
|
|`TwoFactorAuthenticationCodeAlreadySentError`| `ProcessingFailureError` |
|
|
671
676
|
|`TwoFactorAuthenticationCountryBlacklistedError`| `ProcessingFailureError` |
|
|
672
677
|
|`TwoFactorAuthenticationGeneralErrorError`| `ProcessingFailureError` |
|
|
@@ -583,12 +583,16 @@ files_sdk.error.FolderAdminPermissionRequiredError -> files_sdk.error.NotAuthori
|
|
|
583
583
|
|`HistoryPermissionRequiredError`| `NotAuthorizedError` |
|
|
584
584
|
|`InsufficientPermissionForParamsError`| `NotAuthorizedError` |
|
|
585
585
|
|`InsufficientPermissionForSiteError`| `NotAuthorizedError` |
|
|
586
|
+
|`MoverAccessDeniedError`| `NotAuthorizedError` |
|
|
587
|
+
|`MoverPackageRequiredError`| `NotAuthorizedError` |
|
|
586
588
|
|`MustAuthenticateWithApiKeyError`| `NotAuthorizedError` |
|
|
587
589
|
|`NeedAdminPermissionForInboxError`| `NotAuthorizedError` |
|
|
588
590
|
|`NonAdminsMustQueryByFolderOrPathError`| `NotAuthorizedError` |
|
|
589
591
|
|`NotAllowedToCreateBundleError`| `NotAuthorizedError` |
|
|
592
|
+
|`NotEnqueuableSyncError`| `NotAuthorizedError` |
|
|
590
593
|
|`PasswordChangeNotRequiredError`| `NotAuthorizedError` |
|
|
591
594
|
|`PasswordChangeRequiredError`| `NotAuthorizedError` |
|
|
595
|
+
|`PaymentMethodErrorError`| `NotAuthorizedError` |
|
|
592
596
|
|`ReadOnlySessionError`| `NotAuthorizedError` |
|
|
593
597
|
|`ReadPermissionRequiredError`| `NotAuthorizedError` |
|
|
594
598
|
|`ReauthenticationFailedError`| `NotAuthorizedError` |
|
|
@@ -655,6 +659,7 @@ files_sdk.error.FolderAdminPermissionRequiredError -> files_sdk.error.NotAuthori
|
|
|
655
659
|
|`ResourceBelongsToParentSiteError`| `ProcessingFailureError` |
|
|
656
660
|
|`ResourceLockedError`| `ProcessingFailureError` |
|
|
657
661
|
|`SubfolderLockedError`| `ProcessingFailureError` |
|
|
662
|
+
|`SyncInProgressError`| `ProcessingFailureError` |
|
|
658
663
|
|`TwoFactorAuthenticationCodeAlreadySentError`| `ProcessingFailureError` |
|
|
659
664
|
|`TwoFactorAuthenticationCountryBlacklistedError`| `ProcessingFailureError` |
|
|
660
665
|
|`TwoFactorAuthenticationGeneralErrorError`| `ProcessingFailureError` |
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
1.6.54
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: files_com
|
|
3
|
-
Version: 1.6.
|
|
3
|
+
Version: 1.6.54
|
|
4
4
|
Summary: Python bindings for the Files.com API
|
|
5
5
|
License: MIT
|
|
6
6
|
Requires-Python: >=3.5
|
|
@@ -595,12 +595,16 @@ files_sdk.error.FolderAdminPermissionRequiredError -> files_sdk.error.NotAuthori
|
|
|
595
595
|
|`HistoryPermissionRequiredError`| `NotAuthorizedError` |
|
|
596
596
|
|`InsufficientPermissionForParamsError`| `NotAuthorizedError` |
|
|
597
597
|
|`InsufficientPermissionForSiteError`| `NotAuthorizedError` |
|
|
598
|
+
|`MoverAccessDeniedError`| `NotAuthorizedError` |
|
|
599
|
+
|`MoverPackageRequiredError`| `NotAuthorizedError` |
|
|
598
600
|
|`MustAuthenticateWithApiKeyError`| `NotAuthorizedError` |
|
|
599
601
|
|`NeedAdminPermissionForInboxError`| `NotAuthorizedError` |
|
|
600
602
|
|`NonAdminsMustQueryByFolderOrPathError`| `NotAuthorizedError` |
|
|
601
603
|
|`NotAllowedToCreateBundleError`| `NotAuthorizedError` |
|
|
604
|
+
|`NotEnqueuableSyncError`| `NotAuthorizedError` |
|
|
602
605
|
|`PasswordChangeNotRequiredError`| `NotAuthorizedError` |
|
|
603
606
|
|`PasswordChangeRequiredError`| `NotAuthorizedError` |
|
|
607
|
+
|`PaymentMethodErrorError`| `NotAuthorizedError` |
|
|
604
608
|
|`ReadOnlySessionError`| `NotAuthorizedError` |
|
|
605
609
|
|`ReadPermissionRequiredError`| `NotAuthorizedError` |
|
|
606
610
|
|`ReauthenticationFailedError`| `NotAuthorizedError` |
|
|
@@ -667,6 +671,7 @@ files_sdk.error.FolderAdminPermissionRequiredError -> files_sdk.error.NotAuthori
|
|
|
667
671
|
|`ResourceBelongsToParentSiteError`| `ProcessingFailureError` |
|
|
668
672
|
|`ResourceLockedError`| `ProcessingFailureError` |
|
|
669
673
|
|`SubfolderLockedError`| `ProcessingFailureError` |
|
|
674
|
+
|`SyncInProgressError`| `ProcessingFailureError` |
|
|
670
675
|
|`TwoFactorAuthenticationCodeAlreadySentError`| `ProcessingFailureError` |
|
|
671
676
|
|`TwoFactorAuthenticationCountryBlacklistedError`| `ProcessingFailureError` |
|
|
672
677
|
|`TwoFactorAuthenticationGeneralErrorError`| `ProcessingFailureError` |
|
|
@@ -1342,6 +1342,36 @@ class InsufficientPermissionForSiteError(NotAuthorizedError):
|
|
|
1342
1342
|
)
|
|
1343
1343
|
|
|
1344
1344
|
|
|
1345
|
+
class MoverAccessDeniedError(NotAuthorizedError):
|
|
1346
|
+
def __init__(
|
|
1347
|
+
self,
|
|
1348
|
+
message=None,
|
|
1349
|
+
http_body=None,
|
|
1350
|
+
http_status=None,
|
|
1351
|
+
json_body=None,
|
|
1352
|
+
headers=None,
|
|
1353
|
+
code=None,
|
|
1354
|
+
):
|
|
1355
|
+
super().__init__(
|
|
1356
|
+
message, http_body, http_status, json_body, headers, code
|
|
1357
|
+
)
|
|
1358
|
+
|
|
1359
|
+
|
|
1360
|
+
class MoverPackageRequiredError(NotAuthorizedError):
|
|
1361
|
+
def __init__(
|
|
1362
|
+
self,
|
|
1363
|
+
message=None,
|
|
1364
|
+
http_body=None,
|
|
1365
|
+
http_status=None,
|
|
1366
|
+
json_body=None,
|
|
1367
|
+
headers=None,
|
|
1368
|
+
code=None,
|
|
1369
|
+
):
|
|
1370
|
+
super().__init__(
|
|
1371
|
+
message, http_body, http_status, json_body, headers, code
|
|
1372
|
+
)
|
|
1373
|
+
|
|
1374
|
+
|
|
1345
1375
|
class MustAuthenticateWithApiKeyError(NotAuthorizedError):
|
|
1346
1376
|
def __init__(
|
|
1347
1377
|
self,
|
|
@@ -1402,6 +1432,21 @@ class NotAllowedToCreateBundleError(NotAuthorizedError):
|
|
|
1402
1432
|
)
|
|
1403
1433
|
|
|
1404
1434
|
|
|
1435
|
+
class NotEnqueuableSyncError(NotAuthorizedError):
|
|
1436
|
+
def __init__(
|
|
1437
|
+
self,
|
|
1438
|
+
message=None,
|
|
1439
|
+
http_body=None,
|
|
1440
|
+
http_status=None,
|
|
1441
|
+
json_body=None,
|
|
1442
|
+
headers=None,
|
|
1443
|
+
code=None,
|
|
1444
|
+
):
|
|
1445
|
+
super().__init__(
|
|
1446
|
+
message, http_body, http_status, json_body, headers, code
|
|
1447
|
+
)
|
|
1448
|
+
|
|
1449
|
+
|
|
1405
1450
|
class PasswordChangeNotRequiredError(NotAuthorizedError):
|
|
1406
1451
|
def __init__(
|
|
1407
1452
|
self,
|
|
@@ -1432,6 +1477,21 @@ class PasswordChangeRequiredError(NotAuthorizedError):
|
|
|
1432
1477
|
)
|
|
1433
1478
|
|
|
1434
1479
|
|
|
1480
|
+
class PaymentMethodErrorError(NotAuthorizedError):
|
|
1481
|
+
def __init__(
|
|
1482
|
+
self,
|
|
1483
|
+
message=None,
|
|
1484
|
+
http_body=None,
|
|
1485
|
+
http_status=None,
|
|
1486
|
+
json_body=None,
|
|
1487
|
+
headers=None,
|
|
1488
|
+
code=None,
|
|
1489
|
+
):
|
|
1490
|
+
super().__init__(
|
|
1491
|
+
message, http_body, http_status, json_body, headers, code
|
|
1492
|
+
)
|
|
1493
|
+
|
|
1494
|
+
|
|
1435
1495
|
class ReadOnlySessionError(NotAuthorizedError):
|
|
1436
1496
|
def __init__(
|
|
1437
1497
|
self,
|
|
@@ -2452,6 +2512,21 @@ class SubfolderLockedError(ProcessingFailureError):
|
|
|
2452
2512
|
)
|
|
2453
2513
|
|
|
2454
2514
|
|
|
2515
|
+
class SyncInProgressError(ProcessingFailureError):
|
|
2516
|
+
def __init__(
|
|
2517
|
+
self,
|
|
2518
|
+
message=None,
|
|
2519
|
+
http_body=None,
|
|
2520
|
+
http_status=None,
|
|
2521
|
+
json_body=None,
|
|
2522
|
+
headers=None,
|
|
2523
|
+
code=None,
|
|
2524
|
+
):
|
|
2525
|
+
super().__init__(
|
|
2526
|
+
message, http_body, http_status, json_body, headers, code
|
|
2527
|
+
)
|
|
2528
|
+
|
|
2529
|
+
|
|
2455
2530
|
class TwoFactorAuthenticationCodeAlreadySentError(ProcessingFailureError):
|
|
2456
2531
|
def __init__(
|
|
2457
2532
|
self,
|
|
@@ -9,6 +9,7 @@ from files_sdk.error import ( # noqa: F401
|
|
|
9
9
|
|
|
10
10
|
class InvoiceLineItem:
|
|
11
11
|
default_attributes = {
|
|
12
|
+
"id": None, # int64 - Invoice Line item Id
|
|
12
13
|
"amount": None, # double - Invoice line item amount
|
|
13
14
|
"created_at": None, # date-time - Invoice line item created at date/time
|
|
14
15
|
"description": None, # string - Invoice line item description
|
|
@@ -39,9 +39,6 @@ class RemoteServer:
|
|
|
39
39
|
"wasabi_bucket": None, # string - Wasabi: Bucket name
|
|
40
40
|
"wasabi_region": None, # string - Wasabi: Region
|
|
41
41
|
"wasabi_access_key": None, # string - Wasabi: Access Key.
|
|
42
|
-
"rackspace_username": None, # string - Rackspace: username used to login to the Rackspace Cloud Control Panel.
|
|
43
|
-
"rackspace_region": None, # string - Rackspace: Three letter code for Rackspace region. See https://support.rackspace.com/how-to/about-regions/
|
|
44
|
-
"rackspace_container": None, # string - Rackspace: The name of the container (top level directory) where files will sync.
|
|
45
42
|
"auth_status": None, # string - Either `in_setup` or `complete`
|
|
46
43
|
"auth_account_name": None, # string - Describes the authorized account
|
|
47
44
|
"one_drive_account_type": None, # string - OneDrive: Either personal or business_other account types
|
|
@@ -88,7 +85,6 @@ class RemoteServer:
|
|
|
88
85
|
"google_cloud_storage_credentials_json": None, # string - Google Cloud Storage: JSON file that contains the private key. To generate see https://cloud.google.com/storage/docs/json_api/v1/how-tos/authorizing#APIKey
|
|
89
86
|
"google_cloud_storage_s3_compatible_secret_key": None, # string - Google Cloud Storage: S3-compatible secret key
|
|
90
87
|
"linode_secret_key": None, # string - Linode: Secret Key
|
|
91
|
-
"rackspace_api_key": None, # string - Rackspace: API key from the Rackspace Cloud Control Panel
|
|
92
88
|
"s3_compatible_secret_key": None, # string - S3-compatible: Secret Key
|
|
93
89
|
"wasabi_secret_key": None, # string - Wasabi: Secret Key
|
|
94
90
|
}
|
|
@@ -215,7 +211,6 @@ class RemoteServer:
|
|
|
215
211
|
# google_cloud_storage_credentials_json - string - Google Cloud Storage: JSON file that contains the private key. To generate see https://cloud.google.com/storage/docs/json_api/v1/how-tos/authorizing#APIKey
|
|
216
212
|
# google_cloud_storage_s3_compatible_secret_key - string - Google Cloud Storage: S3-compatible secret key
|
|
217
213
|
# linode_secret_key - string - Linode: Secret Key
|
|
218
|
-
# rackspace_api_key - string - Rackspace: API key from the Rackspace Cloud Control Panel
|
|
219
214
|
# s3_compatible_secret_key - string - S3-compatible: Secret Key
|
|
220
215
|
# wasabi_secret_key - string - Wasabi: Secret Key
|
|
221
216
|
# aws_access_key - string - AWS Access Key.
|
|
@@ -250,9 +245,6 @@ class RemoteServer:
|
|
|
250
245
|
# one_drive_account_type - string - OneDrive: Either personal or business_other account types
|
|
251
246
|
# 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 site-wide setting which will force it to true.
|
|
252
247
|
# port - int64 - Port for remote server. Not needed for S3.
|
|
253
|
-
# rackspace_container - string - Rackspace: The name of the container (top level directory) where files will sync.
|
|
254
|
-
# rackspace_region - string - Rackspace: Three letter code for Rackspace region. See https://support.rackspace.com/how-to/about-regions/
|
|
255
|
-
# rackspace_username - string - Rackspace: username used to login to the Rackspace Cloud Control Panel.
|
|
256
248
|
# s3_bucket - string - S3 bucket name
|
|
257
249
|
# s3_compatible_access_key - string - S3-compatible: Access Key
|
|
258
250
|
# s3_compatible_bucket - string - S3-compatible: Bucket name
|
|
@@ -379,12 +371,6 @@ class RemoteServer:
|
|
|
379
371
|
raise InvalidParameterError(
|
|
380
372
|
"Bad parameter: linode_secret_key must be an str"
|
|
381
373
|
)
|
|
382
|
-
if "rackspace_api_key" in params and not isinstance(
|
|
383
|
-
params["rackspace_api_key"], str
|
|
384
|
-
):
|
|
385
|
-
raise InvalidParameterError(
|
|
386
|
-
"Bad parameter: rackspace_api_key must be an str"
|
|
387
|
-
)
|
|
388
374
|
if "s3_compatible_secret_key" in params and not isinstance(
|
|
389
375
|
params["s3_compatible_secret_key"], str
|
|
390
376
|
):
|
|
@@ -558,24 +544,6 @@ class RemoteServer:
|
|
|
558
544
|
)
|
|
559
545
|
if "port" in params and not isinstance(params["port"], int):
|
|
560
546
|
raise InvalidParameterError("Bad parameter: port must be an int")
|
|
561
|
-
if "rackspace_container" in params and not isinstance(
|
|
562
|
-
params["rackspace_container"], str
|
|
563
|
-
):
|
|
564
|
-
raise InvalidParameterError(
|
|
565
|
-
"Bad parameter: rackspace_container must be an str"
|
|
566
|
-
)
|
|
567
|
-
if "rackspace_region" in params and not isinstance(
|
|
568
|
-
params["rackspace_region"], str
|
|
569
|
-
):
|
|
570
|
-
raise InvalidParameterError(
|
|
571
|
-
"Bad parameter: rackspace_region must be an str"
|
|
572
|
-
)
|
|
573
|
-
if "rackspace_username" in params and not isinstance(
|
|
574
|
-
params["rackspace_username"], str
|
|
575
|
-
):
|
|
576
|
-
raise InvalidParameterError(
|
|
577
|
-
"Bad parameter: rackspace_username must be an str"
|
|
578
|
-
)
|
|
579
547
|
if "s3_bucket" in params and not isinstance(params["s3_bucket"], str):
|
|
580
548
|
raise InvalidParameterError(
|
|
581
549
|
"Bad parameter: s3_bucket must be an str"
|
|
@@ -694,9 +662,9 @@ class RemoteServer:
|
|
|
694
662
|
# Parameters:
|
|
695
663
|
# cursor - string - Used for pagination. When a list request has more records available, cursors are provided in the response headers `X-Files-Cursor-Next` and `X-Files-Cursor-Prev`. Send one of those cursor value here to resume an existing list from the next available record. Note: many of our SDKs have iterator methods that will automatically handle cursor-based pagination.
|
|
696
664
|
# per_page - int64 - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
|
|
697
|
-
# sort_by - object - If set, sort records by the specified field in either `asc` or `desc` direction. Valid fields are `name`, `server_type`, `backblaze_b2_bucket`, `google_cloud_storage_bucket`, `wasabi_bucket`, `s3_bucket`, `
|
|
698
|
-
# filter - object - If set, return records where the specified field is equal to the supplied value. Valid fields are `name`, `server_type`, `backblaze_b2_bucket`, `google_cloud_storage_bucket`, `wasabi_bucket`, `s3_bucket`, `
|
|
699
|
-
# filter_prefix - object - If set, return records where the specified field is prefixed by the supplied value. Valid fields are `name`, `backblaze_b2_bucket`, `google_cloud_storage_bucket`, `wasabi_bucket`, `s3_bucket`, `
|
|
665
|
+
# sort_by - object - If set, sort records by the specified field in either `asc` or `desc` direction. Valid fields are `name`, `server_type`, `backblaze_b2_bucket`, `google_cloud_storage_bucket`, `wasabi_bucket`, `s3_bucket`, `azure_blob_storage_container`, `azure_files_storage_share_name`, `s3_compatible_bucket`, `filebase_bucket`, `cloudflare_bucket` or `linode_bucket`.
|
|
666
|
+
# filter - object - If set, return records where the specified field is equal to the supplied value. Valid fields are `name`, `server_type`, `backblaze_b2_bucket`, `google_cloud_storage_bucket`, `wasabi_bucket`, `s3_bucket`, `azure_blob_storage_container`, `azure_files_storage_share_name`, `s3_compatible_bucket`, `filebase_bucket`, `cloudflare_bucket` or `linode_bucket`. Valid field combinations are `[ server_type, name ]`, `[ backblaze_b2_bucket, name ]`, `[ google_cloud_storage_bucket, name ]`, `[ wasabi_bucket, name ]`, `[ s3_bucket, name ]`, `[ azure_blob_storage_container, name ]`, `[ azure_files_storage_share_name, name ]`, `[ s3_compatible_bucket, name ]`, `[ filebase_bucket, name ]`, `[ cloudflare_bucket, name ]` or `[ linode_bucket, name ]`.
|
|
667
|
+
# filter_prefix - object - If set, return records where the specified field is prefixed by the supplied value. Valid fields are `name`, `backblaze_b2_bucket`, `google_cloud_storage_bucket`, `wasabi_bucket`, `s3_bucket`, `azure_blob_storage_container`, `azure_files_storage_share_name`, `s3_compatible_bucket`, `filebase_bucket`, `cloudflare_bucket` or `linode_bucket`. Valid field combinations are `[ backblaze_b2_bucket, name ]`, `[ google_cloud_storage_bucket, name ]`, `[ wasabi_bucket, name ]`, `[ s3_bucket, name ]`, `[ azure_blob_storage_container, name ]`, `[ azure_files_storage_share_name, name ]`, `[ s3_compatible_bucket, name ]`, `[ filebase_bucket, name ]`, `[ cloudflare_bucket, name ]` or `[ linode_bucket, name ]`.
|
|
700
668
|
def list(params=None, options=None):
|
|
701
669
|
if not isinstance(params, dict):
|
|
702
670
|
params = {}
|
|
@@ -784,7 +752,6 @@ def find_configuration_file(id, params=None, options=None):
|
|
|
784
752
|
# google_cloud_storage_credentials_json - string - Google Cloud Storage: JSON file that contains the private key. To generate see https://cloud.google.com/storage/docs/json_api/v1/how-tos/authorizing#APIKey
|
|
785
753
|
# google_cloud_storage_s3_compatible_secret_key - string - Google Cloud Storage: S3-compatible secret key
|
|
786
754
|
# linode_secret_key - string - Linode: Secret Key
|
|
787
|
-
# rackspace_api_key - string - Rackspace: API key from the Rackspace Cloud Control Panel
|
|
788
755
|
# s3_compatible_secret_key - string - S3-compatible: Secret Key
|
|
789
756
|
# wasabi_secret_key - string - Wasabi: Secret Key
|
|
790
757
|
# aws_access_key - string - AWS Access Key.
|
|
@@ -819,9 +786,6 @@ def find_configuration_file(id, params=None, options=None):
|
|
|
819
786
|
# one_drive_account_type - string - OneDrive: Either personal or business_other account types
|
|
820
787
|
# 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 site-wide setting which will force it to true.
|
|
821
788
|
# port - int64 - Port for remote server. Not needed for S3.
|
|
822
|
-
# rackspace_container - string - Rackspace: The name of the container (top level directory) where files will sync.
|
|
823
|
-
# rackspace_region - string - Rackspace: Three letter code for Rackspace region. See https://support.rackspace.com/how-to/about-regions/
|
|
824
|
-
# rackspace_username - string - Rackspace: username used to login to the Rackspace Cloud Control Panel.
|
|
825
789
|
# s3_bucket - string - S3 bucket name
|
|
826
790
|
# s3_compatible_access_key - string - S3-compatible: Access Key
|
|
827
791
|
# s3_compatible_bucket - string - S3-compatible: Bucket name
|
|
@@ -940,12 +904,6 @@ def create(params=None, options=None):
|
|
|
940
904
|
raise InvalidParameterError(
|
|
941
905
|
"Bad parameter: linode_secret_key must be an str"
|
|
942
906
|
)
|
|
943
|
-
if "rackspace_api_key" in params and not isinstance(
|
|
944
|
-
params["rackspace_api_key"], str
|
|
945
|
-
):
|
|
946
|
-
raise InvalidParameterError(
|
|
947
|
-
"Bad parameter: rackspace_api_key must be an str"
|
|
948
|
-
)
|
|
949
907
|
if "s3_compatible_secret_key" in params and not isinstance(
|
|
950
908
|
params["s3_compatible_secret_key"], str
|
|
951
909
|
):
|
|
@@ -1144,24 +1102,6 @@ def create(params=None, options=None):
|
|
|
1144
1102
|
)
|
|
1145
1103
|
if "port" in params and not isinstance(params["port"], int):
|
|
1146
1104
|
raise InvalidParameterError("Bad parameter: port must be an int")
|
|
1147
|
-
if "rackspace_container" in params and not isinstance(
|
|
1148
|
-
params["rackspace_container"], str
|
|
1149
|
-
):
|
|
1150
|
-
raise InvalidParameterError(
|
|
1151
|
-
"Bad parameter: rackspace_container must be an str"
|
|
1152
|
-
)
|
|
1153
|
-
if "rackspace_region" in params and not isinstance(
|
|
1154
|
-
params["rackspace_region"], str
|
|
1155
|
-
):
|
|
1156
|
-
raise InvalidParameterError(
|
|
1157
|
-
"Bad parameter: rackspace_region must be an str"
|
|
1158
|
-
)
|
|
1159
|
-
if "rackspace_username" in params and not isinstance(
|
|
1160
|
-
params["rackspace_username"], str
|
|
1161
|
-
):
|
|
1162
|
-
raise InvalidParameterError(
|
|
1163
|
-
"Bad parameter: rackspace_username must be an str"
|
|
1164
|
-
)
|
|
1165
1105
|
if "s3_bucket" in params and not isinstance(params["s3_bucket"], str):
|
|
1166
1106
|
raise InvalidParameterError("Bad parameter: s3_bucket must be an str")
|
|
1167
1107
|
if "s3_compatible_access_key" in params and not isinstance(
|
|
@@ -1321,7 +1261,6 @@ def configuration_file(id, params=None, options=None):
|
|
|
1321
1261
|
# google_cloud_storage_credentials_json - string - Google Cloud Storage: JSON file that contains the private key. To generate see https://cloud.google.com/storage/docs/json_api/v1/how-tos/authorizing#APIKey
|
|
1322
1262
|
# google_cloud_storage_s3_compatible_secret_key - string - Google Cloud Storage: S3-compatible secret key
|
|
1323
1263
|
# linode_secret_key - string - Linode: Secret Key
|
|
1324
|
-
# rackspace_api_key - string - Rackspace: API key from the Rackspace Cloud Control Panel
|
|
1325
1264
|
# s3_compatible_secret_key - string - S3-compatible: Secret Key
|
|
1326
1265
|
# wasabi_secret_key - string - Wasabi: Secret Key
|
|
1327
1266
|
# aws_access_key - string - AWS Access Key.
|
|
@@ -1356,9 +1295,6 @@ def configuration_file(id, params=None, options=None):
|
|
|
1356
1295
|
# one_drive_account_type - string - OneDrive: Either personal or business_other account types
|
|
1357
1296
|
# 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 site-wide setting which will force it to true.
|
|
1358
1297
|
# port - int64 - Port for remote server. Not needed for S3.
|
|
1359
|
-
# rackspace_container - string - Rackspace: The name of the container (top level directory) where files will sync.
|
|
1360
|
-
# rackspace_region - string - Rackspace: Three letter code for Rackspace region. See https://support.rackspace.com/how-to/about-regions/
|
|
1361
|
-
# rackspace_username - string - Rackspace: username used to login to the Rackspace Cloud Control Panel.
|
|
1362
1298
|
# s3_bucket - string - S3 bucket name
|
|
1363
1299
|
# s3_compatible_access_key - string - S3-compatible: Access Key
|
|
1364
1300
|
# s3_compatible_bucket - string - S3-compatible: Bucket name
|
|
@@ -1480,12 +1416,6 @@ def update(id, params=None, options=None):
|
|
|
1480
1416
|
raise InvalidParameterError(
|
|
1481
1417
|
"Bad parameter: linode_secret_key must be an str"
|
|
1482
1418
|
)
|
|
1483
|
-
if "rackspace_api_key" in params and not isinstance(
|
|
1484
|
-
params["rackspace_api_key"], str
|
|
1485
|
-
):
|
|
1486
|
-
raise InvalidParameterError(
|
|
1487
|
-
"Bad parameter: rackspace_api_key must be an str"
|
|
1488
|
-
)
|
|
1489
1419
|
if "s3_compatible_secret_key" in params and not isinstance(
|
|
1490
1420
|
params["s3_compatible_secret_key"], str
|
|
1491
1421
|
):
|
|
@@ -1684,24 +1614,6 @@ def update(id, params=None, options=None):
|
|
|
1684
1614
|
)
|
|
1685
1615
|
if "port" in params and not isinstance(params["port"], int):
|
|
1686
1616
|
raise InvalidParameterError("Bad parameter: port must be an int")
|
|
1687
|
-
if "rackspace_container" in params and not isinstance(
|
|
1688
|
-
params["rackspace_container"], str
|
|
1689
|
-
):
|
|
1690
|
-
raise InvalidParameterError(
|
|
1691
|
-
"Bad parameter: rackspace_container must be an str"
|
|
1692
|
-
)
|
|
1693
|
-
if "rackspace_region" in params and not isinstance(
|
|
1694
|
-
params["rackspace_region"], str
|
|
1695
|
-
):
|
|
1696
|
-
raise InvalidParameterError(
|
|
1697
|
-
"Bad parameter: rackspace_region must be an str"
|
|
1698
|
-
)
|
|
1699
|
-
if "rackspace_username" in params and not isinstance(
|
|
1700
|
-
params["rackspace_username"], str
|
|
1701
|
-
):
|
|
1702
|
-
raise InvalidParameterError(
|
|
1703
|
-
"Bad parameter: rackspace_username must be an str"
|
|
1704
|
-
)
|
|
1705
1617
|
if "s3_bucket" in params and not isinstance(params["s3_bucket"], str):
|
|
1706
1618
|
raise InvalidParameterError("Bad parameter: s3_bucket must be an str")
|
|
1707
1619
|
if "s3_compatible_access_key" in params and not isinstance(
|
|
@@ -36,6 +36,7 @@ class Sync:
|
|
|
36
36
|
"schedule_times_of_day": None, # array(string) - If trigger is `custom_schedule`, Custom schedule description for when the sync should be run. Times of day in HH:MM format.
|
|
37
37
|
"schedule_time_zone": None, # string - If trigger is `custom_schedule`, Custom schedule Time Zone for when the sync should be run.
|
|
38
38
|
"holiday_region": None, # string - If trigger is `custom_schedule`, the sync will check if there is a formal, observed holiday for the region, and if so, it will not run.
|
|
39
|
+
"latest_sync_run": None, # SyncRun - The latest run of this sync
|
|
39
40
|
}
|
|
40
41
|
|
|
41
42
|
def __init__(self, attributes=None, options=None):
|
|
@@ -57,6 +58,26 @@ class Sync:
|
|
|
57
58
|
if getattr(self, k, None) is not None
|
|
58
59
|
}
|
|
59
60
|
|
|
61
|
+
# Dry Run Sync
|
|
62
|
+
def dry_run(self, params=None):
|
|
63
|
+
if not isinstance(params, dict):
|
|
64
|
+
params = {}
|
|
65
|
+
|
|
66
|
+
if hasattr(self, "id") and self.id:
|
|
67
|
+
params["id"] = self.id
|
|
68
|
+
else:
|
|
69
|
+
raise MissingParameterError("Current object doesn't have a id")
|
|
70
|
+
if "id" not in params:
|
|
71
|
+
raise MissingParameterError("Parameter missing: id")
|
|
72
|
+
if "id" in params and not isinstance(params["id"], int):
|
|
73
|
+
raise InvalidParameterError("Bad parameter: id must be an int")
|
|
74
|
+
Api.send_request(
|
|
75
|
+
"POST",
|
|
76
|
+
"/syncs/{id}/dry_run".format(id=params["id"]),
|
|
77
|
+
params,
|
|
78
|
+
self.options,
|
|
79
|
+
)
|
|
80
|
+
|
|
60
81
|
# Manually Run Sync
|
|
61
82
|
def manual_run(self, params=None):
|
|
62
83
|
if not isinstance(params, dict):
|
|
@@ -382,6 +403,22 @@ def create(params=None, options=None):
|
|
|
382
403
|
return Sync(response.data, options)
|
|
383
404
|
|
|
384
405
|
|
|
406
|
+
# Dry Run Sync
|
|
407
|
+
def dry_run(id, params=None, options=None):
|
|
408
|
+
if not isinstance(params, dict):
|
|
409
|
+
params = {}
|
|
410
|
+
if not isinstance(options, dict):
|
|
411
|
+
options = {}
|
|
412
|
+
params["id"] = id
|
|
413
|
+
if "id" in params and not isinstance(params["id"], int):
|
|
414
|
+
raise InvalidParameterError("Bad parameter: id must be an int")
|
|
415
|
+
if "id" not in params:
|
|
416
|
+
raise MissingParameterError("Parameter missing: id")
|
|
417
|
+
Api.send_request(
|
|
418
|
+
"POST", "/syncs/{id}/dry_run".format(id=params["id"]), params, options
|
|
419
|
+
)
|
|
420
|
+
|
|
421
|
+
|
|
385
422
|
# Manually Run Sync
|
|
386
423
|
def manual_run(id, params=None, options=None):
|
|
387
424
|
if not isinstance(params, dict):
|
|
@@ -18,7 +18,6 @@ class SyncRun:
|
|
|
18
18
|
"dest_remote_server_type": None, # string - Destination remote server type, if any
|
|
19
19
|
"body": None, # string - Log or summary body for this run
|
|
20
20
|
"event_errors": None, # array(string) - Array of errors encountered during the run
|
|
21
|
-
"bytes_synced": None, # int64 - Total bytes synced in this run
|
|
22
21
|
"compared_files": None, # int64 - Number of files compared
|
|
23
22
|
"compared_folders": None, # int64 - Number of folders compared
|
|
24
23
|
"errored_files": None, # int64 - Number of files that errored
|
|
@@ -27,6 +26,9 @@ class SyncRun:
|
|
|
27
26
|
"log_url": None, # string - Link to external log file.
|
|
28
27
|
"completed_at": None, # date-time - When this run was completed
|
|
29
28
|
"notified": None, # boolean - Whether notifications were sent for this run
|
|
29
|
+
"dry_run": None, # boolean - Whether this run was a dry run (no actual changes made)
|
|
30
|
+
"bytes_synced": None, # int64 - Total bytes synced in this run
|
|
31
|
+
"estimated_bytes_count": None, # int64 - Estimated bytes count for this run
|
|
30
32
|
"created_at": None, # date-time - When this run was created
|
|
31
33
|
"updated_at": None, # date-time - When this run was last updated
|
|
32
34
|
}
|
|
@@ -55,9 +57,8 @@ class SyncRun:
|
|
|
55
57
|
# user_id - int64 - User ID. Provide a value of `0` to operate the current session's user.
|
|
56
58
|
# cursor - string - Used for pagination. When a list request has more records available, cursors are provided in the response headers `X-Files-Cursor-Next` and `X-Files-Cursor-Prev`. Send one of those cursor value here to resume an existing list from the next available record. Note: many of our SDKs have iterator methods that will automatically handle cursor-based pagination.
|
|
57
59
|
# per_page - int64 - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
|
|
58
|
-
# sort_by - object - If set, sort records by the specified field in either `asc` or `desc` direction. Valid fields are `
|
|
59
|
-
# filter - object - If set, return records where the specified field is equal to the supplied value. Valid fields are `status`
|
|
60
|
-
# sync_id (required) - int64 - ID of the Sync this run belongs to
|
|
60
|
+
# sort_by - object - If set, sort records by the specified field in either `asc` or `desc` direction. Valid fields are `site_id`, `sync_id` or `created_at`.
|
|
61
|
+
# filter - object - If set, return records where the specified field is equal to the supplied value. Valid fields are `status`, `dry_run` or `sync_id`. Valid field combinations are `[ sync_id, status ]`.
|
|
61
62
|
def list(params=None, options=None):
|
|
62
63
|
if not isinstance(params, dict):
|
|
63
64
|
params = {}
|
|
@@ -73,10 +74,6 @@ def list(params=None, options=None):
|
|
|
73
74
|
raise InvalidParameterError("Bad parameter: sort_by must be an dict")
|
|
74
75
|
if "filter" in params and not isinstance(params["filter"], dict):
|
|
75
76
|
raise InvalidParameterError("Bad parameter: filter must be an dict")
|
|
76
|
-
if "sync_id" in params and not isinstance(params["sync_id"], int):
|
|
77
|
-
raise InvalidParameterError("Bad parameter: sync_id must be an int")
|
|
78
|
-
if "sync_id" not in params:
|
|
79
|
-
raise MissingParameterError("Parameter missing: sync_id")
|
|
80
77
|
return ListObj(SyncRun, "GET", "/sync_runs", params, options)
|
|
81
78
|
|
|
82
79
|
|
|
@@ -8,6 +8,14 @@ from files_sdk import sync
|
|
|
8
8
|
class SyncTest(TestBase):
|
|
9
9
|
pass
|
|
10
10
|
# Instance Methods
|
|
11
|
+
@unittest.skipUnless(TestBase.mock_server_path_exists("POST", "/syncs/{id}/dry_run"), "Mock path does not exist")
|
|
12
|
+
def test_dry_run(self):
|
|
13
|
+
params = {
|
|
14
|
+
"id" : 12345,
|
|
15
|
+
}
|
|
16
|
+
sync = Sync(params)
|
|
17
|
+
sync.dry_run(params)
|
|
18
|
+
|
|
11
19
|
@unittest.skipUnless(TestBase.mock_server_path_exists("POST", "/syncs/{id}/manual_run"), "Mock path does not exist")
|
|
12
20
|
def test_manual_run(self):
|
|
13
21
|
params = {
|
|
@@ -53,6 +61,14 @@ class SyncTest(TestBase):
|
|
|
53
61
|
def test_create(self):
|
|
54
62
|
resp = sync.create()
|
|
55
63
|
|
|
64
|
+
@unittest.skipUnless(TestBase.mock_server_path_exists("POST", "/syncs/{id}/dry_run"), "Mock path does not exist")
|
|
65
|
+
def test_dry_run(self):
|
|
66
|
+
id = 12345
|
|
67
|
+
params = {
|
|
68
|
+
"id" : 12345,
|
|
69
|
+
}
|
|
70
|
+
sync.dry_run(id, params)
|
|
71
|
+
|
|
56
72
|
@unittest.skipUnless(TestBase.mock_server_path_exists("POST", "/syncs/{id}/manual_run"), "Mock path does not exist")
|
|
57
73
|
def test_manual_run(self):
|
|
58
74
|
id = 12345
|
|
@@ -12,10 +12,7 @@ class SyncRunTest(TestBase):
|
|
|
12
12
|
# Static Methods
|
|
13
13
|
@unittest.skipUnless(TestBase.mock_server_path_exists("GET", "/sync_runs"), "Mock path does not exist")
|
|
14
14
|
def test_list(self):
|
|
15
|
-
|
|
16
|
-
"sync_id" : 12345,
|
|
17
|
-
}
|
|
18
|
-
sync_run.list(params)
|
|
15
|
+
resp = sync_run.list()
|
|
19
16
|
|
|
20
17
|
@unittest.skipUnless(TestBase.mock_server_path_exists("GET", "/sync_runs/{id}"), "Mock path does not exist")
|
|
21
18
|
def test_find(self):
|
files_com-1.6.52/_VERSION
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
1.6.52
|
|
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
|