files-com 1.6.53__tar.gz → 1.6.55__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.53/files_com.egg-info → files_com-1.6.55}/PKG-INFO +7 -2
- {files_com-1.6.53 → files_com-1.6.55}/README.md +6 -1
- files_com-1.6.55/_VERSION +1 -0
- {files_com-1.6.53 → files_com-1.6.55/files_com.egg-info}/PKG-INFO +7 -2
- {files_com-1.6.53 → files_com-1.6.55}/files_sdk/__init__.py +1 -1
- {files_com-1.6.53 → files_com-1.6.55}/files_sdk/error.py +90 -15
- {files_com-1.6.53 → files_com-1.6.55}/files_sdk/models/invoice_line_item.py +1 -0
- {files_com-1.6.53 → files_com-1.6.55}/files_sdk/models/sync.py +37 -0
- {files_com-1.6.53 → files_com-1.6.55}/files_sdk/models/sync_run.py +5 -8
- {files_com-1.6.53 → files_com-1.6.55}/pyproject.toml +1 -1
- {files_com-1.6.53 → files_com-1.6.55}/tests/test_sync.py +16 -0
- {files_com-1.6.53 → files_com-1.6.55}/tests/test_sync_run.py +1 -4
- files_com-1.6.53/_VERSION +0 -1
- {files_com-1.6.53 → files_com-1.6.55}/LICENSE +0 -0
- {files_com-1.6.53 → files_com-1.6.55}/files_com.egg-info/SOURCES.txt +0 -0
- {files_com-1.6.53 → files_com-1.6.55}/files_com.egg-info/dependency_links.txt +0 -0
- {files_com-1.6.53 → files_com-1.6.55}/files_com.egg-info/requires.txt +0 -0
- {files_com-1.6.53 → files_com-1.6.55}/files_com.egg-info/top_level.txt +0 -0
- {files_com-1.6.53 → files_com-1.6.55}/files_sdk/api.py +0 -0
- {files_com-1.6.53 → files_com-1.6.55}/files_sdk/api_client.py +0 -0
- {files_com-1.6.53 → files_com-1.6.55}/files_sdk/list_obj.py +0 -0
- {files_com-1.6.53 → files_com-1.6.55}/files_sdk/models/__init__.py +0 -0
- {files_com-1.6.53 → files_com-1.6.55}/files_sdk/models/account_line_item.py +0 -0
- {files_com-1.6.53 → files_com-1.6.55}/files_sdk/models/action.py +0 -0
- {files_com-1.6.53 → files_com-1.6.55}/files_sdk/models/action_notification_export.py +0 -0
- {files_com-1.6.53 → files_com-1.6.55}/files_sdk/models/action_notification_export_result.py +0 -0
- {files_com-1.6.53 → files_com-1.6.55}/files_sdk/models/api_key.py +0 -0
- {files_com-1.6.53 → files_com-1.6.55}/files_sdk/models/api_request_log.py +0 -0
- {files_com-1.6.53 → files_com-1.6.55}/files_sdk/models/app.py +0 -0
- {files_com-1.6.53 → files_com-1.6.55}/files_sdk/models/as2_incoming_message.py +0 -0
- {files_com-1.6.53 → files_com-1.6.55}/files_sdk/models/as2_outgoing_message.py +0 -0
- {files_com-1.6.53 → files_com-1.6.55}/files_sdk/models/as2_partner.py +0 -0
- {files_com-1.6.53 → files_com-1.6.55}/files_sdk/models/as2_station.py +0 -0
- {files_com-1.6.53 → files_com-1.6.55}/files_sdk/models/auto.py +0 -0
- {files_com-1.6.53 → files_com-1.6.55}/files_sdk/models/automation.py +0 -0
- {files_com-1.6.53 → files_com-1.6.55}/files_sdk/models/automation_log.py +0 -0
- {files_com-1.6.53 → files_com-1.6.55}/files_sdk/models/automation_run.py +0 -0
- {files_com-1.6.53 → files_com-1.6.55}/files_sdk/models/bandwidth_snapshot.py +0 -0
- {files_com-1.6.53 → files_com-1.6.55}/files_sdk/models/behavior.py +0 -0
- {files_com-1.6.53 → files_com-1.6.55}/files_sdk/models/bundle.py +0 -0
- {files_com-1.6.53 → files_com-1.6.55}/files_sdk/models/bundle_action.py +0 -0
- {files_com-1.6.53 → files_com-1.6.55}/files_sdk/models/bundle_download.py +0 -0
- {files_com-1.6.53 → files_com-1.6.55}/files_sdk/models/bundle_notification.py +0 -0
- {files_com-1.6.53 → files_com-1.6.55}/files_sdk/models/bundle_path.py +0 -0
- {files_com-1.6.53 → files_com-1.6.55}/files_sdk/models/bundle_recipient.py +0 -0
- {files_com-1.6.53 → files_com-1.6.55}/files_sdk/models/bundle_registration.py +0 -0
- {files_com-1.6.53 → files_com-1.6.55}/files_sdk/models/child_site_management_policy.py +0 -0
- {files_com-1.6.53 → files_com-1.6.55}/files_sdk/models/clickwrap.py +0 -0
- {files_com-1.6.53 → files_com-1.6.55}/files_sdk/models/dns_record.py +0 -0
- {files_com-1.6.53 → files_com-1.6.55}/files_sdk/models/email_incoming_message.py +0 -0
- {files_com-1.6.53 → files_com-1.6.55}/files_sdk/models/email_log.py +0 -0
- {files_com-1.6.53 → files_com-1.6.55}/files_sdk/models/errors.py +0 -0
- {files_com-1.6.53 → files_com-1.6.55}/files_sdk/models/exavault_api_request_log.py +0 -0
- {files_com-1.6.53 → files_com-1.6.55}/files_sdk/models/external_event.py +0 -0
- {files_com-1.6.53 → files_com-1.6.55}/files_sdk/models/file.py +0 -0
- {files_com-1.6.53 → files_com-1.6.55}/files_sdk/models/file_action.py +0 -0
- {files_com-1.6.53 → files_com-1.6.55}/files_sdk/models/file_comment.py +0 -0
- {files_com-1.6.53 → files_com-1.6.55}/files_sdk/models/file_comment_reaction.py +0 -0
- {files_com-1.6.53 → files_com-1.6.55}/files_sdk/models/file_migration.py +0 -0
- {files_com-1.6.53 → files_com-1.6.55}/files_sdk/models/file_migration_log.py +0 -0
- {files_com-1.6.53 → files_com-1.6.55}/files_sdk/models/file_upload_part.py +0 -0
- {files_com-1.6.53 → files_com-1.6.55}/files_sdk/models/folder.py +0 -0
- {files_com-1.6.53 → files_com-1.6.55}/files_sdk/models/form_field.py +0 -0
- {files_com-1.6.53 → files_com-1.6.55}/files_sdk/models/form_field_set.py +0 -0
- {files_com-1.6.53 → files_com-1.6.55}/files_sdk/models/ftp_action_log.py +0 -0
- {files_com-1.6.53 → files_com-1.6.55}/files_sdk/models/gpg_key.py +0 -0
- {files_com-1.6.53 → files_com-1.6.55}/files_sdk/models/group.py +0 -0
- {files_com-1.6.53 → files_com-1.6.55}/files_sdk/models/group_user.py +0 -0
- {files_com-1.6.53 → files_com-1.6.55}/files_sdk/models/history.py +0 -0
- {files_com-1.6.53 → files_com-1.6.55}/files_sdk/models/history_export.py +0 -0
- {files_com-1.6.53 → files_com-1.6.55}/files_sdk/models/history_export_result.py +0 -0
- {files_com-1.6.53 → files_com-1.6.55}/files_sdk/models/holiday_region.py +0 -0
- {files_com-1.6.53 → files_com-1.6.55}/files_sdk/models/image.py +0 -0
- {files_com-1.6.53 → files_com-1.6.55}/files_sdk/models/inbox_recipient.py +0 -0
- {files_com-1.6.53 → files_com-1.6.55}/files_sdk/models/inbox_registration.py +0 -0
- {files_com-1.6.53 → files_com-1.6.55}/files_sdk/models/inbox_upload.py +0 -0
- {files_com-1.6.53 → files_com-1.6.55}/files_sdk/models/invoice.py +0 -0
- {files_com-1.6.53 → files_com-1.6.55}/files_sdk/models/ip_address.py +0 -0
- {files_com-1.6.53 → files_com-1.6.55}/files_sdk/models/lock.py +0 -0
- {files_com-1.6.53 → files_com-1.6.55}/files_sdk/models/message.py +0 -0
- {files_com-1.6.53 → files_com-1.6.55}/files_sdk/models/message_comment.py +0 -0
- {files_com-1.6.53 → files_com-1.6.55}/files_sdk/models/message_comment_reaction.py +0 -0
- {files_com-1.6.53 → files_com-1.6.55}/files_sdk/models/message_reaction.py +0 -0
- {files_com-1.6.53 → files_com-1.6.55}/files_sdk/models/notification.py +0 -0
- {files_com-1.6.53 → files_com-1.6.55}/files_sdk/models/outbound_connection_log.py +0 -0
- {files_com-1.6.53 → files_com-1.6.55}/files_sdk/models/payment.py +0 -0
- {files_com-1.6.53 → files_com-1.6.55}/files_sdk/models/payment_line_item.py +0 -0
- {files_com-1.6.53 → files_com-1.6.55}/files_sdk/models/permission.py +0 -0
- {files_com-1.6.53 → files_com-1.6.55}/files_sdk/models/preview.py +0 -0
- {files_com-1.6.53 → files_com-1.6.55}/files_sdk/models/priority.py +0 -0
- {files_com-1.6.53 → files_com-1.6.55}/files_sdk/models/project.py +0 -0
- {files_com-1.6.53 → files_com-1.6.55}/files_sdk/models/public_hosting_request_log.py +0 -0
- {files_com-1.6.53 → files_com-1.6.55}/files_sdk/models/public_ip_address.py +0 -0
- {files_com-1.6.53 → files_com-1.6.55}/files_sdk/models/public_key.py +0 -0
- {files_com-1.6.53 → files_com-1.6.55}/files_sdk/models/remote_bandwidth_snapshot.py +0 -0
- {files_com-1.6.53 → files_com-1.6.55}/files_sdk/models/remote_mount_backend.py +0 -0
- {files_com-1.6.53 → files_com-1.6.55}/files_sdk/models/remote_server.py +0 -0
- {files_com-1.6.53 → files_com-1.6.55}/files_sdk/models/remote_server_configuration_file.py +0 -0
- {files_com-1.6.53 → files_com-1.6.55}/files_sdk/models/request.py +0 -0
- {files_com-1.6.53 → files_com-1.6.55}/files_sdk/models/restore.py +0 -0
- {files_com-1.6.53 → files_com-1.6.55}/files_sdk/models/session.py +0 -0
- {files_com-1.6.53 → files_com-1.6.55}/files_sdk/models/settings_change.py +0 -0
- {files_com-1.6.53 → files_com-1.6.55}/files_sdk/models/sftp_action_log.py +0 -0
- {files_com-1.6.53 → files_com-1.6.55}/files_sdk/models/sftp_host_key.py +0 -0
- {files_com-1.6.53 → files_com-1.6.55}/files_sdk/models/share_group.py +0 -0
- {files_com-1.6.53 → files_com-1.6.55}/files_sdk/models/share_group_member.py +0 -0
- {files_com-1.6.53 → files_com-1.6.55}/files_sdk/models/siem_http_destination.py +0 -0
- {files_com-1.6.53 → files_com-1.6.55}/files_sdk/models/site.py +0 -0
- {files_com-1.6.53 → files_com-1.6.55}/files_sdk/models/snapshot.py +0 -0
- {files_com-1.6.53 → files_com-1.6.55}/files_sdk/models/sso_strategy.py +0 -0
- {files_com-1.6.53 → files_com-1.6.55}/files_sdk/models/status.py +0 -0
- {files_com-1.6.53 → files_com-1.6.55}/files_sdk/models/style.py +0 -0
- {files_com-1.6.53 → files_com-1.6.55}/files_sdk/models/sync_log.py +0 -0
- {files_com-1.6.53 → files_com-1.6.55}/files_sdk/models/usage_by_top_level_dir.py +0 -0
- {files_com-1.6.53 → files_com-1.6.55}/files_sdk/models/usage_daily_snapshot.py +0 -0
- {files_com-1.6.53 → files_com-1.6.55}/files_sdk/models/usage_snapshot.py +0 -0
- {files_com-1.6.53 → files_com-1.6.55}/files_sdk/models/user.py +0 -0
- {files_com-1.6.53 → files_com-1.6.55}/files_sdk/models/user_cipher_use.py +0 -0
- {files_com-1.6.53 → files_com-1.6.55}/files_sdk/models/user_lifecycle_rule.py +0 -0
- {files_com-1.6.53 → files_com-1.6.55}/files_sdk/models/user_request.py +0 -0
- {files_com-1.6.53 → files_com-1.6.55}/files_sdk/models/user_sftp_client_use.py +0 -0
- {files_com-1.6.53 → files_com-1.6.55}/files_sdk/models/web_dav_action_log.py +0 -0
- {files_com-1.6.53 → files_com-1.6.55}/files_sdk/models/webhook_test.py +0 -0
- {files_com-1.6.53 → files_com-1.6.55}/files_sdk/path_util.py +0 -0
- {files_com-1.6.53 → files_com-1.6.55}/files_sdk/util.py +0 -0
- {files_com-1.6.53 → files_com-1.6.55}/setup.cfg +0 -0
- {files_com-1.6.53 → files_com-1.6.55}/tests/test_account_line_item.py +0 -0
- {files_com-1.6.53 → files_com-1.6.55}/tests/test_action.py +0 -0
- {files_com-1.6.53 → files_com-1.6.55}/tests/test_action_notification_export.py +0 -0
- {files_com-1.6.53 → files_com-1.6.55}/tests/test_action_notification_export_result.py +0 -0
- {files_com-1.6.53 → files_com-1.6.55}/tests/test_api_errors.py +0 -0
- {files_com-1.6.53 → files_com-1.6.55}/tests/test_api_key.py +0 -0
- {files_com-1.6.53 → files_com-1.6.55}/tests/test_api_request_log.py +0 -0
- {files_com-1.6.53 → files_com-1.6.55}/tests/test_app.py +0 -0
- {files_com-1.6.53 → files_com-1.6.55}/tests/test_as2_incoming_message.py +0 -0
- {files_com-1.6.53 → files_com-1.6.55}/tests/test_as2_outgoing_message.py +0 -0
- {files_com-1.6.53 → files_com-1.6.55}/tests/test_as2_partner.py +0 -0
- {files_com-1.6.53 → files_com-1.6.55}/tests/test_as2_station.py +0 -0
- {files_com-1.6.53 → files_com-1.6.55}/tests/test_auto.py +0 -0
- {files_com-1.6.53 → files_com-1.6.55}/tests/test_automation.py +0 -0
- {files_com-1.6.53 → files_com-1.6.55}/tests/test_automation_log.py +0 -0
- {files_com-1.6.53 → files_com-1.6.55}/tests/test_automation_run.py +0 -0
- {files_com-1.6.53 → files_com-1.6.55}/tests/test_bandwidth_snapshot.py +0 -0
- {files_com-1.6.53 → files_com-1.6.55}/tests/test_behavior.py +0 -0
- {files_com-1.6.53 → files_com-1.6.55}/tests/test_bundle.py +0 -0
- {files_com-1.6.53 → files_com-1.6.55}/tests/test_bundle_action.py +0 -0
- {files_com-1.6.53 → files_com-1.6.55}/tests/test_bundle_download.py +0 -0
- {files_com-1.6.53 → files_com-1.6.55}/tests/test_bundle_notification.py +0 -0
- {files_com-1.6.53 → files_com-1.6.55}/tests/test_bundle_path.py +0 -0
- {files_com-1.6.53 → files_com-1.6.55}/tests/test_bundle_recipient.py +0 -0
- {files_com-1.6.53 → files_com-1.6.55}/tests/test_bundle_registration.py +0 -0
- {files_com-1.6.53 → files_com-1.6.55}/tests/test_child_site_management_policy.py +0 -0
- {files_com-1.6.53 → files_com-1.6.55}/tests/test_clickwrap.py +0 -0
- {files_com-1.6.53 → files_com-1.6.55}/tests/test_connection_adapter.py +0 -0
- {files_com-1.6.53 → files_com-1.6.55}/tests/test_dns_record.py +0 -0
- {files_com-1.6.53 → files_com-1.6.55}/tests/test_email_incoming_message.py +0 -0
- {files_com-1.6.53 → files_com-1.6.55}/tests/test_email_log.py +0 -0
- {files_com-1.6.53 → files_com-1.6.55}/tests/test_errors.py +0 -0
- {files_com-1.6.53 → files_com-1.6.55}/tests/test_exavault_api_request_log.py +0 -0
- {files_com-1.6.53 → files_com-1.6.55}/tests/test_external_event.py +0 -0
- {files_com-1.6.53 → files_com-1.6.55}/tests/test_file.py +0 -0
- {files_com-1.6.53 → files_com-1.6.55}/tests/test_file_action.py +0 -0
- {files_com-1.6.53 → files_com-1.6.55}/tests/test_file_comment.py +0 -0
- {files_com-1.6.53 → files_com-1.6.55}/tests/test_file_comment_reaction.py +0 -0
- {files_com-1.6.53 → files_com-1.6.55}/tests/test_file_migration.py +0 -0
- {files_com-1.6.53 → files_com-1.6.55}/tests/test_file_migration_log.py +0 -0
- {files_com-1.6.53 → files_com-1.6.55}/tests/test_file_upload_part.py +0 -0
- {files_com-1.6.53 → files_com-1.6.55}/tests/test_folder.py +0 -0
- {files_com-1.6.53 → files_com-1.6.55}/tests/test_form_field.py +0 -0
- {files_com-1.6.53 → files_com-1.6.55}/tests/test_form_field_set.py +0 -0
- {files_com-1.6.53 → files_com-1.6.55}/tests/test_ftp_action_log.py +0 -0
- {files_com-1.6.53 → files_com-1.6.55}/tests/test_gpg_key.py +0 -0
- {files_com-1.6.53 → files_com-1.6.55}/tests/test_group.py +0 -0
- {files_com-1.6.53 → files_com-1.6.55}/tests/test_group_user.py +0 -0
- {files_com-1.6.53 → files_com-1.6.55}/tests/test_history.py +0 -0
- {files_com-1.6.53 → files_com-1.6.55}/tests/test_history_export.py +0 -0
- {files_com-1.6.53 → files_com-1.6.55}/tests/test_history_export_result.py +0 -0
- {files_com-1.6.53 → files_com-1.6.55}/tests/test_holiday_region.py +0 -0
- {files_com-1.6.53 → files_com-1.6.55}/tests/test_image.py +0 -0
- {files_com-1.6.53 → files_com-1.6.55}/tests/test_inbox_recipient.py +0 -0
- {files_com-1.6.53 → files_com-1.6.55}/tests/test_inbox_registration.py +0 -0
- {files_com-1.6.53 → files_com-1.6.55}/tests/test_inbox_upload.py +0 -0
- {files_com-1.6.53 → files_com-1.6.55}/tests/test_invoice.py +0 -0
- {files_com-1.6.53 → files_com-1.6.55}/tests/test_invoice_line_item.py +0 -0
- {files_com-1.6.53 → files_com-1.6.55}/tests/test_ip_address.py +0 -0
- {files_com-1.6.53 → files_com-1.6.55}/tests/test_lock.py +0 -0
- {files_com-1.6.53 → files_com-1.6.55}/tests/test_message.py +0 -0
- {files_com-1.6.53 → files_com-1.6.55}/tests/test_message_comment.py +0 -0
- {files_com-1.6.53 → files_com-1.6.55}/tests/test_message_comment_reaction.py +0 -0
- {files_com-1.6.53 → files_com-1.6.55}/tests/test_message_reaction.py +0 -0
- {files_com-1.6.53 → files_com-1.6.55}/tests/test_notification.py +0 -0
- {files_com-1.6.53 → files_com-1.6.55}/tests/test_outbound_connection_log.py +0 -0
- {files_com-1.6.53 → files_com-1.6.55}/tests/test_path_util.py +0 -0
- {files_com-1.6.53 → files_com-1.6.55}/tests/test_payment.py +0 -0
- {files_com-1.6.53 → files_com-1.6.55}/tests/test_payment_line_item.py +0 -0
- {files_com-1.6.53 → files_com-1.6.55}/tests/test_permission.py +0 -0
- {files_com-1.6.53 → files_com-1.6.55}/tests/test_preview.py +0 -0
- {files_com-1.6.53 → files_com-1.6.55}/tests/test_priority.py +0 -0
- {files_com-1.6.53 → files_com-1.6.55}/tests/test_project.py +0 -0
- {files_com-1.6.53 → files_com-1.6.55}/tests/test_public_hosting_request_log.py +0 -0
- {files_com-1.6.53 → files_com-1.6.55}/tests/test_public_ip_address.py +0 -0
- {files_com-1.6.53 → files_com-1.6.55}/tests/test_public_key.py +0 -0
- {files_com-1.6.53 → files_com-1.6.55}/tests/test_remote_bandwidth_snapshot.py +0 -0
- {files_com-1.6.53 → files_com-1.6.55}/tests/test_remote_mount_backend.py +0 -0
- {files_com-1.6.53 → files_com-1.6.55}/tests/test_remote_server.py +0 -0
- {files_com-1.6.53 → files_com-1.6.55}/tests/test_remote_server_configuration_file.py +0 -0
- {files_com-1.6.53 → files_com-1.6.55}/tests/test_request.py +0 -0
- {files_com-1.6.53 → files_com-1.6.55}/tests/test_restore.py +0 -0
- {files_com-1.6.53 → files_com-1.6.55}/tests/test_session.py +0 -0
- {files_com-1.6.53 → files_com-1.6.55}/tests/test_settings_change.py +0 -0
- {files_com-1.6.53 → files_com-1.6.55}/tests/test_sftp_action_log.py +0 -0
- {files_com-1.6.53 → files_com-1.6.55}/tests/test_sftp_host_key.py +0 -0
- {files_com-1.6.53 → files_com-1.6.55}/tests/test_share_group.py +0 -0
- {files_com-1.6.53 → files_com-1.6.55}/tests/test_share_group_member.py +0 -0
- {files_com-1.6.53 → files_com-1.6.55}/tests/test_siem_http_destination.py +0 -0
- {files_com-1.6.53 → files_com-1.6.55}/tests/test_site.py +0 -0
- {files_com-1.6.53 → files_com-1.6.55}/tests/test_snapshot.py +0 -0
- {files_com-1.6.53 → files_com-1.6.55}/tests/test_sso_strategy.py +0 -0
- {files_com-1.6.53 → files_com-1.6.55}/tests/test_status.py +0 -0
- {files_com-1.6.53 → files_com-1.6.55}/tests/test_style.py +0 -0
- {files_com-1.6.53 → files_com-1.6.55}/tests/test_sync_log.py +0 -0
- {files_com-1.6.53 → files_com-1.6.55}/tests/test_usage_by_top_level_dir.py +0 -0
- {files_com-1.6.53 → files_com-1.6.55}/tests/test_usage_daily_snapshot.py +0 -0
- {files_com-1.6.53 → files_com-1.6.55}/tests/test_usage_snapshot.py +0 -0
- {files_com-1.6.53 → files_com-1.6.55}/tests/test_user.py +0 -0
- {files_com-1.6.53 → files_com-1.6.55}/tests/test_user_cipher_use.py +0 -0
- {files_com-1.6.53 → files_com-1.6.55}/tests/test_user_lifecycle_rule.py +0 -0
- {files_com-1.6.53 → files_com-1.6.55}/tests/test_user_request.py +0 -0
- {files_com-1.6.53 → files_com-1.6.55}/tests/test_user_sftp_client_use.py +0 -0
- {files_com-1.6.53 → files_com-1.6.55}/tests/test_web_dav_action_log.py +0 -0
- {files_com-1.6.53 → files_com-1.6.55}/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.55
|
|
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` |
|
|
@@ -626,6 +630,7 @@ files_sdk.error.FolderAdminPermissionRequiredError -> files_sdk.error.NotAuthori
|
|
|
626
630
|
|`PlanNotFoundError`| `NotFoundError` |
|
|
627
631
|
|`SiteNotFoundError`| `NotFoundError` |
|
|
628
632
|
|`UserNotFoundError`| `NotFoundError` |
|
|
633
|
+
|`AgentUnavailableError`| `ProcessingFailureError` |
|
|
629
634
|
|`AlreadyCompletedError`| `ProcessingFailureError` |
|
|
630
635
|
|`AutomationCannotBeRunManuallyError`| `ProcessingFailureError` |
|
|
631
636
|
|`BehaviorNotAllowedOnRemoteServerError`| `ProcessingFailureError` |
|
|
@@ -667,6 +672,7 @@ files_sdk.error.FolderAdminPermissionRequiredError -> files_sdk.error.NotAuthori
|
|
|
667
672
|
|`ResourceBelongsToParentSiteError`| `ProcessingFailureError` |
|
|
668
673
|
|`ResourceLockedError`| `ProcessingFailureError` |
|
|
669
674
|
|`SubfolderLockedError`| `ProcessingFailureError` |
|
|
675
|
+
|`SyncInProgressError`| `ProcessingFailureError` |
|
|
670
676
|
|`TwoFactorAuthenticationCodeAlreadySentError`| `ProcessingFailureError` |
|
|
671
677
|
|`TwoFactorAuthenticationCountryBlacklistedError`| `ProcessingFailureError` |
|
|
672
678
|
|`TwoFactorAuthenticationGeneralErrorError`| `ProcessingFailureError` |
|
|
@@ -680,7 +686,6 @@ files_sdk.error.FolderAdminPermissionRequiredError -> files_sdk.error.NotAuthori
|
|
|
680
686
|
|`TooManyLoginAttemptsError`| `RateLimitedError` |
|
|
681
687
|
|`TooManyRequestsError`| `RateLimitedError` |
|
|
682
688
|
|`TooManySharesError`| `RateLimitedError` |
|
|
683
|
-
|`AgentUnavailableError`| `ServiceUnavailableError` |
|
|
684
689
|
|`AutomationsUnavailableError`| `ServiceUnavailableError` |
|
|
685
690
|
|`MigrationInProgressError`| `ServiceUnavailableError` |
|
|
686
691
|
|`SiteDisabledError`| `ServiceUnavailableError` |
|
|
@@ -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` |
|
|
@@ -614,6 +618,7 @@ files_sdk.error.FolderAdminPermissionRequiredError -> files_sdk.error.NotAuthori
|
|
|
614
618
|
|`PlanNotFoundError`| `NotFoundError` |
|
|
615
619
|
|`SiteNotFoundError`| `NotFoundError` |
|
|
616
620
|
|`UserNotFoundError`| `NotFoundError` |
|
|
621
|
+
|`AgentUnavailableError`| `ProcessingFailureError` |
|
|
617
622
|
|`AlreadyCompletedError`| `ProcessingFailureError` |
|
|
618
623
|
|`AutomationCannotBeRunManuallyError`| `ProcessingFailureError` |
|
|
619
624
|
|`BehaviorNotAllowedOnRemoteServerError`| `ProcessingFailureError` |
|
|
@@ -655,6 +660,7 @@ files_sdk.error.FolderAdminPermissionRequiredError -> files_sdk.error.NotAuthori
|
|
|
655
660
|
|`ResourceBelongsToParentSiteError`| `ProcessingFailureError` |
|
|
656
661
|
|`ResourceLockedError`| `ProcessingFailureError` |
|
|
657
662
|
|`SubfolderLockedError`| `ProcessingFailureError` |
|
|
663
|
+
|`SyncInProgressError`| `ProcessingFailureError` |
|
|
658
664
|
|`TwoFactorAuthenticationCodeAlreadySentError`| `ProcessingFailureError` |
|
|
659
665
|
|`TwoFactorAuthenticationCountryBlacklistedError`| `ProcessingFailureError` |
|
|
660
666
|
|`TwoFactorAuthenticationGeneralErrorError`| `ProcessingFailureError` |
|
|
@@ -668,7 +674,6 @@ files_sdk.error.FolderAdminPermissionRequiredError -> files_sdk.error.NotAuthori
|
|
|
668
674
|
|`TooManyLoginAttemptsError`| `RateLimitedError` |
|
|
669
675
|
|`TooManyRequestsError`| `RateLimitedError` |
|
|
670
676
|
|`TooManySharesError`| `RateLimitedError` |
|
|
671
|
-
|`AgentUnavailableError`| `ServiceUnavailableError` |
|
|
672
677
|
|`AutomationsUnavailableError`| `ServiceUnavailableError` |
|
|
673
678
|
|`MigrationInProgressError`| `ServiceUnavailableError` |
|
|
674
679
|
|`SiteDisabledError`| `ServiceUnavailableError` |
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
1.6.55
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: files_com
|
|
3
|
-
Version: 1.6.
|
|
3
|
+
Version: 1.6.55
|
|
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` |
|
|
@@ -626,6 +630,7 @@ files_sdk.error.FolderAdminPermissionRequiredError -> files_sdk.error.NotAuthori
|
|
|
626
630
|
|`PlanNotFoundError`| `NotFoundError` |
|
|
627
631
|
|`SiteNotFoundError`| `NotFoundError` |
|
|
628
632
|
|`UserNotFoundError`| `NotFoundError` |
|
|
633
|
+
|`AgentUnavailableError`| `ProcessingFailureError` |
|
|
629
634
|
|`AlreadyCompletedError`| `ProcessingFailureError` |
|
|
630
635
|
|`AutomationCannotBeRunManuallyError`| `ProcessingFailureError` |
|
|
631
636
|
|`BehaviorNotAllowedOnRemoteServerError`| `ProcessingFailureError` |
|
|
@@ -667,6 +672,7 @@ files_sdk.error.FolderAdminPermissionRequiredError -> files_sdk.error.NotAuthori
|
|
|
667
672
|
|`ResourceBelongsToParentSiteError`| `ProcessingFailureError` |
|
|
668
673
|
|`ResourceLockedError`| `ProcessingFailureError` |
|
|
669
674
|
|`SubfolderLockedError`| `ProcessingFailureError` |
|
|
675
|
+
|`SyncInProgressError`| `ProcessingFailureError` |
|
|
670
676
|
|`TwoFactorAuthenticationCodeAlreadySentError`| `ProcessingFailureError` |
|
|
671
677
|
|`TwoFactorAuthenticationCountryBlacklistedError`| `ProcessingFailureError` |
|
|
672
678
|
|`TwoFactorAuthenticationGeneralErrorError`| `ProcessingFailureError` |
|
|
@@ -680,7 +686,6 @@ files_sdk.error.FolderAdminPermissionRequiredError -> files_sdk.error.NotAuthori
|
|
|
680
686
|
|`TooManyLoginAttemptsError`| `RateLimitedError` |
|
|
681
687
|
|`TooManyRequestsError`| `RateLimitedError` |
|
|
682
688
|
|`TooManySharesError`| `RateLimitedError` |
|
|
683
|
-
|`AgentUnavailableError`| `ServiceUnavailableError` |
|
|
684
689
|
|`AutomationsUnavailableError`| `ServiceUnavailableError` |
|
|
685
690
|
|`MigrationInProgressError`| `ServiceUnavailableError` |
|
|
686
691
|
|`SiteDisabledError`| `ServiceUnavailableError` |
|
|
@@ -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,
|
|
@@ -1837,6 +1897,21 @@ class ProcessingFailureError(APIError):
|
|
|
1837
1897
|
)
|
|
1838
1898
|
|
|
1839
1899
|
|
|
1900
|
+
class AgentUnavailableError(ProcessingFailureError):
|
|
1901
|
+
def __init__(
|
|
1902
|
+
self,
|
|
1903
|
+
message=None,
|
|
1904
|
+
http_body=None,
|
|
1905
|
+
http_status=None,
|
|
1906
|
+
json_body=None,
|
|
1907
|
+
headers=None,
|
|
1908
|
+
code=None,
|
|
1909
|
+
):
|
|
1910
|
+
super().__init__(
|
|
1911
|
+
message, http_body, http_status, json_body, headers, code
|
|
1912
|
+
)
|
|
1913
|
+
|
|
1914
|
+
|
|
1840
1915
|
class AlreadyCompletedError(ProcessingFailureError):
|
|
1841
1916
|
def __init__(
|
|
1842
1917
|
self,
|
|
@@ -2452,6 +2527,21 @@ class SubfolderLockedError(ProcessingFailureError):
|
|
|
2452
2527
|
)
|
|
2453
2528
|
|
|
2454
2529
|
|
|
2530
|
+
class SyncInProgressError(ProcessingFailureError):
|
|
2531
|
+
def __init__(
|
|
2532
|
+
self,
|
|
2533
|
+
message=None,
|
|
2534
|
+
http_body=None,
|
|
2535
|
+
http_status=None,
|
|
2536
|
+
json_body=None,
|
|
2537
|
+
headers=None,
|
|
2538
|
+
code=None,
|
|
2539
|
+
):
|
|
2540
|
+
super().__init__(
|
|
2541
|
+
message, http_body, http_status, json_body, headers, code
|
|
2542
|
+
)
|
|
2543
|
+
|
|
2544
|
+
|
|
2455
2545
|
class TwoFactorAuthenticationCodeAlreadySentError(ProcessingFailureError):
|
|
2456
2546
|
def __init__(
|
|
2457
2547
|
self,
|
|
@@ -2681,21 +2771,6 @@ class ServiceUnavailableError(APIError):
|
|
|
2681
2771
|
)
|
|
2682
2772
|
|
|
2683
2773
|
|
|
2684
|
-
class AgentUnavailableError(ServiceUnavailableError):
|
|
2685
|
-
def __init__(
|
|
2686
|
-
self,
|
|
2687
|
-
message=None,
|
|
2688
|
-
http_body=None,
|
|
2689
|
-
http_status=None,
|
|
2690
|
-
json_body=None,
|
|
2691
|
-
headers=None,
|
|
2692
|
-
code=None,
|
|
2693
|
-
):
|
|
2694
|
-
super().__init__(
|
|
2695
|
-
message, http_body, http_status, json_body, headers, code
|
|
2696
|
-
)
|
|
2697
|
-
|
|
2698
|
-
|
|
2699
2774
|
class AutomationsUnavailableError(ServiceUnavailableError):
|
|
2700
2775
|
def __init__(
|
|
2701
2776
|
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
|
|
@@ -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.53/_VERSION
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
1.6.53
|
|
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
|