Files.com 1.6.431__tar.gz → 1.6.433__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.431/files_com.egg-info → files_com-1.6.433}/PKG-INFO +1 -1
- files_com-1.6.433/_VERSION +1 -0
- {files_com-1.6.431 → files_com-1.6.433/files_com.egg-info}/PKG-INFO +1 -1
- {files_com-1.6.431 → files_com-1.6.433}/files_com.egg-info/SOURCES.txt +4 -0
- {files_com-1.6.431 → files_com-1.6.433}/files_sdk/__init__.py +7 -1
- {files_com-1.6.431 → files_com-1.6.433}/files_sdk/models/__init__.py +4 -0
- files_com-1.6.433/files_sdk/models/holiday_calendar.py +218 -0
- {files_com-1.6.431 → files_com-1.6.433}/files_sdk/models/remote_server.py +112 -0
- {files_com-1.6.431 → files_com-1.6.433}/files_sdk/models/remote_server_credential.py +89 -0
- files_com-1.6.433/files_sdk/models/user_additional_email_recipient.py +244 -0
- {files_com-1.6.431 → files_com-1.6.433}/pyproject.toml +1 -1
- files_com-1.6.433/tests/test_holiday_calendar.py +68 -0
- files_com-1.6.433/tests/test_user_additional_email_recipient.py +68 -0
- files_com-1.6.431/_VERSION +0 -1
- {files_com-1.6.431 → files_com-1.6.433}/LICENSE +0 -0
- {files_com-1.6.431 → files_com-1.6.433}/README.md +0 -0
- {files_com-1.6.431 → files_com-1.6.433}/files_com.egg-info/dependency_links.txt +0 -0
- {files_com-1.6.431 → files_com-1.6.433}/files_com.egg-info/requires.txt +0 -0
- {files_com-1.6.431 → files_com-1.6.433}/files_com.egg-info/top_level.txt +0 -0
- {files_com-1.6.431 → files_com-1.6.433}/files_sdk/api.py +0 -0
- {files_com-1.6.431 → files_com-1.6.433}/files_sdk/api_client.py +0 -0
- {files_com-1.6.431 → files_com-1.6.433}/files_sdk/error.py +0 -0
- {files_com-1.6.431 → files_com-1.6.433}/files_sdk/list_obj.py +0 -0
- {files_com-1.6.431 → files_com-1.6.433}/files_sdk/models/account_line_item.py +0 -0
- {files_com-1.6.431 → files_com-1.6.433}/files_sdk/models/action.py +0 -0
- {files_com-1.6.431 → files_com-1.6.433}/files_sdk/models/action_log.py +0 -0
- {files_com-1.6.431 → files_com-1.6.433}/files_sdk/models/action_notification_export.py +0 -0
- {files_com-1.6.431 → files_com-1.6.433}/files_sdk/models/action_notification_export_result.py +0 -0
- {files_com-1.6.431 → files_com-1.6.433}/files_sdk/models/agent_push_update.py +0 -0
- {files_com-1.6.431 → files_com-1.6.433}/files_sdk/models/ai_assistant_personality.py +0 -0
- {files_com-1.6.431 → files_com-1.6.433}/files_sdk/models/ai_task.py +0 -0
- {files_com-1.6.431 → files_com-1.6.433}/files_sdk/models/api_key.py +0 -0
- {files_com-1.6.431 → files_com-1.6.433}/files_sdk/models/api_request_log.py +0 -0
- {files_com-1.6.431 → files_com-1.6.433}/files_sdk/models/app.py +0 -0
- {files_com-1.6.431 → files_com-1.6.433}/files_sdk/models/as2_incoming_message.py +0 -0
- {files_com-1.6.431 → files_com-1.6.433}/files_sdk/models/as2_outgoing_message.py +0 -0
- {files_com-1.6.431 → files_com-1.6.433}/files_sdk/models/as2_partner.py +0 -0
- {files_com-1.6.431 → files_com-1.6.433}/files_sdk/models/as2_station.py +0 -0
- {files_com-1.6.431 → files_com-1.6.433}/files_sdk/models/auto.py +0 -0
- {files_com-1.6.431 → files_com-1.6.433}/files_sdk/models/automation.py +0 -0
- {files_com-1.6.431 → files_com-1.6.433}/files_sdk/models/automation_authoring_schema.py +0 -0
- {files_com-1.6.431 → files_com-1.6.433}/files_sdk/models/automation_execution_node.py +0 -0
- {files_com-1.6.431 → files_com-1.6.433}/files_sdk/models/automation_log.py +0 -0
- {files_com-1.6.431 → files_com-1.6.433}/files_sdk/models/automation_run.py +0 -0
- {files_com-1.6.431 → files_com-1.6.433}/files_sdk/models/bandwidth_snapshot.py +0 -0
- {files_com-1.6.431 → files_com-1.6.433}/files_sdk/models/behavior.py +0 -0
- {files_com-1.6.431 → files_com-1.6.433}/files_sdk/models/bundle.py +0 -0
- {files_com-1.6.431 → files_com-1.6.433}/files_sdk/models/bundle_action.py +0 -0
- {files_com-1.6.431 → files_com-1.6.433}/files_sdk/models/bundle_download.py +0 -0
- {files_com-1.6.431 → files_com-1.6.433}/files_sdk/models/bundle_notification.py +0 -0
- {files_com-1.6.431 → files_com-1.6.433}/files_sdk/models/bundle_path.py +0 -0
- {files_com-1.6.431 → files_com-1.6.433}/files_sdk/models/bundle_recipient.py +0 -0
- {files_com-1.6.431 → files_com-1.6.433}/files_sdk/models/bundle_registration.py +0 -0
- {files_com-1.6.431 → files_com-1.6.433}/files_sdk/models/chat_message.py +0 -0
- {files_com-1.6.431 → files_com-1.6.433}/files_sdk/models/chat_session.py +0 -0
- {files_com-1.6.431 → files_com-1.6.433}/files_sdk/models/child_site_management_policy.py +0 -0
- {files_com-1.6.431 → files_com-1.6.433}/files_sdk/models/clickwrap.py +0 -0
- {files_com-1.6.431 → files_com-1.6.433}/files_sdk/models/custom_domain.py +0 -0
- {files_com-1.6.431 → files_com-1.6.433}/files_sdk/models/desktop_configuration_profile.py +0 -0
- {files_com-1.6.431 → files_com-1.6.433}/files_sdk/models/direct_connection_info.py +0 -0
- {files_com-1.6.431 → files_com-1.6.433}/files_sdk/models/dns_record.py +0 -0
- {files_com-1.6.431 → files_com-1.6.433}/files_sdk/models/email_incoming_message.py +0 -0
- {files_com-1.6.431 → files_com-1.6.433}/files_sdk/models/email_log.py +0 -0
- {files_com-1.6.431 → files_com-1.6.433}/files_sdk/models/errors.py +0 -0
- {files_com-1.6.431 → files_com-1.6.433}/files_sdk/models/event_channel.py +0 -0
- {files_com-1.6.431 → files_com-1.6.433}/files_sdk/models/event_delivery_attempt.py +0 -0
- {files_com-1.6.431 → files_com-1.6.433}/files_sdk/models/event_record.py +0 -0
- {files_com-1.6.431 → files_com-1.6.433}/files_sdk/models/event_subscription.py +0 -0
- {files_com-1.6.431 → files_com-1.6.433}/files_sdk/models/event_target.py +0 -0
- {files_com-1.6.431 → files_com-1.6.433}/files_sdk/models/exavault_api_request_log.py +0 -0
- {files_com-1.6.431 → files_com-1.6.433}/files_sdk/models/expectation.py +0 -0
- {files_com-1.6.431 → files_com-1.6.433}/files_sdk/models/expectation_evaluation.py +0 -0
- {files_com-1.6.431 → files_com-1.6.433}/files_sdk/models/expectation_incident.py +0 -0
- {files_com-1.6.431 → files_com-1.6.433}/files_sdk/models/external_event.py +0 -0
- {files_com-1.6.431 → files_com-1.6.433}/files_sdk/models/file.py +0 -0
- {files_com-1.6.431 → files_com-1.6.433}/files_sdk/models/file_action.py +0 -0
- {files_com-1.6.431 → files_com-1.6.433}/files_sdk/models/file_comment.py +0 -0
- {files_com-1.6.431 → files_com-1.6.433}/files_sdk/models/file_comment_reaction.py +0 -0
- {files_com-1.6.431 → files_com-1.6.433}/files_sdk/models/file_migration.py +0 -0
- {files_com-1.6.431 → files_com-1.6.433}/files_sdk/models/file_migration_log.py +0 -0
- {files_com-1.6.431 → files_com-1.6.433}/files_sdk/models/file_upload_part.py +0 -0
- {files_com-1.6.431 → files_com-1.6.433}/files_sdk/models/folder.py +0 -0
- {files_com-1.6.431 → files_com-1.6.433}/files_sdk/models/form_field.py +0 -0
- {files_com-1.6.431 → files_com-1.6.433}/files_sdk/models/form_field_set.py +0 -0
- {files_com-1.6.431 → files_com-1.6.433}/files_sdk/models/ftp_action_log.py +0 -0
- {files_com-1.6.431 → files_com-1.6.433}/files_sdk/models/gpg_key.py +0 -0
- {files_com-1.6.431 → files_com-1.6.433}/files_sdk/models/group.py +0 -0
- {files_com-1.6.431 → files_com-1.6.433}/files_sdk/models/group_user.py +0 -0
- {files_com-1.6.431 → files_com-1.6.433}/files_sdk/models/history.py +0 -0
- {files_com-1.6.431 → files_com-1.6.433}/files_sdk/models/history_export.py +0 -0
- {files_com-1.6.431 → files_com-1.6.433}/files_sdk/models/history_export_result.py +0 -0
- {files_com-1.6.431 → files_com-1.6.433}/files_sdk/models/holiday_region.py +0 -0
- {files_com-1.6.431 → files_com-1.6.433}/files_sdk/models/image.py +0 -0
- {files_com-1.6.431 → files_com-1.6.433}/files_sdk/models/inbound_s3_log.py +0 -0
- {files_com-1.6.431 → files_com-1.6.433}/files_sdk/models/inbox_recipient.py +0 -0
- {files_com-1.6.431 → files_com-1.6.433}/files_sdk/models/inbox_registration.py +0 -0
- {files_com-1.6.431 → files_com-1.6.433}/files_sdk/models/inbox_upload.py +0 -0
- {files_com-1.6.431 → files_com-1.6.433}/files_sdk/models/integration_centric_profile.py +0 -0
- {files_com-1.6.431 → files_com-1.6.433}/files_sdk/models/invoice.py +0 -0
- {files_com-1.6.431 → files_com-1.6.433}/files_sdk/models/invoice_line_item.py +0 -0
- {files_com-1.6.431 → files_com-1.6.433}/files_sdk/models/ip_address.py +0 -0
- {files_com-1.6.431 → files_com-1.6.433}/files_sdk/models/key_lifecycle_rule.py +0 -0
- {files_com-1.6.431 → files_com-1.6.433}/files_sdk/models/lock.py +0 -0
- {files_com-1.6.431 → files_com-1.6.433}/files_sdk/models/message.py +0 -0
- {files_com-1.6.431 → files_com-1.6.433}/files_sdk/models/message_comment.py +0 -0
- {files_com-1.6.431 → files_com-1.6.433}/files_sdk/models/message_comment_reaction.py +0 -0
- {files_com-1.6.431 → files_com-1.6.433}/files_sdk/models/message_reaction.py +0 -0
- {files_com-1.6.431 → files_com-1.6.433}/files_sdk/models/metadata_category.py +0 -0
- {files_com-1.6.431 → files_com-1.6.433}/files_sdk/models/notification.py +0 -0
- {files_com-1.6.431 → files_com-1.6.433}/files_sdk/models/outbound_connection_log.py +0 -0
- {files_com-1.6.431 → files_com-1.6.433}/files_sdk/models/partner.py +0 -0
- {files_com-1.6.431 → files_com-1.6.433}/files_sdk/models/partner_channel.py +0 -0
- {files_com-1.6.431 → files_com-1.6.433}/files_sdk/models/partner_channel_template.py +0 -0
- {files_com-1.6.431 → files_com-1.6.433}/files_sdk/models/partner_site.py +0 -0
- {files_com-1.6.431 → files_com-1.6.433}/files_sdk/models/partner_site_request.py +0 -0
- {files_com-1.6.431 → files_com-1.6.433}/files_sdk/models/payment.py +0 -0
- {files_com-1.6.431 → files_com-1.6.433}/files_sdk/models/payment_line_item.py +0 -0
- {files_com-1.6.431 → files_com-1.6.433}/files_sdk/models/pending_work_event.py +0 -0
- {files_com-1.6.431 → files_com-1.6.433}/files_sdk/models/permission.py +0 -0
- {files_com-1.6.431 → files_com-1.6.433}/files_sdk/models/preview.py +0 -0
- {files_com-1.6.431 → files_com-1.6.433}/files_sdk/models/project.py +0 -0
- {files_com-1.6.431 → files_com-1.6.433}/files_sdk/models/public_hosting_request_log.py +0 -0
- {files_com-1.6.431 → files_com-1.6.433}/files_sdk/models/public_ip_address.py +0 -0
- {files_com-1.6.431 → files_com-1.6.433}/files_sdk/models/public_key.py +0 -0
- {files_com-1.6.431 → files_com-1.6.433}/files_sdk/models/remote_bandwidth_snapshot.py +0 -0
- {files_com-1.6.431 → files_com-1.6.433}/files_sdk/models/remote_mount_backend.py +0 -0
- {files_com-1.6.431 → files_com-1.6.433}/files_sdk/models/remote_server_configuration_file.py +0 -0
- {files_com-1.6.431 → files_com-1.6.433}/files_sdk/models/request.py +0 -0
- {files_com-1.6.431 → files_com-1.6.433}/files_sdk/models/restore.py +0 -0
- {files_com-1.6.431 → files_com-1.6.433}/files_sdk/models/scheduled_export.py +0 -0
- {files_com-1.6.431 → files_com-1.6.433}/files_sdk/models/scim_log.py +0 -0
- {files_com-1.6.431 → files_com-1.6.433}/files_sdk/models/secret.py +0 -0
- {files_com-1.6.431 → files_com-1.6.433}/files_sdk/models/session.py +0 -0
- {files_com-1.6.431 → files_com-1.6.433}/files_sdk/models/settings_change.py +0 -0
- {files_com-1.6.431 → files_com-1.6.433}/files_sdk/models/sftp_action_log.py +0 -0
- {files_com-1.6.431 → files_com-1.6.433}/files_sdk/models/sftp_host_key.py +0 -0
- {files_com-1.6.431 → files_com-1.6.433}/files_sdk/models/share_group.py +0 -0
- {files_com-1.6.431 → files_com-1.6.433}/files_sdk/models/share_group_member.py +0 -0
- {files_com-1.6.431 → files_com-1.6.433}/files_sdk/models/siem_http_destination.py +0 -0
- {files_com-1.6.431 → files_com-1.6.433}/files_sdk/models/siem_http_destination_event.py +0 -0
- {files_com-1.6.431 → files_com-1.6.433}/files_sdk/models/site.py +0 -0
- {files_com-1.6.431 → files_com-1.6.433}/files_sdk/models/site_subdomain_redirect.py +0 -0
- {files_com-1.6.431 → files_com-1.6.433}/files_sdk/models/snapshot.py +0 -0
- {files_com-1.6.431 → files_com-1.6.433}/files_sdk/models/sso_event.py +0 -0
- {files_com-1.6.431 → files_com-1.6.433}/files_sdk/models/sso_strategy.py +0 -0
- {files_com-1.6.431 → files_com-1.6.433}/files_sdk/models/status.py +0 -0
- {files_com-1.6.431 → files_com-1.6.433}/files_sdk/models/style.py +0 -0
- {files_com-1.6.431 → files_com-1.6.433}/files_sdk/models/sync.py +0 -0
- {files_com-1.6.431 → files_com-1.6.433}/files_sdk/models/sync_log.py +0 -0
- {files_com-1.6.431 → files_com-1.6.433}/files_sdk/models/sync_run.py +0 -0
- {files_com-1.6.431 → files_com-1.6.433}/files_sdk/models/sync_run_live_transfer.py +0 -0
- {files_com-1.6.431 → files_com-1.6.433}/files_sdk/models/usage_by_top_level_dir.py +0 -0
- {files_com-1.6.431 → files_com-1.6.433}/files_sdk/models/usage_daily_snapshot.py +0 -0
- {files_com-1.6.431 → files_com-1.6.433}/files_sdk/models/usage_snapshot.py +0 -0
- {files_com-1.6.431 → files_com-1.6.433}/files_sdk/models/user.py +0 -0
- {files_com-1.6.431 → files_com-1.6.433}/files_sdk/models/user_cipher_use.py +0 -0
- {files_com-1.6.431 → files_com-1.6.433}/files_sdk/models/user_lifecycle_rule.py +0 -0
- {files_com-1.6.431 → files_com-1.6.433}/files_sdk/models/user_request.py +0 -0
- {files_com-1.6.431 → files_com-1.6.433}/files_sdk/models/user_security_event.py +0 -0
- {files_com-1.6.431 → files_com-1.6.433}/files_sdk/models/user_sftp_client_use.py +0 -0
- {files_com-1.6.431 → files_com-1.6.433}/files_sdk/models/web_dav_action_log.py +0 -0
- {files_com-1.6.431 → files_com-1.6.433}/files_sdk/models/webhook_test.py +0 -0
- {files_com-1.6.431 → files_com-1.6.433}/files_sdk/models/workspace.py +0 -0
- {files_com-1.6.431 → files_com-1.6.433}/files_sdk/models/zip_list_entry.py +0 -0
- {files_com-1.6.431 → files_com-1.6.433}/files_sdk/path_util.py +0 -0
- {files_com-1.6.431 → files_com-1.6.433}/files_sdk/util.py +0 -0
- {files_com-1.6.431 → files_com-1.6.433}/setup.cfg +0 -0
- {files_com-1.6.431 → files_com-1.6.433}/tests/test_account_line_item.py +0 -0
- {files_com-1.6.431 → files_com-1.6.433}/tests/test_action.py +0 -0
- {files_com-1.6.431 → files_com-1.6.433}/tests/test_action_log.py +0 -0
- {files_com-1.6.431 → files_com-1.6.433}/tests/test_action_notification_export.py +0 -0
- {files_com-1.6.431 → files_com-1.6.433}/tests/test_action_notification_export_result.py +0 -0
- {files_com-1.6.431 → files_com-1.6.433}/tests/test_agent_push_update.py +0 -0
- {files_com-1.6.431 → files_com-1.6.433}/tests/test_ai_assistant_personality.py +0 -0
- {files_com-1.6.431 → files_com-1.6.433}/tests/test_ai_task.py +0 -0
- {files_com-1.6.431 → files_com-1.6.433}/tests/test_api_errors.py +0 -0
- {files_com-1.6.431 → files_com-1.6.433}/tests/test_api_key.py +0 -0
- {files_com-1.6.431 → files_com-1.6.433}/tests/test_api_request_log.py +0 -0
- {files_com-1.6.431 → files_com-1.6.433}/tests/test_app.py +0 -0
- {files_com-1.6.431 → files_com-1.6.433}/tests/test_as2_incoming_message.py +0 -0
- {files_com-1.6.431 → files_com-1.6.433}/tests/test_as2_outgoing_message.py +0 -0
- {files_com-1.6.431 → files_com-1.6.433}/tests/test_as2_partner.py +0 -0
- {files_com-1.6.431 → files_com-1.6.433}/tests/test_as2_station.py +0 -0
- {files_com-1.6.431 → files_com-1.6.433}/tests/test_auto.py +0 -0
- {files_com-1.6.431 → files_com-1.6.433}/tests/test_automation.py +0 -0
- {files_com-1.6.431 → files_com-1.6.433}/tests/test_automation_authoring_schema.py +0 -0
- {files_com-1.6.431 → files_com-1.6.433}/tests/test_automation_execution_node.py +0 -0
- {files_com-1.6.431 → files_com-1.6.433}/tests/test_automation_log.py +0 -0
- {files_com-1.6.431 → files_com-1.6.433}/tests/test_automation_run.py +0 -0
- {files_com-1.6.431 → files_com-1.6.433}/tests/test_bandwidth_snapshot.py +0 -0
- {files_com-1.6.431 → files_com-1.6.433}/tests/test_behavior.py +0 -0
- {files_com-1.6.431 → files_com-1.6.433}/tests/test_bundle.py +0 -0
- {files_com-1.6.431 → files_com-1.6.433}/tests/test_bundle_action.py +0 -0
- {files_com-1.6.431 → files_com-1.6.433}/tests/test_bundle_download.py +0 -0
- {files_com-1.6.431 → files_com-1.6.433}/tests/test_bundle_notification.py +0 -0
- {files_com-1.6.431 → files_com-1.6.433}/tests/test_bundle_path.py +0 -0
- {files_com-1.6.431 → files_com-1.6.433}/tests/test_bundle_recipient.py +0 -0
- {files_com-1.6.431 → files_com-1.6.433}/tests/test_bundle_registration.py +0 -0
- {files_com-1.6.431 → files_com-1.6.433}/tests/test_chat_message.py +0 -0
- {files_com-1.6.431 → files_com-1.6.433}/tests/test_chat_session.py +0 -0
- {files_com-1.6.431 → files_com-1.6.433}/tests/test_child_site_management_policy.py +0 -0
- {files_com-1.6.431 → files_com-1.6.433}/tests/test_clickwrap.py +0 -0
- {files_com-1.6.431 → files_com-1.6.433}/tests/test_connection_adapter.py +0 -0
- {files_com-1.6.431 → files_com-1.6.433}/tests/test_custom_domain.py +0 -0
- {files_com-1.6.431 → files_com-1.6.433}/tests/test_decimal_contract.py +0 -0
- {files_com-1.6.431 → files_com-1.6.433}/tests/test_desktop_configuration_profile.py +0 -0
- {files_com-1.6.431 → files_com-1.6.433}/tests/test_direct_connection_info.py +0 -0
- {files_com-1.6.431 → files_com-1.6.433}/tests/test_dns_record.py +0 -0
- {files_com-1.6.431 → files_com-1.6.433}/tests/test_email_incoming_message.py +0 -0
- {files_com-1.6.431 → files_com-1.6.433}/tests/test_email_log.py +0 -0
- {files_com-1.6.431 → files_com-1.6.433}/tests/test_errors.py +0 -0
- {files_com-1.6.431 → files_com-1.6.433}/tests/test_event_channel.py +0 -0
- {files_com-1.6.431 → files_com-1.6.433}/tests/test_event_delivery_attempt.py +0 -0
- {files_com-1.6.431 → files_com-1.6.433}/tests/test_event_record.py +0 -0
- {files_com-1.6.431 → files_com-1.6.433}/tests/test_event_subscription.py +0 -0
- {files_com-1.6.431 → files_com-1.6.433}/tests/test_event_target.py +0 -0
- {files_com-1.6.431 → files_com-1.6.433}/tests/test_exavault_api_request_log.py +0 -0
- {files_com-1.6.431 → files_com-1.6.433}/tests/test_expectation.py +0 -0
- {files_com-1.6.431 → files_com-1.6.433}/tests/test_expectation_evaluation.py +0 -0
- {files_com-1.6.431 → files_com-1.6.433}/tests/test_expectation_incident.py +0 -0
- {files_com-1.6.431 → files_com-1.6.433}/tests/test_external_event.py +0 -0
- {files_com-1.6.431 → files_com-1.6.433}/tests/test_file.py +0 -0
- {files_com-1.6.431 → files_com-1.6.433}/tests/test_file_action.py +0 -0
- {files_com-1.6.431 → files_com-1.6.433}/tests/test_file_comment.py +0 -0
- {files_com-1.6.431 → files_com-1.6.433}/tests/test_file_comment_reaction.py +0 -0
- {files_com-1.6.431 → files_com-1.6.433}/tests/test_file_migration.py +0 -0
- {files_com-1.6.431 → files_com-1.6.433}/tests/test_file_migration_log.py +0 -0
- {files_com-1.6.431 → files_com-1.6.433}/tests/test_file_underscore_destinations.py +0 -0
- {files_com-1.6.431 → files_com-1.6.433}/tests/test_file_upload_part.py +0 -0
- {files_com-1.6.431 → files_com-1.6.433}/tests/test_folder.py +0 -0
- {files_com-1.6.431 → files_com-1.6.433}/tests/test_form_field.py +0 -0
- {files_com-1.6.431 → files_com-1.6.433}/tests/test_form_field_set.py +0 -0
- {files_com-1.6.431 → files_com-1.6.433}/tests/test_ftp_action_log.py +0 -0
- {files_com-1.6.431 → files_com-1.6.433}/tests/test_gpg_key.py +0 -0
- {files_com-1.6.431 → files_com-1.6.433}/tests/test_group.py +0 -0
- {files_com-1.6.431 → files_com-1.6.433}/tests/test_group_user.py +0 -0
- {files_com-1.6.431 → files_com-1.6.433}/tests/test_history.py +0 -0
- {files_com-1.6.431 → files_com-1.6.433}/tests/test_history_export.py +0 -0
- {files_com-1.6.431 → files_com-1.6.433}/tests/test_history_export_result.py +0 -0
- {files_com-1.6.431 → files_com-1.6.433}/tests/test_holiday_region.py +0 -0
- {files_com-1.6.431 → files_com-1.6.433}/tests/test_image.py +0 -0
- {files_com-1.6.431 → files_com-1.6.433}/tests/test_inbound_s3_log.py +0 -0
- {files_com-1.6.431 → files_com-1.6.433}/tests/test_inbox_recipient.py +0 -0
- {files_com-1.6.431 → files_com-1.6.433}/tests/test_inbox_registration.py +0 -0
- {files_com-1.6.431 → files_com-1.6.433}/tests/test_inbox_upload.py +0 -0
- {files_com-1.6.431 → files_com-1.6.433}/tests/test_integration_centric_profile.py +0 -0
- {files_com-1.6.431 → files_com-1.6.433}/tests/test_invoice.py +0 -0
- {files_com-1.6.431 → files_com-1.6.433}/tests/test_invoice_line_item.py +0 -0
- {files_com-1.6.431 → files_com-1.6.433}/tests/test_ip_address.py +0 -0
- {files_com-1.6.431 → files_com-1.6.433}/tests/test_key_lifecycle_rule.py +0 -0
- {files_com-1.6.431 → files_com-1.6.433}/tests/test_lock.py +0 -0
- {files_com-1.6.431 → files_com-1.6.433}/tests/test_message.py +0 -0
- {files_com-1.6.431 → files_com-1.6.433}/tests/test_message_comment.py +0 -0
- {files_com-1.6.431 → files_com-1.6.433}/tests/test_message_comment_reaction.py +0 -0
- {files_com-1.6.431 → files_com-1.6.433}/tests/test_message_reaction.py +0 -0
- {files_com-1.6.431 → files_com-1.6.433}/tests/test_metadata_category.py +0 -0
- {files_com-1.6.431 → files_com-1.6.433}/tests/test_notification.py +0 -0
- {files_com-1.6.431 → files_com-1.6.433}/tests/test_outbound_connection_log.py +0 -0
- {files_com-1.6.431 → files_com-1.6.433}/tests/test_partner.py +0 -0
- {files_com-1.6.431 → files_com-1.6.433}/tests/test_partner_channel.py +0 -0
- {files_com-1.6.431 → files_com-1.6.433}/tests/test_partner_channel_template.py +0 -0
- {files_com-1.6.431 → files_com-1.6.433}/tests/test_partner_site.py +0 -0
- {files_com-1.6.431 → files_com-1.6.433}/tests/test_partner_site_request.py +0 -0
- {files_com-1.6.431 → files_com-1.6.433}/tests/test_path_parameter_encoding.py +0 -0
- {files_com-1.6.431 → files_com-1.6.433}/tests/test_path_util.py +0 -0
- {files_com-1.6.431 → files_com-1.6.433}/tests/test_payment.py +0 -0
- {files_com-1.6.431 → files_com-1.6.433}/tests/test_payment_line_item.py +0 -0
- {files_com-1.6.431 → files_com-1.6.433}/tests/test_pending_work_event.py +0 -0
- {files_com-1.6.431 → files_com-1.6.433}/tests/test_permission.py +0 -0
- {files_com-1.6.431 → files_com-1.6.433}/tests/test_preview.py +0 -0
- {files_com-1.6.431 → files_com-1.6.433}/tests/test_project.py +0 -0
- {files_com-1.6.431 → files_com-1.6.433}/tests/test_public_hosting_request_log.py +0 -0
- {files_com-1.6.431 → files_com-1.6.433}/tests/test_public_ip_address.py +0 -0
- {files_com-1.6.431 → files_com-1.6.433}/tests/test_public_key.py +0 -0
- {files_com-1.6.431 → files_com-1.6.433}/tests/test_remote_bandwidth_snapshot.py +0 -0
- {files_com-1.6.431 → files_com-1.6.433}/tests/test_remote_mount_backend.py +0 -0
- {files_com-1.6.431 → files_com-1.6.433}/tests/test_remote_server.py +0 -0
- {files_com-1.6.431 → files_com-1.6.433}/tests/test_remote_server_configuration_file.py +0 -0
- {files_com-1.6.431 → files_com-1.6.433}/tests/test_remote_server_credential.py +0 -0
- {files_com-1.6.431 → files_com-1.6.433}/tests/test_request.py +0 -0
- {files_com-1.6.431 → files_com-1.6.433}/tests/test_restore.py +0 -0
- {files_com-1.6.431 → files_com-1.6.433}/tests/test_scheduled_export.py +0 -0
- {files_com-1.6.431 → files_com-1.6.433}/tests/test_scim_log.py +0 -0
- {files_com-1.6.431 → files_com-1.6.433}/tests/test_secret.py +0 -0
- {files_com-1.6.431 → files_com-1.6.433}/tests/test_session.py +0 -0
- {files_com-1.6.431 → files_com-1.6.433}/tests/test_settings_change.py +0 -0
- {files_com-1.6.431 → files_com-1.6.433}/tests/test_sftp_action_log.py +0 -0
- {files_com-1.6.431 → files_com-1.6.433}/tests/test_sftp_host_key.py +0 -0
- {files_com-1.6.431 → files_com-1.6.433}/tests/test_share_group.py +0 -0
- {files_com-1.6.431 → files_com-1.6.433}/tests/test_share_group_member.py +0 -0
- {files_com-1.6.431 → files_com-1.6.433}/tests/test_siem_http_destination.py +0 -0
- {files_com-1.6.431 → files_com-1.6.433}/tests/test_siem_http_destination_event.py +0 -0
- {files_com-1.6.431 → files_com-1.6.433}/tests/test_site.py +0 -0
- {files_com-1.6.431 → files_com-1.6.433}/tests/test_site_subdomain_redirect.py +0 -0
- {files_com-1.6.431 → files_com-1.6.433}/tests/test_snapshot.py +0 -0
- {files_com-1.6.431 → files_com-1.6.433}/tests/test_sso_event.py +0 -0
- {files_com-1.6.431 → files_com-1.6.433}/tests/test_sso_strategy.py +0 -0
- {files_com-1.6.431 → files_com-1.6.433}/tests/test_status.py +0 -0
- {files_com-1.6.431 → files_com-1.6.433}/tests/test_style.py +0 -0
- {files_com-1.6.431 → files_com-1.6.433}/tests/test_sync.py +0 -0
- {files_com-1.6.431 → files_com-1.6.433}/tests/test_sync_log.py +0 -0
- {files_com-1.6.431 → files_com-1.6.433}/tests/test_sync_run.py +0 -0
- {files_com-1.6.431 → files_com-1.6.433}/tests/test_sync_run_live_transfer.py +0 -0
- {files_com-1.6.431 → files_com-1.6.433}/tests/test_usage_by_top_level_dir.py +0 -0
- {files_com-1.6.431 → files_com-1.6.433}/tests/test_usage_daily_snapshot.py +0 -0
- {files_com-1.6.431 → files_com-1.6.433}/tests/test_usage_snapshot.py +0 -0
- {files_com-1.6.431 → files_com-1.6.433}/tests/test_user.py +0 -0
- {files_com-1.6.431 → files_com-1.6.433}/tests/test_user_cipher_use.py +0 -0
- {files_com-1.6.431 → files_com-1.6.433}/tests/test_user_lifecycle_rule.py +0 -0
- {files_com-1.6.431 → files_com-1.6.433}/tests/test_user_request.py +0 -0
- {files_com-1.6.431 → files_com-1.6.433}/tests/test_user_security_event.py +0 -0
- {files_com-1.6.431 → files_com-1.6.433}/tests/test_user_sftp_client_use.py +0 -0
- {files_com-1.6.431 → files_com-1.6.433}/tests/test_web_dav_action_log.py +0 -0
- {files_com-1.6.431 → files_com-1.6.433}/tests/test_webhook_test.py +0 -0
- {files_com-1.6.431 → files_com-1.6.433}/tests/test_workspace.py +0 -0
- {files_com-1.6.431 → files_com-1.6.433}/tests/test_workspace_id.py +0 -0
- {files_com-1.6.431 → files_com-1.6.433}/tests/test_zip_list_entry.py +0 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
1.6.433
|
|
@@ -84,6 +84,7 @@ files_sdk/models/group_user.py
|
|
|
84
84
|
files_sdk/models/history.py
|
|
85
85
|
files_sdk/models/history_export.py
|
|
86
86
|
files_sdk/models/history_export_result.py
|
|
87
|
+
files_sdk/models/holiday_calendar.py
|
|
87
88
|
files_sdk/models/holiday_region.py
|
|
88
89
|
files_sdk/models/image.py
|
|
89
90
|
files_sdk/models/inbound_s3_log.py
|
|
@@ -150,6 +151,7 @@ files_sdk/models/usage_by_top_level_dir.py
|
|
|
150
151
|
files_sdk/models/usage_daily_snapshot.py
|
|
151
152
|
files_sdk/models/usage_snapshot.py
|
|
152
153
|
files_sdk/models/user.py
|
|
154
|
+
files_sdk/models/user_additional_email_recipient.py
|
|
153
155
|
files_sdk/models/user_cipher_use.py
|
|
154
156
|
files_sdk/models/user_lifecycle_rule.py
|
|
155
157
|
files_sdk/models/user_request.py
|
|
@@ -231,6 +233,7 @@ tests/test_group_user.py
|
|
|
231
233
|
tests/test_history.py
|
|
232
234
|
tests/test_history_export.py
|
|
233
235
|
tests/test_history_export_result.py
|
|
236
|
+
tests/test_holiday_calendar.py
|
|
234
237
|
tests/test_holiday_region.py
|
|
235
238
|
tests/test_image.py
|
|
236
239
|
tests/test_inbound_s3_log.py
|
|
@@ -299,6 +302,7 @@ tests/test_usage_by_top_level_dir.py
|
|
|
299
302
|
tests/test_usage_daily_snapshot.py
|
|
300
303
|
tests/test_usage_snapshot.py
|
|
301
304
|
tests/test_user.py
|
|
305
|
+
tests/test_user_additional_email_recipient.py
|
|
302
306
|
tests/test_user_cipher_use.py
|
|
303
307
|
tests/test_user_lifecycle_rule.py
|
|
304
308
|
tests/test_user_request.py
|
|
@@ -67,6 +67,7 @@ import files_sdk.models.group_user as group_user
|
|
|
67
67
|
import files_sdk.models.history as history
|
|
68
68
|
import files_sdk.models.history_export as history_export
|
|
69
69
|
import files_sdk.models.history_export_result as history_export_result
|
|
70
|
+
import files_sdk.models.holiday_calendar as holiday_calendar
|
|
70
71
|
import files_sdk.models.holiday_region as holiday_region
|
|
71
72
|
import files_sdk.models.image as image
|
|
72
73
|
import files_sdk.models.inbound_s3_log as inbound_s3_log
|
|
@@ -133,6 +134,7 @@ import files_sdk.models.usage_by_top_level_dir as usage_by_top_level_dir
|
|
|
133
134
|
import files_sdk.models.usage_daily_snapshot as usage_daily_snapshot
|
|
134
135
|
import files_sdk.models.usage_snapshot as usage_snapshot
|
|
135
136
|
import files_sdk.models.user as user
|
|
137
|
+
import files_sdk.models.user_additional_email_recipient as user_additional_email_recipient
|
|
136
138
|
import files_sdk.models.user_cipher_use as user_cipher_use
|
|
137
139
|
import files_sdk.models.user_lifecycle_rule as user_lifecycle_rule
|
|
138
140
|
import files_sdk.models.user_request as user_request
|
|
@@ -221,6 +223,7 @@ from files_sdk.models.group_user import GroupUser
|
|
|
221
223
|
from files_sdk.models.history import History
|
|
222
224
|
from files_sdk.models.history_export import HistoryExport
|
|
223
225
|
from files_sdk.models.history_export_result import HistoryExportResult
|
|
226
|
+
from files_sdk.models.holiday_calendar import HolidayCalendar
|
|
224
227
|
from files_sdk.models.holiday_region import HolidayRegion
|
|
225
228
|
from files_sdk.models.image import Image
|
|
226
229
|
from files_sdk.models.inbound_s3_log import InboundS3Log
|
|
@@ -293,6 +296,9 @@ from files_sdk.models.usage_by_top_level_dir import UsageByTopLevelDir
|
|
|
293
296
|
from files_sdk.models.usage_daily_snapshot import UsageDailySnapshot
|
|
294
297
|
from files_sdk.models.usage_snapshot import UsageSnapshot
|
|
295
298
|
from files_sdk.models.user import User
|
|
299
|
+
from files_sdk.models.user_additional_email_recipient import (
|
|
300
|
+
UserAdditionalEmailRecipient,
|
|
301
|
+
)
|
|
296
302
|
from files_sdk.models.user_cipher_use import UserCipherUse
|
|
297
303
|
from files_sdk.models.user_lifecycle_rule import UserLifecycleRule
|
|
298
304
|
from files_sdk.models.user_request import UserRequest
|
|
@@ -314,7 +320,7 @@ source_ip = None
|
|
|
314
320
|
workspace_id = None
|
|
315
321
|
base_url = "https://app.files.com"
|
|
316
322
|
base_path = "api/rest/v1"
|
|
317
|
-
version = "1.6.
|
|
323
|
+
version = "1.6.433"
|
|
318
324
|
|
|
319
325
|
__version__ = version
|
|
320
326
|
|
|
@@ -76,6 +76,7 @@ from files_sdk.models.group_user import GroupUser
|
|
|
76
76
|
from files_sdk.models.history import History
|
|
77
77
|
from files_sdk.models.history_export import HistoryExport
|
|
78
78
|
from files_sdk.models.history_export_result import HistoryExportResult
|
|
79
|
+
from files_sdk.models.holiday_calendar import HolidayCalendar
|
|
79
80
|
from files_sdk.models.holiday_region import HolidayRegion
|
|
80
81
|
from files_sdk.models.image import Image
|
|
81
82
|
from files_sdk.models.inbound_s3_log import InboundS3Log
|
|
@@ -148,6 +149,9 @@ from files_sdk.models.usage_by_top_level_dir import UsageByTopLevelDir
|
|
|
148
149
|
from files_sdk.models.usage_daily_snapshot import UsageDailySnapshot
|
|
149
150
|
from files_sdk.models.usage_snapshot import UsageSnapshot
|
|
150
151
|
from files_sdk.models.user import User
|
|
152
|
+
from files_sdk.models.user_additional_email_recipient import (
|
|
153
|
+
UserAdditionalEmailRecipient,
|
|
154
|
+
)
|
|
151
155
|
from files_sdk.models.user_cipher_use import UserCipherUse
|
|
152
156
|
from files_sdk.models.user_lifecycle_rule import UserLifecycleRule
|
|
153
157
|
from files_sdk.models.user_request import UserRequest
|
|
@@ -0,0 +1,218 @@
|
|
|
1
|
+
import builtins # noqa: F401
|
|
2
|
+
from urllib.parse import quote
|
|
3
|
+
from files_sdk.api import Api # noqa: F401
|
|
4
|
+
from files_sdk.list_obj import ListObj
|
|
5
|
+
from files_sdk.error import ( # noqa: F401
|
|
6
|
+
InvalidParameterError,
|
|
7
|
+
MissingParameterError,
|
|
8
|
+
NotImplementedError,
|
|
9
|
+
)
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
class HolidayCalendar:
|
|
13
|
+
default_attributes = {
|
|
14
|
+
"id": None, # int64 - Holiday Calendar ID. Use `custom_<id>` as a scheduled resource's `holiday_region`.
|
|
15
|
+
"name": None, # string - Holiday Calendar name.
|
|
16
|
+
"definition": None, # object - Holiday rules for the calendar. For more information, refer to the Holiday Calendars section of the Files.com documentation.
|
|
17
|
+
"created_at": None, # date-time - Creation time.
|
|
18
|
+
"updated_at": None, # date-time - Last update time.
|
|
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 HolidayCalendar.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 HolidayCalendar.default_attributes
|
|
41
|
+
if getattr(self, k, None) is not None
|
|
42
|
+
}
|
|
43
|
+
return attrs
|
|
44
|
+
|
|
45
|
+
# Parameters:
|
|
46
|
+
# name - string - Holiday Calendar name.
|
|
47
|
+
def update(self, params=None):
|
|
48
|
+
if not isinstance(params, dict):
|
|
49
|
+
params = {}
|
|
50
|
+
|
|
51
|
+
if hasattr(self, "id") and self.id:
|
|
52
|
+
params["id"] = self.id
|
|
53
|
+
else:
|
|
54
|
+
raise MissingParameterError("Current object doesn't have a id")
|
|
55
|
+
if "id" not in params:
|
|
56
|
+
raise MissingParameterError("Parameter missing: id")
|
|
57
|
+
if "id" in params and not isinstance(params["id"], int):
|
|
58
|
+
raise InvalidParameterError("Bad parameter: id must be an int")
|
|
59
|
+
if "name" in params and not isinstance(params["name"], str):
|
|
60
|
+
raise InvalidParameterError("Bad parameter: name must be an str")
|
|
61
|
+
response, _options = Api.send_request(
|
|
62
|
+
"PATCH",
|
|
63
|
+
"/holiday_calendars/{id}".format(
|
|
64
|
+
id=quote(str(params["id"]), safe="")
|
|
65
|
+
),
|
|
66
|
+
params,
|
|
67
|
+
self.options,
|
|
68
|
+
)
|
|
69
|
+
return response.data
|
|
70
|
+
|
|
71
|
+
def delete(self, params=None):
|
|
72
|
+
if not isinstance(params, dict):
|
|
73
|
+
params = {}
|
|
74
|
+
|
|
75
|
+
if hasattr(self, "id") and self.id:
|
|
76
|
+
params["id"] = self.id
|
|
77
|
+
else:
|
|
78
|
+
raise MissingParameterError("Current object doesn't have a id")
|
|
79
|
+
if "id" not in params:
|
|
80
|
+
raise MissingParameterError("Parameter missing: id")
|
|
81
|
+
if "id" in params and not isinstance(params["id"], int):
|
|
82
|
+
raise InvalidParameterError("Bad parameter: id must be an int")
|
|
83
|
+
Api.send_request(
|
|
84
|
+
"DELETE",
|
|
85
|
+
"/holiday_calendars/{id}".format(
|
|
86
|
+
id=quote(str(params["id"]), safe="")
|
|
87
|
+
),
|
|
88
|
+
params,
|
|
89
|
+
self.options,
|
|
90
|
+
)
|
|
91
|
+
|
|
92
|
+
def destroy(self, params=None):
|
|
93
|
+
self.delete(params)
|
|
94
|
+
|
|
95
|
+
def save(self):
|
|
96
|
+
if hasattr(self, "id") and self.id:
|
|
97
|
+
new_obj = self.update(self.get_attributes())
|
|
98
|
+
self.set_attributes(new_obj.get_attributes())
|
|
99
|
+
return True
|
|
100
|
+
else:
|
|
101
|
+
new_obj = create(self.get_attributes(), self.options)
|
|
102
|
+
self.set_attributes(new_obj.get_attributes())
|
|
103
|
+
return True
|
|
104
|
+
|
|
105
|
+
|
|
106
|
+
# Parameters:
|
|
107
|
+
# 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.
|
|
108
|
+
# per_page - int64 - Number of records to show per page. (Max: 10000, 1,000 or less is recommended).
|
|
109
|
+
# sort_by - object - If set, sort records by the specified field in either `asc` or `desc` direction. Valid fields are .
|
|
110
|
+
def list(params=None, options=None):
|
|
111
|
+
if not isinstance(params, dict):
|
|
112
|
+
params = {}
|
|
113
|
+
if not isinstance(options, dict):
|
|
114
|
+
options = {}
|
|
115
|
+
if "cursor" in params and not isinstance(params["cursor"], str):
|
|
116
|
+
raise InvalidParameterError("Bad parameter: cursor must be an str")
|
|
117
|
+
if "per_page" in params and not isinstance(params["per_page"], int):
|
|
118
|
+
raise InvalidParameterError("Bad parameter: per_page must be an int")
|
|
119
|
+
if "sort_by" in params and not isinstance(params["sort_by"], dict):
|
|
120
|
+
raise InvalidParameterError("Bad parameter: sort_by must be an dict")
|
|
121
|
+
return ListObj(
|
|
122
|
+
HolidayCalendar, "GET", "/holiday_calendars", params, options
|
|
123
|
+
)
|
|
124
|
+
|
|
125
|
+
|
|
126
|
+
def all(params=None, options=None):
|
|
127
|
+
list(params, options)
|
|
128
|
+
|
|
129
|
+
|
|
130
|
+
# Parameters:
|
|
131
|
+
# id (required) - int64 - Holiday Calendar ID.
|
|
132
|
+
def find(id, params=None, options=None):
|
|
133
|
+
if not isinstance(params, dict):
|
|
134
|
+
params = {}
|
|
135
|
+
if not isinstance(options, dict):
|
|
136
|
+
options = {}
|
|
137
|
+
params["id"] = id
|
|
138
|
+
if "id" in params and not isinstance(params["id"], int):
|
|
139
|
+
raise InvalidParameterError("Bad parameter: id must be an int")
|
|
140
|
+
if "id" not in params:
|
|
141
|
+
raise MissingParameterError("Parameter missing: id")
|
|
142
|
+
response, options = Api.send_request(
|
|
143
|
+
"GET",
|
|
144
|
+
"/holiday_calendars/{id}".format(id=quote(str(params["id"]), safe="")),
|
|
145
|
+
params,
|
|
146
|
+
options,
|
|
147
|
+
)
|
|
148
|
+
return HolidayCalendar(response.data, options)
|
|
149
|
+
|
|
150
|
+
|
|
151
|
+
def get(id, params=None, options=None):
|
|
152
|
+
find(id, params, options)
|
|
153
|
+
|
|
154
|
+
|
|
155
|
+
# Parameters:
|
|
156
|
+
# name (required) - string - Holiday Calendar name.
|
|
157
|
+
def create(params=None, options=None):
|
|
158
|
+
if not isinstance(params, dict):
|
|
159
|
+
params = {}
|
|
160
|
+
if not isinstance(options, dict):
|
|
161
|
+
options = {}
|
|
162
|
+
if "name" in params and not isinstance(params["name"], str):
|
|
163
|
+
raise InvalidParameterError("Bad parameter: name must be an str")
|
|
164
|
+
if "name" not in params:
|
|
165
|
+
raise MissingParameterError("Parameter missing: name")
|
|
166
|
+
response, options = Api.send_request(
|
|
167
|
+
"POST", "/holiday_calendars", params, options
|
|
168
|
+
)
|
|
169
|
+
return HolidayCalendar(response.data, options)
|
|
170
|
+
|
|
171
|
+
|
|
172
|
+
# Parameters:
|
|
173
|
+
# name - string - Holiday Calendar name.
|
|
174
|
+
def update(id, params=None, options=None):
|
|
175
|
+
if not isinstance(params, dict):
|
|
176
|
+
params = {}
|
|
177
|
+
if not isinstance(options, dict):
|
|
178
|
+
options = {}
|
|
179
|
+
params["id"] = id
|
|
180
|
+
if "id" in params and not isinstance(params["id"], int):
|
|
181
|
+
raise InvalidParameterError("Bad parameter: id must be an int")
|
|
182
|
+
if "name" in params and not isinstance(params["name"], str):
|
|
183
|
+
raise InvalidParameterError("Bad parameter: name must be an str")
|
|
184
|
+
if "id" not in params:
|
|
185
|
+
raise MissingParameterError("Parameter missing: id")
|
|
186
|
+
response, options = Api.send_request(
|
|
187
|
+
"PATCH",
|
|
188
|
+
"/holiday_calendars/{id}".format(id=quote(str(params["id"]), safe="")),
|
|
189
|
+
params,
|
|
190
|
+
options,
|
|
191
|
+
)
|
|
192
|
+
return HolidayCalendar(response.data, options)
|
|
193
|
+
|
|
194
|
+
|
|
195
|
+
def delete(id, params=None, options=None):
|
|
196
|
+
if not isinstance(params, dict):
|
|
197
|
+
params = {}
|
|
198
|
+
if not isinstance(options, dict):
|
|
199
|
+
options = {}
|
|
200
|
+
params["id"] = id
|
|
201
|
+
if "id" in params and not isinstance(params["id"], int):
|
|
202
|
+
raise InvalidParameterError("Bad parameter: id must be an int")
|
|
203
|
+
if "id" not in params:
|
|
204
|
+
raise MissingParameterError("Parameter missing: id")
|
|
205
|
+
Api.send_request(
|
|
206
|
+
"DELETE",
|
|
207
|
+
"/holiday_calendars/{id}".format(id=quote(str(params["id"]), safe="")),
|
|
208
|
+
params,
|
|
209
|
+
options,
|
|
210
|
+
)
|
|
211
|
+
|
|
212
|
+
|
|
213
|
+
def destroy(id, params=None, options=None):
|
|
214
|
+
delete(id, params, options)
|
|
215
|
+
|
|
216
|
+
|
|
217
|
+
def new(*args, **kwargs):
|
|
218
|
+
return HolidayCalendar(*args, **kwargs)
|
|
@@ -55,6 +55,11 @@ class RemoteServer:
|
|
|
55
55
|
"auth_status": None, # string - Either `in_setup` or `complete`
|
|
56
56
|
"auth_account_name": None, # string - Describes the authorized account
|
|
57
57
|
"one_drive_account_type": None, # string - OneDrive: Either personal or business_other account types
|
|
58
|
+
"sharepoint_tenant_id": None, # string - SharePoint: Microsoft Entra tenant ID for app-only authentication.
|
|
59
|
+
"sharepoint_client_id": None, # string - SharePoint: Microsoft Entra application client ID for app-only authentication.
|
|
60
|
+
"sharepoint_app_authentication": None, # boolean - SharePoint: If true, this remote server uses Microsoft Entra app-only authentication.
|
|
61
|
+
"sharepoint_app_credential_type": None, # string - SharePoint: App-only credential type. Either secret or certificate.
|
|
62
|
+
"sharepoint_site_url": None, # string - SharePoint: Site URL to scope app-only authentication to a single site. Leave blank to browse all sites.
|
|
58
63
|
"azure_blob_storage_account": None, # string - Azure Blob Storage: Account name
|
|
59
64
|
"azure_blob_storage_container": None, # string - Azure Blob Storage: Container name
|
|
60
65
|
"azure_blob_storage_hierarchical_namespace": None, # boolean - Azure Blob Storage: Does the storage account has hierarchical namespace feature enabled?
|
|
@@ -92,6 +97,8 @@ class RemoteServer:
|
|
|
92
97
|
"private_key": None, # string - Private key, if needed.
|
|
93
98
|
"private_key_passphrase": None, # string - Passphrase for private key if needed.
|
|
94
99
|
"reset_authentication": None, # boolean - Reset authenticated account?
|
|
100
|
+
"sharepoint_client_certificate": None, # string - SharePoint: PEM-encoded certificate and unencrypted private key for app-only authentication.
|
|
101
|
+
"sharepoint_client_secret": None, # string - SharePoint: Microsoft Entra application client secret for app-only authentication.
|
|
95
102
|
"ssl_certificate": None, # string - SSL client certificate.
|
|
96
103
|
"aws_secret_key": None, # string - AWS: secret key.
|
|
97
104
|
"azure_blob_storage_access_key": None, # string - Azure Blob Storage: Access Key
|
|
@@ -246,6 +253,8 @@ class RemoteServer:
|
|
|
246
253
|
# private_key - string - Private key, if needed.
|
|
247
254
|
# private_key_passphrase - string - Passphrase for private key if needed.
|
|
248
255
|
# reset_authentication - boolean - Reset authenticated account?
|
|
256
|
+
# sharepoint_client_certificate - string - SharePoint: PEM-encoded certificate and unencrypted private key for app-only authentication.
|
|
257
|
+
# sharepoint_client_secret - string - SharePoint: Microsoft Entra application client secret for app-only authentication.
|
|
249
258
|
# ssl_certificate - string - SSL client certificate.
|
|
250
259
|
# aws_secret_key - string - AWS: secret key.
|
|
251
260
|
# azure_blob_storage_access_key - string - Azure Blob Storage: Access Key
|
|
@@ -314,6 +323,9 @@ class RemoteServer:
|
|
|
314
323
|
# server_certificate - string - Remote server certificate
|
|
315
324
|
# server_host_key - string - Remote server SSH Host Key. If provided, we will require that the server host key matches the provided key. Uses OpenSSH format similar to what would go into ~/.ssh/known_hosts
|
|
316
325
|
# server_type - string - Remote server type.
|
|
326
|
+
# sharepoint_client_id - string - SharePoint: Microsoft Entra application client ID for app-only authentication.
|
|
327
|
+
# sharepoint_site_url - string - SharePoint: Site URL to scope app-only authentication to a single site. Leave blank to browse all sites.
|
|
328
|
+
# sharepoint_tenant_id - string - SharePoint: Microsoft Entra tenant ID for app-only authentication.
|
|
317
329
|
# ssl - string - Should we require SSL?
|
|
318
330
|
# username - string - Remote server username.
|
|
319
331
|
# wasabi_access_key - string - Wasabi: Access Key.
|
|
@@ -347,6 +359,18 @@ class RemoteServer:
|
|
|
347
359
|
raise InvalidParameterError(
|
|
348
360
|
"Bad parameter: private_key_passphrase must be an str"
|
|
349
361
|
)
|
|
362
|
+
if "sharepoint_client_certificate" in params and not isinstance(
|
|
363
|
+
params["sharepoint_client_certificate"], str
|
|
364
|
+
):
|
|
365
|
+
raise InvalidParameterError(
|
|
366
|
+
"Bad parameter: sharepoint_client_certificate must be an str"
|
|
367
|
+
)
|
|
368
|
+
if "sharepoint_client_secret" in params and not isinstance(
|
|
369
|
+
params["sharepoint_client_secret"], str
|
|
370
|
+
):
|
|
371
|
+
raise InvalidParameterError(
|
|
372
|
+
"Bad parameter: sharepoint_client_secret must be an str"
|
|
373
|
+
)
|
|
350
374
|
if "ssl_certificate" in params and not isinstance(
|
|
351
375
|
params["ssl_certificate"], str
|
|
352
376
|
):
|
|
@@ -717,6 +741,24 @@ class RemoteServer:
|
|
|
717
741
|
raise InvalidParameterError(
|
|
718
742
|
"Bad parameter: server_type must be an str"
|
|
719
743
|
)
|
|
744
|
+
if "sharepoint_client_id" in params and not isinstance(
|
|
745
|
+
params["sharepoint_client_id"], str
|
|
746
|
+
):
|
|
747
|
+
raise InvalidParameterError(
|
|
748
|
+
"Bad parameter: sharepoint_client_id must be an str"
|
|
749
|
+
)
|
|
750
|
+
if "sharepoint_site_url" in params and not isinstance(
|
|
751
|
+
params["sharepoint_site_url"], str
|
|
752
|
+
):
|
|
753
|
+
raise InvalidParameterError(
|
|
754
|
+
"Bad parameter: sharepoint_site_url must be an str"
|
|
755
|
+
)
|
|
756
|
+
if "sharepoint_tenant_id" in params and not isinstance(
|
|
757
|
+
params["sharepoint_tenant_id"], str
|
|
758
|
+
):
|
|
759
|
+
raise InvalidParameterError(
|
|
760
|
+
"Bad parameter: sharepoint_tenant_id must be an str"
|
|
761
|
+
)
|
|
720
762
|
if "ssl" in params and not isinstance(params["ssl"], str):
|
|
721
763
|
raise InvalidParameterError("Bad parameter: ssl must be an str")
|
|
722
764
|
if "username" in params and not isinstance(params["username"], str):
|
|
@@ -875,6 +917,8 @@ def find_configuration_file(id, params=None, options=None):
|
|
|
875
917
|
# private_key - string - Private key, if needed.
|
|
876
918
|
# private_key_passphrase - string - Passphrase for private key if needed.
|
|
877
919
|
# reset_authentication - boolean - Reset authenticated account?
|
|
920
|
+
# sharepoint_client_certificate - string - SharePoint: PEM-encoded certificate and unencrypted private key for app-only authentication.
|
|
921
|
+
# sharepoint_client_secret - string - SharePoint: Microsoft Entra application client secret for app-only authentication.
|
|
878
922
|
# ssl_certificate - string - SSL client certificate.
|
|
879
923
|
# aws_secret_key - string - AWS: secret key.
|
|
880
924
|
# azure_blob_storage_access_key - string - Azure Blob Storage: Access Key
|
|
@@ -943,6 +987,9 @@ def find_configuration_file(id, params=None, options=None):
|
|
|
943
987
|
# server_certificate - string - Remote server certificate
|
|
944
988
|
# server_host_key - string - Remote server SSH Host Key. If provided, we will require that the server host key matches the provided key. Uses OpenSSH format similar to what would go into ~/.ssh/known_hosts
|
|
945
989
|
# server_type - string - Remote server type.
|
|
990
|
+
# sharepoint_client_id - string - SharePoint: Microsoft Entra application client ID for app-only authentication.
|
|
991
|
+
# sharepoint_site_url - string - SharePoint: Site URL to scope app-only authentication to a single site. Leave blank to browse all sites.
|
|
992
|
+
# sharepoint_tenant_id - string - SharePoint: Microsoft Entra tenant ID for app-only authentication.
|
|
946
993
|
# ssl - string - Should we require SSL?
|
|
947
994
|
# username - string - Remote server username.
|
|
948
995
|
# wasabi_access_key - string - Wasabi: Access Key.
|
|
@@ -974,6 +1021,18 @@ def create(params=None, options=None):
|
|
|
974
1021
|
raise InvalidParameterError(
|
|
975
1022
|
"Bad parameter: reset_authentication must be an bool"
|
|
976
1023
|
)
|
|
1024
|
+
if "sharepoint_client_certificate" in params and not isinstance(
|
|
1025
|
+
params["sharepoint_client_certificate"], str
|
|
1026
|
+
):
|
|
1027
|
+
raise InvalidParameterError(
|
|
1028
|
+
"Bad parameter: sharepoint_client_certificate must be an str"
|
|
1029
|
+
)
|
|
1030
|
+
if "sharepoint_client_secret" in params and not isinstance(
|
|
1031
|
+
params["sharepoint_client_secret"], str
|
|
1032
|
+
):
|
|
1033
|
+
raise InvalidParameterError(
|
|
1034
|
+
"Bad parameter: sharepoint_client_secret must be an str"
|
|
1035
|
+
)
|
|
977
1036
|
if "ssl_certificate" in params and not isinstance(
|
|
978
1037
|
params["ssl_certificate"], str
|
|
979
1038
|
):
|
|
@@ -1370,6 +1429,24 @@ def create(params=None, options=None):
|
|
|
1370
1429
|
raise InvalidParameterError(
|
|
1371
1430
|
"Bad parameter: server_type must be an str"
|
|
1372
1431
|
)
|
|
1432
|
+
if "sharepoint_client_id" in params and not isinstance(
|
|
1433
|
+
params["sharepoint_client_id"], str
|
|
1434
|
+
):
|
|
1435
|
+
raise InvalidParameterError(
|
|
1436
|
+
"Bad parameter: sharepoint_client_id must be an str"
|
|
1437
|
+
)
|
|
1438
|
+
if "sharepoint_site_url" in params and not isinstance(
|
|
1439
|
+
params["sharepoint_site_url"], str
|
|
1440
|
+
):
|
|
1441
|
+
raise InvalidParameterError(
|
|
1442
|
+
"Bad parameter: sharepoint_site_url must be an str"
|
|
1443
|
+
)
|
|
1444
|
+
if "sharepoint_tenant_id" in params and not isinstance(
|
|
1445
|
+
params["sharepoint_tenant_id"], str
|
|
1446
|
+
):
|
|
1447
|
+
raise InvalidParameterError(
|
|
1448
|
+
"Bad parameter: sharepoint_tenant_id must be an str"
|
|
1449
|
+
)
|
|
1373
1450
|
if "ssl" in params and not isinstance(params["ssl"], str):
|
|
1374
1451
|
raise InvalidParameterError("Bad parameter: ssl must be an str")
|
|
1375
1452
|
if "username" in params and not isinstance(params["username"], str):
|
|
@@ -1502,6 +1579,8 @@ def configuration_file(id, params=None, options=None):
|
|
|
1502
1579
|
# private_key - string - Private key, if needed.
|
|
1503
1580
|
# private_key_passphrase - string - Passphrase for private key if needed.
|
|
1504
1581
|
# reset_authentication - boolean - Reset authenticated account?
|
|
1582
|
+
# sharepoint_client_certificate - string - SharePoint: PEM-encoded certificate and unencrypted private key for app-only authentication.
|
|
1583
|
+
# sharepoint_client_secret - string - SharePoint: Microsoft Entra application client secret for app-only authentication.
|
|
1505
1584
|
# ssl_certificate - string - SSL client certificate.
|
|
1506
1585
|
# aws_secret_key - string - AWS: secret key.
|
|
1507
1586
|
# azure_blob_storage_access_key - string - Azure Blob Storage: Access Key
|
|
@@ -1570,6 +1649,9 @@ def configuration_file(id, params=None, options=None):
|
|
|
1570
1649
|
# server_certificate - string - Remote server certificate
|
|
1571
1650
|
# server_host_key - string - Remote server SSH Host Key. If provided, we will require that the server host key matches the provided key. Uses OpenSSH format similar to what would go into ~/.ssh/known_hosts
|
|
1572
1651
|
# server_type - string - Remote server type.
|
|
1652
|
+
# sharepoint_client_id - string - SharePoint: Microsoft Entra application client ID for app-only authentication.
|
|
1653
|
+
# sharepoint_site_url - string - SharePoint: Site URL to scope app-only authentication to a single site. Leave blank to browse all sites.
|
|
1654
|
+
# sharepoint_tenant_id - string - SharePoint: Microsoft Entra tenant ID for app-only authentication.
|
|
1573
1655
|
# ssl - string - Should we require SSL?
|
|
1574
1656
|
# username - string - Remote server username.
|
|
1575
1657
|
# wasabi_access_key - string - Wasabi: Access Key.
|
|
@@ -1601,6 +1683,18 @@ def update(id, params=None, options=None):
|
|
|
1601
1683
|
raise InvalidParameterError(
|
|
1602
1684
|
"Bad parameter: reset_authentication must be an bool"
|
|
1603
1685
|
)
|
|
1686
|
+
if "sharepoint_client_certificate" in params and not isinstance(
|
|
1687
|
+
params["sharepoint_client_certificate"], str
|
|
1688
|
+
):
|
|
1689
|
+
raise InvalidParameterError(
|
|
1690
|
+
"Bad parameter: sharepoint_client_certificate must be an str"
|
|
1691
|
+
)
|
|
1692
|
+
if "sharepoint_client_secret" in params and not isinstance(
|
|
1693
|
+
params["sharepoint_client_secret"], str
|
|
1694
|
+
):
|
|
1695
|
+
raise InvalidParameterError(
|
|
1696
|
+
"Bad parameter: sharepoint_client_secret must be an str"
|
|
1697
|
+
)
|
|
1604
1698
|
if "ssl_certificate" in params and not isinstance(
|
|
1605
1699
|
params["ssl_certificate"], str
|
|
1606
1700
|
):
|
|
@@ -1997,6 +2091,24 @@ def update(id, params=None, options=None):
|
|
|
1997
2091
|
raise InvalidParameterError(
|
|
1998
2092
|
"Bad parameter: server_type must be an str"
|
|
1999
2093
|
)
|
|
2094
|
+
if "sharepoint_client_id" in params and not isinstance(
|
|
2095
|
+
params["sharepoint_client_id"], str
|
|
2096
|
+
):
|
|
2097
|
+
raise InvalidParameterError(
|
|
2098
|
+
"Bad parameter: sharepoint_client_id must be an str"
|
|
2099
|
+
)
|
|
2100
|
+
if "sharepoint_site_url" in params and not isinstance(
|
|
2101
|
+
params["sharepoint_site_url"], str
|
|
2102
|
+
):
|
|
2103
|
+
raise InvalidParameterError(
|
|
2104
|
+
"Bad parameter: sharepoint_site_url must be an str"
|
|
2105
|
+
)
|
|
2106
|
+
if "sharepoint_tenant_id" in params and not isinstance(
|
|
2107
|
+
params["sharepoint_tenant_id"], str
|
|
2108
|
+
):
|
|
2109
|
+
raise InvalidParameterError(
|
|
2110
|
+
"Bad parameter: sharepoint_tenant_id must be an str"
|
|
2111
|
+
)
|
|
2000
2112
|
if "ssl" in params and not isinstance(params["ssl"], str):
|
|
2001
2113
|
raise InvalidParameterError("Bad parameter: ssl must be an str")
|
|
2002
2114
|
if "username" in params and not isinstance(params["username"], str):
|