agentmail 2.0.1__tar.gz → 2.0.2__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {agentmail-2.0.1 → agentmail-2.0.2}/PKG-INFO +1 -1
- {agentmail-2.0.1 → agentmail-2.0.2}/pyproject.toml +1 -1
- {agentmail-2.0.1 → agentmail-2.0.2}/src/agentmail/__init__.py +15 -1
- {agentmail-2.0.1 → agentmail-2.0.2}/src/agentmail/accounts/__init__.py +21 -2
- agentmail-2.0.2/src/agentmail/accounts/client.py +337 -0
- agentmail-2.0.2/src/agentmail/accounts/raw_client.py +486 -0
- {agentmail-2.0.1 → agentmail-2.0.2}/src/agentmail/accounts/types/__init__.py +15 -1
- {agentmail-2.0.1 → agentmail-2.0.2}/src/agentmail/accounts/types/account.py +11 -0
- agentmail-2.0.2/src/agentmail/accounts/types/account_status.py +5 -0
- agentmail-2.0.2/src/agentmail/accounts/types/update_account_request.py +27 -0
- agentmail-2.0.2/src/agentmail/accounts/types/update_account_status.py +5 -0
- {agentmail-2.0.1 → agentmail-2.0.2}/src/agentmail/api_keys/types/api_key_permissions.py +6 -0
- {agentmail-2.0.1 → agentmail-2.0.2}/src/agentmail/core/client_wrapper.py +2 -2
- {agentmail-2.0.1 → agentmail-2.0.2}/src/agentmail/inboxes/__init__.py +3 -1
- agentmail-2.0.2/src/agentmail/inboxes/accounts/client.py +229 -0
- agentmail-2.0.2/src/agentmail/inboxes/accounts/raw_client.py +286 -0
- {agentmail-2.0.1 → agentmail-2.0.2}/src/agentmail/inboxes/client.py +19 -0
- {agentmail-2.0.1 → agentmail-2.0.2}/src/agentmail/pods/__init__.py +3 -1
- {agentmail-2.0.1/src/agentmail → agentmail-2.0.2/src/agentmail/pods}/accounts/client.py +47 -20
- {agentmail-2.0.1/src/agentmail → agentmail-2.0.2/src/agentmail/pods}/accounts/raw_client.py +42 -25
- {agentmail-2.0.1 → agentmail-2.0.2}/src/agentmail/pods/client.py +19 -0
- agentmail-2.0.2/src/agentmail/pods/threads/__init__.py +4 -0
- agentmail-2.0.2/src/agentmail/pods/webhooks/__init__.py +4 -0
- {agentmail-2.0.1 → agentmail-2.0.2}/src/agentmail/pods/webhooks/client.py +6 -2
- {agentmail-2.0.1 → agentmail-2.0.2}/src/agentmail/pods/webhooks/raw_client.py +6 -2
- {agentmail-2.0.1 → agentmail-2.0.2}/src/agentmail/webhooks/client.py +10 -2
- {agentmail-2.0.1 → agentmail-2.0.2}/src/agentmail/webhooks/raw_client.py +10 -2
- {agentmail-2.0.1 → agentmail-2.0.2}/src/agentmail/webhooks/types/create_webhook_request.py +5 -1
- {agentmail-2.0.1 → agentmail-2.0.2}/src/agentmail/webhooks/types/update_pod_webhook_request.py +3 -1
- {agentmail-2.0.1 → agentmail-2.0.2}/LICENSE +0 -0
- {agentmail-2.0.1 → agentmail-2.0.2}/README.md +0 -0
- {agentmail-2.0.1 → agentmail-2.0.2}/src/agentmail/accounts/types/account_id.py +0 -0
- {agentmail-2.0.1 → agentmail-2.0.2}/src/agentmail/accounts/types/list_accounts_response.py +0 -0
- {agentmail-2.0.1 → agentmail-2.0.2}/src/agentmail/accounts/types/provider_id.py +0 -0
- {agentmail-2.0.1 → agentmail-2.0.2}/src/agentmail/agent/__init__.py +0 -0
- {agentmail-2.0.1 → agentmail-2.0.2}/src/agentmail/agent/client.py +0 -0
- {agentmail-2.0.1 → agentmail-2.0.2}/src/agentmail/agent/raw_client.py +0 -0
- {agentmail-2.0.1 → agentmail-2.0.2}/src/agentmail/agent/types/__init__.py +0 -0
- {agentmail-2.0.1 → agentmail-2.0.2}/src/agentmail/agent/types/agent_signup_request.py +0 -0
- {agentmail-2.0.1 → agentmail-2.0.2}/src/agentmail/agent/types/agent_signup_response.py +0 -0
- {agentmail-2.0.1 → agentmail-2.0.2}/src/agentmail/agent/types/agent_verify_request.py +0 -0
- {agentmail-2.0.1 → agentmail-2.0.2}/src/agentmail/agent/types/agent_verify_response.py +0 -0
- {agentmail-2.0.1 → agentmail-2.0.2}/src/agentmail/api_keys/__init__.py +0 -0
- {agentmail-2.0.1 → agentmail-2.0.2}/src/agentmail/api_keys/client.py +0 -0
- {agentmail-2.0.1 → agentmail-2.0.2}/src/agentmail/api_keys/raw_client.py +0 -0
- {agentmail-2.0.1 → agentmail-2.0.2}/src/agentmail/api_keys/types/__init__.py +0 -0
- {agentmail-2.0.1 → agentmail-2.0.2}/src/agentmail/api_keys/types/accept_disclosure.py +0 -0
- {agentmail-2.0.1 → agentmail-2.0.2}/src/agentmail/api_keys/types/api_key.py +0 -0
- {agentmail-2.0.1 → agentmail-2.0.2}/src/agentmail/api_keys/types/api_key_creator.py +0 -0
- {agentmail-2.0.1 → agentmail-2.0.2}/src/agentmail/api_keys/types/api_key_id.py +0 -0
- {agentmail-2.0.1 → agentmail-2.0.2}/src/agentmail/api_keys/types/api_key_mutable_fields.py +0 -0
- {agentmail-2.0.1 → agentmail-2.0.2}/src/agentmail/api_keys/types/api_key_type.py +0 -0
- {agentmail-2.0.1 → agentmail-2.0.2}/src/agentmail/api_keys/types/auth_token.py +0 -0
- {agentmail-2.0.1 → agentmail-2.0.2}/src/agentmail/api_keys/types/bearer_api_key.py +0 -0
- {agentmail-2.0.1 → agentmail-2.0.2}/src/agentmail/api_keys/types/create_api_key_request.py +0 -0
- {agentmail-2.0.1 → agentmail-2.0.2}/src/agentmail/api_keys/types/create_api_key_response.py +0 -0
- {agentmail-2.0.1 → agentmail-2.0.2}/src/agentmail/api_keys/types/create_api_key_result.py +0 -0
- {agentmail-2.0.1 → agentmail-2.0.2}/src/agentmail/api_keys/types/create_bearer_api_key_request.py +0 -0
- {agentmail-2.0.1 → agentmail-2.0.2}/src/agentmail/api_keys/types/create_public_key_request.py +0 -0
- {agentmail-2.0.1 → agentmail-2.0.2}/src/agentmail/api_keys/types/created_at.py +0 -0
- {agentmail-2.0.1 → agentmail-2.0.2}/src/agentmail/api_keys/types/expires_at.py +0 -0
- {agentmail-2.0.1 → agentmail-2.0.2}/src/agentmail/api_keys/types/inbox_scope_id.py +0 -0
- {agentmail-2.0.1 → agentmail-2.0.2}/src/agentmail/api_keys/types/list_api_keys_response.py +0 -0
- {agentmail-2.0.1 → agentmail-2.0.2}/src/agentmail/api_keys/types/name.py +0 -0
- {agentmail-2.0.1 → agentmail-2.0.2}/src/agentmail/api_keys/types/pod_scope_id.py +0 -0
- {agentmail-2.0.1 → agentmail-2.0.2}/src/agentmail/api_keys/types/prefix.py +0 -0
- {agentmail-2.0.1 → agentmail-2.0.2}/src/agentmail/api_keys/types/public_jwk.py +0 -0
- {agentmail-2.0.1 → agentmail-2.0.2}/src/agentmail/api_keys/types/public_jwk_coordinate.py +0 -0
- {agentmail-2.0.1 → agentmail-2.0.2}/src/agentmail/api_keys/types/public_key_client_id.py +0 -0
- {agentmail-2.0.1 → agentmail-2.0.2}/src/agentmail/api_keys/types/public_key_credential.py +0 -0
- {agentmail-2.0.1 → agentmail-2.0.2}/src/agentmail/api_keys/types/public_key_material.py +0 -0
- {agentmail-2.0.1 → agentmail-2.0.2}/src/agentmail/api_keys/types/public_key_status.py +0 -0
- {agentmail-2.0.1 → agentmail-2.0.2}/src/agentmail/api_keys/types/update_api_key_request.py +0 -0
- {agentmail-2.0.1 → agentmail-2.0.2}/src/agentmail/api_keys/types/updated_at.py +0 -0
- {agentmail-2.0.1 → agentmail-2.0.2}/src/agentmail/api_keys/types/used_at.py +0 -0
- {agentmail-2.0.1 → agentmail-2.0.2}/src/agentmail/attachments/__init__.py +0 -0
- {agentmail-2.0.1 → agentmail-2.0.2}/src/agentmail/attachments/types/__init__.py +0 -0
- {agentmail-2.0.1 → agentmail-2.0.2}/src/agentmail/attachments/types/attachment.py +0 -0
- {agentmail-2.0.1 → agentmail-2.0.2}/src/agentmail/attachments/types/attachment_content_disposition.py +0 -0
- {agentmail-2.0.1 → agentmail-2.0.2}/src/agentmail/attachments/types/attachment_content_id.py +0 -0
- {agentmail-2.0.1 → agentmail-2.0.2}/src/agentmail/attachments/types/attachment_content_type.py +0 -0
- {agentmail-2.0.1 → agentmail-2.0.2}/src/agentmail/attachments/types/attachment_filename.py +0 -0
- {agentmail-2.0.1 → agentmail-2.0.2}/src/agentmail/attachments/types/attachment_id.py +0 -0
- {agentmail-2.0.1 → agentmail-2.0.2}/src/agentmail/attachments/types/attachment_response.py +0 -0
- {agentmail-2.0.1 → agentmail-2.0.2}/src/agentmail/attachments/types/attachment_size.py +0 -0
- {agentmail-2.0.1 → agentmail-2.0.2}/src/agentmail/attachments/types/send_attachment.py +0 -0
- {agentmail-2.0.1 → agentmail-2.0.2}/src/agentmail/auth/__init__.py +0 -0
- {agentmail-2.0.1 → agentmail-2.0.2}/src/agentmail/auth/client.py +0 -0
- {agentmail-2.0.1 → agentmail-2.0.2}/src/agentmail/auth/raw_client.py +0 -0
- {agentmail-2.0.1 → agentmail-2.0.2}/src/agentmail/auth/types/__init__.py +0 -0
- {agentmail-2.0.1 → agentmail-2.0.2}/src/agentmail/auth/types/identity.py +0 -0
- {agentmail-2.0.1 → agentmail-2.0.2}/src/agentmail/auth/types/scope_type.py +0 -0
- {agentmail-2.0.1 → agentmail-2.0.2}/src/agentmail/client.py +0 -0
- {agentmail-2.0.1 → agentmail-2.0.2}/src/agentmail/core/__init__.py +0 -0
- {agentmail-2.0.1 → agentmail-2.0.2}/src/agentmail/core/api_error.py +0 -0
- {agentmail-2.0.1 → agentmail-2.0.2}/src/agentmail/core/datetime_utils.py +0 -0
- {agentmail-2.0.1 → agentmail-2.0.2}/src/agentmail/core/events.py +0 -0
- {agentmail-2.0.1 → agentmail-2.0.2}/src/agentmail/core/file.py +0 -0
- {agentmail-2.0.1 → agentmail-2.0.2}/src/agentmail/core/force_multipart.py +0 -0
- {agentmail-2.0.1 → agentmail-2.0.2}/src/agentmail/core/http_client.py +0 -0
- {agentmail-2.0.1 → agentmail-2.0.2}/src/agentmail/core/http_response.py +0 -0
- {agentmail-2.0.1 → agentmail-2.0.2}/src/agentmail/core/http_sse/__init__.py +0 -0
- {agentmail-2.0.1 → agentmail-2.0.2}/src/agentmail/core/http_sse/_api.py +0 -0
- {agentmail-2.0.1 → agentmail-2.0.2}/src/agentmail/core/http_sse/_decoders.py +0 -0
- {agentmail-2.0.1 → agentmail-2.0.2}/src/agentmail/core/http_sse/_exceptions.py +0 -0
- {agentmail-2.0.1 → agentmail-2.0.2}/src/agentmail/core/http_sse/_models.py +0 -0
- {agentmail-2.0.1 → agentmail-2.0.2}/src/agentmail/core/jsonable_encoder.py +0 -0
- {agentmail-2.0.1 → agentmail-2.0.2}/src/agentmail/core/logging.py +0 -0
- {agentmail-2.0.1 → agentmail-2.0.2}/src/agentmail/core/parse_error.py +0 -0
- {agentmail-2.0.1 → agentmail-2.0.2}/src/agentmail/core/pydantic_utilities.py +0 -0
- {agentmail-2.0.1 → agentmail-2.0.2}/src/agentmail/core/query_encoder.py +0 -0
- {agentmail-2.0.1 → agentmail-2.0.2}/src/agentmail/core/remove_none_from_dict.py +0 -0
- {agentmail-2.0.1 → agentmail-2.0.2}/src/agentmail/core/request_options.py +0 -0
- {agentmail-2.0.1 → agentmail-2.0.2}/src/agentmail/core/serialization.py +0 -0
- {agentmail-2.0.1 → agentmail-2.0.2}/src/agentmail/core/unchecked_base_model.py +0 -0
- {agentmail-2.0.1 → agentmail-2.0.2}/src/agentmail/core/websocket_compat.py +0 -0
- {agentmail-2.0.1 → agentmail-2.0.2}/src/agentmail/domains/__init__.py +0 -0
- {agentmail-2.0.1 → agentmail-2.0.2}/src/agentmail/domains/client.py +0 -0
- {agentmail-2.0.1 → agentmail-2.0.2}/src/agentmail/domains/raw_client.py +0 -0
- {agentmail-2.0.1 → agentmail-2.0.2}/src/agentmail/domains/types/__init__.py +0 -0
- {agentmail-2.0.1 → agentmail-2.0.2}/src/agentmail/domains/types/client_id.py +0 -0
- {agentmail-2.0.1 → agentmail-2.0.2}/src/agentmail/domains/types/create_domain_request.py +0 -0
- {agentmail-2.0.1 → agentmail-2.0.2}/src/agentmail/domains/types/domain.py +0 -0
- {agentmail-2.0.1 → agentmail-2.0.2}/src/agentmail/domains/types/domain_id.py +0 -0
- {agentmail-2.0.1 → agentmail-2.0.2}/src/agentmail/domains/types/domain_item.py +0 -0
- {agentmail-2.0.1 → agentmail-2.0.2}/src/agentmail/domains/types/domain_name.py +0 -0
- {agentmail-2.0.1 → agentmail-2.0.2}/src/agentmail/domains/types/feedback_enabled.py +0 -0
- {agentmail-2.0.1 → agentmail-2.0.2}/src/agentmail/domains/types/get_setup_link_response.py +0 -0
- {agentmail-2.0.1 → agentmail-2.0.2}/src/agentmail/domains/types/list_domains_response.py +0 -0
- {agentmail-2.0.1 → agentmail-2.0.2}/src/agentmail/domains/types/record_status.py +0 -0
- {agentmail-2.0.1 → agentmail-2.0.2}/src/agentmail/domains/types/record_type.py +0 -0
- {agentmail-2.0.1 → agentmail-2.0.2}/src/agentmail/domains/types/status.py +0 -0
- {agentmail-2.0.1 → agentmail-2.0.2}/src/agentmail/domains/types/subdomains_enabled.py +0 -0
- {agentmail-2.0.1 → agentmail-2.0.2}/src/agentmail/domains/types/tracking_enabled.py +0 -0
- {agentmail-2.0.1 → agentmail-2.0.2}/src/agentmail/domains/types/update_domain_request.py +0 -0
- {agentmail-2.0.1 → agentmail-2.0.2}/src/agentmail/domains/types/verification_record.py +0 -0
- {agentmail-2.0.1 → agentmail-2.0.2}/src/agentmail/domains/types/verification_status.py +0 -0
- {agentmail-2.0.1 → agentmail-2.0.2}/src/agentmail/drafts/__init__.py +0 -0
- {agentmail-2.0.1 → agentmail-2.0.2}/src/agentmail/drafts/client.py +0 -0
- {agentmail-2.0.1 → agentmail-2.0.2}/src/agentmail/drafts/raw_client.py +0 -0
- {agentmail-2.0.1 → agentmail-2.0.2}/src/agentmail/drafts/types/__init__.py +0 -0
- {agentmail-2.0.1 → agentmail-2.0.2}/src/agentmail/drafts/types/create_draft_request.py +0 -0
- {agentmail-2.0.1 → agentmail-2.0.2}/src/agentmail/drafts/types/draft.py +0 -0
- {agentmail-2.0.1 → agentmail-2.0.2}/src/agentmail/drafts/types/draft_attachments.py +0 -0
- {agentmail-2.0.1 → agentmail-2.0.2}/src/agentmail/drafts/types/draft_bcc.py +0 -0
- {agentmail-2.0.1 → agentmail-2.0.2}/src/agentmail/drafts/types/draft_cc.py +0 -0
- {agentmail-2.0.1 → agentmail-2.0.2}/src/agentmail/drafts/types/draft_client_id.py +0 -0
- {agentmail-2.0.1 → agentmail-2.0.2}/src/agentmail/drafts/types/draft_forward_of.py +0 -0
- {agentmail-2.0.1 → agentmail-2.0.2}/src/agentmail/drafts/types/draft_html.py +0 -0
- {agentmail-2.0.1 → agentmail-2.0.2}/src/agentmail/drafts/types/draft_id.py +0 -0
- {agentmail-2.0.1 → agentmail-2.0.2}/src/agentmail/drafts/types/draft_in_reply_to.py +0 -0
- {agentmail-2.0.1 → agentmail-2.0.2}/src/agentmail/drafts/types/draft_item.py +0 -0
- {agentmail-2.0.1 → agentmail-2.0.2}/src/agentmail/drafts/types/draft_labels.py +0 -0
- {agentmail-2.0.1 → agentmail-2.0.2}/src/agentmail/drafts/types/draft_preview.py +0 -0
- {agentmail-2.0.1 → agentmail-2.0.2}/src/agentmail/drafts/types/draft_reply_all.py +0 -0
- {agentmail-2.0.1 → agentmail-2.0.2}/src/agentmail/drafts/types/draft_reply_to.py +0 -0
- {agentmail-2.0.1 → agentmail-2.0.2}/src/agentmail/drafts/types/draft_send_at.py +0 -0
- {agentmail-2.0.1 → agentmail-2.0.2}/src/agentmail/drafts/types/draft_send_status.py +0 -0
- {agentmail-2.0.1 → agentmail-2.0.2}/src/agentmail/drafts/types/draft_subject.py +0 -0
- {agentmail-2.0.1 → agentmail-2.0.2}/src/agentmail/drafts/types/draft_text.py +0 -0
- {agentmail-2.0.1 → agentmail-2.0.2}/src/agentmail/drafts/types/draft_to.py +0 -0
- {agentmail-2.0.1 → agentmail-2.0.2}/src/agentmail/drafts/types/draft_updated_at.py +0 -0
- {agentmail-2.0.1 → agentmail-2.0.2}/src/agentmail/drafts/types/list_drafts_response.py +0 -0
- {agentmail-2.0.1 → agentmail-2.0.2}/src/agentmail/drafts/types/update_draft_request.py +0 -0
- {agentmail-2.0.1 → agentmail-2.0.2}/src/agentmail/environment.py +0 -0
- {agentmail-2.0.1 → agentmail-2.0.2}/src/agentmail/errors/__init__.py +0 -0
- {agentmail-2.0.1 → agentmail-2.0.2}/src/agentmail/errors/conflict_error.py +0 -0
- {agentmail-2.0.1 → agentmail-2.0.2}/src/agentmail/errors/is_taken_error.py +0 -0
- {agentmail-2.0.1 → agentmail-2.0.2}/src/agentmail/errors/not_found_error.py +0 -0
- {agentmail-2.0.1 → agentmail-2.0.2}/src/agentmail/errors/unprocessable_error.py +0 -0
- {agentmail-2.0.1 → agentmail-2.0.2}/src/agentmail/errors/validation_error.py +0 -0
- {agentmail-2.0.1 → agentmail-2.0.2}/src/agentmail/events/__init__.py +0 -0
- {agentmail-2.0.1 → agentmail-2.0.2}/src/agentmail/events/types/__init__.py +0 -0
- {agentmail-2.0.1 → agentmail-2.0.2}/src/agentmail/events/types/bounce.py +0 -0
- {agentmail-2.0.1 → agentmail-2.0.2}/src/agentmail/events/types/complaint.py +0 -0
- {agentmail-2.0.1 → agentmail-2.0.2}/src/agentmail/events/types/delivery.py +0 -0
- {agentmail-2.0.1 → agentmail-2.0.2}/src/agentmail/events/types/domain_verified_event.py +0 -0
- {agentmail-2.0.1 → agentmail-2.0.2}/src/agentmail/events/types/event_id.py +0 -0
- {agentmail-2.0.1 → agentmail-2.0.2}/src/agentmail/events/types/event_type.py +0 -0
- {agentmail-2.0.1 → agentmail-2.0.2}/src/agentmail/events/types/event_types.py +0 -0
- {agentmail-2.0.1 → agentmail-2.0.2}/src/agentmail/events/types/inbox_ids.py +0 -0
- {agentmail-2.0.1 → agentmail-2.0.2}/src/agentmail/events/types/message_bounced_event.py +0 -0
- {agentmail-2.0.1 → agentmail-2.0.2}/src/agentmail/events/types/message_complained_event.py +0 -0
- {agentmail-2.0.1 → agentmail-2.0.2}/src/agentmail/events/types/message_delivered_event.py +0 -0
- {agentmail-2.0.1 → agentmail-2.0.2}/src/agentmail/events/types/message_opened_event.py +0 -0
- {agentmail-2.0.1 → agentmail-2.0.2}/src/agentmail/events/types/message_received_event.py +0 -0
- {agentmail-2.0.1 → agentmail-2.0.2}/src/agentmail/events/types/message_received_event_type.py +0 -0
- {agentmail-2.0.1 → agentmail-2.0.2}/src/agentmail/events/types/message_rejected_event.py +0 -0
- {agentmail-2.0.1 → agentmail-2.0.2}/src/agentmail/events/types/message_sent_event.py +0 -0
- {agentmail-2.0.1 → agentmail-2.0.2}/src/agentmail/events/types/open.py +0 -0
- {agentmail-2.0.1 → agentmail-2.0.2}/src/agentmail/events/types/pod_ids.py +0 -0
- {agentmail-2.0.1 → agentmail-2.0.2}/src/agentmail/events/types/recipient.py +0 -0
- {agentmail-2.0.1 → agentmail-2.0.2}/src/agentmail/events/types/reject.py +0 -0
- {agentmail-2.0.1 → agentmail-2.0.2}/src/agentmail/events/types/send.py +0 -0
- {agentmail-2.0.1 → agentmail-2.0.2}/src/agentmail/events/types/timestamp.py +0 -0
- {agentmail-2.0.1 → agentmail-2.0.2}/src/agentmail/inbox_events/__init__.py +0 -0
- {agentmail-2.0.1 → agentmail-2.0.2}/src/agentmail/inbox_events/types/__init__.py +0 -0
- {agentmail-2.0.1 → agentmail-2.0.2}/src/agentmail/inbox_events/types/inbox_event.py +0 -0
- {agentmail-2.0.1 → agentmail-2.0.2}/src/agentmail/inbox_events/types/inbox_event_id.py +0 -0
- {agentmail-2.0.1 → agentmail-2.0.2}/src/agentmail/inbox_events/types/inbox_event_type.py +0 -0
- {agentmail-2.0.1 → agentmail-2.0.2}/src/agentmail/inbox_events/types/list_inbox_events_response.py +0 -0
- {agentmail-2.0.1/src/agentmail/inboxes/api_keys → agentmail-2.0.2/src/agentmail/inboxes/accounts}/__init__.py +0 -0
- {agentmail-2.0.1/src/agentmail/inboxes/drafts → agentmail-2.0.2/src/agentmail/inboxes/api_keys}/__init__.py +0 -0
- {agentmail-2.0.1 → agentmail-2.0.2}/src/agentmail/inboxes/api_keys/client.py +0 -0
- {agentmail-2.0.1 → agentmail-2.0.2}/src/agentmail/inboxes/api_keys/raw_client.py +0 -0
- {agentmail-2.0.1/src/agentmail/inboxes/events → agentmail-2.0.2/src/agentmail/inboxes/drafts}/__init__.py +0 -0
- {agentmail-2.0.1 → agentmail-2.0.2}/src/agentmail/inboxes/drafts/client.py +0 -0
- {agentmail-2.0.1 → agentmail-2.0.2}/src/agentmail/inboxes/drafts/raw_client.py +0 -0
- {agentmail-2.0.1/src/agentmail/inboxes/lists → agentmail-2.0.2/src/agentmail/inboxes/events}/__init__.py +0 -0
- {agentmail-2.0.1 → agentmail-2.0.2}/src/agentmail/inboxes/events/client.py +0 -0
- {agentmail-2.0.1 → agentmail-2.0.2}/src/agentmail/inboxes/events/raw_client.py +0 -0
- {agentmail-2.0.1/src/agentmail/inboxes/messages → agentmail-2.0.2/src/agentmail/inboxes/lists}/__init__.py +0 -0
- {agentmail-2.0.1 → agentmail-2.0.2}/src/agentmail/inboxes/lists/client.py +0 -0
- {agentmail-2.0.1 → agentmail-2.0.2}/src/agentmail/inboxes/lists/raw_client.py +0 -0
- {agentmail-2.0.1/src/agentmail/inboxes/metrics → agentmail-2.0.2/src/agentmail/inboxes/messages}/__init__.py +0 -0
- {agentmail-2.0.1 → agentmail-2.0.2}/src/agentmail/inboxes/messages/client.py +0 -0
- {agentmail-2.0.1 → agentmail-2.0.2}/src/agentmail/inboxes/messages/raw_client.py +0 -0
- {agentmail-2.0.1/src/agentmail/inboxes/threads → agentmail-2.0.2/src/agentmail/inboxes/metrics}/__init__.py +0 -0
- {agentmail-2.0.1 → agentmail-2.0.2}/src/agentmail/inboxes/metrics/client.py +0 -0
- {agentmail-2.0.1 → agentmail-2.0.2}/src/agentmail/inboxes/metrics/raw_client.py +0 -0
- {agentmail-2.0.1 → agentmail-2.0.2}/src/agentmail/inboxes/raw_client.py +0 -0
- {agentmail-2.0.1/src/agentmail/inboxes/webhooks → agentmail-2.0.2/src/agentmail/inboxes/threads}/__init__.py +0 -0
- {agentmail-2.0.1 → agentmail-2.0.2}/src/agentmail/inboxes/threads/client.py +0 -0
- {agentmail-2.0.1 → agentmail-2.0.2}/src/agentmail/inboxes/threads/raw_client.py +0 -0
- {agentmail-2.0.1 → agentmail-2.0.2}/src/agentmail/inboxes/types/__init__.py +0 -0
- {agentmail-2.0.1 → agentmail-2.0.2}/src/agentmail/inboxes/types/authorize_inbox_request.py +0 -0
- {agentmail-2.0.1 → agentmail-2.0.2}/src/agentmail/inboxes/types/authorize_inbox_response.py +0 -0
- {agentmail-2.0.1 → agentmail-2.0.2}/src/agentmail/inboxes/types/client_id.py +0 -0
- {agentmail-2.0.1 → agentmail-2.0.2}/src/agentmail/inboxes/types/create_inbox_request.py +0 -0
- {agentmail-2.0.1 → agentmail-2.0.2}/src/agentmail/inboxes/types/display_name.py +0 -0
- {agentmail-2.0.1 → agentmail-2.0.2}/src/agentmail/inboxes/types/email.py +0 -0
- {agentmail-2.0.1 → agentmail-2.0.2}/src/agentmail/inboxes/types/inbox.py +0 -0
- {agentmail-2.0.1 → agentmail-2.0.2}/src/agentmail/inboxes/types/inbox_id.py +0 -0
- {agentmail-2.0.1 → agentmail-2.0.2}/src/agentmail/inboxes/types/list_inboxes_response.py +0 -0
- {agentmail-2.0.1 → agentmail-2.0.2}/src/agentmail/inboxes/types/metadata.py +0 -0
- {agentmail-2.0.1 → agentmail-2.0.2}/src/agentmail/inboxes/types/metadata_value.py +0 -0
- {agentmail-2.0.1 → agentmail-2.0.2}/src/agentmail/inboxes/types/search_inboxes_response.py +0 -0
- {agentmail-2.0.1 → agentmail-2.0.2}/src/agentmail/inboxes/types/update_inbox_request.py +0 -0
- {agentmail-2.0.1 → agentmail-2.0.2}/src/agentmail/inboxes/types/update_metadata.py +0 -0
- {agentmail-2.0.1/src/agentmail/pods/api_keys → agentmail-2.0.2/src/agentmail/inboxes/webhooks}/__init__.py +0 -0
- {agentmail-2.0.1 → agentmail-2.0.2}/src/agentmail/inboxes/webhooks/client.py +0 -0
- {agentmail-2.0.1 → agentmail-2.0.2}/src/agentmail/inboxes/webhooks/raw_client.py +0 -0
- {agentmail-2.0.1 → agentmail-2.0.2}/src/agentmail/lists/__init__.py +0 -0
- {agentmail-2.0.1 → agentmail-2.0.2}/src/agentmail/lists/client.py +0 -0
- {agentmail-2.0.1 → agentmail-2.0.2}/src/agentmail/lists/raw_client.py +0 -0
- {agentmail-2.0.1 → agentmail-2.0.2}/src/agentmail/lists/types/__init__.py +0 -0
- {agentmail-2.0.1 → agentmail-2.0.2}/src/agentmail/lists/types/create_list_entry_request.py +0 -0
- {agentmail-2.0.1 → agentmail-2.0.2}/src/agentmail/lists/types/direction.py +0 -0
- {agentmail-2.0.1 → agentmail-2.0.2}/src/agentmail/lists/types/entry_type.py +0 -0
- {agentmail-2.0.1 → agentmail-2.0.2}/src/agentmail/lists/types/list_entry.py +0 -0
- {agentmail-2.0.1 → agentmail-2.0.2}/src/agentmail/lists/types/list_entry_base.py +0 -0
- {agentmail-2.0.1 → agentmail-2.0.2}/src/agentmail/lists/types/list_list_entries_response.py +0 -0
- {agentmail-2.0.1 → agentmail-2.0.2}/src/agentmail/lists/types/list_type.py +0 -0
- {agentmail-2.0.1 → agentmail-2.0.2}/src/agentmail/lists/types/pod_list_entry.py +0 -0
- {agentmail-2.0.1 → agentmail-2.0.2}/src/agentmail/lists/types/pod_list_list_entries_response.py +0 -0
- {agentmail-2.0.1 → agentmail-2.0.2}/src/agentmail/messages/__init__.py +0 -0
- {agentmail-2.0.1 → agentmail-2.0.2}/src/agentmail/messages/errors/__init__.py +0 -0
- {agentmail-2.0.1 → agentmail-2.0.2}/src/agentmail/messages/errors/message_rejected_error.py +0 -0
- {agentmail-2.0.1 → agentmail-2.0.2}/src/agentmail/messages/types/__init__.py +0 -0
- {agentmail-2.0.1 → agentmail-2.0.2}/src/agentmail/messages/types/addresses.py +0 -0
- {agentmail-2.0.1 → agentmail-2.0.2}/src/agentmail/messages/types/batch_get_messages_message_ids.py +0 -0
- {agentmail-2.0.1 → agentmail-2.0.2}/src/agentmail/messages/types/batch_get_messages_request.py +0 -0
- {agentmail-2.0.1 → agentmail-2.0.2}/src/agentmail/messages/types/batch_get_messages_response.py +0 -0
- {agentmail-2.0.1 → agentmail-2.0.2}/src/agentmail/messages/types/batch_update_messages_message_ids.py +0 -0
- {agentmail-2.0.1 → agentmail-2.0.2}/src/agentmail/messages/types/batch_update_messages_request.py +0 -0
- {agentmail-2.0.1 → agentmail-2.0.2}/src/agentmail/messages/types/batch_update_messages_response.py +0 -0
- {agentmail-2.0.1 → agentmail-2.0.2}/src/agentmail/messages/types/list_messages_response.py +0 -0
- {agentmail-2.0.1 → agentmail-2.0.2}/src/agentmail/messages/types/message.py +0 -0
- {agentmail-2.0.1 → agentmail-2.0.2}/src/agentmail/messages/types/message_attachments.py +0 -0
- {agentmail-2.0.1 → agentmail-2.0.2}/src/agentmail/messages/types/message_bcc.py +0 -0
- {agentmail-2.0.1 → agentmail-2.0.2}/src/agentmail/messages/types/message_cc.py +0 -0
- {agentmail-2.0.1 → agentmail-2.0.2}/src/agentmail/messages/types/message_created_at.py +0 -0
- {agentmail-2.0.1 → agentmail-2.0.2}/src/agentmail/messages/types/message_from.py +0 -0
- {agentmail-2.0.1 → agentmail-2.0.2}/src/agentmail/messages/types/message_headers.py +0 -0
- {agentmail-2.0.1 → agentmail-2.0.2}/src/agentmail/messages/types/message_html.py +0 -0
- {agentmail-2.0.1 → agentmail-2.0.2}/src/agentmail/messages/types/message_id.py +0 -0
- {agentmail-2.0.1 → agentmail-2.0.2}/src/agentmail/messages/types/message_in_reply_to.py +0 -0
- {agentmail-2.0.1 → agentmail-2.0.2}/src/agentmail/messages/types/message_item.py +0 -0
- {agentmail-2.0.1 → agentmail-2.0.2}/src/agentmail/messages/types/message_labels.py +0 -0
- {agentmail-2.0.1 → agentmail-2.0.2}/src/agentmail/messages/types/message_preview.py +0 -0
- {agentmail-2.0.1 → agentmail-2.0.2}/src/agentmail/messages/types/message_references.py +0 -0
- {agentmail-2.0.1 → agentmail-2.0.2}/src/agentmail/messages/types/message_reply_to.py +0 -0
- {agentmail-2.0.1 → agentmail-2.0.2}/src/agentmail/messages/types/message_size.py +0 -0
- {agentmail-2.0.1 → agentmail-2.0.2}/src/agentmail/messages/types/message_subject.py +0 -0
- {agentmail-2.0.1 → agentmail-2.0.2}/src/agentmail/messages/types/message_text.py +0 -0
- {agentmail-2.0.1 → agentmail-2.0.2}/src/agentmail/messages/types/message_timestamp.py +0 -0
- {agentmail-2.0.1 → agentmail-2.0.2}/src/agentmail/messages/types/message_to.py +0 -0
- {agentmail-2.0.1 → agentmail-2.0.2}/src/agentmail/messages/types/message_updated_at.py +0 -0
- {agentmail-2.0.1 → agentmail-2.0.2}/src/agentmail/messages/types/raw_message_response.py +0 -0
- {agentmail-2.0.1 → agentmail-2.0.2}/src/agentmail/messages/types/reply_all.py +0 -0
- {agentmail-2.0.1 → agentmail-2.0.2}/src/agentmail/messages/types/reply_all_message_request.py +0 -0
- {agentmail-2.0.1 → agentmail-2.0.2}/src/agentmail/messages/types/reply_to_message_request.py +0 -0
- {agentmail-2.0.1 → agentmail-2.0.2}/src/agentmail/messages/types/search_message_highlights.py +0 -0
- {agentmail-2.0.1 → agentmail-2.0.2}/src/agentmail/messages/types/search_message_item.py +0 -0
- {agentmail-2.0.1 → agentmail-2.0.2}/src/agentmail/messages/types/search_messages_response.py +0 -0
- {agentmail-2.0.1 → agentmail-2.0.2}/src/agentmail/messages/types/send_message_attachments.py +0 -0
- {agentmail-2.0.1 → agentmail-2.0.2}/src/agentmail/messages/types/send_message_bcc.py +0 -0
- {agentmail-2.0.1 → agentmail-2.0.2}/src/agentmail/messages/types/send_message_cc.py +0 -0
- {agentmail-2.0.1 → agentmail-2.0.2}/src/agentmail/messages/types/send_message_headers.py +0 -0
- {agentmail-2.0.1 → agentmail-2.0.2}/src/agentmail/messages/types/send_message_reply_to.py +0 -0
- {agentmail-2.0.1 → agentmail-2.0.2}/src/agentmail/messages/types/send_message_request.py +0 -0
- {agentmail-2.0.1 → agentmail-2.0.2}/src/agentmail/messages/types/send_message_response.py +0 -0
- {agentmail-2.0.1 → agentmail-2.0.2}/src/agentmail/messages/types/send_message_to.py +0 -0
- {agentmail-2.0.1 → agentmail-2.0.2}/src/agentmail/messages/types/track_opens.py +0 -0
- {agentmail-2.0.1 → agentmail-2.0.2}/src/agentmail/messages/types/update_message_labels.py +0 -0
- {agentmail-2.0.1 → agentmail-2.0.2}/src/agentmail/messages/types/update_message_request.py +0 -0
- {agentmail-2.0.1 → agentmail-2.0.2}/src/agentmail/messages/types/update_message_response.py +0 -0
- {agentmail-2.0.1 → agentmail-2.0.2}/src/agentmail/metrics/__init__.py +0 -0
- {agentmail-2.0.1 → agentmail-2.0.2}/src/agentmail/metrics/client.py +0 -0
- {agentmail-2.0.1 → agentmail-2.0.2}/src/agentmail/metrics/raw_client.py +0 -0
- {agentmail-2.0.1 → agentmail-2.0.2}/src/agentmail/metrics/types/__init__.py +0 -0
- {agentmail-2.0.1 → agentmail-2.0.2}/src/agentmail/metrics/types/descending.py +0 -0
- {agentmail-2.0.1 → agentmail-2.0.2}/src/agentmail/metrics/types/end.py +0 -0
- {agentmail-2.0.1 → agentmail-2.0.2}/src/agentmail/metrics/types/metric_bucket.py +0 -0
- {agentmail-2.0.1 → agentmail-2.0.2}/src/agentmail/metrics/types/metric_event_type.py +0 -0
- {agentmail-2.0.1 → agentmail-2.0.2}/src/agentmail/metrics/types/metric_event_types.py +0 -0
- {agentmail-2.0.1 → agentmail-2.0.2}/src/agentmail/metrics/types/metric_limit.py +0 -0
- {agentmail-2.0.1 → agentmail-2.0.2}/src/agentmail/metrics/types/period.py +0 -0
- {agentmail-2.0.1 → agentmail-2.0.2}/src/agentmail/metrics/types/query_metrics_response.py +0 -0
- {agentmail-2.0.1 → agentmail-2.0.2}/src/agentmail/metrics/types/query_usage_response.py +0 -0
- {agentmail-2.0.1 → agentmail-2.0.2}/src/agentmail/metrics/types/start.py +0 -0
- {agentmail-2.0.1 → agentmail-2.0.2}/src/agentmail/metrics/types/usage_point.py +0 -0
- {agentmail-2.0.1 → agentmail-2.0.2}/src/agentmail/metrics/types/usage_type.py +0 -0
- {agentmail-2.0.1 → agentmail-2.0.2}/src/agentmail/metrics/types/usage_types.py +0 -0
- {agentmail-2.0.1 → agentmail-2.0.2}/src/agentmail/organizations/__init__.py +0 -0
- {agentmail-2.0.1 → agentmail-2.0.2}/src/agentmail/organizations/client.py +0 -0
- {agentmail-2.0.1 → agentmail-2.0.2}/src/agentmail/organizations/raw_client.py +0 -0
- {agentmail-2.0.1 → agentmail-2.0.2}/src/agentmail/organizations/types/__init__.py +0 -0
- {agentmail-2.0.1 → agentmail-2.0.2}/src/agentmail/organizations/types/organization.py +0 -0
- {agentmail-2.0.1/src/agentmail/pods/domains → agentmail-2.0.2/src/agentmail/pods/accounts}/__init__.py +0 -0
- {agentmail-2.0.1/src/agentmail/pods/drafts → agentmail-2.0.2/src/agentmail/pods/api_keys}/__init__.py +0 -0
- {agentmail-2.0.1 → agentmail-2.0.2}/src/agentmail/pods/api_keys/client.py +0 -0
- {agentmail-2.0.1 → agentmail-2.0.2}/src/agentmail/pods/api_keys/raw_client.py +0 -0
- {agentmail-2.0.1/src/agentmail/pods/inboxes → agentmail-2.0.2/src/agentmail/pods/domains}/__init__.py +0 -0
- {agentmail-2.0.1 → agentmail-2.0.2}/src/agentmail/pods/domains/client.py +0 -0
- {agentmail-2.0.1 → agentmail-2.0.2}/src/agentmail/pods/domains/raw_client.py +0 -0
- {agentmail-2.0.1/src/agentmail/pods/lists → agentmail-2.0.2/src/agentmail/pods/drafts}/__init__.py +0 -0
- {agentmail-2.0.1 → agentmail-2.0.2}/src/agentmail/pods/drafts/client.py +0 -0
- {agentmail-2.0.1 → agentmail-2.0.2}/src/agentmail/pods/drafts/raw_client.py +0 -0
- {agentmail-2.0.1/src/agentmail/pods/metrics → agentmail-2.0.2/src/agentmail/pods/inboxes}/__init__.py +0 -0
- {agentmail-2.0.1 → agentmail-2.0.2}/src/agentmail/pods/inboxes/client.py +0 -0
- {agentmail-2.0.1 → agentmail-2.0.2}/src/agentmail/pods/inboxes/raw_client.py +0 -0
- {agentmail-2.0.1/src/agentmail/pods/threads → agentmail-2.0.2/src/agentmail/pods/lists}/__init__.py +0 -0
- {agentmail-2.0.1 → agentmail-2.0.2}/src/agentmail/pods/lists/client.py +0 -0
- {agentmail-2.0.1 → agentmail-2.0.2}/src/agentmail/pods/lists/raw_client.py +0 -0
- {agentmail-2.0.1/src/agentmail/pods/webhooks → agentmail-2.0.2/src/agentmail/pods/metrics}/__init__.py +0 -0
- {agentmail-2.0.1 → agentmail-2.0.2}/src/agentmail/pods/metrics/client.py +0 -0
- {agentmail-2.0.1 → agentmail-2.0.2}/src/agentmail/pods/metrics/raw_client.py +0 -0
- {agentmail-2.0.1 → agentmail-2.0.2}/src/agentmail/pods/raw_client.py +0 -0
- {agentmail-2.0.1 → agentmail-2.0.2}/src/agentmail/pods/threads/client.py +0 -0
- {agentmail-2.0.1 → agentmail-2.0.2}/src/agentmail/pods/threads/raw_client.py +0 -0
- {agentmail-2.0.1 → agentmail-2.0.2}/src/agentmail/pods/types/__init__.py +0 -0
- {agentmail-2.0.1 → agentmail-2.0.2}/src/agentmail/pods/types/client_id.py +0 -0
- {agentmail-2.0.1 → agentmail-2.0.2}/src/agentmail/pods/types/create_pod_request.py +0 -0
- {agentmail-2.0.1 → agentmail-2.0.2}/src/agentmail/pods/types/list_pods_response.py +0 -0
- {agentmail-2.0.1 → agentmail-2.0.2}/src/agentmail/pods/types/name.py +0 -0
- {agentmail-2.0.1 → agentmail-2.0.2}/src/agentmail/pods/types/pod.py +0 -0
- {agentmail-2.0.1 → agentmail-2.0.2}/src/agentmail/pods/types/pod_id.py +0 -0
- {agentmail-2.0.1 → agentmail-2.0.2}/src/agentmail/providers/__init__.py +0 -0
- {agentmail-2.0.1 → agentmail-2.0.2}/src/agentmail/providers/client.py +0 -0
- {agentmail-2.0.1 → agentmail-2.0.2}/src/agentmail/providers/raw_client.py +0 -0
- {agentmail-2.0.1 → agentmail-2.0.2}/src/agentmail/providers/types/__init__.py +0 -0
- {agentmail-2.0.1 → agentmail-2.0.2}/src/agentmail/providers/types/connect_accepted.py +0 -0
- {agentmail-2.0.1 → agentmail-2.0.2}/src/agentmail/providers/types/connect_inbox_id.py +0 -0
- {agentmail-2.0.1 → agentmail-2.0.2}/src/agentmail/providers/types/connect_provider_body.py +0 -0
- {agentmail-2.0.1 → agentmail-2.0.2}/src/agentmail/providers/types/list_provider_accounts_response.py +0 -0
- {agentmail-2.0.1 → agentmail-2.0.2}/src/agentmail/providers/types/list_providers_response.py +0 -0
- {agentmail-2.0.1 → agentmail-2.0.2}/src/agentmail/providers/types/magic_url.py +0 -0
- {agentmail-2.0.1 → agentmail-2.0.2}/src/agentmail/providers/types/provider.py +0 -0
- {agentmail-2.0.1 → agentmail-2.0.2}/src/agentmail/providers/types/search_providers_response.py +0 -0
- {agentmail-2.0.1 → agentmail-2.0.2}/src/agentmail/py.typed +0 -0
- {agentmail-2.0.1 → agentmail-2.0.2}/src/agentmail/threads/__init__.py +0 -0
- {agentmail-2.0.1 → agentmail-2.0.2}/src/agentmail/threads/client.py +0 -0
- {agentmail-2.0.1 → agentmail-2.0.2}/src/agentmail/threads/raw_client.py +0 -0
- {agentmail-2.0.1 → agentmail-2.0.2}/src/agentmail/threads/types/__init__.py +0 -0
- {agentmail-2.0.1 → agentmail-2.0.2}/src/agentmail/threads/types/list_threads_response.py +0 -0
- {agentmail-2.0.1 → agentmail-2.0.2}/src/agentmail/threads/types/search_thread_highlights.py +0 -0
- {agentmail-2.0.1 → agentmail-2.0.2}/src/agentmail/threads/types/search_thread_item.py +0 -0
- {agentmail-2.0.1 → agentmail-2.0.2}/src/agentmail/threads/types/search_threads_response.py +0 -0
- {agentmail-2.0.1 → agentmail-2.0.2}/src/agentmail/threads/types/thread.py +0 -0
- {agentmail-2.0.1 → agentmail-2.0.2}/src/agentmail/threads/types/thread_attachments.py +0 -0
- {agentmail-2.0.1 → agentmail-2.0.2}/src/agentmail/threads/types/thread_created_at.py +0 -0
- {agentmail-2.0.1 → agentmail-2.0.2}/src/agentmail/threads/types/thread_id.py +0 -0
- {agentmail-2.0.1 → agentmail-2.0.2}/src/agentmail/threads/types/thread_item.py +0 -0
- {agentmail-2.0.1 → agentmail-2.0.2}/src/agentmail/threads/types/thread_labels.py +0 -0
- {agentmail-2.0.1 → agentmail-2.0.2}/src/agentmail/threads/types/thread_last_message_id.py +0 -0
- {agentmail-2.0.1 → agentmail-2.0.2}/src/agentmail/threads/types/thread_message_count.py +0 -0
- {agentmail-2.0.1 → agentmail-2.0.2}/src/agentmail/threads/types/thread_preview.py +0 -0
- {agentmail-2.0.1 → agentmail-2.0.2}/src/agentmail/threads/types/thread_received_timestamp.py +0 -0
- {agentmail-2.0.1 → agentmail-2.0.2}/src/agentmail/threads/types/thread_recipients.py +0 -0
- {agentmail-2.0.1 → agentmail-2.0.2}/src/agentmail/threads/types/thread_senders.py +0 -0
- {agentmail-2.0.1 → agentmail-2.0.2}/src/agentmail/threads/types/thread_sent_timestamp.py +0 -0
- {agentmail-2.0.1 → agentmail-2.0.2}/src/agentmail/threads/types/thread_size.py +0 -0
- {agentmail-2.0.1 → agentmail-2.0.2}/src/agentmail/threads/types/thread_subject.py +0 -0
- {agentmail-2.0.1 → agentmail-2.0.2}/src/agentmail/threads/types/thread_timestamp.py +0 -0
- {agentmail-2.0.1 → agentmail-2.0.2}/src/agentmail/threads/types/thread_updated_at.py +0 -0
- {agentmail-2.0.1 → agentmail-2.0.2}/src/agentmail/threads/types/update_thread_request.py +0 -0
- {agentmail-2.0.1 → agentmail-2.0.2}/src/agentmail/threads/types/update_thread_response.py +0 -0
- {agentmail-2.0.1 → agentmail-2.0.2}/src/agentmail/types/__init__.py +0 -0
- {agentmail-2.0.1 → agentmail-2.0.2}/src/agentmail/types/after.py +0 -0
- {agentmail-2.0.1 → agentmail-2.0.2}/src/agentmail/types/ascending.py +0 -0
- {agentmail-2.0.1 → agentmail-2.0.2}/src/agentmail/types/before.py +0 -0
- {agentmail-2.0.1 → agentmail-2.0.2}/src/agentmail/types/count.py +0 -0
- {agentmail-2.0.1 → agentmail-2.0.2}/src/agentmail/types/error_code.py +0 -0
- {agentmail-2.0.1 → agentmail-2.0.2}/src/agentmail/types/error_docs.py +0 -0
- {agentmail-2.0.1 → agentmail-2.0.2}/src/agentmail/types/error_fix.py +0 -0
- {agentmail-2.0.1 → agentmail-2.0.2}/src/agentmail/types/error_message.py +0 -0
- {agentmail-2.0.1 → agentmail-2.0.2}/src/agentmail/types/error_name.py +0 -0
- {agentmail-2.0.1 → agentmail-2.0.2}/src/agentmail/types/error_response.py +0 -0
- {agentmail-2.0.1 → agentmail-2.0.2}/src/agentmail/types/include_blocked.py +0 -0
- {agentmail-2.0.1 → agentmail-2.0.2}/src/agentmail/types/include_spam.py +0 -0
- {agentmail-2.0.1 → agentmail-2.0.2}/src/agentmail/types/include_trash.py +0 -0
- {agentmail-2.0.1 → agentmail-2.0.2}/src/agentmail/types/include_unauthenticated.py +0 -0
- {agentmail-2.0.1 → agentmail-2.0.2}/src/agentmail/types/labels.py +0 -0
- {agentmail-2.0.1 → agentmail-2.0.2}/src/agentmail/types/limit.py +0 -0
- {agentmail-2.0.1 → agentmail-2.0.2}/src/agentmail/types/organization_id.py +0 -0
- {agentmail-2.0.1 → agentmail-2.0.2}/src/agentmail/types/page_token.py +0 -0
- {agentmail-2.0.1 → agentmail-2.0.2}/src/agentmail/types/query.py +0 -0
- {agentmail-2.0.1 → agentmail-2.0.2}/src/agentmail/types/validation_error_response.py +0 -0
- {agentmail-2.0.1 → agentmail-2.0.2}/src/agentmail/version.py +0 -0
- {agentmail-2.0.1 → agentmail-2.0.2}/src/agentmail/webhooks/__init__.py +0 -0
- {agentmail-2.0.1 → agentmail-2.0.2}/src/agentmail/webhooks/events/__init__.py +0 -0
- {agentmail-2.0.1 → agentmail-2.0.2}/src/agentmail/webhooks/events/types/__init__.py +0 -0
- {agentmail-2.0.1 → agentmail-2.0.2}/src/agentmail/webhooks/events/types/svix_id.py +0 -0
- {agentmail-2.0.1 → agentmail-2.0.2}/src/agentmail/webhooks/events/types/svix_signature.py +0 -0
- {agentmail-2.0.1 → agentmail-2.0.2}/src/agentmail/webhooks/events/types/svix_timestamp.py +0 -0
- {agentmail-2.0.1 → agentmail-2.0.2}/src/agentmail/webhooks/types/__init__.py +0 -0
- {agentmail-2.0.1 → agentmail-2.0.2}/src/agentmail/webhooks/types/client_id.py +0 -0
- {agentmail-2.0.1 → agentmail-2.0.2}/src/agentmail/webhooks/types/create_inbox_webhook_request.py +0 -0
- {agentmail-2.0.1 → agentmail-2.0.2}/src/agentmail/webhooks/types/create_pod_webhook_request.py +0 -0
- {agentmail-2.0.1 → agentmail-2.0.2}/src/agentmail/webhooks/types/create_webhook_event_types.py +0 -0
- {agentmail-2.0.1 → agentmail-2.0.2}/src/agentmail/webhooks/types/list_webhooks_response.py +0 -0
- {agentmail-2.0.1 → agentmail-2.0.2}/src/agentmail/webhooks/types/update_inbox_webhook_request.py +0 -0
- {agentmail-2.0.1 → agentmail-2.0.2}/src/agentmail/webhooks/types/update_webhook_event_types.py +0 -0
- {agentmail-2.0.1 → agentmail-2.0.2}/src/agentmail/webhooks/types/update_webhook_headers_request.py +0 -0
- {agentmail-2.0.1 → agentmail-2.0.2}/src/agentmail/webhooks/types/update_webhook_request.py +0 -0
- {agentmail-2.0.1 → agentmail-2.0.2}/src/agentmail/webhooks/types/url.py +0 -0
- {agentmail-2.0.1 → agentmail-2.0.2}/src/agentmail/webhooks/types/webhook.py +0 -0
- {agentmail-2.0.1 → agentmail-2.0.2}/src/agentmail/webhooks/types/webhook_header_names_response.py +0 -0
- {agentmail-2.0.1 → agentmail-2.0.2}/src/agentmail/webhooks/types/webhook_headers.py +0 -0
- {agentmail-2.0.1 → agentmail-2.0.2}/src/agentmail/webhooks/types/webhook_id.py +0 -0
- {agentmail-2.0.1 → agentmail-2.0.2}/src/agentmail/websockets/__init__.py +0 -0
- {agentmail-2.0.1 → agentmail-2.0.2}/src/agentmail/websockets/client.py +0 -0
- {agentmail-2.0.1 → agentmail-2.0.2}/src/agentmail/websockets/raw_client.py +0 -0
- {agentmail-2.0.1 → agentmail-2.0.2}/src/agentmail/websockets/socket_client.py +0 -0
- {agentmail-2.0.1 → agentmail-2.0.2}/src/agentmail/websockets/types/__init__.py +0 -0
- {agentmail-2.0.1 → agentmail-2.0.2}/src/agentmail/websockets/types/error.py +0 -0
- {agentmail-2.0.1 → agentmail-2.0.2}/src/agentmail/websockets/types/subscribe.py +0 -0
- {agentmail-2.0.1 → agentmail-2.0.2}/src/agentmail/websockets/types/subscribed.py +0 -0
|
@@ -50,7 +50,15 @@ if typing.TYPE_CHECKING:
|
|
|
50
50
|
webhooks,
|
|
51
51
|
websockets,
|
|
52
52
|
)
|
|
53
|
-
from .accounts import
|
|
53
|
+
from .accounts import (
|
|
54
|
+
Account,
|
|
55
|
+
AccountId,
|
|
56
|
+
AccountStatus,
|
|
57
|
+
ListAccountsResponse,
|
|
58
|
+
ProviderId,
|
|
59
|
+
UpdateAccountRequest,
|
|
60
|
+
UpdateAccountStatus,
|
|
61
|
+
)
|
|
54
62
|
from .agent import AgentSignupRequest, AgentSignupResponse, AgentVerifyRequest, AgentVerifyResponse
|
|
55
63
|
from .api_keys import (
|
|
56
64
|
AcceptDisclosure,
|
|
@@ -286,6 +294,7 @@ _dynamic_imports: typing.Dict[str, str] = {
|
|
|
286
294
|
"AcceptDisclosure": ".api_keys",
|
|
287
295
|
"Account": ".accounts",
|
|
288
296
|
"AccountId": ".accounts",
|
|
297
|
+
"AccountStatus": ".accounts",
|
|
289
298
|
"Addresses": ".messages",
|
|
290
299
|
"After": ".types",
|
|
291
300
|
"AgentMail": ".client",
|
|
@@ -515,6 +524,8 @@ _dynamic_imports: typing.Dict[str, str] = {
|
|
|
515
524
|
"TrackOpens": ".messages",
|
|
516
525
|
"TrackingEnabled": ".domains",
|
|
517
526
|
"UnprocessableError": ".errors",
|
|
527
|
+
"UpdateAccountRequest": ".accounts",
|
|
528
|
+
"UpdateAccountStatus": ".accounts",
|
|
518
529
|
"UpdateApiKeyRequest": ".api_keys",
|
|
519
530
|
"UpdateDomainRequest": ".domains",
|
|
520
531
|
"UpdateDraftRequest": ".drafts",
|
|
@@ -580,6 +591,7 @@ __all__ = [
|
|
|
580
591
|
"AcceptDisclosure",
|
|
581
592
|
"Account",
|
|
582
593
|
"AccountId",
|
|
594
|
+
"AccountStatus",
|
|
583
595
|
"Addresses",
|
|
584
596
|
"After",
|
|
585
597
|
"AgentMail",
|
|
@@ -809,6 +821,8 @@ __all__ = [
|
|
|
809
821
|
"TrackOpens",
|
|
810
822
|
"TrackingEnabled",
|
|
811
823
|
"UnprocessableError",
|
|
824
|
+
"UpdateAccountRequest",
|
|
825
|
+
"UpdateAccountStatus",
|
|
812
826
|
"UpdateApiKeyRequest",
|
|
813
827
|
"UpdateDomainRequest",
|
|
814
828
|
"UpdateDraftRequest",
|
|
@@ -6,12 +6,23 @@ import typing
|
|
|
6
6
|
from importlib import import_module
|
|
7
7
|
|
|
8
8
|
if typing.TYPE_CHECKING:
|
|
9
|
-
from .types import
|
|
9
|
+
from .types import (
|
|
10
|
+
Account,
|
|
11
|
+
AccountId,
|
|
12
|
+
AccountStatus,
|
|
13
|
+
ListAccountsResponse,
|
|
14
|
+
ProviderId,
|
|
15
|
+
UpdateAccountRequest,
|
|
16
|
+
UpdateAccountStatus,
|
|
17
|
+
)
|
|
10
18
|
_dynamic_imports: typing.Dict[str, str] = {
|
|
11
19
|
"Account": ".types",
|
|
12
20
|
"AccountId": ".types",
|
|
21
|
+
"AccountStatus": ".types",
|
|
13
22
|
"ListAccountsResponse": ".types",
|
|
14
23
|
"ProviderId": ".types",
|
|
24
|
+
"UpdateAccountRequest": ".types",
|
|
25
|
+
"UpdateAccountStatus": ".types",
|
|
15
26
|
}
|
|
16
27
|
|
|
17
28
|
|
|
@@ -36,4 +47,12 @@ def __dir__():
|
|
|
36
47
|
return sorted(lazy_attrs)
|
|
37
48
|
|
|
38
49
|
|
|
39
|
-
__all__ = [
|
|
50
|
+
__all__ = [
|
|
51
|
+
"Account",
|
|
52
|
+
"AccountId",
|
|
53
|
+
"AccountStatus",
|
|
54
|
+
"ListAccountsResponse",
|
|
55
|
+
"ProviderId",
|
|
56
|
+
"UpdateAccountRequest",
|
|
57
|
+
"UpdateAccountStatus",
|
|
58
|
+
]
|
|
@@ -0,0 +1,337 @@
|
|
|
1
|
+
# This file was auto-generated by Fern from our API Definition.
|
|
2
|
+
|
|
3
|
+
import typing
|
|
4
|
+
|
|
5
|
+
from ..core.client_wrapper import AsyncClientWrapper, SyncClientWrapper
|
|
6
|
+
from ..core.request_options import RequestOptions
|
|
7
|
+
from ..types.ascending import Ascending
|
|
8
|
+
from ..types.limit import Limit
|
|
9
|
+
from ..types.page_token import PageToken
|
|
10
|
+
from .raw_client import AsyncRawAccountsClient, RawAccountsClient
|
|
11
|
+
from .types.account import Account
|
|
12
|
+
from .types.account_id import AccountId
|
|
13
|
+
from .types.list_accounts_response import ListAccountsResponse
|
|
14
|
+
from .types.update_account_status import UpdateAccountStatus
|
|
15
|
+
|
|
16
|
+
# this is used as the default value for optional parameters
|
|
17
|
+
OMIT = typing.cast(typing.Any, ...)
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
class AccountsClient:
|
|
21
|
+
def __init__(self, *, client_wrapper: SyncClientWrapper):
|
|
22
|
+
self._raw_client = RawAccountsClient(client_wrapper=client_wrapper)
|
|
23
|
+
|
|
24
|
+
@property
|
|
25
|
+
def with_raw_response(self) -> RawAccountsClient:
|
|
26
|
+
"""
|
|
27
|
+
Retrieves a raw implementation of this client that returns raw responses.
|
|
28
|
+
|
|
29
|
+
Returns
|
|
30
|
+
-------
|
|
31
|
+
RawAccountsClient
|
|
32
|
+
"""
|
|
33
|
+
return self._raw_client
|
|
34
|
+
|
|
35
|
+
def list(
|
|
36
|
+
self,
|
|
37
|
+
*,
|
|
38
|
+
limit: typing.Optional[Limit] = None,
|
|
39
|
+
page_token: typing.Optional[PageToken] = None,
|
|
40
|
+
ascending: typing.Optional[Ascending] = None,
|
|
41
|
+
request_options: typing.Optional[RequestOptions] = None,
|
|
42
|
+
) -> ListAccountsResponse:
|
|
43
|
+
"""
|
|
44
|
+
Lists accounts across all providers, scoped to the API key: an
|
|
45
|
+
organization key sees every account, a pod key its pod's, an inbox key
|
|
46
|
+
its inbox's. Requires `inbox_read`.
|
|
47
|
+
|
|
48
|
+
Parameters
|
|
49
|
+
----------
|
|
50
|
+
limit : typing.Optional[Limit]
|
|
51
|
+
|
|
52
|
+
page_token : typing.Optional[PageToken]
|
|
53
|
+
|
|
54
|
+
ascending : typing.Optional[Ascending]
|
|
55
|
+
|
|
56
|
+
request_options : typing.Optional[RequestOptions]
|
|
57
|
+
Request-specific configuration.
|
|
58
|
+
|
|
59
|
+
Returns
|
|
60
|
+
-------
|
|
61
|
+
ListAccountsResponse
|
|
62
|
+
|
|
63
|
+
Examples
|
|
64
|
+
--------
|
|
65
|
+
from agentmail import AgentMail
|
|
66
|
+
|
|
67
|
+
client = AgentMail(
|
|
68
|
+
api_key="YOUR_API_KEY",
|
|
69
|
+
)
|
|
70
|
+
client.accounts.list()
|
|
71
|
+
"""
|
|
72
|
+
_response = self._raw_client.list(
|
|
73
|
+
limit=limit, page_token=page_token, ascending=ascending, request_options=request_options
|
|
74
|
+
)
|
|
75
|
+
return _response.data
|
|
76
|
+
|
|
77
|
+
def get(self, account_id: AccountId, *, request_options: typing.Optional[RequestOptions] = None) -> Account:
|
|
78
|
+
"""
|
|
79
|
+
Returns one account by ID. An account outside the key's scope is a 404.
|
|
80
|
+
Requires `inbox_read`.
|
|
81
|
+
|
|
82
|
+
Parameters
|
|
83
|
+
----------
|
|
84
|
+
account_id : AccountId
|
|
85
|
+
|
|
86
|
+
request_options : typing.Optional[RequestOptions]
|
|
87
|
+
Request-specific configuration.
|
|
88
|
+
|
|
89
|
+
Returns
|
|
90
|
+
-------
|
|
91
|
+
Account
|
|
92
|
+
|
|
93
|
+
Examples
|
|
94
|
+
--------
|
|
95
|
+
import uuid
|
|
96
|
+
|
|
97
|
+
from agentmail import AgentMail
|
|
98
|
+
|
|
99
|
+
client = AgentMail(
|
|
100
|
+
api_key="YOUR_API_KEY",
|
|
101
|
+
)
|
|
102
|
+
client.accounts.get(
|
|
103
|
+
account_id=uuid.UUID(
|
|
104
|
+
"d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32",
|
|
105
|
+
),
|
|
106
|
+
)
|
|
107
|
+
"""
|
|
108
|
+
_response = self._raw_client.get(account_id, request_options=request_options)
|
|
109
|
+
return _response.data
|
|
110
|
+
|
|
111
|
+
def update(
|
|
112
|
+
self,
|
|
113
|
+
account_id: AccountId,
|
|
114
|
+
*,
|
|
115
|
+
status: typing.Optional[UpdateAccountStatus] = OMIT,
|
|
116
|
+
request_options: typing.Optional[RequestOptions] = None,
|
|
117
|
+
) -> Account:
|
|
118
|
+
"""
|
|
119
|
+
Updates one account. Set `status` to `disabled` to stop the inbox from
|
|
120
|
+
signing in at the provider again, or to `enabled` to re-enable it.
|
|
121
|
+
Idempotent: disabling an already disabled account keeps its original
|
|
122
|
+
`disabled_at`, and enabling an enabled account is a no-op.
|
|
123
|
+
|
|
124
|
+
Find the `account_id` with List Accounts. An account exists only after an
|
|
125
|
+
inbox's first sign-in at a provider, so it cannot be disabled in advance.
|
|
126
|
+
A disable applies to that inbox at that provider whichever sign-in key is
|
|
127
|
+
used: the provider's next authorization ends in `access_denied`, and a code
|
|
128
|
+
issued earlier is refused with `invalid_grant`. Access tokens already
|
|
129
|
+
issued stay valid until they expire, and the provider's own session is
|
|
130
|
+
unaffected.
|
|
131
|
+
|
|
132
|
+
Requires `account_update`, which sign-in keys (`type: public_key`) cannot
|
|
133
|
+
hold, so call this with a bearer API key. An account outside the key's
|
|
134
|
+
scope is a 404. A 409 means the account changed during the write; read it
|
|
135
|
+
again and retry.
|
|
136
|
+
|
|
137
|
+
Parameters
|
|
138
|
+
----------
|
|
139
|
+
account_id : AccountId
|
|
140
|
+
|
|
141
|
+
status : typing.Optional[UpdateAccountStatus]
|
|
142
|
+
|
|
143
|
+
request_options : typing.Optional[RequestOptions]
|
|
144
|
+
Request-specific configuration.
|
|
145
|
+
|
|
146
|
+
Returns
|
|
147
|
+
-------
|
|
148
|
+
Account
|
|
149
|
+
|
|
150
|
+
Examples
|
|
151
|
+
--------
|
|
152
|
+
import uuid
|
|
153
|
+
|
|
154
|
+
from agentmail import AgentMail
|
|
155
|
+
|
|
156
|
+
client = AgentMail(
|
|
157
|
+
api_key="YOUR_API_KEY",
|
|
158
|
+
)
|
|
159
|
+
client.accounts.update(
|
|
160
|
+
account_id=uuid.UUID(
|
|
161
|
+
"d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32",
|
|
162
|
+
),
|
|
163
|
+
)
|
|
164
|
+
"""
|
|
165
|
+
_response = self._raw_client.update(account_id, status=status, request_options=request_options)
|
|
166
|
+
return _response.data
|
|
167
|
+
|
|
168
|
+
|
|
169
|
+
class AsyncAccountsClient:
|
|
170
|
+
def __init__(self, *, client_wrapper: AsyncClientWrapper):
|
|
171
|
+
self._raw_client = AsyncRawAccountsClient(client_wrapper=client_wrapper)
|
|
172
|
+
|
|
173
|
+
@property
|
|
174
|
+
def with_raw_response(self) -> AsyncRawAccountsClient:
|
|
175
|
+
"""
|
|
176
|
+
Retrieves a raw implementation of this client that returns raw responses.
|
|
177
|
+
|
|
178
|
+
Returns
|
|
179
|
+
-------
|
|
180
|
+
AsyncRawAccountsClient
|
|
181
|
+
"""
|
|
182
|
+
return self._raw_client
|
|
183
|
+
|
|
184
|
+
async def list(
|
|
185
|
+
self,
|
|
186
|
+
*,
|
|
187
|
+
limit: typing.Optional[Limit] = None,
|
|
188
|
+
page_token: typing.Optional[PageToken] = None,
|
|
189
|
+
ascending: typing.Optional[Ascending] = None,
|
|
190
|
+
request_options: typing.Optional[RequestOptions] = None,
|
|
191
|
+
) -> ListAccountsResponse:
|
|
192
|
+
"""
|
|
193
|
+
Lists accounts across all providers, scoped to the API key: an
|
|
194
|
+
organization key sees every account, a pod key its pod's, an inbox key
|
|
195
|
+
its inbox's. Requires `inbox_read`.
|
|
196
|
+
|
|
197
|
+
Parameters
|
|
198
|
+
----------
|
|
199
|
+
limit : typing.Optional[Limit]
|
|
200
|
+
|
|
201
|
+
page_token : typing.Optional[PageToken]
|
|
202
|
+
|
|
203
|
+
ascending : typing.Optional[Ascending]
|
|
204
|
+
|
|
205
|
+
request_options : typing.Optional[RequestOptions]
|
|
206
|
+
Request-specific configuration.
|
|
207
|
+
|
|
208
|
+
Returns
|
|
209
|
+
-------
|
|
210
|
+
ListAccountsResponse
|
|
211
|
+
|
|
212
|
+
Examples
|
|
213
|
+
--------
|
|
214
|
+
import asyncio
|
|
215
|
+
|
|
216
|
+
from agentmail import AsyncAgentMail
|
|
217
|
+
|
|
218
|
+
client = AsyncAgentMail(
|
|
219
|
+
api_key="YOUR_API_KEY",
|
|
220
|
+
)
|
|
221
|
+
|
|
222
|
+
|
|
223
|
+
async def main() -> None:
|
|
224
|
+
await client.accounts.list()
|
|
225
|
+
|
|
226
|
+
|
|
227
|
+
asyncio.run(main())
|
|
228
|
+
"""
|
|
229
|
+
_response = await self._raw_client.list(
|
|
230
|
+
limit=limit, page_token=page_token, ascending=ascending, request_options=request_options
|
|
231
|
+
)
|
|
232
|
+
return _response.data
|
|
233
|
+
|
|
234
|
+
async def get(self, account_id: AccountId, *, request_options: typing.Optional[RequestOptions] = None) -> Account:
|
|
235
|
+
"""
|
|
236
|
+
Returns one account by ID. An account outside the key's scope is a 404.
|
|
237
|
+
Requires `inbox_read`.
|
|
238
|
+
|
|
239
|
+
Parameters
|
|
240
|
+
----------
|
|
241
|
+
account_id : AccountId
|
|
242
|
+
|
|
243
|
+
request_options : typing.Optional[RequestOptions]
|
|
244
|
+
Request-specific configuration.
|
|
245
|
+
|
|
246
|
+
Returns
|
|
247
|
+
-------
|
|
248
|
+
Account
|
|
249
|
+
|
|
250
|
+
Examples
|
|
251
|
+
--------
|
|
252
|
+
import asyncio
|
|
253
|
+
import uuid
|
|
254
|
+
|
|
255
|
+
from agentmail import AsyncAgentMail
|
|
256
|
+
|
|
257
|
+
client = AsyncAgentMail(
|
|
258
|
+
api_key="YOUR_API_KEY",
|
|
259
|
+
)
|
|
260
|
+
|
|
261
|
+
|
|
262
|
+
async def main() -> None:
|
|
263
|
+
await client.accounts.get(
|
|
264
|
+
account_id=uuid.UUID(
|
|
265
|
+
"d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32",
|
|
266
|
+
),
|
|
267
|
+
)
|
|
268
|
+
|
|
269
|
+
|
|
270
|
+
asyncio.run(main())
|
|
271
|
+
"""
|
|
272
|
+
_response = await self._raw_client.get(account_id, request_options=request_options)
|
|
273
|
+
return _response.data
|
|
274
|
+
|
|
275
|
+
async def update(
|
|
276
|
+
self,
|
|
277
|
+
account_id: AccountId,
|
|
278
|
+
*,
|
|
279
|
+
status: typing.Optional[UpdateAccountStatus] = OMIT,
|
|
280
|
+
request_options: typing.Optional[RequestOptions] = None,
|
|
281
|
+
) -> Account:
|
|
282
|
+
"""
|
|
283
|
+
Updates one account. Set `status` to `disabled` to stop the inbox from
|
|
284
|
+
signing in at the provider again, or to `enabled` to re-enable it.
|
|
285
|
+
Idempotent: disabling an already disabled account keeps its original
|
|
286
|
+
`disabled_at`, and enabling an enabled account is a no-op.
|
|
287
|
+
|
|
288
|
+
Find the `account_id` with List Accounts. An account exists only after an
|
|
289
|
+
inbox's first sign-in at a provider, so it cannot be disabled in advance.
|
|
290
|
+
A disable applies to that inbox at that provider whichever sign-in key is
|
|
291
|
+
used: the provider's next authorization ends in `access_denied`, and a code
|
|
292
|
+
issued earlier is refused with `invalid_grant`. Access tokens already
|
|
293
|
+
issued stay valid until they expire, and the provider's own session is
|
|
294
|
+
unaffected.
|
|
295
|
+
|
|
296
|
+
Requires `account_update`, which sign-in keys (`type: public_key`) cannot
|
|
297
|
+
hold, so call this with a bearer API key. An account outside the key's
|
|
298
|
+
scope is a 404. A 409 means the account changed during the write; read it
|
|
299
|
+
again and retry.
|
|
300
|
+
|
|
301
|
+
Parameters
|
|
302
|
+
----------
|
|
303
|
+
account_id : AccountId
|
|
304
|
+
|
|
305
|
+
status : typing.Optional[UpdateAccountStatus]
|
|
306
|
+
|
|
307
|
+
request_options : typing.Optional[RequestOptions]
|
|
308
|
+
Request-specific configuration.
|
|
309
|
+
|
|
310
|
+
Returns
|
|
311
|
+
-------
|
|
312
|
+
Account
|
|
313
|
+
|
|
314
|
+
Examples
|
|
315
|
+
--------
|
|
316
|
+
import asyncio
|
|
317
|
+
import uuid
|
|
318
|
+
|
|
319
|
+
from agentmail import AsyncAgentMail
|
|
320
|
+
|
|
321
|
+
client = AsyncAgentMail(
|
|
322
|
+
api_key="YOUR_API_KEY",
|
|
323
|
+
)
|
|
324
|
+
|
|
325
|
+
|
|
326
|
+
async def main() -> None:
|
|
327
|
+
await client.accounts.update(
|
|
328
|
+
account_id=uuid.UUID(
|
|
329
|
+
"d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32",
|
|
330
|
+
),
|
|
331
|
+
)
|
|
332
|
+
|
|
333
|
+
|
|
334
|
+
asyncio.run(main())
|
|
335
|
+
"""
|
|
336
|
+
_response = await self._raw_client.update(account_id, status=status, request_options=request_options)
|
|
337
|
+
return _response.data
|