Files.com 1.6.406__tar.gz → 1.6.407__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.406/files_com.egg-info → files_com-1.6.407}/PKG-INFO +1 -1
- files_com-1.6.407/_VERSION +1 -0
- {files_com-1.6.406 → files_com-1.6.407/files_com.egg-info}/PKG-INFO +1 -1
- {files_com-1.6.406 → files_com-1.6.407}/files_com.egg-info/SOURCES.txt +2 -0
- {files_com-1.6.406 → files_com-1.6.407}/files_sdk/__init__.py +3 -1
- {files_com-1.6.406 → files_com-1.6.407}/files_sdk/models/__init__.py +1 -0
- files_com-1.6.407/files_sdk/models/ai_assistant_personality.py +285 -0
- {files_com-1.6.406 → files_com-1.6.407}/files_sdk/models/group.py +22 -0
- {files_com-1.6.406 → files_com-1.6.407}/files_sdk/models/partner.py +22 -0
- {files_com-1.6.406 → files_com-1.6.407}/files_sdk/models/user.py +22 -0
- {files_com-1.6.406 → files_com-1.6.407}/pyproject.toml +1 -1
- files_com-1.6.407/tests/test_ai_assistant_personality.py +68 -0
- files_com-1.6.406/_VERSION +0 -1
- {files_com-1.6.406 → files_com-1.6.407}/LICENSE +0 -0
- {files_com-1.6.406 → files_com-1.6.407}/README.md +0 -0
- {files_com-1.6.406 → files_com-1.6.407}/files_com.egg-info/dependency_links.txt +0 -0
- {files_com-1.6.406 → files_com-1.6.407}/files_com.egg-info/requires.txt +0 -0
- {files_com-1.6.406 → files_com-1.6.407}/files_com.egg-info/top_level.txt +0 -0
- {files_com-1.6.406 → files_com-1.6.407}/files_sdk/api.py +0 -0
- {files_com-1.6.406 → files_com-1.6.407}/files_sdk/api_client.py +0 -0
- {files_com-1.6.406 → files_com-1.6.407}/files_sdk/error.py +0 -0
- {files_com-1.6.406 → files_com-1.6.407}/files_sdk/list_obj.py +0 -0
- {files_com-1.6.406 → files_com-1.6.407}/files_sdk/models/account_line_item.py +0 -0
- {files_com-1.6.406 → files_com-1.6.407}/files_sdk/models/action.py +0 -0
- {files_com-1.6.406 → files_com-1.6.407}/files_sdk/models/action_log.py +0 -0
- {files_com-1.6.406 → files_com-1.6.407}/files_sdk/models/action_notification_export.py +0 -0
- {files_com-1.6.406 → files_com-1.6.407}/files_sdk/models/action_notification_export_result.py +0 -0
- {files_com-1.6.406 → files_com-1.6.407}/files_sdk/models/agent_push_update.py +0 -0
- {files_com-1.6.406 → files_com-1.6.407}/files_sdk/models/ai_task.py +0 -0
- {files_com-1.6.406 → files_com-1.6.407}/files_sdk/models/api_key.py +0 -0
- {files_com-1.6.406 → files_com-1.6.407}/files_sdk/models/api_request_log.py +0 -0
- {files_com-1.6.406 → files_com-1.6.407}/files_sdk/models/app.py +0 -0
- {files_com-1.6.406 → files_com-1.6.407}/files_sdk/models/as2_incoming_message.py +0 -0
- {files_com-1.6.406 → files_com-1.6.407}/files_sdk/models/as2_outgoing_message.py +0 -0
- {files_com-1.6.406 → files_com-1.6.407}/files_sdk/models/as2_partner.py +0 -0
- {files_com-1.6.406 → files_com-1.6.407}/files_sdk/models/as2_station.py +0 -0
- {files_com-1.6.406 → files_com-1.6.407}/files_sdk/models/auto.py +0 -0
- {files_com-1.6.406 → files_com-1.6.407}/files_sdk/models/automation.py +0 -0
- {files_com-1.6.406 → files_com-1.6.407}/files_sdk/models/automation_log.py +0 -0
- {files_com-1.6.406 → files_com-1.6.407}/files_sdk/models/automation_run.py +0 -0
- {files_com-1.6.406 → files_com-1.6.407}/files_sdk/models/bandwidth_snapshot.py +0 -0
- {files_com-1.6.406 → files_com-1.6.407}/files_sdk/models/behavior.py +0 -0
- {files_com-1.6.406 → files_com-1.6.407}/files_sdk/models/bundle.py +0 -0
- {files_com-1.6.406 → files_com-1.6.407}/files_sdk/models/bundle_action.py +0 -0
- {files_com-1.6.406 → files_com-1.6.407}/files_sdk/models/bundle_download.py +0 -0
- {files_com-1.6.406 → files_com-1.6.407}/files_sdk/models/bundle_notification.py +0 -0
- {files_com-1.6.406 → files_com-1.6.407}/files_sdk/models/bundle_path.py +0 -0
- {files_com-1.6.406 → files_com-1.6.407}/files_sdk/models/bundle_recipient.py +0 -0
- {files_com-1.6.406 → files_com-1.6.407}/files_sdk/models/bundle_registration.py +0 -0
- {files_com-1.6.406 → files_com-1.6.407}/files_sdk/models/chat_message.py +0 -0
- {files_com-1.6.406 → files_com-1.6.407}/files_sdk/models/chat_session.py +0 -0
- {files_com-1.6.406 → files_com-1.6.407}/files_sdk/models/child_site_management_policy.py +0 -0
- {files_com-1.6.406 → files_com-1.6.407}/files_sdk/models/clickwrap.py +0 -0
- {files_com-1.6.406 → files_com-1.6.407}/files_sdk/models/custom_domain.py +0 -0
- {files_com-1.6.406 → files_com-1.6.407}/files_sdk/models/desktop_configuration_profile.py +0 -0
- {files_com-1.6.406 → files_com-1.6.407}/files_sdk/models/dns_record.py +0 -0
- {files_com-1.6.406 → files_com-1.6.407}/files_sdk/models/email_incoming_message.py +0 -0
- {files_com-1.6.406 → files_com-1.6.407}/files_sdk/models/email_log.py +0 -0
- {files_com-1.6.406 → files_com-1.6.407}/files_sdk/models/errors.py +0 -0
- {files_com-1.6.406 → files_com-1.6.407}/files_sdk/models/event_channel.py +0 -0
- {files_com-1.6.406 → files_com-1.6.407}/files_sdk/models/event_delivery_attempt.py +0 -0
- {files_com-1.6.406 → files_com-1.6.407}/files_sdk/models/event_record.py +0 -0
- {files_com-1.6.406 → files_com-1.6.407}/files_sdk/models/event_subscription.py +0 -0
- {files_com-1.6.406 → files_com-1.6.407}/files_sdk/models/event_target.py +0 -0
- {files_com-1.6.406 → files_com-1.6.407}/files_sdk/models/exavault_api_request_log.py +0 -0
- {files_com-1.6.406 → files_com-1.6.407}/files_sdk/models/expectation.py +0 -0
- {files_com-1.6.406 → files_com-1.6.407}/files_sdk/models/expectation_evaluation.py +0 -0
- {files_com-1.6.406 → files_com-1.6.407}/files_sdk/models/expectation_incident.py +0 -0
- {files_com-1.6.406 → files_com-1.6.407}/files_sdk/models/external_event.py +0 -0
- {files_com-1.6.406 → files_com-1.6.407}/files_sdk/models/file.py +0 -0
- {files_com-1.6.406 → files_com-1.6.407}/files_sdk/models/file_action.py +0 -0
- {files_com-1.6.406 → files_com-1.6.407}/files_sdk/models/file_comment.py +0 -0
- {files_com-1.6.406 → files_com-1.6.407}/files_sdk/models/file_comment_reaction.py +0 -0
- {files_com-1.6.406 → files_com-1.6.407}/files_sdk/models/file_migration.py +0 -0
- {files_com-1.6.406 → files_com-1.6.407}/files_sdk/models/file_migration_log.py +0 -0
- {files_com-1.6.406 → files_com-1.6.407}/files_sdk/models/file_upload_part.py +0 -0
- {files_com-1.6.406 → files_com-1.6.407}/files_sdk/models/folder.py +0 -0
- {files_com-1.6.406 → files_com-1.6.407}/files_sdk/models/form_field.py +0 -0
- {files_com-1.6.406 → files_com-1.6.407}/files_sdk/models/form_field_set.py +0 -0
- {files_com-1.6.406 → files_com-1.6.407}/files_sdk/models/ftp_action_log.py +0 -0
- {files_com-1.6.406 → files_com-1.6.407}/files_sdk/models/gpg_key.py +0 -0
- {files_com-1.6.406 → files_com-1.6.407}/files_sdk/models/group_user.py +0 -0
- {files_com-1.6.406 → files_com-1.6.407}/files_sdk/models/history.py +0 -0
- {files_com-1.6.406 → files_com-1.6.407}/files_sdk/models/history_export.py +0 -0
- {files_com-1.6.406 → files_com-1.6.407}/files_sdk/models/history_export_result.py +0 -0
- {files_com-1.6.406 → files_com-1.6.407}/files_sdk/models/holiday_region.py +0 -0
- {files_com-1.6.406 → files_com-1.6.407}/files_sdk/models/image.py +0 -0
- {files_com-1.6.406 → files_com-1.6.407}/files_sdk/models/inbound_s3_log.py +0 -0
- {files_com-1.6.406 → files_com-1.6.407}/files_sdk/models/inbox_recipient.py +0 -0
- {files_com-1.6.406 → files_com-1.6.407}/files_sdk/models/inbox_registration.py +0 -0
- {files_com-1.6.406 → files_com-1.6.407}/files_sdk/models/inbox_upload.py +0 -0
- {files_com-1.6.406 → files_com-1.6.407}/files_sdk/models/invoice.py +0 -0
- {files_com-1.6.406 → files_com-1.6.407}/files_sdk/models/invoice_line_item.py +0 -0
- {files_com-1.6.406 → files_com-1.6.407}/files_sdk/models/ip_address.py +0 -0
- {files_com-1.6.406 → files_com-1.6.407}/files_sdk/models/key_lifecycle_rule.py +0 -0
- {files_com-1.6.406 → files_com-1.6.407}/files_sdk/models/lock.py +0 -0
- {files_com-1.6.406 → files_com-1.6.407}/files_sdk/models/message.py +0 -0
- {files_com-1.6.406 → files_com-1.6.407}/files_sdk/models/message_comment.py +0 -0
- {files_com-1.6.406 → files_com-1.6.407}/files_sdk/models/message_comment_reaction.py +0 -0
- {files_com-1.6.406 → files_com-1.6.407}/files_sdk/models/message_reaction.py +0 -0
- {files_com-1.6.406 → files_com-1.6.407}/files_sdk/models/metadata_category.py +0 -0
- {files_com-1.6.406 → files_com-1.6.407}/files_sdk/models/notification.py +0 -0
- {files_com-1.6.406 → files_com-1.6.407}/files_sdk/models/outbound_connection_log.py +0 -0
- {files_com-1.6.406 → files_com-1.6.407}/files_sdk/models/partner_channel.py +0 -0
- {files_com-1.6.406 → files_com-1.6.407}/files_sdk/models/partner_site.py +0 -0
- {files_com-1.6.406 → files_com-1.6.407}/files_sdk/models/partner_site_request.py +0 -0
- {files_com-1.6.406 → files_com-1.6.407}/files_sdk/models/payment.py +0 -0
- {files_com-1.6.406 → files_com-1.6.407}/files_sdk/models/payment_line_item.py +0 -0
- {files_com-1.6.406 → files_com-1.6.407}/files_sdk/models/pending_work_event.py +0 -0
- {files_com-1.6.406 → files_com-1.6.407}/files_sdk/models/permission.py +0 -0
- {files_com-1.6.406 → files_com-1.6.407}/files_sdk/models/preview.py +0 -0
- {files_com-1.6.406 → files_com-1.6.407}/files_sdk/models/project.py +0 -0
- {files_com-1.6.406 → files_com-1.6.407}/files_sdk/models/public_hosting_request_log.py +0 -0
- {files_com-1.6.406 → files_com-1.6.407}/files_sdk/models/public_ip_address.py +0 -0
- {files_com-1.6.406 → files_com-1.6.407}/files_sdk/models/public_key.py +0 -0
- {files_com-1.6.406 → files_com-1.6.407}/files_sdk/models/remote_bandwidth_snapshot.py +0 -0
- {files_com-1.6.406 → files_com-1.6.407}/files_sdk/models/remote_mount_backend.py +0 -0
- {files_com-1.6.406 → files_com-1.6.407}/files_sdk/models/remote_server.py +0 -0
- {files_com-1.6.406 → files_com-1.6.407}/files_sdk/models/remote_server_configuration_file.py +0 -0
- {files_com-1.6.406 → files_com-1.6.407}/files_sdk/models/remote_server_credential.py +0 -0
- {files_com-1.6.406 → files_com-1.6.407}/files_sdk/models/request.py +0 -0
- {files_com-1.6.406 → files_com-1.6.407}/files_sdk/models/restore.py +0 -0
- {files_com-1.6.406 → files_com-1.6.407}/files_sdk/models/scheduled_export.py +0 -0
- {files_com-1.6.406 → files_com-1.6.407}/files_sdk/models/scim_log.py +0 -0
- {files_com-1.6.406 → files_com-1.6.407}/files_sdk/models/session.py +0 -0
- {files_com-1.6.406 → files_com-1.6.407}/files_sdk/models/settings_change.py +0 -0
- {files_com-1.6.406 → files_com-1.6.407}/files_sdk/models/sftp_action_log.py +0 -0
- {files_com-1.6.406 → files_com-1.6.407}/files_sdk/models/sftp_host_key.py +0 -0
- {files_com-1.6.406 → files_com-1.6.407}/files_sdk/models/share_group.py +0 -0
- {files_com-1.6.406 → files_com-1.6.407}/files_sdk/models/share_group_member.py +0 -0
- {files_com-1.6.406 → files_com-1.6.407}/files_sdk/models/siem_http_destination.py +0 -0
- {files_com-1.6.406 → files_com-1.6.407}/files_sdk/models/siem_http_destination_event.py +0 -0
- {files_com-1.6.406 → files_com-1.6.407}/files_sdk/models/site.py +0 -0
- {files_com-1.6.406 → files_com-1.6.407}/files_sdk/models/site_subdomain_redirect.py +0 -0
- {files_com-1.6.406 → files_com-1.6.407}/files_sdk/models/snapshot.py +0 -0
- {files_com-1.6.406 → files_com-1.6.407}/files_sdk/models/sso_event.py +0 -0
- {files_com-1.6.406 → files_com-1.6.407}/files_sdk/models/sso_strategy.py +0 -0
- {files_com-1.6.406 → files_com-1.6.407}/files_sdk/models/status.py +0 -0
- {files_com-1.6.406 → files_com-1.6.407}/files_sdk/models/style.py +0 -0
- {files_com-1.6.406 → files_com-1.6.407}/files_sdk/models/sync.py +0 -0
- {files_com-1.6.406 → files_com-1.6.407}/files_sdk/models/sync_log.py +0 -0
- {files_com-1.6.406 → files_com-1.6.407}/files_sdk/models/sync_run.py +0 -0
- {files_com-1.6.406 → files_com-1.6.407}/files_sdk/models/sync_run_live_transfer.py +0 -0
- {files_com-1.6.406 → files_com-1.6.407}/files_sdk/models/usage_by_top_level_dir.py +0 -0
- {files_com-1.6.406 → files_com-1.6.407}/files_sdk/models/usage_daily_snapshot.py +0 -0
- {files_com-1.6.406 → files_com-1.6.407}/files_sdk/models/usage_snapshot.py +0 -0
- {files_com-1.6.406 → files_com-1.6.407}/files_sdk/models/user_cipher_use.py +0 -0
- {files_com-1.6.406 → files_com-1.6.407}/files_sdk/models/user_lifecycle_rule.py +0 -0
- {files_com-1.6.406 → files_com-1.6.407}/files_sdk/models/user_request.py +0 -0
- {files_com-1.6.406 → files_com-1.6.407}/files_sdk/models/user_security_event.py +0 -0
- {files_com-1.6.406 → files_com-1.6.407}/files_sdk/models/user_sftp_client_use.py +0 -0
- {files_com-1.6.406 → files_com-1.6.407}/files_sdk/models/web_dav_action_log.py +0 -0
- {files_com-1.6.406 → files_com-1.6.407}/files_sdk/models/webhook_test.py +0 -0
- {files_com-1.6.406 → files_com-1.6.407}/files_sdk/models/workspace.py +0 -0
- {files_com-1.6.406 → files_com-1.6.407}/files_sdk/models/zip_list_entry.py +0 -0
- {files_com-1.6.406 → files_com-1.6.407}/files_sdk/path_util.py +0 -0
- {files_com-1.6.406 → files_com-1.6.407}/files_sdk/util.py +0 -0
- {files_com-1.6.406 → files_com-1.6.407}/setup.cfg +0 -0
- {files_com-1.6.406 → files_com-1.6.407}/tests/test_account_line_item.py +0 -0
- {files_com-1.6.406 → files_com-1.6.407}/tests/test_action.py +0 -0
- {files_com-1.6.406 → files_com-1.6.407}/tests/test_action_log.py +0 -0
- {files_com-1.6.406 → files_com-1.6.407}/tests/test_action_notification_export.py +0 -0
- {files_com-1.6.406 → files_com-1.6.407}/tests/test_action_notification_export_result.py +0 -0
- {files_com-1.6.406 → files_com-1.6.407}/tests/test_agent_push_update.py +0 -0
- {files_com-1.6.406 → files_com-1.6.407}/tests/test_ai_task.py +0 -0
- {files_com-1.6.406 → files_com-1.6.407}/tests/test_api_errors.py +0 -0
- {files_com-1.6.406 → files_com-1.6.407}/tests/test_api_key.py +0 -0
- {files_com-1.6.406 → files_com-1.6.407}/tests/test_api_request_log.py +0 -0
- {files_com-1.6.406 → files_com-1.6.407}/tests/test_app.py +0 -0
- {files_com-1.6.406 → files_com-1.6.407}/tests/test_as2_incoming_message.py +0 -0
- {files_com-1.6.406 → files_com-1.6.407}/tests/test_as2_outgoing_message.py +0 -0
- {files_com-1.6.406 → files_com-1.6.407}/tests/test_as2_partner.py +0 -0
- {files_com-1.6.406 → files_com-1.6.407}/tests/test_as2_station.py +0 -0
- {files_com-1.6.406 → files_com-1.6.407}/tests/test_auto.py +0 -0
- {files_com-1.6.406 → files_com-1.6.407}/tests/test_automation.py +0 -0
- {files_com-1.6.406 → files_com-1.6.407}/tests/test_automation_log.py +0 -0
- {files_com-1.6.406 → files_com-1.6.407}/tests/test_automation_run.py +0 -0
- {files_com-1.6.406 → files_com-1.6.407}/tests/test_bandwidth_snapshot.py +0 -0
- {files_com-1.6.406 → files_com-1.6.407}/tests/test_behavior.py +0 -0
- {files_com-1.6.406 → files_com-1.6.407}/tests/test_bundle.py +0 -0
- {files_com-1.6.406 → files_com-1.6.407}/tests/test_bundle_action.py +0 -0
- {files_com-1.6.406 → files_com-1.6.407}/tests/test_bundle_download.py +0 -0
- {files_com-1.6.406 → files_com-1.6.407}/tests/test_bundle_notification.py +0 -0
- {files_com-1.6.406 → files_com-1.6.407}/tests/test_bundle_path.py +0 -0
- {files_com-1.6.406 → files_com-1.6.407}/tests/test_bundle_recipient.py +0 -0
- {files_com-1.6.406 → files_com-1.6.407}/tests/test_bundle_registration.py +0 -0
- {files_com-1.6.406 → files_com-1.6.407}/tests/test_chat_message.py +0 -0
- {files_com-1.6.406 → files_com-1.6.407}/tests/test_chat_session.py +0 -0
- {files_com-1.6.406 → files_com-1.6.407}/tests/test_child_site_management_policy.py +0 -0
- {files_com-1.6.406 → files_com-1.6.407}/tests/test_clickwrap.py +0 -0
- {files_com-1.6.406 → files_com-1.6.407}/tests/test_connection_adapter.py +0 -0
- {files_com-1.6.406 → files_com-1.6.407}/tests/test_custom_domain.py +0 -0
- {files_com-1.6.406 → files_com-1.6.407}/tests/test_decimal_contract.py +0 -0
- {files_com-1.6.406 → files_com-1.6.407}/tests/test_desktop_configuration_profile.py +0 -0
- {files_com-1.6.406 → files_com-1.6.407}/tests/test_dns_record.py +0 -0
- {files_com-1.6.406 → files_com-1.6.407}/tests/test_email_incoming_message.py +0 -0
- {files_com-1.6.406 → files_com-1.6.407}/tests/test_email_log.py +0 -0
- {files_com-1.6.406 → files_com-1.6.407}/tests/test_errors.py +0 -0
- {files_com-1.6.406 → files_com-1.6.407}/tests/test_event_channel.py +0 -0
- {files_com-1.6.406 → files_com-1.6.407}/tests/test_event_delivery_attempt.py +0 -0
- {files_com-1.6.406 → files_com-1.6.407}/tests/test_event_record.py +0 -0
- {files_com-1.6.406 → files_com-1.6.407}/tests/test_event_subscription.py +0 -0
- {files_com-1.6.406 → files_com-1.6.407}/tests/test_event_target.py +0 -0
- {files_com-1.6.406 → files_com-1.6.407}/tests/test_exavault_api_request_log.py +0 -0
- {files_com-1.6.406 → files_com-1.6.407}/tests/test_expectation.py +0 -0
- {files_com-1.6.406 → files_com-1.6.407}/tests/test_expectation_evaluation.py +0 -0
- {files_com-1.6.406 → files_com-1.6.407}/tests/test_expectation_incident.py +0 -0
- {files_com-1.6.406 → files_com-1.6.407}/tests/test_external_event.py +0 -0
- {files_com-1.6.406 → files_com-1.6.407}/tests/test_file.py +0 -0
- {files_com-1.6.406 → files_com-1.6.407}/tests/test_file_action.py +0 -0
- {files_com-1.6.406 → files_com-1.6.407}/tests/test_file_comment.py +0 -0
- {files_com-1.6.406 → files_com-1.6.407}/tests/test_file_comment_reaction.py +0 -0
- {files_com-1.6.406 → files_com-1.6.407}/tests/test_file_migration.py +0 -0
- {files_com-1.6.406 → files_com-1.6.407}/tests/test_file_migration_log.py +0 -0
- {files_com-1.6.406 → files_com-1.6.407}/tests/test_file_upload_part.py +0 -0
- {files_com-1.6.406 → files_com-1.6.407}/tests/test_folder.py +0 -0
- {files_com-1.6.406 → files_com-1.6.407}/tests/test_form_field.py +0 -0
- {files_com-1.6.406 → files_com-1.6.407}/tests/test_form_field_set.py +0 -0
- {files_com-1.6.406 → files_com-1.6.407}/tests/test_ftp_action_log.py +0 -0
- {files_com-1.6.406 → files_com-1.6.407}/tests/test_gpg_key.py +0 -0
- {files_com-1.6.406 → files_com-1.6.407}/tests/test_group.py +0 -0
- {files_com-1.6.406 → files_com-1.6.407}/tests/test_group_user.py +0 -0
- {files_com-1.6.406 → files_com-1.6.407}/tests/test_history.py +0 -0
- {files_com-1.6.406 → files_com-1.6.407}/tests/test_history_export.py +0 -0
- {files_com-1.6.406 → files_com-1.6.407}/tests/test_history_export_result.py +0 -0
- {files_com-1.6.406 → files_com-1.6.407}/tests/test_holiday_region.py +0 -0
- {files_com-1.6.406 → files_com-1.6.407}/tests/test_image.py +0 -0
- {files_com-1.6.406 → files_com-1.6.407}/tests/test_inbound_s3_log.py +0 -0
- {files_com-1.6.406 → files_com-1.6.407}/tests/test_inbox_recipient.py +0 -0
- {files_com-1.6.406 → files_com-1.6.407}/tests/test_inbox_registration.py +0 -0
- {files_com-1.6.406 → files_com-1.6.407}/tests/test_inbox_upload.py +0 -0
- {files_com-1.6.406 → files_com-1.6.407}/tests/test_invoice.py +0 -0
- {files_com-1.6.406 → files_com-1.6.407}/tests/test_invoice_line_item.py +0 -0
- {files_com-1.6.406 → files_com-1.6.407}/tests/test_ip_address.py +0 -0
- {files_com-1.6.406 → files_com-1.6.407}/tests/test_key_lifecycle_rule.py +0 -0
- {files_com-1.6.406 → files_com-1.6.407}/tests/test_lock.py +0 -0
- {files_com-1.6.406 → files_com-1.6.407}/tests/test_message.py +0 -0
- {files_com-1.6.406 → files_com-1.6.407}/tests/test_message_comment.py +0 -0
- {files_com-1.6.406 → files_com-1.6.407}/tests/test_message_comment_reaction.py +0 -0
- {files_com-1.6.406 → files_com-1.6.407}/tests/test_message_reaction.py +0 -0
- {files_com-1.6.406 → files_com-1.6.407}/tests/test_metadata_category.py +0 -0
- {files_com-1.6.406 → files_com-1.6.407}/tests/test_notification.py +0 -0
- {files_com-1.6.406 → files_com-1.6.407}/tests/test_outbound_connection_log.py +0 -0
- {files_com-1.6.406 → files_com-1.6.407}/tests/test_partner.py +0 -0
- {files_com-1.6.406 → files_com-1.6.407}/tests/test_partner_channel.py +0 -0
- {files_com-1.6.406 → files_com-1.6.407}/tests/test_partner_site.py +0 -0
- {files_com-1.6.406 → files_com-1.6.407}/tests/test_partner_site_request.py +0 -0
- {files_com-1.6.406 → files_com-1.6.407}/tests/test_path_util.py +0 -0
- {files_com-1.6.406 → files_com-1.6.407}/tests/test_payment.py +0 -0
- {files_com-1.6.406 → files_com-1.6.407}/tests/test_payment_line_item.py +0 -0
- {files_com-1.6.406 → files_com-1.6.407}/tests/test_pending_work_event.py +0 -0
- {files_com-1.6.406 → files_com-1.6.407}/tests/test_permission.py +0 -0
- {files_com-1.6.406 → files_com-1.6.407}/tests/test_preview.py +0 -0
- {files_com-1.6.406 → files_com-1.6.407}/tests/test_project.py +0 -0
- {files_com-1.6.406 → files_com-1.6.407}/tests/test_public_hosting_request_log.py +0 -0
- {files_com-1.6.406 → files_com-1.6.407}/tests/test_public_ip_address.py +0 -0
- {files_com-1.6.406 → files_com-1.6.407}/tests/test_public_key.py +0 -0
- {files_com-1.6.406 → files_com-1.6.407}/tests/test_remote_bandwidth_snapshot.py +0 -0
- {files_com-1.6.406 → files_com-1.6.407}/tests/test_remote_mount_backend.py +0 -0
- {files_com-1.6.406 → files_com-1.6.407}/tests/test_remote_server.py +0 -0
- {files_com-1.6.406 → files_com-1.6.407}/tests/test_remote_server_configuration_file.py +0 -0
- {files_com-1.6.406 → files_com-1.6.407}/tests/test_remote_server_credential.py +0 -0
- {files_com-1.6.406 → files_com-1.6.407}/tests/test_request.py +0 -0
- {files_com-1.6.406 → files_com-1.6.407}/tests/test_restore.py +0 -0
- {files_com-1.6.406 → files_com-1.6.407}/tests/test_scheduled_export.py +0 -0
- {files_com-1.6.406 → files_com-1.6.407}/tests/test_scim_log.py +0 -0
- {files_com-1.6.406 → files_com-1.6.407}/tests/test_session.py +0 -0
- {files_com-1.6.406 → files_com-1.6.407}/tests/test_settings_change.py +0 -0
- {files_com-1.6.406 → files_com-1.6.407}/tests/test_sftp_action_log.py +0 -0
- {files_com-1.6.406 → files_com-1.6.407}/tests/test_sftp_host_key.py +0 -0
- {files_com-1.6.406 → files_com-1.6.407}/tests/test_share_group.py +0 -0
- {files_com-1.6.406 → files_com-1.6.407}/tests/test_share_group_member.py +0 -0
- {files_com-1.6.406 → files_com-1.6.407}/tests/test_siem_http_destination.py +0 -0
- {files_com-1.6.406 → files_com-1.6.407}/tests/test_siem_http_destination_event.py +0 -0
- {files_com-1.6.406 → files_com-1.6.407}/tests/test_site.py +0 -0
- {files_com-1.6.406 → files_com-1.6.407}/tests/test_site_subdomain_redirect.py +0 -0
- {files_com-1.6.406 → files_com-1.6.407}/tests/test_snapshot.py +0 -0
- {files_com-1.6.406 → files_com-1.6.407}/tests/test_sso_event.py +0 -0
- {files_com-1.6.406 → files_com-1.6.407}/tests/test_sso_strategy.py +0 -0
- {files_com-1.6.406 → files_com-1.6.407}/tests/test_status.py +0 -0
- {files_com-1.6.406 → files_com-1.6.407}/tests/test_style.py +0 -0
- {files_com-1.6.406 → files_com-1.6.407}/tests/test_sync.py +0 -0
- {files_com-1.6.406 → files_com-1.6.407}/tests/test_sync_log.py +0 -0
- {files_com-1.6.406 → files_com-1.6.407}/tests/test_sync_run.py +0 -0
- {files_com-1.6.406 → files_com-1.6.407}/tests/test_sync_run_live_transfer.py +0 -0
- {files_com-1.6.406 → files_com-1.6.407}/tests/test_usage_by_top_level_dir.py +0 -0
- {files_com-1.6.406 → files_com-1.6.407}/tests/test_usage_daily_snapshot.py +0 -0
- {files_com-1.6.406 → files_com-1.6.407}/tests/test_usage_snapshot.py +0 -0
- {files_com-1.6.406 → files_com-1.6.407}/tests/test_user.py +0 -0
- {files_com-1.6.406 → files_com-1.6.407}/tests/test_user_cipher_use.py +0 -0
- {files_com-1.6.406 → files_com-1.6.407}/tests/test_user_lifecycle_rule.py +0 -0
- {files_com-1.6.406 → files_com-1.6.407}/tests/test_user_request.py +0 -0
- {files_com-1.6.406 → files_com-1.6.407}/tests/test_user_security_event.py +0 -0
- {files_com-1.6.406 → files_com-1.6.407}/tests/test_user_sftp_client_use.py +0 -0
- {files_com-1.6.406 → files_com-1.6.407}/tests/test_web_dav_action_log.py +0 -0
- {files_com-1.6.406 → files_com-1.6.407}/tests/test_webhook_test.py +0 -0
- {files_com-1.6.406 → files_com-1.6.407}/tests/test_workspace.py +0 -0
- {files_com-1.6.406 → files_com-1.6.407}/tests/test_workspace_id.py +0 -0
- {files_com-1.6.406 → files_com-1.6.407}/tests/test_zip_list_entry.py +0 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
1.6.407
|
|
@@ -22,6 +22,7 @@ files_sdk/models/action_log.py
|
|
|
22
22
|
files_sdk/models/action_notification_export.py
|
|
23
23
|
files_sdk/models/action_notification_export_result.py
|
|
24
24
|
files_sdk/models/agent_push_update.py
|
|
25
|
+
files_sdk/models/ai_assistant_personality.py
|
|
25
26
|
files_sdk/models/ai_task.py
|
|
26
27
|
files_sdk/models/api_key.py
|
|
27
28
|
files_sdk/models/api_request_log.py
|
|
@@ -158,6 +159,7 @@ tests/test_action_log.py
|
|
|
158
159
|
tests/test_action_notification_export.py
|
|
159
160
|
tests/test_action_notification_export_result.py
|
|
160
161
|
tests/test_agent_push_update.py
|
|
162
|
+
tests/test_ai_assistant_personality.py
|
|
161
163
|
tests/test_ai_task.py
|
|
162
164
|
tests/test_api_errors.py
|
|
163
165
|
tests/test_api_key.py
|
|
@@ -5,6 +5,7 @@ import files_sdk.models.action_log as action_log
|
|
|
5
5
|
import files_sdk.models.action_notification_export as action_notification_export
|
|
6
6
|
import files_sdk.models.action_notification_export_result as action_notification_export_result
|
|
7
7
|
import files_sdk.models.agent_push_update as agent_push_update
|
|
8
|
+
import files_sdk.models.ai_assistant_personality as ai_assistant_personality
|
|
8
9
|
import files_sdk.models.ai_task as ai_task
|
|
9
10
|
import files_sdk.models.api_key as api_key
|
|
10
11
|
import files_sdk.models.api_request_log as api_request_log
|
|
@@ -146,6 +147,7 @@ from files_sdk.models.action_notification_export_result import (
|
|
|
146
147
|
ActionNotificationExportResult,
|
|
147
148
|
)
|
|
148
149
|
from files_sdk.models.agent_push_update import AgentPushUpdate
|
|
150
|
+
from files_sdk.models.ai_assistant_personality import AiAssistantPersonality
|
|
149
151
|
from files_sdk.models.ai_task import AiTask
|
|
150
152
|
from files_sdk.models.api_key import ApiKey
|
|
151
153
|
from files_sdk.models.api_request_log import ApiRequestLog
|
|
@@ -296,7 +298,7 @@ source_ip = None
|
|
|
296
298
|
workspace_id = None
|
|
297
299
|
base_url = "https://app.files.com"
|
|
298
300
|
base_path = "api/rest/v1"
|
|
299
|
-
version = "1.6.
|
|
301
|
+
version = "1.6.407"
|
|
300
302
|
|
|
301
303
|
__version__ = version
|
|
302
304
|
|
|
@@ -8,6 +8,7 @@ from files_sdk.models.action_notification_export_result import (
|
|
|
8
8
|
ActionNotificationExportResult,
|
|
9
9
|
)
|
|
10
10
|
from files_sdk.models.agent_push_update import AgentPushUpdate
|
|
11
|
+
from files_sdk.models.ai_assistant_personality import AiAssistantPersonality
|
|
11
12
|
from files_sdk.models.ai_task import AiTask
|
|
12
13
|
from files_sdk.models.api_key import ApiKey
|
|
13
14
|
from files_sdk.models.api_request_log import ApiRequestLog
|
|
@@ -0,0 +1,285 @@
|
|
|
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 AiAssistantPersonality:
|
|
12
|
+
default_attributes = {
|
|
13
|
+
"id": None, # int64 - AI Assistant Personality ID.
|
|
14
|
+
"workspace_id": None, # int64 - Workspace ID. `0` means the default workspace.
|
|
15
|
+
"system_prompt": None, # string - System prompt injected into the in-app AI Assistant.
|
|
16
|
+
"use_by_default": None, # boolean - Whether this personality is the default personality for the Workspace.
|
|
17
|
+
"apply_to_all_workspaces": None, # boolean - If true, this default-workspace personality can apply to users in all workspaces.
|
|
18
|
+
"created_at": None, # date-time - Creation time.
|
|
19
|
+
"updated_at": None, # date-time - Last update time.
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
def __init__(self, attributes=None, options=None):
|
|
23
|
+
if not isinstance(attributes, dict):
|
|
24
|
+
attributes = {}
|
|
25
|
+
if not isinstance(options, dict):
|
|
26
|
+
options = {}
|
|
27
|
+
self.set_attributes(attributes)
|
|
28
|
+
self.options = options
|
|
29
|
+
|
|
30
|
+
def set_attributes(self, attributes):
|
|
31
|
+
for (
|
|
32
|
+
attribute,
|
|
33
|
+
default_value,
|
|
34
|
+
) in AiAssistantPersonality.default_attributes.items():
|
|
35
|
+
value = attributes.get(attribute, default_value)
|
|
36
|
+
setattr(self, attribute, value)
|
|
37
|
+
|
|
38
|
+
def get_attributes(self):
|
|
39
|
+
attrs = {
|
|
40
|
+
k: getattr(self, k, None)
|
|
41
|
+
for k in AiAssistantPersonality.default_attributes
|
|
42
|
+
if getattr(self, k, None) is not None
|
|
43
|
+
}
|
|
44
|
+
return attrs
|
|
45
|
+
|
|
46
|
+
# Parameters:
|
|
47
|
+
# apply_to_all_workspaces - boolean - If true, this default-workspace personality can apply to users in all workspaces.
|
|
48
|
+
# system_prompt - string - System prompt injected into the in-app AI Assistant.
|
|
49
|
+
# use_by_default - boolean - Whether this personality is the default personality for the Workspace.
|
|
50
|
+
# workspace_id - int64 - Workspace ID. `0` means the default workspace.
|
|
51
|
+
def update(self, params=None):
|
|
52
|
+
if not isinstance(params, dict):
|
|
53
|
+
params = {}
|
|
54
|
+
|
|
55
|
+
if hasattr(self, "id") and self.id:
|
|
56
|
+
params["id"] = self.id
|
|
57
|
+
else:
|
|
58
|
+
raise MissingParameterError("Current object doesn't have a id")
|
|
59
|
+
if "id" not in params:
|
|
60
|
+
raise MissingParameterError("Parameter missing: id")
|
|
61
|
+
if "id" in params and not isinstance(params["id"], int):
|
|
62
|
+
raise InvalidParameterError("Bad parameter: id must be an int")
|
|
63
|
+
if "system_prompt" in params and not isinstance(
|
|
64
|
+
params["system_prompt"], str
|
|
65
|
+
):
|
|
66
|
+
raise InvalidParameterError(
|
|
67
|
+
"Bad parameter: system_prompt must be an str"
|
|
68
|
+
)
|
|
69
|
+
if "workspace_id" in params and not isinstance(
|
|
70
|
+
params["workspace_id"], int
|
|
71
|
+
):
|
|
72
|
+
raise InvalidParameterError(
|
|
73
|
+
"Bad parameter: workspace_id must be an int"
|
|
74
|
+
)
|
|
75
|
+
response, _options = Api.send_request(
|
|
76
|
+
"PATCH",
|
|
77
|
+
"/ai_assistant_personalities/{id}".format(id=params["id"]),
|
|
78
|
+
params,
|
|
79
|
+
self.options,
|
|
80
|
+
)
|
|
81
|
+
return response.data
|
|
82
|
+
|
|
83
|
+
def delete(self, params=None):
|
|
84
|
+
if not isinstance(params, dict):
|
|
85
|
+
params = {}
|
|
86
|
+
|
|
87
|
+
if hasattr(self, "id") and self.id:
|
|
88
|
+
params["id"] = self.id
|
|
89
|
+
else:
|
|
90
|
+
raise MissingParameterError("Current object doesn't have a id")
|
|
91
|
+
if "id" not in params:
|
|
92
|
+
raise MissingParameterError("Parameter missing: id")
|
|
93
|
+
if "id" in params and not isinstance(params["id"], int):
|
|
94
|
+
raise InvalidParameterError("Bad parameter: id must be an int")
|
|
95
|
+
Api.send_request(
|
|
96
|
+
"DELETE",
|
|
97
|
+
"/ai_assistant_personalities/{id}".format(id=params["id"]),
|
|
98
|
+
params,
|
|
99
|
+
self.options,
|
|
100
|
+
)
|
|
101
|
+
|
|
102
|
+
def destroy(self, params=None):
|
|
103
|
+
self.delete(params)
|
|
104
|
+
|
|
105
|
+
def save(self):
|
|
106
|
+
if hasattr(self, "id") and self.id:
|
|
107
|
+
new_obj = self.update(self.get_attributes())
|
|
108
|
+
self.set_attributes(new_obj.get_attributes())
|
|
109
|
+
return True
|
|
110
|
+
else:
|
|
111
|
+
new_obj = create(self.get_attributes(), self.options)
|
|
112
|
+
self.set_attributes(new_obj.get_attributes())
|
|
113
|
+
return True
|
|
114
|
+
|
|
115
|
+
|
|
116
|
+
# Parameters:
|
|
117
|
+
# 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.
|
|
118
|
+
# per_page - int64 - Number of records to show per page. (Max: 10000, 1,000 or less is recommended).
|
|
119
|
+
# sort_by - object - If set, sort records by the specified field in either `asc` or `desc` direction. Valid fields are `workspace_id` and `id`.
|
|
120
|
+
# filter - object - If set, return records where the specified field is equal to the supplied value. Valid fields are `workspace_id`.
|
|
121
|
+
def list(params=None, options=None):
|
|
122
|
+
if not isinstance(params, dict):
|
|
123
|
+
params = {}
|
|
124
|
+
if not isinstance(options, dict):
|
|
125
|
+
options = {}
|
|
126
|
+
if "cursor" in params and not isinstance(params["cursor"], str):
|
|
127
|
+
raise InvalidParameterError("Bad parameter: cursor must be an str")
|
|
128
|
+
if "per_page" in params and not isinstance(params["per_page"], int):
|
|
129
|
+
raise InvalidParameterError("Bad parameter: per_page must be an int")
|
|
130
|
+
if "sort_by" in params and not isinstance(params["sort_by"], dict):
|
|
131
|
+
raise InvalidParameterError("Bad parameter: sort_by must be an dict")
|
|
132
|
+
if "filter" in params and not isinstance(params["filter"], dict):
|
|
133
|
+
raise InvalidParameterError("Bad parameter: filter must be an dict")
|
|
134
|
+
return ListObj(
|
|
135
|
+
AiAssistantPersonality,
|
|
136
|
+
"GET",
|
|
137
|
+
"/ai_assistant_personalities",
|
|
138
|
+
params,
|
|
139
|
+
options,
|
|
140
|
+
)
|
|
141
|
+
|
|
142
|
+
|
|
143
|
+
def all(params=None, options=None):
|
|
144
|
+
list(params, options)
|
|
145
|
+
|
|
146
|
+
|
|
147
|
+
# Parameters:
|
|
148
|
+
# id (required) - int64 - Ai Assistant Personality ID.
|
|
149
|
+
def find(id, params=None, options=None):
|
|
150
|
+
if not isinstance(params, dict):
|
|
151
|
+
params = {}
|
|
152
|
+
if not isinstance(options, dict):
|
|
153
|
+
options = {}
|
|
154
|
+
params["id"] = id
|
|
155
|
+
if "id" in params and not isinstance(params["id"], int):
|
|
156
|
+
raise InvalidParameterError("Bad parameter: id must be an int")
|
|
157
|
+
if "id" not in params:
|
|
158
|
+
raise MissingParameterError("Parameter missing: id")
|
|
159
|
+
response, options = Api.send_request(
|
|
160
|
+
"GET",
|
|
161
|
+
"/ai_assistant_personalities/{id}".format(id=params["id"]),
|
|
162
|
+
params,
|
|
163
|
+
options,
|
|
164
|
+
)
|
|
165
|
+
return AiAssistantPersonality(response.data, options)
|
|
166
|
+
|
|
167
|
+
|
|
168
|
+
def get(id, params=None, options=None):
|
|
169
|
+
find(id, params, options)
|
|
170
|
+
|
|
171
|
+
|
|
172
|
+
# Parameters:
|
|
173
|
+
# apply_to_all_workspaces - boolean - If true, this default-workspace personality can apply to users in all workspaces.
|
|
174
|
+
# system_prompt (required) - string - System prompt injected into the in-app AI Assistant.
|
|
175
|
+
# use_by_default - boolean - Whether this personality is the default personality for the Workspace.
|
|
176
|
+
# workspace_id - int64 - Workspace ID. `0` means the default workspace.
|
|
177
|
+
def create(params=None, options=None):
|
|
178
|
+
if not isinstance(params, dict):
|
|
179
|
+
params = {}
|
|
180
|
+
if not isinstance(options, dict):
|
|
181
|
+
options = {}
|
|
182
|
+
if "apply_to_all_workspaces" in params and not isinstance(
|
|
183
|
+
params["apply_to_all_workspaces"], bool
|
|
184
|
+
):
|
|
185
|
+
raise InvalidParameterError(
|
|
186
|
+
"Bad parameter: apply_to_all_workspaces must be an bool"
|
|
187
|
+
)
|
|
188
|
+
if "system_prompt" in params and not isinstance(
|
|
189
|
+
params["system_prompt"], str
|
|
190
|
+
):
|
|
191
|
+
raise InvalidParameterError(
|
|
192
|
+
"Bad parameter: system_prompt must be an str"
|
|
193
|
+
)
|
|
194
|
+
if "use_by_default" in params and not isinstance(
|
|
195
|
+
params["use_by_default"], bool
|
|
196
|
+
):
|
|
197
|
+
raise InvalidParameterError(
|
|
198
|
+
"Bad parameter: use_by_default must be an bool"
|
|
199
|
+
)
|
|
200
|
+
if "workspace_id" in params and not isinstance(
|
|
201
|
+
params["workspace_id"], int
|
|
202
|
+
):
|
|
203
|
+
raise InvalidParameterError(
|
|
204
|
+
"Bad parameter: workspace_id must be an int"
|
|
205
|
+
)
|
|
206
|
+
if "system_prompt" not in params:
|
|
207
|
+
raise MissingParameterError("Parameter missing: system_prompt")
|
|
208
|
+
response, options = Api.send_request(
|
|
209
|
+
"POST", "/ai_assistant_personalities", params, options
|
|
210
|
+
)
|
|
211
|
+
return AiAssistantPersonality(response.data, options)
|
|
212
|
+
|
|
213
|
+
|
|
214
|
+
# Parameters:
|
|
215
|
+
# apply_to_all_workspaces - boolean - If true, this default-workspace personality can apply to users in all workspaces.
|
|
216
|
+
# system_prompt - string - System prompt injected into the in-app AI Assistant.
|
|
217
|
+
# use_by_default - boolean - Whether this personality is the default personality for the Workspace.
|
|
218
|
+
# workspace_id - int64 - Workspace ID. `0` means the default workspace.
|
|
219
|
+
def update(id, params=None, options=None):
|
|
220
|
+
if not isinstance(params, dict):
|
|
221
|
+
params = {}
|
|
222
|
+
if not isinstance(options, dict):
|
|
223
|
+
options = {}
|
|
224
|
+
params["id"] = id
|
|
225
|
+
if "id" in params and not isinstance(params["id"], int):
|
|
226
|
+
raise InvalidParameterError("Bad parameter: id must be an int")
|
|
227
|
+
if "apply_to_all_workspaces" in params and not isinstance(
|
|
228
|
+
params["apply_to_all_workspaces"], bool
|
|
229
|
+
):
|
|
230
|
+
raise InvalidParameterError(
|
|
231
|
+
"Bad parameter: apply_to_all_workspaces must be an bool"
|
|
232
|
+
)
|
|
233
|
+
if "system_prompt" in params and not isinstance(
|
|
234
|
+
params["system_prompt"], str
|
|
235
|
+
):
|
|
236
|
+
raise InvalidParameterError(
|
|
237
|
+
"Bad parameter: system_prompt must be an str"
|
|
238
|
+
)
|
|
239
|
+
if "use_by_default" in params and not isinstance(
|
|
240
|
+
params["use_by_default"], bool
|
|
241
|
+
):
|
|
242
|
+
raise InvalidParameterError(
|
|
243
|
+
"Bad parameter: use_by_default must be an bool"
|
|
244
|
+
)
|
|
245
|
+
if "workspace_id" in params and not isinstance(
|
|
246
|
+
params["workspace_id"], int
|
|
247
|
+
):
|
|
248
|
+
raise InvalidParameterError(
|
|
249
|
+
"Bad parameter: workspace_id must be an int"
|
|
250
|
+
)
|
|
251
|
+
if "id" not in params:
|
|
252
|
+
raise MissingParameterError("Parameter missing: id")
|
|
253
|
+
response, options = Api.send_request(
|
|
254
|
+
"PATCH",
|
|
255
|
+
"/ai_assistant_personalities/{id}".format(id=params["id"]),
|
|
256
|
+
params,
|
|
257
|
+
options,
|
|
258
|
+
)
|
|
259
|
+
return AiAssistantPersonality(response.data, options)
|
|
260
|
+
|
|
261
|
+
|
|
262
|
+
def delete(id, params=None, options=None):
|
|
263
|
+
if not isinstance(params, dict):
|
|
264
|
+
params = {}
|
|
265
|
+
if not isinstance(options, dict):
|
|
266
|
+
options = {}
|
|
267
|
+
params["id"] = id
|
|
268
|
+
if "id" in params and not isinstance(params["id"], int):
|
|
269
|
+
raise InvalidParameterError("Bad parameter: id must be an int")
|
|
270
|
+
if "id" not in params:
|
|
271
|
+
raise MissingParameterError("Parameter missing: id")
|
|
272
|
+
Api.send_request(
|
|
273
|
+
"DELETE",
|
|
274
|
+
"/ai_assistant_personalities/{id}".format(id=params["id"]),
|
|
275
|
+
params,
|
|
276
|
+
options,
|
|
277
|
+
)
|
|
278
|
+
|
|
279
|
+
|
|
280
|
+
def destroy(id, params=None, options=None):
|
|
281
|
+
delete(id, params, options)
|
|
282
|
+
|
|
283
|
+
|
|
284
|
+
def new(*args, **kwargs):
|
|
285
|
+
return AiAssistantPersonality(*args, **kwargs)
|
|
@@ -17,6 +17,7 @@ class Group:
|
|
|
17
17
|
"notes": None, # string - Notes about this group
|
|
18
18
|
"user_ids": None, # string - Comma-delimited list of user IDs who belong to this group (separated by commas)
|
|
19
19
|
"usernames": None, # string - Comma-delimited list of usernames who belong to this group (separated by commas)
|
|
20
|
+
"ai_assistant_personality_id": None, # int64 - AI Assistant Personality ID assigned to this Group, if any. Users in the Group inherit it unless a direct per-user or Partner assignment overrides it.
|
|
20
21
|
"ftp_permission": None, # 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.
|
|
21
22
|
"sftp_permission": None, # 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.
|
|
22
23
|
"dav_permission": None, # 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.
|
|
@@ -51,6 +52,7 @@ class Group:
|
|
|
51
52
|
# notes - string - Group notes.
|
|
52
53
|
# user_ids - string - A list of user ids. If sent as a string, should be comma-delimited.
|
|
53
54
|
# admin_ids - string - A list of group admin user ids. If sent as a string, should be comma-delimited.
|
|
55
|
+
# ai_assistant_personality_id - int64 - AI Assistant Personality ID assigned to this Group, if any. Users in the Group inherit it unless a direct per-user or Partner assignment overrides it.
|
|
54
56
|
# 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.
|
|
55
57
|
# 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.
|
|
56
58
|
# 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.
|
|
@@ -80,6 +82,12 @@ class Group:
|
|
|
80
82
|
raise InvalidParameterError(
|
|
81
83
|
"Bad parameter: admin_ids must be an str"
|
|
82
84
|
)
|
|
85
|
+
if "ai_assistant_personality_id" in params and not isinstance(
|
|
86
|
+
params["ai_assistant_personality_id"], int
|
|
87
|
+
):
|
|
88
|
+
raise InvalidParameterError(
|
|
89
|
+
"Bad parameter: ai_assistant_personality_id must be an int"
|
|
90
|
+
)
|
|
83
91
|
if "desktop_configuration_profile_id" in params and not isinstance(
|
|
84
92
|
params["desktop_configuration_profile_id"], int
|
|
85
93
|
):
|
|
@@ -203,6 +211,7 @@ def get(id, params=None, options=None):
|
|
|
203
211
|
# notes - string - Group notes.
|
|
204
212
|
# user_ids - string - A list of user ids. If sent as a string, should be comma-delimited.
|
|
205
213
|
# admin_ids - string - A list of group admin user ids. If sent as a string, should be comma-delimited.
|
|
214
|
+
# ai_assistant_personality_id - int64 - AI Assistant Personality ID assigned to this Group, if any. Users in the Group inherit it unless a direct per-user or Partner assignment overrides it.
|
|
206
215
|
# 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.
|
|
207
216
|
# 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.
|
|
208
217
|
# 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.
|
|
@@ -222,6 +231,12 @@ def create(params=None, options=None):
|
|
|
222
231
|
raise InvalidParameterError("Bad parameter: user_ids must be an str")
|
|
223
232
|
if "admin_ids" in params and not isinstance(params["admin_ids"], str):
|
|
224
233
|
raise InvalidParameterError("Bad parameter: admin_ids must be an str")
|
|
234
|
+
if "ai_assistant_personality_id" in params and not isinstance(
|
|
235
|
+
params["ai_assistant_personality_id"], int
|
|
236
|
+
):
|
|
237
|
+
raise InvalidParameterError(
|
|
238
|
+
"Bad parameter: ai_assistant_personality_id must be an int"
|
|
239
|
+
)
|
|
225
240
|
if "ftp_permission" in params and not isinstance(
|
|
226
241
|
params["ftp_permission"], bool
|
|
227
242
|
):
|
|
@@ -274,6 +289,7 @@ def create(params=None, options=None):
|
|
|
274
289
|
# notes - string - Group notes.
|
|
275
290
|
# user_ids - string - A list of user ids. If sent as a string, should be comma-delimited.
|
|
276
291
|
# admin_ids - string - A list of group admin user ids. If sent as a string, should be comma-delimited.
|
|
292
|
+
# ai_assistant_personality_id - int64 - AI Assistant Personality ID assigned to this Group, if any. Users in the Group inherit it unless a direct per-user or Partner assignment overrides it.
|
|
277
293
|
# 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.
|
|
278
294
|
# 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.
|
|
279
295
|
# 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.
|
|
@@ -295,6 +311,12 @@ def update(id, params=None, options=None):
|
|
|
295
311
|
raise InvalidParameterError("Bad parameter: user_ids must be an str")
|
|
296
312
|
if "admin_ids" in params and not isinstance(params["admin_ids"], str):
|
|
297
313
|
raise InvalidParameterError("Bad parameter: admin_ids must be an str")
|
|
314
|
+
if "ai_assistant_personality_id" in params and not isinstance(
|
|
315
|
+
params["ai_assistant_personality_id"], int
|
|
316
|
+
):
|
|
317
|
+
raise InvalidParameterError(
|
|
318
|
+
"Bad parameter: ai_assistant_personality_id must be an int"
|
|
319
|
+
)
|
|
298
320
|
if "ftp_permission" in params and not isinstance(
|
|
299
321
|
params["ftp_permission"], bool
|
|
300
322
|
):
|
|
@@ -17,6 +17,7 @@ class Partner:
|
|
|
17
17
|
"allow_user_creation": None, # boolean - Allow Partner Admins to create users.
|
|
18
18
|
"cc_emails_to_responsible_party": None, # boolean - When `true`, emails sent to Partner users are copied to the responsible User or Group.
|
|
19
19
|
"id": None, # int64 - The unique ID of the Partner.
|
|
20
|
+
"ai_assistant_personality_id": None, # int64 - AI Assistant Personality ID assigned to this Partner, if any. Users in the Partner inherit it unless a direct per-user assignment overrides it.
|
|
20
21
|
"workspace_id": None, # int64 - ID of the Workspace associated with this Partner.
|
|
21
22
|
"name": None, # string - The name of the Partner.
|
|
22
23
|
"notes": None, # string - Notes about this Partner.
|
|
@@ -51,6 +52,7 @@ class Partner:
|
|
|
51
52
|
return attrs
|
|
52
53
|
|
|
53
54
|
# Parameters:
|
|
55
|
+
# ai_assistant_personality_id - int64 - AI Assistant Personality ID assigned to this Partner, if any. Users in the Partner inherit it unless a direct per-user assignment overrides it.
|
|
54
56
|
# allowed_ips - string - A list of allowed IPs for this Partner. Newline delimited. Partner User IP access is allowed when the IP matches the Partner, User, or Site allowed IP lists.
|
|
55
57
|
# allow_bypassing_2fa_policies - boolean - Allow Partner Admins to change Two-Factor Authentication requirements for Partner Users.
|
|
56
58
|
# allow_credential_changes - boolean - Allow Partner Admins to change or reset credentials for users belonging to this Partner.
|
|
@@ -75,6 +77,12 @@ class Partner:
|
|
|
75
77
|
raise MissingParameterError("Parameter missing: id")
|
|
76
78
|
if "id" in params and not isinstance(params["id"], int):
|
|
77
79
|
raise InvalidParameterError("Bad parameter: id must be an int")
|
|
80
|
+
if "ai_assistant_personality_id" in params and not isinstance(
|
|
81
|
+
params["ai_assistant_personality_id"], int
|
|
82
|
+
):
|
|
83
|
+
raise InvalidParameterError(
|
|
84
|
+
"Bad parameter: ai_assistant_personality_id must be an int"
|
|
85
|
+
)
|
|
78
86
|
if "allowed_ips" in params and not isinstance(
|
|
79
87
|
params["allowed_ips"], str
|
|
80
88
|
):
|
|
@@ -194,6 +202,7 @@ def get(id, params=None, options=None):
|
|
|
194
202
|
|
|
195
203
|
|
|
196
204
|
# Parameters:
|
|
205
|
+
# ai_assistant_personality_id - int64 - AI Assistant Personality ID assigned to this Partner, if any. Users in the Partner inherit it unless a direct per-user assignment overrides it.
|
|
197
206
|
# allowed_ips - string - A list of allowed IPs for this Partner. Newline delimited. Partner User IP access is allowed when the IP matches the Partner, User, or Site allowed IP lists.
|
|
198
207
|
# allow_bypassing_2fa_policies - boolean - Allow Partner Admins to change Two-Factor Authentication requirements for Partner Users.
|
|
199
208
|
# allow_credential_changes - boolean - Allow Partner Admins to change or reset credentials for users belonging to this Partner.
|
|
@@ -212,6 +221,12 @@ def create(params=None, options=None):
|
|
|
212
221
|
params = {}
|
|
213
222
|
if not isinstance(options, dict):
|
|
214
223
|
options = {}
|
|
224
|
+
if "ai_assistant_personality_id" in params and not isinstance(
|
|
225
|
+
params["ai_assistant_personality_id"], int
|
|
226
|
+
):
|
|
227
|
+
raise InvalidParameterError(
|
|
228
|
+
"Bad parameter: ai_assistant_personality_id must be an int"
|
|
229
|
+
)
|
|
215
230
|
if "allowed_ips" in params and not isinstance(params["allowed_ips"], str):
|
|
216
231
|
raise InvalidParameterError(
|
|
217
232
|
"Bad parameter: allowed_ips must be an str"
|
|
@@ -283,6 +298,7 @@ def create(params=None, options=None):
|
|
|
283
298
|
|
|
284
299
|
|
|
285
300
|
# Parameters:
|
|
301
|
+
# ai_assistant_personality_id - int64 - AI Assistant Personality ID assigned to this Partner, if any. Users in the Partner inherit it unless a direct per-user assignment overrides it.
|
|
286
302
|
# allowed_ips - string - A list of allowed IPs for this Partner. Newline delimited. Partner User IP access is allowed when the IP matches the Partner, User, or Site allowed IP lists.
|
|
287
303
|
# allow_bypassing_2fa_policies - boolean - Allow Partner Admins to change Two-Factor Authentication requirements for Partner Users.
|
|
288
304
|
# allow_credential_changes - boolean - Allow Partner Admins to change or reset credentials for users belonging to this Partner.
|
|
@@ -303,6 +319,12 @@ def update(id, params=None, options=None):
|
|
|
303
319
|
params["id"] = id
|
|
304
320
|
if "id" in params and not isinstance(params["id"], int):
|
|
305
321
|
raise InvalidParameterError("Bad parameter: id must be an int")
|
|
322
|
+
if "ai_assistant_personality_id" in params and not isinstance(
|
|
323
|
+
params["ai_assistant_personality_id"], int
|
|
324
|
+
):
|
|
325
|
+
raise InvalidParameterError(
|
|
326
|
+
"Bad parameter: ai_assistant_personality_id must be an int"
|
|
327
|
+
)
|
|
306
328
|
if "allowed_ips" in params and not isinstance(params["allowed_ips"], str):
|
|
307
329
|
raise InvalidParameterError(
|
|
308
330
|
"Bad parameter: allowed_ips must be an str"
|
|
@@ -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
|
+
"ai_assistant_personality_id": None, # int64 - AI Assistant Personality ID assigned directly to this user, if any.
|
|
30
31
|
"desktop_configuration_profile_id": None, # int64 - Desktop Configuration Profile ID assigned directly to this user, if any.
|
|
31
32
|
"email": None, # email - User email address
|
|
32
33
|
"filesystem_layout": None, # string - File system layout
|
|
@@ -202,6 +203,7 @@ class User:
|
|
|
202
203
|
# password - string - User password.
|
|
203
204
|
# password_confirmation - string - Optional, but if provided, we will ensure that it matches the value sent in `password`.
|
|
204
205
|
# announcements_read - boolean - Signifies that the user has read all the announcements in the UI.
|
|
206
|
+
# ai_assistant_personality_id - int64 - AI Assistant Personality ID assigned directly to this user, if any.
|
|
205
207
|
# allowed_ips - string - A list of allowed IPs if applicable. Newline delimited
|
|
206
208
|
# attachments_permission - boolean - DEPRECATED: If `true`, the user can user create Bundles (aka Share Links). Use the bundle permission instead.
|
|
207
209
|
# authenticate_until - string - Scheduled Date/Time at which user will be deactivated
|
|
@@ -312,6 +314,12 @@ class User:
|
|
|
312
314
|
raise InvalidParameterError(
|
|
313
315
|
"Bad parameter: password_confirmation must be an str"
|
|
314
316
|
)
|
|
317
|
+
if "ai_assistant_personality_id" in params and not isinstance(
|
|
318
|
+
params["ai_assistant_personality_id"], int
|
|
319
|
+
):
|
|
320
|
+
raise InvalidParameterError(
|
|
321
|
+
"Bad parameter: ai_assistant_personality_id must be an int"
|
|
322
|
+
)
|
|
315
323
|
if "allowed_ips" in params and not isinstance(
|
|
316
324
|
params["allowed_ips"], str
|
|
317
325
|
):
|
|
@@ -583,6 +591,7 @@ def get(id, params=None, options=None):
|
|
|
583
591
|
# password - string - User password.
|
|
584
592
|
# password_confirmation - string - Optional, but if provided, we will ensure that it matches the value sent in `password`.
|
|
585
593
|
# announcements_read - boolean - Signifies that the user has read all the announcements in the UI.
|
|
594
|
+
# ai_assistant_personality_id - int64 - AI Assistant Personality ID assigned directly to this user, if any.
|
|
586
595
|
# allowed_ips - string - A list of allowed IPs if applicable. Newline delimited
|
|
587
596
|
# attachments_permission - boolean - DEPRECATED: If `true`, the user can user create Bundles (aka Share Links). Use the bundle permission instead.
|
|
588
597
|
# authenticate_until - string - Scheduled Date/Time at which user will be deactivated
|
|
@@ -690,6 +699,12 @@ def create(params=None, options=None):
|
|
|
690
699
|
raise InvalidParameterError(
|
|
691
700
|
"Bad parameter: announcements_read must be an bool"
|
|
692
701
|
)
|
|
702
|
+
if "ai_assistant_personality_id" in params and not isinstance(
|
|
703
|
+
params["ai_assistant_personality_id"], int
|
|
704
|
+
):
|
|
705
|
+
raise InvalidParameterError(
|
|
706
|
+
"Bad parameter: ai_assistant_personality_id must be an int"
|
|
707
|
+
)
|
|
693
708
|
if "allowed_ips" in params and not isinstance(params["allowed_ips"], str):
|
|
694
709
|
raise InvalidParameterError(
|
|
695
710
|
"Bad parameter: allowed_ips must be an str"
|
|
@@ -1026,6 +1041,7 @@ def user_2fa_reset(id, params=None, options=None):
|
|
|
1026
1041
|
# password - string - User password.
|
|
1027
1042
|
# password_confirmation - string - Optional, but if provided, we will ensure that it matches the value sent in `password`.
|
|
1028
1043
|
# announcements_read - boolean - Signifies that the user has read all the announcements in the UI.
|
|
1044
|
+
# ai_assistant_personality_id - int64 - AI Assistant Personality ID assigned directly to this user, if any.
|
|
1029
1045
|
# allowed_ips - string - A list of allowed IPs if applicable. Newline delimited
|
|
1030
1046
|
# attachments_permission - boolean - DEPRECATED: If `true`, the user can user create Bundles (aka Share Links). Use the bundle permission instead.
|
|
1031
1047
|
# authenticate_until - string - Scheduled Date/Time at which user will be deactivated
|
|
@@ -1138,6 +1154,12 @@ def update(id, params=None, options=None):
|
|
|
1138
1154
|
raise InvalidParameterError(
|
|
1139
1155
|
"Bad parameter: announcements_read must be an bool"
|
|
1140
1156
|
)
|
|
1157
|
+
if "ai_assistant_personality_id" in params and not isinstance(
|
|
1158
|
+
params["ai_assistant_personality_id"], int
|
|
1159
|
+
):
|
|
1160
|
+
raise InvalidParameterError(
|
|
1161
|
+
"Bad parameter: ai_assistant_personality_id must be an int"
|
|
1162
|
+
)
|
|
1141
1163
|
if "allowed_ips" in params and not isinstance(params["allowed_ips"], str):
|
|
1142
1164
|
raise InvalidParameterError(
|
|
1143
1165
|
"Bad parameter: allowed_ips must be an str"
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
import unittest
|
|
2
|
+
import inspect
|
|
3
|
+
import files_sdk
|
|
4
|
+
from tests.base import TestBase
|
|
5
|
+
from files_sdk.models import AiAssistantPersonality
|
|
6
|
+
from files_sdk import ai_assistant_personality
|
|
7
|
+
|
|
8
|
+
class AiAssistantPersonalityTest(TestBase):
|
|
9
|
+
pass
|
|
10
|
+
# Instance Methods
|
|
11
|
+
@unittest.skipUnless(TestBase.mock_server_path_exists("PATCH", "/ai_assistant_personalities/{id}"), "Mock path does not exist")
|
|
12
|
+
def test_update(self):
|
|
13
|
+
params = {
|
|
14
|
+
"id" : 12345,
|
|
15
|
+
}
|
|
16
|
+
ai_assistant_personality = AiAssistantPersonality(params)
|
|
17
|
+
ai_assistant_personality.update(params)
|
|
18
|
+
|
|
19
|
+
@unittest.skipUnless(TestBase.mock_server_path_exists("DELETE", "/ai_assistant_personalities/{id}"), "Mock path does not exist")
|
|
20
|
+
def test_delete(self):
|
|
21
|
+
params = {
|
|
22
|
+
"id" : 12345,
|
|
23
|
+
}
|
|
24
|
+
ai_assistant_personality = AiAssistantPersonality(params)
|
|
25
|
+
ai_assistant_personality.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", "/ai_assistant_personalities"), "Mock path does not exist")
|
|
33
|
+
def test_list(self):
|
|
34
|
+
resp = ai_assistant_personality.list()
|
|
35
|
+
|
|
36
|
+
@unittest.skipUnless(TestBase.mock_server_path_exists("GET", "/ai_assistant_personalities/{id}"), "Mock path does not exist")
|
|
37
|
+
def test_find(self):
|
|
38
|
+
id = 12345
|
|
39
|
+
params = {
|
|
40
|
+
"id" : 12345,
|
|
41
|
+
}
|
|
42
|
+
ai_assistant_personality.find(id, params)
|
|
43
|
+
|
|
44
|
+
@unittest.skipUnless(TestBase.mock_server_path_exists("POST", "/ai_assistant_personalities"), "Mock path does not exist")
|
|
45
|
+
def test_create(self):
|
|
46
|
+
params = {
|
|
47
|
+
"system_prompt" : "foo",
|
|
48
|
+
}
|
|
49
|
+
ai_assistant_personality.create(params)
|
|
50
|
+
|
|
51
|
+
@unittest.skipUnless(TestBase.mock_server_path_exists("PATCH", "/ai_assistant_personalities/{id}"), "Mock path does not exist")
|
|
52
|
+
def test_update(self):
|
|
53
|
+
id = 12345
|
|
54
|
+
params = {
|
|
55
|
+
"id" : 12345,
|
|
56
|
+
}
|
|
57
|
+
ai_assistant_personality.update(id, params)
|
|
58
|
+
|
|
59
|
+
@unittest.skipUnless(TestBase.mock_server_path_exists("DELETE", "/ai_assistant_personalities/{id}"), "Mock path does not exist")
|
|
60
|
+
def test_delete(self):
|
|
61
|
+
id = 12345
|
|
62
|
+
params = {
|
|
63
|
+
"id" : 12345,
|
|
64
|
+
}
|
|
65
|
+
ai_assistant_personality.delete(id, params)
|
|
66
|
+
|
|
67
|
+
if __name__ == '__main__':
|
|
68
|
+
unittest.main()
|
files_com-1.6.406/_VERSION
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
1.6.406
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|