js7-client-python 2.0.1__py3-none-any.whl
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.
- js7/__init__.py +8 -0
- js7/api/joc/http/v_2_8_2/agent/cluster/confirm_node_loss.py +36 -0
- js7/api/joc/http/v_2_8_2/agent/cluster/switchover.py +36 -0
- js7/api/joc/http/v_2_8_2/agent/delete.py +36 -0
- js7/api/joc/http/v_2_8_2/agents/agents.py +36 -0
- js7/api/joc/http/v_2_8_2/agents/cluster/delete.py +36 -0
- js7/api/joc/http/v_2_8_2/agents/cluster/deploy.py +36 -0
- js7/api/joc/http/v_2_8_2/agents/cluster/revoke.py +36 -0
- js7/api/joc/http/v_2_8_2/agents/cluster/store.py +36 -0
- js7/api/joc/http/v_2_8_2/agents/export.py +36 -0
- js7/api/joc/http/v_2_8_2/agents/import.py +74 -0
- js7/api/joc/http/v_2_8_2/agents/inventory/cluster/deploy.py +36 -0
- js7/api/joc/http/v_2_8_2/agents/inventory/cluster/revoke.py +36 -0
- js7/api/joc/http/v_2_8_2/agents/inventory/cluster/store.py +36 -0
- js7/api/joc/http/v_2_8_2/agents/inventory/cluster/subagents/delete.py +36 -0
- js7/api/joc/http/v_2_8_2/agents/inventory/cluster/subagents/disable.py +36 -0
- js7/api/joc/http/v_2_8_2/agents/inventory/cluster/subagents/enable.py +36 -0
- js7/api/joc/http/v_2_8_2/agents/inventory/cluster/subagents/reset.py +36 -0
- js7/api/joc/http/v_2_8_2/agents/inventory/cluster/subagents/store.py +36 -0
- js7/api/joc/http/v_2_8_2/agents/inventory/deploy.py +36 -0
- js7/api/joc/http/v_2_8_2/agents/inventory/disable.py +36 -0
- js7/api/joc/http/v_2_8_2/agents/inventory/enable.py +36 -0
- js7/api/joc/http/v_2_8_2/agents/inventory/revoke.py +36 -0
- js7/api/joc/http/v_2_8_2/agents/inventory/store.py +36 -0
- js7/api/joc/http/v_2_8_2/agents/reset.py +36 -0
- js7/api/joc/http/v_2_8_2/authentication/auth.py +32 -0
- js7/api/joc/http/v_2_8_2/authentication/joc_cockpit_permissions.py +28 -0
- js7/api/joc/http/v_2_8_2/authentication/login.py +35 -0
- js7/api/joc/http/v_2_8_2/authentication/logout.py +28 -0
- js7/api/joc/http/v_2_8_2/configuration/configuration.py +36 -0
- js7/api/joc/http/v_2_8_2/configuration/save.py +36 -0
- js7/api/joc/http/v_2_8_2/controller/abort.py +36 -0
- js7/api/joc/http/v_2_8_2/controller/abort_and_restart.py +36 -0
- js7/api/joc/http/v_2_8_2/controller/cluster/appoint_nodes.py +36 -0
- js7/api/joc/http/v_2_8_2/controller/cluster/confirm_node_loss.py +36 -0
- js7/api/joc/http/v_2_8_2/controller/cluster/switchover.py +36 -0
- js7/api/joc/http/v_2_8_2/controller/components.py +36 -0
- js7/api/joc/http/v_2_8_2/controller/controller.py +36 -0
- js7/api/joc/http/v_2_8_2/controller/register.py +42 -0
- js7/api/joc/http/v_2_8_2/controller/restart.py +36 -0
- js7/api/joc/http/v_2_8_2/controller/terminate.py +36 -0
- js7/api/joc/http/v_2_8_2/controller/test.py +36 -0
- js7/api/joc/http/v_2_8_2/controller/unregister.py +36 -0
- js7/api/joc/http/v_2_8_2/daily_plan/orders/cancel.py +36 -0
- js7/api/joc/http/v_2_8_2/daily_plan/orders/copy.py +36 -0
- js7/api/joc/http/v_2_8_2/daily_plan/orders/delete.py +36 -0
- js7/api/joc/http/v_2_8_2/daily_plan/orders/generate.py +36 -0
- js7/api/joc/http/v_2_8_2/daily_plan/orders/modify.py +36 -0
- js7/api/joc/http/v_2_8_2/daily_plan/orders/orders.py +36 -0
- js7/api/joc/http/v_2_8_2/daily_plan/orders/submit.py +36 -0
- js7/api/joc/http/v_2_8_2/daily_plan/projections/calendar.py +36 -0
- js7/api/joc/http/v_2_8_2/daily_plan/projections/dates.py +36 -0
- js7/api/joc/http/v_2_8_2/daily_plan/projections/recreate.py +28 -0
- js7/api/joc/http/v_2_8_2/daily_plan/submissions/delete.py +36 -0
- js7/api/joc/http/v_2_8_2/iam/account/change_password.py +36 -0
- js7/api/joc/http/v_2_8_2/iam/account/permissions.py +36 -0
- js7/api/joc/http/v_2_8_2/iam/account/rename.py +36 -0
- js7/api/joc/http/v_2_8_2/iam/account/store.py +36 -0
- js7/api/joc/http/v_2_8_2/iam/accounts/accounts.py +36 -0
- js7/api/joc/http/v_2_8_2/iam/accounts/delete.py +36 -0
- js7/api/joc/http/v_2_8_2/iam/accounts/disable.py +36 -0
- js7/api/joc/http/v_2_8_2/iam/accounts/enable.py +36 -0
- js7/api/joc/http/v_2_8_2/iam/accounts/reset_password.py +36 -0
- js7/api/joc/http/v_2_8_2/iam/blocked_account/store.py +36 -0
- js7/api/joc/http/v_2_8_2/iam/blocked_accounts/blocked_accounts.py +36 -0
- js7/api/joc/http/v_2_8_2/iam/blocked_accounts/delete.py +36 -0
- js7/api/joc/http/v_2_8_2/iam/folder/folder.py +36 -0
- js7/api/joc/http/v_2_8_2/iam/folder/rename.py +36 -0
- js7/api/joc/http/v_2_8_2/iam/folders/delete.py +36 -0
- js7/api/joc/http/v_2_8_2/iam/folders/folders.py +36 -0
- js7/api/joc/http/v_2_8_2/iam/folders/store.py +36 -0
- js7/api/joc/http/v_2_8_2/iam/identity_service/delete.py +36 -0
- js7/api/joc/http/v_2_8_2/iam/identity_service/identity_service.py +36 -0
- js7/api/joc/http/v_2_8_2/iam/identity_service/rename.py +36 -0
- js7/api/joc/http/v_2_8_2/iam/identity_service/store.py +42 -0
- js7/api/joc/http/v_2_8_2/iam/identity_services/identity_services.py +36 -0
- js7/api/joc/http/v_2_8_2/iam/permission/permission.py +36 -0
- js7/api/joc/http/v_2_8_2/iam/permission/rename.py +36 -0
- js7/api/joc/http/v_2_8_2/iam/permissions/delete.py +36 -0
- js7/api/joc/http/v_2_8_2/iam/permissions/permissions.py +36 -0
- js7/api/joc/http/v_2_8_2/iam/permissions/store.py +36 -0
- js7/api/joc/http/v_2_8_2/iam/role/rename.py +36 -0
- js7/api/joc/http/v_2_8_2/iam/role/role.py +36 -0
- js7/api/joc/http/v_2_8_2/iam/role/store.py +36 -0
- js7/api/joc/http/v_2_8_2/iam/roles/delete.py +36 -0
- js7/api/joc/http/v_2_8_2/iam/roles/roles.py +36 -0
- js7/api/joc/http/v_2_8_2/inventory/changes/changes.py +36 -0
- js7/api/joc/http/v_2_8_2/inventory/dependencies.py +33 -0
- js7/api/joc/http/v_2_8_2/inventory/deployment/deploy.py +36 -0
- js7/api/joc/http/v_2_8_2/inventory/deployment/import_deploy.py +66 -0
- js7/api/joc/http/v_2_8_2/inventory/deployment/revoke.py +36 -0
- js7/api/joc/http/v_2_8_2/inventory/export/export.py +36 -0
- js7/api/joc/http/v_2_8_2/inventory/export/folder.py +36 -0
- js7/api/joc/http/v_2_8_2/inventory/import_objects.py +88 -0
- js7/api/joc/http/v_2_8_2/inventory/releasables/recall/folder.py +36 -0
- js7/api/joc/http/v_2_8_2/inventory/releasables/recall/recall.py +36 -0
- js7/api/joc/http/v_2_8_2/inventory/release.py +36 -0
- js7/api/joc/http/v_2_8_2/inventory/remove/folder.py +36 -0
- js7/api/joc/http/v_2_8_2/inventory/remove/remove.py +36 -0
- js7/api/joc/http/v_2_8_2/inventory/repository/delete.py +36 -0
- js7/api/joc/http/v_2_8_2/inventory/repository/git/add.py +36 -0
- js7/api/joc/http/v_2_8_2/inventory/repository/git/checkout.py +36 -0
- js7/api/joc/http/v_2_8_2/inventory/repository/git/clone.py +36 -0
- js7/api/joc/http/v_2_8_2/inventory/repository/git/commit.py +36 -0
- js7/api/joc/http/v_2_8_2/inventory/repository/git/credentials/add.py +36 -0
- js7/api/joc/http/v_2_8_2/inventory/repository/git/credentials/credentials.py +28 -0
- js7/api/joc/http/v_2_8_2/inventory/repository/git/credentials/remove.py +36 -0
- js7/api/joc/http/v_2_8_2/inventory/repository/git/pull.py +36 -0
- js7/api/joc/http/v_2_8_2/inventory/repository/git/push.py +36 -0
- js7/api/joc/http/v_2_8_2/inventory/repository/read.py +36 -0
- js7/api/joc/http/v_2_8_2/inventory/repository/store.py +36 -0
- js7/api/joc/http/v_2_8_2/inventory/repository/update.py +36 -0
- js7/api/joc/http/v_2_8_2/inventory/revalidate/folder.py +36 -0
- js7/api/joc/http/v_2_8_2/inventory/store.py +36 -0
- js7/api/joc/http/v_2_8_2/inventory/trash/delete/delete.py +36 -0
- js7/api/joc/http/v_2_8_2/inventory/trash/delete/folder.py +36 -0
- js7/api/joc/http/v_2_8_2/inventory/trash/restore.py +36 -0
- js7/api/joc/http/v_2_8_2/inventory/validate.py +42 -0
- js7/api/joc/http/v_2_8_2/joc/cluster/restart.py +36 -0
- js7/api/joc/http/v_2_8_2/joc/cluster/run.py +36 -0
- js7/api/joc/http/v_2_8_2/joc/cluster/switch_member.py +36 -0
- js7/api/joc/http/v_2_8_2/joc/license.py +28 -0
- js7/api/joc/http/v_2_8_2/joc/proxies/restart.py +36 -0
- js7/api/joc/http/v_2_8_2/joc/version.py +28 -0
- js7/api/joc/http/v_2_8_2/joc/versions.py +36 -0
- js7/api/joc/http/v_2_8_2/orders/add.py +33 -0
- js7/api/joc/http/v_2_8_2/orders/cancel.py +33 -0
- js7/api/joc/http/v_2_8_2/orders/confirm.py +36 -0
- js7/api/joc/http/v_2_8_2/orders/continue.py +36 -0
- js7/api/joc/http/v_2_8_2/orders/history.py +36 -0
- js7/api/joc/http/v_2_8_2/orders/orders.py +36 -0
- js7/api/joc/http/v_2_8_2/orders/remove_when_terminated.py +33 -0
- js7/api/joc/http/v_2_8_2/orders/resume.py +36 -0
- js7/api/joc/http/v_2_8_2/orders/suspend.py +36 -0
- js7/api/joc/http/v_2_8_2/settings/settings.py +28 -0
- js7/api/joc/http/v_2_8_2/settings/store.py +36 -0
- js7/api/joc/http/v_2_8_2/tasks/history.py +36 -0
- js7/api/joc/http/v_2_8_2/workflow/transition.py +36 -0
- js7/api/joc/http/v_2_8_2/workflow/workflow.py +36 -0
- js7/api/joc/http/v_2_8_2/workflows/resume.py +36 -0
- js7/api/joc/http/v_2_8_2/workflows/skip.py +36 -0
- js7/api/joc/http/v_2_8_2/workflows/stop.py +36 -0
- js7/api/joc/http/v_2_8_2/workflows/suspend.py +36 -0
- js7/api/joc/http/v_2_8_2/workflows/unskip.py +36 -0
- js7/api/joc/http/v_2_8_2/workflows/unstop.py +36 -0
- js7/api/joc/http/v_2_8_2/workflows/workflows.py +36 -0
- js7/api/joc/interface/dispatcher.py +76 -0
- js7/api/joc/interface/interface.py +8 -0
- js7/api/joc/interface/resolver.py +75 -0
- js7/client/action/agent/confirm_node_loss_agent_action.py +75 -0
- js7/client/action/agent/delete_subagent_action.py +77 -0
- js7/client/action/agent/delete_subagent_clusters_action.py +75 -0
- js7/client/action/agent/deploy_cluster_agents_action.py +75 -0
- js7/client/action/agent/deploy_standalone_agents_action.py +75 -0
- js7/client/action/agent/deploy_subagent_clusters_action.py +75 -0
- js7/client/action/agent/disable_standalone_agents_action.py +75 -0
- js7/client/action/agent/disable_subagents_action.py +75 -0
- js7/client/action/agent/enable_standalone_agents_action.py +75 -0
- js7/client/action/agent/enable_subagents_action.py +75 -0
- js7/client/action/agent/export_agents_action.py +101 -0
- js7/client/action/agent/get_agents_status_action.py +55 -0
- js7/client/action/agent/import_agents_action.py +139 -0
- js7/client/action/agent/remove_agent_action.py +79 -0
- js7/client/action/agent/reset_agents_action.py +79 -0
- js7/client/action/agent/reset_subagent_action.py +79 -0
- js7/client/action/agent/revoke_cluster_agents_action.py +75 -0
- js7/client/action/agent/revoke_standalone_agents_action.py +75 -0
- js7/client/action/agent/revoke_subagent_clusters_action.py +75 -0
- js7/client/action/agent/store_cluster_agents_action.py +99 -0
- js7/client/action/agent/store_standalone_agents_action.py +87 -0
- js7/client/action/agent/store_subagent_clusters_action.py +83 -0
- js7/client/action/agent/store_subagents_action.py +97 -0
- js7/client/action/agent/switchover_agent_action.py +75 -0
- js7/client/action/controller/appoint_nodes_controller_action.py +67 -0
- js7/client/action/controller/cancel_and_restart_controller_action.py +72 -0
- js7/client/action/controller/cancel_controller_action.py +71 -0
- js7/client/action/controller/confirm_cluster_node_loss_action.py +68 -0
- js7/client/action/controller/get_controller_components_action.py +41 -0
- js7/client/action/controller/get_controller_status_action.py +72 -0
- js7/client/action/controller/register_controller_action.py +93 -0
- js7/client/action/controller/restart_controller_action.py +72 -0
- js7/client/action/controller/switchover_controller_cluster_action.py +67 -0
- js7/client/action/controller/terminate_controller_action.py +72 -0
- js7/client/action/controller/test_controller_instance_action.py +65 -0
- js7/client/action/controller/unregister_controller_action.py +68 -0
- js7/client/action/daily_plan/cancel_orders_action.py +59 -0
- js7/client/action/daily_plan/copy_orders_action.py +108 -0
- js7/client/action/daily_plan/create_projections_action.py +24 -0
- js7/client/action/daily_plan/delete_orders_action.py +80 -0
- js7/client/action/daily_plan/delete_submissions_action.py +83 -0
- js7/client/action/daily_plan/generate_orders_action.py +121 -0
- js7/client/action/daily_plan/get_calendar_projections_action.py +59 -0
- js7/client/action/daily_plan/get_orders_action.py +70 -0
- js7/client/action/daily_plan/get_projection_dates_action.py +59 -0
- js7/client/action/daily_plan/modify_orders_action.py +130 -0
- js7/client/action/daily_plan/submit_orders_action.py +79 -0
- js7/client/action/helper/decrypt_action.py +82 -0
- js7/client/action/helper/encrypt_action.py +87 -0
- js7/client/action/iam/block_account_action.py +71 -0
- js7/client/action/iam/change_account_password_action.py +96 -0
- js7/client/action/iam/disable_accounts_action.py +75 -0
- js7/client/action/iam/enable_accounts_action.py +75 -0
- js7/client/action/iam/get_account_permissions_action.py +75 -0
- js7/client/action/iam/get_accounts_action.py +76 -0
- js7/client/action/iam/get_blocked_accounts_action.py +76 -0
- js7/client/action/iam/get_folder_permissions_action.py +112 -0
- js7/client/action/iam/get_identity_service_settings_action.py +70 -0
- js7/client/action/iam/get_identity_services_action.py +102 -0
- js7/client/action/iam/get_permissions_action.py +113 -0
- js7/client/action/iam/get_roles_action.py +57 -0
- js7/client/action/iam/remove_accounts_action.py +75 -0
- js7/client/action/iam/remove_folder_permissions_action.py +91 -0
- js7/client/action/iam/remove_identity_service_action.py +67 -0
- js7/client/action/iam/remove_permissions_action.py +88 -0
- js7/client/action/iam/remove_roles_action.py +75 -0
- js7/client/action/iam/rename_account_action.py +83 -0
- js7/client/action/iam/rename_folder_permissions_action.py +100 -0
- js7/client/action/iam/rename_identity_service_action.py +75 -0
- js7/client/action/iam/rename_permission_action.py +103 -0
- js7/client/action/iam/rename_role_action.py +83 -0
- js7/client/action/iam/reset_account_passwords_action.py +75 -0
- js7/client/action/iam/set_folder_permissions_action.py +96 -0
- js7/client/action/iam/set_permissions_action.py +91 -0
- js7/client/action/iam/store_account_action.py +69 -0
- js7/client/action/iam/store_identity_service_action.py +75 -0
- js7/client/action/iam/store_identity_service_settings_action.py +74 -0
- js7/client/action/iam/store_role_action.py +79 -0
- js7/client/action/iam/unblock_accounts_action.py +67 -0
- js7/client/action/inventory/deploy_configurations_action.py +138 -0
- js7/client/action/inventory/export_configurations_action.py +203 -0
- js7/client/action/inventory/export_folders_action.py +160 -0
- js7/client/action/inventory/get_change_dependencies_action.py +161 -0
- js7/client/action/inventory/get_changes_action.py +59 -0
- js7/client/action/inventory/get_git_credentials_action.py +29 -0
- js7/client/action/inventory/git_add_action.py +72 -0
- js7/client/action/inventory/git_checkout_action.py +88 -0
- js7/client/action/inventory/git_clone_action.py +84 -0
- js7/client/action/inventory/git_commit_action.py +80 -0
- js7/client/action/inventory/git_pull_action.py +72 -0
- js7/client/action/inventory/git_push_action.py +76 -0
- js7/client/action/inventory/import_configurations_action.py +153 -0
- js7/client/action/inventory/import_deploy_configurations_action.py +188 -0
- js7/client/action/inventory/read_from_local_repository_action.py +67 -0
- js7/client/action/inventory/recall_folder_action.py +89 -0
- js7/client/action/inventory/recall_released_configuration_action.py +75 -0
- js7/client/action/inventory/release_configuartions_action.py +89 -0
- js7/client/action/inventory/remove_configurations_action.py +77 -0
- js7/client/action/inventory/remove_configurations_from_trash_action.py +80 -0
- js7/client/action/inventory/remove_folder_action.py +67 -0
- js7/client/action/inventory/remove_folder_from_trash_action.py +69 -0
- js7/client/action/inventory/remove_git_credentials_action.py +53 -0
- js7/client/action/inventory/remove_repository_configuration_action.py +84 -0
- js7/client/action/inventory/restore_configuration_from_trash_action.py +84 -0
- js7/client/action/inventory/revalidate_folder_action.py +46 -0
- js7/client/action/inventory/revoke_configurations_action.py +86 -0
- js7/client/action/inventory/store_configuration_action.py +79 -0
- js7/client/action/inventory/store_git_credentials_action.py +99 -0
- js7/client/action/inventory/store_repository_configuration_action.py +124 -0
- js7/client/action/inventory/update_repository_configuration_action.py +85 -0
- js7/client/action/inventory/validate_configuration_action.py +58 -0
- js7/client/action/joc/get_components_versions_action.py +57 -0
- js7/client/action/joc/get_license_info_action.py +22 -0
- js7/client/action/joc/get_settings_action.py +19 -0
- js7/client/action/joc/get_version_action.py +17 -0
- js7/client/action/joc/restart_proxies_action.py +50 -0
- js7/client/action/joc/restart_service_action.py +74 -0
- js7/client/action/joc/run_service_action.py +74 -0
- js7/client/action/joc/store_settings_action.py +62 -0
- js7/client/action/joc/switch_over_action.py +89 -0
- js7/client/action/order/add_orders_action.py +115 -0
- js7/client/action/order/cancel_orders_action.py +93 -0
- js7/client/action/order/confirm_orders_action.py +86 -0
- js7/client/action/order/continue_orders_action.py +86 -0
- js7/client/action/order/get_order_history_action.py +84 -0
- js7/client/action/order/get_orders_action.py +83 -0
- js7/client/action/order/remove_terminated_orders_action.py +86 -0
- js7/client/action/order/resume_orders_action.py +102 -0
- js7/client/action/order/suspend_orders_action.py +97 -0
- js7/client/action/task/get_task_history_info_action.py +88 -0
- js7/client/action/workflow/get_workflow_versions_action.py +131 -0
- js7/client/action/workflow/resume_workflows_action.py +76 -0
- js7/client/action/workflow/set_workflow_version_as_current_action.py +86 -0
- js7/client/action/workflow/skip_job_instructions_action.py +83 -0
- js7/client/action/workflow/stop_job_instructions_action.py +83 -0
- js7/client/action/workflow/suspend_workflows_action.py +76 -0
- js7/client/action/workflow/unskip_job_instructions_action.py +83 -0
- js7/client/action/workflow/unstop_job_instructions_action.py +79 -0
- js7/client/auth/auth_provider.py +109 -0
- js7/client/auth/login.py +34 -0
- js7/client/auth/logout.py +22 -0
- js7/client/client.py +250 -0
- js7/client/context.py +40 -0
- js7/client/feature/agent/agent.py +26 -0
- js7/client/feature/agent/deploy.py +134 -0
- js7/client/feature/agent/manage.py +363 -0
- js7/client/feature/agent/operate.py +577 -0
- js7/client/feature/controller/controller.py +19 -0
- js7/client/feature/controller/manage.py +214 -0
- js7/client/feature/controller/operate.py +274 -0
- js7/client/feature/daily_plan/daily_plan.py +14 -0
- js7/client/feature/daily_plan/manage.py +179 -0
- js7/client/feature/daily_plan/operate.py +354 -0
- js7/client/feature/iam/iam.py +14 -0
- js7/client/feature/iam/manage.py +1311 -0
- js7/client/feature/inventory/inventory.py +13 -0
- js7/client/feature/inventory/manage.py +943 -0
- js7/client/feature/inventory/manage_repository.py +533 -0
- js7/client/feature/joc/joc.py +18 -0
- js7/client/feature/joc/manage.py +102 -0
- js7/client/feature/joc/operate.py +185 -0
- js7/client/feature/order/manage.py +79 -0
- js7/client/feature/order/operate.py +346 -0
- js7/client/feature/order/order.py +18 -0
- js7/client/feature/task/task.py +54 -0
- js7/client/feature/workflow/manage.py +54 -0
- js7/client/feature/workflow/operate.py +336 -0
- js7/client/feature/workflow/workflow.py +19 -0
- js7/java/lib/3rd-party/bcpg-jdk15to18-1.78.1.jar +0 -0
- js7/java/lib/3rd-party/bcpkix-jdk15to18-1.78.1.jar +0 -0
- js7/java/lib/3rd-party/bcprov-jdk15to18-1.78.1.jar +0 -0
- js7/java/lib/3rd-party/bcutil-jdk15to18-1.78.1.jar +0 -0
- js7/java/lib/3rd-party/commons-io-2.15.1.jar +0 -0
- js7/java/lib/3rd-party/commons-lang3-3.14.0.jar +0 -0
- js7/java/lib/3rd-party/jackson-core-2.14.2.jar +0 -0
- js7/java/lib/3rd-party/jackson-databind-2.14.2.jar +0 -0
- js7/java/lib/3rd-party/jackson-dataformat-xml-2.14.2.jar +0 -0
- js7/java/lib/3rd-party/jakarta.annotation-api-2.1.1.jar +0 -0
- js7/java/lib/3rd-party/javax.activation-api-1.2.0.jar +0 -0
- js7/java/lib/3rd-party/jaxb-api-2.4.0-b180830.0359.jar +0 -0
- js7/java/lib/3rd-party/org.apache.logging.log4j.log4j-api-2.23.1.jar +0 -0
- js7/java/lib/3rd-party/org.apache.logging.log4j.log4j-core-2.23.1.jar +0 -0
- js7/java/lib/3rd-party/org.apache.logging.log4j.log4j-slf4j2-impl-2.23.1.jar +0 -0
- js7/java/lib/3rd-party/org.slf4j.slf4j-api-2.0.13.jar +0 -0
- js7/java/lib/3rd-party/stax2-api-4.2.1.jar +0 -0
- js7/java/lib/3rd-party/woodstox-core-6.5.0.jar +0 -0
- js7/java/lib/sos/sos-commons-encryption-2.7.3.jar +0 -0
- js7/java/lib/sos/sos-commons-exception-2.7.3.jar +0 -0
- js7/java/lib/sos/sos-commons-sign-2.7.3.jar +0 -0
- js7/java/lib/sos/sos-webservices-json-2.7.3.jar +0 -0
- js7/model/__init__.py +132 -0
- js7/model/configuration/auth_configuration.py +24 -0
- js7/model/configuration/client_configuration.py +6 -0
- js7/model/configuration/http_configuration.py +10 -0
- js7/model/error/http/joc_exceptions.py +151 -0
- js7/model/private/api/endpoint.py +30 -0
- js7/model/private/http/joc/joc_v_2_8_2.py +3666 -0
- js7/model/public/client/common/__init__.py +27 -0
- js7/model/public/client/common/accounts.py +21 -0
- js7/model/public/client/common/audit_log.py +8 -0
- js7/model/public/client/common/changes.py +18 -0
- js7/model/public/client/common/configurations.py +53 -0
- js7/model/public/client/common/cycle.py +12 -0
- js7/model/public/client/common/git_credentials.py +12 -0
- js7/model/public/client/common/identity_service.py +14 -0
- js7/model/public/client/common/schedule_time.py +50 -0
- js7/model/public/client/common/store_agents.py +96 -0
- js7/model/public/client/enum/__init__.py +19 -0
- js7/model/public/client/enum/object_types.py +48 -0
- js7/model/public/client/enum/operation_type.py +11 -0
- js7/model/public/client/enum/order_priority.py +9 -0
- js7/model/public/client/filter/__init__.py +35 -0
- js7/model/public/client/filter/daily_plan_order_filters.py +255 -0
- js7/model/public/client/filter/element/__init__.py +3 -0
- js7/model/public/client/filter/element/folder.py +6 -0
- js7/model/public/client/filter/element/workflow_id.py +10 -0
- js7/model/public/client/filter/export_filter.py +52 -0
- js7/model/public/client/filter/export_folders_filter.py +34 -0
- js7/model/public/client/filter/get_order_filter.py +59 -0
- js7/model/public/client/filter/order_history_filter.py +113 -0
- js7/model/public/client/filter/resume_order_filter.py +45 -0
- js7/model/public/client/filter/suspend_order_filter.py +44 -0
- js7/model/public/client/filter/tasks_filter.py +50 -0
- js7/model/public/client/input/__init__.py +2 -0
- js7/model/public/client/input/add_order.py +50 -0
- js7/service/http_service.py +206 -0
- js7/util/bytes_converter/bytes_to_archive_bytes.py +52 -0
- js7/util/bytes_converter/bytes_to_file.py +12 -0
- js7/util/bytes_converter/files_to_bytes.py +52 -0
- js7/util/bytes_converter/read_bytes_archive_files_to_bytes.py +69 -0
- js7/util/bytes_converter/sign_to_bytes.py +106 -0
- js7/util/check_matching_version.py +20 -0
- js7/util/detect_archive_type.py +37 -0
- js7/util/str_converter/order_id_to_order_name.py +5 -0
- js7/validator/http/joc_http_status_validator.py +155 -0
- js7_client_python-2.0.1.0.dist-info/LICENSE +674 -0
- js7_client_python-2.0.1.0.dist-info/METADATA +763 -0
- js7_client_python-2.0.1.0.dist-info/RECORD +389 -0
- js7_client_python-2.0.1.0.dist-info/WHEEL +5 -0
- js7_client_python-2.0.1.0.dist-info/top_level.txt +1 -0
|
@@ -0,0 +1,255 @@
|
|
|
1
|
+
from datetime import date, datetime
|
|
2
|
+
from typing import List, Literal, Optional
|
|
3
|
+
from pydantic import BaseModel
|
|
4
|
+
|
|
5
|
+
from .element.folder import Folder
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
class DailyPlanOrdersFilter(BaseModel):
|
|
9
|
+
"""
|
|
10
|
+
Following elements filter the orders that should be considered.
|
|
11
|
+
All filter elements will be combined with "and".
|
|
12
|
+
The elements in the lists schedulePaths, scheduleFolders, workflowPaths, workflowFolders and controllerIds
|
|
13
|
+
will be combined with "or".
|
|
14
|
+
"""
|
|
15
|
+
|
|
16
|
+
date_from: Optional[date] = None
|
|
17
|
+
"""
|
|
18
|
+
The value has to have the format YYYY-MM-DD. The begin of the day range of the daily plan.
|
|
19
|
+
Depends on the settings for daily plan timezone and daily plan period.
|
|
20
|
+
"""
|
|
21
|
+
|
|
22
|
+
date_to: Optional[date] = None
|
|
23
|
+
"""
|
|
24
|
+
The value has to have the format YYYY-MM-DD. The end of the day range of the daily plan.
|
|
25
|
+
Depends on the settings for daily plan timezone and daily plan period.
|
|
26
|
+
"""
|
|
27
|
+
|
|
28
|
+
order_ids: Optional[List[str]] = None
|
|
29
|
+
"""Filters all orders in the given daily plan that have one of the order IDs in the given list of `order_ids`."""
|
|
30
|
+
|
|
31
|
+
workflow_paths: Optional[List[str]] = None
|
|
32
|
+
"""Filters all orders in the given daily plan range that are assigned to one of the given workflows in `workflow_paths`."""
|
|
33
|
+
|
|
34
|
+
workflow_folders: Optional[List[Folder]] = None
|
|
35
|
+
"""
|
|
36
|
+
Filters all orders in the given daily plan range that have been generated with a schedule assigned to a workflow
|
|
37
|
+
located in one of the given folders. Depending on the value for `recursive` in one of the subfolders recursively too.
|
|
38
|
+
"""
|
|
39
|
+
|
|
40
|
+
schedule_paths: Optional[List[str]] = None
|
|
41
|
+
"""
|
|
42
|
+
Filters all orders in the given daily plan range that have been generated with one of the given schedules in `schedule_paths`.
|
|
43
|
+
"""
|
|
44
|
+
|
|
45
|
+
schedule_folders: Optional[List[Folder]] = None
|
|
46
|
+
"""
|
|
47
|
+
Filters all orders in the given daily plan range that have been generated with a schedule located in one of the given folders.
|
|
48
|
+
Depending on the value for `recursive` in one of the subfolders recursively too.
|
|
49
|
+
"""
|
|
50
|
+
|
|
51
|
+
workflow_tags: Optional[List[str]] = None
|
|
52
|
+
"""Tags to be assigned to workflows."""
|
|
53
|
+
|
|
54
|
+
order_tags: Optional[List[str]] = None
|
|
55
|
+
"""Tags to be assigned to orders."""
|
|
56
|
+
|
|
57
|
+
controller_ids: Optional[List[str]] = None
|
|
58
|
+
"""Filters orders that have been generated for the Controller IDs that are in the list `controller_ids`."""
|
|
59
|
+
|
|
60
|
+
states: Optional[List[Literal["PLANNED", "SUBMITTED", "FINISHED"]]] = None
|
|
61
|
+
"""Filters all orders that have one of the states specified in this list of states."""
|
|
62
|
+
|
|
63
|
+
late: bool = False
|
|
64
|
+
"""If true filters all orders that are late. Late means that the current time is after the planned time+2 minutes."""
|
|
65
|
+
|
|
66
|
+
|
|
67
|
+
class DailyPlanCancelOrdersFilter(BaseModel):
|
|
68
|
+
"""
|
|
69
|
+
Following elements filter the orders that should be considered.
|
|
70
|
+
All filter elements will be combined with "and".
|
|
71
|
+
The elements in the lists schedulePaths, scheduleFolders, workflowPaths, workflowFolders and controllerIds
|
|
72
|
+
will be combined with "or".
|
|
73
|
+
"""
|
|
74
|
+
|
|
75
|
+
date_from: Optional[datetime] = None
|
|
76
|
+
"""
|
|
77
|
+
The value has to have the format YYYY-MM-DD. The begin of the day range of the daily plan.
|
|
78
|
+
Depends on the settings for daily plan timezone and daily plan period.
|
|
79
|
+
"""
|
|
80
|
+
|
|
81
|
+
date_to: Optional[datetime] = None
|
|
82
|
+
"""
|
|
83
|
+
The value has to have the format YYYY-MM-DD. The end of the day range of the daily plan.
|
|
84
|
+
Depends on the settings for daily plan timezone and daily plan period.
|
|
85
|
+
"""
|
|
86
|
+
|
|
87
|
+
order_ids: Optional[List[str]] = None
|
|
88
|
+
"""Filters all orders in the given daily plan that have one of the order IDs in the given list of `order_ids`."""
|
|
89
|
+
|
|
90
|
+
workflow_paths: Optional[List[str]] = None
|
|
91
|
+
"""Filters all orders in the given daily plan range that are assigned to one of the given workflows in `workflow_paths`."""
|
|
92
|
+
|
|
93
|
+
workflow_folders: Optional[List[Folder]] = None
|
|
94
|
+
"""
|
|
95
|
+
Filters all orders in the given daily plan range that have been generated with a schedule assigned to a workflow
|
|
96
|
+
located in one of the given folders. Depending on the value for `recursive` in one of the subfolders recursively too.
|
|
97
|
+
"""
|
|
98
|
+
|
|
99
|
+
schedule_paths: Optional[List[str]] = None
|
|
100
|
+
"""
|
|
101
|
+
Filters all orders in the given daily plan range that have been generated with one of the given schedules in `schedule_paths`.
|
|
102
|
+
"""
|
|
103
|
+
|
|
104
|
+
schedule_folders: Optional[List[Folder]] = None
|
|
105
|
+
"""
|
|
106
|
+
Filters all orders in the given daily plan range that have been generated with a schedule located in one of the given folders.
|
|
107
|
+
Depending on the value for `recursive` in one of the subfolders recursively too.
|
|
108
|
+
"""
|
|
109
|
+
|
|
110
|
+
controller_ids: Optional[List[str]] = None
|
|
111
|
+
"""Filters orders that have been generated for the Controller IDs that are in the list `controller_ids`."""
|
|
112
|
+
|
|
113
|
+
|
|
114
|
+
class DailyPlanSubmitOrderFilter(BaseModel):
|
|
115
|
+
date_from: Optional[date] = None
|
|
116
|
+
"""
|
|
117
|
+
The value has to have the format YYYY-MM-DD. The begin of the day range of the daily plan.
|
|
118
|
+
Depends on the settings for daily plan timezone and daily plan period.
|
|
119
|
+
"""
|
|
120
|
+
|
|
121
|
+
date_to: Optional[date] = None
|
|
122
|
+
"""
|
|
123
|
+
The value has to have the format YYYY-MM-DD. The end of the day range of the daily plan.
|
|
124
|
+
Depends on the settings for daily plan timezone and daily plan period.
|
|
125
|
+
"""
|
|
126
|
+
|
|
127
|
+
schedule_paths: Optional[List[str]] = None
|
|
128
|
+
"""
|
|
129
|
+
Filters all orders in the given daily plan range that have been generated with one of the given schedules in `schedule_paths`.
|
|
130
|
+
"""
|
|
131
|
+
|
|
132
|
+
schedule_folders: Optional[List[Folder]] = None
|
|
133
|
+
"""
|
|
134
|
+
Filters all orders in the given daily plan range that have been generated with a schedule located in one of the given folders.
|
|
135
|
+
Depending on the value for `recursive` in one of the subfolders recursively too.
|
|
136
|
+
"""
|
|
137
|
+
|
|
138
|
+
workflow_paths: Optional[List[str]] = None
|
|
139
|
+
"""Filters all orders in the given daily plan range that are assigned to one of the given workflows in `workflow_paths`."""
|
|
140
|
+
|
|
141
|
+
workflow_folders: Optional[List[Folder]] = None
|
|
142
|
+
"""
|
|
143
|
+
Filters all orders in the given daily plan range that have been generated with a schedule assigned to a workflow
|
|
144
|
+
located in one of the given folders. Depending on the value for `recursive` in one of the subfolders recursively too.
|
|
145
|
+
"""
|
|
146
|
+
|
|
147
|
+
controller_ids: Optional[List[str]] = None
|
|
148
|
+
"""Filters orders that have been generated for the Controller IDs that are in the list `controller_ids`."""
|
|
149
|
+
|
|
150
|
+
order_ids: Optional[List[str]]
|
|
151
|
+
"""Filters all orders in the given daily plan that have one of the order IDs in the given list of `order_ids`."""
|
|
152
|
+
|
|
153
|
+
submission_history_ids: Optional[List[int]] = None
|
|
154
|
+
"""
|
|
155
|
+
Filters all orders in the given daily plan range that have been generated by one of the given submissions.
|
|
156
|
+
To retrieve submissionHistoryIds call /dailyplan/submissions.
|
|
157
|
+
A submission can be manually executed or the automatically executed by the daily plan service.
|
|
158
|
+
"""
|
|
159
|
+
|
|
160
|
+
class DailyPlanDeleteOrdersFilter(BaseModel):
|
|
161
|
+
date_from: Optional[date] = None
|
|
162
|
+
"""
|
|
163
|
+
The value has to have the format YYYY-MM-DD. The begin of the day range of the daily plan.
|
|
164
|
+
Depends on the settings for daily plan timezone and daily plan period.
|
|
165
|
+
"""
|
|
166
|
+
|
|
167
|
+
date_to: Optional[date] = None
|
|
168
|
+
"""
|
|
169
|
+
The value has to have the format YYYY-MM-DD. The end of the day range of the daily plan.
|
|
170
|
+
Depends on the settings for daily plan timezone and daily plan period.
|
|
171
|
+
"""
|
|
172
|
+
|
|
173
|
+
schedule_paths: Optional[List[str]] = None
|
|
174
|
+
"""
|
|
175
|
+
Filters all orders in the given daily plan range that have been generated with one of the given schedules in `schedule_paths`.
|
|
176
|
+
"""
|
|
177
|
+
|
|
178
|
+
schedule_folders: Optional[List[Folder]] = None
|
|
179
|
+
"""
|
|
180
|
+
Filters all orders in the given daily plan range that have been generated with a schedule located in one of the given folders.
|
|
181
|
+
Depending on the value for `recursive` in one of the subfolders recursively too.
|
|
182
|
+
"""
|
|
183
|
+
|
|
184
|
+
workflow_paths: Optional[List[str]] = None
|
|
185
|
+
"""Filters all orders in the given daily plan range that are assigned to one of the given workflows in `workflow_paths`."""
|
|
186
|
+
|
|
187
|
+
workflow_folders: Optional[List[Folder]] = None
|
|
188
|
+
"""
|
|
189
|
+
Filters all orders in the given daily plan range that have been generated with a schedule assigned to a workflow
|
|
190
|
+
located in one of the given folders. Depending on the value for `recursive` in one of the subfolders recursively too.
|
|
191
|
+
"""
|
|
192
|
+
|
|
193
|
+
controller_ids: Optional[List[str]] = None
|
|
194
|
+
"""Filters orders that have been generated for the Controller IDs that are in the list `controller_ids`."""
|
|
195
|
+
|
|
196
|
+
order_ids: Optional[List[str]]
|
|
197
|
+
"""Filters all orders in the given daily plan that have one of the order IDs in the given list of `order_ids`."""
|
|
198
|
+
|
|
199
|
+
late: bool = False
|
|
200
|
+
"""If true filters all orders that are late. Late means that the current time is after the planned time+2 minutes."""
|
|
201
|
+
|
|
202
|
+
submission_history_ids: Optional[List[int]] = None
|
|
203
|
+
"""
|
|
204
|
+
Filters all orders in the given daily plan range that have been generated by one of the given submissions.
|
|
205
|
+
To retrieve submissionHistoryIds call /dailyplan/submissions.
|
|
206
|
+
A submission can be manually executed or the automatically executed by the daily plan service.
|
|
207
|
+
"""
|
|
208
|
+
|
|
209
|
+
|
|
210
|
+
class DailyPlanProjectionsFilter(BaseModel):
|
|
211
|
+
"""
|
|
212
|
+
Filters all orders in the given daily plan range that have been generated by one of the given submissions.
|
|
213
|
+
To retrieve submissionHistoryIds call /dailyplan/submissions.
|
|
214
|
+
A submission can be manually executed or the automatically executed by the daily plan service.
|
|
215
|
+
"""
|
|
216
|
+
|
|
217
|
+
date_from: Optional[date] = None
|
|
218
|
+
"""
|
|
219
|
+
The value has to have the format YYYY-MM-DD. The begin of the day range of the daily plan.
|
|
220
|
+
Depends on the settings for daily plan timezone and daily plan period.
|
|
221
|
+
"""
|
|
222
|
+
|
|
223
|
+
date_to: Optional[date] = None
|
|
224
|
+
"""
|
|
225
|
+
The value has to have the format YYYY-MM-DD. The end of the day range of the daily plan.
|
|
226
|
+
Depends on the settings for daily plan timezone and daily plan period.
|
|
227
|
+
"""
|
|
228
|
+
|
|
229
|
+
schedule_paths: Optional[List[str]] = None
|
|
230
|
+
"""
|
|
231
|
+
Filters all orders in the given daily plan range that have been generated with one of the given schedules in `schedule_paths`.
|
|
232
|
+
"""
|
|
233
|
+
|
|
234
|
+
schedule_folders: Optional[List[Folder]] = None
|
|
235
|
+
"""
|
|
236
|
+
Filters all orders in the given daily plan range that have been generated with a schedule located in one of the given folders.
|
|
237
|
+
Depending on the value for `recursive` in one of the subfolders recursively too.
|
|
238
|
+
"""
|
|
239
|
+
|
|
240
|
+
workflow_paths: Optional[List[str]] = None
|
|
241
|
+
"""Filters all orders in the given daily plan range that are assigned to one of the given workflows in `workflow_paths`."""
|
|
242
|
+
|
|
243
|
+
workflow_folders: Optional[List[Folder]] = None
|
|
244
|
+
"""
|
|
245
|
+
Filters all orders in the given daily plan range that have been generated with a schedule assigned to a workflow
|
|
246
|
+
located in one of the given folders. Depending on the value for `recursive` in one of the subfolders recursively too.
|
|
247
|
+
"""
|
|
248
|
+
|
|
249
|
+
without_start_time: bool = False
|
|
250
|
+
"""If true, the workflows that have a start time for a day are considered. With false it is the other way round."""
|
|
251
|
+
|
|
252
|
+
controller_ids: Optional[List[str]] = None
|
|
253
|
+
"""Filters orders that have been generated for the Controller IDs that are in the list `controller_ids`."""
|
|
254
|
+
|
|
255
|
+
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
from typing import Optional
|
|
2
|
+
from pydantic import BaseModel
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
class WorkflowID(BaseModel):
|
|
6
|
+
workflow_path: str
|
|
7
|
+
"""Specifies the path of a workflow."""
|
|
8
|
+
|
|
9
|
+
version_id: Optional[str] = None
|
|
10
|
+
"""Optional, string Field to specify the version of a workflow."""
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
from typing import List, Optional, Union
|
|
2
|
+
from pydantic import BaseModel, model_validator
|
|
3
|
+
|
|
4
|
+
from ..common.configurations import DraftConfiguration, DeployConfiguration, ReleaseConfiguration
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
class ExportFilter(BaseModel):
|
|
8
|
+
use_short_path: Optional[bool] = None
|
|
9
|
+
"""Determines if the desired objects are exported to the archive with a shortened path, e.g. if set to true the object /a/b/c/myWorkflow will be exported as /c/myWorkflow."""
|
|
10
|
+
|
|
11
|
+
start_folder: Optional[str] = None
|
|
12
|
+
"""
|
|
13
|
+
The path given determines the starting point for the relative path. E.g. `start_folder` /a/b/c results in objects starting with
|
|
14
|
+
relative path c/... in the exported archive. Only used in conjunction with `use_short_path`.
|
|
15
|
+
"""
|
|
16
|
+
|
|
17
|
+
include_all_tags: Optional[bool] = None
|
|
18
|
+
"""If false then only Tags and Tag Groups assigned the exported scheduling objects will be added to the export file."""
|
|
19
|
+
|
|
20
|
+
for_signing: bool
|
|
21
|
+
"""
|
|
22
|
+
Controls the export mode.
|
|
23
|
+
|
|
24
|
+
- `True`: Signing mode — only deployable objects are exported and prepared for cryptographic signing.
|
|
25
|
+
- `False`: Shallow copy mode — both releasable and deployable objects are included in the export.
|
|
26
|
+
"""
|
|
27
|
+
|
|
28
|
+
without_invalid_drafts: Optional[bool] = None
|
|
29
|
+
"""Decides if invalid draft objects are excluded from export."""
|
|
30
|
+
|
|
31
|
+
configurations: List[Union[DraftConfiguration, DeployConfiguration, ReleaseConfiguration]]
|
|
32
|
+
|
|
33
|
+
@model_validator(mode="after")
|
|
34
|
+
def validate_configurations(self):
|
|
35
|
+
# Validate: for_signing
|
|
36
|
+
if self.for_signing:
|
|
37
|
+
for c in self.configurations:
|
|
38
|
+
if not isinstance(c, (DeployConfiguration, DraftConfiguration)):
|
|
39
|
+
raise ValueError(
|
|
40
|
+
"When 'for_signing' is set to True, only DeployConfiguration and DraftConfiguration objects are supported."
|
|
41
|
+
)
|
|
42
|
+
# Validate: shallow_copy
|
|
43
|
+
else:
|
|
44
|
+
for c in self.configurations:
|
|
45
|
+
if not isinstance(c, (DeployConfiguration, ReleaseConfiguration)):
|
|
46
|
+
raise ValueError(
|
|
47
|
+
"When 'for_signing' is set to False (shallow copy mode), only DeployConfiguration and ReleaseConfiguration objects are supported."
|
|
48
|
+
)
|
|
49
|
+
|
|
50
|
+
return self
|
|
51
|
+
|
|
52
|
+
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
from typing import List, Optional, Union
|
|
2
|
+
from pydantic import BaseModel
|
|
3
|
+
|
|
4
|
+
from ..enum.object_types import DeployObjectType, ReleaseObjectType
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
class ExportFoldersFilter(BaseModel):
|
|
8
|
+
folder_paths: List[str]
|
|
9
|
+
"""Paths of the inventory directories that should be exported."""
|
|
10
|
+
|
|
11
|
+
use_short_path: bool = False
|
|
12
|
+
"""
|
|
13
|
+
Determines if the desired objects are exported to the archive with a shortened path, e.g.
|
|
14
|
+
if set to `True` the object `/a/b/c/myWorkflow` will be exported as `/c/myWorkflow`.
|
|
15
|
+
"""
|
|
16
|
+
|
|
17
|
+
recursive: bool = True
|
|
18
|
+
"""A switch to determine if the specified folders should be read recursively."""
|
|
19
|
+
|
|
20
|
+
for_signing: bool
|
|
21
|
+
|
|
22
|
+
object_types: Optional[List[Union[DeployObjectType, ReleaseObjectType]]] = None
|
|
23
|
+
|
|
24
|
+
no_draft: bool = False
|
|
25
|
+
"""Determines if draft configurations are excluded from export."""
|
|
26
|
+
|
|
27
|
+
no_deployed: bool = False
|
|
28
|
+
"""Determines if already deployed configurations are excluded from export."""
|
|
29
|
+
|
|
30
|
+
no_released: bool = False
|
|
31
|
+
"""Determines if already released configurations are excluded from export."""
|
|
32
|
+
|
|
33
|
+
no_invalid: bool = False
|
|
34
|
+
"""Determines if invalid draft configurations are excluded from export."""
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
from datetime import datetime
|
|
2
|
+
from typing import List, Literal, Optional, Union
|
|
3
|
+
from pydantic import BaseModel
|
|
4
|
+
|
|
5
|
+
from .element.folder import Folder
|
|
6
|
+
from .element.workflow_id import WorkflowID
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
class GetOrderFilter(BaseModel):
|
|
10
|
+
order_ids: Optional[List[str]] = None
|
|
11
|
+
"""Filtered response by a collection of orderIds If this parameter is specified then parameters such as workflowIds, states, folders and regex where applicable are ignored."""
|
|
12
|
+
|
|
13
|
+
workflow_ids: Optional[List[WorkflowID]] = None
|
|
14
|
+
"""
|
|
15
|
+
Filtered response by a collection of workflows specified by its path and optional version If this parameter
|
|
16
|
+
is specified then parameters such as folders, states, regex and agentName where applicable are ignored.
|
|
17
|
+
"""
|
|
18
|
+
|
|
19
|
+
order_tags: Optional[List[str]] = None
|
|
20
|
+
|
|
21
|
+
folders: Optional[List[Folder]] = None
|
|
22
|
+
"""Limits the result to a collection of folders."""
|
|
23
|
+
|
|
24
|
+
compact: bool = False
|
|
25
|
+
"""A compact response is returned if this parameter is 'true'."""
|
|
26
|
+
|
|
27
|
+
regex: Optional[str] = None
|
|
28
|
+
"""Regular expression to filter the collection."""
|
|
29
|
+
|
|
30
|
+
states: Optional[List[Literal["PENDING", "SCHEDULED", "SCHEDULED", "SCHEDULED", "SUSPENDED", "WAITING", "PROMPTING", "FAILED", "BLOCKED"]]] = None
|
|
31
|
+
"""Filtered all orders with states."""
|
|
32
|
+
|
|
33
|
+
state_date_from: Optional[Union[str, datetime]] = None
|
|
34
|
+
"""
|
|
35
|
+
Filters those orders whose current status is younger than the specified point in time.
|
|
36
|
+
|
|
37
|
+
0 or [number][smhdwMy] (where smhdwMy unit for second, minute, etc) or ISO 8601 timestamp.
|
|
38
|
+
"""
|
|
39
|
+
|
|
40
|
+
state_date_to: Optional[Union[str, datetime]] = None
|
|
41
|
+
"""
|
|
42
|
+
Filters those orders whose current status is older than the specified point in time.
|
|
43
|
+
|
|
44
|
+
0 or [number][smhdwMy] (where smhdwMy unit for second, minute, etc) or ISO 8601 timestamp.
|
|
45
|
+
"""
|
|
46
|
+
|
|
47
|
+
date_to: Optional[datetime] = None
|
|
48
|
+
"""Filters Orders whose schedule is before a date."""
|
|
49
|
+
|
|
50
|
+
timezone: Optional[str] = None
|
|
51
|
+
"""If this parameter is set then it beats the time offset of absolute dates in `date_to`."""
|
|
52
|
+
|
|
53
|
+
limit: Optional[int] = None
|
|
54
|
+
"""Limits the number of resulting items, -1=unlimited."""
|
|
55
|
+
|
|
56
|
+
without_workflow_tags: Optional[bool] = None
|
|
57
|
+
"""if true then response doesn't contain 'workflowsTagPerWorkflow'"""
|
|
58
|
+
|
|
59
|
+
workflow_tags: Optional[List[str]] = None
|
|
@@ -0,0 +1,113 @@
|
|
|
1
|
+
from typing import List, Literal, Optional
|
|
2
|
+
from pydantic import BaseModel
|
|
3
|
+
|
|
4
|
+
from .element.folder import Folder
|
|
5
|
+
|
|
6
|
+
class OrderHistoryFilter(BaseModel):
|
|
7
|
+
date_from: Optional[str] = None
|
|
8
|
+
"""
|
|
9
|
+
The value has multiple formats
|
|
10
|
+
- Filters items starting from a date.
|
|
11
|
+
- an ISO 8601 date format with the time offset and milliseconds being optional, e.g.
|
|
12
|
+
- YYYY-MM-DDThh:mm:ss[.s][Z (Z means +00)]
|
|
13
|
+
- YYYY-MM-DDThh:mm:ss[.s][+01:00]
|
|
14
|
+
- YYYY-MM-DDThh:mm:ss[.s][+0100]
|
|
15
|
+
- YYYY-MM-DDThh:mm:ss[.s][+01]
|
|
16
|
+
- a format for a period relative to the current time, e.g. 6h, 12h, 1d, 1w that specifies the quantity followed by a qualifier:
|
|
17
|
+
- s (seconds)
|
|
18
|
+
- m (minutes)
|
|
19
|
+
- h (hours)
|
|
20
|
+
- d (days)
|
|
21
|
+
- w (weeks)
|
|
22
|
+
- M (months)
|
|
23
|
+
- y (years)
|
|
24
|
+
- a time offset is optional (e.g. 2d+02:00)
|
|
25
|
+
- it can also be specified with the parameter `timezone`
|
|
26
|
+
- if `timezone` is undefined then UTC is used
|
|
27
|
+
- the value 0 indicates the current time
|
|
28
|
+
"""
|
|
29
|
+
|
|
30
|
+
date_to: Optional[str] = None
|
|
31
|
+
"""
|
|
32
|
+
The value has multiple formats
|
|
33
|
+
- Filters items starting from a date.
|
|
34
|
+
- an ISO 8601 date format with the time offset and milliseconds being optional, e.g.
|
|
35
|
+
- YYYY-MM-DDThh:mm:ss[.s][Z (Z means +00)]
|
|
36
|
+
- YYYY-MM-DDThh:mm:ss[.s][+01:00]
|
|
37
|
+
- YYYY-MM-DDThh:mm:ss[.s][+0100]
|
|
38
|
+
- YYYY-MM-DDThh:mm:ss[.s][+01]
|
|
39
|
+
- a format for a period relative to the current time, e.g. 6h, 12h, 1d, 1w that specifies the quantity followed by a qualifier:
|
|
40
|
+
- s (seconds)
|
|
41
|
+
- m (minutes)
|
|
42
|
+
- h (hours)
|
|
43
|
+
- d (days)
|
|
44
|
+
- w (weeks)
|
|
45
|
+
- M (months)
|
|
46
|
+
- y (years)
|
|
47
|
+
- a time offset is optional (e.g. 2d+02:00)
|
|
48
|
+
- it can also be specified with the parameter `timezone`
|
|
49
|
+
- if `timezone` is undefined then UTC is used
|
|
50
|
+
- the value 0 indicates the current time
|
|
51
|
+
"""
|
|
52
|
+
|
|
53
|
+
completed_date_from: Optional[str] = None
|
|
54
|
+
"""
|
|
55
|
+
The value has multiple formats
|
|
56
|
+
- Filters items starting from a date.
|
|
57
|
+
- an ISO 8601 date format with the time offset and milliseconds being optional, e.g.
|
|
58
|
+
- YYYY-MM-DDThh:mm:ss[.s][Z (Z means +00)]
|
|
59
|
+
- YYYY-MM-DDThh:mm:ss[.s][+01:00]
|
|
60
|
+
- YYYY-MM-DDThh:mm:ss[.s][+0100]
|
|
61
|
+
- YYYY-MM-DDThh:mm:ss[.s][+01]
|
|
62
|
+
- a format for a period relative to the current time, e.g. 6h, 12h, 1d, 1w that specifies the quantity followed by a qualifier:
|
|
63
|
+
- s (seconds)
|
|
64
|
+
- m (minutes)
|
|
65
|
+
- h (hours)
|
|
66
|
+
- d (days)
|
|
67
|
+
- w (weeks)
|
|
68
|
+
- M (months)
|
|
69
|
+
- y (years)
|
|
70
|
+
- a time offset is optional (e.g. 2d+02:00)
|
|
71
|
+
- it can also be specified with the parameter `timezone`
|
|
72
|
+
- if `timezone` is undefined then UTC is used
|
|
73
|
+
- the value 0 indicates the current time
|
|
74
|
+
"""
|
|
75
|
+
|
|
76
|
+
completed_date_to: Optional[str] = None
|
|
77
|
+
"""
|
|
78
|
+
The value has multiple formats
|
|
79
|
+
- Filters items starting from a date.
|
|
80
|
+
- an ISO 8601 date format with the time offset and milliseconds being optional, e.g.
|
|
81
|
+
- YYYY-MM-DDThh:mm:ss[.s][Z (Z means +00)]
|
|
82
|
+
- YYYY-MM-DDThh:mm:ss[.s][+01:00]
|
|
83
|
+
- YYYY-MM-DDThh:mm:ss[.s][+0100]
|
|
84
|
+
- YYYY-MM-DDThh:mm:ss[.s][+01]
|
|
85
|
+
- a format for a period relative to the current time, e.g. 6h, 12h, 1d, 1w that specifies the quantity followed by a qualifier:
|
|
86
|
+
- s (seconds)
|
|
87
|
+
- m (minutes)
|
|
88
|
+
- h (hours)
|
|
89
|
+
- d (days)
|
|
90
|
+
- w (weeks)
|
|
91
|
+
- M (months)
|
|
92
|
+
- y (years)
|
|
93
|
+
- a time offset is optional (e.g. 2d+02:00)
|
|
94
|
+
- it can also be specified with the parameter `timezone`
|
|
95
|
+
- if `timezone` is undefined then UTC is used
|
|
96
|
+
- the value 0 indicates the current time
|
|
97
|
+
- Filters items ending before a date
|
|
98
|
+
"""
|
|
99
|
+
|
|
100
|
+
order_id: Optional[str] = None
|
|
101
|
+
"""pattern with wildcards '*' and '?' where '*' match zero or more characters and '?' match any single character."""
|
|
102
|
+
|
|
103
|
+
workflow_name: Optional[str] = None
|
|
104
|
+
"""pattern with wildcards '*' and '?' where '*' match zero or more characters and '?' match any single character."""
|
|
105
|
+
|
|
106
|
+
folders: Optional[List[Folder]] = None
|
|
107
|
+
"""Limits the result to a collection of folders."""
|
|
108
|
+
|
|
109
|
+
history_states: Optional[List[Literal["FAILED", "INCOMPLETE", "SUCCESSFUL"]]] = None
|
|
110
|
+
"""Limits result to specified states."""
|
|
111
|
+
|
|
112
|
+
limit: int = 10000
|
|
113
|
+
"""only for db history urls to restrict the number of responsed records; -1=unlimited."""
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
from typing import Any, Dict, List, Literal, Optional, Union
|
|
2
|
+
from pydantic import BaseModel
|
|
3
|
+
|
|
4
|
+
from .element.workflow_id import WorkflowID
|
|
5
|
+
from .element.folder import Folder
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
class ResumeOrderFilter(BaseModel):
|
|
9
|
+
order_ids: Optional[List[str]] = None
|
|
10
|
+
"""
|
|
11
|
+
Specified the order ids which should be modified.
|
|
12
|
+
If this parameter is specified then the parameters `workflow_ids`, folders and states where applicable are ignored.
|
|
13
|
+
"""
|
|
14
|
+
|
|
15
|
+
workflow_ids: Optional[List[WorkflowID]] = None
|
|
16
|
+
"""
|
|
17
|
+
Filtered response by a collection of workflows specified by its path and optional version
|
|
18
|
+
If this parameter is specified the parameter `folders` where applicable are ignored.
|
|
19
|
+
"""
|
|
20
|
+
|
|
21
|
+
folders: Optional[List[Folder]] = None
|
|
22
|
+
"""Limits the result to a collection of folders."""
|
|
23
|
+
|
|
24
|
+
states: Optional[List[Literal["PENDING", "SCHEDULED", "SCHEDULED", "SCHEDULED", "SUSPENDED", "WAITING", "PROMPTING", "FAILED", "BLOCKED"]]] = None
|
|
25
|
+
"""Filtered all orders with states."""
|
|
26
|
+
|
|
27
|
+
force: Optional[bool] = None
|
|
28
|
+
"""force execution of non-startable jobs after kill."""
|
|
29
|
+
|
|
30
|
+
from_current_block: Optional[bool] = None
|
|
31
|
+
"""Orders get the position from the beginning of the current block. Orders that are on top level in their scope are resumed from the current position."""
|
|
32
|
+
|
|
33
|
+
position: Optional[Union[List[Union[int, str]], str]] = None
|
|
34
|
+
"""The position can also be specified by the label of the instruction."""
|
|
35
|
+
|
|
36
|
+
variables: Optional[Dict[str, Any]] = None
|
|
37
|
+
"""
|
|
38
|
+
Variables can only be set for resumimg a single order that position is not at the beginning of its workflow's scope.
|
|
39
|
+
Otherwise an error is raised.
|
|
40
|
+
It change the returned variables of the previous jobs.
|
|
41
|
+
An object with key-value pairs. The value can be a string, number or boolean.
|
|
42
|
+
"""
|
|
43
|
+
|
|
44
|
+
cycle_end_time: Optional[float] = None
|
|
45
|
+
"""A relative cycle end time in seconds."""
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
from datetime import datetime
|
|
2
|
+
from typing import List, Literal, Optional
|
|
3
|
+
from pydantic import BaseModel
|
|
4
|
+
|
|
5
|
+
from .element.workflow_id import WorkflowID
|
|
6
|
+
from .element.folder import Folder
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
class SuspendOrderFilter(BaseModel):
|
|
10
|
+
order_ids: Optional[List[str]] = None
|
|
11
|
+
"""
|
|
12
|
+
Specified the order ids which should be modified.
|
|
13
|
+
If this parameter is specified then the parameters `workflow_ids`, folders and states where applicable are ignored.
|
|
14
|
+
"""
|
|
15
|
+
|
|
16
|
+
workflow_ids: Optional[List[WorkflowID]] = None
|
|
17
|
+
"""
|
|
18
|
+
Filtered response by a collection of workflows specified by its path and optional version
|
|
19
|
+
If this parameter is specified the parameter `folders` where applicable are ignored.
|
|
20
|
+
"""
|
|
21
|
+
|
|
22
|
+
folders: Optional[List[Folder]] = None
|
|
23
|
+
"""Limits the result to a collection of folders."""
|
|
24
|
+
|
|
25
|
+
states: Optional[List[Literal["PENDING", "SCHEDULED", "SCHEDULED", "SCHEDULED", "SUSPENDED", "WAITING", "PROMPTING", "FAILED", "BLOCKED"]]] = None
|
|
26
|
+
"""Filtered all orders with states."""
|
|
27
|
+
|
|
28
|
+
date_from: Optional[datetime] = None
|
|
29
|
+
"""Filters items starting from a date."""
|
|
30
|
+
|
|
31
|
+
date_to: Optional[datetime] = None
|
|
32
|
+
"""Filters items ending before a date."""
|
|
33
|
+
|
|
34
|
+
timezone: Optional[str] = None
|
|
35
|
+
"""If this parameter is set then it beats the time offset in `date_from` and `date_to`."""
|
|
36
|
+
|
|
37
|
+
reset: Optional[bool] = None
|
|
38
|
+
"""reset any instruction that is currently executed."""
|
|
39
|
+
|
|
40
|
+
kill: Optional[bool] = None
|
|
41
|
+
"""without a signal(false) or with SIGTERM(true)."""
|
|
42
|
+
|
|
43
|
+
deep: Optional[bool] = None
|
|
44
|
+
"""if true then child orders are also processed."""
|