Files.com 1.6.174__tar.gz → 1.6.176__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.174/files_com.egg-info → files_com-1.6.176}/PKG-INFO +1 -1
- files_com-1.6.176/_VERSION +1 -0
- {files_com-1.6.174 → files_com-1.6.176/files_com.egg-info}/PKG-INFO +1 -1
- {files_com-1.6.174 → files_com-1.6.176}/files_sdk/__init__.py +1 -1
- {files_com-1.6.174 → files_com-1.6.176}/files_sdk/models/as2_incoming_message.py +3 -2
- {files_com-1.6.174 → files_com-1.6.176}/files_sdk/models/as2_outgoing_message.py +3 -2
- {files_com-1.6.174 → files_com-1.6.176}/files_sdk/models/as2_partner.py +3 -2
- {files_com-1.6.174 → files_com-1.6.176}/files_sdk/models/as2_station.py +15 -4
- {files_com-1.6.174 → files_com-1.6.176}/files_sdk/models/automation.py +3 -17
- {files_com-1.6.174 → files_com-1.6.176}/files_sdk/models/automation_run.py +1 -1
- {files_com-1.6.174 → files_com-1.6.176}/files_sdk/models/bundle.py +1 -1
- {files_com-1.6.174 → files_com-1.6.176}/files_sdk/models/gpg_key.py +7 -21
- {files_com-1.6.174 → files_com-1.6.176}/files_sdk/models/group.py +7 -21
- {files_com-1.6.174 → files_com-1.6.176}/files_sdk/models/partner.py +12 -1
- {files_com-1.6.174 → files_com-1.6.176}/files_sdk/models/public_key.py +3 -2
- {files_com-1.6.174 → files_com-1.6.176}/files_sdk/models/remote_server.py +10 -1
- {files_com-1.6.174 → files_com-1.6.176}/files_sdk/models/remote_server_credential.py +7 -21
- {files_com-1.6.174 → files_com-1.6.176}/files_sdk/models/sync.py +0 -14
- {files_com-1.6.174 → files_com-1.6.176}/files_sdk/models/user.py +10 -2
- {files_com-1.6.174 → files_com-1.6.176}/pyproject.toml +1 -1
- files_com-1.6.174/_VERSION +0 -1
- {files_com-1.6.174 → files_com-1.6.176}/LICENSE +0 -0
- {files_com-1.6.174 → files_com-1.6.176}/README.md +0 -0
- {files_com-1.6.174 → files_com-1.6.176}/files_com.egg-info/SOURCES.txt +0 -0
- {files_com-1.6.174 → files_com-1.6.176}/files_com.egg-info/dependency_links.txt +0 -0
- {files_com-1.6.174 → files_com-1.6.176}/files_com.egg-info/requires.txt +0 -0
- {files_com-1.6.174 → files_com-1.6.176}/files_com.egg-info/top_level.txt +0 -0
- {files_com-1.6.174 → files_com-1.6.176}/files_sdk/api.py +0 -0
- {files_com-1.6.174 → files_com-1.6.176}/files_sdk/api_client.py +0 -0
- {files_com-1.6.174 → files_com-1.6.176}/files_sdk/error.py +0 -0
- {files_com-1.6.174 → files_com-1.6.176}/files_sdk/list_obj.py +0 -0
- {files_com-1.6.174 → files_com-1.6.176}/files_sdk/models/__init__.py +0 -0
- {files_com-1.6.174 → files_com-1.6.176}/files_sdk/models/account_line_item.py +0 -0
- {files_com-1.6.174 → files_com-1.6.176}/files_sdk/models/action.py +0 -0
- {files_com-1.6.174 → files_com-1.6.176}/files_sdk/models/action_notification_export.py +0 -0
- {files_com-1.6.174 → files_com-1.6.176}/files_sdk/models/action_notification_export_result.py +0 -0
- {files_com-1.6.174 → files_com-1.6.176}/files_sdk/models/agent_push_update.py +0 -0
- {files_com-1.6.174 → files_com-1.6.176}/files_sdk/models/api_key.py +0 -0
- {files_com-1.6.174 → files_com-1.6.176}/files_sdk/models/api_request_log.py +0 -0
- {files_com-1.6.174 → files_com-1.6.176}/files_sdk/models/app.py +0 -0
- {files_com-1.6.174 → files_com-1.6.176}/files_sdk/models/auto.py +0 -0
- {files_com-1.6.174 → files_com-1.6.176}/files_sdk/models/automation_log.py +0 -0
- {files_com-1.6.174 → files_com-1.6.176}/files_sdk/models/bandwidth_snapshot.py +0 -0
- {files_com-1.6.174 → files_com-1.6.176}/files_sdk/models/behavior.py +0 -0
- {files_com-1.6.174 → files_com-1.6.176}/files_sdk/models/bundle_action.py +0 -0
- {files_com-1.6.174 → files_com-1.6.176}/files_sdk/models/bundle_download.py +0 -0
- {files_com-1.6.174 → files_com-1.6.176}/files_sdk/models/bundle_notification.py +0 -0
- {files_com-1.6.174 → files_com-1.6.176}/files_sdk/models/bundle_path.py +0 -0
- {files_com-1.6.174 → files_com-1.6.176}/files_sdk/models/bundle_recipient.py +0 -0
- {files_com-1.6.174 → files_com-1.6.176}/files_sdk/models/bundle_registration.py +0 -0
- {files_com-1.6.174 → files_com-1.6.176}/files_sdk/models/child_site_management_policy.py +0 -0
- {files_com-1.6.174 → files_com-1.6.176}/files_sdk/models/clickwrap.py +0 -0
- {files_com-1.6.174 → files_com-1.6.176}/files_sdk/models/dns_record.py +0 -0
- {files_com-1.6.174 → files_com-1.6.176}/files_sdk/models/email_incoming_message.py +0 -0
- {files_com-1.6.174 → files_com-1.6.176}/files_sdk/models/email_log.py +0 -0
- {files_com-1.6.174 → files_com-1.6.176}/files_sdk/models/errors.py +0 -0
- {files_com-1.6.174 → files_com-1.6.176}/files_sdk/models/exavault_api_request_log.py +0 -0
- {files_com-1.6.174 → files_com-1.6.176}/files_sdk/models/external_event.py +0 -0
- {files_com-1.6.174 → files_com-1.6.176}/files_sdk/models/file.py +0 -0
- {files_com-1.6.174 → files_com-1.6.176}/files_sdk/models/file_action.py +0 -0
- {files_com-1.6.174 → files_com-1.6.176}/files_sdk/models/file_comment.py +0 -0
- {files_com-1.6.174 → files_com-1.6.176}/files_sdk/models/file_comment_reaction.py +0 -0
- {files_com-1.6.174 → files_com-1.6.176}/files_sdk/models/file_migration.py +0 -0
- {files_com-1.6.174 → files_com-1.6.176}/files_sdk/models/file_migration_log.py +0 -0
- {files_com-1.6.174 → files_com-1.6.176}/files_sdk/models/file_upload_part.py +0 -0
- {files_com-1.6.174 → files_com-1.6.176}/files_sdk/models/folder.py +0 -0
- {files_com-1.6.174 → files_com-1.6.176}/files_sdk/models/form_field.py +0 -0
- {files_com-1.6.174 → files_com-1.6.176}/files_sdk/models/form_field_set.py +0 -0
- {files_com-1.6.174 → files_com-1.6.176}/files_sdk/models/ftp_action_log.py +0 -0
- {files_com-1.6.174 → files_com-1.6.176}/files_sdk/models/group_user.py +0 -0
- {files_com-1.6.174 → files_com-1.6.176}/files_sdk/models/history.py +0 -0
- {files_com-1.6.174 → files_com-1.6.176}/files_sdk/models/history_export.py +0 -0
- {files_com-1.6.174 → files_com-1.6.176}/files_sdk/models/history_export_result.py +0 -0
- {files_com-1.6.174 → files_com-1.6.176}/files_sdk/models/holiday_region.py +0 -0
- {files_com-1.6.174 → files_com-1.6.176}/files_sdk/models/image.py +0 -0
- {files_com-1.6.174 → files_com-1.6.176}/files_sdk/models/inbound_s3_log.py +0 -0
- {files_com-1.6.174 → files_com-1.6.176}/files_sdk/models/inbox_recipient.py +0 -0
- {files_com-1.6.174 → files_com-1.6.176}/files_sdk/models/inbox_registration.py +0 -0
- {files_com-1.6.174 → files_com-1.6.176}/files_sdk/models/inbox_upload.py +0 -0
- {files_com-1.6.174 → files_com-1.6.176}/files_sdk/models/invoice.py +0 -0
- {files_com-1.6.174 → files_com-1.6.176}/files_sdk/models/invoice_line_item.py +0 -0
- {files_com-1.6.174 → files_com-1.6.176}/files_sdk/models/ip_address.py +0 -0
- {files_com-1.6.174 → files_com-1.6.176}/files_sdk/models/key_lifecycle_rule.py +0 -0
- {files_com-1.6.174 → files_com-1.6.176}/files_sdk/models/lock.py +0 -0
- {files_com-1.6.174 → files_com-1.6.176}/files_sdk/models/message.py +0 -0
- {files_com-1.6.174 → files_com-1.6.176}/files_sdk/models/message_comment.py +0 -0
- {files_com-1.6.174 → files_com-1.6.176}/files_sdk/models/message_comment_reaction.py +0 -0
- {files_com-1.6.174 → files_com-1.6.176}/files_sdk/models/message_reaction.py +0 -0
- {files_com-1.6.174 → files_com-1.6.176}/files_sdk/models/notification.py +0 -0
- {files_com-1.6.174 → files_com-1.6.176}/files_sdk/models/outbound_connection_log.py +0 -0
- {files_com-1.6.174 → files_com-1.6.176}/files_sdk/models/payment.py +0 -0
- {files_com-1.6.174 → files_com-1.6.176}/files_sdk/models/payment_line_item.py +0 -0
- {files_com-1.6.174 → files_com-1.6.176}/files_sdk/models/permission.py +0 -0
- {files_com-1.6.174 → files_com-1.6.176}/files_sdk/models/preview.py +0 -0
- {files_com-1.6.174 → files_com-1.6.176}/files_sdk/models/priority.py +0 -0
- {files_com-1.6.174 → files_com-1.6.176}/files_sdk/models/project.py +0 -0
- {files_com-1.6.174 → files_com-1.6.176}/files_sdk/models/public_hosting_request_log.py +0 -0
- {files_com-1.6.174 → files_com-1.6.176}/files_sdk/models/public_ip_address.py +0 -0
- {files_com-1.6.174 → files_com-1.6.176}/files_sdk/models/remote_bandwidth_snapshot.py +0 -0
- {files_com-1.6.174 → files_com-1.6.176}/files_sdk/models/remote_mount_backend.py +0 -0
- {files_com-1.6.174 → files_com-1.6.176}/files_sdk/models/remote_server_configuration_file.py +0 -0
- {files_com-1.6.174 → files_com-1.6.176}/files_sdk/models/request.py +0 -0
- {files_com-1.6.174 → files_com-1.6.176}/files_sdk/models/restore.py +0 -0
- {files_com-1.6.174 → files_com-1.6.176}/files_sdk/models/scim_log.py +0 -0
- {files_com-1.6.174 → files_com-1.6.176}/files_sdk/models/session.py +0 -0
- {files_com-1.6.174 → files_com-1.6.176}/files_sdk/models/settings_change.py +0 -0
- {files_com-1.6.174 → files_com-1.6.176}/files_sdk/models/sftp_action_log.py +0 -0
- {files_com-1.6.174 → files_com-1.6.176}/files_sdk/models/sftp_host_key.py +0 -0
- {files_com-1.6.174 → files_com-1.6.176}/files_sdk/models/share_group.py +0 -0
- {files_com-1.6.174 → files_com-1.6.176}/files_sdk/models/share_group_member.py +0 -0
- {files_com-1.6.174 → files_com-1.6.176}/files_sdk/models/siem_http_destination.py +0 -0
- {files_com-1.6.174 → files_com-1.6.176}/files_sdk/models/site.py +0 -0
- {files_com-1.6.174 → files_com-1.6.176}/files_sdk/models/snapshot.py +0 -0
- {files_com-1.6.174 → files_com-1.6.176}/files_sdk/models/sso_strategy.py +0 -0
- {files_com-1.6.174 → files_com-1.6.176}/files_sdk/models/status.py +0 -0
- {files_com-1.6.174 → files_com-1.6.176}/files_sdk/models/style.py +0 -0
- {files_com-1.6.174 → files_com-1.6.176}/files_sdk/models/sync_log.py +0 -0
- {files_com-1.6.174 → files_com-1.6.176}/files_sdk/models/sync_run.py +0 -0
- {files_com-1.6.174 → files_com-1.6.176}/files_sdk/models/usage_by_top_level_dir.py +0 -0
- {files_com-1.6.174 → files_com-1.6.176}/files_sdk/models/usage_daily_snapshot.py +0 -0
- {files_com-1.6.174 → files_com-1.6.176}/files_sdk/models/usage_snapshot.py +0 -0
- {files_com-1.6.174 → files_com-1.6.176}/files_sdk/models/user_cipher_use.py +0 -0
- {files_com-1.6.174 → files_com-1.6.176}/files_sdk/models/user_lifecycle_rule.py +0 -0
- {files_com-1.6.174 → files_com-1.6.176}/files_sdk/models/user_request.py +0 -0
- {files_com-1.6.174 → files_com-1.6.176}/files_sdk/models/user_sftp_client_use.py +0 -0
- {files_com-1.6.174 → files_com-1.6.176}/files_sdk/models/web_dav_action_log.py +0 -0
- {files_com-1.6.174 → files_com-1.6.176}/files_sdk/models/webhook_test.py +0 -0
- {files_com-1.6.174 → files_com-1.6.176}/files_sdk/models/workspace.py +0 -0
- {files_com-1.6.174 → files_com-1.6.176}/files_sdk/path_util.py +0 -0
- {files_com-1.6.174 → files_com-1.6.176}/files_sdk/util.py +0 -0
- {files_com-1.6.174 → files_com-1.6.176}/setup.cfg +0 -0
- {files_com-1.6.174 → files_com-1.6.176}/tests/test_account_line_item.py +0 -0
- {files_com-1.6.174 → files_com-1.6.176}/tests/test_action.py +0 -0
- {files_com-1.6.174 → files_com-1.6.176}/tests/test_action_notification_export.py +0 -0
- {files_com-1.6.174 → files_com-1.6.176}/tests/test_action_notification_export_result.py +0 -0
- {files_com-1.6.174 → files_com-1.6.176}/tests/test_agent_push_update.py +0 -0
- {files_com-1.6.174 → files_com-1.6.176}/tests/test_api_errors.py +0 -0
- {files_com-1.6.174 → files_com-1.6.176}/tests/test_api_key.py +0 -0
- {files_com-1.6.174 → files_com-1.6.176}/tests/test_api_request_log.py +0 -0
- {files_com-1.6.174 → files_com-1.6.176}/tests/test_app.py +0 -0
- {files_com-1.6.174 → files_com-1.6.176}/tests/test_as2_incoming_message.py +0 -0
- {files_com-1.6.174 → files_com-1.6.176}/tests/test_as2_outgoing_message.py +0 -0
- {files_com-1.6.174 → files_com-1.6.176}/tests/test_as2_partner.py +0 -0
- {files_com-1.6.174 → files_com-1.6.176}/tests/test_as2_station.py +0 -0
- {files_com-1.6.174 → files_com-1.6.176}/tests/test_auto.py +0 -0
- {files_com-1.6.174 → files_com-1.6.176}/tests/test_automation.py +0 -0
- {files_com-1.6.174 → files_com-1.6.176}/tests/test_automation_log.py +0 -0
- {files_com-1.6.174 → files_com-1.6.176}/tests/test_automation_run.py +0 -0
- {files_com-1.6.174 → files_com-1.6.176}/tests/test_bandwidth_snapshot.py +0 -0
- {files_com-1.6.174 → files_com-1.6.176}/tests/test_behavior.py +0 -0
- {files_com-1.6.174 → files_com-1.6.176}/tests/test_bundle.py +0 -0
- {files_com-1.6.174 → files_com-1.6.176}/tests/test_bundle_action.py +0 -0
- {files_com-1.6.174 → files_com-1.6.176}/tests/test_bundle_download.py +0 -0
- {files_com-1.6.174 → files_com-1.6.176}/tests/test_bundle_notification.py +0 -0
- {files_com-1.6.174 → files_com-1.6.176}/tests/test_bundle_path.py +0 -0
- {files_com-1.6.174 → files_com-1.6.176}/tests/test_bundle_recipient.py +0 -0
- {files_com-1.6.174 → files_com-1.6.176}/tests/test_bundle_registration.py +0 -0
- {files_com-1.6.174 → files_com-1.6.176}/tests/test_child_site_management_policy.py +0 -0
- {files_com-1.6.174 → files_com-1.6.176}/tests/test_clickwrap.py +0 -0
- {files_com-1.6.174 → files_com-1.6.176}/tests/test_connection_adapter.py +0 -0
- {files_com-1.6.174 → files_com-1.6.176}/tests/test_dns_record.py +0 -0
- {files_com-1.6.174 → files_com-1.6.176}/tests/test_email_incoming_message.py +0 -0
- {files_com-1.6.174 → files_com-1.6.176}/tests/test_email_log.py +0 -0
- {files_com-1.6.174 → files_com-1.6.176}/tests/test_errors.py +0 -0
- {files_com-1.6.174 → files_com-1.6.176}/tests/test_exavault_api_request_log.py +0 -0
- {files_com-1.6.174 → files_com-1.6.176}/tests/test_external_event.py +0 -0
- {files_com-1.6.174 → files_com-1.6.176}/tests/test_file.py +0 -0
- {files_com-1.6.174 → files_com-1.6.176}/tests/test_file_action.py +0 -0
- {files_com-1.6.174 → files_com-1.6.176}/tests/test_file_comment.py +0 -0
- {files_com-1.6.174 → files_com-1.6.176}/tests/test_file_comment_reaction.py +0 -0
- {files_com-1.6.174 → files_com-1.6.176}/tests/test_file_migration.py +0 -0
- {files_com-1.6.174 → files_com-1.6.176}/tests/test_file_migration_log.py +0 -0
- {files_com-1.6.174 → files_com-1.6.176}/tests/test_file_upload_part.py +0 -0
- {files_com-1.6.174 → files_com-1.6.176}/tests/test_folder.py +0 -0
- {files_com-1.6.174 → files_com-1.6.176}/tests/test_form_field.py +0 -0
- {files_com-1.6.174 → files_com-1.6.176}/tests/test_form_field_set.py +0 -0
- {files_com-1.6.174 → files_com-1.6.176}/tests/test_ftp_action_log.py +0 -0
- {files_com-1.6.174 → files_com-1.6.176}/tests/test_gpg_key.py +0 -0
- {files_com-1.6.174 → files_com-1.6.176}/tests/test_group.py +0 -0
- {files_com-1.6.174 → files_com-1.6.176}/tests/test_group_user.py +0 -0
- {files_com-1.6.174 → files_com-1.6.176}/tests/test_history.py +0 -0
- {files_com-1.6.174 → files_com-1.6.176}/tests/test_history_export.py +0 -0
- {files_com-1.6.174 → files_com-1.6.176}/tests/test_history_export_result.py +0 -0
- {files_com-1.6.174 → files_com-1.6.176}/tests/test_holiday_region.py +0 -0
- {files_com-1.6.174 → files_com-1.6.176}/tests/test_image.py +0 -0
- {files_com-1.6.174 → files_com-1.6.176}/tests/test_inbound_s3_log.py +0 -0
- {files_com-1.6.174 → files_com-1.6.176}/tests/test_inbox_recipient.py +0 -0
- {files_com-1.6.174 → files_com-1.6.176}/tests/test_inbox_registration.py +0 -0
- {files_com-1.6.174 → files_com-1.6.176}/tests/test_inbox_upload.py +0 -0
- {files_com-1.6.174 → files_com-1.6.176}/tests/test_invoice.py +0 -0
- {files_com-1.6.174 → files_com-1.6.176}/tests/test_invoice_line_item.py +0 -0
- {files_com-1.6.174 → files_com-1.6.176}/tests/test_ip_address.py +0 -0
- {files_com-1.6.174 → files_com-1.6.176}/tests/test_key_lifecycle_rule.py +0 -0
- {files_com-1.6.174 → files_com-1.6.176}/tests/test_lock.py +0 -0
- {files_com-1.6.174 → files_com-1.6.176}/tests/test_message.py +0 -0
- {files_com-1.6.174 → files_com-1.6.176}/tests/test_message_comment.py +0 -0
- {files_com-1.6.174 → files_com-1.6.176}/tests/test_message_comment_reaction.py +0 -0
- {files_com-1.6.174 → files_com-1.6.176}/tests/test_message_reaction.py +0 -0
- {files_com-1.6.174 → files_com-1.6.176}/tests/test_notification.py +0 -0
- {files_com-1.6.174 → files_com-1.6.176}/tests/test_outbound_connection_log.py +0 -0
- {files_com-1.6.174 → files_com-1.6.176}/tests/test_partner.py +0 -0
- {files_com-1.6.174 → files_com-1.6.176}/tests/test_path_util.py +0 -0
- {files_com-1.6.174 → files_com-1.6.176}/tests/test_payment.py +0 -0
- {files_com-1.6.174 → files_com-1.6.176}/tests/test_payment_line_item.py +0 -0
- {files_com-1.6.174 → files_com-1.6.176}/tests/test_permission.py +0 -0
- {files_com-1.6.174 → files_com-1.6.176}/tests/test_preview.py +0 -0
- {files_com-1.6.174 → files_com-1.6.176}/tests/test_priority.py +0 -0
- {files_com-1.6.174 → files_com-1.6.176}/tests/test_project.py +0 -0
- {files_com-1.6.174 → files_com-1.6.176}/tests/test_public_hosting_request_log.py +0 -0
- {files_com-1.6.174 → files_com-1.6.176}/tests/test_public_ip_address.py +0 -0
- {files_com-1.6.174 → files_com-1.6.176}/tests/test_public_key.py +0 -0
- {files_com-1.6.174 → files_com-1.6.176}/tests/test_remote_bandwidth_snapshot.py +0 -0
- {files_com-1.6.174 → files_com-1.6.176}/tests/test_remote_mount_backend.py +0 -0
- {files_com-1.6.174 → files_com-1.6.176}/tests/test_remote_server.py +0 -0
- {files_com-1.6.174 → files_com-1.6.176}/tests/test_remote_server_configuration_file.py +0 -0
- {files_com-1.6.174 → files_com-1.6.176}/tests/test_remote_server_credential.py +0 -0
- {files_com-1.6.174 → files_com-1.6.176}/tests/test_request.py +0 -0
- {files_com-1.6.174 → files_com-1.6.176}/tests/test_restore.py +0 -0
- {files_com-1.6.174 → files_com-1.6.176}/tests/test_scim_log.py +0 -0
- {files_com-1.6.174 → files_com-1.6.176}/tests/test_session.py +0 -0
- {files_com-1.6.174 → files_com-1.6.176}/tests/test_settings_change.py +0 -0
- {files_com-1.6.174 → files_com-1.6.176}/tests/test_sftp_action_log.py +0 -0
- {files_com-1.6.174 → files_com-1.6.176}/tests/test_sftp_host_key.py +0 -0
- {files_com-1.6.174 → files_com-1.6.176}/tests/test_share_group.py +0 -0
- {files_com-1.6.174 → files_com-1.6.176}/tests/test_share_group_member.py +0 -0
- {files_com-1.6.174 → files_com-1.6.176}/tests/test_siem_http_destination.py +0 -0
- {files_com-1.6.174 → files_com-1.6.176}/tests/test_site.py +0 -0
- {files_com-1.6.174 → files_com-1.6.176}/tests/test_snapshot.py +0 -0
- {files_com-1.6.174 → files_com-1.6.176}/tests/test_sso_strategy.py +0 -0
- {files_com-1.6.174 → files_com-1.6.176}/tests/test_status.py +0 -0
- {files_com-1.6.174 → files_com-1.6.176}/tests/test_style.py +0 -0
- {files_com-1.6.174 → files_com-1.6.176}/tests/test_sync.py +0 -0
- {files_com-1.6.174 → files_com-1.6.176}/tests/test_sync_log.py +0 -0
- {files_com-1.6.174 → files_com-1.6.176}/tests/test_sync_run.py +0 -0
- {files_com-1.6.174 → files_com-1.6.176}/tests/test_usage_by_top_level_dir.py +0 -0
- {files_com-1.6.174 → files_com-1.6.176}/tests/test_usage_daily_snapshot.py +0 -0
- {files_com-1.6.174 → files_com-1.6.176}/tests/test_usage_snapshot.py +0 -0
- {files_com-1.6.174 → files_com-1.6.176}/tests/test_user.py +0 -0
- {files_com-1.6.174 → files_com-1.6.176}/tests/test_user_cipher_use.py +0 -0
- {files_com-1.6.174 → files_com-1.6.176}/tests/test_user_lifecycle_rule.py +0 -0
- {files_com-1.6.174 → files_com-1.6.176}/tests/test_user_request.py +0 -0
- {files_com-1.6.174 → files_com-1.6.176}/tests/test_user_sftp_client_use.py +0 -0
- {files_com-1.6.174 → files_com-1.6.176}/tests/test_web_dav_action_log.py +0 -0
- {files_com-1.6.174 → files_com-1.6.176}/tests/test_webhook_test.py +0 -0
- {files_com-1.6.174 → files_com-1.6.176}/tests/test_workspace.py +0 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
1.6.176
|
|
@@ -11,6 +11,7 @@ from files_sdk.error import ( # noqa: F401
|
|
|
11
11
|
class As2IncomingMessage:
|
|
12
12
|
default_attributes = {
|
|
13
13
|
"id": None, # int64 - Id of the AS2 Partner.
|
|
14
|
+
"workspace_id": None, # int64 - ID of the Workspace associated with this AS2 Incoming Message.
|
|
14
15
|
"as2_partner_id": None, # int64 - Id of the AS2 Partner associated with this message.
|
|
15
16
|
"as2_station_id": None, # int64 - Id of the AS2 Station associated with this message.
|
|
16
17
|
"uuid": None, # string - UUID assigned to this message.
|
|
@@ -72,8 +73,8 @@ class As2IncomingMessage:
|
|
|
72
73
|
# Parameters:
|
|
73
74
|
# 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.
|
|
74
75
|
# per_page - int64 - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
|
|
75
|
-
# sort_by - object - If set, sort records by the specified field in either `asc` or `desc` direction. Valid fields are `created_at`
|
|
76
|
-
# filter - object - If set, return records where the specified field is equal to the supplied value. Valid fields are `created_at`, `as2_station_id` or `as2_partner_id`. Valid field combinations are `[ as2_station_id, created_at ]`
|
|
76
|
+
# sort_by - object - If set, sort records by the specified field in either `asc` or `desc` direction. Valid fields are `workspace_id`, `created_at` or `as2_partner_id`.
|
|
77
|
+
# filter - object - If set, return records where the specified field is equal to the supplied value. Valid fields are `created_at`, `as2_station_id`, `workspace_id` or `as2_partner_id`. Valid field combinations are `[ as2_station_id, created_at ]`, `[ workspace_id, created_at ]`, `[ as2_partner_id, created_at ]`, `[ workspace_id, as2_station_id ]`, `[ workspace_id, as2_partner_id ]`, `[ workspace_id, as2_station_id, created_at ]` or `[ workspace_id, as2_partner_id, created_at ]`.
|
|
77
78
|
# filter_gt - object - If set, return records where the specified field is greater than the supplied value. Valid fields are `created_at`.
|
|
78
79
|
# filter_gteq - object - If set, return records where the specified field is greater than or equal the supplied value. Valid fields are `created_at`.
|
|
79
80
|
# filter_lt - object - If set, return records where the specified field is less than the supplied value. Valid fields are `created_at`.
|
|
@@ -11,6 +11,7 @@ from files_sdk.error import ( # noqa: F401
|
|
|
11
11
|
class As2OutgoingMessage:
|
|
12
12
|
default_attributes = {
|
|
13
13
|
"id": None, # int64 - Id of the AS2 Partner.
|
|
14
|
+
"workspace_id": None, # int64 - ID of the Workspace associated with this AS2 Outgoing Message.
|
|
14
15
|
"as2_partner_id": None, # int64 - Id of the AS2 Partner associated with this message.
|
|
15
16
|
"as2_station_id": None, # int64 - Id of the AS2 Station associated with this message.
|
|
16
17
|
"uuid": None, # string - UUID assigned to this message.
|
|
@@ -68,8 +69,8 @@ class As2OutgoingMessage:
|
|
|
68
69
|
# Parameters:
|
|
69
70
|
# 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.
|
|
70
71
|
# per_page - int64 - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
|
|
71
|
-
# sort_by - object - If set, sort records by the specified field in either `asc` or `desc` direction. Valid fields are `created_at`
|
|
72
|
-
# filter - object - If set, return records where the specified field is equal to the supplied value. Valid fields are `created_at`, `as2_station_id` or `as2_partner_id`. Valid field combinations are `[ as2_station_id, created_at ]`
|
|
72
|
+
# sort_by - object - If set, sort records by the specified field in either `asc` or `desc` direction. Valid fields are `workspace_id`, `created_at` or `as2_partner_id`.
|
|
73
|
+
# filter - object - If set, return records where the specified field is equal to the supplied value. Valid fields are `created_at`, `as2_station_id`, `workspace_id` or `as2_partner_id`. Valid field combinations are `[ as2_station_id, created_at ]`, `[ workspace_id, created_at ]`, `[ as2_partner_id, created_at ]`, `[ workspace_id, as2_station_id ]`, `[ workspace_id, as2_partner_id ]`, `[ workspace_id, as2_station_id, created_at ]` or `[ workspace_id, as2_partner_id, created_at ]`.
|
|
73
74
|
# filter_gt - object - If set, return records where the specified field is greater than the supplied value. Valid fields are `created_at`.
|
|
74
75
|
# filter_gteq - object - If set, return records where the specified field is greater than or equal the supplied value. Valid fields are `created_at`.
|
|
75
76
|
# filter_lt - object - If set, return records where the specified field is less than the supplied value. Valid fields are `created_at`.
|
|
@@ -11,6 +11,7 @@ from files_sdk.error import ( # noqa: F401
|
|
|
11
11
|
class As2Partner:
|
|
12
12
|
default_attributes = {
|
|
13
13
|
"id": None, # int64 - ID of the AS2 Partner.
|
|
14
|
+
"workspace_id": None, # int64 - ID of the Workspace associated with this AS2 Partner.
|
|
14
15
|
"as2_station_id": None, # int64 - ID of the AS2 Station associated with this partner.
|
|
15
16
|
"name": None, # string - The partner's formal AS2 name.
|
|
16
17
|
"uri": None, # string - Public URI where we will send the AS2 messages (via HTTP/HTTPS).
|
|
@@ -165,8 +166,8 @@ class As2Partner:
|
|
|
165
166
|
# Parameters:
|
|
166
167
|
# 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.
|
|
167
168
|
# per_page - int64 - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
|
|
168
|
-
# sort_by - object - If set, sort records by the specified field in either `asc` or `desc` direction. Valid fields are `as2_station_id`
|
|
169
|
-
# filter - object - If set, return records where the specified field is equal to the supplied value. Valid fields are `as2_station_id`.
|
|
169
|
+
# sort_by - object - If set, sort records by the specified field in either `asc` or `desc` direction. Valid fields are `workspace_id`, `as2_station_id` or `name`.
|
|
170
|
+
# filter - object - If set, return records where the specified field is equal to the supplied value. Valid fields are `as2_station_id` and `workspace_id`. Valid field combinations are `[ workspace_id, as2_station_id ]`.
|
|
170
171
|
def list(params=None, options=None):
|
|
171
172
|
if not isinstance(params, dict):
|
|
172
173
|
params = {}
|
|
@@ -11,6 +11,7 @@ from files_sdk.error import ( # noqa: F401
|
|
|
11
11
|
class As2Station:
|
|
12
12
|
default_attributes = {
|
|
13
13
|
"id": None, # int64 - Id of the AS2 Station.
|
|
14
|
+
"workspace_id": None, # int64 - ID of the Workspace associated with this AS2 Station.
|
|
14
15
|
"name": None, # string - The station's formal AS2 name.
|
|
15
16
|
"uri": None, # string - Public URI for sending AS2 message to.
|
|
16
17
|
"domain": None, # string - The station's AS2 domain name.
|
|
@@ -48,7 +49,7 @@ class As2Station:
|
|
|
48
49
|
}
|
|
49
50
|
|
|
50
51
|
# Parameters:
|
|
51
|
-
# name - string - AS2
|
|
52
|
+
# name - string - The station's formal AS2 name.
|
|
52
53
|
# public_certificate - string
|
|
53
54
|
# private_key - string
|
|
54
55
|
# private_key_password - string
|
|
@@ -128,7 +129,8 @@ class As2Station:
|
|
|
128
129
|
# Parameters:
|
|
129
130
|
# 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.
|
|
130
131
|
# per_page - int64 - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
|
|
131
|
-
# sort_by - object - If set, sort records by the specified field in either `asc` or `desc` direction. Valid fields are `name`.
|
|
132
|
+
# sort_by - object - If set, sort records by the specified field in either `asc` or `desc` direction. Valid fields are `workspace_id` and `name`.
|
|
133
|
+
# filter - object - If set, return records where the specified field is equal to the supplied value. Valid fields are `workspace_id`.
|
|
132
134
|
def list(params=None, options=None):
|
|
133
135
|
if not isinstance(params, dict):
|
|
134
136
|
params = {}
|
|
@@ -140,6 +142,8 @@ def list(params=None, options=None):
|
|
|
140
142
|
raise InvalidParameterError("Bad parameter: per_page must be an int")
|
|
141
143
|
if "sort_by" in params and not isinstance(params["sort_by"], dict):
|
|
142
144
|
raise InvalidParameterError("Bad parameter: sort_by must be an dict")
|
|
145
|
+
if "filter" in params and not isinstance(params["filter"], dict):
|
|
146
|
+
raise InvalidParameterError("Bad parameter: filter must be an dict")
|
|
143
147
|
return ListObj(As2Station, "GET", "/as2_stations", params, options)
|
|
144
148
|
|
|
145
149
|
|
|
@@ -170,7 +174,8 @@ def get(id, params=None, options=None):
|
|
|
170
174
|
|
|
171
175
|
|
|
172
176
|
# Parameters:
|
|
173
|
-
# name (required) - string - AS2
|
|
177
|
+
# name (required) - string - The station's formal AS2 name.
|
|
178
|
+
# workspace_id - int64 - ID of the Workspace associated with this AS2 Station.
|
|
174
179
|
# public_certificate (required) - string
|
|
175
180
|
# private_key (required) - string
|
|
176
181
|
# private_key_password - string
|
|
@@ -181,6 +186,12 @@ def create(params=None, options=None):
|
|
|
181
186
|
options = {}
|
|
182
187
|
if "name" in params and not isinstance(params["name"], str):
|
|
183
188
|
raise InvalidParameterError("Bad parameter: name must be an str")
|
|
189
|
+
if "workspace_id" in params and not isinstance(
|
|
190
|
+
params["workspace_id"], int
|
|
191
|
+
):
|
|
192
|
+
raise InvalidParameterError(
|
|
193
|
+
"Bad parameter: workspace_id must be an int"
|
|
194
|
+
)
|
|
184
195
|
if "public_certificate" in params and not isinstance(
|
|
185
196
|
params["public_certificate"], str
|
|
186
197
|
):
|
|
@@ -210,7 +221,7 @@ def create(params=None, options=None):
|
|
|
210
221
|
|
|
211
222
|
|
|
212
223
|
# Parameters:
|
|
213
|
-
# name - string - AS2
|
|
224
|
+
# name - string - The station's formal AS2 name.
|
|
214
225
|
# public_certificate - string
|
|
215
226
|
# private_key - string
|
|
216
227
|
# private_key_password - string
|
|
@@ -125,7 +125,6 @@ class Automation:
|
|
|
125
125
|
# trigger_actions - array(string) - If trigger is `action`, this is the list of action types on which to trigger the automation. Valid actions are create, read, update, destroy, move, archived_delete, copy
|
|
126
126
|
# value - object - A Hash of attributes specific to the automation type.
|
|
127
127
|
# recurring_day - int64 - If trigger type is `daily`, this specifies a day number to run in one of the supported intervals: `week`, `month`, `quarter`, `year`.
|
|
128
|
-
# workspace_id - int64 - Workspace ID
|
|
129
128
|
# automation - string - Automation type
|
|
130
129
|
def update(self, params=None):
|
|
131
130
|
if not isinstance(params, dict):
|
|
@@ -264,12 +263,6 @@ class Automation:
|
|
|
264
263
|
raise InvalidParameterError(
|
|
265
264
|
"Bad parameter: recurring_day must be an int"
|
|
266
265
|
)
|
|
267
|
-
if "workspace_id" in params and not isinstance(
|
|
268
|
-
params["workspace_id"], int
|
|
269
|
-
):
|
|
270
|
-
raise InvalidParameterError(
|
|
271
|
-
"Bad parameter: workspace_id must be an int"
|
|
272
|
-
)
|
|
273
266
|
if "automation" in params and not isinstance(
|
|
274
267
|
params["automation"], str
|
|
275
268
|
):
|
|
@@ -413,8 +406,8 @@ def get(id, params=None, options=None):
|
|
|
413
406
|
# trigger_actions - array(string) - If trigger is `action`, this is the list of action types on which to trigger the automation. Valid actions are create, read, update, destroy, move, archived_delete, copy
|
|
414
407
|
# value - object - A Hash of attributes specific to the automation type.
|
|
415
408
|
# recurring_day - int64 - If trigger type is `daily`, this specifies a day number to run in one of the supported intervals: `week`, `month`, `quarter`, `year`.
|
|
416
|
-
# workspace_id - int64 - Workspace ID
|
|
417
409
|
# automation (required) - string - Automation type
|
|
410
|
+
# workspace_id - int64 - Workspace ID
|
|
418
411
|
def create(params=None, options=None):
|
|
419
412
|
if not isinstance(params, dict):
|
|
420
413
|
params = {}
|
|
@@ -570,14 +563,14 @@ def create(params=None, options=None):
|
|
|
570
563
|
raise InvalidParameterError(
|
|
571
564
|
"Bad parameter: recurring_day must be an int"
|
|
572
565
|
)
|
|
566
|
+
if "automation" in params and not isinstance(params["automation"], str):
|
|
567
|
+
raise InvalidParameterError("Bad parameter: automation must be an str")
|
|
573
568
|
if "workspace_id" in params and not isinstance(
|
|
574
569
|
params["workspace_id"], int
|
|
575
570
|
):
|
|
576
571
|
raise InvalidParameterError(
|
|
577
572
|
"Bad parameter: workspace_id must be an int"
|
|
578
573
|
)
|
|
579
|
-
if "automation" in params and not isinstance(params["automation"], str):
|
|
580
|
-
raise InvalidParameterError("Bad parameter: automation must be an str")
|
|
581
574
|
if "automation" not in params:
|
|
582
575
|
raise MissingParameterError("Parameter missing: automation")
|
|
583
576
|
response, options = Api.send_request(
|
|
@@ -638,7 +631,6 @@ def manual_run(id, params=None, options=None):
|
|
|
638
631
|
# trigger_actions - array(string) - If trigger is `action`, this is the list of action types on which to trigger the automation. Valid actions are create, read, update, destroy, move, archived_delete, copy
|
|
639
632
|
# value - object - A Hash of attributes specific to the automation type.
|
|
640
633
|
# recurring_day - int64 - If trigger type is `daily`, this specifies a day number to run in one of the supported intervals: `week`, `month`, `quarter`, `year`.
|
|
641
|
-
# workspace_id - int64 - Workspace ID
|
|
642
634
|
# automation - string - Automation type
|
|
643
635
|
def update(id, params=None, options=None):
|
|
644
636
|
if not isinstance(params, dict):
|
|
@@ -798,12 +790,6 @@ def update(id, params=None, options=None):
|
|
|
798
790
|
raise InvalidParameterError(
|
|
799
791
|
"Bad parameter: recurring_day must be an int"
|
|
800
792
|
)
|
|
801
|
-
if "workspace_id" in params and not isinstance(
|
|
802
|
-
params["workspace_id"], int
|
|
803
|
-
):
|
|
804
|
-
raise InvalidParameterError(
|
|
805
|
-
"Bad parameter: workspace_id must be an int"
|
|
806
|
-
)
|
|
807
793
|
if "automation" in params and not isinstance(params["automation"], str):
|
|
808
794
|
raise InvalidParameterError("Bad parameter: automation must be an str")
|
|
809
795
|
if "id" not in params:
|
|
@@ -54,7 +54,7 @@ class AutomationRun:
|
|
|
54
54
|
# 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.
|
|
55
55
|
# per_page - int64 - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
|
|
56
56
|
# sort_by - object - If set, sort records by the specified field in either `asc` or `desc` direction. Valid fields are `automation_id`, `created_at` or `status`.
|
|
57
|
-
# filter - object - If set, return records where the specified field is equal to the supplied value. Valid fields are `status`, `workspace_id` or `automation_id`. Valid field combinations are `[
|
|
57
|
+
# filter - object - If set, return records where the specified field is equal to the supplied value. Valid fields are `status`, `workspace_id` or `automation_id`. Valid field combinations are `[ automation_id, status ]`, `[ workspace_id, automation_id ]` or `[ workspace_id, automation_id, status ]`.
|
|
58
58
|
# automation_id (required) - int64 - ID of the associated Automation.
|
|
59
59
|
def list(params=None, options=None):
|
|
60
60
|
if not isinstance(params, dict):
|
|
@@ -269,7 +269,7 @@ class Bundle:
|
|
|
269
269
|
# 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.
|
|
270
270
|
# per_page - int64 - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
|
|
271
271
|
# sort_by - object - If set, sort records by the specified field in either `asc` or `desc` direction. Valid fields are `expires_at`.
|
|
272
|
-
# 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,
|
|
272
|
+
# 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 ]`.
|
|
273
273
|
# 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`.
|
|
274
274
|
# 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`.
|
|
275
275
|
# filter_prefix - object - If set, return records where the specified field is prefixed by the supplied value. Valid fields are `code`.
|
|
@@ -52,7 +52,6 @@ class GpgKey:
|
|
|
52
52
|
|
|
53
53
|
# Parameters:
|
|
54
54
|
# partner_id - int64 - Partner ID who owns this GPG Key, if applicable.
|
|
55
|
-
# workspace_id - int64 - Workspace ID (0 for default workspace).
|
|
56
55
|
# public_key - string - The GPG public key
|
|
57
56
|
# private_key - string - The GPG private key
|
|
58
57
|
# private_key_password - string - The GPG private key password
|
|
@@ -75,12 +74,6 @@ class GpgKey:
|
|
|
75
74
|
raise InvalidParameterError(
|
|
76
75
|
"Bad parameter: partner_id must be an int"
|
|
77
76
|
)
|
|
78
|
-
if "workspace_id" in params and not isinstance(
|
|
79
|
-
params["workspace_id"], int
|
|
80
|
-
):
|
|
81
|
-
raise InvalidParameterError(
|
|
82
|
-
"Bad parameter: workspace_id must be an int"
|
|
83
|
-
)
|
|
84
77
|
if "public_key" in params and not isinstance(
|
|
85
78
|
params["public_key"], str
|
|
86
79
|
):
|
|
@@ -211,11 +204,11 @@ def get(id, params=None, options=None):
|
|
|
211
204
|
# Parameters:
|
|
212
205
|
# user_id - int64 - User ID. Provide a value of `0` to operate the current session's user.
|
|
213
206
|
# partner_id - int64 - Partner ID who owns this GPG Key, if applicable.
|
|
214
|
-
# workspace_id - int64 - Workspace ID (0 for default workspace).
|
|
215
207
|
# public_key - string - The GPG public key
|
|
216
208
|
# private_key - string - The GPG private key
|
|
217
209
|
# private_key_password - string - The GPG private key password
|
|
218
210
|
# name (required) - string - GPG key name.
|
|
211
|
+
# workspace_id - int64 - Workspace ID (0 for default workspace).
|
|
219
212
|
# generate_expires_at - string - Expiration date of the key. Used for the generation of the key. Will be ignored if `generate_keypair` is false.
|
|
220
213
|
# generate_keypair - boolean - If true, generate a new GPG key pair. Can not be used with `public_key`/`private_key`
|
|
221
214
|
# generate_full_name - string - Full name of the key owner. Used for the generation of the key. Will be ignored if `generate_keypair` is false.
|
|
@@ -229,12 +222,6 @@ def create(params=None, options=None):
|
|
|
229
222
|
raise InvalidParameterError("Bad parameter: user_id must be an int")
|
|
230
223
|
if "partner_id" in params and not isinstance(params["partner_id"], int):
|
|
231
224
|
raise InvalidParameterError("Bad parameter: partner_id must be an int")
|
|
232
|
-
if "workspace_id" in params and not isinstance(
|
|
233
|
-
params["workspace_id"], int
|
|
234
|
-
):
|
|
235
|
-
raise InvalidParameterError(
|
|
236
|
-
"Bad parameter: workspace_id must be an int"
|
|
237
|
-
)
|
|
238
225
|
if "public_key" in params and not isinstance(params["public_key"], str):
|
|
239
226
|
raise InvalidParameterError("Bad parameter: public_key must be an str")
|
|
240
227
|
if "private_key" in params and not isinstance(params["private_key"], str):
|
|
@@ -249,6 +236,12 @@ def create(params=None, options=None):
|
|
|
249
236
|
)
|
|
250
237
|
if "name" in params and not isinstance(params["name"], str):
|
|
251
238
|
raise InvalidParameterError("Bad parameter: name must be an str")
|
|
239
|
+
if "workspace_id" in params and not isinstance(
|
|
240
|
+
params["workspace_id"], int
|
|
241
|
+
):
|
|
242
|
+
raise InvalidParameterError(
|
|
243
|
+
"Bad parameter: workspace_id must be an int"
|
|
244
|
+
)
|
|
252
245
|
if "generate_expires_at" in params and not isinstance(
|
|
253
246
|
params["generate_expires_at"], str
|
|
254
247
|
):
|
|
@@ -281,7 +274,6 @@ def create(params=None, options=None):
|
|
|
281
274
|
|
|
282
275
|
# Parameters:
|
|
283
276
|
# partner_id - int64 - Partner ID who owns this GPG Key, if applicable.
|
|
284
|
-
# workspace_id - int64 - Workspace ID (0 for default workspace).
|
|
285
277
|
# public_key - string - The GPG public key
|
|
286
278
|
# private_key - string - The GPG private key
|
|
287
279
|
# private_key_password - string - The GPG private key password
|
|
@@ -296,12 +288,6 @@ def update(id, params=None, options=None):
|
|
|
296
288
|
raise InvalidParameterError("Bad parameter: id must be an int")
|
|
297
289
|
if "partner_id" in params and not isinstance(params["partner_id"], int):
|
|
298
290
|
raise InvalidParameterError("Bad parameter: partner_id must be an int")
|
|
299
|
-
if "workspace_id" in params and not isinstance(
|
|
300
|
-
params["workspace_id"], int
|
|
301
|
-
):
|
|
302
|
-
raise InvalidParameterError(
|
|
303
|
-
"Bad parameter: workspace_id must be an int"
|
|
304
|
-
)
|
|
305
291
|
if "public_key" in params and not isinstance(params["public_key"], str):
|
|
306
292
|
raise InvalidParameterError("Bad parameter: public_key must be an str")
|
|
307
293
|
if "private_key" in params and not isinstance(params["private_key"], str):
|
|
@@ -48,7 +48,6 @@ class Group:
|
|
|
48
48
|
# notes - string - Group notes.
|
|
49
49
|
# user_ids - string - A list of user ids. If sent as a string, should be comma-delimited.
|
|
50
50
|
# admin_ids - string - A list of group admin user ids. If sent as a string, should be comma-delimited.
|
|
51
|
-
# workspace_id - int64 - Workspace ID
|
|
52
51
|
# ftp_permission - boolean - If true, users in this group can use FTP to login. This will override a false value of `ftp_permission` on the user level.
|
|
53
52
|
# sftp_permission - boolean - If true, users in this group can use SFTP to login. This will override a false value of `sftp_permission` on the user level.
|
|
54
53
|
# dav_permission - boolean - If true, users in this group can use WebDAV to login. This will override a false value of `dav_permission` on the user level.
|
|
@@ -77,12 +76,6 @@ class Group:
|
|
|
77
76
|
raise InvalidParameterError(
|
|
78
77
|
"Bad parameter: admin_ids must be an str"
|
|
79
78
|
)
|
|
80
|
-
if "workspace_id" in params and not isinstance(
|
|
81
|
-
params["workspace_id"], int
|
|
82
|
-
):
|
|
83
|
-
raise InvalidParameterError(
|
|
84
|
-
"Bad parameter: workspace_id must be an int"
|
|
85
|
-
)
|
|
86
79
|
if "allowed_ips" in params and not isinstance(
|
|
87
80
|
params["allowed_ips"], str
|
|
88
81
|
):
|
|
@@ -200,13 +193,13 @@ def get(id, params=None, options=None):
|
|
|
200
193
|
# notes - string - Group notes.
|
|
201
194
|
# user_ids - string - A list of user ids. If sent as a string, should be comma-delimited.
|
|
202
195
|
# admin_ids - string - A list of group admin user ids. If sent as a string, should be comma-delimited.
|
|
203
|
-
# workspace_id - int64 - Workspace ID
|
|
204
196
|
# ftp_permission - boolean - If true, users in this group can use FTP to login. This will override a false value of `ftp_permission` on the user level.
|
|
205
197
|
# sftp_permission - boolean - If true, users in this group can use SFTP to login. This will override a false value of `sftp_permission` on the user level.
|
|
206
198
|
# dav_permission - boolean - If true, users in this group can use WebDAV to login. This will override a false value of `dav_permission` on the user level.
|
|
207
199
|
# restapi_permission - boolean - If true, users in this group can use the REST API to login. This will override a false value of `restapi_permission` on the user level.
|
|
208
200
|
# allowed_ips - string - A list of allowed IPs if applicable. Newline delimited
|
|
209
201
|
# name (required) - string - Group name.
|
|
202
|
+
# workspace_id - int64 - Workspace ID
|
|
210
203
|
def create(params=None, options=None):
|
|
211
204
|
if not isinstance(params, dict):
|
|
212
205
|
params = {}
|
|
@@ -218,12 +211,6 @@ def create(params=None, options=None):
|
|
|
218
211
|
raise InvalidParameterError("Bad parameter: user_ids must be an str")
|
|
219
212
|
if "admin_ids" in params and not isinstance(params["admin_ids"], str):
|
|
220
213
|
raise InvalidParameterError("Bad parameter: admin_ids must be an str")
|
|
221
|
-
if "workspace_id" in params and not isinstance(
|
|
222
|
-
params["workspace_id"], int
|
|
223
|
-
):
|
|
224
|
-
raise InvalidParameterError(
|
|
225
|
-
"Bad parameter: workspace_id must be an int"
|
|
226
|
-
)
|
|
227
214
|
if "ftp_permission" in params and not isinstance(
|
|
228
215
|
params["ftp_permission"], bool
|
|
229
216
|
):
|
|
@@ -254,6 +241,12 @@ def create(params=None, options=None):
|
|
|
254
241
|
)
|
|
255
242
|
if "name" in params and not isinstance(params["name"], str):
|
|
256
243
|
raise InvalidParameterError("Bad parameter: name must be an str")
|
|
244
|
+
if "workspace_id" in params and not isinstance(
|
|
245
|
+
params["workspace_id"], int
|
|
246
|
+
):
|
|
247
|
+
raise InvalidParameterError(
|
|
248
|
+
"Bad parameter: workspace_id must be an int"
|
|
249
|
+
)
|
|
257
250
|
if "name" not in params:
|
|
258
251
|
raise MissingParameterError("Parameter missing: name")
|
|
259
252
|
response, options = Api.send_request("POST", "/groups", params, options)
|
|
@@ -264,7 +257,6 @@ def create(params=None, options=None):
|
|
|
264
257
|
# notes - string - Group notes.
|
|
265
258
|
# user_ids - string - A list of user ids. If sent as a string, should be comma-delimited.
|
|
266
259
|
# admin_ids - string - A list of group admin user ids. If sent as a string, should be comma-delimited.
|
|
267
|
-
# workspace_id - int64 - Workspace ID
|
|
268
260
|
# ftp_permission - boolean - If true, users in this group can use FTP to login. This will override a false value of `ftp_permission` on the user level.
|
|
269
261
|
# sftp_permission - boolean - If true, users in this group can use SFTP to login. This will override a false value of `sftp_permission` on the user level.
|
|
270
262
|
# dav_permission - boolean - If true, users in this group can use WebDAV to login. This will override a false value of `dav_permission` on the user level.
|
|
@@ -285,12 +277,6 @@ def update(id, params=None, options=None):
|
|
|
285
277
|
raise InvalidParameterError("Bad parameter: user_ids must be an str")
|
|
286
278
|
if "admin_ids" in params and not isinstance(params["admin_ids"], str):
|
|
287
279
|
raise InvalidParameterError("Bad parameter: admin_ids must be an str")
|
|
288
|
-
if "workspace_id" in params and not isinstance(
|
|
289
|
-
params["workspace_id"], int
|
|
290
|
-
):
|
|
291
|
-
raise InvalidParameterError(
|
|
292
|
-
"Bad parameter: workspace_id must be an int"
|
|
293
|
-
)
|
|
294
280
|
if "ftp_permission" in params and not isinstance(
|
|
295
281
|
params["ftp_permission"], bool
|
|
296
282
|
):
|
|
@@ -15,6 +15,7 @@ class Partner:
|
|
|
15
15
|
"allow_providing_gpg_keys": None, # boolean - Allow Partner Admins to provide GPG keys.
|
|
16
16
|
"allow_user_creation": None, # boolean - Allow Partner Admins to create users.
|
|
17
17
|
"id": None, # int64 - The unique ID of the Partner.
|
|
18
|
+
"workspace_id": None, # int64 - ID of the Workspace associated with this Partner.
|
|
18
19
|
"name": None, # string - The name of the Partner.
|
|
19
20
|
"notes": None, # string - Notes about this Partner.
|
|
20
21
|
"partner_admin_ids": None, # array(int64) - Array of User IDs that are Partner Admins for this Partner.
|
|
@@ -119,7 +120,8 @@ class Partner:
|
|
|
119
120
|
# Parameters:
|
|
120
121
|
# 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.
|
|
121
122
|
# per_page - int64 - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
|
|
122
|
-
# sort_by - object - If set, sort records by the specified field in either `asc` or `desc` direction. Valid fields are `name`.
|
|
123
|
+
# sort_by - object - If set, sort records by the specified field in either `asc` or `desc` direction. Valid fields are `workspace_id` and `name`.
|
|
124
|
+
# filter - object - If set, return records where the specified field is equal to the supplied value. Valid fields are `workspace_id`.
|
|
123
125
|
def list(params=None, options=None):
|
|
124
126
|
if not isinstance(params, dict):
|
|
125
127
|
params = {}
|
|
@@ -131,6 +133,8 @@ def list(params=None, options=None):
|
|
|
131
133
|
raise InvalidParameterError("Bad parameter: per_page must be an int")
|
|
132
134
|
if "sort_by" in params and not isinstance(params["sort_by"], dict):
|
|
133
135
|
raise InvalidParameterError("Bad parameter: sort_by must be an dict")
|
|
136
|
+
if "filter" in params and not isinstance(params["filter"], dict):
|
|
137
|
+
raise InvalidParameterError("Bad parameter: filter must be an dict")
|
|
134
138
|
return ListObj(Partner, "GET", "/partners", params, options)
|
|
135
139
|
|
|
136
140
|
|
|
@@ -169,6 +173,7 @@ def get(id, params=None, options=None):
|
|
|
169
173
|
# root_folder - string - The root folder path for this Partner.
|
|
170
174
|
# 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.
|
|
171
175
|
# name (required) - string - The name of the Partner.
|
|
176
|
+
# workspace_id - int64 - ID of the Workspace associated with this Partner.
|
|
172
177
|
def create(params=None, options=None):
|
|
173
178
|
if not isinstance(params, dict):
|
|
174
179
|
params = {}
|
|
@@ -208,6 +213,12 @@ def create(params=None, options=None):
|
|
|
208
213
|
raise InvalidParameterError("Bad parameter: tags must be an str")
|
|
209
214
|
if "name" in params and not isinstance(params["name"], str):
|
|
210
215
|
raise InvalidParameterError("Bad parameter: name must be an str")
|
|
216
|
+
if "workspace_id" in params and not isinstance(
|
|
217
|
+
params["workspace_id"], int
|
|
218
|
+
):
|
|
219
|
+
raise InvalidParameterError(
|
|
220
|
+
"Bad parameter: workspace_id must be an int"
|
|
221
|
+
)
|
|
211
222
|
if "name" not in params:
|
|
212
223
|
raise MissingParameterError("Parameter missing: name")
|
|
213
224
|
response, options = Api.send_request("POST", "/partners", params, options)
|
|
@@ -11,6 +11,7 @@ from files_sdk.error import ( # noqa: F401
|
|
|
11
11
|
class PublicKey:
|
|
12
12
|
default_attributes = {
|
|
13
13
|
"id": None, # int64 - Public key ID
|
|
14
|
+
"workspace_id": None, # int64 - Workspace ID (0 for default workspace).
|
|
14
15
|
"title": None, # string - Public key title
|
|
15
16
|
"created_at": None, # date-time - Public key created at date/time
|
|
16
17
|
"fingerprint": None, # string - Public key fingerprint (MD5)
|
|
@@ -110,8 +111,8 @@ class PublicKey:
|
|
|
110
111
|
# user_id - int64 - User ID. Provide a value of `0` to operate the current session's user.
|
|
111
112
|
# 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.
|
|
112
113
|
# per_page - int64 - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
|
|
113
|
-
# sort_by - object - If set, sort records by the specified field in either `asc` or `desc` direction. Valid fields are `
|
|
114
|
-
# filter - object - If set, return records where the specified field is equal to the supplied value. Valid fields are `created_at`.
|
|
114
|
+
# sort_by - object - If set, sort records by the specified field in either `asc` or `desc` direction. Valid fields are `workspace_id`, `user_id`, `title` or `created_at`.
|
|
115
|
+
# filter - object - If set, return records where the specified field is equal to the supplied value. Valid fields are `created_at` and `workspace_id`.
|
|
115
116
|
# filter_gt - object - If set, return records where the specified field is greater than the supplied value. Valid fields are `created_at`.
|
|
116
117
|
# filter_gteq - object - If set, return records where the specified field is greater than or equal the supplied value. Valid fields are `created_at`.
|
|
117
118
|
# filter_lt - object - If set, return records where the specified field is less than the supplied value. Valid fields are `created_at`.
|
|
@@ -33,6 +33,7 @@ class RemoteServer:
|
|
|
33
33
|
"server_certificate": None, # string - Remote server certificate
|
|
34
34
|
"server_host_key": None, # string - Remote server SSH Host Key. If provided, we will require that the server host key matches the provided key. Uses OpenSSH format similar to what would go into ~/.ssh/known_hosts
|
|
35
35
|
"server_type": None, # string - Remote server type.
|
|
36
|
+
"workspace_id": None, # int64 - Workspace ID (0 for default workspace)
|
|
36
37
|
"ssl": None, # string - Should we require SSL?
|
|
37
38
|
"username": None, # string - Remote server username.
|
|
38
39
|
"google_cloud_storage_bucket": None, # string - Google Cloud Storage: Bucket Name
|
|
@@ -64,6 +65,7 @@ class RemoteServer:
|
|
|
64
65
|
"files_agent_version": None, # string - Files Agent version
|
|
65
66
|
"files_agent_up_to_date": None, # boolean - If true, the Files Agent is up to date.
|
|
66
67
|
"files_agent_latest_version": None, # string - Latest available Files Agent version
|
|
68
|
+
"files_agent_supports_push_updates": None, # boolean - Files Agent supports receiving push updates
|
|
67
69
|
"outbound_agent_id": None, # int64 - Route traffic to outbound on a files-agent
|
|
68
70
|
"filebase_bucket": None, # string - Filebase: Bucket name
|
|
69
71
|
"filebase_access_key": None, # string - Filebase: Access Key.
|
|
@@ -718,7 +720,7 @@ class RemoteServer:
|
|
|
718
720
|
# Parameters:
|
|
719
721
|
# 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.
|
|
720
722
|
# per_page - int64 - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
|
|
721
|
-
# sort_by - object - If set, sort records by the specified field in either `asc` or `desc` direction. Valid fields are `name`, `server_type`, `backblaze_b2_bucket`, `google_cloud_storage_bucket`, `wasabi_bucket`, `s3_bucket`, `azure_blob_storage_container`, `azure_files_storage_share_name`, `s3_compatible_bucket`, `filebase_bucket`, `cloudflare_bucket` or `linode_bucket`.
|
|
723
|
+
# sort_by - object - If set, sort records by the specified field in either `asc` or `desc` direction. Valid fields are `workspace_id`, `name`, `server_type`, `backblaze_b2_bucket`, `google_cloud_storage_bucket`, `wasabi_bucket`, `s3_bucket`, `azure_blob_storage_container`, `azure_files_storage_share_name`, `s3_compatible_bucket`, `filebase_bucket`, `cloudflare_bucket` or `linode_bucket`.
|
|
722
724
|
# filter - object - If set, return records where the specified field is equal to the supplied value. Valid fields are `name`, `server_type`, `workspace_id`, `backblaze_b2_bucket`, `google_cloud_storage_bucket`, `wasabi_bucket`, `s3_bucket`, `azure_blob_storage_container`, `azure_files_storage_share_name`, `s3_compatible_bucket`, `filebase_bucket`, `cloudflare_bucket` or `linode_bucket`. Valid field combinations are `[ server_type, name ]`, `[ workspace_id, name ]`, `[ backblaze_b2_bucket, name ]`, `[ google_cloud_storage_bucket, name ]`, `[ wasabi_bucket, name ]`, `[ s3_bucket, name ]`, `[ azure_blob_storage_container, name ]`, `[ azure_files_storage_share_name, name ]`, `[ s3_compatible_bucket, name ]`, `[ filebase_bucket, name ]`, `[ cloudflare_bucket, name ]`, `[ linode_bucket, name ]`, `[ workspace_id, server_type ]` or `[ workspace_id, server_type, name ]`.
|
|
723
725
|
# filter_prefix - object - If set, return records where the specified field is prefixed by the supplied value. Valid fields are `name`, `backblaze_b2_bucket`, `google_cloud_storage_bucket`, `wasabi_bucket`, `s3_bucket`, `azure_blob_storage_container`, `azure_files_storage_share_name`, `s3_compatible_bucket`, `filebase_bucket`, `cloudflare_bucket` or `linode_bucket`. Valid field combinations are `[ backblaze_b2_bucket, name ]`, `[ google_cloud_storage_bucket, name ]`, `[ wasabi_bucket, name ]`, `[ s3_bucket, name ]`, `[ azure_blob_storage_container, name ]`, `[ azure_files_storage_share_name, name ]`, `[ s3_compatible_bucket, name ]`, `[ filebase_bucket, name ]`, `[ cloudflare_bucket, name ]` or `[ linode_bucket, name ]`.
|
|
724
726
|
def list(params=None, options=None):
|
|
@@ -860,6 +862,7 @@ def find_configuration_file(id, params=None, options=None):
|
|
|
860
862
|
# wasabi_access_key - string - Wasabi: Access Key.
|
|
861
863
|
# wasabi_bucket - string - Wasabi: Bucket name
|
|
862
864
|
# wasabi_region - string - Wasabi: Region
|
|
865
|
+
# workspace_id - int64 - Workspace ID (0 for default workspace)
|
|
863
866
|
def create(params=None, options=None):
|
|
864
867
|
if not isinstance(params, dict):
|
|
865
868
|
params = {}
|
|
@@ -1250,6 +1253,12 @@ def create(params=None, options=None):
|
|
|
1250
1253
|
raise InvalidParameterError(
|
|
1251
1254
|
"Bad parameter: wasabi_region must be an str"
|
|
1252
1255
|
)
|
|
1256
|
+
if "workspace_id" in params and not isinstance(
|
|
1257
|
+
params["workspace_id"], int
|
|
1258
|
+
):
|
|
1259
|
+
raise InvalidParameterError(
|
|
1260
|
+
"Bad parameter: workspace_id must be an int"
|
|
1261
|
+
)
|
|
1253
1262
|
response, options = Api.send_request(
|
|
1254
1263
|
"POST", "/remote_servers", params, options
|
|
1255
1264
|
)
|
|
@@ -67,7 +67,6 @@ class RemoteServerCredential:
|
|
|
67
67
|
}
|
|
68
68
|
|
|
69
69
|
# Parameters:
|
|
70
|
-
# workspace_id - int64 - Workspace ID (0 for default workspace)
|
|
71
70
|
# name - string - Internal name for your reference
|
|
72
71
|
# description - string - Internal description for your reference
|
|
73
72
|
# server_type - string - Remote server type. Remote Server Credentials are only valid for a single type of Remote Server.
|
|
@@ -110,12 +109,6 @@ class RemoteServerCredential:
|
|
|
110
109
|
raise MissingParameterError("Parameter missing: id")
|
|
111
110
|
if "id" in params and not isinstance(params["id"], int):
|
|
112
111
|
raise InvalidParameterError("Bad parameter: id must be an int")
|
|
113
|
-
if "workspace_id" in params and not isinstance(
|
|
114
|
-
params["workspace_id"], int
|
|
115
|
-
):
|
|
116
|
-
raise InvalidParameterError(
|
|
117
|
-
"Bad parameter: workspace_id must be an int"
|
|
118
|
-
)
|
|
119
112
|
if "name" in params and not isinstance(params["name"], str):
|
|
120
113
|
raise InvalidParameterError("Bad parameter: name must be an str")
|
|
121
114
|
if "description" in params and not isinstance(
|
|
@@ -402,7 +395,6 @@ def get(id, params=None, options=None):
|
|
|
402
395
|
|
|
403
396
|
|
|
404
397
|
# Parameters:
|
|
405
|
-
# workspace_id - int64 - Workspace ID (0 for default workspace)
|
|
406
398
|
# name - string - Internal name for your reference
|
|
407
399
|
# description - string - Internal description for your reference
|
|
408
400
|
# server_type - string - Remote server type. Remote Server Credentials are only valid for a single type of Remote Server.
|
|
@@ -433,17 +425,12 @@ def get(id, params=None, options=None):
|
|
|
433
425
|
# linode_secret_key - string - Linode: Secret Key
|
|
434
426
|
# s3_compatible_secret_key - string - S3-compatible: Secret Key
|
|
435
427
|
# wasabi_secret_key - string - Wasabi: Secret Key
|
|
428
|
+
# workspace_id - int64 - Workspace ID (0 for default workspace)
|
|
436
429
|
def create(params=None, options=None):
|
|
437
430
|
if not isinstance(params, dict):
|
|
438
431
|
params = {}
|
|
439
432
|
if not isinstance(options, dict):
|
|
440
433
|
options = {}
|
|
441
|
-
if "workspace_id" in params and not isinstance(
|
|
442
|
-
params["workspace_id"], int
|
|
443
|
-
):
|
|
444
|
-
raise InvalidParameterError(
|
|
445
|
-
"Bad parameter: workspace_id must be an int"
|
|
446
|
-
)
|
|
447
434
|
if "name" in params and not isinstance(params["name"], str):
|
|
448
435
|
raise InvalidParameterError("Bad parameter: name must be an str")
|
|
449
436
|
if "description" in params and not isinstance(params["description"], str):
|
|
@@ -612,6 +599,12 @@ def create(params=None, options=None):
|
|
|
612
599
|
raise InvalidParameterError(
|
|
613
600
|
"Bad parameter: wasabi_secret_key must be an str"
|
|
614
601
|
)
|
|
602
|
+
if "workspace_id" in params and not isinstance(
|
|
603
|
+
params["workspace_id"], int
|
|
604
|
+
):
|
|
605
|
+
raise InvalidParameterError(
|
|
606
|
+
"Bad parameter: workspace_id must be an int"
|
|
607
|
+
)
|
|
615
608
|
response, options = Api.send_request(
|
|
616
609
|
"POST", "/remote_server_credentials", params, options
|
|
617
610
|
)
|
|
@@ -619,7 +612,6 @@ def create(params=None, options=None):
|
|
|
619
612
|
|
|
620
613
|
|
|
621
614
|
# Parameters:
|
|
622
|
-
# workspace_id - int64 - Workspace ID (0 for default workspace)
|
|
623
615
|
# name - string - Internal name for your reference
|
|
624
616
|
# description - string - Internal description for your reference
|
|
625
617
|
# server_type - string - Remote server type. Remote Server Credentials are only valid for a single type of Remote Server.
|
|
@@ -658,12 +650,6 @@ def update(id, params=None, options=None):
|
|
|
658
650
|
params["id"] = id
|
|
659
651
|
if "id" in params and not isinstance(params["id"], int):
|
|
660
652
|
raise InvalidParameterError("Bad parameter: id must be an int")
|
|
661
|
-
if "workspace_id" in params and not isinstance(
|
|
662
|
-
params["workspace_id"], int
|
|
663
|
-
):
|
|
664
|
-
raise InvalidParameterError(
|
|
665
|
-
"Bad parameter: workspace_id must be an int"
|
|
666
|
-
)
|
|
667
653
|
if "name" in params and not isinstance(params["name"], str):
|
|
668
654
|
raise InvalidParameterError("Bad parameter: name must be an str")
|
|
669
655
|
if "description" in params and not isinstance(params["description"], str):
|