Files.com 1.6.337__tar.gz → 1.6.338__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {files_com-1.6.337/files_com.egg-info → files_com-1.6.338}/PKG-INFO +1 -1
- files_com-1.6.338/_VERSION +1 -0
- {files_com-1.6.337 → files_com-1.6.338/files_com.egg-info}/PKG-INFO +1 -1
- {files_com-1.6.337 → files_com-1.6.338}/files_sdk/__init__.py +1 -1
- {files_com-1.6.337 → files_com-1.6.338}/files_sdk/models/sync.py +218 -136
- {files_com-1.6.337 → files_com-1.6.338}/pyproject.toml +1 -1
- files_com-1.6.337/_VERSION +0 -1
- {files_com-1.6.337 → files_com-1.6.338}/LICENSE +0 -0
- {files_com-1.6.337 → files_com-1.6.338}/README.md +0 -0
- {files_com-1.6.337 → files_com-1.6.338}/files_com.egg-info/SOURCES.txt +0 -0
- {files_com-1.6.337 → files_com-1.6.338}/files_com.egg-info/dependency_links.txt +0 -0
- {files_com-1.6.337 → files_com-1.6.338}/files_com.egg-info/requires.txt +0 -0
- {files_com-1.6.337 → files_com-1.6.338}/files_com.egg-info/top_level.txt +0 -0
- {files_com-1.6.337 → files_com-1.6.338}/files_sdk/api.py +0 -0
- {files_com-1.6.337 → files_com-1.6.338}/files_sdk/api_client.py +0 -0
- {files_com-1.6.337 → files_com-1.6.338}/files_sdk/error.py +0 -0
- {files_com-1.6.337 → files_com-1.6.338}/files_sdk/list_obj.py +0 -0
- {files_com-1.6.337 → files_com-1.6.338}/files_sdk/models/__init__.py +0 -0
- {files_com-1.6.337 → files_com-1.6.338}/files_sdk/models/account_line_item.py +0 -0
- {files_com-1.6.337 → files_com-1.6.338}/files_sdk/models/action.py +0 -0
- {files_com-1.6.337 → files_com-1.6.338}/files_sdk/models/action_log.py +0 -0
- {files_com-1.6.337 → files_com-1.6.338}/files_sdk/models/action_notification_export.py +0 -0
- {files_com-1.6.337 → files_com-1.6.338}/files_sdk/models/action_notification_export_result.py +0 -0
- {files_com-1.6.337 → files_com-1.6.338}/files_sdk/models/agent_push_update.py +0 -0
- {files_com-1.6.337 → files_com-1.6.338}/files_sdk/models/api_key.py +0 -0
- {files_com-1.6.337 → files_com-1.6.338}/files_sdk/models/api_request_log.py +0 -0
- {files_com-1.6.337 → files_com-1.6.338}/files_sdk/models/app.py +0 -0
- {files_com-1.6.337 → files_com-1.6.338}/files_sdk/models/as2_incoming_message.py +0 -0
- {files_com-1.6.337 → files_com-1.6.338}/files_sdk/models/as2_outgoing_message.py +0 -0
- {files_com-1.6.337 → files_com-1.6.338}/files_sdk/models/as2_partner.py +0 -0
- {files_com-1.6.337 → files_com-1.6.338}/files_sdk/models/as2_station.py +0 -0
- {files_com-1.6.337 → files_com-1.6.338}/files_sdk/models/auto.py +0 -0
- {files_com-1.6.337 → files_com-1.6.338}/files_sdk/models/automation.py +0 -0
- {files_com-1.6.337 → files_com-1.6.338}/files_sdk/models/automation_log.py +0 -0
- {files_com-1.6.337 → files_com-1.6.338}/files_sdk/models/automation_run.py +0 -0
- {files_com-1.6.337 → files_com-1.6.338}/files_sdk/models/bandwidth_snapshot.py +0 -0
- {files_com-1.6.337 → files_com-1.6.338}/files_sdk/models/behavior.py +0 -0
- {files_com-1.6.337 → files_com-1.6.338}/files_sdk/models/bundle.py +0 -0
- {files_com-1.6.337 → files_com-1.6.338}/files_sdk/models/bundle_action.py +0 -0
- {files_com-1.6.337 → files_com-1.6.338}/files_sdk/models/bundle_download.py +0 -0
- {files_com-1.6.337 → files_com-1.6.338}/files_sdk/models/bundle_notification.py +0 -0
- {files_com-1.6.337 → files_com-1.6.338}/files_sdk/models/bundle_path.py +0 -0
- {files_com-1.6.337 → files_com-1.6.338}/files_sdk/models/bundle_recipient.py +0 -0
- {files_com-1.6.337 → files_com-1.6.338}/files_sdk/models/bundle_registration.py +0 -0
- {files_com-1.6.337 → files_com-1.6.338}/files_sdk/models/child_site_management_policy.py +0 -0
- {files_com-1.6.337 → files_com-1.6.338}/files_sdk/models/clickwrap.py +0 -0
- {files_com-1.6.337 → files_com-1.6.338}/files_sdk/models/desktop_configuration_profile.py +0 -0
- {files_com-1.6.337 → files_com-1.6.338}/files_sdk/models/dns_record.py +0 -0
- {files_com-1.6.337 → files_com-1.6.338}/files_sdk/models/email_incoming_message.py +0 -0
- {files_com-1.6.337 → files_com-1.6.338}/files_sdk/models/email_log.py +0 -0
- {files_com-1.6.337 → files_com-1.6.338}/files_sdk/models/errors.py +0 -0
- {files_com-1.6.337 → files_com-1.6.338}/files_sdk/models/exavault_api_request_log.py +0 -0
- {files_com-1.6.337 → files_com-1.6.338}/files_sdk/models/expectation.py +0 -0
- {files_com-1.6.337 → files_com-1.6.338}/files_sdk/models/expectation_evaluation.py +0 -0
- {files_com-1.6.337 → files_com-1.6.338}/files_sdk/models/expectation_incident.py +0 -0
- {files_com-1.6.337 → files_com-1.6.338}/files_sdk/models/external_event.py +0 -0
- {files_com-1.6.337 → files_com-1.6.338}/files_sdk/models/file.py +0 -0
- {files_com-1.6.337 → files_com-1.6.338}/files_sdk/models/file_action.py +0 -0
- {files_com-1.6.337 → files_com-1.6.338}/files_sdk/models/file_comment.py +0 -0
- {files_com-1.6.337 → files_com-1.6.338}/files_sdk/models/file_comment_reaction.py +0 -0
- {files_com-1.6.337 → files_com-1.6.338}/files_sdk/models/file_migration.py +0 -0
- {files_com-1.6.337 → files_com-1.6.338}/files_sdk/models/file_migration_log.py +0 -0
- {files_com-1.6.337 → files_com-1.6.338}/files_sdk/models/file_upload_part.py +0 -0
- {files_com-1.6.337 → files_com-1.6.338}/files_sdk/models/folder.py +0 -0
- {files_com-1.6.337 → files_com-1.6.338}/files_sdk/models/form_field.py +0 -0
- {files_com-1.6.337 → files_com-1.6.338}/files_sdk/models/form_field_set.py +0 -0
- {files_com-1.6.337 → files_com-1.6.338}/files_sdk/models/ftp_action_log.py +0 -0
- {files_com-1.6.337 → files_com-1.6.338}/files_sdk/models/gpg_key.py +0 -0
- {files_com-1.6.337 → files_com-1.6.338}/files_sdk/models/group.py +0 -0
- {files_com-1.6.337 → files_com-1.6.338}/files_sdk/models/group_user.py +0 -0
- {files_com-1.6.337 → files_com-1.6.338}/files_sdk/models/history.py +0 -0
- {files_com-1.6.337 → files_com-1.6.338}/files_sdk/models/history_export.py +0 -0
- {files_com-1.6.337 → files_com-1.6.338}/files_sdk/models/history_export_result.py +0 -0
- {files_com-1.6.337 → files_com-1.6.338}/files_sdk/models/holiday_region.py +0 -0
- {files_com-1.6.337 → files_com-1.6.338}/files_sdk/models/image.py +0 -0
- {files_com-1.6.337 → files_com-1.6.338}/files_sdk/models/inbound_s3_log.py +0 -0
- {files_com-1.6.337 → files_com-1.6.338}/files_sdk/models/inbox_recipient.py +0 -0
- {files_com-1.6.337 → files_com-1.6.338}/files_sdk/models/inbox_registration.py +0 -0
- {files_com-1.6.337 → files_com-1.6.338}/files_sdk/models/inbox_upload.py +0 -0
- {files_com-1.6.337 → files_com-1.6.338}/files_sdk/models/invoice.py +0 -0
- {files_com-1.6.337 → files_com-1.6.338}/files_sdk/models/invoice_line_item.py +0 -0
- {files_com-1.6.337 → files_com-1.6.338}/files_sdk/models/ip_address.py +0 -0
- {files_com-1.6.337 → files_com-1.6.338}/files_sdk/models/key_lifecycle_rule.py +0 -0
- {files_com-1.6.337 → files_com-1.6.338}/files_sdk/models/lock.py +0 -0
- {files_com-1.6.337 → files_com-1.6.338}/files_sdk/models/message.py +0 -0
- {files_com-1.6.337 → files_com-1.6.338}/files_sdk/models/message_comment.py +0 -0
- {files_com-1.6.337 → files_com-1.6.338}/files_sdk/models/message_comment_reaction.py +0 -0
- {files_com-1.6.337 → files_com-1.6.338}/files_sdk/models/message_reaction.py +0 -0
- {files_com-1.6.337 → files_com-1.6.338}/files_sdk/models/notification.py +0 -0
- {files_com-1.6.337 → files_com-1.6.338}/files_sdk/models/outbound_connection_log.py +0 -0
- {files_com-1.6.337 → files_com-1.6.338}/files_sdk/models/partner.py +0 -0
- {files_com-1.6.337 → files_com-1.6.338}/files_sdk/models/partner_site.py +0 -0
- {files_com-1.6.337 → files_com-1.6.338}/files_sdk/models/partner_site_request.py +0 -0
- {files_com-1.6.337 → files_com-1.6.338}/files_sdk/models/payment.py +0 -0
- {files_com-1.6.337 → files_com-1.6.338}/files_sdk/models/payment_line_item.py +0 -0
- {files_com-1.6.337 → files_com-1.6.338}/files_sdk/models/permission.py +0 -0
- {files_com-1.6.337 → files_com-1.6.338}/files_sdk/models/preview.py +0 -0
- {files_com-1.6.337 → files_com-1.6.338}/files_sdk/models/project.py +0 -0
- {files_com-1.6.337 → files_com-1.6.338}/files_sdk/models/public_hosting_request_log.py +0 -0
- {files_com-1.6.337 → files_com-1.6.338}/files_sdk/models/public_ip_address.py +0 -0
- {files_com-1.6.337 → files_com-1.6.338}/files_sdk/models/public_key.py +0 -0
- {files_com-1.6.337 → files_com-1.6.338}/files_sdk/models/remote_bandwidth_snapshot.py +0 -0
- {files_com-1.6.337 → files_com-1.6.338}/files_sdk/models/remote_mount_backend.py +0 -0
- {files_com-1.6.337 → files_com-1.6.338}/files_sdk/models/remote_server.py +0 -0
- {files_com-1.6.337 → files_com-1.6.338}/files_sdk/models/remote_server_configuration_file.py +0 -0
- {files_com-1.6.337 → files_com-1.6.338}/files_sdk/models/remote_server_credential.py +0 -0
- {files_com-1.6.337 → files_com-1.6.338}/files_sdk/models/request.py +0 -0
- {files_com-1.6.337 → files_com-1.6.338}/files_sdk/models/restore.py +0 -0
- {files_com-1.6.337 → files_com-1.6.338}/files_sdk/models/scim_log.py +0 -0
- {files_com-1.6.337 → files_com-1.6.338}/files_sdk/models/session.py +0 -0
- {files_com-1.6.337 → files_com-1.6.338}/files_sdk/models/settings_change.py +0 -0
- {files_com-1.6.337 → files_com-1.6.338}/files_sdk/models/sftp_action_log.py +0 -0
- {files_com-1.6.337 → files_com-1.6.338}/files_sdk/models/sftp_host_key.py +0 -0
- {files_com-1.6.337 → files_com-1.6.338}/files_sdk/models/share_group.py +0 -0
- {files_com-1.6.337 → files_com-1.6.338}/files_sdk/models/share_group_member.py +0 -0
- {files_com-1.6.337 → files_com-1.6.338}/files_sdk/models/siem_http_destination.py +0 -0
- {files_com-1.6.337 → files_com-1.6.338}/files_sdk/models/site.py +0 -0
- {files_com-1.6.337 → files_com-1.6.338}/files_sdk/models/snapshot.py +0 -0
- {files_com-1.6.337 → files_com-1.6.338}/files_sdk/models/sso_strategy.py +0 -0
- {files_com-1.6.337 → files_com-1.6.338}/files_sdk/models/status.py +0 -0
- {files_com-1.6.337 → files_com-1.6.338}/files_sdk/models/style.py +0 -0
- {files_com-1.6.337 → files_com-1.6.338}/files_sdk/models/sync_log.py +0 -0
- {files_com-1.6.337 → files_com-1.6.338}/files_sdk/models/sync_run.py +0 -0
- {files_com-1.6.337 → files_com-1.6.338}/files_sdk/models/usage_by_top_level_dir.py +0 -0
- {files_com-1.6.337 → files_com-1.6.338}/files_sdk/models/usage_daily_snapshot.py +0 -0
- {files_com-1.6.337 → files_com-1.6.338}/files_sdk/models/usage_snapshot.py +0 -0
- {files_com-1.6.337 → files_com-1.6.338}/files_sdk/models/user.py +0 -0
- {files_com-1.6.337 → files_com-1.6.338}/files_sdk/models/user_cipher_use.py +0 -0
- {files_com-1.6.337 → files_com-1.6.338}/files_sdk/models/user_lifecycle_rule.py +0 -0
- {files_com-1.6.337 → files_com-1.6.338}/files_sdk/models/user_request.py +0 -0
- {files_com-1.6.337 → files_com-1.6.338}/files_sdk/models/user_sftp_client_use.py +0 -0
- {files_com-1.6.337 → files_com-1.6.338}/files_sdk/models/web_dav_action_log.py +0 -0
- {files_com-1.6.337 → files_com-1.6.338}/files_sdk/models/webhook_test.py +0 -0
- {files_com-1.6.337 → files_com-1.6.338}/files_sdk/models/workspace.py +0 -0
- {files_com-1.6.337 → files_com-1.6.338}/files_sdk/models/zip_list_entry.py +0 -0
- {files_com-1.6.337 → files_com-1.6.338}/files_sdk/path_util.py +0 -0
- {files_com-1.6.337 → files_com-1.6.338}/files_sdk/util.py +0 -0
- {files_com-1.6.337 → files_com-1.6.338}/setup.cfg +0 -0
- {files_com-1.6.337 → files_com-1.6.338}/tests/test_account_line_item.py +0 -0
- {files_com-1.6.337 → files_com-1.6.338}/tests/test_action.py +0 -0
- {files_com-1.6.337 → files_com-1.6.338}/tests/test_action_log.py +0 -0
- {files_com-1.6.337 → files_com-1.6.338}/tests/test_action_notification_export.py +0 -0
- {files_com-1.6.337 → files_com-1.6.338}/tests/test_action_notification_export_result.py +0 -0
- {files_com-1.6.337 → files_com-1.6.338}/tests/test_agent_push_update.py +0 -0
- {files_com-1.6.337 → files_com-1.6.338}/tests/test_api_errors.py +0 -0
- {files_com-1.6.337 → files_com-1.6.338}/tests/test_api_key.py +0 -0
- {files_com-1.6.337 → files_com-1.6.338}/tests/test_api_request_log.py +0 -0
- {files_com-1.6.337 → files_com-1.6.338}/tests/test_app.py +0 -0
- {files_com-1.6.337 → files_com-1.6.338}/tests/test_as2_incoming_message.py +0 -0
- {files_com-1.6.337 → files_com-1.6.338}/tests/test_as2_outgoing_message.py +0 -0
- {files_com-1.6.337 → files_com-1.6.338}/tests/test_as2_partner.py +0 -0
- {files_com-1.6.337 → files_com-1.6.338}/tests/test_as2_station.py +0 -0
- {files_com-1.6.337 → files_com-1.6.338}/tests/test_auto.py +0 -0
- {files_com-1.6.337 → files_com-1.6.338}/tests/test_automation.py +0 -0
- {files_com-1.6.337 → files_com-1.6.338}/tests/test_automation_log.py +0 -0
- {files_com-1.6.337 → files_com-1.6.338}/tests/test_automation_run.py +0 -0
- {files_com-1.6.337 → files_com-1.6.338}/tests/test_bandwidth_snapshot.py +0 -0
- {files_com-1.6.337 → files_com-1.6.338}/tests/test_behavior.py +0 -0
- {files_com-1.6.337 → files_com-1.6.338}/tests/test_bundle.py +0 -0
- {files_com-1.6.337 → files_com-1.6.338}/tests/test_bundle_action.py +0 -0
- {files_com-1.6.337 → files_com-1.6.338}/tests/test_bundle_download.py +0 -0
- {files_com-1.6.337 → files_com-1.6.338}/tests/test_bundle_notification.py +0 -0
- {files_com-1.6.337 → files_com-1.6.338}/tests/test_bundle_path.py +0 -0
- {files_com-1.6.337 → files_com-1.6.338}/tests/test_bundle_recipient.py +0 -0
- {files_com-1.6.337 → files_com-1.6.338}/tests/test_bundle_registration.py +0 -0
- {files_com-1.6.337 → files_com-1.6.338}/tests/test_child_site_management_policy.py +0 -0
- {files_com-1.6.337 → files_com-1.6.338}/tests/test_clickwrap.py +0 -0
- {files_com-1.6.337 → files_com-1.6.338}/tests/test_connection_adapter.py +0 -0
- {files_com-1.6.337 → files_com-1.6.338}/tests/test_decimal_contract.py +0 -0
- {files_com-1.6.337 → files_com-1.6.338}/tests/test_desktop_configuration_profile.py +0 -0
- {files_com-1.6.337 → files_com-1.6.338}/tests/test_dns_record.py +0 -0
- {files_com-1.6.337 → files_com-1.6.338}/tests/test_email_incoming_message.py +0 -0
- {files_com-1.6.337 → files_com-1.6.338}/tests/test_email_log.py +0 -0
- {files_com-1.6.337 → files_com-1.6.338}/tests/test_errors.py +0 -0
- {files_com-1.6.337 → files_com-1.6.338}/tests/test_exavault_api_request_log.py +0 -0
- {files_com-1.6.337 → files_com-1.6.338}/tests/test_expectation.py +0 -0
- {files_com-1.6.337 → files_com-1.6.338}/tests/test_expectation_evaluation.py +0 -0
- {files_com-1.6.337 → files_com-1.6.338}/tests/test_expectation_incident.py +0 -0
- {files_com-1.6.337 → files_com-1.6.338}/tests/test_external_event.py +0 -0
- {files_com-1.6.337 → files_com-1.6.338}/tests/test_file.py +0 -0
- {files_com-1.6.337 → files_com-1.6.338}/tests/test_file_action.py +0 -0
- {files_com-1.6.337 → files_com-1.6.338}/tests/test_file_comment.py +0 -0
- {files_com-1.6.337 → files_com-1.6.338}/tests/test_file_comment_reaction.py +0 -0
- {files_com-1.6.337 → files_com-1.6.338}/tests/test_file_migration.py +0 -0
- {files_com-1.6.337 → files_com-1.6.338}/tests/test_file_migration_log.py +0 -0
- {files_com-1.6.337 → files_com-1.6.338}/tests/test_file_upload_part.py +0 -0
- {files_com-1.6.337 → files_com-1.6.338}/tests/test_folder.py +0 -0
- {files_com-1.6.337 → files_com-1.6.338}/tests/test_form_field.py +0 -0
- {files_com-1.6.337 → files_com-1.6.338}/tests/test_form_field_set.py +0 -0
- {files_com-1.6.337 → files_com-1.6.338}/tests/test_ftp_action_log.py +0 -0
- {files_com-1.6.337 → files_com-1.6.338}/tests/test_gpg_key.py +0 -0
- {files_com-1.6.337 → files_com-1.6.338}/tests/test_group.py +0 -0
- {files_com-1.6.337 → files_com-1.6.338}/tests/test_group_user.py +0 -0
- {files_com-1.6.337 → files_com-1.6.338}/tests/test_history.py +0 -0
- {files_com-1.6.337 → files_com-1.6.338}/tests/test_history_export.py +0 -0
- {files_com-1.6.337 → files_com-1.6.338}/tests/test_history_export_result.py +0 -0
- {files_com-1.6.337 → files_com-1.6.338}/tests/test_holiday_region.py +0 -0
- {files_com-1.6.337 → files_com-1.6.338}/tests/test_image.py +0 -0
- {files_com-1.6.337 → files_com-1.6.338}/tests/test_inbound_s3_log.py +0 -0
- {files_com-1.6.337 → files_com-1.6.338}/tests/test_inbox_recipient.py +0 -0
- {files_com-1.6.337 → files_com-1.6.338}/tests/test_inbox_registration.py +0 -0
- {files_com-1.6.337 → files_com-1.6.338}/tests/test_inbox_upload.py +0 -0
- {files_com-1.6.337 → files_com-1.6.338}/tests/test_invoice.py +0 -0
- {files_com-1.6.337 → files_com-1.6.338}/tests/test_invoice_line_item.py +0 -0
- {files_com-1.6.337 → files_com-1.6.338}/tests/test_ip_address.py +0 -0
- {files_com-1.6.337 → files_com-1.6.338}/tests/test_key_lifecycle_rule.py +0 -0
- {files_com-1.6.337 → files_com-1.6.338}/tests/test_lock.py +0 -0
- {files_com-1.6.337 → files_com-1.6.338}/tests/test_message.py +0 -0
- {files_com-1.6.337 → files_com-1.6.338}/tests/test_message_comment.py +0 -0
- {files_com-1.6.337 → files_com-1.6.338}/tests/test_message_comment_reaction.py +0 -0
- {files_com-1.6.337 → files_com-1.6.338}/tests/test_message_reaction.py +0 -0
- {files_com-1.6.337 → files_com-1.6.338}/tests/test_notification.py +0 -0
- {files_com-1.6.337 → files_com-1.6.338}/tests/test_outbound_connection_log.py +0 -0
- {files_com-1.6.337 → files_com-1.6.338}/tests/test_partner.py +0 -0
- {files_com-1.6.337 → files_com-1.6.338}/tests/test_partner_site.py +0 -0
- {files_com-1.6.337 → files_com-1.6.338}/tests/test_partner_site_request.py +0 -0
- {files_com-1.6.337 → files_com-1.6.338}/tests/test_path_util.py +0 -0
- {files_com-1.6.337 → files_com-1.6.338}/tests/test_payment.py +0 -0
- {files_com-1.6.337 → files_com-1.6.338}/tests/test_payment_line_item.py +0 -0
- {files_com-1.6.337 → files_com-1.6.338}/tests/test_permission.py +0 -0
- {files_com-1.6.337 → files_com-1.6.338}/tests/test_preview.py +0 -0
- {files_com-1.6.337 → files_com-1.6.338}/tests/test_project.py +0 -0
- {files_com-1.6.337 → files_com-1.6.338}/tests/test_public_hosting_request_log.py +0 -0
- {files_com-1.6.337 → files_com-1.6.338}/tests/test_public_ip_address.py +0 -0
- {files_com-1.6.337 → files_com-1.6.338}/tests/test_public_key.py +0 -0
- {files_com-1.6.337 → files_com-1.6.338}/tests/test_remote_bandwidth_snapshot.py +0 -0
- {files_com-1.6.337 → files_com-1.6.338}/tests/test_remote_mount_backend.py +0 -0
- {files_com-1.6.337 → files_com-1.6.338}/tests/test_remote_server.py +0 -0
- {files_com-1.6.337 → files_com-1.6.338}/tests/test_remote_server_configuration_file.py +0 -0
- {files_com-1.6.337 → files_com-1.6.338}/tests/test_remote_server_credential.py +0 -0
- {files_com-1.6.337 → files_com-1.6.338}/tests/test_request.py +0 -0
- {files_com-1.6.337 → files_com-1.6.338}/tests/test_restore.py +0 -0
- {files_com-1.6.337 → files_com-1.6.338}/tests/test_scim_log.py +0 -0
- {files_com-1.6.337 → files_com-1.6.338}/tests/test_session.py +0 -0
- {files_com-1.6.337 → files_com-1.6.338}/tests/test_settings_change.py +0 -0
- {files_com-1.6.337 → files_com-1.6.338}/tests/test_sftp_action_log.py +0 -0
- {files_com-1.6.337 → files_com-1.6.338}/tests/test_sftp_host_key.py +0 -0
- {files_com-1.6.337 → files_com-1.6.338}/tests/test_share_group.py +0 -0
- {files_com-1.6.337 → files_com-1.6.338}/tests/test_share_group_member.py +0 -0
- {files_com-1.6.337 → files_com-1.6.338}/tests/test_siem_http_destination.py +0 -0
- {files_com-1.6.337 → files_com-1.6.338}/tests/test_site.py +0 -0
- {files_com-1.6.337 → files_com-1.6.338}/tests/test_snapshot.py +0 -0
- {files_com-1.6.337 → files_com-1.6.338}/tests/test_sso_strategy.py +0 -0
- {files_com-1.6.337 → files_com-1.6.338}/tests/test_status.py +0 -0
- {files_com-1.6.337 → files_com-1.6.338}/tests/test_style.py +0 -0
- {files_com-1.6.337 → files_com-1.6.338}/tests/test_sync.py +0 -0
- {files_com-1.6.337 → files_com-1.6.338}/tests/test_sync_log.py +0 -0
- {files_com-1.6.337 → files_com-1.6.338}/tests/test_sync_run.py +0 -0
- {files_com-1.6.337 → files_com-1.6.338}/tests/test_usage_by_top_level_dir.py +0 -0
- {files_com-1.6.337 → files_com-1.6.338}/tests/test_usage_daily_snapshot.py +0 -0
- {files_com-1.6.337 → files_com-1.6.338}/tests/test_usage_snapshot.py +0 -0
- {files_com-1.6.337 → files_com-1.6.338}/tests/test_user.py +0 -0
- {files_com-1.6.337 → files_com-1.6.338}/tests/test_user_cipher_use.py +0 -0
- {files_com-1.6.337 → files_com-1.6.338}/tests/test_user_lifecycle_rule.py +0 -0
- {files_com-1.6.337 → files_com-1.6.338}/tests/test_user_request.py +0 -0
- {files_com-1.6.337 → files_com-1.6.338}/tests/test_user_sftp_client_use.py +0 -0
- {files_com-1.6.337 → files_com-1.6.338}/tests/test_web_dav_action_log.py +0 -0
- {files_com-1.6.337 → files_com-1.6.338}/tests/test_webhook_test.py +0 -0
- {files_com-1.6.337 → files_com-1.6.338}/tests/test_workspace.py +0 -0
- {files_com-1.6.337 → files_com-1.6.338}/tests/test_zip_list_entry.py +0 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
1.6.338
|
|
@@ -20,6 +20,8 @@ class Sync:
|
|
|
20
20
|
"dest_path": None, # string - Absolute destination path for the sync
|
|
21
21
|
"src_remote_server_id": None, # int64 - Remote server ID for the source (if remote)
|
|
22
22
|
"dest_remote_server_id": None, # int64 - Remote server ID for the destination (if remote)
|
|
23
|
+
"src_site_id": None, # int64 - Source site ID if syncing from a child or partner site
|
|
24
|
+
"dest_site_id": None, # int64 - Destination site ID if syncing to a child or partner site
|
|
23
25
|
"two_way": None, # boolean - Is this a two-way sync?
|
|
24
26
|
"keep_after_copy": None, # boolean - Keep files after copying?
|
|
25
27
|
"delete_empty_folders": None, # boolean - Delete empty folders after sync?
|
|
@@ -102,24 +104,28 @@ class Sync:
|
|
|
102
104
|
)
|
|
103
105
|
|
|
104
106
|
# Parameters:
|
|
105
|
-
# name - string - Name for this sync job
|
|
106
|
-
# description - string - Description for this sync job
|
|
107
|
-
# src_path - string - Absolute source path
|
|
108
|
-
# dest_path - string - Absolute destination path
|
|
109
|
-
# src_remote_server_id - int64 - Remote server ID for the source
|
|
110
|
-
# dest_remote_server_id - int64 - Remote server ID for the destination
|
|
111
|
-
# keep_after_copy - boolean - Keep files after copying?
|
|
112
107
|
# delete_empty_folders - boolean - Delete empty folders after sync?
|
|
108
|
+
# description - string - Description for this sync job
|
|
109
|
+
# dest_path - string - Absolute destination path for the sync
|
|
110
|
+
# dest_remote_server_id - int64 - Remote server ID for the destination (if remote)
|
|
111
|
+
# dest_site_id - int64 - Destination site ID if syncing to a child or partner site
|
|
113
112
|
# disabled - boolean - Is this sync disabled?
|
|
114
|
-
#
|
|
115
|
-
# trigger - string - Trigger type: daily, custom_schedule, or manual
|
|
116
|
-
# trigger_file - string - Some MFT services request an empty file (known as a trigger file) to signal the sync is complete and they can begin further processing. If trigger_file is set, a zero-byte file will be sent at the end of the sync.
|
|
113
|
+
# exclude_patterns - array(string) - Array of glob patterns to exclude
|
|
117
114
|
# holiday_region - 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.
|
|
118
|
-
#
|
|
115
|
+
# include_patterns - array(string) - Array of glob patterns to include
|
|
116
|
+
# interval - string - If trigger is `daily`, this specifies how often to run this sync. One of: `day`, `week`, `week_end`, `month`, `month_end`, `quarter`, `quarter_end`, `year`, `year_end`
|
|
117
|
+
# keep_after_copy - boolean - Keep files after copying?
|
|
118
|
+
# name - string - Name for this sync job
|
|
119
119
|
# recurring_day - int64 - If trigger type is `daily`, this specifies a day number to run in one of the supported intervals: `week`, `month`, `quarter`, `year`.
|
|
120
|
-
# schedule_time_zone - string - If trigger is `custom_schedule`, Custom schedule Time Zone for when the sync should be run.
|
|
121
120
|
# schedule_days_of_week - array(int64) - If trigger is `custom_schedule`, Custom schedule description for when the sync should be run. 0-based days of the week. 0 is Sunday, 1 is Monday, etc.
|
|
121
|
+
# schedule_time_zone - string - If trigger is `custom_schedule`, Custom schedule Time Zone for when the sync should be run.
|
|
122
122
|
# schedule_times_of_day - array(string) - If trigger is `custom_schedule`, Custom schedule description for when the sync should be run. Times of day in HH:MM format.
|
|
123
|
+
# src_path - string - Absolute source path for the sync
|
|
124
|
+
# src_remote_server_id - int64 - Remote server ID for the source (if remote)
|
|
125
|
+
# src_site_id - int64 - Source site ID if syncing from a child or partner site
|
|
126
|
+
# sync_interval_minutes - int64 - Frequency in minutes between syncs. If set, this value must be greater than or equal to the `remote_sync_interval` value for the site's plan. If left blank, the plan's `remote_sync_interval` will be used. This setting is only used if `trigger` is empty.
|
|
127
|
+
# trigger - string - Trigger type: daily, custom_schedule, or manual
|
|
128
|
+
# trigger_file - string - Some MFT services request an empty file (known as a trigger file) to signal the sync is complete and they can begin further processing. If trigger_file is set, a zero-byte file will be sent at the end of the sync.
|
|
123
129
|
def update(self, params=None):
|
|
124
130
|
if not isinstance(params, dict):
|
|
125
131
|
params = {}
|
|
@@ -132,47 +138,33 @@ class Sync:
|
|
|
132
138
|
raise MissingParameterError("Parameter missing: id")
|
|
133
139
|
if "id" in params and not isinstance(params["id"], int):
|
|
134
140
|
raise InvalidParameterError("Bad parameter: id must be an int")
|
|
135
|
-
if "name" in params and not isinstance(params["name"], str):
|
|
136
|
-
raise InvalidParameterError("Bad parameter: name must be an str")
|
|
137
141
|
if "description" in params and not isinstance(
|
|
138
142
|
params["description"], str
|
|
139
143
|
):
|
|
140
144
|
raise InvalidParameterError(
|
|
141
145
|
"Bad parameter: description must be an str"
|
|
142
146
|
)
|
|
143
|
-
if "src_path" in params and not isinstance(params["src_path"], str):
|
|
144
|
-
raise InvalidParameterError(
|
|
145
|
-
"Bad parameter: src_path must be an str"
|
|
146
|
-
)
|
|
147
147
|
if "dest_path" in params and not isinstance(params["dest_path"], str):
|
|
148
148
|
raise InvalidParameterError(
|
|
149
149
|
"Bad parameter: dest_path must be an str"
|
|
150
150
|
)
|
|
151
|
-
if "src_remote_server_id" in params and not isinstance(
|
|
152
|
-
params["src_remote_server_id"], int
|
|
153
|
-
):
|
|
154
|
-
raise InvalidParameterError(
|
|
155
|
-
"Bad parameter: src_remote_server_id must be an int"
|
|
156
|
-
)
|
|
157
151
|
if "dest_remote_server_id" in params and not isinstance(
|
|
158
152
|
params["dest_remote_server_id"], int
|
|
159
153
|
):
|
|
160
154
|
raise InvalidParameterError(
|
|
161
155
|
"Bad parameter: dest_remote_server_id must be an int"
|
|
162
156
|
)
|
|
163
|
-
if "
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
)
|
|
167
|
-
if "trigger" in params and not isinstance(params["trigger"], str):
|
|
157
|
+
if "dest_site_id" in params and not isinstance(
|
|
158
|
+
params["dest_site_id"], int
|
|
159
|
+
):
|
|
168
160
|
raise InvalidParameterError(
|
|
169
|
-
"Bad parameter:
|
|
161
|
+
"Bad parameter: dest_site_id must be an int"
|
|
170
162
|
)
|
|
171
|
-
if "
|
|
172
|
-
params["
|
|
163
|
+
if "exclude_patterns" in params and not isinstance(
|
|
164
|
+
params["exclude_patterns"], builtins.list
|
|
173
165
|
):
|
|
174
166
|
raise InvalidParameterError(
|
|
175
|
-
"Bad parameter:
|
|
167
|
+
"Bad parameter: exclude_patterns must be an list"
|
|
176
168
|
)
|
|
177
169
|
if "holiday_region" in params and not isinstance(
|
|
178
170
|
params["holiday_region"], str
|
|
@@ -180,36 +172,74 @@ class Sync:
|
|
|
180
172
|
raise InvalidParameterError(
|
|
181
173
|
"Bad parameter: holiday_region must be an str"
|
|
182
174
|
)
|
|
183
|
-
if "
|
|
184
|
-
params["
|
|
175
|
+
if "include_patterns" in params and not isinstance(
|
|
176
|
+
params["include_patterns"], builtins.list
|
|
185
177
|
):
|
|
186
178
|
raise InvalidParameterError(
|
|
187
|
-
"Bad parameter:
|
|
179
|
+
"Bad parameter: include_patterns must be an list"
|
|
180
|
+
)
|
|
181
|
+
if "interval" in params and not isinstance(params["interval"], str):
|
|
182
|
+
raise InvalidParameterError(
|
|
183
|
+
"Bad parameter: interval must be an str"
|
|
188
184
|
)
|
|
185
|
+
if "name" in params and not isinstance(params["name"], str):
|
|
186
|
+
raise InvalidParameterError("Bad parameter: name must be an str")
|
|
189
187
|
if "recurring_day" in params and not isinstance(
|
|
190
188
|
params["recurring_day"], int
|
|
191
189
|
):
|
|
192
190
|
raise InvalidParameterError(
|
|
193
191
|
"Bad parameter: recurring_day must be an int"
|
|
194
192
|
)
|
|
195
|
-
if "schedule_time_zone" in params and not isinstance(
|
|
196
|
-
params["schedule_time_zone"], str
|
|
197
|
-
):
|
|
198
|
-
raise InvalidParameterError(
|
|
199
|
-
"Bad parameter: schedule_time_zone must be an str"
|
|
200
|
-
)
|
|
201
193
|
if "schedule_days_of_week" in params and not isinstance(
|
|
202
194
|
params["schedule_days_of_week"], builtins.list
|
|
203
195
|
):
|
|
204
196
|
raise InvalidParameterError(
|
|
205
197
|
"Bad parameter: schedule_days_of_week must be an list"
|
|
206
198
|
)
|
|
199
|
+
if "schedule_time_zone" in params and not isinstance(
|
|
200
|
+
params["schedule_time_zone"], str
|
|
201
|
+
):
|
|
202
|
+
raise InvalidParameterError(
|
|
203
|
+
"Bad parameter: schedule_time_zone must be an str"
|
|
204
|
+
)
|
|
207
205
|
if "schedule_times_of_day" in params and not isinstance(
|
|
208
206
|
params["schedule_times_of_day"], builtins.list
|
|
209
207
|
):
|
|
210
208
|
raise InvalidParameterError(
|
|
211
209
|
"Bad parameter: schedule_times_of_day must be an list"
|
|
212
210
|
)
|
|
211
|
+
if "src_path" in params and not isinstance(params["src_path"], str):
|
|
212
|
+
raise InvalidParameterError(
|
|
213
|
+
"Bad parameter: src_path must be an str"
|
|
214
|
+
)
|
|
215
|
+
if "src_remote_server_id" in params and not isinstance(
|
|
216
|
+
params["src_remote_server_id"], int
|
|
217
|
+
):
|
|
218
|
+
raise InvalidParameterError(
|
|
219
|
+
"Bad parameter: src_remote_server_id must be an int"
|
|
220
|
+
)
|
|
221
|
+
if "src_site_id" in params and not isinstance(
|
|
222
|
+
params["src_site_id"], int
|
|
223
|
+
):
|
|
224
|
+
raise InvalidParameterError(
|
|
225
|
+
"Bad parameter: src_site_id must be an int"
|
|
226
|
+
)
|
|
227
|
+
if "sync_interval_minutes" in params and not isinstance(
|
|
228
|
+
params["sync_interval_minutes"], int
|
|
229
|
+
):
|
|
230
|
+
raise InvalidParameterError(
|
|
231
|
+
"Bad parameter: sync_interval_minutes must be an int"
|
|
232
|
+
)
|
|
233
|
+
if "trigger" in params and not isinstance(params["trigger"], str):
|
|
234
|
+
raise InvalidParameterError(
|
|
235
|
+
"Bad parameter: trigger must be an str"
|
|
236
|
+
)
|
|
237
|
+
if "trigger_file" in params and not isinstance(
|
|
238
|
+
params["trigger_file"], str
|
|
239
|
+
):
|
|
240
|
+
raise InvalidParameterError(
|
|
241
|
+
"Bad parameter: trigger_file must be an str"
|
|
242
|
+
)
|
|
213
243
|
response, _options = Api.send_request(
|
|
214
244
|
"PATCH",
|
|
215
245
|
"/syncs/{id}".format(id=params["id"]),
|
|
@@ -299,75 +329,65 @@ def get(id, params=None, options=None):
|
|
|
299
329
|
|
|
300
330
|
|
|
301
331
|
# Parameters:
|
|
302
|
-
# name - string - Name for this sync job
|
|
303
|
-
# description - string - Description for this sync job
|
|
304
|
-
# src_path - string - Absolute source path
|
|
305
|
-
# dest_path - string - Absolute destination path
|
|
306
|
-
# src_remote_server_id - int64 - Remote server ID for the source
|
|
307
|
-
# dest_remote_server_id - int64 - Remote server ID for the destination
|
|
308
|
-
# keep_after_copy - boolean - Keep files after copying?
|
|
309
332
|
# delete_empty_folders - boolean - Delete empty folders after sync?
|
|
333
|
+
# description - string - Description for this sync job
|
|
334
|
+
# dest_path - string - Absolute destination path for the sync
|
|
335
|
+
# dest_remote_server_id - int64 - Remote server ID for the destination (if remote)
|
|
336
|
+
# dest_site_id - int64 - Destination site ID if syncing to a child or partner site
|
|
310
337
|
# disabled - boolean - Is this sync disabled?
|
|
311
|
-
#
|
|
312
|
-
# trigger - string - Trigger type: daily, custom_schedule, or manual
|
|
313
|
-
# trigger_file - string - Some MFT services request an empty file (known as a trigger file) to signal the sync is complete and they can begin further processing. If trigger_file is set, a zero-byte file will be sent at the end of the sync.
|
|
338
|
+
# exclude_patterns - array(string) - Array of glob patterns to exclude
|
|
314
339
|
# holiday_region - 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.
|
|
315
|
-
#
|
|
340
|
+
# include_patterns - array(string) - Array of glob patterns to include
|
|
341
|
+
# interval - string - If trigger is `daily`, this specifies how often to run this sync. One of: `day`, `week`, `week_end`, `month`, `month_end`, `quarter`, `quarter_end`, `year`, `year_end`
|
|
342
|
+
# keep_after_copy - boolean - Keep files after copying?
|
|
343
|
+
# name - string - Name for this sync job
|
|
316
344
|
# recurring_day - int64 - If trigger type is `daily`, this specifies a day number to run in one of the supported intervals: `week`, `month`, `quarter`, `year`.
|
|
317
|
-
# schedule_time_zone - string - If trigger is `custom_schedule`, Custom schedule Time Zone for when the sync should be run.
|
|
318
345
|
# schedule_days_of_week - array(int64) - If trigger is `custom_schedule`, Custom schedule description for when the sync should be run. 0-based days of the week. 0 is Sunday, 1 is Monday, etc.
|
|
346
|
+
# schedule_time_zone - string - If trigger is `custom_schedule`, Custom schedule Time Zone for when the sync should be run.
|
|
319
347
|
# schedule_times_of_day - array(string) - If trigger is `custom_schedule`, Custom schedule description for when the sync should be run. Times of day in HH:MM format.
|
|
348
|
+
# src_path - string - Absolute source path for the sync
|
|
349
|
+
# src_remote_server_id - int64 - Remote server ID for the source (if remote)
|
|
350
|
+
# src_site_id - int64 - Source site ID if syncing from a child or partner site
|
|
351
|
+
# sync_interval_minutes - int64 - Frequency in minutes between syncs. If set, this value must be greater than or equal to the `remote_sync_interval` value for the site's plan. If left blank, the plan's `remote_sync_interval` will be used. This setting is only used if `trigger` is empty.
|
|
352
|
+
# trigger - string - Trigger type: daily, custom_schedule, or manual
|
|
353
|
+
# trigger_file - string - Some MFT services request an empty file (known as a trigger file) to signal the sync is complete and they can begin further processing. If trigger_file is set, a zero-byte file will be sent at the end of the sync.
|
|
320
354
|
# workspace_id - int64 - Workspace ID this sync belongs to
|
|
321
355
|
def create(params=None, options=None):
|
|
322
356
|
if not isinstance(params, dict):
|
|
323
357
|
params = {}
|
|
324
358
|
if not isinstance(options, dict):
|
|
325
359
|
options = {}
|
|
326
|
-
if "
|
|
327
|
-
|
|
360
|
+
if "delete_empty_folders" in params and not isinstance(
|
|
361
|
+
params["delete_empty_folders"], bool
|
|
362
|
+
):
|
|
363
|
+
raise InvalidParameterError(
|
|
364
|
+
"Bad parameter: delete_empty_folders must be an bool"
|
|
365
|
+
)
|
|
328
366
|
if "description" in params and not isinstance(params["description"], str):
|
|
329
367
|
raise InvalidParameterError(
|
|
330
368
|
"Bad parameter: description must be an str"
|
|
331
369
|
)
|
|
332
|
-
if "src_path" in params and not isinstance(params["src_path"], str):
|
|
333
|
-
raise InvalidParameterError("Bad parameter: src_path must be an str")
|
|
334
370
|
if "dest_path" in params and not isinstance(params["dest_path"], str):
|
|
335
371
|
raise InvalidParameterError("Bad parameter: dest_path must be an str")
|
|
336
|
-
if "src_remote_server_id" in params and not isinstance(
|
|
337
|
-
params["src_remote_server_id"], int
|
|
338
|
-
):
|
|
339
|
-
raise InvalidParameterError(
|
|
340
|
-
"Bad parameter: src_remote_server_id must be an int"
|
|
341
|
-
)
|
|
342
372
|
if "dest_remote_server_id" in params and not isinstance(
|
|
343
373
|
params["dest_remote_server_id"], int
|
|
344
374
|
):
|
|
345
375
|
raise InvalidParameterError(
|
|
346
376
|
"Bad parameter: dest_remote_server_id must be an int"
|
|
347
377
|
)
|
|
348
|
-
if "
|
|
349
|
-
params["
|
|
378
|
+
if "dest_site_id" in params and not isinstance(
|
|
379
|
+
params["dest_site_id"], int
|
|
350
380
|
):
|
|
351
381
|
raise InvalidParameterError(
|
|
352
|
-
"Bad parameter:
|
|
353
|
-
)
|
|
354
|
-
if "delete_empty_folders" in params and not isinstance(
|
|
355
|
-
params["delete_empty_folders"], bool
|
|
356
|
-
):
|
|
357
|
-
raise InvalidParameterError(
|
|
358
|
-
"Bad parameter: delete_empty_folders must be an bool"
|
|
382
|
+
"Bad parameter: dest_site_id must be an int"
|
|
359
383
|
)
|
|
360
384
|
if "disabled" in params and not isinstance(params["disabled"], bool):
|
|
361
385
|
raise InvalidParameterError("Bad parameter: disabled must be an bool")
|
|
362
|
-
if "
|
|
363
|
-
|
|
364
|
-
if "trigger" in params and not isinstance(params["trigger"], str):
|
|
365
|
-
raise InvalidParameterError("Bad parameter: trigger must be an str")
|
|
366
|
-
if "trigger_file" in params and not isinstance(
|
|
367
|
-
params["trigger_file"], str
|
|
386
|
+
if "exclude_patterns" in params and not isinstance(
|
|
387
|
+
params["exclude_patterns"], builtins.list
|
|
368
388
|
):
|
|
369
389
|
raise InvalidParameterError(
|
|
370
|
-
"Bad parameter:
|
|
390
|
+
"Bad parameter: exclude_patterns must be an list"
|
|
371
391
|
)
|
|
372
392
|
if "holiday_region" in params and not isinstance(
|
|
373
393
|
params["holiday_region"], str
|
|
@@ -375,23 +395,27 @@ def create(params=None, options=None):
|
|
|
375
395
|
raise InvalidParameterError(
|
|
376
396
|
"Bad parameter: holiday_region must be an str"
|
|
377
397
|
)
|
|
378
|
-
if "
|
|
379
|
-
params["
|
|
398
|
+
if "include_patterns" in params and not isinstance(
|
|
399
|
+
params["include_patterns"], builtins.list
|
|
380
400
|
):
|
|
381
401
|
raise InvalidParameterError(
|
|
382
|
-
"Bad parameter:
|
|
402
|
+
"Bad parameter: include_patterns must be an list"
|
|
383
403
|
)
|
|
384
|
-
if "
|
|
385
|
-
|
|
404
|
+
if "interval" in params and not isinstance(params["interval"], str):
|
|
405
|
+
raise InvalidParameterError("Bad parameter: interval must be an str")
|
|
406
|
+
if "keep_after_copy" in params and not isinstance(
|
|
407
|
+
params["keep_after_copy"], bool
|
|
386
408
|
):
|
|
387
409
|
raise InvalidParameterError(
|
|
388
|
-
"Bad parameter:
|
|
410
|
+
"Bad parameter: keep_after_copy must be an bool"
|
|
389
411
|
)
|
|
390
|
-
if "
|
|
391
|
-
|
|
412
|
+
if "name" in params and not isinstance(params["name"], str):
|
|
413
|
+
raise InvalidParameterError("Bad parameter: name must be an str")
|
|
414
|
+
if "recurring_day" in params and not isinstance(
|
|
415
|
+
params["recurring_day"], int
|
|
392
416
|
):
|
|
393
417
|
raise InvalidParameterError(
|
|
394
|
-
"Bad parameter:
|
|
418
|
+
"Bad parameter: recurring_day must be an int"
|
|
395
419
|
)
|
|
396
420
|
if "schedule_days_of_week" in params and not isinstance(
|
|
397
421
|
params["schedule_days_of_week"], builtins.list
|
|
@@ -399,12 +423,44 @@ def create(params=None, options=None):
|
|
|
399
423
|
raise InvalidParameterError(
|
|
400
424
|
"Bad parameter: schedule_days_of_week must be an list"
|
|
401
425
|
)
|
|
426
|
+
if "schedule_time_zone" in params and not isinstance(
|
|
427
|
+
params["schedule_time_zone"], str
|
|
428
|
+
):
|
|
429
|
+
raise InvalidParameterError(
|
|
430
|
+
"Bad parameter: schedule_time_zone must be an str"
|
|
431
|
+
)
|
|
402
432
|
if "schedule_times_of_day" in params and not isinstance(
|
|
403
433
|
params["schedule_times_of_day"], builtins.list
|
|
404
434
|
):
|
|
405
435
|
raise InvalidParameterError(
|
|
406
436
|
"Bad parameter: schedule_times_of_day must be an list"
|
|
407
437
|
)
|
|
438
|
+
if "src_path" in params and not isinstance(params["src_path"], str):
|
|
439
|
+
raise InvalidParameterError("Bad parameter: src_path must be an str")
|
|
440
|
+
if "src_remote_server_id" in params and not isinstance(
|
|
441
|
+
params["src_remote_server_id"], int
|
|
442
|
+
):
|
|
443
|
+
raise InvalidParameterError(
|
|
444
|
+
"Bad parameter: src_remote_server_id must be an int"
|
|
445
|
+
)
|
|
446
|
+
if "src_site_id" in params and not isinstance(params["src_site_id"], int):
|
|
447
|
+
raise InvalidParameterError(
|
|
448
|
+
"Bad parameter: src_site_id must be an int"
|
|
449
|
+
)
|
|
450
|
+
if "sync_interval_minutes" in params and not isinstance(
|
|
451
|
+
params["sync_interval_minutes"], int
|
|
452
|
+
):
|
|
453
|
+
raise InvalidParameterError(
|
|
454
|
+
"Bad parameter: sync_interval_minutes must be an int"
|
|
455
|
+
)
|
|
456
|
+
if "trigger" in params and not isinstance(params["trigger"], str):
|
|
457
|
+
raise InvalidParameterError("Bad parameter: trigger must be an str")
|
|
458
|
+
if "trigger_file" in params and not isinstance(
|
|
459
|
+
params["trigger_file"], str
|
|
460
|
+
):
|
|
461
|
+
raise InvalidParameterError(
|
|
462
|
+
"Bad parameter: trigger_file must be an str"
|
|
463
|
+
)
|
|
408
464
|
if "workspace_id" in params and not isinstance(
|
|
409
465
|
params["workspace_id"], int
|
|
410
466
|
):
|
|
@@ -451,24 +507,28 @@ def manual_run(id, params=None, options=None):
|
|
|
451
507
|
|
|
452
508
|
|
|
453
509
|
# Parameters:
|
|
454
|
-
# name - string - Name for this sync job
|
|
455
|
-
# description - string - Description for this sync job
|
|
456
|
-
# src_path - string - Absolute source path
|
|
457
|
-
# dest_path - string - Absolute destination path
|
|
458
|
-
# src_remote_server_id - int64 - Remote server ID for the source
|
|
459
|
-
# dest_remote_server_id - int64 - Remote server ID for the destination
|
|
460
|
-
# keep_after_copy - boolean - Keep files after copying?
|
|
461
510
|
# delete_empty_folders - boolean - Delete empty folders after sync?
|
|
511
|
+
# description - string - Description for this sync job
|
|
512
|
+
# dest_path - string - Absolute destination path for the sync
|
|
513
|
+
# dest_remote_server_id - int64 - Remote server ID for the destination (if remote)
|
|
514
|
+
# dest_site_id - int64 - Destination site ID if syncing to a child or partner site
|
|
462
515
|
# disabled - boolean - Is this sync disabled?
|
|
463
|
-
#
|
|
464
|
-
# trigger - string - Trigger type: daily, custom_schedule, or manual
|
|
465
|
-
# trigger_file - string - Some MFT services request an empty file (known as a trigger file) to signal the sync is complete and they can begin further processing. If trigger_file is set, a zero-byte file will be sent at the end of the sync.
|
|
516
|
+
# exclude_patterns - array(string) - Array of glob patterns to exclude
|
|
466
517
|
# holiday_region - 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.
|
|
467
|
-
#
|
|
518
|
+
# include_patterns - array(string) - Array of glob patterns to include
|
|
519
|
+
# interval - string - If trigger is `daily`, this specifies how often to run this sync. One of: `day`, `week`, `week_end`, `month`, `month_end`, `quarter`, `quarter_end`, `year`, `year_end`
|
|
520
|
+
# keep_after_copy - boolean - Keep files after copying?
|
|
521
|
+
# name - string - Name for this sync job
|
|
468
522
|
# recurring_day - int64 - If trigger type is `daily`, this specifies a day number to run in one of the supported intervals: `week`, `month`, `quarter`, `year`.
|
|
469
|
-
# schedule_time_zone - string - If trigger is `custom_schedule`, Custom schedule Time Zone for when the sync should be run.
|
|
470
523
|
# schedule_days_of_week - array(int64) - If trigger is `custom_schedule`, Custom schedule description for when the sync should be run. 0-based days of the week. 0 is Sunday, 1 is Monday, etc.
|
|
524
|
+
# schedule_time_zone - string - If trigger is `custom_schedule`, Custom schedule Time Zone for when the sync should be run.
|
|
471
525
|
# schedule_times_of_day - array(string) - If trigger is `custom_schedule`, Custom schedule description for when the sync should be run. Times of day in HH:MM format.
|
|
526
|
+
# src_path - string - Absolute source path for the sync
|
|
527
|
+
# src_remote_server_id - int64 - Remote server ID for the source (if remote)
|
|
528
|
+
# src_site_id - int64 - Source site ID if syncing from a child or partner site
|
|
529
|
+
# sync_interval_minutes - int64 - Frequency in minutes between syncs. If set, this value must be greater than or equal to the `remote_sync_interval` value for the site's plan. If left blank, the plan's `remote_sync_interval` will be used. This setting is only used if `trigger` is empty.
|
|
530
|
+
# trigger - string - Trigger type: daily, custom_schedule, or manual
|
|
531
|
+
# trigger_file - string - Some MFT services request an empty file (known as a trigger file) to signal the sync is complete and they can begin further processing. If trigger_file is set, a zero-byte file will be sent at the end of the sync.
|
|
472
532
|
def update(id, params=None, options=None):
|
|
473
533
|
if not isinstance(params, dict):
|
|
474
534
|
params = {}
|
|
@@ -477,51 +537,37 @@ def update(id, params=None, options=None):
|
|
|
477
537
|
params["id"] = id
|
|
478
538
|
if "id" in params and not isinstance(params["id"], int):
|
|
479
539
|
raise InvalidParameterError("Bad parameter: id must be an int")
|
|
480
|
-
if "
|
|
481
|
-
|
|
540
|
+
if "delete_empty_folders" in params and not isinstance(
|
|
541
|
+
params["delete_empty_folders"], bool
|
|
542
|
+
):
|
|
543
|
+
raise InvalidParameterError(
|
|
544
|
+
"Bad parameter: delete_empty_folders must be an bool"
|
|
545
|
+
)
|
|
482
546
|
if "description" in params and not isinstance(params["description"], str):
|
|
483
547
|
raise InvalidParameterError(
|
|
484
548
|
"Bad parameter: description must be an str"
|
|
485
549
|
)
|
|
486
|
-
if "src_path" in params and not isinstance(params["src_path"], str):
|
|
487
|
-
raise InvalidParameterError("Bad parameter: src_path must be an str")
|
|
488
550
|
if "dest_path" in params and not isinstance(params["dest_path"], str):
|
|
489
551
|
raise InvalidParameterError("Bad parameter: dest_path must be an str")
|
|
490
|
-
if "src_remote_server_id" in params and not isinstance(
|
|
491
|
-
params["src_remote_server_id"], int
|
|
492
|
-
):
|
|
493
|
-
raise InvalidParameterError(
|
|
494
|
-
"Bad parameter: src_remote_server_id must be an int"
|
|
495
|
-
)
|
|
496
552
|
if "dest_remote_server_id" in params and not isinstance(
|
|
497
553
|
params["dest_remote_server_id"], int
|
|
498
554
|
):
|
|
499
555
|
raise InvalidParameterError(
|
|
500
556
|
"Bad parameter: dest_remote_server_id must be an int"
|
|
501
557
|
)
|
|
502
|
-
if "
|
|
503
|
-
params["
|
|
504
|
-
):
|
|
505
|
-
raise InvalidParameterError(
|
|
506
|
-
"Bad parameter: keep_after_copy must be an bool"
|
|
507
|
-
)
|
|
508
|
-
if "delete_empty_folders" in params and not isinstance(
|
|
509
|
-
params["delete_empty_folders"], bool
|
|
558
|
+
if "dest_site_id" in params and not isinstance(
|
|
559
|
+
params["dest_site_id"], int
|
|
510
560
|
):
|
|
511
561
|
raise InvalidParameterError(
|
|
512
|
-
"Bad parameter:
|
|
562
|
+
"Bad parameter: dest_site_id must be an int"
|
|
513
563
|
)
|
|
514
564
|
if "disabled" in params and not isinstance(params["disabled"], bool):
|
|
515
565
|
raise InvalidParameterError("Bad parameter: disabled must be an bool")
|
|
516
|
-
if "
|
|
517
|
-
|
|
518
|
-
if "trigger" in params and not isinstance(params["trigger"], str):
|
|
519
|
-
raise InvalidParameterError("Bad parameter: trigger must be an str")
|
|
520
|
-
if "trigger_file" in params and not isinstance(
|
|
521
|
-
params["trigger_file"], str
|
|
566
|
+
if "exclude_patterns" in params and not isinstance(
|
|
567
|
+
params["exclude_patterns"], builtins.list
|
|
522
568
|
):
|
|
523
569
|
raise InvalidParameterError(
|
|
524
|
-
"Bad parameter:
|
|
570
|
+
"Bad parameter: exclude_patterns must be an list"
|
|
525
571
|
)
|
|
526
572
|
if "holiday_region" in params and not isinstance(
|
|
527
573
|
params["holiday_region"], str
|
|
@@ -529,23 +575,27 @@ def update(id, params=None, options=None):
|
|
|
529
575
|
raise InvalidParameterError(
|
|
530
576
|
"Bad parameter: holiday_region must be an str"
|
|
531
577
|
)
|
|
532
|
-
if "
|
|
533
|
-
params["
|
|
578
|
+
if "include_patterns" in params and not isinstance(
|
|
579
|
+
params["include_patterns"], builtins.list
|
|
534
580
|
):
|
|
535
581
|
raise InvalidParameterError(
|
|
536
|
-
"Bad parameter:
|
|
582
|
+
"Bad parameter: include_patterns must be an list"
|
|
537
583
|
)
|
|
538
|
-
if "
|
|
539
|
-
|
|
584
|
+
if "interval" in params and not isinstance(params["interval"], str):
|
|
585
|
+
raise InvalidParameterError("Bad parameter: interval must be an str")
|
|
586
|
+
if "keep_after_copy" in params and not isinstance(
|
|
587
|
+
params["keep_after_copy"], bool
|
|
540
588
|
):
|
|
541
589
|
raise InvalidParameterError(
|
|
542
|
-
"Bad parameter:
|
|
590
|
+
"Bad parameter: keep_after_copy must be an bool"
|
|
543
591
|
)
|
|
544
|
-
if "
|
|
545
|
-
|
|
592
|
+
if "name" in params and not isinstance(params["name"], str):
|
|
593
|
+
raise InvalidParameterError("Bad parameter: name must be an str")
|
|
594
|
+
if "recurring_day" in params and not isinstance(
|
|
595
|
+
params["recurring_day"], int
|
|
546
596
|
):
|
|
547
597
|
raise InvalidParameterError(
|
|
548
|
-
"Bad parameter:
|
|
598
|
+
"Bad parameter: recurring_day must be an int"
|
|
549
599
|
)
|
|
550
600
|
if "schedule_days_of_week" in params and not isinstance(
|
|
551
601
|
params["schedule_days_of_week"], builtins.list
|
|
@@ -553,12 +603,44 @@ def update(id, params=None, options=None):
|
|
|
553
603
|
raise InvalidParameterError(
|
|
554
604
|
"Bad parameter: schedule_days_of_week must be an list"
|
|
555
605
|
)
|
|
606
|
+
if "schedule_time_zone" in params and not isinstance(
|
|
607
|
+
params["schedule_time_zone"], str
|
|
608
|
+
):
|
|
609
|
+
raise InvalidParameterError(
|
|
610
|
+
"Bad parameter: schedule_time_zone must be an str"
|
|
611
|
+
)
|
|
556
612
|
if "schedule_times_of_day" in params and not isinstance(
|
|
557
613
|
params["schedule_times_of_day"], builtins.list
|
|
558
614
|
):
|
|
559
615
|
raise InvalidParameterError(
|
|
560
616
|
"Bad parameter: schedule_times_of_day must be an list"
|
|
561
617
|
)
|
|
618
|
+
if "src_path" in params and not isinstance(params["src_path"], str):
|
|
619
|
+
raise InvalidParameterError("Bad parameter: src_path must be an str")
|
|
620
|
+
if "src_remote_server_id" in params and not isinstance(
|
|
621
|
+
params["src_remote_server_id"], int
|
|
622
|
+
):
|
|
623
|
+
raise InvalidParameterError(
|
|
624
|
+
"Bad parameter: src_remote_server_id must be an int"
|
|
625
|
+
)
|
|
626
|
+
if "src_site_id" in params and not isinstance(params["src_site_id"], int):
|
|
627
|
+
raise InvalidParameterError(
|
|
628
|
+
"Bad parameter: src_site_id must be an int"
|
|
629
|
+
)
|
|
630
|
+
if "sync_interval_minutes" in params and not isinstance(
|
|
631
|
+
params["sync_interval_minutes"], int
|
|
632
|
+
):
|
|
633
|
+
raise InvalidParameterError(
|
|
634
|
+
"Bad parameter: sync_interval_minutes must be an int"
|
|
635
|
+
)
|
|
636
|
+
if "trigger" in params and not isinstance(params["trigger"], str):
|
|
637
|
+
raise InvalidParameterError("Bad parameter: trigger must be an str")
|
|
638
|
+
if "trigger_file" in params and not isinstance(
|
|
639
|
+
params["trigger_file"], str
|
|
640
|
+
):
|
|
641
|
+
raise InvalidParameterError(
|
|
642
|
+
"Bad parameter: trigger_file must be an str"
|
|
643
|
+
)
|
|
562
644
|
if "id" not in params:
|
|
563
645
|
raise MissingParameterError("Parameter missing: id")
|
|
564
646
|
response, options = Api.send_request(
|
files_com-1.6.337/_VERSION
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
1.6.337
|
|
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
|