files-com 1.6.156__tar.gz → 1.6.189__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.156/files_com.egg-info → files_com-1.6.189}/PKG-INFO +1 -1
- files_com-1.6.189/_VERSION +1 -0
- {files_com-1.6.156 → files_com-1.6.189/files_com.egg-info}/PKG-INFO +1 -1
- {files_com-1.6.156 → files_com-1.6.189}/files_com.egg-info/SOURCES.txt +9 -1
- {files_com-1.6.156 → files_com-1.6.189}/files_sdk/__init__.py +9 -1
- {files_com-1.6.156 → files_com-1.6.189}/files_sdk/models/__init__.py +4 -0
- files_com-1.6.189/files_sdk/models/agent_push_update.py +44 -0
- {files_com-1.6.156 → files_com-1.6.189}/files_sdk/models/api_key.py +7 -21
- {files_com-1.6.156 → files_com-1.6.189}/files_sdk/models/as2_incoming_message.py +3 -2
- {files_com-1.6.156 → files_com-1.6.189}/files_sdk/models/as2_outgoing_message.py +3 -2
- {files_com-1.6.156 → files_com-1.6.189}/files_sdk/models/as2_partner.py +3 -2
- {files_com-1.6.156 → files_com-1.6.189}/files_sdk/models/as2_station.py +15 -4
- {files_com-1.6.156 → files_com-1.6.189}/files_sdk/models/automation.py +10 -2
- {files_com-1.6.156 → files_com-1.6.189}/files_sdk/models/automation_run.py +2 -1
- {files_com-1.6.156 → files_com-1.6.189}/files_sdk/models/behavior.py +11 -13
- {files_com-1.6.156 → files_com-1.6.189}/files_sdk/models/bundle.py +9 -1
- {files_com-1.6.156 → files_com-1.6.189}/files_sdk/models/gpg_key.py +28 -1
- {files_com-1.6.156 → files_com-1.6.189}/files_sdk/models/group.py +10 -2
- files_com-1.6.189/files_sdk/models/key_lifecycle_rule.py +243 -0
- {files_com-1.6.156 → files_com-1.6.189}/files_sdk/models/partner.py +12 -1
- {files_com-1.6.156 → files_com-1.6.189}/files_sdk/models/public_key.py +3 -2
- {files_com-1.6.156 → files_com-1.6.189}/files_sdk/models/remote_server.py +85 -10
- files_com-1.6.189/files_sdk/models/remote_server_credential.py +855 -0
- {files_com-1.6.156 → files_com-1.6.189}/files_sdk/models/restore.py +20 -0
- {files_com-1.6.156 → files_com-1.6.189}/files_sdk/models/sync.py +10 -2
- {files_com-1.6.156 → files_com-1.6.189}/files_sdk/models/sync_run.py +3 -2
- {files_com-1.6.156 → files_com-1.6.189}/files_sdk/models/user.py +26 -2
- files_com-1.6.189/files_sdk/models/workspace.py +202 -0
- {files_com-1.6.156 → files_com-1.6.189}/pyproject.toml +1 -1
- files_com-1.6.189/tests/test_agent_push_update.py +14 -0
- files_com-1.6.189/tests/test_key_lifecycle_rule.py +65 -0
- {files_com-1.6.156 → files_com-1.6.189}/tests/test_remote_server.py +16 -0
- files_com-1.6.189/tests/test_remote_server_credential.py +65 -0
- files_com-1.6.189/tests/test_workspace.py +65 -0
- files_com-1.6.156/_VERSION +0 -1
- {files_com-1.6.156 → files_com-1.6.189}/LICENSE +0 -0
- {files_com-1.6.156 → files_com-1.6.189}/README.md +0 -0
- {files_com-1.6.156 → files_com-1.6.189}/files_com.egg-info/dependency_links.txt +0 -0
- {files_com-1.6.156 → files_com-1.6.189}/files_com.egg-info/requires.txt +0 -0
- {files_com-1.6.156 → files_com-1.6.189}/files_com.egg-info/top_level.txt +0 -0
- {files_com-1.6.156 → files_com-1.6.189}/files_sdk/api.py +0 -0
- {files_com-1.6.156 → files_com-1.6.189}/files_sdk/api_client.py +0 -0
- {files_com-1.6.156 → files_com-1.6.189}/files_sdk/error.py +0 -0
- {files_com-1.6.156 → files_com-1.6.189}/files_sdk/list_obj.py +0 -0
- {files_com-1.6.156 → files_com-1.6.189}/files_sdk/models/account_line_item.py +0 -0
- {files_com-1.6.156 → files_com-1.6.189}/files_sdk/models/action.py +0 -0
- {files_com-1.6.156 → files_com-1.6.189}/files_sdk/models/action_notification_export.py +0 -0
- {files_com-1.6.156 → files_com-1.6.189}/files_sdk/models/action_notification_export_result.py +0 -0
- {files_com-1.6.156 → files_com-1.6.189}/files_sdk/models/api_request_log.py +0 -0
- {files_com-1.6.156 → files_com-1.6.189}/files_sdk/models/app.py +0 -0
- {files_com-1.6.156 → files_com-1.6.189}/files_sdk/models/auto.py +0 -0
- {files_com-1.6.156 → files_com-1.6.189}/files_sdk/models/automation_log.py +0 -0
- {files_com-1.6.156 → files_com-1.6.189}/files_sdk/models/bandwidth_snapshot.py +0 -0
- {files_com-1.6.156 → files_com-1.6.189}/files_sdk/models/bundle_action.py +0 -0
- {files_com-1.6.156 → files_com-1.6.189}/files_sdk/models/bundle_download.py +0 -0
- {files_com-1.6.156 → files_com-1.6.189}/files_sdk/models/bundle_notification.py +0 -0
- {files_com-1.6.156 → files_com-1.6.189}/files_sdk/models/bundle_path.py +0 -0
- {files_com-1.6.156 → files_com-1.6.189}/files_sdk/models/bundle_recipient.py +0 -0
- {files_com-1.6.156 → files_com-1.6.189}/files_sdk/models/bundle_registration.py +0 -0
- {files_com-1.6.156 → files_com-1.6.189}/files_sdk/models/child_site_management_policy.py +0 -0
- {files_com-1.6.156 → files_com-1.6.189}/files_sdk/models/clickwrap.py +0 -0
- {files_com-1.6.156 → files_com-1.6.189}/files_sdk/models/dns_record.py +0 -0
- {files_com-1.6.156 → files_com-1.6.189}/files_sdk/models/email_incoming_message.py +0 -0
- {files_com-1.6.156 → files_com-1.6.189}/files_sdk/models/email_log.py +0 -0
- {files_com-1.6.156 → files_com-1.6.189}/files_sdk/models/errors.py +0 -0
- {files_com-1.6.156 → files_com-1.6.189}/files_sdk/models/exavault_api_request_log.py +0 -0
- {files_com-1.6.156 → files_com-1.6.189}/files_sdk/models/external_event.py +0 -0
- {files_com-1.6.156 → files_com-1.6.189}/files_sdk/models/file.py +0 -0
- {files_com-1.6.156 → files_com-1.6.189}/files_sdk/models/file_action.py +0 -0
- {files_com-1.6.156 → files_com-1.6.189}/files_sdk/models/file_comment.py +0 -0
- {files_com-1.6.156 → files_com-1.6.189}/files_sdk/models/file_comment_reaction.py +0 -0
- {files_com-1.6.156 → files_com-1.6.189}/files_sdk/models/file_migration.py +0 -0
- {files_com-1.6.156 → files_com-1.6.189}/files_sdk/models/file_migration_log.py +0 -0
- {files_com-1.6.156 → files_com-1.6.189}/files_sdk/models/file_upload_part.py +0 -0
- {files_com-1.6.156 → files_com-1.6.189}/files_sdk/models/folder.py +0 -0
- {files_com-1.6.156 → files_com-1.6.189}/files_sdk/models/form_field.py +0 -0
- {files_com-1.6.156 → files_com-1.6.189}/files_sdk/models/form_field_set.py +0 -0
- {files_com-1.6.156 → files_com-1.6.189}/files_sdk/models/ftp_action_log.py +0 -0
- {files_com-1.6.156 → files_com-1.6.189}/files_sdk/models/group_user.py +0 -0
- {files_com-1.6.156 → files_com-1.6.189}/files_sdk/models/history.py +0 -0
- {files_com-1.6.156 → files_com-1.6.189}/files_sdk/models/history_export.py +0 -0
- {files_com-1.6.156 → files_com-1.6.189}/files_sdk/models/history_export_result.py +0 -0
- {files_com-1.6.156 → files_com-1.6.189}/files_sdk/models/holiday_region.py +0 -0
- {files_com-1.6.156 → files_com-1.6.189}/files_sdk/models/image.py +0 -0
- {files_com-1.6.156 → files_com-1.6.189}/files_sdk/models/inbound_s3_log.py +0 -0
- {files_com-1.6.156 → files_com-1.6.189}/files_sdk/models/inbox_recipient.py +0 -0
- {files_com-1.6.156 → files_com-1.6.189}/files_sdk/models/inbox_registration.py +0 -0
- {files_com-1.6.156 → files_com-1.6.189}/files_sdk/models/inbox_upload.py +0 -0
- {files_com-1.6.156 → files_com-1.6.189}/files_sdk/models/invoice.py +0 -0
- {files_com-1.6.156 → files_com-1.6.189}/files_sdk/models/invoice_line_item.py +0 -0
- {files_com-1.6.156 → files_com-1.6.189}/files_sdk/models/ip_address.py +0 -0
- {files_com-1.6.156 → files_com-1.6.189}/files_sdk/models/lock.py +0 -0
- {files_com-1.6.156 → files_com-1.6.189}/files_sdk/models/message.py +0 -0
- {files_com-1.6.156 → files_com-1.6.189}/files_sdk/models/message_comment.py +0 -0
- {files_com-1.6.156 → files_com-1.6.189}/files_sdk/models/message_comment_reaction.py +0 -0
- {files_com-1.6.156 → files_com-1.6.189}/files_sdk/models/message_reaction.py +0 -0
- {files_com-1.6.156 → files_com-1.6.189}/files_sdk/models/notification.py +0 -0
- {files_com-1.6.156 → files_com-1.6.189}/files_sdk/models/outbound_connection_log.py +0 -0
- {files_com-1.6.156 → files_com-1.6.189}/files_sdk/models/payment.py +0 -0
- {files_com-1.6.156 → files_com-1.6.189}/files_sdk/models/payment_line_item.py +0 -0
- {files_com-1.6.156 → files_com-1.6.189}/files_sdk/models/permission.py +0 -0
- {files_com-1.6.156 → files_com-1.6.189}/files_sdk/models/preview.py +0 -0
- {files_com-1.6.156 → files_com-1.6.189}/files_sdk/models/priority.py +0 -0
- {files_com-1.6.156 → files_com-1.6.189}/files_sdk/models/project.py +0 -0
- {files_com-1.6.156 → files_com-1.6.189}/files_sdk/models/public_hosting_request_log.py +0 -0
- {files_com-1.6.156 → files_com-1.6.189}/files_sdk/models/public_ip_address.py +0 -0
- {files_com-1.6.156 → files_com-1.6.189}/files_sdk/models/remote_bandwidth_snapshot.py +0 -0
- {files_com-1.6.156 → files_com-1.6.189}/files_sdk/models/remote_mount_backend.py +0 -0
- {files_com-1.6.156 → files_com-1.6.189}/files_sdk/models/remote_server_configuration_file.py +0 -0
- {files_com-1.6.156 → files_com-1.6.189}/files_sdk/models/request.py +0 -0
- {files_com-1.6.156 → files_com-1.6.189}/files_sdk/models/scim_log.py +0 -0
- {files_com-1.6.156 → files_com-1.6.189}/files_sdk/models/session.py +0 -0
- {files_com-1.6.156 → files_com-1.6.189}/files_sdk/models/settings_change.py +0 -0
- {files_com-1.6.156 → files_com-1.6.189}/files_sdk/models/sftp_action_log.py +0 -0
- {files_com-1.6.156 → files_com-1.6.189}/files_sdk/models/sftp_host_key.py +0 -0
- {files_com-1.6.156 → files_com-1.6.189}/files_sdk/models/share_group.py +0 -0
- {files_com-1.6.156 → files_com-1.6.189}/files_sdk/models/share_group_member.py +0 -0
- {files_com-1.6.156 → files_com-1.6.189}/files_sdk/models/siem_http_destination.py +0 -0
- {files_com-1.6.156 → files_com-1.6.189}/files_sdk/models/site.py +0 -0
- {files_com-1.6.156 → files_com-1.6.189}/files_sdk/models/snapshot.py +0 -0
- {files_com-1.6.156 → files_com-1.6.189}/files_sdk/models/sso_strategy.py +0 -0
- {files_com-1.6.156 → files_com-1.6.189}/files_sdk/models/status.py +0 -0
- {files_com-1.6.156 → files_com-1.6.189}/files_sdk/models/style.py +0 -0
- {files_com-1.6.156 → files_com-1.6.189}/files_sdk/models/sync_log.py +0 -0
- {files_com-1.6.156 → files_com-1.6.189}/files_sdk/models/usage_by_top_level_dir.py +0 -0
- {files_com-1.6.156 → files_com-1.6.189}/files_sdk/models/usage_daily_snapshot.py +0 -0
- {files_com-1.6.156 → files_com-1.6.189}/files_sdk/models/usage_snapshot.py +0 -0
- {files_com-1.6.156 → files_com-1.6.189}/files_sdk/models/user_cipher_use.py +0 -0
- {files_com-1.6.156 → files_com-1.6.189}/files_sdk/models/user_lifecycle_rule.py +0 -0
- {files_com-1.6.156 → files_com-1.6.189}/files_sdk/models/user_request.py +0 -0
- {files_com-1.6.156 → files_com-1.6.189}/files_sdk/models/user_sftp_client_use.py +0 -0
- {files_com-1.6.156 → files_com-1.6.189}/files_sdk/models/web_dav_action_log.py +0 -0
- {files_com-1.6.156 → files_com-1.6.189}/files_sdk/models/webhook_test.py +0 -0
- {files_com-1.6.156 → files_com-1.6.189}/files_sdk/path_util.py +0 -0
- {files_com-1.6.156 → files_com-1.6.189}/files_sdk/util.py +0 -0
- {files_com-1.6.156 → files_com-1.6.189}/setup.cfg +0 -0
- {files_com-1.6.156 → files_com-1.6.189}/tests/test_account_line_item.py +0 -0
- {files_com-1.6.156 → files_com-1.6.189}/tests/test_action.py +0 -0
- {files_com-1.6.156 → files_com-1.6.189}/tests/test_action_notification_export.py +0 -0
- {files_com-1.6.156 → files_com-1.6.189}/tests/test_action_notification_export_result.py +0 -0
- {files_com-1.6.156 → files_com-1.6.189}/tests/test_api_errors.py +0 -0
- {files_com-1.6.156 → files_com-1.6.189}/tests/test_api_key.py +0 -0
- {files_com-1.6.156 → files_com-1.6.189}/tests/test_api_request_log.py +0 -0
- {files_com-1.6.156 → files_com-1.6.189}/tests/test_app.py +0 -0
- {files_com-1.6.156 → files_com-1.6.189}/tests/test_as2_incoming_message.py +0 -0
- {files_com-1.6.156 → files_com-1.6.189}/tests/test_as2_outgoing_message.py +0 -0
- {files_com-1.6.156 → files_com-1.6.189}/tests/test_as2_partner.py +0 -0
- {files_com-1.6.156 → files_com-1.6.189}/tests/test_as2_station.py +0 -0
- {files_com-1.6.156 → files_com-1.6.189}/tests/test_auto.py +0 -0
- {files_com-1.6.156 → files_com-1.6.189}/tests/test_automation.py +0 -0
- {files_com-1.6.156 → files_com-1.6.189}/tests/test_automation_log.py +0 -0
- {files_com-1.6.156 → files_com-1.6.189}/tests/test_automation_run.py +0 -0
- {files_com-1.6.156 → files_com-1.6.189}/tests/test_bandwidth_snapshot.py +0 -0
- {files_com-1.6.156 → files_com-1.6.189}/tests/test_behavior.py +0 -0
- {files_com-1.6.156 → files_com-1.6.189}/tests/test_bundle.py +0 -0
- {files_com-1.6.156 → files_com-1.6.189}/tests/test_bundle_action.py +0 -0
- {files_com-1.6.156 → files_com-1.6.189}/tests/test_bundle_download.py +0 -0
- {files_com-1.6.156 → files_com-1.6.189}/tests/test_bundle_notification.py +0 -0
- {files_com-1.6.156 → files_com-1.6.189}/tests/test_bundle_path.py +0 -0
- {files_com-1.6.156 → files_com-1.6.189}/tests/test_bundle_recipient.py +0 -0
- {files_com-1.6.156 → files_com-1.6.189}/tests/test_bundle_registration.py +0 -0
- {files_com-1.6.156 → files_com-1.6.189}/tests/test_child_site_management_policy.py +0 -0
- {files_com-1.6.156 → files_com-1.6.189}/tests/test_clickwrap.py +0 -0
- {files_com-1.6.156 → files_com-1.6.189}/tests/test_connection_adapter.py +0 -0
- {files_com-1.6.156 → files_com-1.6.189}/tests/test_dns_record.py +0 -0
- {files_com-1.6.156 → files_com-1.6.189}/tests/test_email_incoming_message.py +0 -0
- {files_com-1.6.156 → files_com-1.6.189}/tests/test_email_log.py +0 -0
- {files_com-1.6.156 → files_com-1.6.189}/tests/test_errors.py +0 -0
- {files_com-1.6.156 → files_com-1.6.189}/tests/test_exavault_api_request_log.py +0 -0
- {files_com-1.6.156 → files_com-1.6.189}/tests/test_external_event.py +0 -0
- {files_com-1.6.156 → files_com-1.6.189}/tests/test_file.py +0 -0
- {files_com-1.6.156 → files_com-1.6.189}/tests/test_file_action.py +0 -0
- {files_com-1.6.156 → files_com-1.6.189}/tests/test_file_comment.py +0 -0
- {files_com-1.6.156 → files_com-1.6.189}/tests/test_file_comment_reaction.py +0 -0
- {files_com-1.6.156 → files_com-1.6.189}/tests/test_file_migration.py +0 -0
- {files_com-1.6.156 → files_com-1.6.189}/tests/test_file_migration_log.py +0 -0
- {files_com-1.6.156 → files_com-1.6.189}/tests/test_file_upload_part.py +0 -0
- {files_com-1.6.156 → files_com-1.6.189}/tests/test_folder.py +0 -0
- {files_com-1.6.156 → files_com-1.6.189}/tests/test_form_field.py +0 -0
- {files_com-1.6.156 → files_com-1.6.189}/tests/test_form_field_set.py +0 -0
- {files_com-1.6.156 → files_com-1.6.189}/tests/test_ftp_action_log.py +0 -0
- {files_com-1.6.156 → files_com-1.6.189}/tests/test_gpg_key.py +0 -0
- {files_com-1.6.156 → files_com-1.6.189}/tests/test_group.py +0 -0
- {files_com-1.6.156 → files_com-1.6.189}/tests/test_group_user.py +0 -0
- {files_com-1.6.156 → files_com-1.6.189}/tests/test_history.py +0 -0
- {files_com-1.6.156 → files_com-1.6.189}/tests/test_history_export.py +0 -0
- {files_com-1.6.156 → files_com-1.6.189}/tests/test_history_export_result.py +0 -0
- {files_com-1.6.156 → files_com-1.6.189}/tests/test_holiday_region.py +0 -0
- {files_com-1.6.156 → files_com-1.6.189}/tests/test_image.py +0 -0
- {files_com-1.6.156 → files_com-1.6.189}/tests/test_inbound_s3_log.py +0 -0
- {files_com-1.6.156 → files_com-1.6.189}/tests/test_inbox_recipient.py +0 -0
- {files_com-1.6.156 → files_com-1.6.189}/tests/test_inbox_registration.py +0 -0
- {files_com-1.6.156 → files_com-1.6.189}/tests/test_inbox_upload.py +0 -0
- {files_com-1.6.156 → files_com-1.6.189}/tests/test_invoice.py +0 -0
- {files_com-1.6.156 → files_com-1.6.189}/tests/test_invoice_line_item.py +0 -0
- {files_com-1.6.156 → files_com-1.6.189}/tests/test_ip_address.py +0 -0
- {files_com-1.6.156 → files_com-1.6.189}/tests/test_lock.py +0 -0
- {files_com-1.6.156 → files_com-1.6.189}/tests/test_message.py +0 -0
- {files_com-1.6.156 → files_com-1.6.189}/tests/test_message_comment.py +0 -0
- {files_com-1.6.156 → files_com-1.6.189}/tests/test_message_comment_reaction.py +0 -0
- {files_com-1.6.156 → files_com-1.6.189}/tests/test_message_reaction.py +0 -0
- {files_com-1.6.156 → files_com-1.6.189}/tests/test_notification.py +0 -0
- {files_com-1.6.156 → files_com-1.6.189}/tests/test_outbound_connection_log.py +0 -0
- {files_com-1.6.156 → files_com-1.6.189}/tests/test_partner.py +0 -0
- {files_com-1.6.156 → files_com-1.6.189}/tests/test_path_util.py +0 -0
- {files_com-1.6.156 → files_com-1.6.189}/tests/test_payment.py +0 -0
- {files_com-1.6.156 → files_com-1.6.189}/tests/test_payment_line_item.py +0 -0
- {files_com-1.6.156 → files_com-1.6.189}/tests/test_permission.py +0 -0
- {files_com-1.6.156 → files_com-1.6.189}/tests/test_preview.py +0 -0
- {files_com-1.6.156 → files_com-1.6.189}/tests/test_priority.py +0 -0
- {files_com-1.6.156 → files_com-1.6.189}/tests/test_project.py +0 -0
- {files_com-1.6.156 → files_com-1.6.189}/tests/test_public_hosting_request_log.py +0 -0
- {files_com-1.6.156 → files_com-1.6.189}/tests/test_public_ip_address.py +0 -0
- {files_com-1.6.156 → files_com-1.6.189}/tests/test_public_key.py +0 -0
- {files_com-1.6.156 → files_com-1.6.189}/tests/test_remote_bandwidth_snapshot.py +0 -0
- {files_com-1.6.156 → files_com-1.6.189}/tests/test_remote_mount_backend.py +0 -0
- {files_com-1.6.156 → files_com-1.6.189}/tests/test_remote_server_configuration_file.py +0 -0
- {files_com-1.6.156 → files_com-1.6.189}/tests/test_request.py +0 -0
- {files_com-1.6.156 → files_com-1.6.189}/tests/test_restore.py +0 -0
- {files_com-1.6.156 → files_com-1.6.189}/tests/test_scim_log.py +0 -0
- {files_com-1.6.156 → files_com-1.6.189}/tests/test_session.py +0 -0
- {files_com-1.6.156 → files_com-1.6.189}/tests/test_settings_change.py +0 -0
- {files_com-1.6.156 → files_com-1.6.189}/tests/test_sftp_action_log.py +0 -0
- {files_com-1.6.156 → files_com-1.6.189}/tests/test_sftp_host_key.py +0 -0
- {files_com-1.6.156 → files_com-1.6.189}/tests/test_share_group.py +0 -0
- {files_com-1.6.156 → files_com-1.6.189}/tests/test_share_group_member.py +0 -0
- {files_com-1.6.156 → files_com-1.6.189}/tests/test_siem_http_destination.py +0 -0
- {files_com-1.6.156 → files_com-1.6.189}/tests/test_site.py +0 -0
- {files_com-1.6.156 → files_com-1.6.189}/tests/test_snapshot.py +0 -0
- {files_com-1.6.156 → files_com-1.6.189}/tests/test_sso_strategy.py +0 -0
- {files_com-1.6.156 → files_com-1.6.189}/tests/test_status.py +0 -0
- {files_com-1.6.156 → files_com-1.6.189}/tests/test_style.py +0 -0
- {files_com-1.6.156 → files_com-1.6.189}/tests/test_sync.py +0 -0
- {files_com-1.6.156 → files_com-1.6.189}/tests/test_sync_log.py +0 -0
- {files_com-1.6.156 → files_com-1.6.189}/tests/test_sync_run.py +0 -0
- {files_com-1.6.156 → files_com-1.6.189}/tests/test_usage_by_top_level_dir.py +0 -0
- {files_com-1.6.156 → files_com-1.6.189}/tests/test_usage_daily_snapshot.py +0 -0
- {files_com-1.6.156 → files_com-1.6.189}/tests/test_usage_snapshot.py +0 -0
- {files_com-1.6.156 → files_com-1.6.189}/tests/test_user.py +0 -0
- {files_com-1.6.156 → files_com-1.6.189}/tests/test_user_cipher_use.py +0 -0
- {files_com-1.6.156 → files_com-1.6.189}/tests/test_user_lifecycle_rule.py +0 -0
- {files_com-1.6.156 → files_com-1.6.189}/tests/test_user_request.py +0 -0
- {files_com-1.6.156 → files_com-1.6.189}/tests/test_user_sftp_client_use.py +0 -0
- {files_com-1.6.156 → files_com-1.6.189}/tests/test_web_dav_action_log.py +0 -0
- {files_com-1.6.156 → files_com-1.6.189}/tests/test_webhook_test.py +0 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
1.6.189
|
|
@@ -20,6 +20,7 @@ files_sdk/models/account_line_item.py
|
|
|
20
20
|
files_sdk/models/action.py
|
|
21
21
|
files_sdk/models/action_notification_export.py
|
|
22
22
|
files_sdk/models/action_notification_export_result.py
|
|
23
|
+
files_sdk/models/agent_push_update.py
|
|
23
24
|
files_sdk/models/api_key.py
|
|
24
25
|
files_sdk/models/api_request_log.py
|
|
25
26
|
files_sdk/models/app.py
|
|
@@ -74,6 +75,7 @@ files_sdk/models/inbox_upload.py
|
|
|
74
75
|
files_sdk/models/invoice.py
|
|
75
76
|
files_sdk/models/invoice_line_item.py
|
|
76
77
|
files_sdk/models/ip_address.py
|
|
78
|
+
files_sdk/models/key_lifecycle_rule.py
|
|
77
79
|
files_sdk/models/lock.py
|
|
78
80
|
files_sdk/models/message.py
|
|
79
81
|
files_sdk/models/message_comment.py
|
|
@@ -95,6 +97,7 @@ files_sdk/models/remote_bandwidth_snapshot.py
|
|
|
95
97
|
files_sdk/models/remote_mount_backend.py
|
|
96
98
|
files_sdk/models/remote_server.py
|
|
97
99
|
files_sdk/models/remote_server_configuration_file.py
|
|
100
|
+
files_sdk/models/remote_server_credential.py
|
|
98
101
|
files_sdk/models/request.py
|
|
99
102
|
files_sdk/models/restore.py
|
|
100
103
|
files_sdk/models/scim_log.py
|
|
@@ -123,10 +126,12 @@ files_sdk/models/user_request.py
|
|
|
123
126
|
files_sdk/models/user_sftp_client_use.py
|
|
124
127
|
files_sdk/models/web_dav_action_log.py
|
|
125
128
|
files_sdk/models/webhook_test.py
|
|
129
|
+
files_sdk/models/workspace.py
|
|
126
130
|
tests/test_account_line_item.py
|
|
127
131
|
tests/test_action.py
|
|
128
132
|
tests/test_action_notification_export.py
|
|
129
133
|
tests/test_action_notification_export_result.py
|
|
134
|
+
tests/test_agent_push_update.py
|
|
130
135
|
tests/test_api_errors.py
|
|
131
136
|
tests/test_api_key.py
|
|
132
137
|
tests/test_api_request_log.py
|
|
@@ -183,6 +188,7 @@ tests/test_inbox_upload.py
|
|
|
183
188
|
tests/test_invoice.py
|
|
184
189
|
tests/test_invoice_line_item.py
|
|
185
190
|
tests/test_ip_address.py
|
|
191
|
+
tests/test_key_lifecycle_rule.py
|
|
186
192
|
tests/test_lock.py
|
|
187
193
|
tests/test_message.py
|
|
188
194
|
tests/test_message_comment.py
|
|
@@ -205,6 +211,7 @@ tests/test_remote_bandwidth_snapshot.py
|
|
|
205
211
|
tests/test_remote_mount_backend.py
|
|
206
212
|
tests/test_remote_server.py
|
|
207
213
|
tests/test_remote_server_configuration_file.py
|
|
214
|
+
tests/test_remote_server_credential.py
|
|
208
215
|
tests/test_request.py
|
|
209
216
|
tests/test_restore.py
|
|
210
217
|
tests/test_scim_log.py
|
|
@@ -232,4 +239,5 @@ tests/test_user_lifecycle_rule.py
|
|
|
232
239
|
tests/test_user_request.py
|
|
233
240
|
tests/test_user_sftp_client_use.py
|
|
234
241
|
tests/test_web_dav_action_log.py
|
|
235
|
-
tests/test_webhook_test.py
|
|
242
|
+
tests/test_webhook_test.py
|
|
243
|
+
tests/test_workspace.py
|
|
@@ -3,6 +3,7 @@ import files_sdk.models.account_line_item as account_line_item
|
|
|
3
3
|
import files_sdk.models.action as action
|
|
4
4
|
import files_sdk.models.action_notification_export as action_notification_export
|
|
5
5
|
import files_sdk.models.action_notification_export_result as action_notification_export_result
|
|
6
|
+
import files_sdk.models.agent_push_update as agent_push_update
|
|
6
7
|
import files_sdk.models.api_key as api_key
|
|
7
8
|
import files_sdk.models.api_request_log as api_request_log
|
|
8
9
|
import files_sdk.models.app as app
|
|
@@ -57,6 +58,7 @@ import files_sdk.models.inbox_upload as inbox_upload
|
|
|
57
58
|
import files_sdk.models.invoice as invoice
|
|
58
59
|
import files_sdk.models.invoice_line_item as invoice_line_item
|
|
59
60
|
import files_sdk.models.ip_address as ip_address
|
|
61
|
+
import files_sdk.models.key_lifecycle_rule as key_lifecycle_rule
|
|
60
62
|
import files_sdk.models.lock as lock
|
|
61
63
|
import files_sdk.models.message as message
|
|
62
64
|
import files_sdk.models.message_comment as message_comment
|
|
@@ -78,6 +80,7 @@ import files_sdk.models.remote_bandwidth_snapshot as remote_bandwidth_snapshot
|
|
|
78
80
|
import files_sdk.models.remote_mount_backend as remote_mount_backend
|
|
79
81
|
import files_sdk.models.remote_server as remote_server
|
|
80
82
|
import files_sdk.models.remote_server_configuration_file as remote_server_configuration_file
|
|
83
|
+
import files_sdk.models.remote_server_credential as remote_server_credential
|
|
81
84
|
import files_sdk.models.request as request
|
|
82
85
|
import files_sdk.models.restore as restore
|
|
83
86
|
import files_sdk.models.scim_log as scim_log
|
|
@@ -106,6 +109,7 @@ import files_sdk.models.user_request as user_request
|
|
|
106
109
|
import files_sdk.models.user_sftp_client_use as user_sftp_client_use
|
|
107
110
|
import files_sdk.models.web_dav_action_log as web_dav_action_log
|
|
108
111
|
import files_sdk.models.webhook_test as webhook_test
|
|
112
|
+
import files_sdk.models.workspace as workspace
|
|
109
113
|
|
|
110
114
|
from files_sdk.models.account_line_item import AccountLineItem
|
|
111
115
|
from files_sdk.models.action import Action
|
|
@@ -115,6 +119,7 @@ from files_sdk.models.action_notification_export import (
|
|
|
115
119
|
from files_sdk.models.action_notification_export_result import (
|
|
116
120
|
ActionNotificationExportResult,
|
|
117
121
|
)
|
|
122
|
+
from files_sdk.models.agent_push_update import AgentPushUpdate
|
|
118
123
|
from files_sdk.models.api_key import ApiKey
|
|
119
124
|
from files_sdk.models.api_request_log import ApiRequestLog
|
|
120
125
|
from files_sdk.models.app import App
|
|
@@ -171,6 +176,7 @@ from files_sdk.models.inbox_upload import InboxUpload
|
|
|
171
176
|
from files_sdk.models.invoice import Invoice
|
|
172
177
|
from files_sdk.models.invoice_line_item import InvoiceLineItem
|
|
173
178
|
from files_sdk.models.ip_address import IpAddress
|
|
179
|
+
from files_sdk.models.key_lifecycle_rule import KeyLifecycleRule
|
|
174
180
|
from files_sdk.models.lock import Lock
|
|
175
181
|
from files_sdk.models.message import Message
|
|
176
182
|
from files_sdk.models.message_comment import MessageComment
|
|
@@ -194,6 +200,7 @@ from files_sdk.models.remote_server import RemoteServer
|
|
|
194
200
|
from files_sdk.models.remote_server_configuration_file import (
|
|
195
201
|
RemoteServerConfigurationFile,
|
|
196
202
|
)
|
|
203
|
+
from files_sdk.models.remote_server_credential import RemoteServerCredential
|
|
197
204
|
from files_sdk.models.request import Request
|
|
198
205
|
from files_sdk.models.restore import Restore
|
|
199
206
|
from files_sdk.models.scim_log import ScimLog
|
|
@@ -222,6 +229,7 @@ from files_sdk.models.user_request import UserRequest
|
|
|
222
229
|
from files_sdk.models.user_sftp_client_use import UserSftpClientUse
|
|
223
230
|
from files_sdk.models.web_dav_action_log import WebDavActionLog
|
|
224
231
|
from files_sdk.models.webhook_test import WebhookTest
|
|
232
|
+
from files_sdk.models.workspace import Workspace
|
|
225
233
|
|
|
226
234
|
import files_sdk.path_util
|
|
227
235
|
import socket
|
|
@@ -233,7 +241,7 @@ session_id = None
|
|
|
233
241
|
source_ip = None
|
|
234
242
|
base_url = "https://app.files.com"
|
|
235
243
|
base_path = "api/rest/v1"
|
|
236
|
-
version = "1.6.
|
|
244
|
+
version = "1.6.189"
|
|
237
245
|
|
|
238
246
|
__version__ = version
|
|
239
247
|
|
|
@@ -6,6 +6,7 @@ from files_sdk.models.action_notification_export import (
|
|
|
6
6
|
from files_sdk.models.action_notification_export_result import (
|
|
7
7
|
ActionNotificationExportResult,
|
|
8
8
|
)
|
|
9
|
+
from files_sdk.models.agent_push_update import AgentPushUpdate
|
|
9
10
|
from files_sdk.models.api_key import ApiKey
|
|
10
11
|
from files_sdk.models.api_request_log import ApiRequestLog
|
|
11
12
|
from files_sdk.models.app import App
|
|
@@ -62,6 +63,7 @@ from files_sdk.models.inbox_upload import InboxUpload
|
|
|
62
63
|
from files_sdk.models.invoice import Invoice
|
|
63
64
|
from files_sdk.models.invoice_line_item import InvoiceLineItem
|
|
64
65
|
from files_sdk.models.ip_address import IpAddress
|
|
66
|
+
from files_sdk.models.key_lifecycle_rule import KeyLifecycleRule
|
|
65
67
|
from files_sdk.models.lock import Lock
|
|
66
68
|
from files_sdk.models.message import Message
|
|
67
69
|
from files_sdk.models.message_comment import MessageComment
|
|
@@ -85,6 +87,7 @@ from files_sdk.models.remote_server import RemoteServer
|
|
|
85
87
|
from files_sdk.models.remote_server_configuration_file import (
|
|
86
88
|
RemoteServerConfigurationFile,
|
|
87
89
|
)
|
|
90
|
+
from files_sdk.models.remote_server_credential import RemoteServerCredential
|
|
88
91
|
from files_sdk.models.request import Request
|
|
89
92
|
from files_sdk.models.restore import Restore
|
|
90
93
|
from files_sdk.models.scim_log import ScimLog
|
|
@@ -113,3 +116,4 @@ from files_sdk.models.user_request import UserRequest
|
|
|
113
116
|
from files_sdk.models.user_sftp_client_use import UserSftpClientUse
|
|
114
117
|
from files_sdk.models.web_dav_action_log import WebDavActionLog
|
|
115
118
|
from files_sdk.models.webhook_test import WebhookTest
|
|
119
|
+
from files_sdk.models.workspace import Workspace
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
import builtins # noqa: F401
|
|
2
|
+
from files_sdk.api import Api # noqa: F401
|
|
3
|
+
from files_sdk.error import ( # noqa: F401
|
|
4
|
+
InvalidParameterError,
|
|
5
|
+
MissingParameterError,
|
|
6
|
+
NotImplementedError,
|
|
7
|
+
)
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
class AgentPushUpdate:
|
|
11
|
+
default_attributes = {
|
|
12
|
+
"version": None, # string - Pushed agent version
|
|
13
|
+
"message": None, # string - Update accepted or reason
|
|
14
|
+
"current_version": None, # string - Installed agent version
|
|
15
|
+
"pending_version": None, # string - Pending agent version or null
|
|
16
|
+
"last_error": None, # string - Last error message or null
|
|
17
|
+
"error": None, # string - Error code
|
|
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 AgentPushUpdate.default_attributes.items():
|
|
33
|
+
setattr(self, attribute, attributes.get(attribute, default_value))
|
|
34
|
+
|
|
35
|
+
def get_attributes(self):
|
|
36
|
+
return {
|
|
37
|
+
k: getattr(self, k, None)
|
|
38
|
+
for k in AgentPushUpdate.default_attributes
|
|
39
|
+
if getattr(self, k, None) is not None
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
|
|
43
|
+
def new(*args, **kwargs):
|
|
44
|
+
return AgentPushUpdate(*args, **kwargs)
|
|
@@ -50,7 +50,6 @@ class ApiKey:
|
|
|
50
50
|
# Parameters:
|
|
51
51
|
# description - string - User-supplied description of API key.
|
|
52
52
|
# expires_at - string - API Key expiration date
|
|
53
|
-
# permission_set - string - Permissions for this API Key. It must be full for site-wide API Keys. Keys with the `desktop_app` permission set only have the ability to do the functions provided in our Desktop App (File and Share Link operations). Keys with the `office_integration` permission set are auto generated, and automatically expire, to allow users to interact with office integration platforms. Additional permission sets may become available in the future, such as for a Site Admin to give a key with no administrator privileges. If you have ideas for permission sets, please let us know.
|
|
54
53
|
# name - string - Internal name for the API Key. For your use.
|
|
55
54
|
def update(self, params=None):
|
|
56
55
|
if not isinstance(params, dict):
|
|
@@ -76,12 +75,6 @@ class ApiKey:
|
|
|
76
75
|
raise InvalidParameterError(
|
|
77
76
|
"Bad parameter: expires_at must be an str"
|
|
78
77
|
)
|
|
79
|
-
if "permission_set" in params and not isinstance(
|
|
80
|
-
params["permission_set"], str
|
|
81
|
-
):
|
|
82
|
-
raise InvalidParameterError(
|
|
83
|
-
"Bad parameter: permission_set must be an str"
|
|
84
|
-
)
|
|
85
78
|
if "name" in params and not isinstance(params["name"], str):
|
|
86
79
|
raise InvalidParameterError("Bad parameter: name must be an str")
|
|
87
80
|
response, _options = Api.send_request(
|
|
@@ -204,10 +197,10 @@ def get(id, params=None, options=None):
|
|
|
204
197
|
# user_id - int64 - User ID. Provide a value of `0` to operate the current session's user.
|
|
205
198
|
# description - string - User-supplied description of API key.
|
|
206
199
|
# expires_at - string - API Key expiration date
|
|
207
|
-
# permission_set - string - Permissions for this API Key. It must be full for site-wide API Keys. Keys with the `desktop_app` permission set only have the ability to do the functions provided in our Desktop App (File and Share Link operations). Keys with the `office_integration` permission set are auto generated, and automatically expire, to allow users to interact with office integration platforms. Additional permission sets may become available in the future, such as for a Site Admin to give a key with no administrator privileges. If you have ideas for permission sets, please let us know.
|
|
208
200
|
# name (required) - string - Internal name for the API Key. For your use.
|
|
209
201
|
# aws_style_credentials - boolean - If `true`, this API key will be usable with AWS-compatible endpoints, such as our Inbound S3-compatible endpoint.
|
|
210
202
|
# path - string - Folder path restriction for `office_integration` permission set API keys.
|
|
203
|
+
# permission_set - string - Permissions for this API Key. It must be full for site-wide API Keys. Keys with the `desktop_app` permission set only have the ability to do the functions provided in our Desktop App (File and Share Link operations). Keys with the `office_integration` permission set are auto generated, and automatically expire, to allow users to interact with office integration platforms. Additional permission sets may become available in the future, such as for a Site Admin to give a key with no administrator privileges. If you have ideas for permission sets, please let us know.
|
|
211
204
|
def create(params=None, options=None):
|
|
212
205
|
if not isinstance(params, dict):
|
|
213
206
|
params = {}
|
|
@@ -221,12 +214,6 @@ def create(params=None, options=None):
|
|
|
221
214
|
)
|
|
222
215
|
if "expires_at" in params and not isinstance(params["expires_at"], str):
|
|
223
216
|
raise InvalidParameterError("Bad parameter: expires_at must be an str")
|
|
224
|
-
if "permission_set" in params and not isinstance(
|
|
225
|
-
params["permission_set"], str
|
|
226
|
-
):
|
|
227
|
-
raise InvalidParameterError(
|
|
228
|
-
"Bad parameter: permission_set must be an str"
|
|
229
|
-
)
|
|
230
217
|
if "name" in params and not isinstance(params["name"], str):
|
|
231
218
|
raise InvalidParameterError("Bad parameter: name must be an str")
|
|
232
219
|
if "aws_style_credentials" in params and not isinstance(
|
|
@@ -237,6 +224,12 @@ def create(params=None, options=None):
|
|
|
237
224
|
)
|
|
238
225
|
if "path" in params and not isinstance(params["path"], str):
|
|
239
226
|
raise InvalidParameterError("Bad parameter: path must be an str")
|
|
227
|
+
if "permission_set" in params and not isinstance(
|
|
228
|
+
params["permission_set"], str
|
|
229
|
+
):
|
|
230
|
+
raise InvalidParameterError(
|
|
231
|
+
"Bad parameter: permission_set must be an str"
|
|
232
|
+
)
|
|
240
233
|
if "name" not in params:
|
|
241
234
|
raise MissingParameterError("Parameter missing: name")
|
|
242
235
|
response, options = Api.send_request("POST", "/api_keys", params, options)
|
|
@@ -269,7 +262,6 @@ def update_current(params=None, options=None):
|
|
|
269
262
|
# Parameters:
|
|
270
263
|
# description - string - User-supplied description of API key.
|
|
271
264
|
# expires_at - string - API Key expiration date
|
|
272
|
-
# permission_set - string - Permissions for this API Key. It must be full for site-wide API Keys. Keys with the `desktop_app` permission set only have the ability to do the functions provided in our Desktop App (File and Share Link operations). Keys with the `office_integration` permission set are auto generated, and automatically expire, to allow users to interact with office integration platforms. Additional permission sets may become available in the future, such as for a Site Admin to give a key with no administrator privileges. If you have ideas for permission sets, please let us know.
|
|
273
265
|
# name - string - Internal name for the API Key. For your use.
|
|
274
266
|
def update(id, params=None, options=None):
|
|
275
267
|
if not isinstance(params, dict):
|
|
@@ -285,12 +277,6 @@ def update(id, params=None, options=None):
|
|
|
285
277
|
)
|
|
286
278
|
if "expires_at" in params and not isinstance(params["expires_at"], str):
|
|
287
279
|
raise InvalidParameterError("Bad parameter: expires_at must be an str")
|
|
288
|
-
if "permission_set" in params and not isinstance(
|
|
289
|
-
params["permission_set"], str
|
|
290
|
-
):
|
|
291
|
-
raise InvalidParameterError(
|
|
292
|
-
"Bad parameter: permission_set must be an str"
|
|
293
|
-
)
|
|
294
280
|
if "name" in params and not isinstance(params["name"], str):
|
|
295
281
|
raise InvalidParameterError("Bad parameter: name must be an str")
|
|
296
282
|
if "id" not in params:
|
|
@@ -11,6 +11,7 @@ from files_sdk.error import ( # noqa: F401
|
|
|
11
11
|
class As2IncomingMessage:
|
|
12
12
|
default_attributes = {
|
|
13
13
|
"id": None, # int64 - Id of the AS2 Partner.
|
|
14
|
+
"workspace_id": None, # int64 - ID of the Workspace associated with this AS2 Incoming Message.
|
|
14
15
|
"as2_partner_id": None, # int64 - Id of the AS2 Partner associated with this message.
|
|
15
16
|
"as2_station_id": None, # int64 - Id of the AS2 Station associated with this message.
|
|
16
17
|
"uuid": None, # string - UUID assigned to this message.
|
|
@@ -72,8 +73,8 @@ class As2IncomingMessage:
|
|
|
72
73
|
# Parameters:
|
|
73
74
|
# cursor - string - Used for pagination. When a list request has more records available, cursors are provided in the response headers `X-Files-Cursor-Next` and `X-Files-Cursor-Prev`. Send one of those cursor value here to resume an existing list from the next available record. Note: many of our SDKs have iterator methods that will automatically handle cursor-based pagination.
|
|
74
75
|
# per_page - int64 - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
|
|
75
|
-
# sort_by - object - If set, sort records by the specified field in either `asc` or `desc` direction. Valid fields are `created_at`
|
|
76
|
-
# filter - object - If set, return records where the specified field is equal to the supplied value. Valid fields are `created_at`, `as2_station_id` or `as2_partner_id`. Valid field combinations are `[ as2_station_id, created_at ]`
|
|
76
|
+
# sort_by - object - If set, sort records by the specified field in either `asc` or `desc` direction. Valid fields are `workspace_id`, `created_at` or `as2_partner_id`.
|
|
77
|
+
# filter - object - If set, return records where the specified field is equal to the supplied value. Valid fields are `created_at`, `as2_station_id`, `workspace_id` or `as2_partner_id`. Valid field combinations are `[ as2_station_id, created_at ]`, `[ workspace_id, created_at ]`, `[ as2_partner_id, created_at ]`, `[ workspace_id, as2_station_id ]`, `[ workspace_id, as2_partner_id ]`, `[ workspace_id, as2_station_id, created_at ]` or `[ workspace_id, as2_partner_id, created_at ]`.
|
|
77
78
|
# filter_gt - object - If set, return records where the specified field is greater than the supplied value. Valid fields are `created_at`.
|
|
78
79
|
# filter_gteq - object - If set, return records where the specified field is greater than or equal the supplied value. Valid fields are `created_at`.
|
|
79
80
|
# filter_lt - object - If set, return records where the specified field is less than the supplied value. Valid fields are `created_at`.
|
|
@@ -11,6 +11,7 @@ from files_sdk.error import ( # noqa: F401
|
|
|
11
11
|
class As2OutgoingMessage:
|
|
12
12
|
default_attributes = {
|
|
13
13
|
"id": None, # int64 - Id of the AS2 Partner.
|
|
14
|
+
"workspace_id": None, # int64 - ID of the Workspace associated with this AS2 Outgoing Message.
|
|
14
15
|
"as2_partner_id": None, # int64 - Id of the AS2 Partner associated with this message.
|
|
15
16
|
"as2_station_id": None, # int64 - Id of the AS2 Station associated with this message.
|
|
16
17
|
"uuid": None, # string - UUID assigned to this message.
|
|
@@ -68,8 +69,8 @@ class As2OutgoingMessage:
|
|
|
68
69
|
# Parameters:
|
|
69
70
|
# cursor - string - Used for pagination. When a list request has more records available, cursors are provided in the response headers `X-Files-Cursor-Next` and `X-Files-Cursor-Prev`. Send one of those cursor value here to resume an existing list from the next available record. Note: many of our SDKs have iterator methods that will automatically handle cursor-based pagination.
|
|
70
71
|
# per_page - int64 - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
|
|
71
|
-
# sort_by - object - If set, sort records by the specified field in either `asc` or `desc` direction. Valid fields are `created_at`
|
|
72
|
-
# filter - object - If set, return records where the specified field is equal to the supplied value. Valid fields are `created_at`, `as2_station_id` or `as2_partner_id`. Valid field combinations are `[ as2_station_id, created_at ]`
|
|
72
|
+
# sort_by - object - If set, sort records by the specified field in either `asc` or `desc` direction. Valid fields are `workspace_id`, `created_at` or `as2_partner_id`.
|
|
73
|
+
# filter - object - If set, return records where the specified field is equal to the supplied value. Valid fields are `created_at`, `as2_station_id`, `workspace_id` or `as2_partner_id`. Valid field combinations are `[ as2_station_id, created_at ]`, `[ workspace_id, created_at ]`, `[ as2_partner_id, created_at ]`, `[ workspace_id, as2_station_id ]`, `[ workspace_id, as2_partner_id ]`, `[ workspace_id, as2_station_id, created_at ]` or `[ workspace_id, as2_partner_id, created_at ]`.
|
|
73
74
|
# filter_gt - object - If set, return records where the specified field is greater than the supplied value. Valid fields are `created_at`.
|
|
74
75
|
# filter_gteq - object - If set, return records where the specified field is greater than or equal the supplied value. Valid fields are `created_at`.
|
|
75
76
|
# filter_lt - object - If set, return records where the specified field is less than the supplied value. Valid fields are `created_at`.
|
|
@@ -11,6 +11,7 @@ from files_sdk.error import ( # noqa: F401
|
|
|
11
11
|
class As2Partner:
|
|
12
12
|
default_attributes = {
|
|
13
13
|
"id": None, # int64 - ID of the AS2 Partner.
|
|
14
|
+
"workspace_id": None, # int64 - ID of the Workspace associated with this AS2 Partner.
|
|
14
15
|
"as2_station_id": None, # int64 - ID of the AS2 Station associated with this partner.
|
|
15
16
|
"name": None, # string - The partner's formal AS2 name.
|
|
16
17
|
"uri": None, # string - Public URI where we will send the AS2 messages (via HTTP/HTTPS).
|
|
@@ -165,8 +166,8 @@ class As2Partner:
|
|
|
165
166
|
# Parameters:
|
|
166
167
|
# cursor - string - Used for pagination. When a list request has more records available, cursors are provided in the response headers `X-Files-Cursor-Next` and `X-Files-Cursor-Prev`. Send one of those cursor value here to resume an existing list from the next available record. Note: many of our SDKs have iterator methods that will automatically handle cursor-based pagination.
|
|
167
168
|
# per_page - int64 - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
|
|
168
|
-
# sort_by - object - If set, sort records by the specified field in either `asc` or `desc` direction. Valid fields are `as2_station_id`
|
|
169
|
-
# filter - object - If set, return records where the specified field is equal to the supplied value. Valid fields are `as2_station_id`.
|
|
169
|
+
# sort_by - object - If set, sort records by the specified field in either `asc` or `desc` direction. Valid fields are `workspace_id`, `as2_station_id` or `name`.
|
|
170
|
+
# filter - object - If set, return records where the specified field is equal to the supplied value. Valid fields are `as2_station_id` and `workspace_id`. Valid field combinations are `[ workspace_id, as2_station_id ]`.
|
|
170
171
|
def list(params=None, options=None):
|
|
171
172
|
if not isinstance(params, dict):
|
|
172
173
|
params = {}
|
|
@@ -11,6 +11,7 @@ from files_sdk.error import ( # noqa: F401
|
|
|
11
11
|
class As2Station:
|
|
12
12
|
default_attributes = {
|
|
13
13
|
"id": None, # int64 - Id of the AS2 Station.
|
|
14
|
+
"workspace_id": None, # int64 - ID of the Workspace associated with this AS2 Station.
|
|
14
15
|
"name": None, # string - The station's formal AS2 name.
|
|
15
16
|
"uri": None, # string - Public URI for sending AS2 message to.
|
|
16
17
|
"domain": None, # string - The station's AS2 domain name.
|
|
@@ -48,7 +49,7 @@ class As2Station:
|
|
|
48
49
|
}
|
|
49
50
|
|
|
50
51
|
# Parameters:
|
|
51
|
-
# name - string - AS2
|
|
52
|
+
# name - string - The station's formal AS2 name.
|
|
52
53
|
# public_certificate - string
|
|
53
54
|
# private_key - string
|
|
54
55
|
# private_key_password - string
|
|
@@ -128,7 +129,8 @@ class As2Station:
|
|
|
128
129
|
# Parameters:
|
|
129
130
|
# cursor - string - Used for pagination. When a list request has more records available, cursors are provided in the response headers `X-Files-Cursor-Next` and `X-Files-Cursor-Prev`. Send one of those cursor value here to resume an existing list from the next available record. Note: many of our SDKs have iterator methods that will automatically handle cursor-based pagination.
|
|
130
131
|
# per_page - int64 - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
|
|
131
|
-
# sort_by - object - If set, sort records by the specified field in either `asc` or `desc` direction. Valid fields are `name`.
|
|
132
|
+
# sort_by - object - If set, sort records by the specified field in either `asc` or `desc` direction. Valid fields are `workspace_id` and `name`.
|
|
133
|
+
# filter - object - If set, return records where the specified field is equal to the supplied value. Valid fields are `workspace_id`.
|
|
132
134
|
def list(params=None, options=None):
|
|
133
135
|
if not isinstance(params, dict):
|
|
134
136
|
params = {}
|
|
@@ -140,6 +142,8 @@ def list(params=None, options=None):
|
|
|
140
142
|
raise InvalidParameterError("Bad parameter: per_page must be an int")
|
|
141
143
|
if "sort_by" in params and not isinstance(params["sort_by"], dict):
|
|
142
144
|
raise InvalidParameterError("Bad parameter: sort_by must be an dict")
|
|
145
|
+
if "filter" in params and not isinstance(params["filter"], dict):
|
|
146
|
+
raise InvalidParameterError("Bad parameter: filter must be an dict")
|
|
143
147
|
return ListObj(As2Station, "GET", "/as2_stations", params, options)
|
|
144
148
|
|
|
145
149
|
|
|
@@ -170,7 +174,8 @@ def get(id, params=None, options=None):
|
|
|
170
174
|
|
|
171
175
|
|
|
172
176
|
# Parameters:
|
|
173
|
-
# name (required) - string - AS2
|
|
177
|
+
# name (required) - string - The station's formal AS2 name.
|
|
178
|
+
# workspace_id - int64 - ID of the Workspace associated with this AS2 Station.
|
|
174
179
|
# public_certificate (required) - string
|
|
175
180
|
# private_key (required) - string
|
|
176
181
|
# private_key_password - string
|
|
@@ -181,6 +186,12 @@ def create(params=None, options=None):
|
|
|
181
186
|
options = {}
|
|
182
187
|
if "name" in params and not isinstance(params["name"], str):
|
|
183
188
|
raise InvalidParameterError("Bad parameter: name must be an str")
|
|
189
|
+
if "workspace_id" in params and not isinstance(
|
|
190
|
+
params["workspace_id"], int
|
|
191
|
+
):
|
|
192
|
+
raise InvalidParameterError(
|
|
193
|
+
"Bad parameter: workspace_id must be an int"
|
|
194
|
+
)
|
|
184
195
|
if "public_certificate" in params and not isinstance(
|
|
185
196
|
params["public_certificate"], str
|
|
186
197
|
):
|
|
@@ -210,7 +221,7 @@ def create(params=None, options=None):
|
|
|
210
221
|
|
|
211
222
|
|
|
212
223
|
# Parameters:
|
|
213
|
-
# name - string - AS2
|
|
224
|
+
# name - string - The station's formal AS2 name.
|
|
214
225
|
# public_certificate - string
|
|
215
226
|
# private_key - string
|
|
216
227
|
# private_key_password - string
|
|
@@ -11,6 +11,7 @@ from files_sdk.error import ( # noqa: F401
|
|
|
11
11
|
class Automation:
|
|
12
12
|
default_attributes = {
|
|
13
13
|
"id": None, # int64 - Automation ID
|
|
14
|
+
"workspace_id": None, # int64 - Workspace ID
|
|
14
15
|
"always_serialize_jobs": None, # boolean - Ordinarily, we will allow automation runs to run in parallel for non-scheduled automations. If this flag is `true` we will force automation runs to be serialized (run one at a time, one after another). This can resolve some issues with race conditions on remote systems at the cost of some performance.
|
|
15
16
|
"always_overwrite_size_matching_files": None, # boolean - Ordinarily, files with identical size in the source and destination will be skipped from copy operations to prevent wasted transfer. If this flag is `true` we will overwrite the destination file always. Note that this may cause large amounts of wasted transfer usage. This setting has no effect unless `overwrite_files` is also set to `true`.
|
|
16
17
|
"automation": None, # string - Automation type
|
|
@@ -312,8 +313,8 @@ class Automation:
|
|
|
312
313
|
# Parameters:
|
|
313
314
|
# 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.
|
|
314
315
|
# per_page - int64 - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
|
|
315
|
-
# sort_by - object - If set, sort records by the specified field in either `asc` or `desc` direction. Valid fields are `
|
|
316
|
-
# filter - object - If set, return records where the specified field is equal to the supplied value. Valid fields are `disabled`, `last_modified_at` or `automation`. Valid field combinations are `[ disabled, last_modified_at ]`, `[ automation, disabled ]`, `[ automation, last_modified_at ]`
|
|
316
|
+
# sort_by - object - If set, sort records by the specified field in either `asc` or `desc` direction. Valid fields are `workspace_id`, `name`, `automation`, `last_modified_at` or `disabled`.
|
|
317
|
+
# filter - object - If set, return records where the specified field is equal to the supplied value. Valid fields are `disabled`, `last_modified_at`, `workspace_id` or `automation`. Valid field combinations are `[ disabled, last_modified_at ]`, `[ workspace_id, disabled ]`, `[ disabled, automation ]`, `[ workspace_id, last_modified_at ]`, `[ automation, last_modified_at ]`, `[ workspace_id, automation ]`, `[ workspace_id, disabled, last_modified_at ]`, `[ disabled, automation, last_modified_at ]`, `[ workspace_id, disabled, automation ]`, `[ workspace_id, automation, last_modified_at ]` or `[ workspace_id, disabled, automation, last_modified_at ]`.
|
|
317
318
|
# filter_gt - object - If set, return records where the specified field is greater than the supplied value. Valid fields are `last_modified_at`.
|
|
318
319
|
# filter_gteq - object - If set, return records where the specified field is greater than or equal the supplied value. Valid fields are `last_modified_at`.
|
|
319
320
|
# filter_lt - object - If set, return records where the specified field is less than the supplied value. Valid fields are `last_modified_at`.
|
|
@@ -406,6 +407,7 @@ def get(id, params=None, options=None):
|
|
|
406
407
|
# value - object - A Hash of attributes specific to the automation type.
|
|
407
408
|
# recurring_day - int64 - If trigger type is `daily`, this specifies a day number to run in one of the supported intervals: `week`, `month`, `quarter`, `year`.
|
|
408
409
|
# automation (required) - string - Automation type
|
|
410
|
+
# workspace_id - int64 - Workspace ID
|
|
409
411
|
def create(params=None, options=None):
|
|
410
412
|
if not isinstance(params, dict):
|
|
411
413
|
params = {}
|
|
@@ -563,6 +565,12 @@ def create(params=None, options=None):
|
|
|
563
565
|
)
|
|
564
566
|
if "automation" in params and not isinstance(params["automation"], str):
|
|
565
567
|
raise InvalidParameterError("Bad parameter: automation must be an str")
|
|
568
|
+
if "workspace_id" in params and not isinstance(
|
|
569
|
+
params["workspace_id"], int
|
|
570
|
+
):
|
|
571
|
+
raise InvalidParameterError(
|
|
572
|
+
"Bad parameter: workspace_id must be an int"
|
|
573
|
+
)
|
|
566
574
|
if "automation" not in params:
|
|
567
575
|
raise MissingParameterError("Parameter missing: automation")
|
|
568
576
|
response, options = Api.send_request(
|
|
@@ -12,6 +12,7 @@ class AutomationRun:
|
|
|
12
12
|
default_attributes = {
|
|
13
13
|
"id": None, # int64 - ID.
|
|
14
14
|
"automation_id": None, # int64 - ID of the associated Automation.
|
|
15
|
+
"workspace_id": None, # int64 - Workspace ID.
|
|
15
16
|
"completed_at": None, # date-time - Automation run completion/failure date/time.
|
|
16
17
|
"created_at": None, # date-time - Automation run start date/time.
|
|
17
18
|
"retry_at": None, # date-time - If set, this automation will be retried at this date/time due to `failure` or `partial_failure`.
|
|
@@ -53,7 +54,7 @@ class AutomationRun:
|
|
|
53
54
|
# cursor - string - Used for pagination. When a list request has more records available, cursors are provided in the response headers `X-Files-Cursor-Next` and `X-Files-Cursor-Prev`. Send one of those cursor value here to resume an existing list from the next available record. Note: many of our SDKs have iterator methods that will automatically handle cursor-based pagination.
|
|
54
55
|
# per_page - int64 - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
|
|
55
56
|
# sort_by - object - If set, sort records by the specified field in either `asc` or `desc` direction. Valid fields are `automation_id`, `created_at` or `status`.
|
|
56
|
-
# filter - object - If set, return records where the specified field is equal to the supplied value. Valid fields are `status`
|
|
57
|
+
# filter - object - If set, return records where the specified field is equal to the supplied value. Valid fields are `status`, `workspace_id` or `automation_id`. Valid field combinations are `[ workspace_id, status ]`, `[ automation_id, status ]`, `[ workspace_id, automation_id ]` or `[ workspace_id, automation_id, status ]`.
|
|
57
58
|
# automation_id (required) - int64 - ID of the associated Automation.
|
|
58
59
|
def list(params=None, options=None):
|
|
59
60
|
if not isinstance(params, dict):
|
|
@@ -43,7 +43,7 @@ class Behavior:
|
|
|
43
43
|
}
|
|
44
44
|
|
|
45
45
|
# Parameters:
|
|
46
|
-
# value -
|
|
46
|
+
# value - object - This field stores a hash of data specific to the type of behavior. See The Behavior Types section for example values for each type of behavior.
|
|
47
47
|
# attachment_file - file - Certain behaviors may require a file, for instance, the `watermark` behavior requires a watermark image. Attach that file here.
|
|
48
48
|
# disable_parent_folder_behavior - boolean - If `true`, the parent folder's behavior will be disabled for this folder and its children. This is the main mechanism for canceling out a `recursive` behavior higher in the folder tree.
|
|
49
49
|
# recursive - boolean - If `true`, behavior is treated as recursive, meaning that it impacts child folders as well.
|
|
@@ -62,8 +62,6 @@ class Behavior:
|
|
|
62
62
|
raise MissingParameterError("Parameter missing: id")
|
|
63
63
|
if "id" in params and not isinstance(params["id"], int):
|
|
64
64
|
raise InvalidParameterError("Bad parameter: id must be an int")
|
|
65
|
-
if "value" in params and not isinstance(params["value"], str):
|
|
66
|
-
raise InvalidParameterError("Bad parameter: value must be an str")
|
|
67
65
|
if "name" in params and not isinstance(params["name"], str):
|
|
68
66
|
raise InvalidParameterError("Bad parameter: name must be an str")
|
|
69
67
|
if "description" in params and not isinstance(
|
|
@@ -201,7 +199,7 @@ def list_for(path, params=None, options=None):
|
|
|
201
199
|
|
|
202
200
|
|
|
203
201
|
# Parameters:
|
|
204
|
-
# value -
|
|
202
|
+
# value - object - This field stores a hash of data specific to the type of behavior. See The Behavior Types section for example values for each type of behavior.
|
|
205
203
|
# attachment_file - file - Certain behaviors may require a file, for instance, the `watermark` behavior requires a watermark image. Attach that file here.
|
|
206
204
|
# disable_parent_folder_behavior - boolean - If `true`, the parent folder's behavior will be disabled for this folder and its children. This is the main mechanism for canceling out a `recursive` behavior higher in the folder tree.
|
|
207
205
|
# recursive - boolean - If `true`, behavior is treated as recursive, meaning that it impacts child folders as well.
|
|
@@ -214,8 +212,8 @@ def create(params=None, options=None):
|
|
|
214
212
|
params = {}
|
|
215
213
|
if not isinstance(options, dict):
|
|
216
214
|
options = {}
|
|
217
|
-
if "value" in params and not isinstance(params["value"],
|
|
218
|
-
raise InvalidParameterError("Bad parameter: value must be an
|
|
215
|
+
if "value" in params and not isinstance(params["value"], dict):
|
|
216
|
+
raise InvalidParameterError("Bad parameter: value must be an dict")
|
|
219
217
|
if "disable_parent_folder_behavior" in params and not isinstance(
|
|
220
218
|
params["disable_parent_folder_behavior"], bool
|
|
221
219
|
):
|
|
@@ -272,7 +270,7 @@ def webhook_test(params=None, options=None):
|
|
|
272
270
|
|
|
273
271
|
|
|
274
272
|
# Parameters:
|
|
275
|
-
# value -
|
|
273
|
+
# value - object - This field stores a hash of data specific to the type of behavior. See The Behavior Types section for example values for each type of behavior.
|
|
276
274
|
# attachment_file - file - Certain behaviors may require a file, for instance, the `watermark` behavior requires a watermark image. Attach that file here.
|
|
277
275
|
# disable_parent_folder_behavior - boolean - If `true`, the parent folder's behavior will be disabled for this folder and its children. This is the main mechanism for canceling out a `recursive` behavior higher in the folder tree.
|
|
278
276
|
# recursive - boolean - If `true`, behavior is treated as recursive, meaning that it impacts child folders as well.
|
|
@@ -285,12 +283,12 @@ def update(id, params=None, options=None):
|
|
|
285
283
|
if not isinstance(options, dict):
|
|
286
284
|
options = {}
|
|
287
285
|
params["id"] = id
|
|
288
|
-
if "id" in params and not isinstance(params["id"], (str, int
|
|
286
|
+
if "id" in params and not isinstance(params["id"], (dict, str, int)):
|
|
289
287
|
raise InvalidParameterError(
|
|
290
|
-
"Bad parameter: id must be one of str, int
|
|
288
|
+
"Bad parameter: id must be one of dict, str, int"
|
|
291
289
|
)
|
|
292
|
-
if "value" in params and not isinstance(params["value"],
|
|
293
|
-
raise InvalidParameterError("Bad parameter: value must be an
|
|
290
|
+
if "value" in params and not isinstance(params["value"], dict):
|
|
291
|
+
raise InvalidParameterError("Bad parameter: value must be an dict")
|
|
294
292
|
if "disable_parent_folder_behavior" in params and not isinstance(
|
|
295
293
|
params["disable_parent_folder_behavior"], bool
|
|
296
294
|
):
|
|
@@ -306,10 +304,10 @@ def update(id, params=None, options=None):
|
|
|
306
304
|
"Bad parameter: description must be an str"
|
|
307
305
|
)
|
|
308
306
|
if "attachment_delete" in params and not isinstance(
|
|
309
|
-
params["attachment_delete"], (str, int
|
|
307
|
+
params["attachment_delete"], (dict, str, int)
|
|
310
308
|
):
|
|
311
309
|
raise InvalidParameterError(
|
|
312
|
-
"Bad parameter: attachment_delete must be one of str, int
|
|
310
|
+
"Bad parameter: attachment_delete must be one of dict, str, int"
|
|
313
311
|
)
|
|
314
312
|
if "id" not in params:
|
|
315
313
|
raise MissingParameterError("Parameter missing: id")
|
|
@@ -136,6 +136,7 @@ class Bundle:
|
|
|
136
136
|
# start_access_on_date - string - Date when share will start to be accessible. If `nil` access granted right after create.
|
|
137
137
|
# skip_email - boolean - BundleRegistrations can be saved without providing email?
|
|
138
138
|
# skip_name - boolean - BundleRegistrations can be saved without providing name?
|
|
139
|
+
# user_id - int64 - The owning user id. Only site admins can set this.
|
|
139
140
|
# watermark_attachment_delete - boolean - If true, will delete the file stored in watermark_attachment
|
|
140
141
|
# watermark_attachment_file - file - Preview watermark image applied to all bundle items.
|
|
141
142
|
def update(self, params=None):
|
|
@@ -218,6 +219,10 @@ class Bundle:
|
|
|
218
219
|
raise InvalidParameterError(
|
|
219
220
|
"Bad parameter: start_access_on_date must be an str"
|
|
220
221
|
)
|
|
222
|
+
if "user_id" in params and not isinstance(params["user_id"], int):
|
|
223
|
+
raise InvalidParameterError(
|
|
224
|
+
"Bad parameter: user_id must be an int"
|
|
225
|
+
)
|
|
221
226
|
response, _options = Api.send_request(
|
|
222
227
|
"PATCH",
|
|
223
228
|
"/bundles/{id}".format(id=params["id"]),
|
|
@@ -264,7 +269,7 @@ class Bundle:
|
|
|
264
269
|
# cursor - string - Used for pagination. When a list request has more records available, cursors are provided in the response headers `X-Files-Cursor-Next` and `X-Files-Cursor-Prev`. Send one of those cursor value here to resume an existing list from the next available record. Note: many of our SDKs have iterator methods that will automatically handle cursor-based pagination.
|
|
265
270
|
# per_page - int64 - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
|
|
266
271
|
# sort_by - object - If set, sort records by the specified field in either `asc` or `desc` direction. Valid fields are `expires_at`.
|
|
267
|
-
# filter - object - If set, return records where the specified field is equal to the supplied value. Valid fields are `created_at`, `expires_at`, `code` or `user_id`. Valid field combinations are `[ user_id,
|
|
272
|
+
# filter - object - If set, return records where the specified field is equal to the supplied value. Valid fields are `created_at`, `expires_at`, `code` or `user_id`. Valid field combinations are `[ user_id, expires_at ]`.
|
|
268
273
|
# filter_gt - object - If set, return records where the specified field is greater than the supplied value. Valid fields are `created_at` and `expires_at`.
|
|
269
274
|
# filter_gteq - object - If set, return records where the specified field is greater than or equal the supplied value. Valid fields are `created_at` and `expires_at`.
|
|
270
275
|
# filter_prefix - object - If set, return records where the specified field is prefixed by the supplied value. Valid fields are `code`.
|
|
@@ -531,6 +536,7 @@ def share(id, params=None, options=None):
|
|
|
531
536
|
# start_access_on_date - string - Date when share will start to be accessible. If `nil` access granted right after create.
|
|
532
537
|
# skip_email - boolean - BundleRegistrations can be saved without providing email?
|
|
533
538
|
# skip_name - boolean - BundleRegistrations can be saved without providing name?
|
|
539
|
+
# user_id - int64 - The owning user id. Only site admins can set this.
|
|
534
540
|
# watermark_attachment_delete - boolean - If true, will delete the file stored in watermark_attachment
|
|
535
541
|
# watermark_attachment_file - file - Preview watermark image applied to all bundle items.
|
|
536
542
|
def update(id, params=None, options=None):
|
|
@@ -641,6 +647,8 @@ def update(id, params=None, options=None):
|
|
|
641
647
|
)
|
|
642
648
|
if "skip_name" in params and not isinstance(params["skip_name"], bool):
|
|
643
649
|
raise InvalidParameterError("Bad parameter: skip_name must be an bool")
|
|
650
|
+
if "user_id" in params and not isinstance(params["user_id"], int):
|
|
651
|
+
raise InvalidParameterError("Bad parameter: user_id must be an int")
|
|
644
652
|
if "watermark_attachment_delete" in params and not isinstance(
|
|
645
653
|
params["watermark_attachment_delete"], bool
|
|
646
654
|
):
|