Files.com 1.6.323__tar.gz → 1.6.324__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.323/files_com.egg-info → files_com-1.6.324}/PKG-INFO +1 -1
- files_com-1.6.324/_VERSION +1 -0
- {files_com-1.6.323 → files_com-1.6.324/files_com.egg-info}/PKG-INFO +1 -1
- {files_com-1.6.323 → files_com-1.6.324}/files_com.egg-info/SOURCES.txt +2 -0
- {files_com-1.6.323 → files_com-1.6.324}/files_sdk/__init__.py +5 -1
- {files_com-1.6.323 → files_com-1.6.324}/files_sdk/models/__init__.py +3 -0
- files_com-1.6.324/files_sdk/models/desktop_configuration_profile.py +273 -0
- {files_com-1.6.323 → files_com-1.6.324}/files_sdk/models/user.py +22 -0
- {files_com-1.6.323 → files_com-1.6.324}/pyproject.toml +1 -1
- files_com-1.6.324/tests/test_desktop_configuration_profile.py +69 -0
- files_com-1.6.323/_VERSION +0 -1
- {files_com-1.6.323 → files_com-1.6.324}/LICENSE +0 -0
- {files_com-1.6.323 → files_com-1.6.324}/README.md +0 -0
- {files_com-1.6.323 → files_com-1.6.324}/files_com.egg-info/dependency_links.txt +0 -0
- {files_com-1.6.323 → files_com-1.6.324}/files_com.egg-info/requires.txt +0 -0
- {files_com-1.6.323 → files_com-1.6.324}/files_com.egg-info/top_level.txt +0 -0
- {files_com-1.6.323 → files_com-1.6.324}/files_sdk/api.py +0 -0
- {files_com-1.6.323 → files_com-1.6.324}/files_sdk/api_client.py +0 -0
- {files_com-1.6.323 → files_com-1.6.324}/files_sdk/error.py +0 -0
- {files_com-1.6.323 → files_com-1.6.324}/files_sdk/list_obj.py +0 -0
- {files_com-1.6.323 → files_com-1.6.324}/files_sdk/models/account_line_item.py +0 -0
- {files_com-1.6.323 → files_com-1.6.324}/files_sdk/models/action.py +0 -0
- {files_com-1.6.323 → files_com-1.6.324}/files_sdk/models/action_log.py +0 -0
- {files_com-1.6.323 → files_com-1.6.324}/files_sdk/models/action_notification_export.py +0 -0
- {files_com-1.6.323 → files_com-1.6.324}/files_sdk/models/action_notification_export_result.py +0 -0
- {files_com-1.6.323 → files_com-1.6.324}/files_sdk/models/agent_push_update.py +0 -0
- {files_com-1.6.323 → files_com-1.6.324}/files_sdk/models/api_key.py +0 -0
- {files_com-1.6.323 → files_com-1.6.324}/files_sdk/models/api_request_log.py +0 -0
- {files_com-1.6.323 → files_com-1.6.324}/files_sdk/models/app.py +0 -0
- {files_com-1.6.323 → files_com-1.6.324}/files_sdk/models/as2_incoming_message.py +0 -0
- {files_com-1.6.323 → files_com-1.6.324}/files_sdk/models/as2_outgoing_message.py +0 -0
- {files_com-1.6.323 → files_com-1.6.324}/files_sdk/models/as2_partner.py +0 -0
- {files_com-1.6.323 → files_com-1.6.324}/files_sdk/models/as2_station.py +0 -0
- {files_com-1.6.323 → files_com-1.6.324}/files_sdk/models/auto.py +0 -0
- {files_com-1.6.323 → files_com-1.6.324}/files_sdk/models/automation.py +0 -0
- {files_com-1.6.323 → files_com-1.6.324}/files_sdk/models/automation_log.py +0 -0
- {files_com-1.6.323 → files_com-1.6.324}/files_sdk/models/automation_run.py +0 -0
- {files_com-1.6.323 → files_com-1.6.324}/files_sdk/models/bandwidth_snapshot.py +0 -0
- {files_com-1.6.323 → files_com-1.6.324}/files_sdk/models/behavior.py +0 -0
- {files_com-1.6.323 → files_com-1.6.324}/files_sdk/models/bundle.py +0 -0
- {files_com-1.6.323 → files_com-1.6.324}/files_sdk/models/bundle_action.py +0 -0
- {files_com-1.6.323 → files_com-1.6.324}/files_sdk/models/bundle_download.py +0 -0
- {files_com-1.6.323 → files_com-1.6.324}/files_sdk/models/bundle_notification.py +0 -0
- {files_com-1.6.323 → files_com-1.6.324}/files_sdk/models/bundle_path.py +0 -0
- {files_com-1.6.323 → files_com-1.6.324}/files_sdk/models/bundle_recipient.py +0 -0
- {files_com-1.6.323 → files_com-1.6.324}/files_sdk/models/bundle_registration.py +0 -0
- {files_com-1.6.323 → files_com-1.6.324}/files_sdk/models/child_site_management_policy.py +0 -0
- {files_com-1.6.323 → files_com-1.6.324}/files_sdk/models/clickwrap.py +0 -0
- {files_com-1.6.323 → files_com-1.6.324}/files_sdk/models/dns_record.py +0 -0
- {files_com-1.6.323 → files_com-1.6.324}/files_sdk/models/email_incoming_message.py +0 -0
- {files_com-1.6.323 → files_com-1.6.324}/files_sdk/models/email_log.py +0 -0
- {files_com-1.6.323 → files_com-1.6.324}/files_sdk/models/errors.py +0 -0
- {files_com-1.6.323 → files_com-1.6.324}/files_sdk/models/exavault_api_request_log.py +0 -0
- {files_com-1.6.323 → files_com-1.6.324}/files_sdk/models/external_event.py +0 -0
- {files_com-1.6.323 → files_com-1.6.324}/files_sdk/models/file.py +0 -0
- {files_com-1.6.323 → files_com-1.6.324}/files_sdk/models/file_action.py +0 -0
- {files_com-1.6.323 → files_com-1.6.324}/files_sdk/models/file_comment.py +0 -0
- {files_com-1.6.323 → files_com-1.6.324}/files_sdk/models/file_comment_reaction.py +0 -0
- {files_com-1.6.323 → files_com-1.6.324}/files_sdk/models/file_migration.py +0 -0
- {files_com-1.6.323 → files_com-1.6.324}/files_sdk/models/file_migration_log.py +0 -0
- {files_com-1.6.323 → files_com-1.6.324}/files_sdk/models/file_upload_part.py +0 -0
- {files_com-1.6.323 → files_com-1.6.324}/files_sdk/models/folder.py +0 -0
- {files_com-1.6.323 → files_com-1.6.324}/files_sdk/models/form_field.py +0 -0
- {files_com-1.6.323 → files_com-1.6.324}/files_sdk/models/form_field_set.py +0 -0
- {files_com-1.6.323 → files_com-1.6.324}/files_sdk/models/ftp_action_log.py +0 -0
- {files_com-1.6.323 → files_com-1.6.324}/files_sdk/models/gpg_key.py +0 -0
- {files_com-1.6.323 → files_com-1.6.324}/files_sdk/models/group.py +0 -0
- {files_com-1.6.323 → files_com-1.6.324}/files_sdk/models/group_user.py +0 -0
- {files_com-1.6.323 → files_com-1.6.324}/files_sdk/models/history.py +0 -0
- {files_com-1.6.323 → files_com-1.6.324}/files_sdk/models/history_export.py +0 -0
- {files_com-1.6.323 → files_com-1.6.324}/files_sdk/models/history_export_result.py +0 -0
- {files_com-1.6.323 → files_com-1.6.324}/files_sdk/models/holiday_region.py +0 -0
- {files_com-1.6.323 → files_com-1.6.324}/files_sdk/models/image.py +0 -0
- {files_com-1.6.323 → files_com-1.6.324}/files_sdk/models/inbound_s3_log.py +0 -0
- {files_com-1.6.323 → files_com-1.6.324}/files_sdk/models/inbox_recipient.py +0 -0
- {files_com-1.6.323 → files_com-1.6.324}/files_sdk/models/inbox_registration.py +0 -0
- {files_com-1.6.323 → files_com-1.6.324}/files_sdk/models/inbox_upload.py +0 -0
- {files_com-1.6.323 → files_com-1.6.324}/files_sdk/models/invoice.py +0 -0
- {files_com-1.6.323 → files_com-1.6.324}/files_sdk/models/invoice_line_item.py +0 -0
- {files_com-1.6.323 → files_com-1.6.324}/files_sdk/models/ip_address.py +0 -0
- {files_com-1.6.323 → files_com-1.6.324}/files_sdk/models/key_lifecycle_rule.py +0 -0
- {files_com-1.6.323 → files_com-1.6.324}/files_sdk/models/lock.py +0 -0
- {files_com-1.6.323 → files_com-1.6.324}/files_sdk/models/message.py +0 -0
- {files_com-1.6.323 → files_com-1.6.324}/files_sdk/models/message_comment.py +0 -0
- {files_com-1.6.323 → files_com-1.6.324}/files_sdk/models/message_comment_reaction.py +0 -0
- {files_com-1.6.323 → files_com-1.6.324}/files_sdk/models/message_reaction.py +0 -0
- {files_com-1.6.323 → files_com-1.6.324}/files_sdk/models/notification.py +0 -0
- {files_com-1.6.323 → files_com-1.6.324}/files_sdk/models/outbound_connection_log.py +0 -0
- {files_com-1.6.323 → files_com-1.6.324}/files_sdk/models/partner.py +0 -0
- {files_com-1.6.323 → files_com-1.6.324}/files_sdk/models/partner_site.py +0 -0
- {files_com-1.6.323 → files_com-1.6.324}/files_sdk/models/partner_site_request.py +0 -0
- {files_com-1.6.323 → files_com-1.6.324}/files_sdk/models/payment.py +0 -0
- {files_com-1.6.323 → files_com-1.6.324}/files_sdk/models/payment_line_item.py +0 -0
- {files_com-1.6.323 → files_com-1.6.324}/files_sdk/models/permission.py +0 -0
- {files_com-1.6.323 → files_com-1.6.324}/files_sdk/models/preview.py +0 -0
- {files_com-1.6.323 → files_com-1.6.324}/files_sdk/models/priority.py +0 -0
- {files_com-1.6.323 → files_com-1.6.324}/files_sdk/models/project.py +0 -0
- {files_com-1.6.323 → files_com-1.6.324}/files_sdk/models/public_hosting_request_log.py +0 -0
- {files_com-1.6.323 → files_com-1.6.324}/files_sdk/models/public_ip_address.py +0 -0
- {files_com-1.6.323 → files_com-1.6.324}/files_sdk/models/public_key.py +0 -0
- {files_com-1.6.323 → files_com-1.6.324}/files_sdk/models/remote_bandwidth_snapshot.py +0 -0
- {files_com-1.6.323 → files_com-1.6.324}/files_sdk/models/remote_mount_backend.py +0 -0
- {files_com-1.6.323 → files_com-1.6.324}/files_sdk/models/remote_server.py +0 -0
- {files_com-1.6.323 → files_com-1.6.324}/files_sdk/models/remote_server_configuration_file.py +0 -0
- {files_com-1.6.323 → files_com-1.6.324}/files_sdk/models/remote_server_credential.py +0 -0
- {files_com-1.6.323 → files_com-1.6.324}/files_sdk/models/request.py +0 -0
- {files_com-1.6.323 → files_com-1.6.324}/files_sdk/models/restore.py +0 -0
- {files_com-1.6.323 → files_com-1.6.324}/files_sdk/models/scim_log.py +0 -0
- {files_com-1.6.323 → files_com-1.6.324}/files_sdk/models/session.py +0 -0
- {files_com-1.6.323 → files_com-1.6.324}/files_sdk/models/settings_change.py +0 -0
- {files_com-1.6.323 → files_com-1.6.324}/files_sdk/models/sftp_action_log.py +0 -0
- {files_com-1.6.323 → files_com-1.6.324}/files_sdk/models/sftp_host_key.py +0 -0
- {files_com-1.6.323 → files_com-1.6.324}/files_sdk/models/share_group.py +0 -0
- {files_com-1.6.323 → files_com-1.6.324}/files_sdk/models/share_group_member.py +0 -0
- {files_com-1.6.323 → files_com-1.6.324}/files_sdk/models/siem_http_destination.py +0 -0
- {files_com-1.6.323 → files_com-1.6.324}/files_sdk/models/site.py +0 -0
- {files_com-1.6.323 → files_com-1.6.324}/files_sdk/models/snapshot.py +0 -0
- {files_com-1.6.323 → files_com-1.6.324}/files_sdk/models/sso_strategy.py +0 -0
- {files_com-1.6.323 → files_com-1.6.324}/files_sdk/models/status.py +0 -0
- {files_com-1.6.323 → files_com-1.6.324}/files_sdk/models/style.py +0 -0
- {files_com-1.6.323 → files_com-1.6.324}/files_sdk/models/sync.py +0 -0
- {files_com-1.6.323 → files_com-1.6.324}/files_sdk/models/sync_log.py +0 -0
- {files_com-1.6.323 → files_com-1.6.324}/files_sdk/models/sync_run.py +0 -0
- {files_com-1.6.323 → files_com-1.6.324}/files_sdk/models/usage_by_top_level_dir.py +0 -0
- {files_com-1.6.323 → files_com-1.6.324}/files_sdk/models/usage_daily_snapshot.py +0 -0
- {files_com-1.6.323 → files_com-1.6.324}/files_sdk/models/usage_snapshot.py +0 -0
- {files_com-1.6.323 → files_com-1.6.324}/files_sdk/models/user_cipher_use.py +0 -0
- {files_com-1.6.323 → files_com-1.6.324}/files_sdk/models/user_lifecycle_rule.py +0 -0
- {files_com-1.6.323 → files_com-1.6.324}/files_sdk/models/user_request.py +0 -0
- {files_com-1.6.323 → files_com-1.6.324}/files_sdk/models/user_sftp_client_use.py +0 -0
- {files_com-1.6.323 → files_com-1.6.324}/files_sdk/models/web_dav_action_log.py +0 -0
- {files_com-1.6.323 → files_com-1.6.324}/files_sdk/models/webhook_test.py +0 -0
- {files_com-1.6.323 → files_com-1.6.324}/files_sdk/models/workspace.py +0 -0
- {files_com-1.6.323 → files_com-1.6.324}/files_sdk/models/zip_list_entry.py +0 -0
- {files_com-1.6.323 → files_com-1.6.324}/files_sdk/path_util.py +0 -0
- {files_com-1.6.323 → files_com-1.6.324}/files_sdk/util.py +0 -0
- {files_com-1.6.323 → files_com-1.6.324}/setup.cfg +0 -0
- {files_com-1.6.323 → files_com-1.6.324}/tests/test_account_line_item.py +0 -0
- {files_com-1.6.323 → files_com-1.6.324}/tests/test_action.py +0 -0
- {files_com-1.6.323 → files_com-1.6.324}/tests/test_action_log.py +0 -0
- {files_com-1.6.323 → files_com-1.6.324}/tests/test_action_notification_export.py +0 -0
- {files_com-1.6.323 → files_com-1.6.324}/tests/test_action_notification_export_result.py +0 -0
- {files_com-1.6.323 → files_com-1.6.324}/tests/test_agent_push_update.py +0 -0
- {files_com-1.6.323 → files_com-1.6.324}/tests/test_api_errors.py +0 -0
- {files_com-1.6.323 → files_com-1.6.324}/tests/test_api_key.py +0 -0
- {files_com-1.6.323 → files_com-1.6.324}/tests/test_api_request_log.py +0 -0
- {files_com-1.6.323 → files_com-1.6.324}/tests/test_app.py +0 -0
- {files_com-1.6.323 → files_com-1.6.324}/tests/test_as2_incoming_message.py +0 -0
- {files_com-1.6.323 → files_com-1.6.324}/tests/test_as2_outgoing_message.py +0 -0
- {files_com-1.6.323 → files_com-1.6.324}/tests/test_as2_partner.py +0 -0
- {files_com-1.6.323 → files_com-1.6.324}/tests/test_as2_station.py +0 -0
- {files_com-1.6.323 → files_com-1.6.324}/tests/test_auto.py +0 -0
- {files_com-1.6.323 → files_com-1.6.324}/tests/test_automation.py +0 -0
- {files_com-1.6.323 → files_com-1.6.324}/tests/test_automation_log.py +0 -0
- {files_com-1.6.323 → files_com-1.6.324}/tests/test_automation_run.py +0 -0
- {files_com-1.6.323 → files_com-1.6.324}/tests/test_bandwidth_snapshot.py +0 -0
- {files_com-1.6.323 → files_com-1.6.324}/tests/test_behavior.py +0 -0
- {files_com-1.6.323 → files_com-1.6.324}/tests/test_bundle.py +0 -0
- {files_com-1.6.323 → files_com-1.6.324}/tests/test_bundle_action.py +0 -0
- {files_com-1.6.323 → files_com-1.6.324}/tests/test_bundle_download.py +0 -0
- {files_com-1.6.323 → files_com-1.6.324}/tests/test_bundle_notification.py +0 -0
- {files_com-1.6.323 → files_com-1.6.324}/tests/test_bundle_path.py +0 -0
- {files_com-1.6.323 → files_com-1.6.324}/tests/test_bundle_recipient.py +0 -0
- {files_com-1.6.323 → files_com-1.6.324}/tests/test_bundle_registration.py +0 -0
- {files_com-1.6.323 → files_com-1.6.324}/tests/test_child_site_management_policy.py +0 -0
- {files_com-1.6.323 → files_com-1.6.324}/tests/test_clickwrap.py +0 -0
- {files_com-1.6.323 → files_com-1.6.324}/tests/test_connection_adapter.py +0 -0
- {files_com-1.6.323 → files_com-1.6.324}/tests/test_decimal_contract.py +0 -0
- {files_com-1.6.323 → files_com-1.6.324}/tests/test_dns_record.py +0 -0
- {files_com-1.6.323 → files_com-1.6.324}/tests/test_email_incoming_message.py +0 -0
- {files_com-1.6.323 → files_com-1.6.324}/tests/test_email_log.py +0 -0
- {files_com-1.6.323 → files_com-1.6.324}/tests/test_errors.py +0 -0
- {files_com-1.6.323 → files_com-1.6.324}/tests/test_exavault_api_request_log.py +0 -0
- {files_com-1.6.323 → files_com-1.6.324}/tests/test_external_event.py +0 -0
- {files_com-1.6.323 → files_com-1.6.324}/tests/test_file.py +0 -0
- {files_com-1.6.323 → files_com-1.6.324}/tests/test_file_action.py +0 -0
- {files_com-1.6.323 → files_com-1.6.324}/tests/test_file_comment.py +0 -0
- {files_com-1.6.323 → files_com-1.6.324}/tests/test_file_comment_reaction.py +0 -0
- {files_com-1.6.323 → files_com-1.6.324}/tests/test_file_migration.py +0 -0
- {files_com-1.6.323 → files_com-1.6.324}/tests/test_file_migration_log.py +0 -0
- {files_com-1.6.323 → files_com-1.6.324}/tests/test_file_upload_part.py +0 -0
- {files_com-1.6.323 → files_com-1.6.324}/tests/test_folder.py +0 -0
- {files_com-1.6.323 → files_com-1.6.324}/tests/test_form_field.py +0 -0
- {files_com-1.6.323 → files_com-1.6.324}/tests/test_form_field_set.py +0 -0
- {files_com-1.6.323 → files_com-1.6.324}/tests/test_ftp_action_log.py +0 -0
- {files_com-1.6.323 → files_com-1.6.324}/tests/test_gpg_key.py +0 -0
- {files_com-1.6.323 → files_com-1.6.324}/tests/test_group.py +0 -0
- {files_com-1.6.323 → files_com-1.6.324}/tests/test_group_user.py +0 -0
- {files_com-1.6.323 → files_com-1.6.324}/tests/test_history.py +0 -0
- {files_com-1.6.323 → files_com-1.6.324}/tests/test_history_export.py +0 -0
- {files_com-1.6.323 → files_com-1.6.324}/tests/test_history_export_result.py +0 -0
- {files_com-1.6.323 → files_com-1.6.324}/tests/test_holiday_region.py +0 -0
- {files_com-1.6.323 → files_com-1.6.324}/tests/test_image.py +0 -0
- {files_com-1.6.323 → files_com-1.6.324}/tests/test_inbound_s3_log.py +0 -0
- {files_com-1.6.323 → files_com-1.6.324}/tests/test_inbox_recipient.py +0 -0
- {files_com-1.6.323 → files_com-1.6.324}/tests/test_inbox_registration.py +0 -0
- {files_com-1.6.323 → files_com-1.6.324}/tests/test_inbox_upload.py +0 -0
- {files_com-1.6.323 → files_com-1.6.324}/tests/test_invoice.py +0 -0
- {files_com-1.6.323 → files_com-1.6.324}/tests/test_invoice_line_item.py +0 -0
- {files_com-1.6.323 → files_com-1.6.324}/tests/test_ip_address.py +0 -0
- {files_com-1.6.323 → files_com-1.6.324}/tests/test_key_lifecycle_rule.py +0 -0
- {files_com-1.6.323 → files_com-1.6.324}/tests/test_lock.py +0 -0
- {files_com-1.6.323 → files_com-1.6.324}/tests/test_message.py +0 -0
- {files_com-1.6.323 → files_com-1.6.324}/tests/test_message_comment.py +0 -0
- {files_com-1.6.323 → files_com-1.6.324}/tests/test_message_comment_reaction.py +0 -0
- {files_com-1.6.323 → files_com-1.6.324}/tests/test_message_reaction.py +0 -0
- {files_com-1.6.323 → files_com-1.6.324}/tests/test_notification.py +0 -0
- {files_com-1.6.323 → files_com-1.6.324}/tests/test_outbound_connection_log.py +0 -0
- {files_com-1.6.323 → files_com-1.6.324}/tests/test_partner.py +0 -0
- {files_com-1.6.323 → files_com-1.6.324}/tests/test_partner_site.py +0 -0
- {files_com-1.6.323 → files_com-1.6.324}/tests/test_partner_site_request.py +0 -0
- {files_com-1.6.323 → files_com-1.6.324}/tests/test_path_util.py +0 -0
- {files_com-1.6.323 → files_com-1.6.324}/tests/test_payment.py +0 -0
- {files_com-1.6.323 → files_com-1.6.324}/tests/test_payment_line_item.py +0 -0
- {files_com-1.6.323 → files_com-1.6.324}/tests/test_permission.py +0 -0
- {files_com-1.6.323 → files_com-1.6.324}/tests/test_preview.py +0 -0
- {files_com-1.6.323 → files_com-1.6.324}/tests/test_priority.py +0 -0
- {files_com-1.6.323 → files_com-1.6.324}/tests/test_project.py +0 -0
- {files_com-1.6.323 → files_com-1.6.324}/tests/test_public_hosting_request_log.py +0 -0
- {files_com-1.6.323 → files_com-1.6.324}/tests/test_public_ip_address.py +0 -0
- {files_com-1.6.323 → files_com-1.6.324}/tests/test_public_key.py +0 -0
- {files_com-1.6.323 → files_com-1.6.324}/tests/test_remote_bandwidth_snapshot.py +0 -0
- {files_com-1.6.323 → files_com-1.6.324}/tests/test_remote_mount_backend.py +0 -0
- {files_com-1.6.323 → files_com-1.6.324}/tests/test_remote_server.py +0 -0
- {files_com-1.6.323 → files_com-1.6.324}/tests/test_remote_server_configuration_file.py +0 -0
- {files_com-1.6.323 → files_com-1.6.324}/tests/test_remote_server_credential.py +0 -0
- {files_com-1.6.323 → files_com-1.6.324}/tests/test_request.py +0 -0
- {files_com-1.6.323 → files_com-1.6.324}/tests/test_restore.py +0 -0
- {files_com-1.6.323 → files_com-1.6.324}/tests/test_scim_log.py +0 -0
- {files_com-1.6.323 → files_com-1.6.324}/tests/test_session.py +0 -0
- {files_com-1.6.323 → files_com-1.6.324}/tests/test_settings_change.py +0 -0
- {files_com-1.6.323 → files_com-1.6.324}/tests/test_sftp_action_log.py +0 -0
- {files_com-1.6.323 → files_com-1.6.324}/tests/test_sftp_host_key.py +0 -0
- {files_com-1.6.323 → files_com-1.6.324}/tests/test_share_group.py +0 -0
- {files_com-1.6.323 → files_com-1.6.324}/tests/test_share_group_member.py +0 -0
- {files_com-1.6.323 → files_com-1.6.324}/tests/test_siem_http_destination.py +0 -0
- {files_com-1.6.323 → files_com-1.6.324}/tests/test_site.py +0 -0
- {files_com-1.6.323 → files_com-1.6.324}/tests/test_snapshot.py +0 -0
- {files_com-1.6.323 → files_com-1.6.324}/tests/test_sso_strategy.py +0 -0
- {files_com-1.6.323 → files_com-1.6.324}/tests/test_status.py +0 -0
- {files_com-1.6.323 → files_com-1.6.324}/tests/test_style.py +0 -0
- {files_com-1.6.323 → files_com-1.6.324}/tests/test_sync.py +0 -0
- {files_com-1.6.323 → files_com-1.6.324}/tests/test_sync_log.py +0 -0
- {files_com-1.6.323 → files_com-1.6.324}/tests/test_sync_run.py +0 -0
- {files_com-1.6.323 → files_com-1.6.324}/tests/test_usage_by_top_level_dir.py +0 -0
- {files_com-1.6.323 → files_com-1.6.324}/tests/test_usage_daily_snapshot.py +0 -0
- {files_com-1.6.323 → files_com-1.6.324}/tests/test_usage_snapshot.py +0 -0
- {files_com-1.6.323 → files_com-1.6.324}/tests/test_user.py +0 -0
- {files_com-1.6.323 → files_com-1.6.324}/tests/test_user_cipher_use.py +0 -0
- {files_com-1.6.323 → files_com-1.6.324}/tests/test_user_lifecycle_rule.py +0 -0
- {files_com-1.6.323 → files_com-1.6.324}/tests/test_user_request.py +0 -0
- {files_com-1.6.323 → files_com-1.6.324}/tests/test_user_sftp_client_use.py +0 -0
- {files_com-1.6.323 → files_com-1.6.324}/tests/test_web_dav_action_log.py +0 -0
- {files_com-1.6.323 → files_com-1.6.324}/tests/test_webhook_test.py +0 -0
- {files_com-1.6.323 → files_com-1.6.324}/tests/test_workspace.py +0 -0
- {files_com-1.6.323 → files_com-1.6.324}/tests/test_zip_list_entry.py +0 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
1.6.324
|
|
@@ -44,6 +44,7 @@ files_sdk/models/bundle_recipient.py
|
|
|
44
44
|
files_sdk/models/bundle_registration.py
|
|
45
45
|
files_sdk/models/child_site_management_policy.py
|
|
46
46
|
files_sdk/models/clickwrap.py
|
|
47
|
+
files_sdk/models/desktop_configuration_profile.py
|
|
47
48
|
files_sdk/models/dns_record.py
|
|
48
49
|
files_sdk/models/email_incoming_message.py
|
|
49
50
|
files_sdk/models/email_log.py
|
|
@@ -162,6 +163,7 @@ tests/test_child_site_management_policy.py
|
|
|
162
163
|
tests/test_clickwrap.py
|
|
163
164
|
tests/test_connection_adapter.py
|
|
164
165
|
tests/test_decimal_contract.py
|
|
166
|
+
tests/test_desktop_configuration_profile.py
|
|
165
167
|
tests/test_dns_record.py
|
|
166
168
|
tests/test_email_incoming_message.py
|
|
167
169
|
tests/test_email_log.py
|
|
@@ -27,6 +27,7 @@ import files_sdk.models.bundle_recipient as bundle_recipient
|
|
|
27
27
|
import files_sdk.models.bundle_registration as bundle_registration
|
|
28
28
|
import files_sdk.models.child_site_management_policy as child_site_management_policy
|
|
29
29
|
import files_sdk.models.clickwrap as clickwrap
|
|
30
|
+
import files_sdk.models.desktop_configuration_profile as desktop_configuration_profile
|
|
30
31
|
import files_sdk.models.dns_record as dns_record
|
|
31
32
|
import files_sdk.models.email_incoming_message as email_incoming_message
|
|
32
33
|
import files_sdk.models.email_log as email_log
|
|
@@ -149,6 +150,9 @@ from files_sdk.models.child_site_management_policy import (
|
|
|
149
150
|
ChildSiteManagementPolicy,
|
|
150
151
|
)
|
|
151
152
|
from files_sdk.models.clickwrap import Clickwrap
|
|
153
|
+
from files_sdk.models.desktop_configuration_profile import (
|
|
154
|
+
DesktopConfigurationProfile,
|
|
155
|
+
)
|
|
152
156
|
from files_sdk.models.dns_record import DnsRecord
|
|
153
157
|
from files_sdk.models.email_incoming_message import EmailIncomingMessage
|
|
154
158
|
from files_sdk.models.email_log import EmailLog
|
|
@@ -249,7 +253,7 @@ session_id = None
|
|
|
249
253
|
source_ip = None
|
|
250
254
|
base_url = "https://app.files.com"
|
|
251
255
|
base_path = "api/rest/v1"
|
|
252
|
-
version = "1.6.
|
|
256
|
+
version = "1.6.324"
|
|
253
257
|
|
|
254
258
|
__version__ = version
|
|
255
259
|
|
|
@@ -32,6 +32,9 @@ from files_sdk.models.child_site_management_policy import (
|
|
|
32
32
|
ChildSiteManagementPolicy,
|
|
33
33
|
)
|
|
34
34
|
from files_sdk.models.clickwrap import Clickwrap
|
|
35
|
+
from files_sdk.models.desktop_configuration_profile import (
|
|
36
|
+
DesktopConfigurationProfile,
|
|
37
|
+
)
|
|
35
38
|
from files_sdk.models.dns_record import DnsRecord
|
|
36
39
|
from files_sdk.models.email_incoming_message import EmailIncomingMessage
|
|
37
40
|
from files_sdk.models.email_log import EmailLog
|
|
@@ -0,0 +1,273 @@
|
|
|
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 DesktopConfigurationProfile:
|
|
12
|
+
default_attributes = {
|
|
13
|
+
"id": None, # int64 - Desktop Configuration Profile ID
|
|
14
|
+
"name": None, # string - Profile name
|
|
15
|
+
"workspace_id": None, # int64 - Workspace ID
|
|
16
|
+
"use_for_all_users": None, # boolean - Whether this profile applies to all users in the Workspace by default
|
|
17
|
+
"mount_mappings": None, # object - Mount point mappings for the desktop app. Keys are mount points (e.g. drive letters) and values are paths in Files.com that the mount points map to.
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
def __init__(self, attributes=None, options=None):
|
|
21
|
+
if not isinstance(attributes, dict):
|
|
22
|
+
attributes = {}
|
|
23
|
+
if not isinstance(options, dict):
|
|
24
|
+
options = {}
|
|
25
|
+
self.set_attributes(attributes)
|
|
26
|
+
self.options = options
|
|
27
|
+
|
|
28
|
+
def set_attributes(self, attributes):
|
|
29
|
+
for (
|
|
30
|
+
attribute,
|
|
31
|
+
default_value,
|
|
32
|
+
) in DesktopConfigurationProfile.default_attributes.items():
|
|
33
|
+
value = attributes.get(attribute, default_value)
|
|
34
|
+
setattr(self, attribute, value)
|
|
35
|
+
|
|
36
|
+
def get_attributes(self):
|
|
37
|
+
attrs = {
|
|
38
|
+
k: getattr(self, k, None)
|
|
39
|
+
for k in DesktopConfigurationProfile.default_attributes
|
|
40
|
+
if getattr(self, k, None) is not None
|
|
41
|
+
}
|
|
42
|
+
return attrs
|
|
43
|
+
|
|
44
|
+
# Parameters:
|
|
45
|
+
# name - string - Profile name
|
|
46
|
+
# workspace_id - int64 - Workspace ID
|
|
47
|
+
# mount_mappings - object - Mount point mappings for the desktop app. Keys are mount points (e.g. drive letters) and values are paths in Files.com that the mount points map to.
|
|
48
|
+
# use_for_all_users - boolean - Whether this profile applies to all users in the Workspace by default
|
|
49
|
+
def update(self, params=None):
|
|
50
|
+
if not isinstance(params, dict):
|
|
51
|
+
params = {}
|
|
52
|
+
|
|
53
|
+
if hasattr(self, "id") and self.id:
|
|
54
|
+
params["id"] = self.id
|
|
55
|
+
else:
|
|
56
|
+
raise MissingParameterError("Current object doesn't have a id")
|
|
57
|
+
if "id" not in params:
|
|
58
|
+
raise MissingParameterError("Parameter missing: id")
|
|
59
|
+
if "id" in params and not isinstance(params["id"], int):
|
|
60
|
+
raise InvalidParameterError("Bad parameter: id must be an int")
|
|
61
|
+
if "name" in params and not isinstance(params["name"], str):
|
|
62
|
+
raise InvalidParameterError("Bad parameter: name must be an str")
|
|
63
|
+
if "workspace_id" in params and not isinstance(
|
|
64
|
+
params["workspace_id"], int
|
|
65
|
+
):
|
|
66
|
+
raise InvalidParameterError(
|
|
67
|
+
"Bad parameter: workspace_id must be an int"
|
|
68
|
+
)
|
|
69
|
+
response, _options = Api.send_request(
|
|
70
|
+
"PATCH",
|
|
71
|
+
"/desktop_configuration_profiles/{id}".format(id=params["id"]),
|
|
72
|
+
params,
|
|
73
|
+
self.options,
|
|
74
|
+
)
|
|
75
|
+
return response.data
|
|
76
|
+
|
|
77
|
+
def delete(self, params=None):
|
|
78
|
+
if not isinstance(params, dict):
|
|
79
|
+
params = {}
|
|
80
|
+
|
|
81
|
+
if hasattr(self, "id") and self.id:
|
|
82
|
+
params["id"] = self.id
|
|
83
|
+
else:
|
|
84
|
+
raise MissingParameterError("Current object doesn't have a id")
|
|
85
|
+
if "id" not in params:
|
|
86
|
+
raise MissingParameterError("Parameter missing: id")
|
|
87
|
+
if "id" in params and not isinstance(params["id"], int):
|
|
88
|
+
raise InvalidParameterError("Bad parameter: id must be an int")
|
|
89
|
+
Api.send_request(
|
|
90
|
+
"DELETE",
|
|
91
|
+
"/desktop_configuration_profiles/{id}".format(id=params["id"]),
|
|
92
|
+
params,
|
|
93
|
+
self.options,
|
|
94
|
+
)
|
|
95
|
+
|
|
96
|
+
def destroy(self, params=None):
|
|
97
|
+
self.delete(params)
|
|
98
|
+
|
|
99
|
+
def save(self):
|
|
100
|
+
if hasattr(self, "id") and self.id:
|
|
101
|
+
new_obj = self.update(self.get_attributes())
|
|
102
|
+
self.set_attributes(new_obj.get_attributes())
|
|
103
|
+
return True
|
|
104
|
+
else:
|
|
105
|
+
new_obj = create(self.get_attributes(), self.options)
|
|
106
|
+
self.set_attributes(new_obj.get_attributes())
|
|
107
|
+
return True
|
|
108
|
+
|
|
109
|
+
|
|
110
|
+
# Parameters:
|
|
111
|
+
# 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
|
+
# 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 `workspace_id` and `name`.
|
|
114
|
+
# filter - object - If set, return records where the specified field is equal to the supplied value. Valid fields are `workspace_id`.
|
|
115
|
+
def list(params=None, options=None):
|
|
116
|
+
if not isinstance(params, dict):
|
|
117
|
+
params = {}
|
|
118
|
+
if not isinstance(options, dict):
|
|
119
|
+
options = {}
|
|
120
|
+
if "cursor" in params and not isinstance(params["cursor"], str):
|
|
121
|
+
raise InvalidParameterError("Bad parameter: cursor must be an str")
|
|
122
|
+
if "per_page" in params and not isinstance(params["per_page"], int):
|
|
123
|
+
raise InvalidParameterError("Bad parameter: per_page must be an int")
|
|
124
|
+
if "sort_by" in params and not isinstance(params["sort_by"], dict):
|
|
125
|
+
raise InvalidParameterError("Bad parameter: sort_by must be an dict")
|
|
126
|
+
if "filter" in params and not isinstance(params["filter"], dict):
|
|
127
|
+
raise InvalidParameterError("Bad parameter: filter must be an dict")
|
|
128
|
+
return ListObj(
|
|
129
|
+
DesktopConfigurationProfile,
|
|
130
|
+
"GET",
|
|
131
|
+
"/desktop_configuration_profiles",
|
|
132
|
+
params,
|
|
133
|
+
options,
|
|
134
|
+
)
|
|
135
|
+
|
|
136
|
+
|
|
137
|
+
def all(params=None, options=None):
|
|
138
|
+
list(params, options)
|
|
139
|
+
|
|
140
|
+
|
|
141
|
+
# Parameters:
|
|
142
|
+
# id (required) - int64 - Desktop Configuration Profile ID.
|
|
143
|
+
def find(id, params=None, options=None):
|
|
144
|
+
if not isinstance(params, dict):
|
|
145
|
+
params = {}
|
|
146
|
+
if not isinstance(options, dict):
|
|
147
|
+
options = {}
|
|
148
|
+
params["id"] = id
|
|
149
|
+
if "id" in params and not isinstance(params["id"], int):
|
|
150
|
+
raise InvalidParameterError("Bad parameter: id must be an int")
|
|
151
|
+
if "id" not in params:
|
|
152
|
+
raise MissingParameterError("Parameter missing: id")
|
|
153
|
+
response, options = Api.send_request(
|
|
154
|
+
"GET",
|
|
155
|
+
"/desktop_configuration_profiles/{id}".format(id=params["id"]),
|
|
156
|
+
params,
|
|
157
|
+
options,
|
|
158
|
+
)
|
|
159
|
+
return DesktopConfigurationProfile(response.data, options)
|
|
160
|
+
|
|
161
|
+
|
|
162
|
+
def get(id, params=None, options=None):
|
|
163
|
+
find(id, params, options)
|
|
164
|
+
|
|
165
|
+
|
|
166
|
+
# Parameters:
|
|
167
|
+
# name (required) - string - Profile name
|
|
168
|
+
# mount_mappings (required) - object - Mount point mappings for the desktop app. Keys are mount points (e.g. drive letters) and values are paths in Files.com that the mount points map to.
|
|
169
|
+
# workspace_id - int64 - Workspace ID
|
|
170
|
+
# use_for_all_users - boolean - Whether this profile applies to all users in the Workspace by default
|
|
171
|
+
def create(params=None, options=None):
|
|
172
|
+
if not isinstance(params, dict):
|
|
173
|
+
params = {}
|
|
174
|
+
if not isinstance(options, dict):
|
|
175
|
+
options = {}
|
|
176
|
+
if "name" in params and not isinstance(params["name"], str):
|
|
177
|
+
raise InvalidParameterError("Bad parameter: name must be an str")
|
|
178
|
+
if "mount_mappings" in params and not isinstance(
|
|
179
|
+
params["mount_mappings"], dict
|
|
180
|
+
):
|
|
181
|
+
raise InvalidParameterError(
|
|
182
|
+
"Bad parameter: mount_mappings must be an dict"
|
|
183
|
+
)
|
|
184
|
+
if "workspace_id" in params and not isinstance(
|
|
185
|
+
params["workspace_id"], int
|
|
186
|
+
):
|
|
187
|
+
raise InvalidParameterError(
|
|
188
|
+
"Bad parameter: workspace_id must be an int"
|
|
189
|
+
)
|
|
190
|
+
if "use_for_all_users" in params and not isinstance(
|
|
191
|
+
params["use_for_all_users"], bool
|
|
192
|
+
):
|
|
193
|
+
raise InvalidParameterError(
|
|
194
|
+
"Bad parameter: use_for_all_users must be an bool"
|
|
195
|
+
)
|
|
196
|
+
if "name" not in params:
|
|
197
|
+
raise MissingParameterError("Parameter missing: name")
|
|
198
|
+
if "mount_mappings" not in params:
|
|
199
|
+
raise MissingParameterError("Parameter missing: mount_mappings")
|
|
200
|
+
response, options = Api.send_request(
|
|
201
|
+
"POST", "/desktop_configuration_profiles", params, options
|
|
202
|
+
)
|
|
203
|
+
return DesktopConfigurationProfile(response.data, options)
|
|
204
|
+
|
|
205
|
+
|
|
206
|
+
# Parameters:
|
|
207
|
+
# name - string - Profile name
|
|
208
|
+
# workspace_id - int64 - Workspace ID
|
|
209
|
+
# mount_mappings - object - Mount point mappings for the desktop app. Keys are mount points (e.g. drive letters) and values are paths in Files.com that the mount points map to.
|
|
210
|
+
# use_for_all_users - boolean - Whether this profile applies to all users in the Workspace by default
|
|
211
|
+
def update(id, params=None, options=None):
|
|
212
|
+
if not isinstance(params, dict):
|
|
213
|
+
params = {}
|
|
214
|
+
if not isinstance(options, dict):
|
|
215
|
+
options = {}
|
|
216
|
+
params["id"] = id
|
|
217
|
+
if "id" in params and not isinstance(params["id"], int):
|
|
218
|
+
raise InvalidParameterError("Bad parameter: id must be an int")
|
|
219
|
+
if "name" in params and not isinstance(params["name"], str):
|
|
220
|
+
raise InvalidParameterError("Bad parameter: name 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
|
+
if "mount_mappings" in params and not isinstance(
|
|
228
|
+
params["mount_mappings"], dict
|
|
229
|
+
):
|
|
230
|
+
raise InvalidParameterError(
|
|
231
|
+
"Bad parameter: mount_mappings must be an dict"
|
|
232
|
+
)
|
|
233
|
+
if "use_for_all_users" in params and not isinstance(
|
|
234
|
+
params["use_for_all_users"], bool
|
|
235
|
+
):
|
|
236
|
+
raise InvalidParameterError(
|
|
237
|
+
"Bad parameter: use_for_all_users must be an bool"
|
|
238
|
+
)
|
|
239
|
+
if "id" not in params:
|
|
240
|
+
raise MissingParameterError("Parameter missing: id")
|
|
241
|
+
response, options = Api.send_request(
|
|
242
|
+
"PATCH",
|
|
243
|
+
"/desktop_configuration_profiles/{id}".format(id=params["id"]),
|
|
244
|
+
params,
|
|
245
|
+
options,
|
|
246
|
+
)
|
|
247
|
+
return DesktopConfigurationProfile(response.data, options)
|
|
248
|
+
|
|
249
|
+
|
|
250
|
+
def delete(id, params=None, options=None):
|
|
251
|
+
if not isinstance(params, dict):
|
|
252
|
+
params = {}
|
|
253
|
+
if not isinstance(options, dict):
|
|
254
|
+
options = {}
|
|
255
|
+
params["id"] = id
|
|
256
|
+
if "id" in params and not isinstance(params["id"], int):
|
|
257
|
+
raise InvalidParameterError("Bad parameter: id must be an int")
|
|
258
|
+
if "id" not in params:
|
|
259
|
+
raise MissingParameterError("Parameter missing: id")
|
|
260
|
+
Api.send_request(
|
|
261
|
+
"DELETE",
|
|
262
|
+
"/desktop_configuration_profiles/{id}".format(id=params["id"]),
|
|
263
|
+
params,
|
|
264
|
+
options,
|
|
265
|
+
)
|
|
266
|
+
|
|
267
|
+
|
|
268
|
+
def destroy(id, params=None, options=None):
|
|
269
|
+
delete(id, params, options)
|
|
270
|
+
|
|
271
|
+
|
|
272
|
+
def new(*args, **kwargs):
|
|
273
|
+
return DesktopConfigurationProfile(*args, **kwargs)
|
|
@@ -27,6 +27,7 @@ class User:
|
|
|
27
27
|
"dav_permission": None, # boolean - Can the user connect with WebDAV?
|
|
28
28
|
"disabled": None, # boolean - Is user disabled? Disabled users cannot log in, and do not count for billing purposes. Users can be automatically disabled after an inactivity period via a Site setting or schedule to be deactivated after specific date.
|
|
29
29
|
"disabled_expired_or_inactive": None, # boolean - Computed property that returns true if user disabled or expired or inactive.
|
|
30
|
+
"desktop_configuration_profile_id": None, # int64 - Desktop Configuration Profile ID assigned directly to this user, if any.
|
|
30
31
|
"email": None, # email - User email address
|
|
31
32
|
"filesystem_layout": None, # string - File system layout
|
|
32
33
|
"first_login_at": None, # date-time - User's first login time
|
|
@@ -199,6 +200,7 @@ class User:
|
|
|
199
200
|
# bypass_user_lifecycle_rules - boolean - Exempt this user from user lifecycle rules?
|
|
200
201
|
# bypass_site_allowed_ips - boolean - Allow this user to skip site-wide IP blacklists?
|
|
201
202
|
# dav_permission - boolean - Can the user connect with WebDAV?
|
|
203
|
+
# desktop_configuration_profile_id - int64 - Desktop Configuration Profile ID assigned directly to this user, if any.
|
|
202
204
|
# disabled - boolean - Is user disabled? Disabled users cannot log in, and do not count for billing purposes. Users can be automatically disabled after an inactivity period via a Site setting or schedule to be deactivated after specific date.
|
|
203
205
|
# filesystem_layout - string - File system layout
|
|
204
206
|
# ftp_permission - boolean - Can the user access with FTP/FTPS?
|
|
@@ -307,6 +309,12 @@ class User:
|
|
|
307
309
|
raise InvalidParameterError(
|
|
308
310
|
"Bad parameter: authentication_method must be an str"
|
|
309
311
|
)
|
|
312
|
+
if "desktop_configuration_profile_id" in params and not isinstance(
|
|
313
|
+
params["desktop_configuration_profile_id"], int
|
|
314
|
+
):
|
|
315
|
+
raise InvalidParameterError(
|
|
316
|
+
"Bad parameter: desktop_configuration_profile_id must be an int"
|
|
317
|
+
)
|
|
310
318
|
if "filesystem_layout" in params and not isinstance(
|
|
311
319
|
params["filesystem_layout"], str
|
|
312
320
|
):
|
|
@@ -544,6 +552,7 @@ def get(id, params=None, options=None):
|
|
|
544
552
|
# bypass_user_lifecycle_rules - boolean - Exempt this user from user lifecycle rules?
|
|
545
553
|
# bypass_site_allowed_ips - boolean - Allow this user to skip site-wide IP blacklists?
|
|
546
554
|
# dav_permission - boolean - Can the user connect with WebDAV?
|
|
555
|
+
# desktop_configuration_profile_id - int64 - Desktop Configuration Profile ID assigned directly to this user, if any.
|
|
547
556
|
# disabled - boolean - Is user disabled? Disabled users cannot log in, and do not count for billing purposes. Users can be automatically disabled after an inactivity period via a Site setting or schedule to be deactivated after specific date.
|
|
548
557
|
# filesystem_layout - string - File system layout
|
|
549
558
|
# ftp_permission - boolean - Can the user access with FTP/FTPS?
|
|
@@ -678,6 +687,12 @@ def create(params=None, options=None):
|
|
|
678
687
|
raise InvalidParameterError(
|
|
679
688
|
"Bad parameter: dav_permission must be an bool"
|
|
680
689
|
)
|
|
690
|
+
if "desktop_configuration_profile_id" in params and not isinstance(
|
|
691
|
+
params["desktop_configuration_profile_id"], int
|
|
692
|
+
):
|
|
693
|
+
raise InvalidParameterError(
|
|
694
|
+
"Bad parameter: desktop_configuration_profile_id must be an int"
|
|
695
|
+
)
|
|
681
696
|
if "disabled" in params and not isinstance(params["disabled"], bool):
|
|
682
697
|
raise InvalidParameterError("Bad parameter: disabled must be an bool")
|
|
683
698
|
if "filesystem_layout" in params and not isinstance(
|
|
@@ -907,6 +922,7 @@ def user_2fa_reset(id, params=None, options=None):
|
|
|
907
922
|
# bypass_user_lifecycle_rules - boolean - Exempt this user from user lifecycle rules?
|
|
908
923
|
# bypass_site_allowed_ips - boolean - Allow this user to skip site-wide IP blacklists?
|
|
909
924
|
# dav_permission - boolean - Can the user connect with WebDAV?
|
|
925
|
+
# desktop_configuration_profile_id - int64 - Desktop Configuration Profile ID assigned directly to this user, if any.
|
|
910
926
|
# disabled - boolean - Is user disabled? Disabled users cannot log in, and do not count for billing purposes. Users can be automatically disabled after an inactivity period via a Site setting or schedule to be deactivated after specific date.
|
|
911
927
|
# filesystem_layout - string - File system layout
|
|
912
928
|
# ftp_permission - boolean - Can the user access with FTP/FTPS?
|
|
@@ -1045,6 +1061,12 @@ def update(id, params=None, options=None):
|
|
|
1045
1061
|
raise InvalidParameterError(
|
|
1046
1062
|
"Bad parameter: dav_permission must be an bool"
|
|
1047
1063
|
)
|
|
1064
|
+
if "desktop_configuration_profile_id" in params and not isinstance(
|
|
1065
|
+
params["desktop_configuration_profile_id"], int
|
|
1066
|
+
):
|
|
1067
|
+
raise InvalidParameterError(
|
|
1068
|
+
"Bad parameter: desktop_configuration_profile_id must be an int"
|
|
1069
|
+
)
|
|
1048
1070
|
if "disabled" in params and not isinstance(params["disabled"], bool):
|
|
1049
1071
|
raise InvalidParameterError("Bad parameter: disabled must be an bool")
|
|
1050
1072
|
if "filesystem_layout" in params and not isinstance(
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
import unittest
|
|
2
|
+
import inspect
|
|
3
|
+
import files_sdk
|
|
4
|
+
from tests.base import TestBase
|
|
5
|
+
from files_sdk.models import DesktopConfigurationProfile
|
|
6
|
+
from files_sdk import desktop_configuration_profile
|
|
7
|
+
|
|
8
|
+
class DesktopConfigurationProfileTest(TestBase):
|
|
9
|
+
pass
|
|
10
|
+
# Instance Methods
|
|
11
|
+
@unittest.skipUnless(TestBase.mock_server_path_exists("PATCH", "/desktop_configuration_profiles/{id}"), "Mock path does not exist")
|
|
12
|
+
def test_update(self):
|
|
13
|
+
params = {
|
|
14
|
+
"id" : 12345,
|
|
15
|
+
}
|
|
16
|
+
desktop_configuration_profile = DesktopConfigurationProfile(params)
|
|
17
|
+
desktop_configuration_profile.update(params)
|
|
18
|
+
|
|
19
|
+
@unittest.skipUnless(TestBase.mock_server_path_exists("DELETE", "/desktop_configuration_profiles/{id}"), "Mock path does not exist")
|
|
20
|
+
def test_delete(self):
|
|
21
|
+
params = {
|
|
22
|
+
"id" : 12345,
|
|
23
|
+
}
|
|
24
|
+
desktop_configuration_profile = DesktopConfigurationProfile(params)
|
|
25
|
+
desktop_configuration_profile.delete(params)
|
|
26
|
+
|
|
27
|
+
# Alias of delete
|
|
28
|
+
def test_destroy(self):
|
|
29
|
+
pass
|
|
30
|
+
|
|
31
|
+
# Static Methods
|
|
32
|
+
@unittest.skipUnless(TestBase.mock_server_path_exists("GET", "/desktop_configuration_profiles"), "Mock path does not exist")
|
|
33
|
+
def test_list(self):
|
|
34
|
+
resp = desktop_configuration_profile.list()
|
|
35
|
+
|
|
36
|
+
@unittest.skipUnless(TestBase.mock_server_path_exists("GET", "/desktop_configuration_profiles/{id}"), "Mock path does not exist")
|
|
37
|
+
def test_find(self):
|
|
38
|
+
id = 12345
|
|
39
|
+
params = {
|
|
40
|
+
"id" : 12345,
|
|
41
|
+
}
|
|
42
|
+
desktop_configuration_profile.find(id, params)
|
|
43
|
+
|
|
44
|
+
@unittest.skipUnless(TestBase.mock_server_path_exists("POST", "/desktop_configuration_profiles"), "Mock path does not exist")
|
|
45
|
+
def test_create(self):
|
|
46
|
+
params = {
|
|
47
|
+
"name" : "foo",
|
|
48
|
+
"mount_mappings" : {},
|
|
49
|
+
}
|
|
50
|
+
desktop_configuration_profile.create(params)
|
|
51
|
+
|
|
52
|
+
@unittest.skipUnless(TestBase.mock_server_path_exists("PATCH", "/desktop_configuration_profiles/{id}"), "Mock path does not exist")
|
|
53
|
+
def test_update(self):
|
|
54
|
+
id = 12345
|
|
55
|
+
params = {
|
|
56
|
+
"id" : 12345,
|
|
57
|
+
}
|
|
58
|
+
desktop_configuration_profile.update(id, params)
|
|
59
|
+
|
|
60
|
+
@unittest.skipUnless(TestBase.mock_server_path_exists("DELETE", "/desktop_configuration_profiles/{id}"), "Mock path does not exist")
|
|
61
|
+
def test_delete(self):
|
|
62
|
+
id = 12345
|
|
63
|
+
params = {
|
|
64
|
+
"id" : 12345,
|
|
65
|
+
}
|
|
66
|
+
desktop_configuration_profile.delete(id, params)
|
|
67
|
+
|
|
68
|
+
if __name__ == '__main__':
|
|
69
|
+
unittest.main()
|
files_com-1.6.323/_VERSION
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
1.6.323
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{files_com-1.6.323 → files_com-1.6.324}/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
|