Files.com 1.6.447__tar.gz → 1.6.449__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.447/files_com.egg-info → files_com-1.6.449}/PKG-INFO +1 -1
- files_com-1.6.449/_VERSION +1 -0
- {files_com-1.6.447 → files_com-1.6.449/files_com.egg-info}/PKG-INFO +1 -1
- {files_com-1.6.447 → files_com-1.6.449}/files_com.egg-info/SOURCES.txt +6 -0
- {files_com-1.6.447 → files_com-1.6.449}/files_sdk/__init__.py +7 -1
- {files_com-1.6.447 → files_com-1.6.449}/files_sdk/models/__init__.py +3 -0
- {files_com-1.6.447 → files_com-1.6.449}/files_sdk/models/agent_node.py +2 -2
- files_com-1.6.449/files_sdk/models/agent_node_connection.py +43 -0
- files_com-1.6.449/files_sdk/models/agent_node_instance.py +47 -0
- {files_com-1.6.447 → files_com-1.6.449}/files_sdk/models/ai_task.py +26 -8
- {files_com-1.6.447 → files_com-1.6.449}/files_sdk/models/as2_outgoing_message.py +1 -0
- {files_com-1.6.447 → files_com-1.6.449}/files_sdk/models/automation.py +35 -17
- {files_com-1.6.447 → files_com-1.6.449}/files_sdk/models/expectation.py +30 -12
- files_com-1.6.449/files_sdk/models/schedule.py +299 -0
- {files_com-1.6.447 → files_com-1.6.449}/files_sdk/models/scheduled_export.py +30 -12
- {files_com-1.6.447 → files_com-1.6.449}/files_sdk/models/sync.py +26 -8
- {files_com-1.6.447 → files_com-1.6.449}/pyproject.toml +1 -1
- files_com-1.6.449/tests/test_agent_node_connection.py +14 -0
- files_com-1.6.449/tests/test_agent_node_instance.py +14 -0
- files_com-1.6.449/tests/test_schedule.py +70 -0
- files_com-1.6.447/_VERSION +0 -1
- {files_com-1.6.447 → files_com-1.6.449}/LICENSE +0 -0
- {files_com-1.6.447 → files_com-1.6.449}/README.md +0 -0
- {files_com-1.6.447 → files_com-1.6.449}/files_com.egg-info/dependency_links.txt +0 -0
- {files_com-1.6.447 → files_com-1.6.449}/files_com.egg-info/requires.txt +0 -0
- {files_com-1.6.447 → files_com-1.6.449}/files_com.egg-info/top_level.txt +0 -0
- {files_com-1.6.447 → files_com-1.6.449}/files_sdk/api.py +0 -0
- {files_com-1.6.447 → files_com-1.6.449}/files_sdk/api_client.py +0 -0
- {files_com-1.6.447 → files_com-1.6.449}/files_sdk/error.py +0 -0
- {files_com-1.6.447 → files_com-1.6.449}/files_sdk/list_obj.py +0 -0
- {files_com-1.6.447 → files_com-1.6.449}/files_sdk/models/account_line_item.py +0 -0
- {files_com-1.6.447 → files_com-1.6.449}/files_sdk/models/action.py +0 -0
- {files_com-1.6.447 → files_com-1.6.449}/files_sdk/models/action_log.py +0 -0
- {files_com-1.6.447 → files_com-1.6.449}/files_sdk/models/action_notification_export.py +0 -0
- {files_com-1.6.447 → files_com-1.6.449}/files_sdk/models/action_notification_export_result.py +0 -0
- {files_com-1.6.447 → files_com-1.6.449}/files_sdk/models/agent_push_update.py +0 -0
- {files_com-1.6.447 → files_com-1.6.449}/files_sdk/models/ai_assistant_personality.py +0 -0
- {files_com-1.6.447 → files_com-1.6.449}/files_sdk/models/api_key.py +0 -0
- {files_com-1.6.447 → files_com-1.6.449}/files_sdk/models/api_request_log.py +0 -0
- {files_com-1.6.447 → files_com-1.6.449}/files_sdk/models/app.py +0 -0
- {files_com-1.6.447 → files_com-1.6.449}/files_sdk/models/as2_incoming_message.py +0 -0
- {files_com-1.6.447 → files_com-1.6.449}/files_sdk/models/as2_partner.py +0 -0
- {files_com-1.6.447 → files_com-1.6.449}/files_sdk/models/as2_station.py +0 -0
- {files_com-1.6.447 → files_com-1.6.449}/files_sdk/models/auto.py +0 -0
- {files_com-1.6.447 → files_com-1.6.449}/files_sdk/models/automation_authoring_schema.py +0 -0
- {files_com-1.6.447 → files_com-1.6.449}/files_sdk/models/automation_execution_node.py +0 -0
- {files_com-1.6.447 → files_com-1.6.449}/files_sdk/models/automation_log.py +0 -0
- {files_com-1.6.447 → files_com-1.6.449}/files_sdk/models/automation_run.py +0 -0
- {files_com-1.6.447 → files_com-1.6.449}/files_sdk/models/bandwidth_snapshot.py +0 -0
- {files_com-1.6.447 → files_com-1.6.449}/files_sdk/models/behavior.py +0 -0
- {files_com-1.6.447 → files_com-1.6.449}/files_sdk/models/bundle.py +0 -0
- {files_com-1.6.447 → files_com-1.6.449}/files_sdk/models/bundle_action.py +0 -0
- {files_com-1.6.447 → files_com-1.6.449}/files_sdk/models/bundle_download.py +0 -0
- {files_com-1.6.447 → files_com-1.6.449}/files_sdk/models/bundle_notification.py +0 -0
- {files_com-1.6.447 → files_com-1.6.449}/files_sdk/models/bundle_path.py +0 -0
- {files_com-1.6.447 → files_com-1.6.449}/files_sdk/models/bundle_recipient.py +0 -0
- {files_com-1.6.447 → files_com-1.6.449}/files_sdk/models/bundle_registration.py +0 -0
- {files_com-1.6.447 → files_com-1.6.449}/files_sdk/models/chat_message.py +0 -0
- {files_com-1.6.447 → files_com-1.6.449}/files_sdk/models/chat_session.py +0 -0
- {files_com-1.6.447 → files_com-1.6.449}/files_sdk/models/child_site_management_policy.py +0 -0
- {files_com-1.6.447 → files_com-1.6.449}/files_sdk/models/clickwrap.py +0 -0
- {files_com-1.6.447 → files_com-1.6.449}/files_sdk/models/custom_domain.py +0 -0
- {files_com-1.6.447 → files_com-1.6.449}/files_sdk/models/desktop_configuration_profile.py +0 -0
- {files_com-1.6.447 → files_com-1.6.449}/files_sdk/models/direct_connection_info.py +0 -0
- {files_com-1.6.447 → files_com-1.6.449}/files_sdk/models/dns_record.py +0 -0
- {files_com-1.6.447 → files_com-1.6.449}/files_sdk/models/email_incoming_message.py +0 -0
- {files_com-1.6.447 → files_com-1.6.449}/files_sdk/models/email_log.py +0 -0
- {files_com-1.6.447 → files_com-1.6.449}/files_sdk/models/errors.py +0 -0
- {files_com-1.6.447 → files_com-1.6.449}/files_sdk/models/event_channel.py +0 -0
- {files_com-1.6.447 → files_com-1.6.449}/files_sdk/models/event_delivery_attempt.py +0 -0
- {files_com-1.6.447 → files_com-1.6.449}/files_sdk/models/event_record.py +0 -0
- {files_com-1.6.447 → files_com-1.6.449}/files_sdk/models/event_subscription.py +0 -0
- {files_com-1.6.447 → files_com-1.6.449}/files_sdk/models/event_target.py +0 -0
- {files_com-1.6.447 → files_com-1.6.449}/files_sdk/models/exavault_api_request_log.py +0 -0
- {files_com-1.6.447 → files_com-1.6.449}/files_sdk/models/expectation_evaluation.py +0 -0
- {files_com-1.6.447 → files_com-1.6.449}/files_sdk/models/expectation_incident.py +0 -0
- {files_com-1.6.447 → files_com-1.6.449}/files_sdk/models/external_event.py +0 -0
- {files_com-1.6.447 → files_com-1.6.449}/files_sdk/models/file.py +0 -0
- {files_com-1.6.447 → files_com-1.6.449}/files_sdk/models/file_action.py +0 -0
- {files_com-1.6.447 → files_com-1.6.449}/files_sdk/models/file_comment.py +0 -0
- {files_com-1.6.447 → files_com-1.6.449}/files_sdk/models/file_comment_reaction.py +0 -0
- {files_com-1.6.447 → files_com-1.6.449}/files_sdk/models/file_migration.py +0 -0
- {files_com-1.6.447 → files_com-1.6.449}/files_sdk/models/file_migration_log.py +0 -0
- {files_com-1.6.447 → files_com-1.6.449}/files_sdk/models/file_upload_part.py +0 -0
- {files_com-1.6.447 → files_com-1.6.449}/files_sdk/models/folder.py +0 -0
- {files_com-1.6.447 → files_com-1.6.449}/files_sdk/models/form_field.py +0 -0
- {files_com-1.6.447 → files_com-1.6.449}/files_sdk/models/form_field_set.py +0 -0
- {files_com-1.6.447 → files_com-1.6.449}/files_sdk/models/ftp_action_log.py +0 -0
- {files_com-1.6.447 → files_com-1.6.449}/files_sdk/models/gpg_key.py +0 -0
- {files_com-1.6.447 → files_com-1.6.449}/files_sdk/models/group.py +0 -0
- {files_com-1.6.447 → files_com-1.6.449}/files_sdk/models/group_user.py +0 -0
- {files_com-1.6.447 → files_com-1.6.449}/files_sdk/models/history.py +0 -0
- {files_com-1.6.447 → files_com-1.6.449}/files_sdk/models/history_export.py +0 -0
- {files_com-1.6.447 → files_com-1.6.449}/files_sdk/models/history_export_result.py +0 -0
- {files_com-1.6.447 → files_com-1.6.449}/files_sdk/models/holiday_calendar.py +0 -0
- {files_com-1.6.447 → files_com-1.6.449}/files_sdk/models/holiday_region.py +0 -0
- {files_com-1.6.447 → files_com-1.6.449}/files_sdk/models/image.py +0 -0
- {files_com-1.6.447 → files_com-1.6.449}/files_sdk/models/inbound_s3_log.py +0 -0
- {files_com-1.6.447 → files_com-1.6.449}/files_sdk/models/inbox_recipient.py +0 -0
- {files_com-1.6.447 → files_com-1.6.449}/files_sdk/models/inbox_registration.py +0 -0
- {files_com-1.6.447 → files_com-1.6.449}/files_sdk/models/inbox_upload.py +0 -0
- {files_com-1.6.447 → files_com-1.6.449}/files_sdk/models/integration_centric_profile.py +0 -0
- {files_com-1.6.447 → files_com-1.6.449}/files_sdk/models/invoice.py +0 -0
- {files_com-1.6.447 → files_com-1.6.449}/files_sdk/models/invoice_line_item.py +0 -0
- {files_com-1.6.447 → files_com-1.6.449}/files_sdk/models/ip_address.py +0 -0
- {files_com-1.6.447 → files_com-1.6.449}/files_sdk/models/key_lifecycle_rule.py +0 -0
- {files_com-1.6.447 → files_com-1.6.449}/files_sdk/models/lock.py +0 -0
- {files_com-1.6.447 → files_com-1.6.449}/files_sdk/models/message.py +0 -0
- {files_com-1.6.447 → files_com-1.6.449}/files_sdk/models/message_comment.py +0 -0
- {files_com-1.6.447 → files_com-1.6.449}/files_sdk/models/message_comment_reaction.py +0 -0
- {files_com-1.6.447 → files_com-1.6.449}/files_sdk/models/message_reaction.py +0 -0
- {files_com-1.6.447 → files_com-1.6.449}/files_sdk/models/metadata_category.py +0 -0
- {files_com-1.6.447 → files_com-1.6.449}/files_sdk/models/notification.py +0 -0
- {files_com-1.6.447 → files_com-1.6.449}/files_sdk/models/outbound_connection_log.py +0 -0
- {files_com-1.6.447 → files_com-1.6.449}/files_sdk/models/partner.py +0 -0
- {files_com-1.6.447 → files_com-1.6.449}/files_sdk/models/partner_channel.py +0 -0
- {files_com-1.6.447 → files_com-1.6.449}/files_sdk/models/partner_channel_template.py +0 -0
- {files_com-1.6.447 → files_com-1.6.449}/files_sdk/models/partner_site.py +0 -0
- {files_com-1.6.447 → files_com-1.6.449}/files_sdk/models/partner_site_request.py +0 -0
- {files_com-1.6.447 → files_com-1.6.449}/files_sdk/models/payment.py +0 -0
- {files_com-1.6.447 → files_com-1.6.449}/files_sdk/models/payment_line_item.py +0 -0
- {files_com-1.6.447 → files_com-1.6.449}/files_sdk/models/pending_work_event.py +0 -0
- {files_com-1.6.447 → files_com-1.6.449}/files_sdk/models/permission.py +0 -0
- {files_com-1.6.447 → files_com-1.6.449}/files_sdk/models/preview.py +0 -0
- {files_com-1.6.447 → files_com-1.6.449}/files_sdk/models/project.py +0 -0
- {files_com-1.6.447 → files_com-1.6.449}/files_sdk/models/public_hosting_request_log.py +0 -0
- {files_com-1.6.447 → files_com-1.6.449}/files_sdk/models/public_ip_address.py +0 -0
- {files_com-1.6.447 → files_com-1.6.449}/files_sdk/models/public_key.py +0 -0
- {files_com-1.6.447 → files_com-1.6.449}/files_sdk/models/remote_bandwidth_snapshot.py +0 -0
- {files_com-1.6.447 → files_com-1.6.449}/files_sdk/models/remote_mount_backend.py +0 -0
- {files_com-1.6.447 → files_com-1.6.449}/files_sdk/models/remote_server.py +0 -0
- {files_com-1.6.447 → files_com-1.6.449}/files_sdk/models/remote_server_configuration_file.py +0 -0
- {files_com-1.6.447 → files_com-1.6.449}/files_sdk/models/remote_server_credential.py +0 -0
- {files_com-1.6.447 → files_com-1.6.449}/files_sdk/models/request.py +0 -0
- {files_com-1.6.447 → files_com-1.6.449}/files_sdk/models/restore.py +0 -0
- {files_com-1.6.447 → files_com-1.6.449}/files_sdk/models/scim_log.py +0 -0
- {files_com-1.6.447 → files_com-1.6.449}/files_sdk/models/secret.py +0 -0
- {files_com-1.6.447 → files_com-1.6.449}/files_sdk/models/session.py +0 -0
- {files_com-1.6.447 → files_com-1.6.449}/files_sdk/models/settings_change.py +0 -0
- {files_com-1.6.447 → files_com-1.6.449}/files_sdk/models/sftp_action_log.py +0 -0
- {files_com-1.6.447 → files_com-1.6.449}/files_sdk/models/sftp_host_key.py +0 -0
- {files_com-1.6.447 → files_com-1.6.449}/files_sdk/models/share_group.py +0 -0
- {files_com-1.6.447 → files_com-1.6.449}/files_sdk/models/share_group_member.py +0 -0
- {files_com-1.6.447 → files_com-1.6.449}/files_sdk/models/siem_http_destination.py +0 -0
- {files_com-1.6.447 → files_com-1.6.449}/files_sdk/models/siem_http_destination_event.py +0 -0
- {files_com-1.6.447 → files_com-1.6.449}/files_sdk/models/site.py +0 -0
- {files_com-1.6.447 → files_com-1.6.449}/files_sdk/models/site_subdomain_redirect.py +0 -0
- {files_com-1.6.447 → files_com-1.6.449}/files_sdk/models/snapshot.py +0 -0
- {files_com-1.6.447 → files_com-1.6.449}/files_sdk/models/sso_event.py +0 -0
- {files_com-1.6.447 → files_com-1.6.449}/files_sdk/models/sso_strategy.py +0 -0
- {files_com-1.6.447 → files_com-1.6.449}/files_sdk/models/status.py +0 -0
- {files_com-1.6.447 → files_com-1.6.449}/files_sdk/models/style.py +0 -0
- {files_com-1.6.447 → files_com-1.6.449}/files_sdk/models/sync_log.py +0 -0
- {files_com-1.6.447 → files_com-1.6.449}/files_sdk/models/sync_run.py +0 -0
- {files_com-1.6.447 → files_com-1.6.449}/files_sdk/models/sync_run_live_transfer.py +0 -0
- {files_com-1.6.447 → files_com-1.6.449}/files_sdk/models/usage_by_top_level_dir.py +0 -0
- {files_com-1.6.447 → files_com-1.6.449}/files_sdk/models/usage_daily_snapshot.py +0 -0
- {files_com-1.6.447 → files_com-1.6.449}/files_sdk/models/usage_snapshot.py +0 -0
- {files_com-1.6.447 → files_com-1.6.449}/files_sdk/models/user.py +0 -0
- {files_com-1.6.447 → files_com-1.6.449}/files_sdk/models/user_additional_email_recipient.py +0 -0
- {files_com-1.6.447 → files_com-1.6.449}/files_sdk/models/user_cipher_use.py +0 -0
- {files_com-1.6.447 → files_com-1.6.449}/files_sdk/models/user_lifecycle_rule.py +0 -0
- {files_com-1.6.447 → files_com-1.6.449}/files_sdk/models/user_request.py +0 -0
- {files_com-1.6.447 → files_com-1.6.449}/files_sdk/models/user_security_event.py +0 -0
- {files_com-1.6.447 → files_com-1.6.449}/files_sdk/models/user_sftp_client_use.py +0 -0
- {files_com-1.6.447 → files_com-1.6.449}/files_sdk/models/web_dav_action_log.py +0 -0
- {files_com-1.6.447 → files_com-1.6.449}/files_sdk/models/webhook_test.py +0 -0
- {files_com-1.6.447 → files_com-1.6.449}/files_sdk/models/workspace.py +0 -0
- {files_com-1.6.447 → files_com-1.6.449}/files_sdk/models/zip_list_entry.py +0 -0
- {files_com-1.6.447 → files_com-1.6.449}/files_sdk/path_util.py +0 -0
- {files_com-1.6.447 → files_com-1.6.449}/files_sdk/util.py +0 -0
- {files_com-1.6.447 → files_com-1.6.449}/setup.cfg +0 -0
- {files_com-1.6.447 → files_com-1.6.449}/tests/test_account_line_item.py +0 -0
- {files_com-1.6.447 → files_com-1.6.449}/tests/test_action.py +0 -0
- {files_com-1.6.447 → files_com-1.6.449}/tests/test_action_log.py +0 -0
- {files_com-1.6.447 → files_com-1.6.449}/tests/test_action_notification_export.py +0 -0
- {files_com-1.6.447 → files_com-1.6.449}/tests/test_action_notification_export_result.py +0 -0
- {files_com-1.6.447 → files_com-1.6.449}/tests/test_agent_node.py +0 -0
- {files_com-1.6.447 → files_com-1.6.449}/tests/test_agent_push_update.py +0 -0
- {files_com-1.6.447 → files_com-1.6.449}/tests/test_ai_assistant_personality.py +0 -0
- {files_com-1.6.447 → files_com-1.6.449}/tests/test_ai_task.py +0 -0
- {files_com-1.6.447 → files_com-1.6.449}/tests/test_api_errors.py +0 -0
- {files_com-1.6.447 → files_com-1.6.449}/tests/test_api_key.py +0 -0
- {files_com-1.6.447 → files_com-1.6.449}/tests/test_api_request_log.py +0 -0
- {files_com-1.6.447 → files_com-1.6.449}/tests/test_app.py +0 -0
- {files_com-1.6.447 → files_com-1.6.449}/tests/test_as2_incoming_message.py +0 -0
- {files_com-1.6.447 → files_com-1.6.449}/tests/test_as2_outgoing_message.py +0 -0
- {files_com-1.6.447 → files_com-1.6.449}/tests/test_as2_partner.py +0 -0
- {files_com-1.6.447 → files_com-1.6.449}/tests/test_as2_station.py +0 -0
- {files_com-1.6.447 → files_com-1.6.449}/tests/test_auto.py +0 -0
- {files_com-1.6.447 → files_com-1.6.449}/tests/test_automation.py +0 -0
- {files_com-1.6.447 → files_com-1.6.449}/tests/test_automation_authoring_schema.py +0 -0
- {files_com-1.6.447 → files_com-1.6.449}/tests/test_automation_execution_node.py +0 -0
- {files_com-1.6.447 → files_com-1.6.449}/tests/test_automation_log.py +0 -0
- {files_com-1.6.447 → files_com-1.6.449}/tests/test_automation_run.py +0 -0
- {files_com-1.6.447 → files_com-1.6.449}/tests/test_bandwidth_snapshot.py +0 -0
- {files_com-1.6.447 → files_com-1.6.449}/tests/test_behavior.py +0 -0
- {files_com-1.6.447 → files_com-1.6.449}/tests/test_bundle.py +0 -0
- {files_com-1.6.447 → files_com-1.6.449}/tests/test_bundle_action.py +0 -0
- {files_com-1.6.447 → files_com-1.6.449}/tests/test_bundle_download.py +0 -0
- {files_com-1.6.447 → files_com-1.6.449}/tests/test_bundle_notification.py +0 -0
- {files_com-1.6.447 → files_com-1.6.449}/tests/test_bundle_path.py +0 -0
- {files_com-1.6.447 → files_com-1.6.449}/tests/test_bundle_recipient.py +0 -0
- {files_com-1.6.447 → files_com-1.6.449}/tests/test_bundle_registration.py +0 -0
- {files_com-1.6.447 → files_com-1.6.449}/tests/test_chat_message.py +0 -0
- {files_com-1.6.447 → files_com-1.6.449}/tests/test_chat_session.py +0 -0
- {files_com-1.6.447 → files_com-1.6.449}/tests/test_child_site_management_policy.py +0 -0
- {files_com-1.6.447 → files_com-1.6.449}/tests/test_clickwrap.py +0 -0
- {files_com-1.6.447 → files_com-1.6.449}/tests/test_connection_adapter.py +0 -0
- {files_com-1.6.447 → files_com-1.6.449}/tests/test_custom_domain.py +0 -0
- {files_com-1.6.447 → files_com-1.6.449}/tests/test_decimal_contract.py +0 -0
- {files_com-1.6.447 → files_com-1.6.449}/tests/test_desktop_configuration_profile.py +0 -0
- {files_com-1.6.447 → files_com-1.6.449}/tests/test_direct_connection_info.py +0 -0
- {files_com-1.6.447 → files_com-1.6.449}/tests/test_dns_record.py +0 -0
- {files_com-1.6.447 → files_com-1.6.449}/tests/test_email_incoming_message.py +0 -0
- {files_com-1.6.447 → files_com-1.6.449}/tests/test_email_log.py +0 -0
- {files_com-1.6.447 → files_com-1.6.449}/tests/test_errors.py +0 -0
- {files_com-1.6.447 → files_com-1.6.449}/tests/test_event_channel.py +0 -0
- {files_com-1.6.447 → files_com-1.6.449}/tests/test_event_delivery_attempt.py +0 -0
- {files_com-1.6.447 → files_com-1.6.449}/tests/test_event_record.py +0 -0
- {files_com-1.6.447 → files_com-1.6.449}/tests/test_event_subscription.py +0 -0
- {files_com-1.6.447 → files_com-1.6.449}/tests/test_event_target.py +0 -0
- {files_com-1.6.447 → files_com-1.6.449}/tests/test_exavault_api_request_log.py +0 -0
- {files_com-1.6.447 → files_com-1.6.449}/tests/test_expectation.py +0 -0
- {files_com-1.6.447 → files_com-1.6.449}/tests/test_expectation_evaluation.py +0 -0
- {files_com-1.6.447 → files_com-1.6.449}/tests/test_expectation_incident.py +0 -0
- {files_com-1.6.447 → files_com-1.6.449}/tests/test_external_event.py +0 -0
- {files_com-1.6.447 → files_com-1.6.449}/tests/test_file.py +0 -0
- {files_com-1.6.447 → files_com-1.6.449}/tests/test_file_action.py +0 -0
- {files_com-1.6.447 → files_com-1.6.449}/tests/test_file_comment.py +0 -0
- {files_com-1.6.447 → files_com-1.6.449}/tests/test_file_comment_reaction.py +0 -0
- {files_com-1.6.447 → files_com-1.6.449}/tests/test_file_migration.py +0 -0
- {files_com-1.6.447 → files_com-1.6.449}/tests/test_file_migration_log.py +0 -0
- {files_com-1.6.447 → files_com-1.6.449}/tests/test_file_underscore_destinations.py +0 -0
- {files_com-1.6.447 → files_com-1.6.449}/tests/test_file_upload_part.py +0 -0
- {files_com-1.6.447 → files_com-1.6.449}/tests/test_folder.py +0 -0
- {files_com-1.6.447 → files_com-1.6.449}/tests/test_form_field.py +0 -0
- {files_com-1.6.447 → files_com-1.6.449}/tests/test_form_field_set.py +0 -0
- {files_com-1.6.447 → files_com-1.6.449}/tests/test_ftp_action_log.py +0 -0
- {files_com-1.6.447 → files_com-1.6.449}/tests/test_gpg_key.py +0 -0
- {files_com-1.6.447 → files_com-1.6.449}/tests/test_group.py +0 -0
- {files_com-1.6.447 → files_com-1.6.449}/tests/test_group_user.py +0 -0
- {files_com-1.6.447 → files_com-1.6.449}/tests/test_history.py +0 -0
- {files_com-1.6.447 → files_com-1.6.449}/tests/test_history_export.py +0 -0
- {files_com-1.6.447 → files_com-1.6.449}/tests/test_history_export_result.py +0 -0
- {files_com-1.6.447 → files_com-1.6.449}/tests/test_holiday_calendar.py +0 -0
- {files_com-1.6.447 → files_com-1.6.449}/tests/test_holiday_region.py +0 -0
- {files_com-1.6.447 → files_com-1.6.449}/tests/test_image.py +0 -0
- {files_com-1.6.447 → files_com-1.6.449}/tests/test_inbound_s3_log.py +0 -0
- {files_com-1.6.447 → files_com-1.6.449}/tests/test_inbox_recipient.py +0 -0
- {files_com-1.6.447 → files_com-1.6.449}/tests/test_inbox_registration.py +0 -0
- {files_com-1.6.447 → files_com-1.6.449}/tests/test_inbox_upload.py +0 -0
- {files_com-1.6.447 → files_com-1.6.449}/tests/test_integration_centric_profile.py +0 -0
- {files_com-1.6.447 → files_com-1.6.449}/tests/test_invoice.py +0 -0
- {files_com-1.6.447 → files_com-1.6.449}/tests/test_invoice_line_item.py +0 -0
- {files_com-1.6.447 → files_com-1.6.449}/tests/test_ip_address.py +0 -0
- {files_com-1.6.447 → files_com-1.6.449}/tests/test_key_lifecycle_rule.py +0 -0
- {files_com-1.6.447 → files_com-1.6.449}/tests/test_lock.py +0 -0
- {files_com-1.6.447 → files_com-1.6.449}/tests/test_message.py +0 -0
- {files_com-1.6.447 → files_com-1.6.449}/tests/test_message_comment.py +0 -0
- {files_com-1.6.447 → files_com-1.6.449}/tests/test_message_comment_reaction.py +0 -0
- {files_com-1.6.447 → files_com-1.6.449}/tests/test_message_reaction.py +0 -0
- {files_com-1.6.447 → files_com-1.6.449}/tests/test_metadata_category.py +0 -0
- {files_com-1.6.447 → files_com-1.6.449}/tests/test_notification.py +0 -0
- {files_com-1.6.447 → files_com-1.6.449}/tests/test_outbound_connection_log.py +0 -0
- {files_com-1.6.447 → files_com-1.6.449}/tests/test_partner.py +0 -0
- {files_com-1.6.447 → files_com-1.6.449}/tests/test_partner_channel.py +0 -0
- {files_com-1.6.447 → files_com-1.6.449}/tests/test_partner_channel_template.py +0 -0
- {files_com-1.6.447 → files_com-1.6.449}/tests/test_partner_site.py +0 -0
- {files_com-1.6.447 → files_com-1.6.449}/tests/test_partner_site_request.py +0 -0
- {files_com-1.6.447 → files_com-1.6.449}/tests/test_path_parameter_encoding.py +0 -0
- {files_com-1.6.447 → files_com-1.6.449}/tests/test_path_util.py +0 -0
- {files_com-1.6.447 → files_com-1.6.449}/tests/test_payment.py +0 -0
- {files_com-1.6.447 → files_com-1.6.449}/tests/test_payment_line_item.py +0 -0
- {files_com-1.6.447 → files_com-1.6.449}/tests/test_pending_work_event.py +0 -0
- {files_com-1.6.447 → files_com-1.6.449}/tests/test_permission.py +0 -0
- {files_com-1.6.447 → files_com-1.6.449}/tests/test_preview.py +0 -0
- {files_com-1.6.447 → files_com-1.6.449}/tests/test_project.py +0 -0
- {files_com-1.6.447 → files_com-1.6.449}/tests/test_public_hosting_request_log.py +0 -0
- {files_com-1.6.447 → files_com-1.6.449}/tests/test_public_ip_address.py +0 -0
- {files_com-1.6.447 → files_com-1.6.449}/tests/test_public_key.py +0 -0
- {files_com-1.6.447 → files_com-1.6.449}/tests/test_remote_bandwidth_snapshot.py +0 -0
- {files_com-1.6.447 → files_com-1.6.449}/tests/test_remote_mount_backend.py +0 -0
- {files_com-1.6.447 → files_com-1.6.449}/tests/test_remote_server.py +0 -0
- {files_com-1.6.447 → files_com-1.6.449}/tests/test_remote_server_configuration_file.py +0 -0
- {files_com-1.6.447 → files_com-1.6.449}/tests/test_remote_server_credential.py +0 -0
- {files_com-1.6.447 → files_com-1.6.449}/tests/test_request.py +0 -0
- {files_com-1.6.447 → files_com-1.6.449}/tests/test_restore.py +0 -0
- {files_com-1.6.447 → files_com-1.6.449}/tests/test_scheduled_export.py +0 -0
- {files_com-1.6.447 → files_com-1.6.449}/tests/test_scim_log.py +0 -0
- {files_com-1.6.447 → files_com-1.6.449}/tests/test_secret.py +0 -0
- {files_com-1.6.447 → files_com-1.6.449}/tests/test_session.py +0 -0
- {files_com-1.6.447 → files_com-1.6.449}/tests/test_settings_change.py +0 -0
- {files_com-1.6.447 → files_com-1.6.449}/tests/test_sftp_action_log.py +0 -0
- {files_com-1.6.447 → files_com-1.6.449}/tests/test_sftp_host_key.py +0 -0
- {files_com-1.6.447 → files_com-1.6.449}/tests/test_share_group.py +0 -0
- {files_com-1.6.447 → files_com-1.6.449}/tests/test_share_group_member.py +0 -0
- {files_com-1.6.447 → files_com-1.6.449}/tests/test_siem_http_destination.py +0 -0
- {files_com-1.6.447 → files_com-1.6.449}/tests/test_siem_http_destination_event.py +0 -0
- {files_com-1.6.447 → files_com-1.6.449}/tests/test_site.py +0 -0
- {files_com-1.6.447 → files_com-1.6.449}/tests/test_site_subdomain_redirect.py +0 -0
- {files_com-1.6.447 → files_com-1.6.449}/tests/test_snapshot.py +0 -0
- {files_com-1.6.447 → files_com-1.6.449}/tests/test_sso_event.py +0 -0
- {files_com-1.6.447 → files_com-1.6.449}/tests/test_sso_strategy.py +0 -0
- {files_com-1.6.447 → files_com-1.6.449}/tests/test_status.py +0 -0
- {files_com-1.6.447 → files_com-1.6.449}/tests/test_style.py +0 -0
- {files_com-1.6.447 → files_com-1.6.449}/tests/test_sync.py +0 -0
- {files_com-1.6.447 → files_com-1.6.449}/tests/test_sync_log.py +0 -0
- {files_com-1.6.447 → files_com-1.6.449}/tests/test_sync_run.py +0 -0
- {files_com-1.6.447 → files_com-1.6.449}/tests/test_sync_run_live_transfer.py +0 -0
- {files_com-1.6.447 → files_com-1.6.449}/tests/test_usage_by_top_level_dir.py +0 -0
- {files_com-1.6.447 → files_com-1.6.449}/tests/test_usage_daily_snapshot.py +0 -0
- {files_com-1.6.447 → files_com-1.6.449}/tests/test_usage_snapshot.py +0 -0
- {files_com-1.6.447 → files_com-1.6.449}/tests/test_user.py +0 -0
- {files_com-1.6.447 → files_com-1.6.449}/tests/test_user_additional_email_recipient.py +0 -0
- {files_com-1.6.447 → files_com-1.6.449}/tests/test_user_cipher_use.py +0 -0
- {files_com-1.6.447 → files_com-1.6.449}/tests/test_user_lifecycle_rule.py +0 -0
- {files_com-1.6.447 → files_com-1.6.449}/tests/test_user_request.py +0 -0
- {files_com-1.6.447 → files_com-1.6.449}/tests/test_user_security_event.py +0 -0
- {files_com-1.6.447 → files_com-1.6.449}/tests/test_user_sftp_client_use.py +0 -0
- {files_com-1.6.447 → files_com-1.6.449}/tests/test_web_dav_action_log.py +0 -0
- {files_com-1.6.447 → files_com-1.6.449}/tests/test_webhook_test.py +0 -0
- {files_com-1.6.447 → files_com-1.6.449}/tests/test_workspace.py +0 -0
- {files_com-1.6.447 → files_com-1.6.449}/tests/test_workspace_id.py +0 -0
- {files_com-1.6.447 → files_com-1.6.449}/tests/test_zip_list_entry.py +0 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
1.6.449
|
|
@@ -22,6 +22,8 @@ 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_node.py
|
|
25
|
+
files_sdk/models/agent_node_connection.py
|
|
26
|
+
files_sdk/models/agent_node_instance.py
|
|
25
27
|
files_sdk/models/agent_push_update.py
|
|
26
28
|
files_sdk/models/ai_assistant_personality.py
|
|
27
29
|
files_sdk/models/ai_task.py
|
|
@@ -126,6 +128,7 @@ files_sdk/models/remote_server_configuration_file.py
|
|
|
126
128
|
files_sdk/models/remote_server_credential.py
|
|
127
129
|
files_sdk/models/request.py
|
|
128
130
|
files_sdk/models/restore.py
|
|
131
|
+
files_sdk/models/schedule.py
|
|
129
132
|
files_sdk/models/scheduled_export.py
|
|
130
133
|
files_sdk/models/scim_log.py
|
|
131
134
|
files_sdk/models/secret.py
|
|
@@ -168,6 +171,8 @@ tests/test_action_log.py
|
|
|
168
171
|
tests/test_action_notification_export.py
|
|
169
172
|
tests/test_action_notification_export_result.py
|
|
170
173
|
tests/test_agent_node.py
|
|
174
|
+
tests/test_agent_node_connection.py
|
|
175
|
+
tests/test_agent_node_instance.py
|
|
171
176
|
tests/test_agent_push_update.py
|
|
172
177
|
tests/test_ai_assistant_personality.py
|
|
173
178
|
tests/test_ai_task.py
|
|
@@ -278,6 +283,7 @@ tests/test_remote_server_configuration_file.py
|
|
|
278
283
|
tests/test_remote_server_credential.py
|
|
279
284
|
tests/test_request.py
|
|
280
285
|
tests/test_restore.py
|
|
286
|
+
tests/test_schedule.py
|
|
281
287
|
tests/test_scheduled_export.py
|
|
282
288
|
tests/test_scim_log.py
|
|
283
289
|
tests/test_secret.py
|
|
@@ -5,6 +5,8 @@ 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_node as agent_node
|
|
8
|
+
import files_sdk.models.agent_node_connection as agent_node_connection
|
|
9
|
+
import files_sdk.models.agent_node_instance as agent_node_instance
|
|
8
10
|
import files_sdk.models.agent_push_update as agent_push_update
|
|
9
11
|
import files_sdk.models.ai_assistant_personality as ai_assistant_personality
|
|
10
12
|
import files_sdk.models.ai_task as ai_task
|
|
@@ -109,6 +111,7 @@ import files_sdk.models.remote_server_configuration_file as remote_server_config
|
|
|
109
111
|
import files_sdk.models.remote_server_credential as remote_server_credential
|
|
110
112
|
import files_sdk.models.request as request
|
|
111
113
|
import files_sdk.models.restore as restore
|
|
114
|
+
import files_sdk.models.schedule as schedule
|
|
112
115
|
import files_sdk.models.scheduled_export as scheduled_export
|
|
113
116
|
import files_sdk.models.scim_log as scim_log
|
|
114
117
|
import files_sdk.models.secret as secret
|
|
@@ -156,6 +159,8 @@ from files_sdk.models.action_notification_export_result import (
|
|
|
156
159
|
ActionNotificationExportResult,
|
|
157
160
|
)
|
|
158
161
|
from files_sdk.models.agent_node import AgentNode
|
|
162
|
+
from files_sdk.models.agent_node_connection import AgentNodeConnection
|
|
163
|
+
from files_sdk.models.agent_node_instance import AgentNodeInstance
|
|
159
164
|
from files_sdk.models.agent_push_update import AgentPushUpdate
|
|
160
165
|
from files_sdk.models.ai_assistant_personality import AiAssistantPersonality
|
|
161
166
|
from files_sdk.models.ai_task import AiTask
|
|
@@ -270,6 +275,7 @@ from files_sdk.models.remote_server_configuration_file import (
|
|
|
270
275
|
from files_sdk.models.remote_server_credential import RemoteServerCredential
|
|
271
276
|
from files_sdk.models.request import Request
|
|
272
277
|
from files_sdk.models.restore import Restore
|
|
278
|
+
from files_sdk.models.schedule import Schedule
|
|
273
279
|
from files_sdk.models.scheduled_export import ScheduledExport
|
|
274
280
|
from files_sdk.models.scim_log import ScimLog
|
|
275
281
|
from files_sdk.models.secret import Secret
|
|
@@ -322,7 +328,7 @@ source_ip = None
|
|
|
322
328
|
workspace_id = None
|
|
323
329
|
base_url = "https://app.files.com"
|
|
324
330
|
base_path = "api/rest/v1"
|
|
325
|
-
version = "1.6.
|
|
331
|
+
version = "1.6.449"
|
|
326
332
|
|
|
327
333
|
__version__ = version
|
|
328
334
|
|
|
@@ -8,6 +8,8 @@ from files_sdk.models.action_notification_export_result import (
|
|
|
8
8
|
ActionNotificationExportResult,
|
|
9
9
|
)
|
|
10
10
|
from files_sdk.models.agent_node import AgentNode
|
|
11
|
+
from files_sdk.models.agent_node_connection import AgentNodeConnection
|
|
12
|
+
from files_sdk.models.agent_node_instance import AgentNodeInstance
|
|
11
13
|
from files_sdk.models.agent_push_update import AgentPushUpdate
|
|
12
14
|
from files_sdk.models.ai_assistant_personality import AiAssistantPersonality
|
|
13
15
|
from files_sdk.models.ai_task import AiTask
|
|
@@ -122,6 +124,7 @@ from files_sdk.models.remote_server_configuration_file import (
|
|
|
122
124
|
from files_sdk.models.remote_server_credential import RemoteServerCredential
|
|
123
125
|
from files_sdk.models.request import Request
|
|
124
126
|
from files_sdk.models.restore import Restore
|
|
127
|
+
from files_sdk.models.schedule import Schedule
|
|
125
128
|
from files_sdk.models.scheduled_export import ScheduledExport
|
|
126
129
|
from files_sdk.models.scim_log import ScimLog
|
|
127
130
|
from files_sdk.models.secret import Secret
|
|
@@ -13,11 +13,11 @@ class AgentNode:
|
|
|
13
13
|
"name": None, # string - Customer-configured Agent node name
|
|
14
14
|
"hostname": None, # string - Hostname reported by the Agent
|
|
15
15
|
"availability_role": None, # string - Configured traffic preference
|
|
16
|
-
"
|
|
16
|
+
"status": None, # string - Whether this node currently has an available Agent instance
|
|
17
17
|
"is_default": None, # boolean - Whether this node is the current default route for new unscoped work
|
|
18
|
-
"agent_version": None, # string - Agent version reported by this node
|
|
19
18
|
"direct_transfer_available": None, # boolean - Whether the proxy recently validated a direct connection to this Agent node. False means direct transfers are enabled but not currently available; null means disabled or unsupported.
|
|
20
19
|
"last_seen_at": None, # date-time - Most recent successful node observation
|
|
20
|
+
"instances": None, # array(object) - Current Agent processes for this node
|
|
21
21
|
}
|
|
22
22
|
|
|
23
23
|
def __init__(self, attributes=None, options=None):
|
|
@@ -0,0 +1,43 @@
|
|
|
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 AgentNodeConnection:
|
|
11
|
+
default_attributes = {
|
|
12
|
+
"mode": None, # string - How the Agent process uses this proxy connection
|
|
13
|
+
"status": None, # string - Whether this connection was observed recently and has not disconnected
|
|
14
|
+
"last_seen_at": None, # date-time - Most recent successful observation for this connection
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
def __init__(self, attributes=None, options=None):
|
|
18
|
+
if not isinstance(attributes, dict):
|
|
19
|
+
attributes = {}
|
|
20
|
+
if not isinstance(options, dict):
|
|
21
|
+
options = {}
|
|
22
|
+
self.set_attributes(attributes)
|
|
23
|
+
self.options = options
|
|
24
|
+
|
|
25
|
+
def set_attributes(self, attributes):
|
|
26
|
+
for (
|
|
27
|
+
attribute,
|
|
28
|
+
default_value,
|
|
29
|
+
) in AgentNodeConnection.default_attributes.items():
|
|
30
|
+
value = attributes.get(attribute, default_value)
|
|
31
|
+
setattr(self, attribute, value)
|
|
32
|
+
|
|
33
|
+
def get_attributes(self):
|
|
34
|
+
attrs = {
|
|
35
|
+
k: getattr(self, k, None)
|
|
36
|
+
for k in AgentNodeConnection.default_attributes
|
|
37
|
+
if getattr(self, k, None) is not None
|
|
38
|
+
}
|
|
39
|
+
return attrs
|
|
40
|
+
|
|
41
|
+
|
|
42
|
+
def new(*args, **kwargs):
|
|
43
|
+
return AgentNodeConnection(*args, **kwargs)
|
|
@@ -0,0 +1,47 @@
|
|
|
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 AgentNodeInstance:
|
|
11
|
+
default_attributes = {
|
|
12
|
+
"instance_id": None, # string - Ephemeral ID for this running Agent process
|
|
13
|
+
"process_state": None, # string - Role of this process during an Agent update
|
|
14
|
+
"status": None, # string - Whether this process has an available proxy connection
|
|
15
|
+
"is_default": None, # boolean - Whether this process receives new unscoped work for its node
|
|
16
|
+
"agent_version": None, # string - Agent version reported by this process
|
|
17
|
+
"last_seen_at": None, # date-time - Most recent successful observation for this process
|
|
18
|
+
"connections": None, # array(object) - Proxy connections observed for this process
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
def __init__(self, attributes=None, options=None):
|
|
22
|
+
if not isinstance(attributes, dict):
|
|
23
|
+
attributes = {}
|
|
24
|
+
if not isinstance(options, dict):
|
|
25
|
+
options = {}
|
|
26
|
+
self.set_attributes(attributes)
|
|
27
|
+
self.options = options
|
|
28
|
+
|
|
29
|
+
def set_attributes(self, attributes):
|
|
30
|
+
for (
|
|
31
|
+
attribute,
|
|
32
|
+
default_value,
|
|
33
|
+
) in AgentNodeInstance.default_attributes.items():
|
|
34
|
+
value = attributes.get(attribute, default_value)
|
|
35
|
+
setattr(self, attribute, value)
|
|
36
|
+
|
|
37
|
+
def get_attributes(self):
|
|
38
|
+
attrs = {
|
|
39
|
+
k: getattr(self, k, None)
|
|
40
|
+
for k in AgentNodeInstance.default_attributes
|
|
41
|
+
if getattr(self, k, None) is not None
|
|
42
|
+
}
|
|
43
|
+
return attrs
|
|
44
|
+
|
|
45
|
+
|
|
46
|
+
def new(*args, **kwargs):
|
|
47
|
+
return AgentNodeInstance(*args, **kwargs)
|
|
@@ -24,10 +24,11 @@ class AiTask:
|
|
|
24
24
|
"trigger_actions": None, # array(string) - If trigger is `action`, the file action types that invoke this AI Task. Valid actions are create, copy, move, archived_delete, update, read, destroy.
|
|
25
25
|
"interval": None, # string - If trigger is `daily`, this specifies how often to run the AI Task.
|
|
26
26
|
"recurring_day": None, # int64 - If trigger is `daily`, this selects the day number inside the chosen interval.
|
|
27
|
+
"schedule_id": None, # int64 - If trigger is `custom_schedule`, the reusable Schedule used instead of the AI Task's schedule fields.
|
|
27
28
|
"schedule_days_of_week": None, # array(int64) - If trigger is `custom_schedule`, the 0-based weekdays used by the schedule.
|
|
28
|
-
"schedule_times_of_day": None, # array(string) - Times of day in HH:MM format for
|
|
29
|
+
"schedule_times_of_day": None, # array(string) - Times of day in HH:MM format for the AI Task schedule.
|
|
29
30
|
"schedule_time_zone": None, # string - Time zone used by the AI Task schedule.
|
|
30
|
-
"holiday_region": None, # string - Optional holiday region used by
|
|
31
|
+
"holiday_region": None, # string - Optional holiday region used by the AI Task schedule.
|
|
31
32
|
"human_readable_schedule": None, # string - Human-readable schedule description.
|
|
32
33
|
"last_run_at": None, # date-time - Most recent successful invocation time.
|
|
33
34
|
"master_admin_user_id": None, # int64 - Master User ID used for AI Task invocations.
|
|
@@ -81,16 +82,17 @@ class AiTask:
|
|
|
81
82
|
# Parameters:
|
|
82
83
|
# description - string - AI Task description.
|
|
83
84
|
# disabled - boolean - If true, this AI Task will not run.
|
|
84
|
-
# holiday_region - string - Optional holiday region used by
|
|
85
|
+
# holiday_region - string - Optional holiday region used by the AI Task schedule.
|
|
85
86
|
# interval - string - If trigger is `daily`, this specifies how often to run the AI Task.
|
|
86
87
|
# name - string - AI Task name.
|
|
87
88
|
# path - string - Path scope used for action-triggered AI Tasks.
|
|
88
89
|
# permission_set - string - Permissions used by the internal API key for this AI Task. Valid values are `full` and `files_only`.
|
|
89
90
|
# prompt - string - Prompt sent when this AI Task is invoked.
|
|
90
91
|
# recurring_day - int64 - If trigger is `daily`, this selects the day number inside the chosen interval.
|
|
92
|
+
# schedule_id - int64 - If trigger is `custom_schedule`, the reusable Schedule used instead of the AI Task's schedule fields.
|
|
91
93
|
# schedule_days_of_week - array(int64) - If trigger is `custom_schedule`, the 0-based weekdays used by the schedule.
|
|
92
94
|
# schedule_time_zone - string - Time zone used by the AI Task schedule.
|
|
93
|
-
# schedule_times_of_day - array(string) - Times of day in HH:MM format for
|
|
95
|
+
# schedule_times_of_day - array(string) - Times of day in HH:MM format for the AI Task schedule.
|
|
94
96
|
# source - string - Source glob used with `path` for action-triggered AI Tasks.
|
|
95
97
|
# trigger - string - How this AI Task is triggered.
|
|
96
98
|
# trigger_actions - array(string) - If trigger is `action`, the file action types that invoke this AI Task. Valid actions are create, copy, move, archived_delete, update, read, destroy.
|
|
@@ -141,6 +143,12 @@ class AiTask:
|
|
|
141
143
|
raise InvalidParameterError(
|
|
142
144
|
"Bad parameter: recurring_day must be an int"
|
|
143
145
|
)
|
|
146
|
+
if "schedule_id" in params and not isinstance(
|
|
147
|
+
params["schedule_id"], int
|
|
148
|
+
):
|
|
149
|
+
raise InvalidParameterError(
|
|
150
|
+
"Bad parameter: schedule_id must be an int"
|
|
151
|
+
)
|
|
144
152
|
if "schedule_days_of_week" in params and not isinstance(
|
|
145
153
|
params["schedule_days_of_week"], builtins.list
|
|
146
154
|
):
|
|
@@ -271,16 +279,17 @@ def get(id, params=None, options=None):
|
|
|
271
279
|
# Parameters:
|
|
272
280
|
# description - string - AI Task description.
|
|
273
281
|
# disabled - boolean - If true, this AI Task will not run.
|
|
274
|
-
# holiday_region - string - Optional holiday region used by
|
|
282
|
+
# holiday_region - string - Optional holiday region used by the AI Task schedule.
|
|
275
283
|
# interval - string - If trigger is `daily`, this specifies how often to run the AI Task.
|
|
276
284
|
# name (required) - string - AI Task name.
|
|
277
285
|
# path - string - Path scope used for action-triggered AI Tasks.
|
|
278
286
|
# permission_set - string - Permissions used by the internal API key for this AI Task. Valid values are `full` and `files_only`.
|
|
279
287
|
# prompt (required) - string - Prompt sent when this AI Task is invoked.
|
|
280
288
|
# recurring_day - int64 - If trigger is `daily`, this selects the day number inside the chosen interval.
|
|
289
|
+
# schedule_id - int64 - If trigger is `custom_schedule`, the reusable Schedule used instead of the AI Task's schedule fields.
|
|
281
290
|
# schedule_days_of_week - array(int64) - If trigger is `custom_schedule`, the 0-based weekdays used by the schedule.
|
|
282
291
|
# schedule_time_zone - string - Time zone used by the AI Task schedule.
|
|
283
|
-
# schedule_times_of_day - array(string) - Times of day in HH:MM format for
|
|
292
|
+
# schedule_times_of_day - array(string) - Times of day in HH:MM format for the AI Task schedule.
|
|
284
293
|
# source - string - Source glob used with `path` for action-triggered AI Tasks.
|
|
285
294
|
# trigger - string - How this AI Task is triggered.
|
|
286
295
|
# trigger_actions - array(string) - If trigger is `action`, the file action types that invoke this AI Task. Valid actions are create, copy, move, archived_delete, update, read, destroy.
|
|
@@ -322,6 +331,10 @@ def create(params=None, options=None):
|
|
|
322
331
|
raise InvalidParameterError(
|
|
323
332
|
"Bad parameter: recurring_day must be an int"
|
|
324
333
|
)
|
|
334
|
+
if "schedule_id" in params and not isinstance(params["schedule_id"], int):
|
|
335
|
+
raise InvalidParameterError(
|
|
336
|
+
"Bad parameter: schedule_id must be an int"
|
|
337
|
+
)
|
|
325
338
|
if "schedule_days_of_week" in params and not isinstance(
|
|
326
339
|
params["schedule_days_of_week"], builtins.list
|
|
327
340
|
):
|
|
@@ -388,16 +401,17 @@ def manual_run(id, params=None, options=None):
|
|
|
388
401
|
# Parameters:
|
|
389
402
|
# description - string - AI Task description.
|
|
390
403
|
# disabled - boolean - If true, this AI Task will not run.
|
|
391
|
-
# holiday_region - string - Optional holiday region used by
|
|
404
|
+
# holiday_region - string - Optional holiday region used by the AI Task schedule.
|
|
392
405
|
# interval - string - If trigger is `daily`, this specifies how often to run the AI Task.
|
|
393
406
|
# name - string - AI Task name.
|
|
394
407
|
# path - string - Path scope used for action-triggered AI Tasks.
|
|
395
408
|
# permission_set - string - Permissions used by the internal API key for this AI Task. Valid values are `full` and `files_only`.
|
|
396
409
|
# prompt - string - Prompt sent when this AI Task is invoked.
|
|
397
410
|
# recurring_day - int64 - If trigger is `daily`, this selects the day number inside the chosen interval.
|
|
411
|
+
# schedule_id - int64 - If trigger is `custom_schedule`, the reusable Schedule used instead of the AI Task's schedule fields.
|
|
398
412
|
# schedule_days_of_week - array(int64) - If trigger is `custom_schedule`, the 0-based weekdays used by the schedule.
|
|
399
413
|
# schedule_time_zone - string - Time zone used by the AI Task schedule.
|
|
400
|
-
# schedule_times_of_day - array(string) - Times of day in HH:MM format for
|
|
414
|
+
# schedule_times_of_day - array(string) - Times of day in HH:MM format for the AI Task schedule.
|
|
401
415
|
# source - string - Source glob used with `path` for action-triggered AI Tasks.
|
|
402
416
|
# trigger - string - How this AI Task is triggered.
|
|
403
417
|
# trigger_actions - array(string) - If trigger is `action`, the file action types that invoke this AI Task. Valid actions are create, copy, move, archived_delete, update, read, destroy.
|
|
@@ -442,6 +456,10 @@ def update(id, params=None, options=None):
|
|
|
442
456
|
raise InvalidParameterError(
|
|
443
457
|
"Bad parameter: recurring_day must be an int"
|
|
444
458
|
)
|
|
459
|
+
if "schedule_id" in params and not isinstance(params["schedule_id"], int):
|
|
460
|
+
raise InvalidParameterError(
|
|
461
|
+
"Bad parameter: schedule_id must be an int"
|
|
462
|
+
)
|
|
445
463
|
if "schedule_days_of_week" in params and not isinstance(
|
|
446
464
|
params["schedule_days_of_week"], builtins.list
|
|
447
465
|
):
|
|
@@ -22,6 +22,7 @@ class As2OutgoingMessage:
|
|
|
22
22
|
"mic_sha_256": None, # string - AS2 Message Integrity Check SHA256
|
|
23
23
|
"as2_to": None, # string - AS2 TO
|
|
24
24
|
"as2_from": None, # string - AS2 FROM
|
|
25
|
+
"as2_subject": None, # string - AS2 Subject
|
|
25
26
|
"date": None, # string - Date Header
|
|
26
27
|
"message_id": None, # string - AS2 Message Id
|
|
27
28
|
"body_size": None, # string - Encrypted Payload Body Size
|
|
@@ -41,13 +41,14 @@ class Automation:
|
|
|
41
41
|
"path_time_zone": None, # string - Timezone to use when rendering timestamps in paths.
|
|
42
42
|
"version": None, # int64 - Current Automation v2 definition version.
|
|
43
43
|
"recurring_day": None, # int64 - If trigger type is `daily`, this specifies a day number to run in one of the supported intervals: `week`, `month`, `quarter`, `year`.
|
|
44
|
+
"schedule_id": None, # int64 - If trigger is `custom_schedule`, the reusable Schedule used instead of the automation's schedule fields.
|
|
44
45
|
"retry_on_failure_interval_in_minutes": None, # int64 - If the Automation fails, retry at this interval (in minutes). Acceptable values are 5 through 1440 (one day). Set to null to disable.
|
|
45
46
|
"retry_on_failure_number_of_attempts": None, # int64 - If the Automation fails, retry at most this many times. Maximum allowed value: 10. Set to null to disable.
|
|
46
47
|
"schedule": None, # object - If trigger is `custom_schedule`, Custom schedule description for when the automation should be run in json format.
|
|
47
48
|
"human_readable_schedule": None, # string - If trigger is `custom_schedule` or `daily` with times, Human readable schedule description for when the automation should be run.
|
|
48
|
-
"schedule_days_of_week": None, # array(int64) - If trigger is `custom_schedule`, Custom schedule description for when the automation should be run. 0
|
|
49
|
+
"schedule_days_of_week": None, # array(int64) - If trigger is `custom_schedule`, Custom schedule description for when the automation should be run. 0 is Sunday, 1 is Monday, etc.
|
|
49
50
|
"schedule_times_of_day": None, # array(string) - Times of day to run in HH:MM format (24-hour). For `custom_schedule`, run at these times on specified days of week. For `daily`, run at these times on the scheduled interval date.
|
|
50
|
-
"schedule_time_zone": None, # string - Time zone for
|
|
51
|
+
"schedule_time_zone": None, # string - Time zone for the schedule. If not set, times are interpreted as UTC.
|
|
51
52
|
"source": None, # string - Source path/glob. See Automation docs for exact description, but this is used to filter for files in the `path` to find files to operate on. Supports globs, except on remote mounts.
|
|
52
53
|
"legacy_sync_ids": None, # array(int64) - IDs of remote sync folder behaviors to run by this Automation
|
|
53
54
|
"sync_ids": None, # array(int64) - IDs of syncs to run by this Automation. This is the new way to specify syncs, and it is recommended to use this instead of `legacy_sync_ids`.
|
|
@@ -57,7 +58,7 @@ class Automation:
|
|
|
57
58
|
"user_ids": None, # array(int64) - IDs of Users for the Automation (i.e. who to Request File from)
|
|
58
59
|
"value": None, # object - A Hash of attributes specific to the automation type.
|
|
59
60
|
"webhook_url": None, # string - If trigger is `webhook`, this is the URL of the webhook to trigger the Automation.
|
|
60
|
-
"holiday_region": None, # string - Skip automation if there is a formal, observed holiday for this region.
|
|
61
|
+
"holiday_region": None, # string - Skip the automation if there is a formal, observed holiday for this region.
|
|
61
62
|
}
|
|
62
63
|
|
|
63
64
|
def __init__(self, attributes=None, options=None):
|
|
@@ -104,7 +105,7 @@ class Automation:
|
|
|
104
105
|
)
|
|
105
106
|
return response.data
|
|
106
107
|
|
|
107
|
-
# Manually Run Automation
|
|
108
|
+
# Manually Run Automation
|
|
108
109
|
#
|
|
109
110
|
# Parameters:
|
|
110
111
|
# items - array(object) - Initial items for a v2 manual trigger. Each item contains exactly one `file` path or `data` object.
|
|
@@ -144,10 +145,11 @@ class Automation:
|
|
|
144
145
|
# sync_ids - string - A list of sync IDs the automation is associated with. If sent as a string, it should be comma-delimited.
|
|
145
146
|
# user_ids - string - A list of user IDs the automation is associated with. If sent as a string, it should be comma-delimited.
|
|
146
147
|
# group_ids - string - A list of group IDs the automation is associated with. If sent as a string, it should be comma-delimited.
|
|
147
|
-
#
|
|
148
|
-
#
|
|
149
|
-
#
|
|
150
|
-
#
|
|
148
|
+
# schedule_id - int64 - If trigger is `custom_schedule`, the reusable Schedule used instead of the automation's schedule fields.
|
|
149
|
+
# schedule_days_of_week - array(int64) - If trigger is `custom_schedule` without `schedule_id`, a list of days of the week to run this automation. 0 is Sunday, 1 is Monday, etc.
|
|
150
|
+
# schedule_times_of_day - array(string) - Times of day to run in HH:MM format (24-hour). Required for `custom_schedule` without `schedule_id`. Optional for `daily` triggers; if not set, runs at midnight UTC.
|
|
151
|
+
# schedule_time_zone - string - Time zone for schedule fields. Optional for `custom_schedule` without `schedule_id` and for `daily`. If not set, times are interpreted as UTC.
|
|
152
|
+
# holiday_region - string - Skip automation on holidays in this region. Optional for `custom_schedule` without `schedule_id` and for `daily`.
|
|
151
153
|
# always_overwrite_size_matching_files - 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`.
|
|
152
154
|
# always_serialize_jobs - 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.
|
|
153
155
|
# description - string - Description for the this Automation.
|
|
@@ -223,6 +225,12 @@ class Automation:
|
|
|
223
225
|
raise InvalidParameterError(
|
|
224
226
|
"Bad parameter: group_ids must be an str"
|
|
225
227
|
)
|
|
228
|
+
if "schedule_id" in params and not isinstance(
|
|
229
|
+
params["schedule_id"], int
|
|
230
|
+
):
|
|
231
|
+
raise InvalidParameterError(
|
|
232
|
+
"Bad parameter: schedule_id must be an int"
|
|
233
|
+
)
|
|
226
234
|
if "schedule_days_of_week" in params and not isinstance(
|
|
227
235
|
params["schedule_days_of_week"], builtins.list
|
|
228
236
|
):
|
|
@@ -439,10 +447,11 @@ def get_authoring_schema(params=None, options=None):
|
|
|
439
447
|
# sync_ids - string - A list of sync IDs the automation is associated with. If sent as a string, it should be comma-delimited.
|
|
440
448
|
# user_ids - string - A list of user IDs the automation is associated with. If sent as a string, it should be comma-delimited.
|
|
441
449
|
# group_ids - string - A list of group IDs the automation is associated with. If sent as a string, it should be comma-delimited.
|
|
442
|
-
#
|
|
443
|
-
#
|
|
444
|
-
#
|
|
445
|
-
#
|
|
450
|
+
# schedule_id - int64 - If trigger is `custom_schedule`, the reusable Schedule used instead of the automation's schedule fields.
|
|
451
|
+
# schedule_days_of_week - array(int64) - If trigger is `custom_schedule` without `schedule_id`, a list of days of the week to run this automation. 0 is Sunday, 1 is Monday, etc.
|
|
452
|
+
# schedule_times_of_day - array(string) - Times of day to run in HH:MM format (24-hour). Required for `custom_schedule` without `schedule_id`. Optional for `daily` triggers; if not set, runs at midnight UTC.
|
|
453
|
+
# schedule_time_zone - string - Time zone for schedule fields. Optional for `custom_schedule` without `schedule_id` and for `daily`. If not set, times are interpreted as UTC.
|
|
454
|
+
# holiday_region - string - Skip automation on holidays in this region. Optional for `custom_schedule` without `schedule_id` and for `daily`.
|
|
446
455
|
# always_overwrite_size_matching_files - 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`.
|
|
447
456
|
# always_serialize_jobs - 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.
|
|
448
457
|
# description - string - Description for the this Automation.
|
|
@@ -504,6 +513,10 @@ def create(params=None, options=None):
|
|
|
504
513
|
raise InvalidParameterError("Bad parameter: user_ids must be an str")
|
|
505
514
|
if "group_ids" in params and not isinstance(params["group_ids"], str):
|
|
506
515
|
raise InvalidParameterError("Bad parameter: group_ids must be an str")
|
|
516
|
+
if "schedule_id" in params and not isinstance(params["schedule_id"], int):
|
|
517
|
+
raise InvalidParameterError(
|
|
518
|
+
"Bad parameter: schedule_id must be an int"
|
|
519
|
+
)
|
|
507
520
|
if "schedule_days_of_week" in params and not isinstance(
|
|
508
521
|
params["schedule_days_of_week"], builtins.list
|
|
509
522
|
):
|
|
@@ -656,7 +669,7 @@ def upgrade(id, params=None, options=None):
|
|
|
656
669
|
return Automation(response.data, options)
|
|
657
670
|
|
|
658
671
|
|
|
659
|
-
# Manually Run Automation
|
|
672
|
+
# Manually Run Automation
|
|
660
673
|
#
|
|
661
674
|
# Parameters:
|
|
662
675
|
# items - array(object) - Initial items for a v2 manual trigger. Each item contains exactly one `file` path or `data` object.
|
|
@@ -693,10 +706,11 @@ def manual_run(id, params=None, options=None):
|
|
|
693
706
|
# sync_ids - string - A list of sync IDs the automation is associated with. If sent as a string, it should be comma-delimited.
|
|
694
707
|
# user_ids - string - A list of user IDs the automation is associated with. If sent as a string, it should be comma-delimited.
|
|
695
708
|
# group_ids - string - A list of group IDs the automation is associated with. If sent as a string, it should be comma-delimited.
|
|
696
|
-
#
|
|
697
|
-
#
|
|
698
|
-
#
|
|
699
|
-
#
|
|
709
|
+
# schedule_id - int64 - If trigger is `custom_schedule`, the reusable Schedule used instead of the automation's schedule fields.
|
|
710
|
+
# schedule_days_of_week - array(int64) - If trigger is `custom_schedule` without `schedule_id`, a list of days of the week to run this automation. 0 is Sunday, 1 is Monday, etc.
|
|
711
|
+
# schedule_times_of_day - array(string) - Times of day to run in HH:MM format (24-hour). Required for `custom_schedule` without `schedule_id`. Optional for `daily` triggers; if not set, runs at midnight UTC.
|
|
712
|
+
# schedule_time_zone - string - Time zone for schedule fields. Optional for `custom_schedule` without `schedule_id` and for `daily`. If not set, times are interpreted as UTC.
|
|
713
|
+
# holiday_region - string - Skip automation on holidays in this region. Optional for `custom_schedule` without `schedule_id` and for `daily`.
|
|
700
714
|
# always_overwrite_size_matching_files - 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`.
|
|
701
715
|
# always_serialize_jobs - 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.
|
|
702
716
|
# description - string - Description for the this Automation.
|
|
@@ -760,6 +774,10 @@ def update(id, params=None, options=None):
|
|
|
760
774
|
raise InvalidParameterError("Bad parameter: user_ids must be an str")
|
|
761
775
|
if "group_ids" in params and not isinstance(params["group_ids"], str):
|
|
762
776
|
raise InvalidParameterError("Bad parameter: group_ids must be an str")
|
|
777
|
+
if "schedule_id" in params and not isinstance(params["schedule_id"], int):
|
|
778
|
+
raise InvalidParameterError(
|
|
779
|
+
"Bad parameter: schedule_id must be an int"
|
|
780
|
+
)
|
|
763
781
|
if "schedule_days_of_week" in params and not isinstance(
|
|
764
782
|
params["schedule_days_of_week"], builtins.list
|
|
765
783
|
):
|
|
@@ -24,10 +24,11 @@ class Expectation:
|
|
|
24
24
|
"trigger": None, # string - How this expectation opens windows.
|
|
25
25
|
"interval": None, # string - If trigger is `daily`, this specifies how often to run the expectation.
|
|
26
26
|
"recurring_day": None, # int64 - If trigger is `daily`, this selects the day number inside the chosen interval.
|
|
27
|
+
"schedule_id": None, # int64 - If trigger is `custom_schedule`, the reusable Schedule used instead of the Expectation's schedule fields.
|
|
27
28
|
"schedule_days_of_week": None, # array(int64) - If trigger is `custom_schedule`, the 0-based weekdays used by the schedule.
|
|
28
|
-
"schedule_times_of_day": None, # array(string) - Times of day in HH:MM format for schedule
|
|
29
|
-
"schedule_time_zone": None, # string - Time zone used by the
|
|
30
|
-
"holiday_region": None, # string - Optional holiday region used by schedule
|
|
29
|
+
"schedule_times_of_day": None, # array(string) - Times of day in HH:MM format for the Expectation schedule.
|
|
30
|
+
"schedule_time_zone": None, # string - Time zone used by the Expectation schedule.
|
|
31
|
+
"holiday_region": None, # string - Optional holiday region used by the Expectation schedule.
|
|
31
32
|
"lookback_interval": None, # int64 - How many seconds before the due boundary the window starts.
|
|
32
33
|
"late_acceptance_interval": None, # int64 - How many seconds a schedule-driven window may remain eligible to close as late.
|
|
33
34
|
"inactivity_interval": None, # int64 - How many quiet seconds are required before final closure.
|
|
@@ -95,10 +96,11 @@ class Expectation:
|
|
|
95
96
|
# trigger - string - How this expectation opens windows.
|
|
96
97
|
# interval - string - If trigger is `daily`, this specifies how often to run the expectation.
|
|
97
98
|
# recurring_day - int64 - If trigger is `daily`, this selects the day number inside the chosen interval.
|
|
99
|
+
# schedule_id - int64 - If trigger is `custom_schedule`, the reusable Schedule used instead of the Expectation's schedule fields.
|
|
98
100
|
# schedule_days_of_week - array(int64) - If trigger is `custom_schedule`, the 0-based weekdays used by the schedule.
|
|
99
|
-
# schedule_times_of_day - array(string) - Times of day in HH:MM format for schedule
|
|
100
|
-
# schedule_time_zone - string - Time zone used by the
|
|
101
|
-
# holiday_region - string - Optional holiday region used by schedule
|
|
101
|
+
# schedule_times_of_day - array(string) - Times of day in HH:MM format for the Expectation schedule.
|
|
102
|
+
# schedule_time_zone - string - Time zone used by the Expectation schedule.
|
|
103
|
+
# holiday_region - string - Optional holiday region used by the Expectation schedule.
|
|
102
104
|
# lookback_interval - int64 - How many seconds before the due boundary the window starts.
|
|
103
105
|
# late_acceptance_interval - int64 - How many seconds a schedule-driven window may remain eligible to close as late.
|
|
104
106
|
# inactivity_interval - int64 - How many quiet seconds are required before final closure.
|
|
@@ -149,6 +151,12 @@ class Expectation:
|
|
|
149
151
|
raise InvalidParameterError(
|
|
150
152
|
"Bad parameter: recurring_day must be an int"
|
|
151
153
|
)
|
|
154
|
+
if "schedule_id" in params and not isinstance(
|
|
155
|
+
params["schedule_id"], int
|
|
156
|
+
):
|
|
157
|
+
raise InvalidParameterError(
|
|
158
|
+
"Bad parameter: schedule_id must be an int"
|
|
159
|
+
)
|
|
152
160
|
if "schedule_days_of_week" in params and not isinstance(
|
|
153
161
|
params["schedule_days_of_week"], builtins.list
|
|
154
162
|
):
|
|
@@ -304,10 +312,11 @@ def get(id, params=None, options=None):
|
|
|
304
312
|
# trigger - string - How this expectation opens windows.
|
|
305
313
|
# interval - string - If trigger is `daily`, this specifies how often to run the expectation.
|
|
306
314
|
# recurring_day - int64 - If trigger is `daily`, this selects the day number inside the chosen interval.
|
|
315
|
+
# schedule_id - int64 - If trigger is `custom_schedule`, the reusable Schedule used instead of the Expectation's schedule fields.
|
|
307
316
|
# schedule_days_of_week - array(int64) - If trigger is `custom_schedule`, the 0-based weekdays used by the schedule.
|
|
308
|
-
# schedule_times_of_day - array(string) - Times of day in HH:MM format for schedule
|
|
309
|
-
# schedule_time_zone - string - Time zone used by the
|
|
310
|
-
# holiday_region - string - Optional holiday region used by schedule
|
|
317
|
+
# schedule_times_of_day - array(string) - Times of day in HH:MM format for the Expectation schedule.
|
|
318
|
+
# schedule_time_zone - string - Time zone used by the Expectation schedule.
|
|
319
|
+
# holiday_region - string - Optional holiday region used by the Expectation schedule.
|
|
311
320
|
# lookback_interval - int64 - How many seconds before the due boundary the window starts.
|
|
312
321
|
# late_acceptance_interval - int64 - How many seconds a schedule-driven window may remain eligible to close as late.
|
|
313
322
|
# inactivity_interval - int64 - How many quiet seconds are required before final closure.
|
|
@@ -347,6 +356,10 @@ def create(params=None, options=None):
|
|
|
347
356
|
raise InvalidParameterError(
|
|
348
357
|
"Bad parameter: recurring_day must be an int"
|
|
349
358
|
)
|
|
359
|
+
if "schedule_id" in params and not isinstance(params["schedule_id"], int):
|
|
360
|
+
raise InvalidParameterError(
|
|
361
|
+
"Bad parameter: schedule_id must be an int"
|
|
362
|
+
)
|
|
350
363
|
if "schedule_days_of_week" in params and not isinstance(
|
|
351
364
|
params["schedule_days_of_week"], builtins.list
|
|
352
365
|
):
|
|
@@ -441,10 +454,11 @@ def trigger_evaluation(id, params=None, options=None):
|
|
|
441
454
|
# trigger - string - How this expectation opens windows.
|
|
442
455
|
# interval - string - If trigger is `daily`, this specifies how often to run the expectation.
|
|
443
456
|
# recurring_day - int64 - If trigger is `daily`, this selects the day number inside the chosen interval.
|
|
457
|
+
# schedule_id - int64 - If trigger is `custom_schedule`, the reusable Schedule used instead of the Expectation's schedule fields.
|
|
444
458
|
# schedule_days_of_week - array(int64) - If trigger is `custom_schedule`, the 0-based weekdays used by the schedule.
|
|
445
|
-
# schedule_times_of_day - array(string) - Times of day in HH:MM format for schedule
|
|
446
|
-
# schedule_time_zone - string - Time zone used by the
|
|
447
|
-
# holiday_region - string - Optional holiday region used by schedule
|
|
459
|
+
# schedule_times_of_day - array(string) - Times of day in HH:MM format for the Expectation schedule.
|
|
460
|
+
# schedule_time_zone - string - Time zone used by the Expectation schedule.
|
|
461
|
+
# holiday_region - string - Optional holiday region used by the Expectation schedule.
|
|
448
462
|
# lookback_interval - int64 - How many seconds before the due boundary the window starts.
|
|
449
463
|
# late_acceptance_interval - int64 - How many seconds a schedule-driven window may remain eligible to close as late.
|
|
450
464
|
# inactivity_interval - int64 - How many quiet seconds are required before final closure.
|
|
@@ -487,6 +501,10 @@ def update(id, params=None, options=None):
|
|
|
487
501
|
raise InvalidParameterError(
|
|
488
502
|
"Bad parameter: recurring_day must be an int"
|
|
489
503
|
)
|
|
504
|
+
if "schedule_id" in params and not isinstance(params["schedule_id"], int):
|
|
505
|
+
raise InvalidParameterError(
|
|
506
|
+
"Bad parameter: schedule_id must be an int"
|
|
507
|
+
)
|
|
490
508
|
if "schedule_days_of_week" in params and not isinstance(
|
|
491
509
|
params["schedule_days_of_week"], builtins.list
|
|
492
510
|
):
|