Files.com 1.6.477__tar.gz → 1.6.479__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.477/files_com.egg-info → files_com-1.6.479}/PKG-INFO +1 -1
- files_com-1.6.479/_VERSION +1 -0
- {files_com-1.6.477 → files_com-1.6.479/files_com.egg-info}/PKG-INFO +1 -1
- {files_com-1.6.477 → files_com-1.6.479}/files_com.egg-info/SOURCES.txt +2 -0
- {files_com-1.6.477 → files_com-1.6.479}/files_sdk/__init__.py +3 -1
- {files_com-1.6.477 → files_com-1.6.479}/files_sdk/models/__init__.py +1 -0
- {files_com-1.6.477 → files_com-1.6.479}/files_sdk/models/automation.py +1 -23
- {files_com-1.6.477 → files_com-1.6.479}/files_sdk/models/partner.py +16 -1
- files_com-1.6.479/files_sdk/models/partner_connection.py +45 -0
- {files_com-1.6.477 → files_com-1.6.479}/files_sdk/models/partner_site_request.py +3 -0
- {files_com-1.6.477 → files_com-1.6.479}/pyproject.toml +1 -1
- files_com-1.6.479/tests/test_partner_connection.py +14 -0
- files_com-1.6.477/_VERSION +0 -1
- {files_com-1.6.477 → files_com-1.6.479}/LICENSE +0 -0
- {files_com-1.6.477 → files_com-1.6.479}/README.md +0 -0
- {files_com-1.6.477 → files_com-1.6.479}/files_com.egg-info/dependency_links.txt +0 -0
- {files_com-1.6.477 → files_com-1.6.479}/files_com.egg-info/requires.txt +0 -0
- {files_com-1.6.477 → files_com-1.6.479}/files_com.egg-info/top_level.txt +0 -0
- {files_com-1.6.477 → files_com-1.6.479}/files_sdk/api.py +0 -0
- {files_com-1.6.477 → files_com-1.6.479}/files_sdk/api_client.py +0 -0
- {files_com-1.6.477 → files_com-1.6.479}/files_sdk/error.py +0 -0
- {files_com-1.6.477 → files_com-1.6.479}/files_sdk/list_obj.py +0 -0
- {files_com-1.6.477 → files_com-1.6.479}/files_sdk/models/account_line_item.py +0 -0
- {files_com-1.6.477 → files_com-1.6.479}/files_sdk/models/action.py +0 -0
- {files_com-1.6.477 → files_com-1.6.479}/files_sdk/models/action_log.py +0 -0
- {files_com-1.6.477 → files_com-1.6.479}/files_sdk/models/action_notification_export.py +0 -0
- {files_com-1.6.477 → files_com-1.6.479}/files_sdk/models/action_notification_export_result.py +0 -0
- {files_com-1.6.477 → files_com-1.6.479}/files_sdk/models/agent_node.py +0 -0
- {files_com-1.6.477 → files_com-1.6.479}/files_sdk/models/agent_node_connection.py +0 -0
- {files_com-1.6.477 → files_com-1.6.479}/files_sdk/models/agent_node_instance.py +0 -0
- {files_com-1.6.477 → files_com-1.6.479}/files_sdk/models/agent_push_update.py +0 -0
- {files_com-1.6.477 → files_com-1.6.479}/files_sdk/models/ai_assistant_personality.py +0 -0
- {files_com-1.6.477 → files_com-1.6.479}/files_sdk/models/ai_task.py +0 -0
- {files_com-1.6.477 → files_com-1.6.479}/files_sdk/models/api_key.py +0 -0
- {files_com-1.6.477 → files_com-1.6.479}/files_sdk/models/api_request_log.py +0 -0
- {files_com-1.6.477 → files_com-1.6.479}/files_sdk/models/app.py +0 -0
- {files_com-1.6.477 → files_com-1.6.479}/files_sdk/models/as2_incoming_message.py +0 -0
- {files_com-1.6.477 → files_com-1.6.479}/files_sdk/models/as2_outgoing_message.py +0 -0
- {files_com-1.6.477 → files_com-1.6.479}/files_sdk/models/as2_partner.py +0 -0
- {files_com-1.6.477 → files_com-1.6.479}/files_sdk/models/as2_station.py +0 -0
- {files_com-1.6.477 → files_com-1.6.479}/files_sdk/models/auto.py +0 -0
- {files_com-1.6.477 → files_com-1.6.479}/files_sdk/models/automation_authoring_schema.py +0 -0
- {files_com-1.6.477 → files_com-1.6.479}/files_sdk/models/automation_execution_node.py +0 -0
- {files_com-1.6.477 → files_com-1.6.479}/files_sdk/models/automation_log.py +0 -0
- {files_com-1.6.477 → files_com-1.6.479}/files_sdk/models/automation_run.py +0 -0
- {files_com-1.6.477 → files_com-1.6.479}/files_sdk/models/bandwidth_snapshot.py +0 -0
- {files_com-1.6.477 → files_com-1.6.479}/files_sdk/models/behavior.py +0 -0
- {files_com-1.6.477 → files_com-1.6.479}/files_sdk/models/bundle.py +0 -0
- {files_com-1.6.477 → files_com-1.6.479}/files_sdk/models/bundle_action.py +0 -0
- {files_com-1.6.477 → files_com-1.6.479}/files_sdk/models/bundle_download.py +0 -0
- {files_com-1.6.477 → files_com-1.6.479}/files_sdk/models/bundle_notification.py +0 -0
- {files_com-1.6.477 → files_com-1.6.479}/files_sdk/models/bundle_path.py +0 -0
- {files_com-1.6.477 → files_com-1.6.479}/files_sdk/models/bundle_recipient.py +0 -0
- {files_com-1.6.477 → files_com-1.6.479}/files_sdk/models/bundle_registration.py +0 -0
- {files_com-1.6.477 → files_com-1.6.479}/files_sdk/models/chat_message.py +0 -0
- {files_com-1.6.477 → files_com-1.6.479}/files_sdk/models/chat_session.py +0 -0
- {files_com-1.6.477 → files_com-1.6.479}/files_sdk/models/child_site_management_policy.py +0 -0
- {files_com-1.6.477 → files_com-1.6.479}/files_sdk/models/clickwrap.py +0 -0
- {files_com-1.6.477 → files_com-1.6.479}/files_sdk/models/custom_domain.py +0 -0
- {files_com-1.6.477 → files_com-1.6.479}/files_sdk/models/desktop_configuration_profile.py +0 -0
- {files_com-1.6.477 → files_com-1.6.479}/files_sdk/models/direct_connection_info.py +0 -0
- {files_com-1.6.477 → files_com-1.6.479}/files_sdk/models/dns_record.py +0 -0
- {files_com-1.6.477 → files_com-1.6.479}/files_sdk/models/email_incoming_message.py +0 -0
- {files_com-1.6.477 → files_com-1.6.479}/files_sdk/models/email_log.py +0 -0
- {files_com-1.6.477 → files_com-1.6.479}/files_sdk/models/errors.py +0 -0
- {files_com-1.6.477 → files_com-1.6.479}/files_sdk/models/event_channel.py +0 -0
- {files_com-1.6.477 → files_com-1.6.479}/files_sdk/models/event_delivery_attempt.py +0 -0
- {files_com-1.6.477 → files_com-1.6.479}/files_sdk/models/event_record.py +0 -0
- {files_com-1.6.477 → files_com-1.6.479}/files_sdk/models/event_subscription.py +0 -0
- {files_com-1.6.477 → files_com-1.6.479}/files_sdk/models/event_target.py +0 -0
- {files_com-1.6.477 → files_com-1.6.479}/files_sdk/models/exavault_api_request_log.py +0 -0
- {files_com-1.6.477 → files_com-1.6.479}/files_sdk/models/expectation.py +0 -0
- {files_com-1.6.477 → files_com-1.6.479}/files_sdk/models/expectation_evaluation.py +0 -0
- {files_com-1.6.477 → files_com-1.6.479}/files_sdk/models/expectation_incident.py +0 -0
- {files_com-1.6.477 → files_com-1.6.479}/files_sdk/models/external_event.py +0 -0
- {files_com-1.6.477 → files_com-1.6.479}/files_sdk/models/file.py +0 -0
- {files_com-1.6.477 → files_com-1.6.479}/files_sdk/models/file_action.py +0 -0
- {files_com-1.6.477 → files_com-1.6.479}/files_sdk/models/file_comment.py +0 -0
- {files_com-1.6.477 → files_com-1.6.479}/files_sdk/models/file_comment_reaction.py +0 -0
- {files_com-1.6.477 → files_com-1.6.479}/files_sdk/models/file_migration.py +0 -0
- {files_com-1.6.477 → files_com-1.6.479}/files_sdk/models/file_migration_log.py +0 -0
- {files_com-1.6.477 → files_com-1.6.479}/files_sdk/models/file_upload_part.py +0 -0
- {files_com-1.6.477 → files_com-1.6.479}/files_sdk/models/folder.py +0 -0
- {files_com-1.6.477 → files_com-1.6.479}/files_sdk/models/form_field.py +0 -0
- {files_com-1.6.477 → files_com-1.6.479}/files_sdk/models/form_field_set.py +0 -0
- {files_com-1.6.477 → files_com-1.6.479}/files_sdk/models/ftp_action_log.py +0 -0
- {files_com-1.6.477 → files_com-1.6.479}/files_sdk/models/gpg_key.py +0 -0
- {files_com-1.6.477 → files_com-1.6.479}/files_sdk/models/group.py +0 -0
- {files_com-1.6.477 → files_com-1.6.479}/files_sdk/models/group_user.py +0 -0
- {files_com-1.6.477 → files_com-1.6.479}/files_sdk/models/history.py +0 -0
- {files_com-1.6.477 → files_com-1.6.479}/files_sdk/models/history_export.py +0 -0
- {files_com-1.6.477 → files_com-1.6.479}/files_sdk/models/history_export_result.py +0 -0
- {files_com-1.6.477 → files_com-1.6.479}/files_sdk/models/holiday_calendar.py +0 -0
- {files_com-1.6.477 → files_com-1.6.479}/files_sdk/models/holiday_region.py +0 -0
- {files_com-1.6.477 → files_com-1.6.479}/files_sdk/models/image.py +0 -0
- {files_com-1.6.477 → files_com-1.6.479}/files_sdk/models/inbound_s3_log.py +0 -0
- {files_com-1.6.477 → files_com-1.6.479}/files_sdk/models/inbox_recipient.py +0 -0
- {files_com-1.6.477 → files_com-1.6.479}/files_sdk/models/inbox_registration.py +0 -0
- {files_com-1.6.477 → files_com-1.6.479}/files_sdk/models/inbox_upload.py +0 -0
- {files_com-1.6.477 → files_com-1.6.479}/files_sdk/models/integration_centric_profile.py +0 -0
- {files_com-1.6.477 → files_com-1.6.479}/files_sdk/models/invoice.py +0 -0
- {files_com-1.6.477 → files_com-1.6.479}/files_sdk/models/invoice_line_item.py +0 -0
- {files_com-1.6.477 → files_com-1.6.479}/files_sdk/models/ip_address.py +0 -0
- {files_com-1.6.477 → files_com-1.6.479}/files_sdk/models/key_lifecycle_rule.py +0 -0
- {files_com-1.6.477 → files_com-1.6.479}/files_sdk/models/lock.py +0 -0
- {files_com-1.6.477 → files_com-1.6.479}/files_sdk/models/metadata_category.py +0 -0
- {files_com-1.6.477 → files_com-1.6.479}/files_sdk/models/notification.py +0 -0
- {files_com-1.6.477 → files_com-1.6.479}/files_sdk/models/outbound_connection_log.py +0 -0
- {files_com-1.6.477 → files_com-1.6.479}/files_sdk/models/partner_channel.py +0 -0
- {files_com-1.6.477 → files_com-1.6.479}/files_sdk/models/partner_channel_template.py +0 -0
- {files_com-1.6.477 → files_com-1.6.479}/files_sdk/models/partner_site.py +0 -0
- {files_com-1.6.477 → files_com-1.6.479}/files_sdk/models/payment.py +0 -0
- {files_com-1.6.477 → files_com-1.6.479}/files_sdk/models/payment_line_item.py +0 -0
- {files_com-1.6.477 → files_com-1.6.479}/files_sdk/models/pending_work_event.py +0 -0
- {files_com-1.6.477 → files_com-1.6.479}/files_sdk/models/permission.py +0 -0
- {files_com-1.6.477 → files_com-1.6.479}/files_sdk/models/preview.py +0 -0
- {files_com-1.6.477 → files_com-1.6.479}/files_sdk/models/public_hosting_request_log.py +0 -0
- {files_com-1.6.477 → files_com-1.6.479}/files_sdk/models/public_ip_address.py +0 -0
- {files_com-1.6.477 → files_com-1.6.479}/files_sdk/models/public_key.py +0 -0
- {files_com-1.6.477 → files_com-1.6.479}/files_sdk/models/remote_bandwidth_snapshot.py +0 -0
- {files_com-1.6.477 → files_com-1.6.479}/files_sdk/models/remote_mount_backend.py +0 -0
- {files_com-1.6.477 → files_com-1.6.479}/files_sdk/models/remote_server.py +0 -0
- {files_com-1.6.477 → files_com-1.6.479}/files_sdk/models/remote_server_configuration_file.py +0 -0
- {files_com-1.6.477 → files_com-1.6.479}/files_sdk/models/remote_server_credential.py +0 -0
- {files_com-1.6.477 → files_com-1.6.479}/files_sdk/models/request.py +0 -0
- {files_com-1.6.477 → files_com-1.6.479}/files_sdk/models/restore.py +0 -0
- {files_com-1.6.477 → files_com-1.6.479}/files_sdk/models/schedule.py +0 -0
- {files_com-1.6.477 → files_com-1.6.479}/files_sdk/models/scheduled_export.py +0 -0
- {files_com-1.6.477 → files_com-1.6.479}/files_sdk/models/scim_log.py +0 -0
- {files_com-1.6.477 → files_com-1.6.479}/files_sdk/models/secret.py +0 -0
- {files_com-1.6.477 → files_com-1.6.479}/files_sdk/models/session.py +0 -0
- {files_com-1.6.477 → files_com-1.6.479}/files_sdk/models/settings_change.py +0 -0
- {files_com-1.6.477 → files_com-1.6.479}/files_sdk/models/sftp_action_log.py +0 -0
- {files_com-1.6.477 → files_com-1.6.479}/files_sdk/models/sftp_host_key.py +0 -0
- {files_com-1.6.477 → files_com-1.6.479}/files_sdk/models/share_group.py +0 -0
- {files_com-1.6.477 → files_com-1.6.479}/files_sdk/models/share_group_member.py +0 -0
- {files_com-1.6.477 → files_com-1.6.479}/files_sdk/models/siem_http_destination.py +0 -0
- {files_com-1.6.477 → files_com-1.6.479}/files_sdk/models/siem_http_destination_event.py +0 -0
- {files_com-1.6.477 → files_com-1.6.479}/files_sdk/models/site.py +0 -0
- {files_com-1.6.477 → files_com-1.6.479}/files_sdk/models/site_subdomain_redirect.py +0 -0
- {files_com-1.6.477 → files_com-1.6.479}/files_sdk/models/snapshot.py +0 -0
- {files_com-1.6.477 → files_com-1.6.479}/files_sdk/models/sso_event.py +0 -0
- {files_com-1.6.477 → files_com-1.6.479}/files_sdk/models/sso_strategy.py +0 -0
- {files_com-1.6.477 → files_com-1.6.479}/files_sdk/models/status.py +0 -0
- {files_com-1.6.477 → files_com-1.6.479}/files_sdk/models/style.py +0 -0
- {files_com-1.6.477 → files_com-1.6.479}/files_sdk/models/sync.py +0 -0
- {files_com-1.6.477 → files_com-1.6.479}/files_sdk/models/sync_log.py +0 -0
- {files_com-1.6.477 → files_com-1.6.479}/files_sdk/models/sync_run.py +0 -0
- {files_com-1.6.477 → files_com-1.6.479}/files_sdk/models/sync_run_live_transfer.py +0 -0
- {files_com-1.6.477 → files_com-1.6.479}/files_sdk/models/usage_by_top_level_dir.py +0 -0
- {files_com-1.6.477 → files_com-1.6.479}/files_sdk/models/usage_daily_snapshot.py +0 -0
- {files_com-1.6.477 → files_com-1.6.479}/files_sdk/models/usage_snapshot.py +0 -0
- {files_com-1.6.477 → files_com-1.6.479}/files_sdk/models/user.py +0 -0
- {files_com-1.6.477 → files_com-1.6.479}/files_sdk/models/user_additional_email_recipient.py +0 -0
- {files_com-1.6.477 → files_com-1.6.479}/files_sdk/models/user_cipher_use.py +0 -0
- {files_com-1.6.477 → files_com-1.6.479}/files_sdk/models/user_lifecycle_rule.py +0 -0
- {files_com-1.6.477 → files_com-1.6.479}/files_sdk/models/user_request.py +0 -0
- {files_com-1.6.477 → files_com-1.6.479}/files_sdk/models/user_security_event.py +0 -0
- {files_com-1.6.477 → files_com-1.6.479}/files_sdk/models/user_sftp_client_use.py +0 -0
- {files_com-1.6.477 → files_com-1.6.479}/files_sdk/models/web_dav_action_log.py +0 -0
- {files_com-1.6.477 → files_com-1.6.479}/files_sdk/models/webhook_test.py +0 -0
- {files_com-1.6.477 → files_com-1.6.479}/files_sdk/models/workspace.py +0 -0
- {files_com-1.6.477 → files_com-1.6.479}/files_sdk/models/zip_list_entry.py +0 -0
- {files_com-1.6.477 → files_com-1.6.479}/files_sdk/path_util.py +0 -0
- {files_com-1.6.477 → files_com-1.6.479}/files_sdk/util.py +0 -0
- {files_com-1.6.477 → files_com-1.6.479}/setup.cfg +0 -0
- {files_com-1.6.477 → files_com-1.6.479}/tests/test_account_line_item.py +0 -0
- {files_com-1.6.477 → files_com-1.6.479}/tests/test_action.py +0 -0
- {files_com-1.6.477 → files_com-1.6.479}/tests/test_action_log.py +0 -0
- {files_com-1.6.477 → files_com-1.6.479}/tests/test_action_notification_export.py +0 -0
- {files_com-1.6.477 → files_com-1.6.479}/tests/test_action_notification_export_result.py +0 -0
- {files_com-1.6.477 → files_com-1.6.479}/tests/test_agent_node.py +0 -0
- {files_com-1.6.477 → files_com-1.6.479}/tests/test_agent_node_connection.py +0 -0
- {files_com-1.6.477 → files_com-1.6.479}/tests/test_agent_node_instance.py +0 -0
- {files_com-1.6.477 → files_com-1.6.479}/tests/test_agent_push_update.py +0 -0
- {files_com-1.6.477 → files_com-1.6.479}/tests/test_ai_assistant_personality.py +0 -0
- {files_com-1.6.477 → files_com-1.6.479}/tests/test_ai_task.py +0 -0
- {files_com-1.6.477 → files_com-1.6.479}/tests/test_api_errors.py +0 -0
- {files_com-1.6.477 → files_com-1.6.479}/tests/test_api_key.py +0 -0
- {files_com-1.6.477 → files_com-1.6.479}/tests/test_api_request_log.py +0 -0
- {files_com-1.6.477 → files_com-1.6.479}/tests/test_app.py +0 -0
- {files_com-1.6.477 → files_com-1.6.479}/tests/test_as2_incoming_message.py +0 -0
- {files_com-1.6.477 → files_com-1.6.479}/tests/test_as2_outgoing_message.py +0 -0
- {files_com-1.6.477 → files_com-1.6.479}/tests/test_as2_partner.py +0 -0
- {files_com-1.6.477 → files_com-1.6.479}/tests/test_as2_station.py +0 -0
- {files_com-1.6.477 → files_com-1.6.479}/tests/test_auto.py +0 -0
- {files_com-1.6.477 → files_com-1.6.479}/tests/test_automation.py +0 -0
- {files_com-1.6.477 → files_com-1.6.479}/tests/test_automation_authoring_schema.py +0 -0
- {files_com-1.6.477 → files_com-1.6.479}/tests/test_automation_execution_node.py +0 -0
- {files_com-1.6.477 → files_com-1.6.479}/tests/test_automation_log.py +0 -0
- {files_com-1.6.477 → files_com-1.6.479}/tests/test_automation_run.py +0 -0
- {files_com-1.6.477 → files_com-1.6.479}/tests/test_bandwidth_snapshot.py +0 -0
- {files_com-1.6.477 → files_com-1.6.479}/tests/test_behavior.py +0 -0
- {files_com-1.6.477 → files_com-1.6.479}/tests/test_bundle.py +0 -0
- {files_com-1.6.477 → files_com-1.6.479}/tests/test_bundle_action.py +0 -0
- {files_com-1.6.477 → files_com-1.6.479}/tests/test_bundle_download.py +0 -0
- {files_com-1.6.477 → files_com-1.6.479}/tests/test_bundle_notification.py +0 -0
- {files_com-1.6.477 → files_com-1.6.479}/tests/test_bundle_path.py +0 -0
- {files_com-1.6.477 → files_com-1.6.479}/tests/test_bundle_recipient.py +0 -0
- {files_com-1.6.477 → files_com-1.6.479}/tests/test_bundle_registration.py +0 -0
- {files_com-1.6.477 → files_com-1.6.479}/tests/test_chat_message.py +0 -0
- {files_com-1.6.477 → files_com-1.6.479}/tests/test_chat_session.py +0 -0
- {files_com-1.6.477 → files_com-1.6.479}/tests/test_child_site_management_policy.py +0 -0
- {files_com-1.6.477 → files_com-1.6.479}/tests/test_clickwrap.py +0 -0
- {files_com-1.6.477 → files_com-1.6.479}/tests/test_connection_adapter.py +0 -0
- {files_com-1.6.477 → files_com-1.6.479}/tests/test_custom_domain.py +0 -0
- {files_com-1.6.477 → files_com-1.6.479}/tests/test_decimal_contract.py +0 -0
- {files_com-1.6.477 → files_com-1.6.479}/tests/test_desktop_configuration_profile.py +0 -0
- {files_com-1.6.477 → files_com-1.6.479}/tests/test_direct_connection_info.py +0 -0
- {files_com-1.6.477 → files_com-1.6.479}/tests/test_dns_record.py +0 -0
- {files_com-1.6.477 → files_com-1.6.479}/tests/test_email_incoming_message.py +0 -0
- {files_com-1.6.477 → files_com-1.6.479}/tests/test_email_log.py +0 -0
- {files_com-1.6.477 → files_com-1.6.479}/tests/test_errors.py +0 -0
- {files_com-1.6.477 → files_com-1.6.479}/tests/test_event_channel.py +0 -0
- {files_com-1.6.477 → files_com-1.6.479}/tests/test_event_delivery_attempt.py +0 -0
- {files_com-1.6.477 → files_com-1.6.479}/tests/test_event_record.py +0 -0
- {files_com-1.6.477 → files_com-1.6.479}/tests/test_event_subscription.py +0 -0
- {files_com-1.6.477 → files_com-1.6.479}/tests/test_event_target.py +0 -0
- {files_com-1.6.477 → files_com-1.6.479}/tests/test_exavault_api_request_log.py +0 -0
- {files_com-1.6.477 → files_com-1.6.479}/tests/test_expectation.py +0 -0
- {files_com-1.6.477 → files_com-1.6.479}/tests/test_expectation_evaluation.py +0 -0
- {files_com-1.6.477 → files_com-1.6.479}/tests/test_expectation_incident.py +0 -0
- {files_com-1.6.477 → files_com-1.6.479}/tests/test_external_event.py +0 -0
- {files_com-1.6.477 → files_com-1.6.479}/tests/test_file.py +0 -0
- {files_com-1.6.477 → files_com-1.6.479}/tests/test_file_action.py +0 -0
- {files_com-1.6.477 → files_com-1.6.479}/tests/test_file_comment.py +0 -0
- {files_com-1.6.477 → files_com-1.6.479}/tests/test_file_comment_reaction.py +0 -0
- {files_com-1.6.477 → files_com-1.6.479}/tests/test_file_migration.py +0 -0
- {files_com-1.6.477 → files_com-1.6.479}/tests/test_file_migration_log.py +0 -0
- {files_com-1.6.477 → files_com-1.6.479}/tests/test_file_underscore_destinations.py +0 -0
- {files_com-1.6.477 → files_com-1.6.479}/tests/test_file_upload_part.py +0 -0
- {files_com-1.6.477 → files_com-1.6.479}/tests/test_folder.py +0 -0
- {files_com-1.6.477 → files_com-1.6.479}/tests/test_form_field.py +0 -0
- {files_com-1.6.477 → files_com-1.6.479}/tests/test_form_field_set.py +0 -0
- {files_com-1.6.477 → files_com-1.6.479}/tests/test_ftp_action_log.py +0 -0
- {files_com-1.6.477 → files_com-1.6.479}/tests/test_gpg_key.py +0 -0
- {files_com-1.6.477 → files_com-1.6.479}/tests/test_group.py +0 -0
- {files_com-1.6.477 → files_com-1.6.479}/tests/test_group_user.py +0 -0
- {files_com-1.6.477 → files_com-1.6.479}/tests/test_history.py +0 -0
- {files_com-1.6.477 → files_com-1.6.479}/tests/test_history_export.py +0 -0
- {files_com-1.6.477 → files_com-1.6.479}/tests/test_history_export_result.py +0 -0
- {files_com-1.6.477 → files_com-1.6.479}/tests/test_holiday_calendar.py +0 -0
- {files_com-1.6.477 → files_com-1.6.479}/tests/test_holiday_region.py +0 -0
- {files_com-1.6.477 → files_com-1.6.479}/tests/test_image.py +0 -0
- {files_com-1.6.477 → files_com-1.6.479}/tests/test_inbound_s3_log.py +0 -0
- {files_com-1.6.477 → files_com-1.6.479}/tests/test_inbox_recipient.py +0 -0
- {files_com-1.6.477 → files_com-1.6.479}/tests/test_inbox_registration.py +0 -0
- {files_com-1.6.477 → files_com-1.6.479}/tests/test_inbox_upload.py +0 -0
- {files_com-1.6.477 → files_com-1.6.479}/tests/test_integration_centric_profile.py +0 -0
- {files_com-1.6.477 → files_com-1.6.479}/tests/test_invoice.py +0 -0
- {files_com-1.6.477 → files_com-1.6.479}/tests/test_invoice_line_item.py +0 -0
- {files_com-1.6.477 → files_com-1.6.479}/tests/test_ip_address.py +0 -0
- {files_com-1.6.477 → files_com-1.6.479}/tests/test_key_lifecycle_rule.py +0 -0
- {files_com-1.6.477 → files_com-1.6.479}/tests/test_lock.py +0 -0
- {files_com-1.6.477 → files_com-1.6.479}/tests/test_metadata_category.py +0 -0
- {files_com-1.6.477 → files_com-1.6.479}/tests/test_notification.py +0 -0
- {files_com-1.6.477 → files_com-1.6.479}/tests/test_outbound_connection_log.py +0 -0
- {files_com-1.6.477 → files_com-1.6.479}/tests/test_partner.py +0 -0
- {files_com-1.6.477 → files_com-1.6.479}/tests/test_partner_channel.py +0 -0
- {files_com-1.6.477 → files_com-1.6.479}/tests/test_partner_channel_template.py +0 -0
- {files_com-1.6.477 → files_com-1.6.479}/tests/test_partner_site.py +0 -0
- {files_com-1.6.477 → files_com-1.6.479}/tests/test_partner_site_request.py +0 -0
- {files_com-1.6.477 → files_com-1.6.479}/tests/test_path_parameter_encoding.py +0 -0
- {files_com-1.6.477 → files_com-1.6.479}/tests/test_path_util.py +0 -0
- {files_com-1.6.477 → files_com-1.6.479}/tests/test_payment.py +0 -0
- {files_com-1.6.477 → files_com-1.6.479}/tests/test_payment_line_item.py +0 -0
- {files_com-1.6.477 → files_com-1.6.479}/tests/test_pending_work_event.py +0 -0
- {files_com-1.6.477 → files_com-1.6.479}/tests/test_permission.py +0 -0
- {files_com-1.6.477 → files_com-1.6.479}/tests/test_preview.py +0 -0
- {files_com-1.6.477 → files_com-1.6.479}/tests/test_public_hosting_request_log.py +0 -0
- {files_com-1.6.477 → files_com-1.6.479}/tests/test_public_ip_address.py +0 -0
- {files_com-1.6.477 → files_com-1.6.479}/tests/test_public_key.py +0 -0
- {files_com-1.6.477 → files_com-1.6.479}/tests/test_remote_bandwidth_snapshot.py +0 -0
- {files_com-1.6.477 → files_com-1.6.479}/tests/test_remote_mount_backend.py +0 -0
- {files_com-1.6.477 → files_com-1.6.479}/tests/test_remote_server.py +0 -0
- {files_com-1.6.477 → files_com-1.6.479}/tests/test_remote_server_configuration_file.py +0 -0
- {files_com-1.6.477 → files_com-1.6.479}/tests/test_remote_server_credential.py +0 -0
- {files_com-1.6.477 → files_com-1.6.479}/tests/test_request.py +0 -0
- {files_com-1.6.477 → files_com-1.6.479}/tests/test_restore.py +0 -0
- {files_com-1.6.477 → files_com-1.6.479}/tests/test_schedule.py +0 -0
- {files_com-1.6.477 → files_com-1.6.479}/tests/test_scheduled_export.py +0 -0
- {files_com-1.6.477 → files_com-1.6.479}/tests/test_scim_log.py +0 -0
- {files_com-1.6.477 → files_com-1.6.479}/tests/test_secret.py +0 -0
- {files_com-1.6.477 → files_com-1.6.479}/tests/test_session.py +0 -0
- {files_com-1.6.477 → files_com-1.6.479}/tests/test_settings_change.py +0 -0
- {files_com-1.6.477 → files_com-1.6.479}/tests/test_sftp_action_log.py +0 -0
- {files_com-1.6.477 → files_com-1.6.479}/tests/test_sftp_host_key.py +0 -0
- {files_com-1.6.477 → files_com-1.6.479}/tests/test_share_group.py +0 -0
- {files_com-1.6.477 → files_com-1.6.479}/tests/test_share_group_member.py +0 -0
- {files_com-1.6.477 → files_com-1.6.479}/tests/test_siem_http_destination.py +0 -0
- {files_com-1.6.477 → files_com-1.6.479}/tests/test_siem_http_destination_event.py +0 -0
- {files_com-1.6.477 → files_com-1.6.479}/tests/test_site.py +0 -0
- {files_com-1.6.477 → files_com-1.6.479}/tests/test_site_subdomain_redirect.py +0 -0
- {files_com-1.6.477 → files_com-1.6.479}/tests/test_snapshot.py +0 -0
- {files_com-1.6.477 → files_com-1.6.479}/tests/test_sso_event.py +0 -0
- {files_com-1.6.477 → files_com-1.6.479}/tests/test_sso_strategy.py +0 -0
- {files_com-1.6.477 → files_com-1.6.479}/tests/test_status.py +0 -0
- {files_com-1.6.477 → files_com-1.6.479}/tests/test_stream_download.py +0 -0
- {files_com-1.6.477 → files_com-1.6.479}/tests/test_style.py +0 -0
- {files_com-1.6.477 → files_com-1.6.479}/tests/test_sync.py +0 -0
- {files_com-1.6.477 → files_com-1.6.479}/tests/test_sync_log.py +0 -0
- {files_com-1.6.477 → files_com-1.6.479}/tests/test_sync_run.py +0 -0
- {files_com-1.6.477 → files_com-1.6.479}/tests/test_sync_run_live_transfer.py +0 -0
- {files_com-1.6.477 → files_com-1.6.479}/tests/test_usage_by_top_level_dir.py +0 -0
- {files_com-1.6.477 → files_com-1.6.479}/tests/test_usage_daily_snapshot.py +0 -0
- {files_com-1.6.477 → files_com-1.6.479}/tests/test_usage_snapshot.py +0 -0
- {files_com-1.6.477 → files_com-1.6.479}/tests/test_user.py +0 -0
- {files_com-1.6.477 → files_com-1.6.479}/tests/test_user_additional_email_recipient.py +0 -0
- {files_com-1.6.477 → files_com-1.6.479}/tests/test_user_cipher_use.py +0 -0
- {files_com-1.6.477 → files_com-1.6.479}/tests/test_user_lifecycle_rule.py +0 -0
- {files_com-1.6.477 → files_com-1.6.479}/tests/test_user_request.py +0 -0
- {files_com-1.6.477 → files_com-1.6.479}/tests/test_user_security_event.py +0 -0
- {files_com-1.6.477 → files_com-1.6.479}/tests/test_user_sftp_client_use.py +0 -0
- {files_com-1.6.477 → files_com-1.6.479}/tests/test_web_dav_action_log.py +0 -0
- {files_com-1.6.477 → files_com-1.6.479}/tests/test_webhook_test.py +0 -0
- {files_com-1.6.477 → files_com-1.6.479}/tests/test_workspace.py +0 -0
- {files_com-1.6.477 → files_com-1.6.479}/tests/test_workspace_id.py +0 -0
- {files_com-1.6.477 → files_com-1.6.479}/tests/test_zip_list_entry.py +0 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
1.6.479
|
|
@@ -106,6 +106,7 @@ files_sdk/models/outbound_connection_log.py
|
|
|
106
106
|
files_sdk/models/partner.py
|
|
107
107
|
files_sdk/models/partner_channel.py
|
|
108
108
|
files_sdk/models/partner_channel_template.py
|
|
109
|
+
files_sdk/models/partner_connection.py
|
|
109
110
|
files_sdk/models/partner_site.py
|
|
110
111
|
files_sdk/models/partner_site_request.py
|
|
111
112
|
files_sdk/models/payment.py
|
|
@@ -254,6 +255,7 @@ tests/test_outbound_connection_log.py
|
|
|
254
255
|
tests/test_partner.py
|
|
255
256
|
tests/test_partner_channel.py
|
|
256
257
|
tests/test_partner_channel_template.py
|
|
258
|
+
tests/test_partner_connection.py
|
|
257
259
|
tests/test_partner_site.py
|
|
258
260
|
tests/test_partner_site_request.py
|
|
259
261
|
tests/test_path_parameter_encoding.py
|
|
@@ -89,6 +89,7 @@ import files_sdk.models.outbound_connection_log as outbound_connection_log
|
|
|
89
89
|
import files_sdk.models.partner as partner
|
|
90
90
|
import files_sdk.models.partner_channel as partner_channel
|
|
91
91
|
import files_sdk.models.partner_channel_template as partner_channel_template
|
|
92
|
+
import files_sdk.models.partner_connection as partner_connection
|
|
92
93
|
import files_sdk.models.partner_site as partner_site
|
|
93
94
|
import files_sdk.models.partner_site_request as partner_site_request
|
|
94
95
|
import files_sdk.models.payment as payment
|
|
@@ -246,6 +247,7 @@ from files_sdk.models.outbound_connection_log import OutboundConnectionLog
|
|
|
246
247
|
from files_sdk.models.partner import Partner
|
|
247
248
|
from files_sdk.models.partner_channel import PartnerChannel
|
|
248
249
|
from files_sdk.models.partner_channel_template import PartnerChannelTemplate
|
|
250
|
+
from files_sdk.models.partner_connection import PartnerConnection
|
|
249
251
|
from files_sdk.models.partner_site import PartnerSite
|
|
250
252
|
from files_sdk.models.partner_site_request import PartnerSiteRequest
|
|
251
253
|
from files_sdk.models.payment import Payment
|
|
@@ -318,7 +320,7 @@ source_ip = None
|
|
|
318
320
|
workspace_id = None
|
|
319
321
|
base_url = "https://app.files.com"
|
|
320
322
|
base_path = "api/rest/v1"
|
|
321
|
-
version = "1.6.
|
|
323
|
+
version = "1.6.479"
|
|
322
324
|
|
|
323
325
|
__version__ = version
|
|
324
326
|
|
|
@@ -100,6 +100,7 @@ from files_sdk.models.outbound_connection_log import OutboundConnectionLog
|
|
|
100
100
|
from files_sdk.models.partner import Partner
|
|
101
101
|
from files_sdk.models.partner_channel import PartnerChannel
|
|
102
102
|
from files_sdk.models.partner_channel_template import PartnerChannelTemplate
|
|
103
|
+
from files_sdk.models.partner_connection import PartnerConnection
|
|
103
104
|
from files_sdk.models.partner_site import PartnerSite
|
|
104
105
|
from files_sdk.models.partner_site_request import PartnerSiteRequest
|
|
105
106
|
from files_sdk.models.payment import Payment
|
|
@@ -51,8 +51,7 @@ class Automation:
|
|
|
51
51
|
"schedule_times_of_day": None, # array(string) - Times of day to run in HH:MM format (24-hour). For `custom_schedule`, run at these times on specified days of week. For `daily`, run at these times on the scheduled interval date.
|
|
52
52
|
"schedule_time_zone": None, # string - Time zone for the schedule. If not set, times are interpreted as UTC.
|
|
53
53
|
"source": None, # string - Source path/glob. See Automation docs for exact description, but this is used to filter for files in the `path` to find files to operate on. Supports globs, except on remote mounts.
|
|
54
|
-
"
|
|
55
|
-
"sync_ids": None, # array(int64) - IDs of syncs to run by this Automation. This is the new way to specify syncs, and it is recommended to use this instead of `legacy_sync_ids`.
|
|
54
|
+
"sync_ids": None, # array(int64) - IDs of Syncs to run by this Automation.
|
|
56
55
|
"trigger_actions": None, # array(string) - If trigger is `action`, this is the list of action types on which to trigger the automation. Valid actions are create, copy, move, archived_delete, update, read, destroy
|
|
57
56
|
"trigger": None, # string - How this automation is triggered to run.
|
|
58
57
|
"user_id": None, # int64 - User ID of the Automation's creator.
|
|
@@ -142,7 +141,6 @@ class Automation:
|
|
|
142
141
|
# destination_replace_to - string - If set, this string will replace the value `destination_replace_from` in the destination filename. You can use special patterns here.
|
|
143
142
|
# interval - string - How often to run this automation? One of: `day`, `week`, `week_end`, `month`, `month_end`, `quarter`, `quarter_end`, `year`, `year_end`
|
|
144
143
|
# path - string - Path on which this Automation runs. Supports globs, except on remote mounts.
|
|
145
|
-
# legacy_sync_ids - string - A list of legacy sync IDs the automation is associated with. If sent as a string, it should be comma-delimited.
|
|
146
144
|
# sync_ids - string - A list of sync IDs the automation is associated with. If sent as a string, it should be comma-delimited.
|
|
147
145
|
# user_ids - string - A list of user IDs the automation is associated with. If sent as a string, it should be comma-delimited.
|
|
148
146
|
# group_ids - string - A list of group IDs the automation is associated with. If sent as a string, it should be comma-delimited.
|
|
@@ -210,12 +208,6 @@ class Automation:
|
|
|
210
208
|
)
|
|
211
209
|
if "path" in params and not isinstance(params["path"], str):
|
|
212
210
|
raise InvalidParameterError("Bad parameter: path must be an str")
|
|
213
|
-
if "legacy_sync_ids" in params and not isinstance(
|
|
214
|
-
params["legacy_sync_ids"], str
|
|
215
|
-
):
|
|
216
|
-
raise InvalidParameterError(
|
|
217
|
-
"Bad parameter: legacy_sync_ids must be an str"
|
|
218
|
-
)
|
|
219
211
|
if "sync_ids" in params and not isinstance(params["sync_ids"], str):
|
|
220
212
|
raise InvalidParameterError(
|
|
221
213
|
"Bad parameter: sync_ids must be an str"
|
|
@@ -452,7 +444,6 @@ def get_authoring_schema(params=None, options=None):
|
|
|
452
444
|
# destination_replace_to - string - If set, this string will replace the value `destination_replace_from` in the destination filename. You can use special patterns here.
|
|
453
445
|
# interval - string - How often to run this automation? One of: `day`, `week`, `week_end`, `month`, `month_end`, `quarter`, `quarter_end`, `year`, `year_end`
|
|
454
446
|
# path - string - Path on which this Automation runs. Supports globs, except on remote mounts.
|
|
455
|
-
# legacy_sync_ids - string - A list of legacy sync IDs the automation is associated with. If sent as a string, it should be comma-delimited.
|
|
456
447
|
# sync_ids - string - A list of sync IDs the automation is associated with. If sent as a string, it should be comma-delimited.
|
|
457
448
|
# user_ids - string - A list of user IDs the automation is associated with. If sent as a string, it should be comma-delimited.
|
|
458
449
|
# group_ids - string - A list of group IDs the automation is associated with. If sent as a string, it should be comma-delimited.
|
|
@@ -512,12 +503,6 @@ def create(params=None, options=None):
|
|
|
512
503
|
raise InvalidParameterError("Bad parameter: interval must be an str")
|
|
513
504
|
if "path" in params and not isinstance(params["path"], str):
|
|
514
505
|
raise InvalidParameterError("Bad parameter: path must be an str")
|
|
515
|
-
if "legacy_sync_ids" in params and not isinstance(
|
|
516
|
-
params["legacy_sync_ids"], str
|
|
517
|
-
):
|
|
518
|
-
raise InvalidParameterError(
|
|
519
|
-
"Bad parameter: legacy_sync_ids must be an str"
|
|
520
|
-
)
|
|
521
506
|
if "sync_ids" in params and not isinstance(params["sync_ids"], str):
|
|
522
507
|
raise InvalidParameterError("Bad parameter: sync_ids must be an str")
|
|
523
508
|
if "user_ids" in params and not isinstance(params["user_ids"], str):
|
|
@@ -723,7 +708,6 @@ def manual_run(id, params=None, options=None):
|
|
|
723
708
|
# destination_replace_to - string - If set, this string will replace the value `destination_replace_from` in the destination filename. You can use special patterns here.
|
|
724
709
|
# interval - string - How often to run this automation? One of: `day`, `week`, `week_end`, `month`, `month_end`, `quarter`, `quarter_end`, `year`, `year_end`
|
|
725
710
|
# path - string - Path on which this Automation runs. Supports globs, except on remote mounts.
|
|
726
|
-
# legacy_sync_ids - string - A list of legacy sync IDs the automation is associated with. If sent as a string, it should be comma-delimited.
|
|
727
711
|
# sync_ids - string - A list of sync IDs the automation is associated with. If sent as a string, it should be comma-delimited.
|
|
728
712
|
# user_ids - string - A list of user IDs the automation is associated with. If sent as a string, it should be comma-delimited.
|
|
729
713
|
# group_ids - string - A list of group IDs the automation is associated with. If sent as a string, it should be comma-delimited.
|
|
@@ -785,12 +769,6 @@ def update(id, params=None, options=None):
|
|
|
785
769
|
raise InvalidParameterError("Bad parameter: interval must be an str")
|
|
786
770
|
if "path" in params and not isinstance(params["path"], str):
|
|
787
771
|
raise InvalidParameterError("Bad parameter: path must be an str")
|
|
788
|
-
if "legacy_sync_ids" in params and not isinstance(
|
|
789
|
-
params["legacy_sync_ids"], str
|
|
790
|
-
):
|
|
791
|
-
raise InvalidParameterError(
|
|
792
|
-
"Bad parameter: legacy_sync_ids must be an str"
|
|
793
|
-
)
|
|
794
772
|
if "sync_ids" in params and not isinstance(params["sync_ids"], str):
|
|
795
773
|
raise InvalidParameterError("Bad parameter: sync_ids must be an str")
|
|
796
774
|
if "user_ids" in params and not isinstance(params["user_ids"], str):
|
|
@@ -17,6 +17,7 @@ class Partner:
|
|
|
17
17
|
"allow_providing_gpg_keys": None, # boolean - Allow Partner Admins to provide GPG keys.
|
|
18
18
|
"allow_user_creation": None, # boolean - Allow Partner Admins to create users.
|
|
19
19
|
"cc_emails_to_responsible_party": None, # boolean - When `true`, emails sent to Partner users are copied to the responsible User or Group.
|
|
20
|
+
"connections": None, # array(object) - Approved Connected Sites relationships for this Partner, in both directions. Empty when this Partner has no connections. Read-only.
|
|
20
21
|
"id": None, # int64 - The unique ID of the Partner.
|
|
21
22
|
"ai_assistant_personality_id": None, # int64 - AI Assistant Personality ID assigned to this Partner, if any. Users in the Partner inherit it unless a direct per-user assignment overrides it.
|
|
22
23
|
"workspace_id": None, # int64 - ID of the Workspace associated with this Partner.
|
|
@@ -24,7 +25,7 @@ class Partner:
|
|
|
24
25
|
"notes": None, # string - Notes about this Partner.
|
|
25
26
|
"partner_admin_ids": None, # array(int64) - Array of User IDs that are Partner Admins for this Partner.
|
|
26
27
|
"partner_channel_template_id": None, # int64 - ID of the Partner Channel Template assigned to this Partner.
|
|
27
|
-
"partnership_role": None, # string - This site's role
|
|
28
|
+
"partnership_role": None, # string - This site's role for this Partner in Connected Sites relationships. `host` is a Partner this site configured. `guest` is a Partner created by approving another site's connection request; it has no root folder and cannot hold users, permissions, or Partner Channels, or host a connection. `host_and_guest` is a configured Partner that is also the guest side of a connection. Promote a `guest` Partner by setting this to `host_and_guest` together with a `root_folder`.
|
|
28
29
|
"responsible_group_id": None, # int64 - ID of the Group responsible for this Partner.
|
|
29
30
|
"responsible_user_id": None, # int64 - ID of the User responsible for this Partner.
|
|
30
31
|
"root_folder": None, # string - The root folder path for this Partner.
|
|
@@ -69,6 +70,7 @@ class Partner:
|
|
|
69
70
|
# show_partner_channel_home_page - boolean - Show Partner users a simplified home page built from this Partner's Channels.
|
|
70
71
|
# tags - string - Comma-separated list of Tags for this Partner. Tags are used for other features, such as UserLifecycleRules, which can target specific tags. Tags must only contain lowercase letters, numbers, and hyphens.
|
|
71
72
|
# name - string - The name of the Partner.
|
|
73
|
+
# partnership_role - string - This site's role for this Partner in Connected Sites relationships. `host` is a Partner this site configured. `guest` is a Partner created by approving another site's connection request; it has no root folder and cannot hold users, permissions, or Partner Channels, or host a connection. `host_and_guest` is a configured Partner that is also the guest side of a connection. Promote a `guest` Partner by setting this to `host_and_guest` together with a `root_folder`.
|
|
72
74
|
# root_folder - string - The root folder path for this Partner.
|
|
73
75
|
def update(self, params=None):
|
|
74
76
|
if not isinstance(params, dict):
|
|
@@ -118,6 +120,12 @@ class Partner:
|
|
|
118
120
|
raise InvalidParameterError("Bad parameter: tags must be an str")
|
|
119
121
|
if "name" in params and not isinstance(params["name"], str):
|
|
120
122
|
raise InvalidParameterError("Bad parameter: name must be an str")
|
|
123
|
+
if "partnership_role" in params and not isinstance(
|
|
124
|
+
params["partnership_role"], str
|
|
125
|
+
):
|
|
126
|
+
raise InvalidParameterError(
|
|
127
|
+
"Bad parameter: partnership_role must be an str"
|
|
128
|
+
)
|
|
121
129
|
if "root_folder" in params and not isinstance(
|
|
122
130
|
params["root_folder"], str
|
|
123
131
|
):
|
|
@@ -340,6 +348,7 @@ def create(params=None, options=None):
|
|
|
340
348
|
# show_partner_channel_home_page - boolean - Show Partner users a simplified home page built from this Partner's Channels.
|
|
341
349
|
# tags - string - Comma-separated list of Tags for this Partner. Tags are used for other features, such as UserLifecycleRules, which can target specific tags. Tags must only contain lowercase letters, numbers, and hyphens.
|
|
342
350
|
# name - string - The name of the Partner.
|
|
351
|
+
# partnership_role - string - This site's role for this Partner in Connected Sites relationships. `host` is a Partner this site configured. `guest` is a Partner created by approving another site's connection request; it has no root folder and cannot hold users, permissions, or Partner Channels, or host a connection. `host_and_guest` is a configured Partner that is also the guest side of a connection. Promote a `guest` Partner by setting this to `host_and_guest` together with a `root_folder`.
|
|
343
352
|
# root_folder - string - The root folder path for this Partner.
|
|
344
353
|
def update(id, params=None, options=None):
|
|
345
354
|
if not isinstance(params, dict):
|
|
@@ -419,6 +428,12 @@ def update(id, params=None, options=None):
|
|
|
419
428
|
raise InvalidParameterError("Bad parameter: tags must be an str")
|
|
420
429
|
if "name" in params and not isinstance(params["name"], str):
|
|
421
430
|
raise InvalidParameterError("Bad parameter: name must be an str")
|
|
431
|
+
if "partnership_role" in params and not isinstance(
|
|
432
|
+
params["partnership_role"], str
|
|
433
|
+
):
|
|
434
|
+
raise InvalidParameterError(
|
|
435
|
+
"Bad parameter: partnership_role must be an str"
|
|
436
|
+
)
|
|
422
437
|
if "root_folder" in params and not isinstance(params["root_folder"], str):
|
|
423
438
|
raise InvalidParameterError(
|
|
424
439
|
"Bad parameter: root_folder must be an str"
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
import builtins # noqa: F401
|
|
2
|
+
from files_sdk.api import Api # noqa: F401
|
|
3
|
+
from files_sdk.error import ( # noqa: F401
|
|
4
|
+
InvalidParameterError,
|
|
5
|
+
MissingParameterError,
|
|
6
|
+
NotImplementedError,
|
|
7
|
+
)
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
class PartnerConnection:
|
|
11
|
+
default_attributes = {
|
|
12
|
+
"id": None, # int64 - Relationship ID used with DELETE /partner_sites/:id to disconnect.
|
|
13
|
+
"role": None, # string - This Partner's role in this connection. A host shares local files with the connected site; a guest accesses files shared by the connected site.
|
|
14
|
+
"site_id": None, # int64 - ID of the connected site.
|
|
15
|
+
"site_name": None, # string - Name of the connected site.
|
|
16
|
+
"mount_path": None, # string - File API path to the connected Host's mount on this site when role is guest. Null when role is host. File access remains subject to the caller's permissions and the Host Partner's grants.
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
def __init__(self, attributes=None, options=None):
|
|
20
|
+
if not isinstance(attributes, dict):
|
|
21
|
+
attributes = {}
|
|
22
|
+
if not isinstance(options, dict):
|
|
23
|
+
options = {}
|
|
24
|
+
self.set_attributes(attributes)
|
|
25
|
+
self.options = options
|
|
26
|
+
|
|
27
|
+
def set_attributes(self, attributes):
|
|
28
|
+
for (
|
|
29
|
+
attribute,
|
|
30
|
+
default_value,
|
|
31
|
+
) in PartnerConnection.default_attributes.items():
|
|
32
|
+
value = attributes.get(attribute, default_value)
|
|
33
|
+
setattr(self, attribute, value)
|
|
34
|
+
|
|
35
|
+
def get_attributes(self):
|
|
36
|
+
attrs = {
|
|
37
|
+
k: getattr(self, k, None)
|
|
38
|
+
for k in PartnerConnection.default_attributes
|
|
39
|
+
if getattr(self, k, None) is not None
|
|
40
|
+
}
|
|
41
|
+
return attrs
|
|
42
|
+
|
|
43
|
+
|
|
44
|
+
def new(*args, **kwargs):
|
|
45
|
+
return PartnerConnection(*args, **kwargs)
|
|
@@ -173,6 +173,7 @@ def reject(params=None, options=None):
|
|
|
173
173
|
|
|
174
174
|
# Parameters:
|
|
175
175
|
# pairing_key (required) - string - Pairing key for the partner site request
|
|
176
|
+
# partner_id - int64 - ID of an existing Partner on this site, with the host role, that represents the requesting organization. The connection binds to that Partner and makes it host_and_guest. When omitted, a guest Partner named after the host site is created.
|
|
176
177
|
def approve(params=None, options=None):
|
|
177
178
|
if not isinstance(params, dict):
|
|
178
179
|
params = {}
|
|
@@ -182,6 +183,8 @@ def approve(params=None, options=None):
|
|
|
182
183
|
raise InvalidParameterError(
|
|
183
184
|
"Bad parameter: pairing_key must be an str"
|
|
184
185
|
)
|
|
186
|
+
if "partner_id" in params and not isinstance(params["partner_id"], int):
|
|
187
|
+
raise InvalidParameterError("Bad parameter: partner_id must be an int")
|
|
185
188
|
if "pairing_key" not in params:
|
|
186
189
|
raise MissingParameterError("Parameter missing: pairing_key")
|
|
187
190
|
Api.send_request("POST", "/partner_site_requests/approve", params, options)
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import unittest
|
|
2
|
+
import inspect
|
|
3
|
+
import files_sdk
|
|
4
|
+
from tests.base import TestBase
|
|
5
|
+
from files_sdk.models import PartnerConnection
|
|
6
|
+
from files_sdk import partner_connection
|
|
7
|
+
|
|
8
|
+
class PartnerConnectionTest(TestBase):
|
|
9
|
+
pass
|
|
10
|
+
# Instance Methods
|
|
11
|
+
|
|
12
|
+
# Static Methods
|
|
13
|
+
if __name__ == '__main__':
|
|
14
|
+
unittest.main()
|
files_com-1.6.477/_VERSION
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
1.6.477
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{files_com-1.6.477 → files_com-1.6.479}/files_sdk/models/action_notification_export_result.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{files_com-1.6.477 → files_com-1.6.479}/files_sdk/models/remote_server_configuration_file.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|