python-alfresco-api 1.0.0__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.
- python_alfresco_api/__init__.py +43 -0
- python_alfresco_api/auth_util.py +103 -0
- python_alfresco_api/client_factory.py +111 -0
- python_alfresco_api/clients/__init__.py +1 -0
- python_alfresco_api/clients/auth_client.py +85 -0
- python_alfresco_api/clients/core_client.py +85 -0
- python_alfresco_api/clients/discovery_client.py +85 -0
- python_alfresco_api/clients/model_client.py +85 -0
- python_alfresco_api/clients/search_client.py +85 -0
- python_alfresco_api/clients/search_sql_client.py +85 -0
- python_alfresco_api/clients/workflow_client.py +85 -0
- python_alfresco_api/events/__init__.py +15 -0
- python_alfresco_api/events/event_client.py +268 -0
- python_alfresco_api/events/models.py +35 -0
- python_alfresco_api/examples/basic_usage.py +52 -0
- python_alfresco_api/examples/llm_integration.py +155 -0
- python_alfresco_api/models/__init__.py +45 -0
- python_alfresco_api/models/alfresco_auth_models.py +42 -0
- python_alfresco_api/models/alfresco_core_models.py +1288 -0
- python_alfresco_api/models/alfresco_discovery_models.py +84 -0
- python_alfresco_api/models/alfresco_model_models.py +161 -0
- python_alfresco_api/models/alfresco_search_models.py +720 -0
- python_alfresco_api/models/alfresco_search_sql_models.py +91 -0
- python_alfresco_api/models/alfresco_workflow_models.py +357 -0
- python_alfresco_api/raw_clients/alfresco_auth_client/.gitignore +23 -0
- python_alfresco_api/raw_clients/alfresco_auth_client/README.md +124 -0
- python_alfresco_api/raw_clients/alfresco_auth_client/auth_client/__init__.py +8 -0
- python_alfresco_api/raw_clients/alfresco_auth_client/auth_client/api/__init__.py +1 -0
- python_alfresco_api/raw_clients/alfresco_auth_client/auth_client/api/authentication/__init__.py +1 -0
- python_alfresco_api/raw_clients/alfresco_auth_client/auth_client/api/authentication/create_ticket.py +236 -0
- python_alfresco_api/raw_clients/alfresco_auth_client/auth_client/api/authentication/delete_ticket.py +91 -0
- python_alfresco_api/raw_clients/alfresco_auth_client/auth_client/api/authentication/validate_ticket.py +171 -0
- python_alfresco_api/raw_clients/alfresco_auth_client/auth_client/client.py +268 -0
- python_alfresco_api/raw_clients/alfresco_auth_client/auth_client/errors.py +16 -0
- python_alfresco_api/raw_clients/alfresco_auth_client/auth_client/models/__init__.py +19 -0
- python_alfresco_api/raw_clients/alfresco_auth_client/auth_client/models/error.py +65 -0
- python_alfresco_api/raw_clients/alfresco_auth_client/auth_client/models/error_error.py +104 -0
- python_alfresco_api/raw_clients/alfresco_auth_client/auth_client/models/ticket.py +68 -0
- python_alfresco_api/raw_clients/alfresco_auth_client/auth_client/models/ticket_body.py +68 -0
- python_alfresco_api/raw_clients/alfresco_auth_client/auth_client/models/ticket_entry.py +65 -0
- python_alfresco_api/raw_clients/alfresco_auth_client/auth_client/models/valid_ticket.py +59 -0
- python_alfresco_api/raw_clients/alfresco_auth_client/auth_client/models/valid_ticket_entry.py +65 -0
- python_alfresco_api/raw_clients/alfresco_auth_client/auth_client/py.typed +1 -0
- python_alfresco_api/raw_clients/alfresco_auth_client/auth_client/types.py +54 -0
- python_alfresco_api/raw_clients/alfresco_auth_client/pyproject.toml +27 -0
- python_alfresco_api/raw_clients/alfresco_core_client/.gitignore +23 -0
- python_alfresco_api/raw_clients/alfresco_core_client/README.md +124 -0
- python_alfresco_api/raw_clients/alfresco_core_client/core_client/__init__.py +8 -0
- python_alfresco_api/raw_clients/alfresco_core_client/core_client/api/__init__.py +1 -0
- python_alfresco_api/raw_clients/alfresco_core_client/core_client/api/actions/__init__.py +1 -0
- python_alfresco_api/raw_clients/alfresco_core_client/core_client/api/actions/action_details.py +172 -0
- python_alfresco_api/raw_clients/alfresco_core_client/core_client/api/actions/action_exec.py +384 -0
- python_alfresco_api/raw_clients/alfresco_core_client/core_client/api/actions/list_actions.py +261 -0
- python_alfresco_api/raw_clients/alfresco_core_client/core_client/api/actions/node_actions.py +277 -0
- python_alfresco_api/raw_clients/alfresco_core_client/core_client/api/activities/__init__.py +1 -0
- python_alfresco_api/raw_clients/alfresco_core_client/core_client/api/activities/list_activities_for_person.py +263 -0
- python_alfresco_api/raw_clients/alfresco_core_client/core_client/api/audit/__init__.py +1 -0
- python_alfresco_api/raw_clients/alfresco_core_client/core_client/api/audit/delete_audit_entries_for_audit_app.py +148 -0
- python_alfresco_api/raw_clients/alfresco_core_client/core_client/api/audit/delete_audit_entry.py +122 -0
- python_alfresco_api/raw_clients/alfresco_core_client/core_client/api/audit/get_audit_app.py +245 -0
- python_alfresco_api/raw_clients/alfresco_core_client/core_client/api/audit/get_audit_entry.py +227 -0
- python_alfresco_api/raw_clients/alfresco_core_client/core_client/api/audit/list_audit_apps.py +256 -0
- python_alfresco_api/raw_clients/alfresco_core_client/core_client/api/audit/list_audit_entries_for_audit_app.py +372 -0
- python_alfresco_api/raw_clients/alfresco_core_client/core_client/api/audit/list_audit_entries_for_node.py +329 -0
- python_alfresco_api/raw_clients/alfresco_core_client/core_client/api/audit/update_audit_app.py +259 -0
- python_alfresco_api/raw_clients/alfresco_core_client/core_client/api/comments/__init__.py +1 -0
- python_alfresco_api/raw_clients/alfresco_core_client/core_client/api/comments/create_comment.py +414 -0
- python_alfresco_api/raw_clients/alfresco_core_client/core_client/api/comments/delete_comment.py +112 -0
- python_alfresco_api/raw_clients/alfresco_core_client/core_client/api/comments/list_comments.py +229 -0
- python_alfresco_api/raw_clients/alfresco_core_client/core_client/api/comments/update_comment.py +232 -0
- python_alfresco_api/raw_clients/alfresco_core_client/core_client/api/favorites/__init__.py +1 -0
- python_alfresco_api/raw_clients/alfresco_core_client/core_client/api/favorites/create_favorite.py +443 -0
- python_alfresco_api/raw_clients/alfresco_core_client/core_client/api/favorites/create_site_favorite.py +407 -0
- python_alfresco_api/raw_clients/alfresco_core_client/core_client/api/favorites/delete_favorite.py +112 -0
- python_alfresco_api/raw_clients/alfresco_core_client/core_client/api/favorites/delete_site_favorite.py +120 -0
- python_alfresco_api/raw_clients/alfresco_core_client/core_client/api/favorites/get_favorite.py +229 -0
- python_alfresco_api/raw_clients/alfresco_core_client/core_client/api/favorites/get_favorite_site.py +137 -0
- python_alfresco_api/raw_clients/alfresco_core_client/core_client/api/favorites/list_favorite_sites_for_person.py +150 -0
- python_alfresco_api/raw_clients/alfresco_core_client/core_client/api/favorites/list_favorites.py +419 -0
- python_alfresco_api/raw_clients/alfresco_core_client/core_client/api/groups/__init__.py +1 -0
- python_alfresco_api/raw_clients/alfresco_core_client/core_client/api/groups/create_group.py +285 -0
- python_alfresco_api/raw_clients/alfresco_core_client/core_client/api/groups/create_group_membership.py +255 -0
- python_alfresco_api/raw_clients/alfresco_core_client/core_client/api/groups/delete_group.py +138 -0
- python_alfresco_api/raw_clients/alfresco_core_client/core_client/api/groups/delete_group_membership.py +130 -0
- python_alfresco_api/raw_clients/alfresco_core_client/core_client/api/groups/get_group.py +227 -0
- python_alfresco_api/raw_clients/alfresco_core_client/core_client/api/groups/list_group_memberships.py +331 -0
- python_alfresco_api/raw_clients/alfresco_core_client/core_client/api/groups/list_group_memberships_for_person.py +447 -0
- python_alfresco_api/raw_clients/alfresco_core_client/core_client/api/groups/list_groups.py +487 -0
- python_alfresco_api/raw_clients/alfresco_core_client/core_client/api/groups/update_group.py +254 -0
- python_alfresco_api/raw_clients/alfresco_core_client/core_client/api/networks/__init__.py +1 -0
- python_alfresco_api/raw_clients/alfresco_core_client/core_client/api/networks/get_network.py +189 -0
- python_alfresco_api/raw_clients/alfresco_core_client/core_client/api/networks/get_network_for_person.py +210 -0
- python_alfresco_api/raw_clients/alfresco_core_client/core_client/api/networks/list_networks_for_person.py +230 -0
- python_alfresco_api/raw_clients/alfresco_core_client/core_client/api/nodes/__init__.py +1 -0
- python_alfresco_api/raw_clients/alfresco_core_client/core_client/api/nodes/copy_node.py +285 -0
- python_alfresco_api/raw_clients/alfresco_core_client/core_client/api/nodes/create_association.py +410 -0
- python_alfresco_api/raw_clients/alfresco_core_client/core_client/api/nodes/create_node.py +1327 -0
- python_alfresco_api/raw_clients/alfresco_core_client/core_client/api/nodes/create_secondary_child_association.py +410 -0
- python_alfresco_api/raw_clients/alfresco_core_client/core_client/api/nodes/delete_association.py +149 -0
- python_alfresco_api/raw_clients/alfresco_core_client/core_client/api/nodes/delete_node.py +162 -0
- python_alfresco_api/raw_clients/alfresco_core_client/core_client/api/nodes/delete_secondary_child_association.py +145 -0
- python_alfresco_api/raw_clients/alfresco_core_client/core_client/api/nodes/get_node.py +245 -0
- python_alfresco_api/raw_clients/alfresco_core_client/core_client/api/nodes/list_node_children.py +440 -0
- python_alfresco_api/raw_clients/alfresco_core_client/core_client/api/nodes/list_parents.py +290 -0
- python_alfresco_api/raw_clients/alfresco_core_client/core_client/api/nodes/list_secondary_children.py +286 -0
- python_alfresco_api/raw_clients/alfresco_core_client/core_client/api/nodes/list_source_associations.py +237 -0
- python_alfresco_api/raw_clients/alfresco_core_client/core_client/api/nodes/list_target_associations.py +237 -0
- python_alfresco_api/raw_clients/alfresco_core_client/core_client/api/nodes/lock_node.py +374 -0
- python_alfresco_api/raw_clients/alfresco_core_client/core_client/api/nodes/move_node.py +281 -0
- python_alfresco_api/raw_clients/alfresco_core_client/core_client/api/nodes/unlock_node.py +245 -0
- python_alfresco_api/raw_clients/alfresco_core_client/core_client/api/nodes/update_node.py +477 -0
- python_alfresco_api/raw_clients/alfresco_core_client/core_client/api/nodes/update_node_content.py +363 -0
- python_alfresco_api/raw_clients/alfresco_core_client/core_client/api/people/__init__.py +1 -0
- python_alfresco_api/raw_clients/alfresco_core_client/core_client/api/people/create_person.py +298 -0
- python_alfresco_api/raw_clients/alfresco_core_client/core_client/api/people/delete_avatar_image.py +115 -0
- python_alfresco_api/raw_clients/alfresco_core_client/core_client/api/people/get_person.py +197 -0
- python_alfresco_api/raw_clients/alfresco_core_client/core_client/api/people/list_people.py +292 -0
- python_alfresco_api/raw_clients/alfresco_core_client/core_client/api/people/request_password_reset.py +153 -0
- python_alfresco_api/raw_clients/alfresco_core_client/core_client/api/people/reset_password.py +139 -0
- python_alfresco_api/raw_clients/alfresco_core_client/core_client/api/people/update_avatar_image.py +144 -0
- python_alfresco_api/raw_clients/alfresco_core_client/core_client/api/people/update_person.py +327 -0
- python_alfresco_api/raw_clients/alfresco_core_client/core_client/api/preferences/__init__.py +1 -0
- python_alfresco_api/raw_clients/alfresco_core_client/core_client/api/preferences/get_preference.py +213 -0
- python_alfresco_api/raw_clients/alfresco_core_client/core_client/api/preferences/list_preferences.py +245 -0
- python_alfresco_api/raw_clients/alfresco_core_client/core_client/api/probes/__init__.py +1 -0
- python_alfresco_api/raw_clients/alfresco_core_client/core_client/api/probes/get_probe.py +196 -0
- python_alfresco_api/raw_clients/alfresco_core_client/core_client/api/queries/__init__.py +1 -0
- python_alfresco_api/raw_clients/alfresco_core_client/core_client/api/queries/find_nodes.py +380 -0
- python_alfresco_api/raw_clients/alfresco_core_client/core_client/api/queries/find_people.py +296 -0
- python_alfresco_api/raw_clients/alfresco_core_client/core_client/api/queries/find_sites.py +181 -0
- python_alfresco_api/raw_clients/alfresco_core_client/core_client/api/ratings/__init__.py +1 -0
- python_alfresco_api/raw_clients/alfresco_core_client/core_client/api/ratings/create_rating.py +216 -0
- python_alfresco_api/raw_clients/alfresco_core_client/core_client/api/ratings/delete_rating.py +110 -0
- python_alfresco_api/raw_clients/alfresco_core_client/core_client/api/ratings/get_rating.py +205 -0
- python_alfresco_api/raw_clients/alfresco_core_client/core_client/api/ratings/list_ratings.py +222 -0
- python_alfresco_api/raw_clients/alfresco_core_client/core_client/api/renditions/__init__.py +1 -0
- python_alfresco_api/raw_clients/alfresco_core_client/core_client/api/renditions/create_rendition.py +165 -0
- python_alfresco_api/raw_clients/alfresco_core_client/core_client/api/renditions/get_rendition.py +191 -0
- python_alfresco_api/raw_clients/alfresco_core_client/core_client/api/renditions/list_renditions.py +247 -0
- python_alfresco_api/raw_clients/alfresco_core_client/core_client/api/shared_links/__init__.py +1 -0
- python_alfresco_api/raw_clients/alfresco_core_client/core_client/api/shared_links/create_shared_link.py +440 -0
- python_alfresco_api/raw_clients/alfresco_core_client/core_client/api/shared_links/delete_shared_link.py +111 -0
- python_alfresco_api/raw_clients/alfresco_core_client/core_client/api/shared_links/email_shared_link.py +187 -0
- python_alfresco_api/raw_clients/alfresco_core_client/core_client/api/shared_links/get_shared_link.py +208 -0
- python_alfresco_api/raw_clients/alfresco_core_client/core_client/api/shared_links/get_shared_link_rendition.py +208 -0
- python_alfresco_api/raw_clients/alfresco_core_client/core_client/api/shared_links/list_shared_link_renditions.py +195 -0
- python_alfresco_api/raw_clients/alfresco_core_client/core_client/api/shared_links/list_shared_links.py +271 -0
- python_alfresco_api/raw_clients/alfresco_core_client/core_client/api/sites/__init__.py +1 -0
- python_alfresco_api/raw_clients/alfresco_core_client/core_client/api/sites/approve_site_membership_request.py +130 -0
- python_alfresco_api/raw_clients/alfresco_core_client/core_client/api/sites/create_site.py +202 -0
- python_alfresco_api/raw_clients/alfresco_core_client/core_client/api/sites/create_site_group_membership.py +415 -0
- python_alfresco_api/raw_clients/alfresco_core_client/core_client/api/sites/create_site_membership.py +423 -0
- python_alfresco_api/raw_clients/alfresco_core_client/core_client/api/sites/create_site_membership_request_for_person.py +247 -0
- python_alfresco_api/raw_clients/alfresco_core_client/core_client/api/sites/delete_site.py +122 -0
- python_alfresco_api/raw_clients/alfresco_core_client/core_client/api/sites/delete_site_group_membership.py +114 -0
- python_alfresco_api/raw_clients/alfresco_core_client/core_client/api/sites/delete_site_membership.py +114 -0
- python_alfresco_api/raw_clients/alfresco_core_client/core_client/api/sites/delete_site_membership_for_person.py +112 -0
- python_alfresco_api/raw_clients/alfresco_core_client/core_client/api/sites/delete_site_membership_request_for_person.py +112 -0
- python_alfresco_api/raw_clients/alfresco_core_client/core_client/api/sites/get_site.py +155 -0
- python_alfresco_api/raw_clients/alfresco_core_client/core_client/api/sites/get_site_container.py +202 -0
- python_alfresco_api/raw_clients/alfresco_core_client/core_client/api/sites/get_site_group_membership.py +210 -0
- python_alfresco_api/raw_clients/alfresco_core_client/core_client/api/sites/get_site_membership.py +210 -0
- python_alfresco_api/raw_clients/alfresco_core_client/core_client/api/sites/get_site_membership_for_person.py +110 -0
- python_alfresco_api/raw_clients/alfresco_core_client/core_client/api/sites/get_site_membership_request_for_person.py +129 -0
- python_alfresco_api/raw_clients/alfresco_core_client/core_client/api/sites/get_site_membership_requests.py +176 -0
- python_alfresco_api/raw_clients/alfresco_core_client/core_client/api/sites/list_site_containers.py +222 -0
- python_alfresco_api/raw_clients/alfresco_core_client/core_client/api/sites/list_site_groups.py +230 -0
- python_alfresco_api/raw_clients/alfresco_core_client/core_client/api/sites/list_site_membership_requests_for_person.py +142 -0
- python_alfresco_api/raw_clients/alfresco_core_client/core_client/api/sites/list_site_memberships.py +237 -0
- python_alfresco_api/raw_clients/alfresco_core_client/core_client/api/sites/list_site_memberships_for_person.py +225 -0
- python_alfresco_api/raw_clients/alfresco_core_client/core_client/api/sites/list_sites.py +236 -0
- python_alfresco_api/raw_clients/alfresco_core_client/core_client/api/sites/reject_site_membership_request.py +130 -0
- python_alfresco_api/raw_clients/alfresco_core_client/core_client/api/sites/update_site.py +147 -0
- python_alfresco_api/raw_clients/alfresco_core_client/core_client/api/sites/update_site_group_membership.py +257 -0
- python_alfresco_api/raw_clients/alfresco_core_client/core_client/api/sites/update_site_membership.py +265 -0
- python_alfresco_api/raw_clients/alfresco_core_client/core_client/api/sites/update_site_membership_request_for_person.py +146 -0
- python_alfresco_api/raw_clients/alfresco_core_client/core_client/api/tags/__init__.py +1 -0
- python_alfresco_api/raw_clients/alfresco_core_client/core_client/api/tags/create_tag_for_node.py +411 -0
- python_alfresco_api/raw_clients/alfresco_core_client/core_client/api/tags/delete_tag_from_node.py +110 -0
- python_alfresco_api/raw_clients/alfresco_core_client/core_client/api/tags/get_tag.py +189 -0
- python_alfresco_api/raw_clients/alfresco_core_client/core_client/api/tags/list_tags.py +233 -0
- python_alfresco_api/raw_clients/alfresco_core_client/core_client/api/tags/list_tags_for_node.py +225 -0
- python_alfresco_api/raw_clients/alfresco_core_client/core_client/api/tags/update_tag.py +213 -0
- python_alfresco_api/raw_clients/alfresco_core_client/core_client/api/trashcan/__init__.py +1 -0
- python_alfresco_api/raw_clients/alfresco_core_client/core_client/api/trashcan/delete_deleted_node.py +109 -0
- python_alfresco_api/raw_clients/alfresco_core_client/core_client/api/trashcan/get_archived_node_rendition.py +191 -0
- python_alfresco_api/raw_clients/alfresco_core_client/core_client/api/trashcan/get_deleted_node.py +203 -0
- python_alfresco_api/raw_clients/alfresco_core_client/core_client/api/trashcan/list_deleted_node_renditions.py +247 -0
- python_alfresco_api/raw_clients/alfresco_core_client/core_client/api/trashcan/list_deleted_nodes.py +234 -0
- python_alfresco_api/raw_clients/alfresco_core_client/core_client/api/trashcan/restore_deleted_node.py +270 -0
- python_alfresco_api/raw_clients/alfresco_core_client/core_client/api/versions/__init__.py +1 -0
- python_alfresco_api/raw_clients/alfresco_core_client/core_client/api/versions/create_version_rendition.py +172 -0
- python_alfresco_api/raw_clients/alfresco_core_client/core_client/api/versions/delete_version.py +140 -0
- python_alfresco_api/raw_clients/alfresco_core_client/core_client/api/versions/get_version.py +191 -0
- python_alfresco_api/raw_clients/alfresco_core_client/core_client/api/versions/get_version_rendition.py +204 -0
- python_alfresco_api/raw_clients/alfresco_core_client/core_client/api/versions/list_version_history.py +264 -0
- python_alfresco_api/raw_clients/alfresco_core_client/core_client/api/versions/list_version_renditions.py +260 -0
- python_alfresco_api/raw_clients/alfresco_core_client/core_client/api/versions/revert_version.py +252 -0
- python_alfresco_api/raw_clients/alfresco_core_client/core_client/client.py +268 -0
- python_alfresco_api/raw_clients/alfresco_core_client/core_client/errors.py +16 -0
- python_alfresco_api/raw_clients/alfresco_core_client/core_client/models/__init__.py +391 -0
- python_alfresco_api/raw_clients/alfresco_core_client/core_client/models/action_body_exec.py +92 -0
- python_alfresco_api/raw_clients/alfresco_core_client/core_client/models/action_body_exec_params.py +44 -0
- python_alfresco_api/raw_clients/alfresco_core_client/core_client/models/action_definition.py +130 -0
- python_alfresco_api/raw_clients/alfresco_core_client/core_client/models/action_definition_entry.py +65 -0
- python_alfresco_api/raw_clients/alfresco_core_client/core_client/models/action_definition_list.py +72 -0
- python_alfresco_api/raw_clients/alfresco_core_client/core_client/models/action_definition_list_list.py +93 -0
- python_alfresco_api/raw_clients/alfresco_core_client/core_client/models/action_exec_result.py +59 -0
- python_alfresco_api/raw_clients/alfresco_core_client/core_client/models/action_exec_result_entry.py +65 -0
- python_alfresco_api/raw_clients/alfresco_core_client/core_client/models/action_parameter_definition.py +95 -0
- python_alfresco_api/raw_clients/alfresco_core_client/core_client/models/activity.py +137 -0
- python_alfresco_api/raw_clients/alfresco_core_client/core_client/models/activity_activity_summary.py +44 -0
- python_alfresco_api/raw_clients/alfresco_core_client/core_client/models/activity_entry.py +67 -0
- python_alfresco_api/raw_clients/alfresco_core_client/core_client/models/activity_paging.py +65 -0
- python_alfresco_api/raw_clients/alfresco_core_client/core_client/models/activity_paging_list.py +93 -0
- python_alfresco_api/raw_clients/alfresco_core_client/core_client/models/association.py +67 -0
- python_alfresco_api/raw_clients/alfresco_core_client/core_client/models/association_body.py +67 -0
- python_alfresco_api/raw_clients/alfresco_core_client/core_client/models/association_entry.py +65 -0
- python_alfresco_api/raw_clients/alfresco_core_client/core_client/models/association_info.py +59 -0
- python_alfresco_api/raw_clients/alfresco_core_client/core_client/models/audit_app.py +97 -0
- python_alfresco_api/raw_clients/alfresco_core_client/core_client/models/audit_app_entry.py +72 -0
- python_alfresco_api/raw_clients/alfresco_core_client/core_client/models/audit_app_paging.py +72 -0
- python_alfresco_api/raw_clients/alfresco_core_client/core_client/models/audit_app_paging_list.py +93 -0
- python_alfresco_api/raw_clients/alfresco_core_client/core_client/models/audit_body_update.py +59 -0
- python_alfresco_api/raw_clients/alfresco_core_client/core_client/models/audit_entry.py +111 -0
- python_alfresco_api/raw_clients/alfresco_core_client/core_client/models/audit_entry_entry.py +72 -0
- python_alfresco_api/raw_clients/alfresco_core_client/core_client/models/audit_entry_paging.py +72 -0
- python_alfresco_api/raw_clients/alfresco_core_client/core_client/models/audit_entry_paging_list.py +93 -0
- python_alfresco_api/raw_clients/alfresco_core_client/core_client/models/audit_entry_values.py +44 -0
- python_alfresco_api/raw_clients/alfresco_core_client/core_client/models/capabilities.py +77 -0
- python_alfresco_api/raw_clients/alfresco_core_client/core_client/models/child_association.py +67 -0
- python_alfresco_api/raw_clients/alfresco_core_client/core_client/models/child_association_body.py +67 -0
- python_alfresco_api/raw_clients/alfresco_core_client/core_client/models/child_association_entry.py +65 -0
- python_alfresco_api/raw_clients/alfresco_core_client/core_client/models/child_association_info.py +67 -0
- python_alfresco_api/raw_clients/alfresco_core_client/core_client/models/client_body.py +59 -0
- python_alfresco_api/raw_clients/alfresco_core_client/core_client/models/comment.py +139 -0
- python_alfresco_api/raw_clients/alfresco_core_client/core_client/models/comment_body.py +59 -0
- python_alfresco_api/raw_clients/alfresco_core_client/core_client/models/comment_entry.py +65 -0
- python_alfresco_api/raw_clients/alfresco_core_client/core_client/models/comment_paging.py +65 -0
- python_alfresco_api/raw_clients/alfresco_core_client/core_client/models/comment_paging_list.py +93 -0
- python_alfresco_api/raw_clients/alfresco_core_client/core_client/models/company.py +122 -0
- python_alfresco_api/raw_clients/alfresco_core_client/core_client/models/constraint.py +110 -0
- python_alfresco_api/raw_clients/alfresco_core_client/core_client/models/constraint_parameters.py +57 -0
- python_alfresco_api/raw_clients/alfresco_core_client/core_client/models/constraint_parameters_additional_property.py +44 -0
- python_alfresco_api/raw_clients/alfresco_core_client/core_client/models/content_info.py +88 -0
- python_alfresco_api/raw_clients/alfresco_core_client/core_client/models/definition.py +76 -0
- python_alfresco_api/raw_clients/alfresco_core_client/core_client/models/deleted_node.py +298 -0
- python_alfresco_api/raw_clients/alfresco_core_client/core_client/models/deleted_node_body_restore.py +68 -0
- python_alfresco_api/raw_clients/alfresco_core_client/core_client/models/deleted_node_entry.py +72 -0
- python_alfresco_api/raw_clients/alfresco_core_client/core_client/models/deleted_nodes_paging.py +72 -0
- python_alfresco_api/raw_clients/alfresco_core_client/core_client/models/deleted_nodes_paging_list.py +93 -0
- python_alfresco_api/raw_clients/alfresco_core_client/core_client/models/direct_access_url_body_create.py +77 -0
- python_alfresco_api/raw_clients/alfresco_core_client/core_client/models/download.py +113 -0
- python_alfresco_api/raw_clients/alfresco_core_client/core_client/models/download_body_create.py +59 -0
- python_alfresco_api/raw_clients/alfresco_core_client/core_client/models/download_entry.py +65 -0
- python_alfresco_api/raw_clients/alfresco_core_client/core_client/models/download_status.py +12 -0
- python_alfresco_api/raw_clients/alfresco_core_client/core_client/models/error.py +65 -0
- python_alfresco_api/raw_clients/alfresco_core_client/core_client/models/error_error.py +104 -0
- python_alfresco_api/raw_clients/alfresco_core_client/core_client/models/favorite.py +114 -0
- python_alfresco_api/raw_clients/alfresco_core_client/core_client/models/favorite_body_create.py +65 -0
- python_alfresco_api/raw_clients/alfresco_core_client/core_client/models/favorite_body_create_target.py +44 -0
- python_alfresco_api/raw_clients/alfresco_core_client/core_client/models/favorite_entry.py +66 -0
- python_alfresco_api/raw_clients/alfresco_core_client/core_client/models/favorite_paging.py +65 -0
- python_alfresco_api/raw_clients/alfresco_core_client/core_client/models/favorite_paging_list.py +93 -0
- python_alfresco_api/raw_clients/alfresco_core_client/core_client/models/favorite_properties.py +47 -0
- python_alfresco_api/raw_clients/alfresco_core_client/core_client/models/favorite_site.py +59 -0
- python_alfresco_api/raw_clients/alfresco_core_client/core_client/models/favorite_site_body_create.py +59 -0
- python_alfresco_api/raw_clients/alfresco_core_client/core_client/models/favorite_site_entry.py +65 -0
- python_alfresco_api/raw_clients/alfresco_core_client/core_client/models/favorite_target.py +44 -0
- python_alfresco_api/raw_clients/alfresco_core_client/core_client/models/group.py +99 -0
- python_alfresco_api/raw_clients/alfresco_core_client/core_client/models/group_body_create.py +80 -0
- python_alfresco_api/raw_clients/alfresco_core_client/core_client/models/group_body_update.py +59 -0
- python_alfresco_api/raw_clients/alfresco_core_client/core_client/models/group_entry.py +65 -0
- python_alfresco_api/raw_clients/alfresco_core_client/core_client/models/group_member.py +77 -0
- python_alfresco_api/raw_clients/alfresco_core_client/core_client/models/group_member_entry.py +65 -0
- python_alfresco_api/raw_clients/alfresco_core_client/core_client/models/group_member_member_type.py +9 -0
- python_alfresco_api/raw_clients/alfresco_core_client/core_client/models/group_member_paging.py +72 -0
- python_alfresco_api/raw_clients/alfresco_core_client/core_client/models/group_member_paging_list.py +93 -0
- python_alfresco_api/raw_clients/alfresco_core_client/core_client/models/group_membership_body_create.py +69 -0
- python_alfresco_api/raw_clients/alfresco_core_client/core_client/models/group_membership_body_create_member_type.py +9 -0
- python_alfresco_api/raw_clients/alfresco_core_client/core_client/models/group_paging.py +72 -0
- python_alfresco_api/raw_clients/alfresco_core_client/core_client/models/group_paging_list.py +93 -0
- python_alfresco_api/raw_clients/alfresco_core_client/core_client/models/network_quota.py +78 -0
- python_alfresco_api/raw_clients/alfresco_core_client/core_client/models/node.py +282 -0
- python_alfresco_api/raw_clients/alfresco_core_client/core_client/models/node_association.py +300 -0
- python_alfresco_api/raw_clients/alfresco_core_client/core_client/models/node_association_entry.py +65 -0
- python_alfresco_api/raw_clients/alfresco_core_client/core_client/models/node_association_paging.py +72 -0
- python_alfresco_api/raw_clients/alfresco_core_client/core_client/models/node_association_paging_list.py +111 -0
- python_alfresco_api/raw_clients/alfresco_core_client/core_client/models/node_body_copy.py +72 -0
- python_alfresco_api/raw_clients/alfresco_core_client/core_client/models/node_body_create.py +256 -0
- python_alfresco_api/raw_clients/alfresco_core_client/core_client/models/node_body_create_association.py +59 -0
- python_alfresco_api/raw_clients/alfresco_core_client/core_client/models/node_body_create_properties.py +44 -0
- python_alfresco_api/raw_clients/alfresco_core_client/core_client/models/node_body_lock.py +93 -0
- python_alfresco_api/raw_clients/alfresco_core_client/core_client/models/node_body_lock_lifetime.py +9 -0
- python_alfresco_api/raw_clients/alfresco_core_client/core_client/models/node_body_lock_type.py +9 -0
- python_alfresco_api/raw_clients/alfresco_core_client/core_client/models/node_body_move.py +72 -0
- python_alfresco_api/raw_clients/alfresco_core_client/core_client/models/node_body_update.py +121 -0
- python_alfresco_api/raw_clients/alfresco_core_client/core_client/models/node_body_update_properties.py +44 -0
- python_alfresco_api/raw_clients/alfresco_core_client/core_client/models/node_child_association.py +300 -0
- python_alfresco_api/raw_clients/alfresco_core_client/core_client/models/node_child_association_entry.py +65 -0
- python_alfresco_api/raw_clients/alfresco_core_client/core_client/models/node_child_association_paging.py +72 -0
- python_alfresco_api/raw_clients/alfresco_core_client/core_client/models/node_child_association_paging_list.py +111 -0
- python_alfresco_api/raw_clients/alfresco_core_client/core_client/models/node_entry.py +65 -0
- python_alfresco_api/raw_clients/alfresco_core_client/core_client/models/node_paging.py +72 -0
- python_alfresco_api/raw_clients/alfresco_core_client/core_client/models/node_paging_list.py +111 -0
- python_alfresco_api/raw_clients/alfresco_core_client/core_client/models/node_properties.py +44 -0
- python_alfresco_api/raw_clients/alfresco_core_client/core_client/models/pagination.py +103 -0
- python_alfresco_api/raw_clients/alfresco_core_client/core_client/models/password_reset_body.py +75 -0
- python_alfresco_api/raw_clients/alfresco_core_client/core_client/models/path_element.py +88 -0
- python_alfresco_api/raw_clients/alfresco_core_client/core_client/models/path_info.py +93 -0
- python_alfresco_api/raw_clients/alfresco_core_client/core_client/models/permission_element.py +85 -0
- python_alfresco_api/raw_clients/alfresco_core_client/core_client/models/permission_element_access_status.py +9 -0
- python_alfresco_api/raw_clients/alfresco_core_client/core_client/models/permissions_body.py +84 -0
- python_alfresco_api/raw_clients/alfresco_core_client/core_client/models/permissions_info.py +114 -0
- python_alfresco_api/raw_clients/alfresco_core_client/core_client/models/person.py +289 -0
- python_alfresco_api/raw_clients/alfresco_core_client/core_client/models/person_body_create.py +244 -0
- python_alfresco_api/raw_clients/alfresco_core_client/core_client/models/person_body_create_properties.py +44 -0
- python_alfresco_api/raw_clients/alfresco_core_client/core_client/models/person_body_update.py +245 -0
- python_alfresco_api/raw_clients/alfresco_core_client/core_client/models/person_body_update_properties.py +44 -0
- python_alfresco_api/raw_clients/alfresco_core_client/core_client/models/person_entry.py +65 -0
- python_alfresco_api/raw_clients/alfresco_core_client/core_client/models/person_network.py +150 -0
- python_alfresco_api/raw_clients/alfresco_core_client/core_client/models/person_network_entry.py +67 -0
- python_alfresco_api/raw_clients/alfresco_core_client/core_client/models/person_network_paging.py +65 -0
- python_alfresco_api/raw_clients/alfresco_core_client/core_client/models/person_network_paging_list.py +93 -0
- python_alfresco_api/raw_clients/alfresco_core_client/core_client/models/person_network_subscription_level.py +10 -0
- python_alfresco_api/raw_clients/alfresco_core_client/core_client/models/person_paging.py +72 -0
- python_alfresco_api/raw_clients/alfresco_core_client/core_client/models/person_paging_list.py +93 -0
- python_alfresco_api/raw_clients/alfresco_core_client/core_client/models/person_properties.py +44 -0
- python_alfresco_api/raw_clients/alfresco_core_client/core_client/models/preference.py +71 -0
- python_alfresco_api/raw_clients/alfresco_core_client/core_client/models/preference_entry.py +65 -0
- python_alfresco_api/raw_clients/alfresco_core_client/core_client/models/preference_paging.py +65 -0
- python_alfresco_api/raw_clients/alfresco_core_client/core_client/models/preference_paging_list.py +93 -0
- python_alfresco_api/raw_clients/alfresco_core_client/core_client/models/probe_entry.py +65 -0
- python_alfresco_api/raw_clients/alfresco_core_client/core_client/models/probe_entry_entry.py +59 -0
- python_alfresco_api/raw_clients/alfresco_core_client/core_client/models/property_.py +158 -0
- python_alfresco_api/raw_clients/alfresco_core_client/core_client/models/rating.py +106 -0
- python_alfresco_api/raw_clients/alfresco_core_client/core_client/models/rating_aggregate.py +68 -0
- python_alfresco_api/raw_clients/alfresco_core_client/core_client/models/rating_body.py +70 -0
- python_alfresco_api/raw_clients/alfresco_core_client/core_client/models/rating_body_id.py +9 -0
- python_alfresco_api/raw_clients/alfresco_core_client/core_client/models/rating_entry.py +67 -0
- python_alfresco_api/raw_clients/alfresco_core_client/core_client/models/rating_paging.py +65 -0
- python_alfresco_api/raw_clients/alfresco_core_client/core_client/models/rating_paging_list.py +93 -0
- python_alfresco_api/raw_clients/alfresco_core_client/core_client/models/rendition.py +98 -0
- python_alfresco_api/raw_clients/alfresco_core_client/core_client/models/rendition_body_create.py +59 -0
- python_alfresco_api/raw_clients/alfresco_core_client/core_client/models/rendition_entry.py +65 -0
- python_alfresco_api/raw_clients/alfresco_core_client/core_client/models/rendition_paging.py +72 -0
- python_alfresco_api/raw_clients/alfresco_core_client/core_client/models/rendition_paging_list.py +93 -0
- python_alfresco_api/raw_clients/alfresco_core_client/core_client/models/rendition_status.py +9 -0
- python_alfresco_api/raw_clients/alfresco_core_client/core_client/models/revert_body.py +68 -0
- python_alfresco_api/raw_clients/alfresco_core_client/core_client/models/shared_link.py +269 -0
- python_alfresco_api/raw_clients/alfresco_core_client/core_client/models/shared_link_body_create.py +79 -0
- python_alfresco_api/raw_clients/alfresco_core_client/core_client/models/shared_link_body_email.py +88 -0
- python_alfresco_api/raw_clients/alfresco_core_client/core_client/models/shared_link_entry.py +65 -0
- python_alfresco_api/raw_clients/alfresco_core_client/core_client/models/shared_link_paging.py +65 -0
- python_alfresco_api/raw_clients/alfresco_core_client/core_client/models/shared_link_paging_list.py +93 -0
- python_alfresco_api/raw_clients/alfresco_core_client/core_client/models/shared_link_properties.py +47 -0
- python_alfresco_api/raw_clients/alfresco_core_client/core_client/models/site_body_create.py +88 -0
- python_alfresco_api/raw_clients/alfresco_core_client/core_client/models/site_body_create_visibility.py +10 -0
- python_alfresco_api/raw_clients/alfresco_core_client/core_client/models/site_body_update.py +85 -0
- python_alfresco_api/raw_clients/alfresco_core_client/core_client/models/site_body_update_visibility.py +10 -0
- python_alfresco_api/raw_clients/alfresco_core_client/core_client/models/site_container.py +67 -0
- python_alfresco_api/raw_clients/alfresco_core_client/core_client/models/site_container_entry.py +65 -0
- python_alfresco_api/raw_clients/alfresco_core_client/core_client/models/site_container_paging.py +65 -0
- python_alfresco_api/raw_clients/alfresco_core_client/core_client/models/site_container_paging_list.py +93 -0
- python_alfresco_api/raw_clients/alfresco_core_client/core_client/models/site_group.py +83 -0
- python_alfresco_api/raw_clients/alfresco_core_client/core_client/models/site_group_entry.py +65 -0
- python_alfresco_api/raw_clients/alfresco_core_client/core_client/models/site_group_paging.py +65 -0
- python_alfresco_api/raw_clients/alfresco_core_client/core_client/models/site_group_paging_list.py +93 -0
- python_alfresco_api/raw_clients/alfresco_core_client/core_client/models/site_group_role.py +11 -0
- python_alfresco_api/raw_clients/alfresco_core_client/core_client/models/site_member.py +93 -0
- python_alfresco_api/raw_clients/alfresco_core_client/core_client/models/site_member_entry.py +65 -0
- python_alfresco_api/raw_clients/alfresco_core_client/core_client/models/site_member_paging.py +65 -0
- python_alfresco_api/raw_clients/alfresco_core_client/core_client/models/site_member_paging_list.py +93 -0
- python_alfresco_api/raw_clients/alfresco_core_client/core_client/models/site_member_role.py +11 -0
- python_alfresco_api/raw_clients/alfresco_core_client/core_client/models/site_membership_approval_body.py +59 -0
- python_alfresco_api/raw_clients/alfresco_core_client/core_client/models/site_membership_body_create.py +69 -0
- python_alfresco_api/raw_clients/alfresco_core_client/core_client/models/site_membership_body_create_role.py +11 -0
- python_alfresco_api/raw_clients/alfresco_core_client/core_client/models/site_membership_body_update.py +61 -0
- python_alfresco_api/raw_clients/alfresco_core_client/core_client/models/site_membership_body_update_role.py +11 -0
- python_alfresco_api/raw_clients/alfresco_core_client/core_client/models/site_membership_rejection_body.py +59 -0
- python_alfresco_api/raw_clients/alfresco_core_client/core_client/models/site_membership_request_body_create.py +91 -0
- python_alfresco_api/raw_clients/alfresco_core_client/core_client/models/site_membership_request_body_update.py +59 -0
- python_alfresco_api/raw_clients/alfresco_core_client/core_client/models/site_role_role.py +11 -0
- python_alfresco_api/raw_clients/alfresco_core_client/core_client/models/tag.py +78 -0
- python_alfresco_api/raw_clients/alfresco_core_client/core_client/models/tag_body.py +59 -0
- python_alfresco_api/raw_clients/alfresco_core_client/core_client/models/tag_entry.py +65 -0
- python_alfresco_api/raw_clients/alfresco_core_client/core_client/models/tag_paging.py +65 -0
- python_alfresco_api/raw_clients/alfresco_core_client/core_client/models/tag_paging_list.py +93 -0
- python_alfresco_api/raw_clients/alfresco_core_client/core_client/models/user_info.py +67 -0
- python_alfresco_api/raw_clients/alfresco_core_client/core_client/models/version.py +174 -0
- python_alfresco_api/raw_clients/alfresco_core_client/core_client/models/version_entry.py +72 -0
- python_alfresco_api/raw_clients/alfresco_core_client/core_client/models/version_paging.py +72 -0
- python_alfresco_api/raw_clients/alfresco_core_client/core_client/models/version_paging_list.py +93 -0
- python_alfresco_api/raw_clients/alfresco_core_client/core_client/models/version_properties.py +44 -0
- python_alfresco_api/raw_clients/alfresco_core_client/core_client/py.typed +1 -0
- python_alfresco_api/raw_clients/alfresco_core_client/core_client/types.py +54 -0
- python_alfresco_api/raw_clients/alfresco_core_client/pyproject.toml +27 -0
- python_alfresco_api/raw_clients/alfresco_discovery_client/.gitignore +23 -0
- python_alfresco_api/raw_clients/alfresco_discovery_client/README.md +124 -0
- python_alfresco_api/raw_clients/alfresco_discovery_client/discovery_client/__init__.py +8 -0
- python_alfresco_api/raw_clients/alfresco_discovery_client/discovery_client/api/__init__.py +1 -0
- python_alfresco_api/raw_clients/alfresco_discovery_client/discovery_client/api/discovery/__init__.py +1 -0
- python_alfresco_api/raw_clients/alfresco_discovery_client/discovery_client/api/discovery/get_repository_information.py +145 -0
- python_alfresco_api/raw_clients/alfresco_discovery_client/discovery_client/client.py +268 -0
- python_alfresco_api/raw_clients/alfresco_discovery_client/discovery_client/errors.py +16 -0
- python_alfresco_api/raw_clients/alfresco_discovery_client/discovery_client/models/__init__.py +25 -0
- python_alfresco_api/raw_clients/alfresco_discovery_client/discovery_client/models/discovery_entry.py +65 -0
- python_alfresco_api/raw_clients/alfresco_discovery_client/discovery_client/models/entitlements_info.py +86 -0
- python_alfresco_api/raw_clients/alfresco_discovery_client/discovery_client/models/error.py +65 -0
- python_alfresco_api/raw_clients/alfresco_discovery_client/discovery_client/models/error_error.py +104 -0
- python_alfresco_api/raw_clients/alfresco_discovery_client/discovery_client/models/license_info.py +117 -0
- python_alfresco_api/raw_clients/alfresco_discovery_client/discovery_client/models/module_info.py +131 -0
- python_alfresco_api/raw_clients/alfresco_discovery_client/discovery_client/models/repository_entry.py +65 -0
- python_alfresco_api/raw_clients/alfresco_discovery_client/discovery_client/models/repository_info.py +132 -0
- python_alfresco_api/raw_clients/alfresco_discovery_client/discovery_client/models/status_info.py +83 -0
- python_alfresco_api/raw_clients/alfresco_discovery_client/discovery_client/models/version_info.py +107 -0
- python_alfresco_api/raw_clients/alfresco_discovery_client/discovery_client/py.typed +1 -0
- python_alfresco_api/raw_clients/alfresco_discovery_client/discovery_client/types.py +54 -0
- python_alfresco_api/raw_clients/alfresco_discovery_client/pyproject.toml +27 -0
- python_alfresco_api/raw_clients/alfresco_model_client/.gitignore +23 -0
- python_alfresco_api/raw_clients/alfresco_model_client/README.md +124 -0
- python_alfresco_api/raw_clients/alfresco_model_client/model_client/__init__.py +8 -0
- python_alfresco_api/raw_clients/alfresco_model_client/model_client/api/__init__.py +1 -0
- python_alfresco_api/raw_clients/alfresco_model_client/model_client/api/aspects/__init__.py +1 -0
- python_alfresco_api/raw_clients/alfresco_model_client/model_client/api/aspects/get_aspect.py +103 -0
- python_alfresco_api/raw_clients/alfresco_model_client/model_client/api/aspects/list_aspects.py +256 -0
- python_alfresco_api/raw_clients/alfresco_model_client/model_client/api/types/__init__.py +1 -0
- python_alfresco_api/raw_clients/alfresco_model_client/model_client/api/types/get_type.py +103 -0
- python_alfresco_api/raw_clients/alfresco_model_client/model_client/api/types/list_types.py +270 -0
- python_alfresco_api/raw_clients/alfresco_model_client/model_client/client.py +268 -0
- python_alfresco_api/raw_clients/alfresco_model_client/model_client/errors.py +16 -0
- python_alfresco_api/raw_clients/alfresco_model_client/model_client/models/__init__.py +27 -0
- python_alfresco_api/raw_clients/alfresco_model_client/model_client/models/abstract_class.py +189 -0
- python_alfresco_api/raw_clients/alfresco_model_client/model_client/models/abstract_class_association.py +135 -0
- python_alfresco_api/raw_clients/alfresco_model_client/model_client/models/abstract_class_association_source.py +95 -0
- python_alfresco_api/raw_clients/alfresco_model_client/model_client/models/constraint.py +110 -0
- python_alfresco_api/raw_clients/alfresco_model_client/model_client/models/constraint_parameters.py +57 -0
- python_alfresco_api/raw_clients/alfresco_model_client/model_client/models/constraint_parameters_additional_property.py +44 -0
- python_alfresco_api/raw_clients/alfresco_model_client/model_client/models/error.py +65 -0
- python_alfresco_api/raw_clients/alfresco_model_client/model_client/models/error_error.py +104 -0
- python_alfresco_api/raw_clients/alfresco_model_client/model_client/models/model.py +97 -0
- python_alfresco_api/raw_clients/alfresco_model_client/model_client/models/pagination.py +103 -0
- python_alfresco_api/raw_clients/alfresco_model_client/model_client/models/property_.py +158 -0
- python_alfresco_api/raw_clients/alfresco_model_client/model_client/py.typed +1 -0
- python_alfresco_api/raw_clients/alfresco_model_client/model_client/types.py +54 -0
- python_alfresco_api/raw_clients/alfresco_model_client/pyproject.toml +27 -0
- python_alfresco_api/raw_clients/alfresco_search_client/.gitignore +23 -0
- python_alfresco_api/raw_clients/alfresco_search_client/README.md +124 -0
- python_alfresco_api/raw_clients/alfresco_search_client/pyproject.toml +27 -0
- python_alfresco_api/raw_clients/alfresco_search_client/search_client/__init__.py +8 -0
- python_alfresco_api/raw_clients/alfresco_search_client/search_client/api/__init__.py +1 -0
- python_alfresco_api/raw_clients/alfresco_search_client/search_client/api/search/__init__.py +1 -0
- python_alfresco_api/raw_clients/alfresco_search_client/search_client/api/search/search.py +1451 -0
- python_alfresco_api/raw_clients/alfresco_search_client/search_client/client.py +268 -0
- python_alfresco_api/raw_clients/alfresco_search_client/search_client/errors.py +16 -0
- python_alfresco_api/raw_clients/alfresco_search_client/search_client/models/__init__.py +125 -0
- python_alfresco_api/raw_clients/alfresco_search_client/search_client/models/content_info.py +95 -0
- python_alfresco_api/raw_clients/alfresco_search_client/search_client/models/error.py +65 -0
- python_alfresco_api/raw_clients/alfresco_search_client/search_client/models/error_error.py +104 -0
- python_alfresco_api/raw_clients/alfresco_search_client/search_client/models/generic_bucket.py +151 -0
- python_alfresco_api/raw_clients/alfresco_search_client/search_client/models/generic_bucket_bucket_info.py +87 -0
- python_alfresco_api/raw_clients/alfresco_search_client/search_client/models/generic_bucket_display.py +44 -0
- python_alfresco_api/raw_clients/alfresco_search_client/search_client/models/generic_bucket_facets_item.py +44 -0
- python_alfresco_api/raw_clients/alfresco_search_client/search_client/models/generic_facet_response.py +93 -0
- python_alfresco_api/raw_clients/alfresco_search_client/search_client/models/generic_metric.py +82 -0
- python_alfresco_api/raw_clients/alfresco_search_client/search_client/models/generic_metric_value.py +44 -0
- python_alfresco_api/raw_clients/alfresco_search_client/search_client/models/node.py +237 -0
- python_alfresco_api/raw_clients/alfresco_search_client/search_client/models/node_properties.py +44 -0
- python_alfresco_api/raw_clients/alfresco_search_client/search_client/models/pagination.py +100 -0
- python_alfresco_api/raw_clients/alfresco_search_client/search_client/models/path_element.py +68 -0
- python_alfresco_api/raw_clients/alfresco_search_client/search_client/models/path_info.py +93 -0
- python_alfresco_api/raw_clients/alfresco_search_client/search_client/models/request_defaults.py +126 -0
- python_alfresco_api/raw_clients/alfresco_search_client/search_client/models/request_defaults_default_fts_field_operator.py +9 -0
- python_alfresco_api/raw_clients/alfresco_search_client/search_client/models/request_defaults_default_fts_operator.py +9 -0
- python_alfresco_api/raw_clients/alfresco_search_client/search_client/models/request_facet_field.py +172 -0
- python_alfresco_api/raw_clients/alfresco_search_client/search_client/models/request_facet_field_method.py +9 -0
- python_alfresco_api/raw_clients/alfresco_search_client/search_client/models/request_facet_field_sort.py +9 -0
- python_alfresco_api/raw_clients/alfresco_search_client/search_client/models/request_facet_fields.py +79 -0
- python_alfresco_api/raw_clients/alfresco_search_client/search_client/models/request_facet_intervals.py +97 -0
- python_alfresco_api/raw_clients/alfresco_search_client/search_client/models/request_facet_intervals_intervals_item.py +93 -0
- python_alfresco_api/raw_clients/alfresco_search_client/search_client/models/request_facet_queries_item.py +68 -0
- python_alfresco_api/raw_clients/alfresco_search_client/search_client/models/request_facet_set.py +98 -0
- python_alfresco_api/raw_clients/alfresco_search_client/search_client/models/request_filter_queries_item.py +72 -0
- python_alfresco_api/raw_clients/alfresco_search_client/search_client/models/request_highlight.py +143 -0
- python_alfresco_api/raw_clients/alfresco_search_client/search_client/models/request_highlight_fields_item.py +104 -0
- python_alfresco_api/raw_clients/alfresco_search_client/search_client/models/request_include_item.py +13 -0
- python_alfresco_api/raw_clients/alfresco_search_client/search_client/models/request_limits.py +71 -0
- python_alfresco_api/raw_clients/alfresco_search_client/search_client/models/request_localization.py +73 -0
- python_alfresco_api/raw_clients/alfresco_search_client/search_client/models/request_pagination.py +68 -0
- python_alfresco_api/raw_clients/alfresco_search_client/search_client/models/request_pivot.py +82 -0
- python_alfresco_api/raw_clients/alfresco_search_client/search_client/models/request_query.py +89 -0
- python_alfresco_api/raw_clients/alfresco_search_client/search_client/models/request_query_language.py +10 -0
- python_alfresco_api/raw_clients/alfresco_search_client/search_client/models/request_range.py +139 -0
- python_alfresco_api/raw_clients/alfresco_search_client/search_client/models/request_scope.py +68 -0
- python_alfresco_api/raw_clients/alfresco_search_client/search_client/models/request_scope_locations.py +10 -0
- python_alfresco_api/raw_clients/alfresco_search_client/search_client/models/request_sort_definition_item.py +87 -0
- python_alfresco_api/raw_clients/alfresco_search_client/search_client/models/request_sort_definition_item_type.py +10 -0
- python_alfresco_api/raw_clients/alfresco_search_client/search_client/models/request_spellcheck.py +61 -0
- python_alfresco_api/raw_clients/alfresco_search_client/search_client/models/request_stats.py +202 -0
- python_alfresco_api/raw_clients/alfresco_search_client/search_client/models/request_templates_item.py +68 -0
- python_alfresco_api/raw_clients/alfresco_search_client/search_client/models/response_consistency.py +60 -0
- python_alfresco_api/raw_clients/alfresco_search_client/search_client/models/result_buckets.py +84 -0
- python_alfresco_api/raw_clients/alfresco_search_client/search_client/models/result_buckets_buckets_item.py +99 -0
- python_alfresco_api/raw_clients/alfresco_search_client/search_client/models/result_buckets_buckets_item_display.py +44 -0
- python_alfresco_api/raw_clients/alfresco_search_client/search_client/models/result_node.py +305 -0
- python_alfresco_api/raw_clients/alfresco_search_client/search_client/models/result_set_context.py +181 -0
- python_alfresco_api/raw_clients/alfresco_search_client/search_client/models/result_set_context_facet_queries_item.py +77 -0
- python_alfresco_api/raw_clients/alfresco_search_client/search_client/models/result_set_context_spellcheck_item.py +78 -0
- python_alfresco_api/raw_clients/alfresco_search_client/search_client/models/result_set_context_spellcheck_item_type.py +9 -0
- python_alfresco_api/raw_clients/alfresco_search_client/search_client/models/result_set_paging.py +73 -0
- python_alfresco_api/raw_clients/alfresco_search_client/search_client/models/result_set_paging_list.py +111 -0
- python_alfresco_api/raw_clients/alfresco_search_client/search_client/models/result_set_row_entry.py +66 -0
- python_alfresco_api/raw_clients/alfresco_search_client/search_client/models/search_entry.py +85 -0
- python_alfresco_api/raw_clients/alfresco_search_client/search_client/models/search_entry_highlight_item.py +71 -0
- python_alfresco_api/raw_clients/alfresco_search_client/search_client/models/search_request.py +452 -0
- python_alfresco_api/raw_clients/alfresco_search_client/search_client/models/user_info.py +67 -0
- python_alfresco_api/raw_clients/alfresco_search_client/search_client/py.typed +1 -0
- python_alfresco_api/raw_clients/alfresco_search_client/search_client/types.py +54 -0
- python_alfresco_api/raw_clients/alfresco_search_sql_client/.gitignore +23 -0
- python_alfresco_api/raw_clients/alfresco_search_sql_client/README.md +124 -0
- python_alfresco_api/raw_clients/alfresco_search_sql_client/pyproject.toml +27 -0
- python_alfresco_api/raw_clients/alfresco_search_sql_client/search_sql_client/__init__.py +8 -0
- python_alfresco_api/raw_clients/alfresco_search_sql_client/search_sql_client/api/__init__.py +1 -0
- python_alfresco_api/raw_clients/alfresco_search_sql_client/search_sql_client/api/sql/__init__.py +1 -0
- python_alfresco_api/raw_clients/alfresco_search_sql_client/search_sql_client/api/sql/search.py +751 -0
- python_alfresco_api/raw_clients/alfresco_search_sql_client/search_sql_client/client.py +268 -0
- python_alfresco_api/raw_clients/alfresco_search_sql_client/search_sql_client/errors.py +16 -0
- python_alfresco_api/raw_clients/alfresco_search_sql_client/search_sql_client/models/__init__.py +23 -0
- python_alfresco_api/raw_clients/alfresco_search_sql_client/search_sql_client/models/docs_item.py +68 -0
- python_alfresco_api/raw_clients/alfresco_search_sql_client/search_sql_client/models/error.py +65 -0
- python_alfresco_api/raw_clients/alfresco_search_sql_client/search_sql_client/models/error_error.py +104 -0
- python_alfresco_api/raw_clients/alfresco_search_sql_client/search_sql_client/models/pagination.py +100 -0
- python_alfresco_api/raw_clients/alfresco_search_sql_client/search_sql_client/models/solr_result_set.py +77 -0
- python_alfresco_api/raw_clients/alfresco_search_sql_client/search_sql_client/models/sql_result_set_paging.py +73 -0
- python_alfresco_api/raw_clients/alfresco_search_sql_client/search_sql_client/models/sql_result_set_paging_list.py +93 -0
- python_alfresco_api/raw_clients/alfresco_search_sql_client/search_sql_client/models/sql_result_set_row_entry.py +68 -0
- python_alfresco_api/raw_clients/alfresco_search_sql_client/search_sql_client/models/sql_search_request.py +108 -0
- python_alfresco_api/raw_clients/alfresco_search_sql_client/search_sql_client/py.typed +1 -0
- python_alfresco_api/raw_clients/alfresco_search_sql_client/search_sql_client/types.py +54 -0
- python_alfresco_api/raw_clients/alfresco_workflow_client/.gitignore +23 -0
- python_alfresco_api/raw_clients/alfresco_workflow_client/README.md +124 -0
- python_alfresco_api/raw_clients/alfresco_workflow_client/pyproject.toml +27 -0
- python_alfresco_api/raw_clients/alfresco_workflow_client/workflow_client/__init__.py +8 -0
- python_alfresco_api/raw_clients/alfresco_workflow_client/workflow_client/api/__init__.py +1 -0
- python_alfresco_api/raw_clients/alfresco_workflow_client/workflow_client/api/deployments/__init__.py +1 -0
- python_alfresco_api/raw_clients/alfresco_workflow_client/workflow_client/api/deployments/delete_deployment.py +105 -0
- python_alfresco_api/raw_clients/alfresco_workflow_client/workflow_client/api/deployments/get_deployment.py +213 -0
- python_alfresco_api/raw_clients/alfresco_workflow_client/workflow_client/api/deployments/list_deployments.py +230 -0
- python_alfresco_api/raw_clients/alfresco_workflow_client/workflow_client/api/process_definitions/__init__.py +1 -0
- python_alfresco_api/raw_clients/alfresco_workflow_client/workflow_client/api/process_definitions/get_process_definition.py +205 -0
- python_alfresco_api/raw_clients/alfresco_workflow_client/workflow_client/api/process_definitions/get_process_definition_image.py +188 -0
- python_alfresco_api/raw_clients/alfresco_workflow_client/workflow_client/api/process_definitions/get_process_definition_start_form_model.py +201 -0
- python_alfresco_api/raw_clients/alfresco_workflow_client/workflow_client/api/process_definitions/list_process_definitions.py +264 -0
- python_alfresco_api/raw_clients/alfresco_workflow_client/workflow_client/api/processes/__init__.py +1 -0
- python_alfresco_api/raw_clients/alfresco_workflow_client/workflow_client/api/processes/create_process.py +385 -0
- python_alfresco_api/raw_clients/alfresco_workflow_client/workflow_client/api/processes/create_process_item.py +365 -0
- python_alfresco_api/raw_clients/alfresco_workflow_client/workflow_client/api/processes/create_process_variable.py +202 -0
- python_alfresco_api/raw_clients/alfresco_workflow_client/workflow_client/api/processes/create_process_variables.py +381 -0
- python_alfresco_api/raw_clients/alfresco_workflow_client/workflow_client/api/processes/delete_process.py +101 -0
- python_alfresco_api/raw_clients/alfresco_workflow_client/workflow_client/api/processes/delete_process_item.py +108 -0
- python_alfresco_api/raw_clients/alfresco_workflow_client/workflow_client/api/processes/delete_process_variable.py +108 -0
- python_alfresco_api/raw_clients/alfresco_workflow_client/workflow_client/api/processes/get_process.py +229 -0
- python_alfresco_api/raw_clients/alfresco_workflow_client/workflow_client/api/processes/list_process_items.py +262 -0
- python_alfresco_api/raw_clients/alfresco_workflow_client/workflow_client/api/processes/list_process_variables.py +262 -0
- python_alfresco_api/raw_clients/alfresco_workflow_client/workflow_client/api/processes/list_processes.py +284 -0
- python_alfresco_api/raw_clients/alfresco_workflow_client/workflow_client/api/tasks/__init__.py +1 -0
- python_alfresco_api/raw_clients/alfresco_workflow_client/workflow_client/api/tasks/create_task_item.py +365 -0
- python_alfresco_api/raw_clients/alfresco_workflow_client/workflow_client/api/tasks/create_task_variables.py +378 -0
- python_alfresco_api/raw_clients/alfresco_workflow_client/workflow_client/api/tasks/delete_task_item.py +108 -0
- python_alfresco_api/raw_clients/alfresco_workflow_client/workflow_client/api/tasks/delete_task_variable.py +110 -0
- python_alfresco_api/raw_clients/alfresco_workflow_client/workflow_client/api/tasks/get_task.py +229 -0
- python_alfresco_api/raw_clients/alfresco_workflow_client/workflow_client/api/tasks/get_task_form_model.py +238 -0
- python_alfresco_api/raw_clients/alfresco_workflow_client/workflow_client/api/tasks/list_task_candidates.py +222 -0
- python_alfresco_api/raw_clients/alfresco_workflow_client/workflow_client/api/tasks/list_task_items.py +262 -0
- python_alfresco_api/raw_clients/alfresco_workflow_client/workflow_client/api/tasks/list_task_variables.py +277 -0
- python_alfresco_api/raw_clients/alfresco_workflow_client/workflow_client/api/tasks/list_tasks.py +276 -0
- python_alfresco_api/raw_clients/alfresco_workflow_client/workflow_client/api/tasks/list_tasks_for_process.py +281 -0
- python_alfresco_api/raw_clients/alfresco_workflow_client/workflow_client/api/tasks/update_task.py +830 -0
- python_alfresco_api/raw_clients/alfresco_workflow_client/workflow_client/api/tasks/update_task_variable.py +202 -0
- python_alfresco_api/raw_clients/alfresco_workflow_client/workflow_client/client.py +268 -0
- python_alfresco_api/raw_clients/alfresco_workflow_client/workflow_client/errors.py +16 -0
- python_alfresco_api/raw_clients/alfresco_workflow_client/workflow_client/models/__init__.py +95 -0
- python_alfresco_api/raw_clients/alfresco_workflow_client/workflow_client/models/candidate.py +77 -0
- python_alfresco_api/raw_clients/alfresco_workflow_client/workflow_client/models/candidate_candidate_type.py +9 -0
- python_alfresco_api/raw_clients/alfresco_workflow_client/workflow_client/models/candidate_entry.py +72 -0
- python_alfresco_api/raw_clients/alfresco_workflow_client/workflow_client/models/candidate_paging.py +72 -0
- python_alfresco_api/raw_clients/alfresco_workflow_client/workflow_client/models/candidate_paging_list.py +93 -0
- python_alfresco_api/raw_clients/alfresco_workflow_client/workflow_client/models/company.py +122 -0
- python_alfresco_api/raw_clients/alfresco_workflow_client/workflow_client/models/deployment.py +116 -0
- python_alfresco_api/raw_clients/alfresco_workflow_client/workflow_client/models/deployment_entry.py +90 -0
- python_alfresco_api/raw_clients/alfresco_workflow_client/workflow_client/models/deployment_paging.py +72 -0
- python_alfresco_api/raw_clients/alfresco_workflow_client/workflow_client/models/deployment_paging_list.py +93 -0
- python_alfresco_api/raw_clients/alfresco_workflow_client/workflow_client/models/error.py +65 -0
- python_alfresco_api/raw_clients/alfresco_workflow_client/workflow_client/models/error_error.py +104 -0
- python_alfresco_api/raw_clients/alfresco_workflow_client/workflow_client/models/item.py +195 -0
- python_alfresco_api/raw_clients/alfresco_workflow_client/workflow_client/models/item_body.py +60 -0
- python_alfresco_api/raw_clients/alfresco_workflow_client/workflow_client/models/item_entry.py +72 -0
- python_alfresco_api/raw_clients/alfresco_workflow_client/workflow_client/models/item_paging.py +72 -0
- python_alfresco_api/raw_clients/alfresco_workflow_client/workflow_client/models/item_paging_list.py +93 -0
- python_alfresco_api/raw_clients/alfresco_workflow_client/workflow_client/models/pagination.py +102 -0
- python_alfresco_api/raw_clients/alfresco_workflow_client/workflow_client/models/person.py +236 -0
- python_alfresco_api/raw_clients/alfresco_workflow_client/workflow_client/models/process.py +171 -0
- python_alfresco_api/raw_clients/alfresco_workflow_client/workflow_client/models/process_body.py +82 -0
- python_alfresco_api/raw_clients/alfresco_workflow_client/workflow_client/models/process_body_variable.py +78 -0
- python_alfresco_api/raw_clients/alfresco_workflow_client/workflow_client/models/process_definition.py +136 -0
- python_alfresco_api/raw_clients/alfresco_workflow_client/workflow_client/models/process_definition_entry.py +74 -0
- python_alfresco_api/raw_clients/alfresco_workflow_client/workflow_client/models/process_definition_paging.py +72 -0
- python_alfresco_api/raw_clients/alfresco_workflow_client/workflow_client/models/process_definition_paging_list.py +93 -0
- python_alfresco_api/raw_clients/alfresco_workflow_client/workflow_client/models/process_entry.py +84 -0
- python_alfresco_api/raw_clients/alfresco_workflow_client/workflow_client/models/process_paging.py +72 -0
- python_alfresco_api/raw_clients/alfresco_workflow_client/workflow_client/models/process_paging_list.py +93 -0
- python_alfresco_api/raw_clients/alfresco_workflow_client/workflow_client/models/task.py +244 -0
- python_alfresco_api/raw_clients/alfresco_workflow_client/workflow_client/models/task_body.py +147 -0
- python_alfresco_api/raw_clients/alfresco_workflow_client/workflow_client/models/task_body_state.py +11 -0
- python_alfresco_api/raw_clients/alfresco_workflow_client/workflow_client/models/task_entry.py +72 -0
- python_alfresco_api/raw_clients/alfresco_workflow_client/workflow_client/models/task_form_model.py +116 -0
- python_alfresco_api/raw_clients/alfresco_workflow_client/workflow_client/models/task_form_model_entry.py +72 -0
- python_alfresco_api/raw_clients/alfresco_workflow_client/workflow_client/models/task_form_model_paging.py +72 -0
- python_alfresco_api/raw_clients/alfresco_workflow_client/workflow_client/models/task_form_model_paging_list.py +93 -0
- python_alfresco_api/raw_clients/alfresco_workflow_client/workflow_client/models/task_paging.py +72 -0
- python_alfresco_api/raw_clients/alfresco_workflow_client/workflow_client/models/task_paging_list.py +93 -0
- python_alfresco_api/raw_clients/alfresco_workflow_client/workflow_client/models/task_state.py +11 -0
- python_alfresco_api/raw_clients/alfresco_workflow_client/workflow_client/models/variable.py +87 -0
- python_alfresco_api/raw_clients/alfresco_workflow_client/workflow_client/models/variable_body.py +78 -0
- python_alfresco_api/raw_clients/alfresco_workflow_client/workflow_client/models/variable_entry.py +72 -0
- python_alfresco_api/raw_clients/alfresco_workflow_client/workflow_client/models/variable_paging.py +72 -0
- python_alfresco_api/raw_clients/alfresco_workflow_client/workflow_client/models/variable_paging_list.py +93 -0
- python_alfresco_api/raw_clients/alfresco_workflow_client/workflow_client/py.typed +1 -0
- python_alfresco_api/raw_clients/alfresco_workflow_client/workflow_client/types.py +54 -0
- python_alfresco_api/tests/__init__.py +1 -0
- python_alfresco_api/tests/test_basic.py +115 -0
- python_alfresco_api-1.0.0.dist-info/METADATA +795 -0
- python_alfresco_api-1.0.0.dist-info/RECORD +635 -0
- python_alfresco_api-1.0.0.dist-info/WHEEL +4 -0
- python_alfresco_api-1.0.0.dist-info/licenses/LICENSE +201 -0
python_alfresco_api/raw_clients/alfresco_workflow_client/workflow_client/api/tasks/update_task.py
ADDED
|
@@ -0,0 +1,830 @@
|
|
|
1
|
+
from http import HTTPStatus
|
|
2
|
+
from typing import Any, Optional, Union, cast
|
|
3
|
+
|
|
4
|
+
import httpx
|
|
5
|
+
|
|
6
|
+
from ... import errors
|
|
7
|
+
from ...client import AuthenticatedClient, Client
|
|
8
|
+
from ...models.task_body import TaskBody
|
|
9
|
+
from ...models.task_entry import TaskEntry
|
|
10
|
+
from ...types import UNSET, Response, Unset
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
def _get_kwargs(
|
|
14
|
+
task_id: str,
|
|
15
|
+
*,
|
|
16
|
+
body: TaskBody,
|
|
17
|
+
select: Union[Unset, int] = UNSET,
|
|
18
|
+
) -> dict[str, Any]:
|
|
19
|
+
headers: dict[str, Any] = {}
|
|
20
|
+
|
|
21
|
+
params: dict[str, Any] = {}
|
|
22
|
+
|
|
23
|
+
params["select"] = select
|
|
24
|
+
|
|
25
|
+
params = {k: v for k, v in params.items() if v is not UNSET and v is not None}
|
|
26
|
+
|
|
27
|
+
_kwargs: dict[str, Any] = {
|
|
28
|
+
"method": "put",
|
|
29
|
+
"url": f"/tasks/{task_id}",
|
|
30
|
+
"params": params,
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
_kwargs["json"] = body.to_dict()
|
|
34
|
+
|
|
35
|
+
headers["Content-Type"] = "application/json"
|
|
36
|
+
|
|
37
|
+
_kwargs["headers"] = headers
|
|
38
|
+
return _kwargs
|
|
39
|
+
|
|
40
|
+
|
|
41
|
+
def _parse_response(
|
|
42
|
+
*, client: Union[AuthenticatedClient, Client], response: httpx.Response
|
|
43
|
+
) -> Optional[Union[Any, TaskEntry]]:
|
|
44
|
+
if response.status_code == 200:
|
|
45
|
+
response_200 = TaskEntry.from_dict(response.json())
|
|
46
|
+
|
|
47
|
+
return response_200
|
|
48
|
+
if response.status_code == 400:
|
|
49
|
+
response_400 = cast(Any, None)
|
|
50
|
+
return response_400
|
|
51
|
+
if response.status_code == 401:
|
|
52
|
+
response_401 = cast(Any, None)
|
|
53
|
+
return response_401
|
|
54
|
+
if client.raise_on_unexpected_status:
|
|
55
|
+
raise errors.UnexpectedStatus(response.status_code, response.content)
|
|
56
|
+
else:
|
|
57
|
+
return None
|
|
58
|
+
|
|
59
|
+
|
|
60
|
+
def _build_response(
|
|
61
|
+
*, client: Union[AuthenticatedClient, Client], response: httpx.Response
|
|
62
|
+
) -> Response[Union[Any, TaskEntry]]:
|
|
63
|
+
return Response(
|
|
64
|
+
status_code=HTTPStatus(response.status_code),
|
|
65
|
+
content=response.content,
|
|
66
|
+
headers=response.headers,
|
|
67
|
+
parsed=_parse_response(client=client, response=response),
|
|
68
|
+
)
|
|
69
|
+
|
|
70
|
+
|
|
71
|
+
def sync_detailed(
|
|
72
|
+
task_id: str,
|
|
73
|
+
*,
|
|
74
|
+
client: Union[AuthenticatedClient, Client],
|
|
75
|
+
body: TaskBody,
|
|
76
|
+
select: Union[Unset, int] = UNSET,
|
|
77
|
+
) -> Response[Union[Any, TaskEntry]]:
|
|
78
|
+
r"""Update a task
|
|
79
|
+
|
|
80
|
+
Updates the state of the task **taskId**.
|
|
81
|
+
|
|
82
|
+
To perform a task action the authenticated user must be the assignee or
|
|
83
|
+
a candidate. If networks is enabled, the task action is only
|
|
84
|
+
performed if the task is inside the given network.
|
|
85
|
+
|
|
86
|
+
In non-network deployments, administrators can perform all operations
|
|
87
|
+
on tasks. In network deployments, network administrators can see all
|
|
88
|
+
tasks in their network and perform all operations on tasks in their
|
|
89
|
+
network.
|
|
90
|
+
|
|
91
|
+
You use the **select** parameter in the URL to specify a comma-separated list of
|
|
92
|
+
properties in the
|
|
93
|
+
task that you want to update. Use the JSON body to specify the new values for those
|
|
94
|
+
properties.
|
|
95
|
+
|
|
96
|
+
So for example to change the state of task **123** to **completed**, use
|
|
97
|
+
this URL
|
|
98
|
+
http://localhost:8080/alfresco/api/-default-/public/workflow/versions/1/tasks/123?select=state, and
|
|
99
|
+
provide this request body:
|
|
100
|
+
|
|
101
|
+
```JSON
|
|
102
|
+
{
|
|
103
|
+
\"state\": \"completed\"
|
|
104
|
+
}
|
|
105
|
+
```
|
|
106
|
+
State Transitions
|
|
107
|
+
=================
|
|
108
|
+
|
|
109
|
+
Clients can invoke actions by assigning an allowed value to the state property of a task.
|
|
110
|
+
The select parameter can be used to allow for a partial update of the resource.
|
|
111
|
+
Alfresco will check for illegal state transitions and return an HTTP Bad Request (Response 400)
|
|
112
|
+
if an illegal state transition is attempted.
|
|
113
|
+
There are five state transitions, completing, claiming, unclaiming, delegating, resolving.
|
|
114
|
+
|
|
115
|
+
Completing a task
|
|
116
|
+
-----------------
|
|
117
|
+
|
|
118
|
+
If variables are included in the JSON body, they will be set in the task and then the process will
|
|
119
|
+
continue.
|
|
120
|
+
|
|
121
|
+
To complete a task, the authenticated user must be the assignee of the task, the owner of the task,
|
|
122
|
+
or have started the process.
|
|
123
|
+
|
|
124
|
+
In non-network deployments, administrators can perform this task operation on all tasks.
|
|
125
|
+
In network deployments, network administrators can perform this action on all tasks in their
|
|
126
|
+
network.
|
|
127
|
+
|
|
128
|
+
Here's an example PUT request
|
|
129
|
+
|
|
130
|
+
```
|
|
131
|
+
/tasks/123?select=state,variables
|
|
132
|
+
```
|
|
133
|
+
Here's is a corresponding PUT request body:
|
|
134
|
+
|
|
135
|
+
```JSON
|
|
136
|
+
{
|
|
137
|
+
“state : “completed”,
|
|
138
|
+
“variables” : [
|
|
139
|
+
{
|
|
140
|
+
\"name\" : \"bpm_priority\",
|
|
141
|
+
\"type\" : \"d_int\",
|
|
142
|
+
\"value\" : 1,
|
|
143
|
+
\"scope\" : \"global\"
|
|
144
|
+
}
|
|
145
|
+
]
|
|
146
|
+
}
|
|
147
|
+
```
|
|
148
|
+
|
|
149
|
+
Claiming a task
|
|
150
|
+
-----------------
|
|
151
|
+
|
|
152
|
+
To claim a task, the authenticated user must be the assignee of the task,
|
|
153
|
+
the owner of the task, or have started the process.
|
|
154
|
+
|
|
155
|
+
Here's an example PUT request
|
|
156
|
+
|
|
157
|
+
```
|
|
158
|
+
/tasks/123?select=state
|
|
159
|
+
```
|
|
160
|
+
Here's a corresponding PUT request body:
|
|
161
|
+
|
|
162
|
+
```JSON
|
|
163
|
+
{
|
|
164
|
+
“state : “claimed”
|
|
165
|
+
}
|
|
166
|
+
```
|
|
167
|
+
|
|
168
|
+
Unclaiming a task
|
|
169
|
+
-----------------
|
|
170
|
+
|
|
171
|
+
This removes the current assignee of the task.
|
|
172
|
+
|
|
173
|
+
To unclaim a task, the authenticated user must be the assignee of the task,
|
|
174
|
+
the owner of the task, or have started the process.
|
|
175
|
+
|
|
176
|
+
Here's an example PUT request
|
|
177
|
+
|
|
178
|
+
```
|
|
179
|
+
/tasks/123?select=state
|
|
180
|
+
```
|
|
181
|
+
Here's a corresponding PUT request body:
|
|
182
|
+
|
|
183
|
+
```JSON
|
|
184
|
+
{
|
|
185
|
+
“state : “unclaimed”
|
|
186
|
+
}
|
|
187
|
+
```
|
|
188
|
+
|
|
189
|
+
Delegating a task
|
|
190
|
+
-----------------
|
|
191
|
+
|
|
192
|
+
This delegates the task from the owner to an assignee.
|
|
193
|
+
The result is the same as if the assignee had claimed the task,
|
|
194
|
+
but the task can then be resolved and the owner will
|
|
195
|
+
become the assignee again.
|
|
196
|
+
|
|
197
|
+
To delegate a task, the authenticated user must be the
|
|
198
|
+
assignee of the task and the assignee must be different from the owner.
|
|
199
|
+
|
|
200
|
+
Here's an example PUT request
|
|
201
|
+
|
|
202
|
+
```
|
|
203
|
+
/tasks/123?select=state,assignee
|
|
204
|
+
```
|
|
205
|
+
Here's a corresponding PUT request body:
|
|
206
|
+
|
|
207
|
+
```JSON
|
|
208
|
+
{
|
|
209
|
+
“state : “delegated”,
|
|
210
|
+
“assignee : “Kermit”
|
|
211
|
+
}
|
|
212
|
+
```
|
|
213
|
+
Resolving a task
|
|
214
|
+
-----------------
|
|
215
|
+
|
|
216
|
+
This returns a delegated task back to the owner.
|
|
217
|
+
In order to delegate a task, the authenticated user
|
|
218
|
+
must be the assignee of the task and the assignee must
|
|
219
|
+
be different from the owner.
|
|
220
|
+
|
|
221
|
+
To resolve a task, the authenticated user must be
|
|
222
|
+
the assignee of the task, the owner of the task,
|
|
223
|
+
or have started the process.
|
|
224
|
+
|
|
225
|
+
Here's an example PUT request
|
|
226
|
+
|
|
227
|
+
```
|
|
228
|
+
/tasks/123?select=state
|
|
229
|
+
```
|
|
230
|
+
Here's a corresponding PUT request body:
|
|
231
|
+
|
|
232
|
+
```JSON
|
|
233
|
+
{
|
|
234
|
+
“state : “resolved”
|
|
235
|
+
}
|
|
236
|
+
```
|
|
237
|
+
|
|
238
|
+
Args:
|
|
239
|
+
task_id (str):
|
|
240
|
+
select (Union[Unset, int]):
|
|
241
|
+
body (TaskBody): Input body to update a specific task.
|
|
242
|
+
|
|
243
|
+
Raises:
|
|
244
|
+
errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
|
|
245
|
+
httpx.TimeoutException: If the request takes longer than Client.timeout.
|
|
246
|
+
|
|
247
|
+
Returns:
|
|
248
|
+
Response[Union[Any, TaskEntry]]
|
|
249
|
+
"""
|
|
250
|
+
|
|
251
|
+
kwargs = _get_kwargs(
|
|
252
|
+
task_id=task_id,
|
|
253
|
+
body=body,
|
|
254
|
+
select=select,
|
|
255
|
+
)
|
|
256
|
+
|
|
257
|
+
response = client.get_httpx_client().request(
|
|
258
|
+
**kwargs,
|
|
259
|
+
)
|
|
260
|
+
|
|
261
|
+
return _build_response(client=client, response=response)
|
|
262
|
+
|
|
263
|
+
|
|
264
|
+
def sync(
|
|
265
|
+
task_id: str,
|
|
266
|
+
*,
|
|
267
|
+
client: Union[AuthenticatedClient, Client],
|
|
268
|
+
body: TaskBody,
|
|
269
|
+
select: Union[Unset, int] = UNSET,
|
|
270
|
+
) -> Optional[Union[Any, TaskEntry]]:
|
|
271
|
+
r"""Update a task
|
|
272
|
+
|
|
273
|
+
Updates the state of the task **taskId**.
|
|
274
|
+
|
|
275
|
+
To perform a task action the authenticated user must be the assignee or
|
|
276
|
+
a candidate. If networks is enabled, the task action is only
|
|
277
|
+
performed if the task is inside the given network.
|
|
278
|
+
|
|
279
|
+
In non-network deployments, administrators can perform all operations
|
|
280
|
+
on tasks. In network deployments, network administrators can see all
|
|
281
|
+
tasks in their network and perform all operations on tasks in their
|
|
282
|
+
network.
|
|
283
|
+
|
|
284
|
+
You use the **select** parameter in the URL to specify a comma-separated list of
|
|
285
|
+
properties in the
|
|
286
|
+
task that you want to update. Use the JSON body to specify the new values for those
|
|
287
|
+
properties.
|
|
288
|
+
|
|
289
|
+
So for example to change the state of task **123** to **completed**, use
|
|
290
|
+
this URL
|
|
291
|
+
http://localhost:8080/alfresco/api/-default-/public/workflow/versions/1/tasks/123?select=state, and
|
|
292
|
+
provide this request body:
|
|
293
|
+
|
|
294
|
+
```JSON
|
|
295
|
+
{
|
|
296
|
+
\"state\": \"completed\"
|
|
297
|
+
}
|
|
298
|
+
```
|
|
299
|
+
State Transitions
|
|
300
|
+
=================
|
|
301
|
+
|
|
302
|
+
Clients can invoke actions by assigning an allowed value to the state property of a task.
|
|
303
|
+
The select parameter can be used to allow for a partial update of the resource.
|
|
304
|
+
Alfresco will check for illegal state transitions and return an HTTP Bad Request (Response 400)
|
|
305
|
+
if an illegal state transition is attempted.
|
|
306
|
+
There are five state transitions, completing, claiming, unclaiming, delegating, resolving.
|
|
307
|
+
|
|
308
|
+
Completing a task
|
|
309
|
+
-----------------
|
|
310
|
+
|
|
311
|
+
If variables are included in the JSON body, they will be set in the task and then the process will
|
|
312
|
+
continue.
|
|
313
|
+
|
|
314
|
+
To complete a task, the authenticated user must be the assignee of the task, the owner of the task,
|
|
315
|
+
or have started the process.
|
|
316
|
+
|
|
317
|
+
In non-network deployments, administrators can perform this task operation on all tasks.
|
|
318
|
+
In network deployments, network administrators can perform this action on all tasks in their
|
|
319
|
+
network.
|
|
320
|
+
|
|
321
|
+
Here's an example PUT request
|
|
322
|
+
|
|
323
|
+
```
|
|
324
|
+
/tasks/123?select=state,variables
|
|
325
|
+
```
|
|
326
|
+
Here's is a corresponding PUT request body:
|
|
327
|
+
|
|
328
|
+
```JSON
|
|
329
|
+
{
|
|
330
|
+
“state : “completed”,
|
|
331
|
+
“variables” : [
|
|
332
|
+
{
|
|
333
|
+
\"name\" : \"bpm_priority\",
|
|
334
|
+
\"type\" : \"d_int\",
|
|
335
|
+
\"value\" : 1,
|
|
336
|
+
\"scope\" : \"global\"
|
|
337
|
+
}
|
|
338
|
+
]
|
|
339
|
+
}
|
|
340
|
+
```
|
|
341
|
+
|
|
342
|
+
Claiming a task
|
|
343
|
+
-----------------
|
|
344
|
+
|
|
345
|
+
To claim a task, the authenticated user must be the assignee of the task,
|
|
346
|
+
the owner of the task, or have started the process.
|
|
347
|
+
|
|
348
|
+
Here's an example PUT request
|
|
349
|
+
|
|
350
|
+
```
|
|
351
|
+
/tasks/123?select=state
|
|
352
|
+
```
|
|
353
|
+
Here's a corresponding PUT request body:
|
|
354
|
+
|
|
355
|
+
```JSON
|
|
356
|
+
{
|
|
357
|
+
“state : “claimed”
|
|
358
|
+
}
|
|
359
|
+
```
|
|
360
|
+
|
|
361
|
+
Unclaiming a task
|
|
362
|
+
-----------------
|
|
363
|
+
|
|
364
|
+
This removes the current assignee of the task.
|
|
365
|
+
|
|
366
|
+
To unclaim a task, the authenticated user must be the assignee of the task,
|
|
367
|
+
the owner of the task, or have started the process.
|
|
368
|
+
|
|
369
|
+
Here's an example PUT request
|
|
370
|
+
|
|
371
|
+
```
|
|
372
|
+
/tasks/123?select=state
|
|
373
|
+
```
|
|
374
|
+
Here's a corresponding PUT request body:
|
|
375
|
+
|
|
376
|
+
```JSON
|
|
377
|
+
{
|
|
378
|
+
“state : “unclaimed”
|
|
379
|
+
}
|
|
380
|
+
```
|
|
381
|
+
|
|
382
|
+
Delegating a task
|
|
383
|
+
-----------------
|
|
384
|
+
|
|
385
|
+
This delegates the task from the owner to an assignee.
|
|
386
|
+
The result is the same as if the assignee had claimed the task,
|
|
387
|
+
but the task can then be resolved and the owner will
|
|
388
|
+
become the assignee again.
|
|
389
|
+
|
|
390
|
+
To delegate a task, the authenticated user must be the
|
|
391
|
+
assignee of the task and the assignee must be different from the owner.
|
|
392
|
+
|
|
393
|
+
Here's an example PUT request
|
|
394
|
+
|
|
395
|
+
```
|
|
396
|
+
/tasks/123?select=state,assignee
|
|
397
|
+
```
|
|
398
|
+
Here's a corresponding PUT request body:
|
|
399
|
+
|
|
400
|
+
```JSON
|
|
401
|
+
{
|
|
402
|
+
“state : “delegated”,
|
|
403
|
+
“assignee : “Kermit”
|
|
404
|
+
}
|
|
405
|
+
```
|
|
406
|
+
Resolving a task
|
|
407
|
+
-----------------
|
|
408
|
+
|
|
409
|
+
This returns a delegated task back to the owner.
|
|
410
|
+
In order to delegate a task, the authenticated user
|
|
411
|
+
must be the assignee of the task and the assignee must
|
|
412
|
+
be different from the owner.
|
|
413
|
+
|
|
414
|
+
To resolve a task, the authenticated user must be
|
|
415
|
+
the assignee of the task, the owner of the task,
|
|
416
|
+
or have started the process.
|
|
417
|
+
|
|
418
|
+
Here's an example PUT request
|
|
419
|
+
|
|
420
|
+
```
|
|
421
|
+
/tasks/123?select=state
|
|
422
|
+
```
|
|
423
|
+
Here's a corresponding PUT request body:
|
|
424
|
+
|
|
425
|
+
```JSON
|
|
426
|
+
{
|
|
427
|
+
“state : “resolved”
|
|
428
|
+
}
|
|
429
|
+
```
|
|
430
|
+
|
|
431
|
+
Args:
|
|
432
|
+
task_id (str):
|
|
433
|
+
select (Union[Unset, int]):
|
|
434
|
+
body (TaskBody): Input body to update a specific task.
|
|
435
|
+
|
|
436
|
+
Raises:
|
|
437
|
+
errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
|
|
438
|
+
httpx.TimeoutException: If the request takes longer than Client.timeout.
|
|
439
|
+
|
|
440
|
+
Returns:
|
|
441
|
+
Union[Any, TaskEntry]
|
|
442
|
+
"""
|
|
443
|
+
|
|
444
|
+
return sync_detailed(
|
|
445
|
+
task_id=task_id,
|
|
446
|
+
client=client,
|
|
447
|
+
body=body,
|
|
448
|
+
select=select,
|
|
449
|
+
).parsed
|
|
450
|
+
|
|
451
|
+
|
|
452
|
+
async def asyncio_detailed(
|
|
453
|
+
task_id: str,
|
|
454
|
+
*,
|
|
455
|
+
client: Union[AuthenticatedClient, Client],
|
|
456
|
+
body: TaskBody,
|
|
457
|
+
select: Union[Unset, int] = UNSET,
|
|
458
|
+
) -> Response[Union[Any, TaskEntry]]:
|
|
459
|
+
r"""Update a task
|
|
460
|
+
|
|
461
|
+
Updates the state of the task **taskId**.
|
|
462
|
+
|
|
463
|
+
To perform a task action the authenticated user must be the assignee or
|
|
464
|
+
a candidate. If networks is enabled, the task action is only
|
|
465
|
+
performed if the task is inside the given network.
|
|
466
|
+
|
|
467
|
+
In non-network deployments, administrators can perform all operations
|
|
468
|
+
on tasks. In network deployments, network administrators can see all
|
|
469
|
+
tasks in their network and perform all operations on tasks in their
|
|
470
|
+
network.
|
|
471
|
+
|
|
472
|
+
You use the **select** parameter in the URL to specify a comma-separated list of
|
|
473
|
+
properties in the
|
|
474
|
+
task that you want to update. Use the JSON body to specify the new values for those
|
|
475
|
+
properties.
|
|
476
|
+
|
|
477
|
+
So for example to change the state of task **123** to **completed**, use
|
|
478
|
+
this URL
|
|
479
|
+
http://localhost:8080/alfresco/api/-default-/public/workflow/versions/1/tasks/123?select=state, and
|
|
480
|
+
provide this request body:
|
|
481
|
+
|
|
482
|
+
```JSON
|
|
483
|
+
{
|
|
484
|
+
\"state\": \"completed\"
|
|
485
|
+
}
|
|
486
|
+
```
|
|
487
|
+
State Transitions
|
|
488
|
+
=================
|
|
489
|
+
|
|
490
|
+
Clients can invoke actions by assigning an allowed value to the state property of a task.
|
|
491
|
+
The select parameter can be used to allow for a partial update of the resource.
|
|
492
|
+
Alfresco will check for illegal state transitions and return an HTTP Bad Request (Response 400)
|
|
493
|
+
if an illegal state transition is attempted.
|
|
494
|
+
There are five state transitions, completing, claiming, unclaiming, delegating, resolving.
|
|
495
|
+
|
|
496
|
+
Completing a task
|
|
497
|
+
-----------------
|
|
498
|
+
|
|
499
|
+
If variables are included in the JSON body, they will be set in the task and then the process will
|
|
500
|
+
continue.
|
|
501
|
+
|
|
502
|
+
To complete a task, the authenticated user must be the assignee of the task, the owner of the task,
|
|
503
|
+
or have started the process.
|
|
504
|
+
|
|
505
|
+
In non-network deployments, administrators can perform this task operation on all tasks.
|
|
506
|
+
In network deployments, network administrators can perform this action on all tasks in their
|
|
507
|
+
network.
|
|
508
|
+
|
|
509
|
+
Here's an example PUT request
|
|
510
|
+
|
|
511
|
+
```
|
|
512
|
+
/tasks/123?select=state,variables
|
|
513
|
+
```
|
|
514
|
+
Here's is a corresponding PUT request body:
|
|
515
|
+
|
|
516
|
+
```JSON
|
|
517
|
+
{
|
|
518
|
+
“state : “completed”,
|
|
519
|
+
“variables” : [
|
|
520
|
+
{
|
|
521
|
+
\"name\" : \"bpm_priority\",
|
|
522
|
+
\"type\" : \"d_int\",
|
|
523
|
+
\"value\" : 1,
|
|
524
|
+
\"scope\" : \"global\"
|
|
525
|
+
}
|
|
526
|
+
]
|
|
527
|
+
}
|
|
528
|
+
```
|
|
529
|
+
|
|
530
|
+
Claiming a task
|
|
531
|
+
-----------------
|
|
532
|
+
|
|
533
|
+
To claim a task, the authenticated user must be the assignee of the task,
|
|
534
|
+
the owner of the task, or have started the process.
|
|
535
|
+
|
|
536
|
+
Here's an example PUT request
|
|
537
|
+
|
|
538
|
+
```
|
|
539
|
+
/tasks/123?select=state
|
|
540
|
+
```
|
|
541
|
+
Here's a corresponding PUT request body:
|
|
542
|
+
|
|
543
|
+
```JSON
|
|
544
|
+
{
|
|
545
|
+
“state : “claimed”
|
|
546
|
+
}
|
|
547
|
+
```
|
|
548
|
+
|
|
549
|
+
Unclaiming a task
|
|
550
|
+
-----------------
|
|
551
|
+
|
|
552
|
+
This removes the current assignee of the task.
|
|
553
|
+
|
|
554
|
+
To unclaim a task, the authenticated user must be the assignee of the task,
|
|
555
|
+
the owner of the task, or have started the process.
|
|
556
|
+
|
|
557
|
+
Here's an example PUT request
|
|
558
|
+
|
|
559
|
+
```
|
|
560
|
+
/tasks/123?select=state
|
|
561
|
+
```
|
|
562
|
+
Here's a corresponding PUT request body:
|
|
563
|
+
|
|
564
|
+
```JSON
|
|
565
|
+
{
|
|
566
|
+
“state : “unclaimed”
|
|
567
|
+
}
|
|
568
|
+
```
|
|
569
|
+
|
|
570
|
+
Delegating a task
|
|
571
|
+
-----------------
|
|
572
|
+
|
|
573
|
+
This delegates the task from the owner to an assignee.
|
|
574
|
+
The result is the same as if the assignee had claimed the task,
|
|
575
|
+
but the task can then be resolved and the owner will
|
|
576
|
+
become the assignee again.
|
|
577
|
+
|
|
578
|
+
To delegate a task, the authenticated user must be the
|
|
579
|
+
assignee of the task and the assignee must be different from the owner.
|
|
580
|
+
|
|
581
|
+
Here's an example PUT request
|
|
582
|
+
|
|
583
|
+
```
|
|
584
|
+
/tasks/123?select=state,assignee
|
|
585
|
+
```
|
|
586
|
+
Here's a corresponding PUT request body:
|
|
587
|
+
|
|
588
|
+
```JSON
|
|
589
|
+
{
|
|
590
|
+
“state : “delegated”,
|
|
591
|
+
“assignee : “Kermit”
|
|
592
|
+
}
|
|
593
|
+
```
|
|
594
|
+
Resolving a task
|
|
595
|
+
-----------------
|
|
596
|
+
|
|
597
|
+
This returns a delegated task back to the owner.
|
|
598
|
+
In order to delegate a task, the authenticated user
|
|
599
|
+
must be the assignee of the task and the assignee must
|
|
600
|
+
be different from the owner.
|
|
601
|
+
|
|
602
|
+
To resolve a task, the authenticated user must be
|
|
603
|
+
the assignee of the task, the owner of the task,
|
|
604
|
+
or have started the process.
|
|
605
|
+
|
|
606
|
+
Here's an example PUT request
|
|
607
|
+
|
|
608
|
+
```
|
|
609
|
+
/tasks/123?select=state
|
|
610
|
+
```
|
|
611
|
+
Here's a corresponding PUT request body:
|
|
612
|
+
|
|
613
|
+
```JSON
|
|
614
|
+
{
|
|
615
|
+
“state : “resolved”
|
|
616
|
+
}
|
|
617
|
+
```
|
|
618
|
+
|
|
619
|
+
Args:
|
|
620
|
+
task_id (str):
|
|
621
|
+
select (Union[Unset, int]):
|
|
622
|
+
body (TaskBody): Input body to update a specific task.
|
|
623
|
+
|
|
624
|
+
Raises:
|
|
625
|
+
errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
|
|
626
|
+
httpx.TimeoutException: If the request takes longer than Client.timeout.
|
|
627
|
+
|
|
628
|
+
Returns:
|
|
629
|
+
Response[Union[Any, TaskEntry]]
|
|
630
|
+
"""
|
|
631
|
+
|
|
632
|
+
kwargs = _get_kwargs(
|
|
633
|
+
task_id=task_id,
|
|
634
|
+
body=body,
|
|
635
|
+
select=select,
|
|
636
|
+
)
|
|
637
|
+
|
|
638
|
+
response = await client.get_async_httpx_client().request(**kwargs)
|
|
639
|
+
|
|
640
|
+
return _build_response(client=client, response=response)
|
|
641
|
+
|
|
642
|
+
|
|
643
|
+
async def asyncio(
|
|
644
|
+
task_id: str,
|
|
645
|
+
*,
|
|
646
|
+
client: Union[AuthenticatedClient, Client],
|
|
647
|
+
body: TaskBody,
|
|
648
|
+
select: Union[Unset, int] = UNSET,
|
|
649
|
+
) -> Optional[Union[Any, TaskEntry]]:
|
|
650
|
+
r"""Update a task
|
|
651
|
+
|
|
652
|
+
Updates the state of the task **taskId**.
|
|
653
|
+
|
|
654
|
+
To perform a task action the authenticated user must be the assignee or
|
|
655
|
+
a candidate. If networks is enabled, the task action is only
|
|
656
|
+
performed if the task is inside the given network.
|
|
657
|
+
|
|
658
|
+
In non-network deployments, administrators can perform all operations
|
|
659
|
+
on tasks. In network deployments, network administrators can see all
|
|
660
|
+
tasks in their network and perform all operations on tasks in their
|
|
661
|
+
network.
|
|
662
|
+
|
|
663
|
+
You use the **select** parameter in the URL to specify a comma-separated list of
|
|
664
|
+
properties in the
|
|
665
|
+
task that you want to update. Use the JSON body to specify the new values for those
|
|
666
|
+
properties.
|
|
667
|
+
|
|
668
|
+
So for example to change the state of task **123** to **completed**, use
|
|
669
|
+
this URL
|
|
670
|
+
http://localhost:8080/alfresco/api/-default-/public/workflow/versions/1/tasks/123?select=state, and
|
|
671
|
+
provide this request body:
|
|
672
|
+
|
|
673
|
+
```JSON
|
|
674
|
+
{
|
|
675
|
+
\"state\": \"completed\"
|
|
676
|
+
}
|
|
677
|
+
```
|
|
678
|
+
State Transitions
|
|
679
|
+
=================
|
|
680
|
+
|
|
681
|
+
Clients can invoke actions by assigning an allowed value to the state property of a task.
|
|
682
|
+
The select parameter can be used to allow for a partial update of the resource.
|
|
683
|
+
Alfresco will check for illegal state transitions and return an HTTP Bad Request (Response 400)
|
|
684
|
+
if an illegal state transition is attempted.
|
|
685
|
+
There are five state transitions, completing, claiming, unclaiming, delegating, resolving.
|
|
686
|
+
|
|
687
|
+
Completing a task
|
|
688
|
+
-----------------
|
|
689
|
+
|
|
690
|
+
If variables are included in the JSON body, they will be set in the task and then the process will
|
|
691
|
+
continue.
|
|
692
|
+
|
|
693
|
+
To complete a task, the authenticated user must be the assignee of the task, the owner of the task,
|
|
694
|
+
or have started the process.
|
|
695
|
+
|
|
696
|
+
In non-network deployments, administrators can perform this task operation on all tasks.
|
|
697
|
+
In network deployments, network administrators can perform this action on all tasks in their
|
|
698
|
+
network.
|
|
699
|
+
|
|
700
|
+
Here's an example PUT request
|
|
701
|
+
|
|
702
|
+
```
|
|
703
|
+
/tasks/123?select=state,variables
|
|
704
|
+
```
|
|
705
|
+
Here's is a corresponding PUT request body:
|
|
706
|
+
|
|
707
|
+
```JSON
|
|
708
|
+
{
|
|
709
|
+
“state : “completed”,
|
|
710
|
+
“variables” : [
|
|
711
|
+
{
|
|
712
|
+
\"name\" : \"bpm_priority\",
|
|
713
|
+
\"type\" : \"d_int\",
|
|
714
|
+
\"value\" : 1,
|
|
715
|
+
\"scope\" : \"global\"
|
|
716
|
+
}
|
|
717
|
+
]
|
|
718
|
+
}
|
|
719
|
+
```
|
|
720
|
+
|
|
721
|
+
Claiming a task
|
|
722
|
+
-----------------
|
|
723
|
+
|
|
724
|
+
To claim a task, the authenticated user must be the assignee of the task,
|
|
725
|
+
the owner of the task, or have started the process.
|
|
726
|
+
|
|
727
|
+
Here's an example PUT request
|
|
728
|
+
|
|
729
|
+
```
|
|
730
|
+
/tasks/123?select=state
|
|
731
|
+
```
|
|
732
|
+
Here's a corresponding PUT request body:
|
|
733
|
+
|
|
734
|
+
```JSON
|
|
735
|
+
{
|
|
736
|
+
“state : “claimed”
|
|
737
|
+
}
|
|
738
|
+
```
|
|
739
|
+
|
|
740
|
+
Unclaiming a task
|
|
741
|
+
-----------------
|
|
742
|
+
|
|
743
|
+
This removes the current assignee of the task.
|
|
744
|
+
|
|
745
|
+
To unclaim a task, the authenticated user must be the assignee of the task,
|
|
746
|
+
the owner of the task, or have started the process.
|
|
747
|
+
|
|
748
|
+
Here's an example PUT request
|
|
749
|
+
|
|
750
|
+
```
|
|
751
|
+
/tasks/123?select=state
|
|
752
|
+
```
|
|
753
|
+
Here's a corresponding PUT request body:
|
|
754
|
+
|
|
755
|
+
```JSON
|
|
756
|
+
{
|
|
757
|
+
“state : “unclaimed”
|
|
758
|
+
}
|
|
759
|
+
```
|
|
760
|
+
|
|
761
|
+
Delegating a task
|
|
762
|
+
-----------------
|
|
763
|
+
|
|
764
|
+
This delegates the task from the owner to an assignee.
|
|
765
|
+
The result is the same as if the assignee had claimed the task,
|
|
766
|
+
but the task can then be resolved and the owner will
|
|
767
|
+
become the assignee again.
|
|
768
|
+
|
|
769
|
+
To delegate a task, the authenticated user must be the
|
|
770
|
+
assignee of the task and the assignee must be different from the owner.
|
|
771
|
+
|
|
772
|
+
Here's an example PUT request
|
|
773
|
+
|
|
774
|
+
```
|
|
775
|
+
/tasks/123?select=state,assignee
|
|
776
|
+
```
|
|
777
|
+
Here's a corresponding PUT request body:
|
|
778
|
+
|
|
779
|
+
```JSON
|
|
780
|
+
{
|
|
781
|
+
“state : “delegated”,
|
|
782
|
+
“assignee : “Kermit”
|
|
783
|
+
}
|
|
784
|
+
```
|
|
785
|
+
Resolving a task
|
|
786
|
+
-----------------
|
|
787
|
+
|
|
788
|
+
This returns a delegated task back to the owner.
|
|
789
|
+
In order to delegate a task, the authenticated user
|
|
790
|
+
must be the assignee of the task and the assignee must
|
|
791
|
+
be different from the owner.
|
|
792
|
+
|
|
793
|
+
To resolve a task, the authenticated user must be
|
|
794
|
+
the assignee of the task, the owner of the task,
|
|
795
|
+
or have started the process.
|
|
796
|
+
|
|
797
|
+
Here's an example PUT request
|
|
798
|
+
|
|
799
|
+
```
|
|
800
|
+
/tasks/123?select=state
|
|
801
|
+
```
|
|
802
|
+
Here's a corresponding PUT request body:
|
|
803
|
+
|
|
804
|
+
```JSON
|
|
805
|
+
{
|
|
806
|
+
“state : “resolved”
|
|
807
|
+
}
|
|
808
|
+
```
|
|
809
|
+
|
|
810
|
+
Args:
|
|
811
|
+
task_id (str):
|
|
812
|
+
select (Union[Unset, int]):
|
|
813
|
+
body (TaskBody): Input body to update a specific task.
|
|
814
|
+
|
|
815
|
+
Raises:
|
|
816
|
+
errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
|
|
817
|
+
httpx.TimeoutException: If the request takes longer than Client.timeout.
|
|
818
|
+
|
|
819
|
+
Returns:
|
|
820
|
+
Union[Any, TaskEntry]
|
|
821
|
+
"""
|
|
822
|
+
|
|
823
|
+
return (
|
|
824
|
+
await asyncio_detailed(
|
|
825
|
+
task_id=task_id,
|
|
826
|
+
client=client,
|
|
827
|
+
body=body,
|
|
828
|
+
select=select,
|
|
829
|
+
)
|
|
830
|
+
).parsed
|