Files.com 1.6.249__tar.gz → 1.6.251__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.249/files_com.egg-info → files_com-1.6.251}/PKG-INFO +2 -1
- {files_com-1.6.249 → files_com-1.6.251}/README.md +1 -0
- files_com-1.6.251/_VERSION +1 -0
- {files_com-1.6.249 → files_com-1.6.251/files_com.egg-info}/PKG-INFO +2 -1
- {files_com-1.6.249 → files_com-1.6.251}/files_com.egg-info/SOURCES.txt +2 -0
- {files_com-1.6.249 → files_com-1.6.251}/files_sdk/__init__.py +3 -1
- {files_com-1.6.249 → files_com-1.6.251}/files_sdk/error.py +15 -0
- {files_com-1.6.249 → files_com-1.6.251}/files_sdk/models/__init__.py +1 -0
- {files_com-1.6.249 → files_com-1.6.251}/files_sdk/models/api_key.py +3 -1
- {files_com-1.6.249 → files_com-1.6.251}/files_sdk/models/bundle.py +1 -1
- files_com-1.6.251/files_sdk/models/partner_site_request.py +240 -0
- {files_com-1.6.249 → files_com-1.6.251}/pyproject.toml +1 -1
- files_com-1.6.251/tests/test_partner_site_request.py +84 -0
- files_com-1.6.249/_VERSION +0 -1
- {files_com-1.6.249 → files_com-1.6.251}/LICENSE +0 -0
- {files_com-1.6.249 → files_com-1.6.251}/files_com.egg-info/dependency_links.txt +0 -0
- {files_com-1.6.249 → files_com-1.6.251}/files_com.egg-info/requires.txt +0 -0
- {files_com-1.6.249 → files_com-1.6.251}/files_com.egg-info/top_level.txt +0 -0
- {files_com-1.6.249 → files_com-1.6.251}/files_sdk/api.py +0 -0
- {files_com-1.6.249 → files_com-1.6.251}/files_sdk/api_client.py +0 -0
- {files_com-1.6.249 → files_com-1.6.251}/files_sdk/list_obj.py +0 -0
- {files_com-1.6.249 → files_com-1.6.251}/files_sdk/models/account_line_item.py +0 -0
- {files_com-1.6.249 → files_com-1.6.251}/files_sdk/models/action.py +0 -0
- {files_com-1.6.249 → files_com-1.6.251}/files_sdk/models/action_notification_export.py +0 -0
- {files_com-1.6.249 → files_com-1.6.251}/files_sdk/models/action_notification_export_result.py +0 -0
- {files_com-1.6.249 → files_com-1.6.251}/files_sdk/models/agent_push_update.py +0 -0
- {files_com-1.6.249 → files_com-1.6.251}/files_sdk/models/api_request_log.py +0 -0
- {files_com-1.6.249 → files_com-1.6.251}/files_sdk/models/app.py +0 -0
- {files_com-1.6.249 → files_com-1.6.251}/files_sdk/models/as2_incoming_message.py +0 -0
- {files_com-1.6.249 → files_com-1.6.251}/files_sdk/models/as2_outgoing_message.py +0 -0
- {files_com-1.6.249 → files_com-1.6.251}/files_sdk/models/as2_partner.py +0 -0
- {files_com-1.6.249 → files_com-1.6.251}/files_sdk/models/as2_station.py +0 -0
- {files_com-1.6.249 → files_com-1.6.251}/files_sdk/models/auto.py +0 -0
- {files_com-1.6.249 → files_com-1.6.251}/files_sdk/models/automation.py +0 -0
- {files_com-1.6.249 → files_com-1.6.251}/files_sdk/models/automation_log.py +0 -0
- {files_com-1.6.249 → files_com-1.6.251}/files_sdk/models/automation_run.py +0 -0
- {files_com-1.6.249 → files_com-1.6.251}/files_sdk/models/bandwidth_snapshot.py +0 -0
- {files_com-1.6.249 → files_com-1.6.251}/files_sdk/models/behavior.py +0 -0
- {files_com-1.6.249 → files_com-1.6.251}/files_sdk/models/bundle_action.py +0 -0
- {files_com-1.6.249 → files_com-1.6.251}/files_sdk/models/bundle_download.py +0 -0
- {files_com-1.6.249 → files_com-1.6.251}/files_sdk/models/bundle_notification.py +0 -0
- {files_com-1.6.249 → files_com-1.6.251}/files_sdk/models/bundle_path.py +0 -0
- {files_com-1.6.249 → files_com-1.6.251}/files_sdk/models/bundle_recipient.py +0 -0
- {files_com-1.6.249 → files_com-1.6.251}/files_sdk/models/bundle_registration.py +0 -0
- {files_com-1.6.249 → files_com-1.6.251}/files_sdk/models/child_site_management_policy.py +0 -0
- {files_com-1.6.249 → files_com-1.6.251}/files_sdk/models/clickwrap.py +0 -0
- {files_com-1.6.249 → files_com-1.6.251}/files_sdk/models/dns_record.py +0 -0
- {files_com-1.6.249 → files_com-1.6.251}/files_sdk/models/email_incoming_message.py +0 -0
- {files_com-1.6.249 → files_com-1.6.251}/files_sdk/models/email_log.py +0 -0
- {files_com-1.6.249 → files_com-1.6.251}/files_sdk/models/errors.py +0 -0
- {files_com-1.6.249 → files_com-1.6.251}/files_sdk/models/exavault_api_request_log.py +0 -0
- {files_com-1.6.249 → files_com-1.6.251}/files_sdk/models/external_event.py +0 -0
- {files_com-1.6.249 → files_com-1.6.251}/files_sdk/models/file.py +0 -0
- {files_com-1.6.249 → files_com-1.6.251}/files_sdk/models/file_action.py +0 -0
- {files_com-1.6.249 → files_com-1.6.251}/files_sdk/models/file_comment.py +0 -0
- {files_com-1.6.249 → files_com-1.6.251}/files_sdk/models/file_comment_reaction.py +0 -0
- {files_com-1.6.249 → files_com-1.6.251}/files_sdk/models/file_migration.py +0 -0
- {files_com-1.6.249 → files_com-1.6.251}/files_sdk/models/file_migration_log.py +0 -0
- {files_com-1.6.249 → files_com-1.6.251}/files_sdk/models/file_upload_part.py +0 -0
- {files_com-1.6.249 → files_com-1.6.251}/files_sdk/models/folder.py +0 -0
- {files_com-1.6.249 → files_com-1.6.251}/files_sdk/models/form_field.py +0 -0
- {files_com-1.6.249 → files_com-1.6.251}/files_sdk/models/form_field_set.py +0 -0
- {files_com-1.6.249 → files_com-1.6.251}/files_sdk/models/ftp_action_log.py +0 -0
- {files_com-1.6.249 → files_com-1.6.251}/files_sdk/models/gpg_key.py +0 -0
- {files_com-1.6.249 → files_com-1.6.251}/files_sdk/models/group.py +0 -0
- {files_com-1.6.249 → files_com-1.6.251}/files_sdk/models/group_user.py +0 -0
- {files_com-1.6.249 → files_com-1.6.251}/files_sdk/models/history.py +0 -0
- {files_com-1.6.249 → files_com-1.6.251}/files_sdk/models/history_export.py +0 -0
- {files_com-1.6.249 → files_com-1.6.251}/files_sdk/models/history_export_result.py +0 -0
- {files_com-1.6.249 → files_com-1.6.251}/files_sdk/models/holiday_region.py +0 -0
- {files_com-1.6.249 → files_com-1.6.251}/files_sdk/models/image.py +0 -0
- {files_com-1.6.249 → files_com-1.6.251}/files_sdk/models/inbound_s3_log.py +0 -0
- {files_com-1.6.249 → files_com-1.6.251}/files_sdk/models/inbox_recipient.py +0 -0
- {files_com-1.6.249 → files_com-1.6.251}/files_sdk/models/inbox_registration.py +0 -0
- {files_com-1.6.249 → files_com-1.6.251}/files_sdk/models/inbox_upload.py +0 -0
- {files_com-1.6.249 → files_com-1.6.251}/files_sdk/models/invoice.py +0 -0
- {files_com-1.6.249 → files_com-1.6.251}/files_sdk/models/invoice_line_item.py +0 -0
- {files_com-1.6.249 → files_com-1.6.251}/files_sdk/models/ip_address.py +0 -0
- {files_com-1.6.249 → files_com-1.6.251}/files_sdk/models/key_lifecycle_rule.py +0 -0
- {files_com-1.6.249 → files_com-1.6.251}/files_sdk/models/lock.py +0 -0
- {files_com-1.6.249 → files_com-1.6.251}/files_sdk/models/message.py +0 -0
- {files_com-1.6.249 → files_com-1.6.251}/files_sdk/models/message_comment.py +0 -0
- {files_com-1.6.249 → files_com-1.6.251}/files_sdk/models/message_comment_reaction.py +0 -0
- {files_com-1.6.249 → files_com-1.6.251}/files_sdk/models/message_reaction.py +0 -0
- {files_com-1.6.249 → files_com-1.6.251}/files_sdk/models/notification.py +0 -0
- {files_com-1.6.249 → files_com-1.6.251}/files_sdk/models/outbound_connection_log.py +0 -0
- {files_com-1.6.249 → files_com-1.6.251}/files_sdk/models/partner.py +0 -0
- {files_com-1.6.249 → files_com-1.6.251}/files_sdk/models/payment.py +0 -0
- {files_com-1.6.249 → files_com-1.6.251}/files_sdk/models/payment_line_item.py +0 -0
- {files_com-1.6.249 → files_com-1.6.251}/files_sdk/models/permission.py +0 -0
- {files_com-1.6.249 → files_com-1.6.251}/files_sdk/models/preview.py +0 -0
- {files_com-1.6.249 → files_com-1.6.251}/files_sdk/models/priority.py +0 -0
- {files_com-1.6.249 → files_com-1.6.251}/files_sdk/models/project.py +0 -0
- {files_com-1.6.249 → files_com-1.6.251}/files_sdk/models/public_hosting_request_log.py +0 -0
- {files_com-1.6.249 → files_com-1.6.251}/files_sdk/models/public_ip_address.py +0 -0
- {files_com-1.6.249 → files_com-1.6.251}/files_sdk/models/public_key.py +0 -0
- {files_com-1.6.249 → files_com-1.6.251}/files_sdk/models/remote_bandwidth_snapshot.py +0 -0
- {files_com-1.6.249 → files_com-1.6.251}/files_sdk/models/remote_mount_backend.py +0 -0
- {files_com-1.6.249 → files_com-1.6.251}/files_sdk/models/remote_server.py +0 -0
- {files_com-1.6.249 → files_com-1.6.251}/files_sdk/models/remote_server_configuration_file.py +0 -0
- {files_com-1.6.249 → files_com-1.6.251}/files_sdk/models/remote_server_credential.py +0 -0
- {files_com-1.6.249 → files_com-1.6.251}/files_sdk/models/request.py +0 -0
- {files_com-1.6.249 → files_com-1.6.251}/files_sdk/models/restore.py +0 -0
- {files_com-1.6.249 → files_com-1.6.251}/files_sdk/models/scim_log.py +0 -0
- {files_com-1.6.249 → files_com-1.6.251}/files_sdk/models/session.py +0 -0
- {files_com-1.6.249 → files_com-1.6.251}/files_sdk/models/settings_change.py +0 -0
- {files_com-1.6.249 → files_com-1.6.251}/files_sdk/models/sftp_action_log.py +0 -0
- {files_com-1.6.249 → files_com-1.6.251}/files_sdk/models/sftp_host_key.py +0 -0
- {files_com-1.6.249 → files_com-1.6.251}/files_sdk/models/share_group.py +0 -0
- {files_com-1.6.249 → files_com-1.6.251}/files_sdk/models/share_group_member.py +0 -0
- {files_com-1.6.249 → files_com-1.6.251}/files_sdk/models/siem_http_destination.py +0 -0
- {files_com-1.6.249 → files_com-1.6.251}/files_sdk/models/site.py +0 -0
- {files_com-1.6.249 → files_com-1.6.251}/files_sdk/models/snapshot.py +0 -0
- {files_com-1.6.249 → files_com-1.6.251}/files_sdk/models/sso_strategy.py +0 -0
- {files_com-1.6.249 → files_com-1.6.251}/files_sdk/models/status.py +0 -0
- {files_com-1.6.249 → files_com-1.6.251}/files_sdk/models/style.py +0 -0
- {files_com-1.6.249 → files_com-1.6.251}/files_sdk/models/sync.py +0 -0
- {files_com-1.6.249 → files_com-1.6.251}/files_sdk/models/sync_log.py +0 -0
- {files_com-1.6.249 → files_com-1.6.251}/files_sdk/models/sync_run.py +0 -0
- {files_com-1.6.249 → files_com-1.6.251}/files_sdk/models/usage_by_top_level_dir.py +0 -0
- {files_com-1.6.249 → files_com-1.6.251}/files_sdk/models/usage_daily_snapshot.py +0 -0
- {files_com-1.6.249 → files_com-1.6.251}/files_sdk/models/usage_snapshot.py +0 -0
- {files_com-1.6.249 → files_com-1.6.251}/files_sdk/models/user.py +0 -0
- {files_com-1.6.249 → files_com-1.6.251}/files_sdk/models/user_cipher_use.py +0 -0
- {files_com-1.6.249 → files_com-1.6.251}/files_sdk/models/user_lifecycle_rule.py +0 -0
- {files_com-1.6.249 → files_com-1.6.251}/files_sdk/models/user_request.py +0 -0
- {files_com-1.6.249 → files_com-1.6.251}/files_sdk/models/user_sftp_client_use.py +0 -0
- {files_com-1.6.249 → files_com-1.6.251}/files_sdk/models/web_dav_action_log.py +0 -0
- {files_com-1.6.249 → files_com-1.6.251}/files_sdk/models/webhook_test.py +0 -0
- {files_com-1.6.249 → files_com-1.6.251}/files_sdk/models/workspace.py +0 -0
- {files_com-1.6.249 → files_com-1.6.251}/files_sdk/path_util.py +0 -0
- {files_com-1.6.249 → files_com-1.6.251}/files_sdk/util.py +0 -0
- {files_com-1.6.249 → files_com-1.6.251}/setup.cfg +0 -0
- {files_com-1.6.249 → files_com-1.6.251}/tests/test_account_line_item.py +0 -0
- {files_com-1.6.249 → files_com-1.6.251}/tests/test_action.py +0 -0
- {files_com-1.6.249 → files_com-1.6.251}/tests/test_action_notification_export.py +0 -0
- {files_com-1.6.249 → files_com-1.6.251}/tests/test_action_notification_export_result.py +0 -0
- {files_com-1.6.249 → files_com-1.6.251}/tests/test_agent_push_update.py +0 -0
- {files_com-1.6.249 → files_com-1.6.251}/tests/test_api_errors.py +0 -0
- {files_com-1.6.249 → files_com-1.6.251}/tests/test_api_key.py +0 -0
- {files_com-1.6.249 → files_com-1.6.251}/tests/test_api_request_log.py +0 -0
- {files_com-1.6.249 → files_com-1.6.251}/tests/test_app.py +0 -0
- {files_com-1.6.249 → files_com-1.6.251}/tests/test_as2_incoming_message.py +0 -0
- {files_com-1.6.249 → files_com-1.6.251}/tests/test_as2_outgoing_message.py +0 -0
- {files_com-1.6.249 → files_com-1.6.251}/tests/test_as2_partner.py +0 -0
- {files_com-1.6.249 → files_com-1.6.251}/tests/test_as2_station.py +0 -0
- {files_com-1.6.249 → files_com-1.6.251}/tests/test_auto.py +0 -0
- {files_com-1.6.249 → files_com-1.6.251}/tests/test_automation.py +0 -0
- {files_com-1.6.249 → files_com-1.6.251}/tests/test_automation_log.py +0 -0
- {files_com-1.6.249 → files_com-1.6.251}/tests/test_automation_run.py +0 -0
- {files_com-1.6.249 → files_com-1.6.251}/tests/test_bandwidth_snapshot.py +0 -0
- {files_com-1.6.249 → files_com-1.6.251}/tests/test_behavior.py +0 -0
- {files_com-1.6.249 → files_com-1.6.251}/tests/test_bundle.py +0 -0
- {files_com-1.6.249 → files_com-1.6.251}/tests/test_bundle_action.py +0 -0
- {files_com-1.6.249 → files_com-1.6.251}/tests/test_bundle_download.py +0 -0
- {files_com-1.6.249 → files_com-1.6.251}/tests/test_bundle_notification.py +0 -0
- {files_com-1.6.249 → files_com-1.6.251}/tests/test_bundle_path.py +0 -0
- {files_com-1.6.249 → files_com-1.6.251}/tests/test_bundle_recipient.py +0 -0
- {files_com-1.6.249 → files_com-1.6.251}/tests/test_bundle_registration.py +0 -0
- {files_com-1.6.249 → files_com-1.6.251}/tests/test_child_site_management_policy.py +0 -0
- {files_com-1.6.249 → files_com-1.6.251}/tests/test_clickwrap.py +0 -0
- {files_com-1.6.249 → files_com-1.6.251}/tests/test_connection_adapter.py +0 -0
- {files_com-1.6.249 → files_com-1.6.251}/tests/test_dns_record.py +0 -0
- {files_com-1.6.249 → files_com-1.6.251}/tests/test_email_incoming_message.py +0 -0
- {files_com-1.6.249 → files_com-1.6.251}/tests/test_email_log.py +0 -0
- {files_com-1.6.249 → files_com-1.6.251}/tests/test_errors.py +0 -0
- {files_com-1.6.249 → files_com-1.6.251}/tests/test_exavault_api_request_log.py +0 -0
- {files_com-1.6.249 → files_com-1.6.251}/tests/test_external_event.py +0 -0
- {files_com-1.6.249 → files_com-1.6.251}/tests/test_file.py +0 -0
- {files_com-1.6.249 → files_com-1.6.251}/tests/test_file_action.py +0 -0
- {files_com-1.6.249 → files_com-1.6.251}/tests/test_file_comment.py +0 -0
- {files_com-1.6.249 → files_com-1.6.251}/tests/test_file_comment_reaction.py +0 -0
- {files_com-1.6.249 → files_com-1.6.251}/tests/test_file_migration.py +0 -0
- {files_com-1.6.249 → files_com-1.6.251}/tests/test_file_migration_log.py +0 -0
- {files_com-1.6.249 → files_com-1.6.251}/tests/test_file_upload_part.py +0 -0
- {files_com-1.6.249 → files_com-1.6.251}/tests/test_folder.py +0 -0
- {files_com-1.6.249 → files_com-1.6.251}/tests/test_form_field.py +0 -0
- {files_com-1.6.249 → files_com-1.6.251}/tests/test_form_field_set.py +0 -0
- {files_com-1.6.249 → files_com-1.6.251}/tests/test_ftp_action_log.py +0 -0
- {files_com-1.6.249 → files_com-1.6.251}/tests/test_gpg_key.py +0 -0
- {files_com-1.6.249 → files_com-1.6.251}/tests/test_group.py +0 -0
- {files_com-1.6.249 → files_com-1.6.251}/tests/test_group_user.py +0 -0
- {files_com-1.6.249 → files_com-1.6.251}/tests/test_history.py +0 -0
- {files_com-1.6.249 → files_com-1.6.251}/tests/test_history_export.py +0 -0
- {files_com-1.6.249 → files_com-1.6.251}/tests/test_history_export_result.py +0 -0
- {files_com-1.6.249 → files_com-1.6.251}/tests/test_holiday_region.py +0 -0
- {files_com-1.6.249 → files_com-1.6.251}/tests/test_image.py +0 -0
- {files_com-1.6.249 → files_com-1.6.251}/tests/test_inbound_s3_log.py +0 -0
- {files_com-1.6.249 → files_com-1.6.251}/tests/test_inbox_recipient.py +0 -0
- {files_com-1.6.249 → files_com-1.6.251}/tests/test_inbox_registration.py +0 -0
- {files_com-1.6.249 → files_com-1.6.251}/tests/test_inbox_upload.py +0 -0
- {files_com-1.6.249 → files_com-1.6.251}/tests/test_invoice.py +0 -0
- {files_com-1.6.249 → files_com-1.6.251}/tests/test_invoice_line_item.py +0 -0
- {files_com-1.6.249 → files_com-1.6.251}/tests/test_ip_address.py +0 -0
- {files_com-1.6.249 → files_com-1.6.251}/tests/test_key_lifecycle_rule.py +0 -0
- {files_com-1.6.249 → files_com-1.6.251}/tests/test_lock.py +0 -0
- {files_com-1.6.249 → files_com-1.6.251}/tests/test_message.py +0 -0
- {files_com-1.6.249 → files_com-1.6.251}/tests/test_message_comment.py +0 -0
- {files_com-1.6.249 → files_com-1.6.251}/tests/test_message_comment_reaction.py +0 -0
- {files_com-1.6.249 → files_com-1.6.251}/tests/test_message_reaction.py +0 -0
- {files_com-1.6.249 → files_com-1.6.251}/tests/test_notification.py +0 -0
- {files_com-1.6.249 → files_com-1.6.251}/tests/test_outbound_connection_log.py +0 -0
- {files_com-1.6.249 → files_com-1.6.251}/tests/test_partner.py +0 -0
- {files_com-1.6.249 → files_com-1.6.251}/tests/test_path_util.py +0 -0
- {files_com-1.6.249 → files_com-1.6.251}/tests/test_payment.py +0 -0
- {files_com-1.6.249 → files_com-1.6.251}/tests/test_payment_line_item.py +0 -0
- {files_com-1.6.249 → files_com-1.6.251}/tests/test_permission.py +0 -0
- {files_com-1.6.249 → files_com-1.6.251}/tests/test_preview.py +0 -0
- {files_com-1.6.249 → files_com-1.6.251}/tests/test_priority.py +0 -0
- {files_com-1.6.249 → files_com-1.6.251}/tests/test_project.py +0 -0
- {files_com-1.6.249 → files_com-1.6.251}/tests/test_public_hosting_request_log.py +0 -0
- {files_com-1.6.249 → files_com-1.6.251}/tests/test_public_ip_address.py +0 -0
- {files_com-1.6.249 → files_com-1.6.251}/tests/test_public_key.py +0 -0
- {files_com-1.6.249 → files_com-1.6.251}/tests/test_remote_bandwidth_snapshot.py +0 -0
- {files_com-1.6.249 → files_com-1.6.251}/tests/test_remote_mount_backend.py +0 -0
- {files_com-1.6.249 → files_com-1.6.251}/tests/test_remote_server.py +0 -0
- {files_com-1.6.249 → files_com-1.6.251}/tests/test_remote_server_configuration_file.py +0 -0
- {files_com-1.6.249 → files_com-1.6.251}/tests/test_remote_server_credential.py +0 -0
- {files_com-1.6.249 → files_com-1.6.251}/tests/test_request.py +0 -0
- {files_com-1.6.249 → files_com-1.6.251}/tests/test_restore.py +0 -0
- {files_com-1.6.249 → files_com-1.6.251}/tests/test_scim_log.py +0 -0
- {files_com-1.6.249 → files_com-1.6.251}/tests/test_session.py +0 -0
- {files_com-1.6.249 → files_com-1.6.251}/tests/test_settings_change.py +0 -0
- {files_com-1.6.249 → files_com-1.6.251}/tests/test_sftp_action_log.py +0 -0
- {files_com-1.6.249 → files_com-1.6.251}/tests/test_sftp_host_key.py +0 -0
- {files_com-1.6.249 → files_com-1.6.251}/tests/test_share_group.py +0 -0
- {files_com-1.6.249 → files_com-1.6.251}/tests/test_share_group_member.py +0 -0
- {files_com-1.6.249 → files_com-1.6.251}/tests/test_siem_http_destination.py +0 -0
- {files_com-1.6.249 → files_com-1.6.251}/tests/test_site.py +0 -0
- {files_com-1.6.249 → files_com-1.6.251}/tests/test_snapshot.py +0 -0
- {files_com-1.6.249 → files_com-1.6.251}/tests/test_sso_strategy.py +0 -0
- {files_com-1.6.249 → files_com-1.6.251}/tests/test_status.py +0 -0
- {files_com-1.6.249 → files_com-1.6.251}/tests/test_style.py +0 -0
- {files_com-1.6.249 → files_com-1.6.251}/tests/test_sync.py +0 -0
- {files_com-1.6.249 → files_com-1.6.251}/tests/test_sync_log.py +0 -0
- {files_com-1.6.249 → files_com-1.6.251}/tests/test_sync_run.py +0 -0
- {files_com-1.6.249 → files_com-1.6.251}/tests/test_usage_by_top_level_dir.py +0 -0
- {files_com-1.6.249 → files_com-1.6.251}/tests/test_usage_daily_snapshot.py +0 -0
- {files_com-1.6.249 → files_com-1.6.251}/tests/test_usage_snapshot.py +0 -0
- {files_com-1.6.249 → files_com-1.6.251}/tests/test_user.py +0 -0
- {files_com-1.6.249 → files_com-1.6.251}/tests/test_user_cipher_use.py +0 -0
- {files_com-1.6.249 → files_com-1.6.251}/tests/test_user_lifecycle_rule.py +0 -0
- {files_com-1.6.249 → files_com-1.6.251}/tests/test_user_request.py +0 -0
- {files_com-1.6.249 → files_com-1.6.251}/tests/test_user_sftp_client_use.py +0 -0
- {files_com-1.6.249 → files_com-1.6.251}/tests/test_web_dav_action_log.py +0 -0
- {files_com-1.6.249 → files_com-1.6.251}/tests/test_webhook_test.py +0 -0
- {files_com-1.6.249 → files_com-1.6.251}/tests/test_workspace.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: files_com
|
|
3
|
-
Version: 1.6.
|
|
3
|
+
Version: 1.6.251
|
|
4
4
|
Summary: Python bindings for the Files.com API
|
|
5
5
|
License: MIT
|
|
6
6
|
Requires-Python: >=3.5
|
|
@@ -527,6 +527,7 @@ files_sdk.error.FolderAdminPermissionRequiredError -> files_sdk.error.NotAuthori
|
|
|
527
527
|
|`CantMoveWithMultipleLocationsError`| `BadRequestError` |
|
|
528
528
|
|`DatetimeParseError`| `BadRequestError` |
|
|
529
529
|
|`DestinationSameError`| `BadRequestError` |
|
|
530
|
+
|`DestinationSiteMismatchError`| `BadRequestError` |
|
|
530
531
|
|`DoesNotSupportSortingError`| `BadRequestError` |
|
|
531
532
|
|`FolderMustNotBeAFileError`| `BadRequestError` |
|
|
532
533
|
|`FoldersNotAllowedError`| `BadRequestError` |
|
|
@@ -515,6 +515,7 @@ files_sdk.error.FolderAdminPermissionRequiredError -> files_sdk.error.NotAuthori
|
|
|
515
515
|
|`CantMoveWithMultipleLocationsError`| `BadRequestError` |
|
|
516
516
|
|`DatetimeParseError`| `BadRequestError` |
|
|
517
517
|
|`DestinationSameError`| `BadRequestError` |
|
|
518
|
+
|`DestinationSiteMismatchError`| `BadRequestError` |
|
|
518
519
|
|`DoesNotSupportSortingError`| `BadRequestError` |
|
|
519
520
|
|`FolderMustNotBeAFileError`| `BadRequestError` |
|
|
520
521
|
|`FoldersNotAllowedError`| `BadRequestError` |
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
1.6.251
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: files_com
|
|
3
|
-
Version: 1.6.
|
|
3
|
+
Version: 1.6.251
|
|
4
4
|
Summary: Python bindings for the Files.com API
|
|
5
5
|
License: MIT
|
|
6
6
|
Requires-Python: >=3.5
|
|
@@ -527,6 +527,7 @@ files_sdk.error.FolderAdminPermissionRequiredError -> files_sdk.error.NotAuthori
|
|
|
527
527
|
|`CantMoveWithMultipleLocationsError`| `BadRequestError` |
|
|
528
528
|
|`DatetimeParseError`| `BadRequestError` |
|
|
529
529
|
|`DestinationSameError`| `BadRequestError` |
|
|
530
|
+
|`DestinationSiteMismatchError`| `BadRequestError` |
|
|
530
531
|
|`DoesNotSupportSortingError`| `BadRequestError` |
|
|
531
532
|
|`FolderMustNotBeAFileError`| `BadRequestError` |
|
|
532
533
|
|`FoldersNotAllowedError`| `BadRequestError` |
|
|
@@ -84,6 +84,7 @@ files_sdk/models/message_reaction.py
|
|
|
84
84
|
files_sdk/models/notification.py
|
|
85
85
|
files_sdk/models/outbound_connection_log.py
|
|
86
86
|
files_sdk/models/partner.py
|
|
87
|
+
files_sdk/models/partner_site_request.py
|
|
87
88
|
files_sdk/models/payment.py
|
|
88
89
|
files_sdk/models/payment_line_item.py
|
|
89
90
|
files_sdk/models/permission.py
|
|
@@ -197,6 +198,7 @@ tests/test_message_reaction.py
|
|
|
197
198
|
tests/test_notification.py
|
|
198
199
|
tests/test_outbound_connection_log.py
|
|
199
200
|
tests/test_partner.py
|
|
201
|
+
tests/test_partner_site_request.py
|
|
200
202
|
tests/test_path_util.py
|
|
201
203
|
tests/test_payment.py
|
|
202
204
|
tests/test_payment_line_item.py
|
|
@@ -67,6 +67,7 @@ import files_sdk.models.message_reaction as message_reaction
|
|
|
67
67
|
import files_sdk.models.notification as notification
|
|
68
68
|
import files_sdk.models.outbound_connection_log as outbound_connection_log
|
|
69
69
|
import files_sdk.models.partner as partner
|
|
70
|
+
import files_sdk.models.partner_site_request as partner_site_request
|
|
70
71
|
import files_sdk.models.payment as payment
|
|
71
72
|
import files_sdk.models.payment_line_item as payment_line_item
|
|
72
73
|
import files_sdk.models.permission as permission
|
|
@@ -185,6 +186,7 @@ from files_sdk.models.message_reaction import MessageReaction
|
|
|
185
186
|
from files_sdk.models.notification import Notification
|
|
186
187
|
from files_sdk.models.outbound_connection_log import OutboundConnectionLog
|
|
187
188
|
from files_sdk.models.partner import Partner
|
|
189
|
+
from files_sdk.models.partner_site_request import PartnerSiteRequest
|
|
188
190
|
from files_sdk.models.payment import Payment
|
|
189
191
|
from files_sdk.models.payment_line_item import PaymentLineItem
|
|
190
192
|
from files_sdk.models.permission import Permission
|
|
@@ -241,7 +243,7 @@ session_id = None
|
|
|
241
243
|
source_ip = None
|
|
242
244
|
base_url = "https://app.files.com"
|
|
243
245
|
base_path = "api/rest/v1"
|
|
244
|
-
version = "1.6.
|
|
246
|
+
version = "1.6.251"
|
|
245
247
|
|
|
246
248
|
__version__ = version
|
|
247
249
|
|
|
@@ -202,6 +202,21 @@ class DestinationSameError(BadRequestError):
|
|
|
202
202
|
)
|
|
203
203
|
|
|
204
204
|
|
|
205
|
+
class DestinationSiteMismatchError(BadRequestError):
|
|
206
|
+
def __init__(
|
|
207
|
+
self,
|
|
208
|
+
message=None,
|
|
209
|
+
http_body=None,
|
|
210
|
+
http_status=None,
|
|
211
|
+
json_body=None,
|
|
212
|
+
headers=None,
|
|
213
|
+
code=None,
|
|
214
|
+
):
|
|
215
|
+
super().__init__(
|
|
216
|
+
message, http_body, http_status, json_body, headers, code
|
|
217
|
+
)
|
|
218
|
+
|
|
219
|
+
|
|
205
220
|
class DoesNotSupportSortingError(BadRequestError):
|
|
206
221
|
def __init__(
|
|
207
222
|
self,
|
|
@@ -72,6 +72,7 @@ from files_sdk.models.message_reaction import MessageReaction
|
|
|
72
72
|
from files_sdk.models.notification import Notification
|
|
73
73
|
from files_sdk.models.outbound_connection_log import OutboundConnectionLog
|
|
74
74
|
from files_sdk.models.partner import Partner
|
|
75
|
+
from files_sdk.models.partner_site_request import PartnerSiteRequest
|
|
75
76
|
from files_sdk.models.payment import Payment
|
|
76
77
|
from files_sdk.models.payment_line_item import PaymentLineItem
|
|
77
78
|
from files_sdk.models.permission import Permission
|
|
@@ -23,6 +23,8 @@ class ApiKey:
|
|
|
23
23
|
"name": None, # string - Internal name for the API Key. For your use.
|
|
24
24
|
"permission_set": None, # string - Permissions for this API Key. It must be full for site-wide API Keys. Keys with the `desktop_app` permission set only have the ability to do the functions provided in our Desktop App (File and Share Link operations). Keys with the `office_integration` permission set are auto generated, and automatically expire, to allow users to interact with office integration platforms. Additional permission sets may become available in the future, such as for a Site Admin to give a key with no administrator privileges. If you have ideas for permission sets, please let us know.
|
|
25
25
|
"platform": None, # string - If this API key represents a Desktop app, what platform was it created on?
|
|
26
|
+
"site_id": None, # int64 - Site ID
|
|
27
|
+
"site_name": None, # string - Site Name
|
|
26
28
|
"url": None, # string - URL for API host.
|
|
27
29
|
"user_id": None, # int64 - User ID for the owner of this API Key. May be blank for Site-wide API Keys.
|
|
28
30
|
"path": None, # string - Folder path restriction for `office_integration` permission set API keys.
|
|
@@ -122,7 +124,7 @@ class ApiKey:
|
|
|
122
124
|
# user_id - int64 - User ID. Provide a value of `0` to operate the current session's user.
|
|
123
125
|
# cursor - string - Used for pagination. When a list request has more records available, cursors are provided in the response headers `X-Files-Cursor-Next` and `X-Files-Cursor-Prev`. Send one of those cursor value here to resume an existing list from the next available record. Note: many of our SDKs have iterator methods that will automatically handle cursor-based pagination.
|
|
124
126
|
# per_page - int64 - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
|
|
125
|
-
# sort_by - object - If set, sort records by the specified field in either `asc` or `desc` direction. Valid fields are `expires_at`.
|
|
127
|
+
# sort_by - object - If set, sort records by the specified field in either `asc` or `desc` direction. Valid fields are `site_id` and `expires_at`.
|
|
126
128
|
# filter - object - If set, return records where the specified field is equal to the supplied value. Valid fields are `expires_at`.
|
|
127
129
|
# filter_gt - object - If set, return records where the specified field is greater than the supplied value. Valid fields are `expires_at`.
|
|
128
130
|
# filter_gteq - object - If set, return records where the specified field is greater than or equal the supplied value. Valid fields are `expires_at`.
|
|
@@ -271,7 +271,7 @@ class Bundle:
|
|
|
271
271
|
# cursor - string - Used for pagination. When a list request has more records available, cursors are provided in the response headers `X-Files-Cursor-Next` and `X-Files-Cursor-Prev`. Send one of those cursor value here to resume an existing list from the next available record. Note: many of our SDKs have iterator methods that will automatically handle cursor-based pagination.
|
|
272
272
|
# per_page - int64 - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
|
|
273
273
|
# sort_by - object - If set, sort records by the specified field in either `asc` or `desc` direction. Valid fields are `expires_at`.
|
|
274
|
-
# filter - object - If set, return records where the specified field is equal to the supplied value. Valid fields are `created_at`, `expires_at`, `code` or `user_id`. Valid field combinations are `[ user_id, expires_at ]`.
|
|
274
|
+
# filter - object - If set, return records where the specified field is equal to the supplied value. Valid fields are `created_at`, `expires_at`, `code` or `user_id`. Valid field combinations are `[ user_id, created_at ]` and `[ user_id, expires_at ]`.
|
|
275
275
|
# filter_gt - object - If set, return records where the specified field is greater than the supplied value. Valid fields are `created_at` and `expires_at`.
|
|
276
276
|
# filter_gteq - object - If set, return records where the specified field is greater than or equal the supplied value. Valid fields are `created_at` and `expires_at`.
|
|
277
277
|
# filter_prefix - object - If set, return records where the specified field is prefixed by the supplied value. Valid fields are `code`.
|
|
@@ -0,0 +1,240 @@
|
|
|
1
|
+
import builtins # noqa: F401
|
|
2
|
+
from files_sdk.api import Api # noqa: F401
|
|
3
|
+
from files_sdk.list_obj import ListObj
|
|
4
|
+
from files_sdk.error import ( # noqa: F401
|
|
5
|
+
InvalidParameterError,
|
|
6
|
+
MissingParameterError,
|
|
7
|
+
NotImplementedError,
|
|
8
|
+
)
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
class PartnerSiteRequest:
|
|
12
|
+
default_attributes = {
|
|
13
|
+
"id": None, # int64 - Partner Site Request ID
|
|
14
|
+
"partner_id": None, # int64 - Partner ID
|
|
15
|
+
"linked_site_id": None, # int64 - Linked Site ID
|
|
16
|
+
"status": None, # string - Request status (pending, approved, rejected)
|
|
17
|
+
"pairing_key": None, # string - Pairing key used to approve this request on the target site
|
|
18
|
+
"created_at": None, # date-time - Request creation date/time
|
|
19
|
+
"updated_at": None, # date-time - Request last updated date/time
|
|
20
|
+
"site_url": None, # string - Site URL to link to
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
def __init__(self, attributes=None, options=None):
|
|
24
|
+
if not isinstance(attributes, dict):
|
|
25
|
+
attributes = {}
|
|
26
|
+
if not isinstance(options, dict):
|
|
27
|
+
options = {}
|
|
28
|
+
self.set_attributes(attributes)
|
|
29
|
+
self.options = options
|
|
30
|
+
|
|
31
|
+
def set_attributes(self, attributes):
|
|
32
|
+
for (
|
|
33
|
+
attribute,
|
|
34
|
+
default_value,
|
|
35
|
+
) in PartnerSiteRequest.default_attributes.items():
|
|
36
|
+
setattr(self, attribute, attributes.get(attribute, default_value))
|
|
37
|
+
|
|
38
|
+
def get_attributes(self):
|
|
39
|
+
return {
|
|
40
|
+
k: getattr(self, k, None)
|
|
41
|
+
for k in PartnerSiteRequest.default_attributes
|
|
42
|
+
if getattr(self, k, None) is not None
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
# Reject partner site request
|
|
46
|
+
def reject(self, params=None):
|
|
47
|
+
if not isinstance(params, dict):
|
|
48
|
+
params = {}
|
|
49
|
+
|
|
50
|
+
if hasattr(self, "id") and self.id:
|
|
51
|
+
params["id"] = self.id
|
|
52
|
+
else:
|
|
53
|
+
raise MissingParameterError("Current object doesn't have a id")
|
|
54
|
+
if "id" not in params:
|
|
55
|
+
raise MissingParameterError("Parameter missing: id")
|
|
56
|
+
if "id" in params and not isinstance(params["id"], int):
|
|
57
|
+
raise InvalidParameterError("Bad parameter: id must be an int")
|
|
58
|
+
Api.send_request(
|
|
59
|
+
"POST",
|
|
60
|
+
"/partner_site_requests/{id}/reject".format(id=params["id"]),
|
|
61
|
+
params,
|
|
62
|
+
self.options,
|
|
63
|
+
)
|
|
64
|
+
|
|
65
|
+
# Approve partner site request
|
|
66
|
+
def approve(self, params=None):
|
|
67
|
+
if not isinstance(params, dict):
|
|
68
|
+
params = {}
|
|
69
|
+
|
|
70
|
+
if hasattr(self, "id") and self.id:
|
|
71
|
+
params["id"] = self.id
|
|
72
|
+
else:
|
|
73
|
+
raise MissingParameterError("Current object doesn't have a id")
|
|
74
|
+
if "id" not in params:
|
|
75
|
+
raise MissingParameterError("Parameter missing: id")
|
|
76
|
+
if "id" in params and not isinstance(params["id"], int):
|
|
77
|
+
raise InvalidParameterError("Bad parameter: id must be an int")
|
|
78
|
+
Api.send_request(
|
|
79
|
+
"POST",
|
|
80
|
+
"/partner_site_requests/{id}/approve".format(id=params["id"]),
|
|
81
|
+
params,
|
|
82
|
+
self.options,
|
|
83
|
+
)
|
|
84
|
+
|
|
85
|
+
def delete(self, params=None):
|
|
86
|
+
if not isinstance(params, dict):
|
|
87
|
+
params = {}
|
|
88
|
+
|
|
89
|
+
if hasattr(self, "id") and self.id:
|
|
90
|
+
params["id"] = self.id
|
|
91
|
+
else:
|
|
92
|
+
raise MissingParameterError("Current object doesn't have a id")
|
|
93
|
+
if "id" not in params:
|
|
94
|
+
raise MissingParameterError("Parameter missing: id")
|
|
95
|
+
if "id" in params and not isinstance(params["id"], int):
|
|
96
|
+
raise InvalidParameterError("Bad parameter: id must be an int")
|
|
97
|
+
Api.send_request(
|
|
98
|
+
"DELETE",
|
|
99
|
+
"/partner_site_requests/{id}".format(id=params["id"]),
|
|
100
|
+
params,
|
|
101
|
+
self.options,
|
|
102
|
+
)
|
|
103
|
+
|
|
104
|
+
def destroy(self, params=None):
|
|
105
|
+
self.delete(params)
|
|
106
|
+
|
|
107
|
+
def save(self):
|
|
108
|
+
if hasattr(self, "id") and self.id:
|
|
109
|
+
raise NotImplementedError(
|
|
110
|
+
"The PartnerSiteRequest object doesn't support updates."
|
|
111
|
+
)
|
|
112
|
+
else:
|
|
113
|
+
new_obj = create(self.get_attributes(), self.options)
|
|
114
|
+
self.set_attributes(new_obj.get_attributes())
|
|
115
|
+
return True
|
|
116
|
+
|
|
117
|
+
|
|
118
|
+
# Parameters:
|
|
119
|
+
# cursor - string - Used for pagination. When a list request has more records available, cursors are provided in the response headers `X-Files-Cursor-Next` and `X-Files-Cursor-Prev`. Send one of those cursor value here to resume an existing list from the next available record. Note: many of our SDKs have iterator methods that will automatically handle cursor-based pagination.
|
|
120
|
+
# per_page - int64 - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
|
|
121
|
+
def list(params=None, options=None):
|
|
122
|
+
if not isinstance(params, dict):
|
|
123
|
+
params = {}
|
|
124
|
+
if not isinstance(options, dict):
|
|
125
|
+
options = {}
|
|
126
|
+
if "cursor" in params and not isinstance(params["cursor"], str):
|
|
127
|
+
raise InvalidParameterError("Bad parameter: cursor must be an str")
|
|
128
|
+
if "per_page" in params and not isinstance(params["per_page"], int):
|
|
129
|
+
raise InvalidParameterError("Bad parameter: per_page must be an int")
|
|
130
|
+
return ListObj(
|
|
131
|
+
PartnerSiteRequest, "GET", "/partner_site_requests", params, options
|
|
132
|
+
)
|
|
133
|
+
|
|
134
|
+
|
|
135
|
+
def all(params=None, options=None):
|
|
136
|
+
list(params, options)
|
|
137
|
+
|
|
138
|
+
|
|
139
|
+
# Parameters:
|
|
140
|
+
# pairing_key (required) - string - Pairing key for the partner site request
|
|
141
|
+
def find_by_pairing_key(params=None, options=None):
|
|
142
|
+
if not isinstance(params, dict):
|
|
143
|
+
params = {}
|
|
144
|
+
if not isinstance(options, dict):
|
|
145
|
+
options = {}
|
|
146
|
+
if "pairing_key" in params and not isinstance(params["pairing_key"], str):
|
|
147
|
+
raise InvalidParameterError(
|
|
148
|
+
"Bad parameter: pairing_key must be an str"
|
|
149
|
+
)
|
|
150
|
+
if "pairing_key" not in params:
|
|
151
|
+
raise MissingParameterError("Parameter missing: pairing_key")
|
|
152
|
+
Api.send_request(
|
|
153
|
+
"GET", "/partner_site_requests/find_by_pairing_key", params, options
|
|
154
|
+
)
|
|
155
|
+
|
|
156
|
+
|
|
157
|
+
# Parameters:
|
|
158
|
+
# partner_id (required) - int64 - Partner ID to link with
|
|
159
|
+
# site_url (required) - string - Site URL to link to
|
|
160
|
+
def create(params=None, options=None):
|
|
161
|
+
if not isinstance(params, dict):
|
|
162
|
+
params = {}
|
|
163
|
+
if not isinstance(options, dict):
|
|
164
|
+
options = {}
|
|
165
|
+
if "partner_id" in params and not isinstance(params["partner_id"], int):
|
|
166
|
+
raise InvalidParameterError("Bad parameter: partner_id must be an int")
|
|
167
|
+
if "site_url" in params and not isinstance(params["site_url"], str):
|
|
168
|
+
raise InvalidParameterError("Bad parameter: site_url must be an str")
|
|
169
|
+
if "partner_id" not in params:
|
|
170
|
+
raise MissingParameterError("Parameter missing: partner_id")
|
|
171
|
+
if "site_url" not in params:
|
|
172
|
+
raise MissingParameterError("Parameter missing: site_url")
|
|
173
|
+
response, options = Api.send_request(
|
|
174
|
+
"POST", "/partner_site_requests", params, options
|
|
175
|
+
)
|
|
176
|
+
return PartnerSiteRequest(response.data, options)
|
|
177
|
+
|
|
178
|
+
|
|
179
|
+
# Reject partner site request
|
|
180
|
+
def reject(id, params=None, options=None):
|
|
181
|
+
if not isinstance(params, dict):
|
|
182
|
+
params = {}
|
|
183
|
+
if not isinstance(options, dict):
|
|
184
|
+
options = {}
|
|
185
|
+
params["id"] = id
|
|
186
|
+
if "id" in params and not isinstance(params["id"], int):
|
|
187
|
+
raise InvalidParameterError("Bad parameter: id must be an int")
|
|
188
|
+
if "id" not in params:
|
|
189
|
+
raise MissingParameterError("Parameter missing: id")
|
|
190
|
+
Api.send_request(
|
|
191
|
+
"POST",
|
|
192
|
+
"/partner_site_requests/{id}/reject".format(id=params["id"]),
|
|
193
|
+
params,
|
|
194
|
+
options,
|
|
195
|
+
)
|
|
196
|
+
|
|
197
|
+
|
|
198
|
+
# Approve partner site request
|
|
199
|
+
def approve(id, params=None, options=None):
|
|
200
|
+
if not isinstance(params, dict):
|
|
201
|
+
params = {}
|
|
202
|
+
if not isinstance(options, dict):
|
|
203
|
+
options = {}
|
|
204
|
+
params["id"] = id
|
|
205
|
+
if "id" in params and not isinstance(params["id"], int):
|
|
206
|
+
raise InvalidParameterError("Bad parameter: id must be an int")
|
|
207
|
+
if "id" not in params:
|
|
208
|
+
raise MissingParameterError("Parameter missing: id")
|
|
209
|
+
Api.send_request(
|
|
210
|
+
"POST",
|
|
211
|
+
"/partner_site_requests/{id}/approve".format(id=params["id"]),
|
|
212
|
+
params,
|
|
213
|
+
options,
|
|
214
|
+
)
|
|
215
|
+
|
|
216
|
+
|
|
217
|
+
def delete(id, params=None, options=None):
|
|
218
|
+
if not isinstance(params, dict):
|
|
219
|
+
params = {}
|
|
220
|
+
if not isinstance(options, dict):
|
|
221
|
+
options = {}
|
|
222
|
+
params["id"] = id
|
|
223
|
+
if "id" in params and not isinstance(params["id"], int):
|
|
224
|
+
raise InvalidParameterError("Bad parameter: id must be an int")
|
|
225
|
+
if "id" not in params:
|
|
226
|
+
raise MissingParameterError("Parameter missing: id")
|
|
227
|
+
Api.send_request(
|
|
228
|
+
"DELETE",
|
|
229
|
+
"/partner_site_requests/{id}".format(id=params["id"]),
|
|
230
|
+
params,
|
|
231
|
+
options,
|
|
232
|
+
)
|
|
233
|
+
|
|
234
|
+
|
|
235
|
+
def destroy(id, params=None, options=None):
|
|
236
|
+
delete(id, params, options)
|
|
237
|
+
|
|
238
|
+
|
|
239
|
+
def new(*args, **kwargs):
|
|
240
|
+
return PartnerSiteRequest(*args, **kwargs)
|
|
@@ -0,0 +1,84 @@
|
|
|
1
|
+
import unittest
|
|
2
|
+
import inspect
|
|
3
|
+
import files_sdk
|
|
4
|
+
from tests.base import TestBase
|
|
5
|
+
from files_sdk.models import PartnerSiteRequest
|
|
6
|
+
from files_sdk import partner_site_request
|
|
7
|
+
|
|
8
|
+
class PartnerSiteRequestTest(TestBase):
|
|
9
|
+
pass
|
|
10
|
+
# Instance Methods
|
|
11
|
+
@unittest.skipUnless(TestBase.mock_server_path_exists("POST", "/partner_site_requests/{id}/reject"), "Mock path does not exist")
|
|
12
|
+
def test_reject(self):
|
|
13
|
+
params = {
|
|
14
|
+
"id" : 12345,
|
|
15
|
+
}
|
|
16
|
+
partner_site_request = PartnerSiteRequest(params)
|
|
17
|
+
partner_site_request.reject(params)
|
|
18
|
+
|
|
19
|
+
@unittest.skipUnless(TestBase.mock_server_path_exists("POST", "/partner_site_requests/{id}/approve"), "Mock path does not exist")
|
|
20
|
+
def test_approve(self):
|
|
21
|
+
params = {
|
|
22
|
+
"id" : 12345,
|
|
23
|
+
}
|
|
24
|
+
partner_site_request = PartnerSiteRequest(params)
|
|
25
|
+
partner_site_request.approve(params)
|
|
26
|
+
|
|
27
|
+
@unittest.skipUnless(TestBase.mock_server_path_exists("DELETE", "/partner_site_requests/{id}"), "Mock path does not exist")
|
|
28
|
+
def test_delete(self):
|
|
29
|
+
params = {
|
|
30
|
+
"id" : 12345,
|
|
31
|
+
}
|
|
32
|
+
partner_site_request = PartnerSiteRequest(params)
|
|
33
|
+
partner_site_request.delete(params)
|
|
34
|
+
|
|
35
|
+
# Alias of delete
|
|
36
|
+
def test_destroy(self):
|
|
37
|
+
pass
|
|
38
|
+
|
|
39
|
+
# Static Methods
|
|
40
|
+
@unittest.skipUnless(TestBase.mock_server_path_exists("GET", "/partner_site_requests"), "Mock path does not exist")
|
|
41
|
+
def test_list(self):
|
|
42
|
+
resp = partner_site_request.list()
|
|
43
|
+
|
|
44
|
+
@unittest.skipUnless(TestBase.mock_server_path_exists("GET", "/partner_site_requests/find_by_pairing_key"), "Mock path does not exist")
|
|
45
|
+
def test_find_by_pairing_key(self):
|
|
46
|
+
params = {
|
|
47
|
+
"pairing_key" : "foo",
|
|
48
|
+
}
|
|
49
|
+
partner_site_request.find_by_pairing_key(params)
|
|
50
|
+
|
|
51
|
+
@unittest.skipUnless(TestBase.mock_server_path_exists("POST", "/partner_site_requests"), "Mock path does not exist")
|
|
52
|
+
def test_create(self):
|
|
53
|
+
params = {
|
|
54
|
+
"partner_id" : 12345,
|
|
55
|
+
"site_url" : "foo",
|
|
56
|
+
}
|
|
57
|
+
partner_site_request.create(params)
|
|
58
|
+
|
|
59
|
+
@unittest.skipUnless(TestBase.mock_server_path_exists("POST", "/partner_site_requests/{id}/reject"), "Mock path does not exist")
|
|
60
|
+
def test_reject(self):
|
|
61
|
+
id = 12345
|
|
62
|
+
params = {
|
|
63
|
+
"id" : 12345,
|
|
64
|
+
}
|
|
65
|
+
partner_site_request.reject(id, params)
|
|
66
|
+
|
|
67
|
+
@unittest.skipUnless(TestBase.mock_server_path_exists("POST", "/partner_site_requests/{id}/approve"), "Mock path does not exist")
|
|
68
|
+
def test_approve(self):
|
|
69
|
+
id = 12345
|
|
70
|
+
params = {
|
|
71
|
+
"id" : 12345,
|
|
72
|
+
}
|
|
73
|
+
partner_site_request.approve(id, params)
|
|
74
|
+
|
|
75
|
+
@unittest.skipUnless(TestBase.mock_server_path_exists("DELETE", "/partner_site_requests/{id}"), "Mock path does not exist")
|
|
76
|
+
def test_delete(self):
|
|
77
|
+
id = 12345
|
|
78
|
+
params = {
|
|
79
|
+
"id" : 12345,
|
|
80
|
+
}
|
|
81
|
+
partner_site_request.delete(id, params)
|
|
82
|
+
|
|
83
|
+
if __name__ == '__main__':
|
|
84
|
+
unittest.main()
|
files_com-1.6.249/_VERSION
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
1.6.249
|
|
File without changes
|
|
File without changes
|
|
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.249 → files_com-1.6.251}/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
|