linq-python 0.2.0__tar.gz → 0.2.1__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.
- linq_python-0.2.1/.release-please-manifest.json +3 -0
- {linq_python-0.2.0 → linq_python-0.2.1}/CHANGELOG.md +8 -0
- {linq_python-0.2.0 → linq_python-0.2.1}/PKG-INFO +1 -1
- {linq_python-0.2.0 → linq_python-0.2.1}/pyproject.toml +1 -1
- {linq_python-0.2.0 → linq_python-0.2.1}/src/linq/_version.py +1 -1
- {linq_python-0.2.0 → linq_python-0.2.1}/src/linq/resources/attachments.py +42 -18
- linq_python-0.2.1/src/linq/types/attachment_create_params.py +54 -0
- {linq_python-0.2.0 → linq_python-0.2.1}/src/linq/types/attachment_retrieve_response.py +21 -9
- {linq_python-0.2.0 → linq_python-0.2.1}/src/linq/types/supported_content_type.py +11 -13
- linq_python-0.2.0/.release-please-manifest.json +0 -3
- linq_python-0.2.0/src/linq/types/attachment_create_params.py +0 -42
- {linq_python-0.2.0 → linq_python-0.2.1}/.gitignore +0 -0
- {linq_python-0.2.0 → linq_python-0.2.1}/CONTRIBUTING.md +0 -0
- {linq_python-0.2.0 → linq_python-0.2.1}/LICENSE +0 -0
- {linq_python-0.2.0 → linq_python-0.2.1}/README.md +0 -0
- {linq_python-0.2.0 → linq_python-0.2.1}/SECURITY.md +0 -0
- {linq_python-0.2.0 → linq_python-0.2.1}/api.md +0 -0
- {linq_python-0.2.0 → linq_python-0.2.1}/bin/check-release-environment +0 -0
- {linq_python-0.2.0 → linq_python-0.2.1}/bin/publish-pypi +0 -0
- {linq_python-0.2.0 → linq_python-0.2.1}/examples/.keep +0 -0
- {linq_python-0.2.0 → linq_python-0.2.1}/release-please-config.json +0 -0
- {linq_python-0.2.0 → linq_python-0.2.1}/requirements-dev.lock +0 -0
- {linq_python-0.2.0 → linq_python-0.2.1}/src/linq/__init__.py +0 -0
- {linq_python-0.2.0 → linq_python-0.2.1}/src/linq/_base_client.py +0 -0
- {linq_python-0.2.0 → linq_python-0.2.1}/src/linq/_client.py +0 -0
- {linq_python-0.2.0 → linq_python-0.2.1}/src/linq/_compat.py +0 -0
- {linq_python-0.2.0 → linq_python-0.2.1}/src/linq/_constants.py +0 -0
- {linq_python-0.2.0 → linq_python-0.2.1}/src/linq/_exceptions.py +0 -0
- {linq_python-0.2.0 → linq_python-0.2.1}/src/linq/_files.py +0 -0
- {linq_python-0.2.0 → linq_python-0.2.1}/src/linq/_models.py +0 -0
- {linq_python-0.2.0 → linq_python-0.2.1}/src/linq/_qs.py +0 -0
- {linq_python-0.2.0 → linq_python-0.2.1}/src/linq/_resource.py +0 -0
- {linq_python-0.2.0 → linq_python-0.2.1}/src/linq/_response.py +0 -0
- {linq_python-0.2.0 → linq_python-0.2.1}/src/linq/_streaming.py +0 -0
- {linq_python-0.2.0 → linq_python-0.2.1}/src/linq/_types.py +0 -0
- {linq_python-0.2.0 → linq_python-0.2.1}/src/linq/_utils/__init__.py +0 -0
- {linq_python-0.2.0 → linq_python-0.2.1}/src/linq/_utils/_compat.py +0 -0
- {linq_python-0.2.0 → linq_python-0.2.1}/src/linq/_utils/_datetime_parse.py +0 -0
- {linq_python-0.2.0 → linq_python-0.2.1}/src/linq/_utils/_json.py +0 -0
- {linq_python-0.2.0 → linq_python-0.2.1}/src/linq/_utils/_logs.py +0 -0
- {linq_python-0.2.0 → linq_python-0.2.1}/src/linq/_utils/_path.py +0 -0
- {linq_python-0.2.0 → linq_python-0.2.1}/src/linq/_utils/_proxy.py +0 -0
- {linq_python-0.2.0 → linq_python-0.2.1}/src/linq/_utils/_reflection.py +0 -0
- {linq_python-0.2.0 → linq_python-0.2.1}/src/linq/_utils/_resources_proxy.py +0 -0
- {linq_python-0.2.0 → linq_python-0.2.1}/src/linq/_utils/_streams.py +0 -0
- {linq_python-0.2.0 → linq_python-0.2.1}/src/linq/_utils/_sync.py +0 -0
- {linq_python-0.2.0 → linq_python-0.2.1}/src/linq/_utils/_transform.py +0 -0
- {linq_python-0.2.0 → linq_python-0.2.1}/src/linq/_utils/_typing.py +0 -0
- {linq_python-0.2.0 → linq_python-0.2.1}/src/linq/_utils/_utils.py +0 -0
- {linq_python-0.2.0 → linq_python-0.2.1}/src/linq/lib/.keep +0 -0
- {linq_python-0.2.0 → linq_python-0.2.1}/src/linq/pagination.py +0 -0
- {linq_python-0.2.0 → linq_python-0.2.1}/src/linq/py.typed +0 -0
- {linq_python-0.2.0 → linq_python-0.2.1}/src/linq/resources/__init__.py +0 -0
- {linq_python-0.2.0 → linq_python-0.2.1}/src/linq/resources/capability.py +0 -0
- {linq_python-0.2.0 → linq_python-0.2.1}/src/linq/resources/chats/__init__.py +0 -0
- {linq_python-0.2.0 → linq_python-0.2.1}/src/linq/resources/chats/chats.py +0 -0
- {linq_python-0.2.0 → linq_python-0.2.1}/src/linq/resources/chats/messages.py +0 -0
- {linq_python-0.2.0 → linq_python-0.2.1}/src/linq/resources/chats/participants.py +0 -0
- {linq_python-0.2.0 → linq_python-0.2.1}/src/linq/resources/chats/typing.py +0 -0
- {linq_python-0.2.0 → linq_python-0.2.1}/src/linq/resources/contact_card.py +0 -0
- {linq_python-0.2.0 → linq_python-0.2.1}/src/linq/resources/messages.py +0 -0
- {linq_python-0.2.0 → linq_python-0.2.1}/src/linq/resources/phone_numbers.py +0 -0
- {linq_python-0.2.0 → linq_python-0.2.1}/src/linq/resources/phonenumbers.py +0 -0
- {linq_python-0.2.0 → linq_python-0.2.1}/src/linq/resources/webhook_events.py +0 -0
- {linq_python-0.2.0 → linq_python-0.2.1}/src/linq/resources/webhook_subscriptions.py +0 -0
- {linq_python-0.2.0 → linq_python-0.2.1}/src/linq/resources/webhooks.py +0 -0
- {linq_python-0.2.0 → linq_python-0.2.1}/src/linq/types/__init__.py +0 -0
- {linq_python-0.2.0 → linq_python-0.2.1}/src/linq/types/attachment_create_response.py +0 -0
- {linq_python-0.2.0 → linq_python-0.2.1}/src/linq/types/capability_check_RCS_params.py +0 -0
- {linq_python-0.2.0 → linq_python-0.2.1}/src/linq/types/capability_check_i_message_params.py +0 -0
- {linq_python-0.2.0 → linq_python-0.2.1}/src/linq/types/chat.py +0 -0
- {linq_python-0.2.0 → linq_python-0.2.1}/src/linq/types/chat_create_params.py +0 -0
- {linq_python-0.2.0 → linq_python-0.2.1}/src/linq/types/chat_create_response.py +0 -0
- {linq_python-0.2.0 → linq_python-0.2.1}/src/linq/types/chat_created_webhook_event.py +0 -0
- {linq_python-0.2.0 → linq_python-0.2.1}/src/linq/types/chat_group_icon_update_failed_webhook_event.py +0 -0
- {linq_python-0.2.0 → linq_python-0.2.1}/src/linq/types/chat_group_icon_updated_webhook_event.py +0 -0
- {linq_python-0.2.0 → linq_python-0.2.1}/src/linq/types/chat_group_name_update_failed_webhook_event.py +0 -0
- {linq_python-0.2.0 → linq_python-0.2.1}/src/linq/types/chat_group_name_updated_webhook_event.py +0 -0
- {linq_python-0.2.0 → linq_python-0.2.1}/src/linq/types/chat_leave_chat_response.py +0 -0
- {linq_python-0.2.0 → linq_python-0.2.1}/src/linq/types/chat_list_chats_params.py +0 -0
- {linq_python-0.2.0 → linq_python-0.2.1}/src/linq/types/chat_send_voicememo_params.py +0 -0
- {linq_python-0.2.0 → linq_python-0.2.1}/src/linq/types/chat_send_voicememo_response.py +0 -0
- {linq_python-0.2.0 → linq_python-0.2.1}/src/linq/types/chat_typing_indicator_started_webhook_event.py +0 -0
- {linq_python-0.2.0 → linq_python-0.2.1}/src/linq/types/chat_typing_indicator_stopped_webhook_event.py +0 -0
- {linq_python-0.2.0 → linq_python-0.2.1}/src/linq/types/chat_update_params.py +0 -0
- {linq_python-0.2.0 → linq_python-0.2.1}/src/linq/types/chat_update_response.py +0 -0
- {linq_python-0.2.0 → linq_python-0.2.1}/src/linq/types/chats/__init__.py +0 -0
- {linq_python-0.2.0 → linq_python-0.2.1}/src/linq/types/chats/message_list_params.py +0 -0
- {linq_python-0.2.0 → linq_python-0.2.1}/src/linq/types/chats/message_send_params.py +0 -0
- {linq_python-0.2.0 → linq_python-0.2.1}/src/linq/types/chats/message_send_response.py +0 -0
- {linq_python-0.2.0 → linq_python-0.2.1}/src/linq/types/chats/participant_add_params.py +0 -0
- {linq_python-0.2.0 → linq_python-0.2.1}/src/linq/types/chats/participant_add_response.py +0 -0
- {linq_python-0.2.0 → linq_python-0.2.1}/src/linq/types/chats/participant_remove_params.py +0 -0
- {linq_python-0.2.0 → linq_python-0.2.1}/src/linq/types/chats/participant_remove_response.py +0 -0
- {linq_python-0.2.0 → linq_python-0.2.1}/src/linq/types/chats/sent_message.py +0 -0
- {linq_python-0.2.0 → linq_python-0.2.1}/src/linq/types/contact_card_create_params.py +0 -0
- {linq_python-0.2.0 → linq_python-0.2.1}/src/linq/types/contact_card_retrieve_params.py +0 -0
- {linq_python-0.2.0 → linq_python-0.2.1}/src/linq/types/contact_card_retrieve_response.py +0 -0
- {linq_python-0.2.0 → linq_python-0.2.1}/src/linq/types/contact_card_update_params.py +0 -0
- {linq_python-0.2.0 → linq_python-0.2.1}/src/linq/types/events_webhook_event.py +0 -0
- {linq_python-0.2.0 → linq_python-0.2.1}/src/linq/types/handle_check_response.py +0 -0
- {linq_python-0.2.0 → linq_python-0.2.1}/src/linq/types/link_part_param.py +0 -0
- {linq_python-0.2.0 → linq_python-0.2.1}/src/linq/types/media_part_param.py +0 -0
- {linq_python-0.2.0 → linq_python-0.2.1}/src/linq/types/message.py +0 -0
- {linq_python-0.2.0 → linq_python-0.2.1}/src/linq/types/message_add_reaction_params.py +0 -0
- {linq_python-0.2.0 → linq_python-0.2.1}/src/linq/types/message_add_reaction_response.py +0 -0
- {linq_python-0.2.0 → linq_python-0.2.1}/src/linq/types/message_content_param.py +0 -0
- {linq_python-0.2.0 → linq_python-0.2.1}/src/linq/types/message_delivered_webhook_event.py +0 -0
- {linq_python-0.2.0 → linq_python-0.2.1}/src/linq/types/message_edited_webhook_event.py +0 -0
- {linq_python-0.2.0 → linq_python-0.2.1}/src/linq/types/message_effect.py +0 -0
- {linq_python-0.2.0 → linq_python-0.2.1}/src/linq/types/message_effect_param.py +0 -0
- {linq_python-0.2.0 → linq_python-0.2.1}/src/linq/types/message_event_v2.py +0 -0
- {linq_python-0.2.0 → linq_python-0.2.1}/src/linq/types/message_failed_webhook_event.py +0 -0
- {linq_python-0.2.0 → linq_python-0.2.1}/src/linq/types/message_list_messages_thread_params.py +0 -0
- {linq_python-0.2.0 → linq_python-0.2.1}/src/linq/types/message_read_webhook_event.py +0 -0
- {linq_python-0.2.0 → linq_python-0.2.1}/src/linq/types/message_received_webhook_event.py +0 -0
- {linq_python-0.2.0 → linq_python-0.2.1}/src/linq/types/message_sent_webhook_event.py +0 -0
- {linq_python-0.2.0 → linq_python-0.2.1}/src/linq/types/message_update_params.py +0 -0
- {linq_python-0.2.0 → linq_python-0.2.1}/src/linq/types/participant_added_webhook_event.py +0 -0
- {linq_python-0.2.0 → linq_python-0.2.1}/src/linq/types/participant_removed_webhook_event.py +0 -0
- {linq_python-0.2.0 → linq_python-0.2.1}/src/linq/types/phone_number_list_response.py +0 -0
- {linq_python-0.2.0 → linq_python-0.2.1}/src/linq/types/phone_number_status_updated_webhook_event.py +0 -0
- {linq_python-0.2.0 → linq_python-0.2.1}/src/linq/types/phonenumber_list_response.py +0 -0
- {linq_python-0.2.0 → linq_python-0.2.1}/src/linq/types/reaction_added_webhook_event.py +0 -0
- {linq_python-0.2.0 → linq_python-0.2.1}/src/linq/types/reaction_event_base.py +0 -0
- {linq_python-0.2.0 → linq_python-0.2.1}/src/linq/types/reaction_removed_webhook_event.py +0 -0
- {linq_python-0.2.0 → linq_python-0.2.1}/src/linq/types/reply_to.py +0 -0
- {linq_python-0.2.0 → linq_python-0.2.1}/src/linq/types/reply_to_param.py +0 -0
- {linq_python-0.2.0 → linq_python-0.2.1}/src/linq/types/schemas_media_part_response.py +0 -0
- {linq_python-0.2.0 → linq_python-0.2.1}/src/linq/types/schemas_message_effect.py +0 -0
- {linq_python-0.2.0 → linq_python-0.2.1}/src/linq/types/schemas_text_part_response.py +0 -0
- {linq_python-0.2.0 → linq_python-0.2.1}/src/linq/types/set_contact_card.py +0 -0
- {linq_python-0.2.0 → linq_python-0.2.1}/src/linq/types/shared/__init__.py +0 -0
- {linq_python-0.2.0 → linq_python-0.2.1}/src/linq/types/shared/chat_handle.py +0 -0
- {linq_python-0.2.0 → linq_python-0.2.1}/src/linq/types/shared/link_part_response.py +0 -0
- {linq_python-0.2.0 → linq_python-0.2.1}/src/linq/types/shared/media_part_response.py +0 -0
- {linq_python-0.2.0 → linq_python-0.2.1}/src/linq/types/shared/reaction.py +0 -0
- {linq_python-0.2.0 → linq_python-0.2.1}/src/linq/types/shared/reaction_type.py +0 -0
- {linq_python-0.2.0 → linq_python-0.2.1}/src/linq/types/shared/service_type.py +0 -0
- {linq_python-0.2.0 → linq_python-0.2.1}/src/linq/types/shared/text_decoration.py +0 -0
- {linq_python-0.2.0 → linq_python-0.2.1}/src/linq/types/shared/text_part_response.py +0 -0
- {linq_python-0.2.0 → linq_python-0.2.1}/src/linq/types/shared_params/__init__.py +0 -0
- {linq_python-0.2.0 → linq_python-0.2.1}/src/linq/types/shared_params/reaction_type.py +0 -0
- {linq_python-0.2.0 → linq_python-0.2.1}/src/linq/types/shared_params/service_type.py +0 -0
- {linq_python-0.2.0 → linq_python-0.2.1}/src/linq/types/shared_params/text_decoration.py +0 -0
- {linq_python-0.2.0 → linq_python-0.2.1}/src/linq/types/text_part_param.py +0 -0
- {linq_python-0.2.0 → linq_python-0.2.1}/src/linq/types/webhook_event_list_response.py +0 -0
- {linq_python-0.2.0 → linq_python-0.2.1}/src/linq/types/webhook_event_type.py +0 -0
- {linq_python-0.2.0 → linq_python-0.2.1}/src/linq/types/webhook_subscription.py +0 -0
- {linq_python-0.2.0 → linq_python-0.2.1}/src/linq/types/webhook_subscription_create_params.py +0 -0
- {linq_python-0.2.0 → linq_python-0.2.1}/src/linq/types/webhook_subscription_create_response.py +0 -0
- {linq_python-0.2.0 → linq_python-0.2.1}/src/linq/types/webhook_subscription_list_response.py +0 -0
- {linq_python-0.2.0 → linq_python-0.2.1}/src/linq/types/webhook_subscription_update_params.py +0 -0
- {linq_python-0.2.0 → linq_python-0.2.1}/src/linq_api_v3/lib/.keep +0 -0
- {linq_python-0.2.0 → linq_python-0.2.1}/tests/__init__.py +0 -0
- {linq_python-0.2.0 → linq_python-0.2.1}/tests/api_resources/__init__.py +0 -0
- {linq_python-0.2.0 → linq_python-0.2.1}/tests/api_resources/chats/__init__.py +0 -0
- {linq_python-0.2.0 → linq_python-0.2.1}/tests/api_resources/chats/test_messages.py +0 -0
- {linq_python-0.2.0 → linq_python-0.2.1}/tests/api_resources/chats/test_participants.py +0 -0
- {linq_python-0.2.0 → linq_python-0.2.1}/tests/api_resources/chats/test_typing.py +0 -0
- {linq_python-0.2.0 → linq_python-0.2.1}/tests/api_resources/test_attachments.py +0 -0
- {linq_python-0.2.0 → linq_python-0.2.1}/tests/api_resources/test_capability.py +0 -0
- {linq_python-0.2.0 → linq_python-0.2.1}/tests/api_resources/test_chats.py +0 -0
- {linq_python-0.2.0 → linq_python-0.2.1}/tests/api_resources/test_contact_card.py +0 -0
- {linq_python-0.2.0 → linq_python-0.2.1}/tests/api_resources/test_messages.py +0 -0
- {linq_python-0.2.0 → linq_python-0.2.1}/tests/api_resources/test_phone_numbers.py +0 -0
- {linq_python-0.2.0 → linq_python-0.2.1}/tests/api_resources/test_phonenumbers.py +0 -0
- {linq_python-0.2.0 → linq_python-0.2.1}/tests/api_resources/test_webhook_events.py +0 -0
- {linq_python-0.2.0 → linq_python-0.2.1}/tests/api_resources/test_webhook_subscriptions.py +0 -0
- {linq_python-0.2.0 → linq_python-0.2.1}/tests/api_resources/test_webhooks.py +0 -0
- {linq_python-0.2.0 → linq_python-0.2.1}/tests/conftest.py +0 -0
- {linq_python-0.2.0 → linq_python-0.2.1}/tests/sample_file.txt +0 -0
- {linq_python-0.2.0 → linq_python-0.2.1}/tests/test_client.py +0 -0
- {linq_python-0.2.0 → linq_python-0.2.1}/tests/test_deepcopy.py +0 -0
- {linq_python-0.2.0 → linq_python-0.2.1}/tests/test_extract_files.py +0 -0
- {linq_python-0.2.0 → linq_python-0.2.1}/tests/test_files.py +0 -0
- {linq_python-0.2.0 → linq_python-0.2.1}/tests/test_models.py +0 -0
- {linq_python-0.2.0 → linq_python-0.2.1}/tests/test_qs.py +0 -0
- {linq_python-0.2.0 → linq_python-0.2.1}/tests/test_required_args.py +0 -0
- {linq_python-0.2.0 → linq_python-0.2.1}/tests/test_response.py +0 -0
- {linq_python-0.2.0 → linq_python-0.2.1}/tests/test_streaming.py +0 -0
- {linq_python-0.2.0 → linq_python-0.2.1}/tests/test_transform.py +0 -0
- {linq_python-0.2.0 → linq_python-0.2.1}/tests/test_utils/test_datetime_parse.py +0 -0
- {linq_python-0.2.0 → linq_python-0.2.1}/tests/test_utils/test_json.py +0 -0
- {linq_python-0.2.0 → linq_python-0.2.1}/tests/test_utils/test_path.py +0 -0
- {linq_python-0.2.0 → linq_python-0.2.1}/tests/test_utils/test_proxy.py +0 -0
- {linq_python-0.2.0 → linq_python-0.2.1}/tests/test_utils/test_typing.py +0 -0
- {linq_python-0.2.0 → linq_python-0.2.1}/tests/utils.py +0 -0
- {linq_python-0.2.0 → linq_python-0.2.1}/uv.lock +0 -0
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 0.2.1 (2026-04-07)
|
|
4
|
+
|
|
5
|
+
Full Changelog: [v0.2.0...v0.2.1](https://github.com/linq-team/linq-python/compare/v0.2.0...v0.2.1)
|
|
6
|
+
|
|
7
|
+
### Bug Fixes
|
|
8
|
+
|
|
9
|
+
* add SVG support to synapse attachments ([c329c0a](https://github.com/linq-team/linq-python/commit/c329c0a19f398623d5035d1ff9e60375fc368f23))
|
|
10
|
+
|
|
3
11
|
## 0.2.0 (2026-04-04)
|
|
4
12
|
|
|
5
13
|
Full Changelog: [v0.1.0...v0.2.0](https://github.com/linq-team/linq-python/compare/v0.1.0...v0.2.0)
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.3
|
|
2
2
|
Name: linq-python
|
|
3
|
-
Version: 0.2.
|
|
3
|
+
Version: 0.2.1
|
|
4
4
|
Summary: The official Python library for the linq-api-v3 API
|
|
5
5
|
Project-URL: Homepage, https://github.com/linq-team/linq-python
|
|
6
6
|
Project-URL: Repository, https://github.com/linq-team/linq-python
|
|
@@ -199,25 +199,37 @@ class AttachmentsResource(SyncAPIResource):
|
|
|
199
199
|
content_type: Supported MIME types for file attachments and media URLs.
|
|
200
200
|
|
|
201
201
|
**Images:** image/jpeg, image/png, image/gif, image/heic, image/heif,
|
|
202
|
-
image/tiff, image/bmp
|
|
202
|
+
image/tiff, image/bmp, image/svg+xml, image/webp, image/x-icon
|
|
203
203
|
|
|
204
|
-
**Videos:** video/mp4, video/quicktime, video/mpeg, video/
|
|
204
|
+
**Videos:** video/mp4, video/quicktime, video/mpeg, video/mpeg2,
|
|
205
|
+
video/x-msvideo, video/3gpp
|
|
205
206
|
|
|
206
|
-
**Audio:** audio/mpeg, audio/
|
|
207
|
-
audio/
|
|
207
|
+
**Audio:** audio/mpeg, audio/x-m4a, audio/x-caf, audio/x-wav, audio/x-aiff,
|
|
208
|
+
audio/aac, audio/midi, audio/amr
|
|
208
209
|
|
|
209
210
|
**Documents:** application/pdf, text/plain, text/markdown, text/vcard, text/rtf,
|
|
210
|
-
text/csv, text/html, text/calendar, application/
|
|
211
|
+
text/csv, text/html, text/calendar, text/xml, application/json,
|
|
212
|
+
application/msword,
|
|
211
213
|
application/vnd.openxmlformats-officedocument.wordprocessingml.document,
|
|
212
214
|
application/vnd.ms-excel,
|
|
213
215
|
application/vnd.openxmlformats-officedocument.spreadsheetml.sheet,
|
|
214
216
|
application/vnd.ms-powerpoint,
|
|
215
217
|
application/vnd.openxmlformats-officedocument.presentationml.presentation,
|
|
216
|
-
application/
|
|
217
|
-
application/
|
|
218
|
+
application/x-iwork-pages-sffpages, application/x-iwork-numbers-sffnumbers,
|
|
219
|
+
application/x-iwork-keynote-sffkey, application/epub+zip, application/zip,
|
|
220
|
+
application/x-gzip
|
|
218
221
|
|
|
219
|
-
**
|
|
220
|
-
|
|
222
|
+
**Deprecated (accepted but transcoded):**
|
|
223
|
+
|
|
224
|
+
- `audio/mp3` — Deprecated. Use `audio/mpeg` instead. Files sent as audio/mp3
|
|
225
|
+
will be delivered as audio/mpeg.
|
|
226
|
+
- `audio/mp4` — Deprecated. Use `audio/x-m4a` instead. Files sent as audio/mp4
|
|
227
|
+
will be delivered as audio/x-m4a.
|
|
228
|
+
- `audio/aiff` — Deprecated. Use `audio/x-aiff` instead. Files sent as
|
|
229
|
+
audio/aiff will be delivered as audio/x-aiff.
|
|
230
|
+
- `image/tiff` — Accepted, but TIFF images are transcoded to JPEG for delivery.
|
|
231
|
+
|
|
232
|
+
**Unsupported:** FLAC, OGG, and executable files are explicitly rejected.
|
|
221
233
|
|
|
222
234
|
filename: Name of the file to upload
|
|
223
235
|
|
|
@@ -458,25 +470,37 @@ class AsyncAttachmentsResource(AsyncAPIResource):
|
|
|
458
470
|
content_type: Supported MIME types for file attachments and media URLs.
|
|
459
471
|
|
|
460
472
|
**Images:** image/jpeg, image/png, image/gif, image/heic, image/heif,
|
|
461
|
-
image/tiff, image/bmp
|
|
473
|
+
image/tiff, image/bmp, image/svg+xml, image/webp, image/x-icon
|
|
462
474
|
|
|
463
|
-
**Videos:** video/mp4, video/quicktime, video/mpeg, video/
|
|
475
|
+
**Videos:** video/mp4, video/quicktime, video/mpeg, video/mpeg2,
|
|
476
|
+
video/x-msvideo, video/3gpp
|
|
464
477
|
|
|
465
|
-
**Audio:** audio/mpeg, audio/
|
|
466
|
-
audio/
|
|
478
|
+
**Audio:** audio/mpeg, audio/x-m4a, audio/x-caf, audio/x-wav, audio/x-aiff,
|
|
479
|
+
audio/aac, audio/midi, audio/amr
|
|
467
480
|
|
|
468
481
|
**Documents:** application/pdf, text/plain, text/markdown, text/vcard, text/rtf,
|
|
469
|
-
text/csv, text/html, text/calendar, application/
|
|
482
|
+
text/csv, text/html, text/calendar, text/xml, application/json,
|
|
483
|
+
application/msword,
|
|
470
484
|
application/vnd.openxmlformats-officedocument.wordprocessingml.document,
|
|
471
485
|
application/vnd.ms-excel,
|
|
472
486
|
application/vnd.openxmlformats-officedocument.spreadsheetml.sheet,
|
|
473
487
|
application/vnd.ms-powerpoint,
|
|
474
488
|
application/vnd.openxmlformats-officedocument.presentationml.presentation,
|
|
475
|
-
application/
|
|
476
|
-
application/
|
|
489
|
+
application/x-iwork-pages-sffpages, application/x-iwork-numbers-sffnumbers,
|
|
490
|
+
application/x-iwork-keynote-sffkey, application/epub+zip, application/zip,
|
|
491
|
+
application/x-gzip
|
|
492
|
+
|
|
493
|
+
**Deprecated (accepted but transcoded):**
|
|
494
|
+
|
|
495
|
+
- `audio/mp3` — Deprecated. Use `audio/mpeg` instead. Files sent as audio/mp3
|
|
496
|
+
will be delivered as audio/mpeg.
|
|
497
|
+
- `audio/mp4` — Deprecated. Use `audio/x-m4a` instead. Files sent as audio/mp4
|
|
498
|
+
will be delivered as audio/x-m4a.
|
|
499
|
+
- `audio/aiff` — Deprecated. Use `audio/x-aiff` instead. Files sent as
|
|
500
|
+
audio/aiff will be delivered as audio/x-aiff.
|
|
501
|
+
- `image/tiff` — Accepted, but TIFF images are transcoded to JPEG for delivery.
|
|
477
502
|
|
|
478
|
-
**Unsupported:**
|
|
479
|
-
rejected.
|
|
503
|
+
**Unsupported:** FLAC, OGG, and executable files are explicitly rejected.
|
|
480
504
|
|
|
481
505
|
filename: Name of the file to upload
|
|
482
506
|
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
|
+
|
|
3
|
+
from __future__ import annotations
|
|
4
|
+
|
|
5
|
+
from typing_extensions import Required, TypedDict
|
|
6
|
+
|
|
7
|
+
from .supported_content_type import SupportedContentType
|
|
8
|
+
|
|
9
|
+
__all__ = ["AttachmentCreateParams"]
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
class AttachmentCreateParams(TypedDict, total=False):
|
|
13
|
+
content_type: Required[SupportedContentType]
|
|
14
|
+
"""Supported MIME types for file attachments and media URLs.
|
|
15
|
+
|
|
16
|
+
**Images:** image/jpeg, image/png, image/gif, image/heic, image/heif,
|
|
17
|
+
image/tiff, image/bmp, image/svg+xml, image/webp, image/x-icon
|
|
18
|
+
|
|
19
|
+
**Videos:** video/mp4, video/quicktime, video/mpeg, video/mpeg2,
|
|
20
|
+
video/x-msvideo, video/3gpp
|
|
21
|
+
|
|
22
|
+
**Audio:** audio/mpeg, audio/x-m4a, audio/x-caf, audio/x-wav, audio/x-aiff,
|
|
23
|
+
audio/aac, audio/midi, audio/amr
|
|
24
|
+
|
|
25
|
+
**Documents:** application/pdf, text/plain, text/markdown, text/vcard, text/rtf,
|
|
26
|
+
text/csv, text/html, text/calendar, text/xml, application/json,
|
|
27
|
+
application/msword,
|
|
28
|
+
application/vnd.openxmlformats-officedocument.wordprocessingml.document,
|
|
29
|
+
application/vnd.ms-excel,
|
|
30
|
+
application/vnd.openxmlformats-officedocument.spreadsheetml.sheet,
|
|
31
|
+
application/vnd.ms-powerpoint,
|
|
32
|
+
application/vnd.openxmlformats-officedocument.presentationml.presentation,
|
|
33
|
+
application/x-iwork-pages-sffpages, application/x-iwork-numbers-sffnumbers,
|
|
34
|
+
application/x-iwork-keynote-sffkey, application/epub+zip, application/zip,
|
|
35
|
+
application/x-gzip
|
|
36
|
+
|
|
37
|
+
**Deprecated (accepted but transcoded):**
|
|
38
|
+
|
|
39
|
+
- `audio/mp3` — Deprecated. Use `audio/mpeg` instead. Files sent as audio/mp3
|
|
40
|
+
will be delivered as audio/mpeg.
|
|
41
|
+
- `audio/mp4` — Deprecated. Use `audio/x-m4a` instead. Files sent as audio/mp4
|
|
42
|
+
will be delivered as audio/x-m4a.
|
|
43
|
+
- `audio/aiff` — Deprecated. Use `audio/x-aiff` instead. Files sent as
|
|
44
|
+
audio/aiff will be delivered as audio/x-aiff.
|
|
45
|
+
- `image/tiff` — Accepted, but TIFF images are transcoded to JPEG for delivery.
|
|
46
|
+
|
|
47
|
+
**Unsupported:** FLAC, OGG, and executable files are explicitly rejected.
|
|
48
|
+
"""
|
|
49
|
+
|
|
50
|
+
filename: Required[str]
|
|
51
|
+
"""Name of the file to upload"""
|
|
52
|
+
|
|
53
|
+
size_bytes: Required[int]
|
|
54
|
+
"""Size of the file in bytes (max 100MB)"""
|
|
@@ -18,25 +18,37 @@ class AttachmentRetrieveResponse(BaseModel):
|
|
|
18
18
|
"""Supported MIME types for file attachments and media URLs.
|
|
19
19
|
|
|
20
20
|
**Images:** image/jpeg, image/png, image/gif, image/heic, image/heif,
|
|
21
|
-
image/tiff, image/bmp
|
|
21
|
+
image/tiff, image/bmp, image/svg+xml, image/webp, image/x-icon
|
|
22
22
|
|
|
23
|
-
**Videos:** video/mp4, video/quicktime, video/mpeg, video/
|
|
23
|
+
**Videos:** video/mp4, video/quicktime, video/mpeg, video/mpeg2,
|
|
24
|
+
video/x-msvideo, video/3gpp
|
|
24
25
|
|
|
25
|
-
**Audio:** audio/mpeg, audio/
|
|
26
|
-
audio/
|
|
26
|
+
**Audio:** audio/mpeg, audio/x-m4a, audio/x-caf, audio/x-wav, audio/x-aiff,
|
|
27
|
+
audio/aac, audio/midi, audio/amr
|
|
27
28
|
|
|
28
29
|
**Documents:** application/pdf, text/plain, text/markdown, text/vcard, text/rtf,
|
|
29
|
-
text/csv, text/html, text/calendar, application/
|
|
30
|
+
text/csv, text/html, text/calendar, text/xml, application/json,
|
|
31
|
+
application/msword,
|
|
30
32
|
application/vnd.openxmlformats-officedocument.wordprocessingml.document,
|
|
31
33
|
application/vnd.ms-excel,
|
|
32
34
|
application/vnd.openxmlformats-officedocument.spreadsheetml.sheet,
|
|
33
35
|
application/vnd.ms-powerpoint,
|
|
34
36
|
application/vnd.openxmlformats-officedocument.presentationml.presentation,
|
|
35
|
-
application/
|
|
36
|
-
application/
|
|
37
|
+
application/x-iwork-pages-sffpages, application/x-iwork-numbers-sffnumbers,
|
|
38
|
+
application/x-iwork-keynote-sffkey, application/epub+zip, application/zip,
|
|
39
|
+
application/x-gzip
|
|
37
40
|
|
|
38
|
-
**
|
|
39
|
-
|
|
41
|
+
**Deprecated (accepted but transcoded):**
|
|
42
|
+
|
|
43
|
+
- `audio/mp3` — Deprecated. Use `audio/mpeg` instead. Files sent as audio/mp3
|
|
44
|
+
will be delivered as audio/mpeg.
|
|
45
|
+
- `audio/mp4` — Deprecated. Use `audio/x-m4a` instead. Files sent as audio/mp4
|
|
46
|
+
will be delivered as audio/x-m4a.
|
|
47
|
+
- `audio/aiff` — Deprecated. Use `audio/x-aiff` instead. Files sent as
|
|
48
|
+
audio/aiff will be delivered as audio/x-aiff.
|
|
49
|
+
- `image/tiff` — Accepted, but TIFF images are transcoded to JPEG for delivery.
|
|
50
|
+
|
|
51
|
+
**Unsupported:** FLAC, OGG, and executable files are explicitly rejected.
|
|
40
52
|
"""
|
|
41
53
|
|
|
42
54
|
created_at: datetime
|
|
@@ -6,39 +6,38 @@ __all__ = ["SupportedContentType"]
|
|
|
6
6
|
|
|
7
7
|
SupportedContentType: TypeAlias = Literal[
|
|
8
8
|
"image/jpeg",
|
|
9
|
-
"image/jpg",
|
|
10
9
|
"image/png",
|
|
11
10
|
"image/gif",
|
|
12
11
|
"image/heic",
|
|
13
12
|
"image/heif",
|
|
14
13
|
"image/tiff",
|
|
15
14
|
"image/bmp",
|
|
16
|
-
"image/
|
|
15
|
+
"image/svg+xml",
|
|
16
|
+
"image/webp",
|
|
17
|
+
"image/x-icon",
|
|
17
18
|
"video/mp4",
|
|
18
19
|
"video/quicktime",
|
|
19
20
|
"video/mpeg",
|
|
21
|
+
"video/mpeg2",
|
|
20
22
|
"video/x-m4v",
|
|
23
|
+
"video/x-msvideo",
|
|
21
24
|
"video/3gpp",
|
|
22
25
|
"audio/mpeg",
|
|
23
26
|
"audio/mp3",
|
|
24
|
-
"audio/mp4",
|
|
25
27
|
"audio/x-m4a",
|
|
26
|
-
"audio/
|
|
28
|
+
"audio/mp4",
|
|
27
29
|
"audio/x-caf",
|
|
28
|
-
"audio/wav",
|
|
29
30
|
"audio/x-wav",
|
|
30
|
-
"audio/aiff",
|
|
31
31
|
"audio/x-aiff",
|
|
32
|
+
"audio/aiff",
|
|
32
33
|
"audio/aac",
|
|
33
|
-
"audio/
|
|
34
|
+
"audio/midi",
|
|
34
35
|
"audio/amr",
|
|
35
36
|
"application/pdf",
|
|
36
37
|
"text/plain",
|
|
37
38
|
"text/markdown",
|
|
38
39
|
"text/vcard",
|
|
39
|
-
"text/x-vcard",
|
|
40
40
|
"text/rtf",
|
|
41
|
-
"application/rtf",
|
|
42
41
|
"text/csv",
|
|
43
42
|
"text/html",
|
|
44
43
|
"text/calendar",
|
|
@@ -48,13 +47,12 @@ SupportedContentType: TypeAlias = Literal[
|
|
|
48
47
|
"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet",
|
|
49
48
|
"application/vnd.ms-powerpoint",
|
|
50
49
|
"application/vnd.openxmlformats-officedocument.presentationml.presentation",
|
|
51
|
-
"application/vnd.apple.pages",
|
|
52
50
|
"application/x-iwork-pages-sffpages",
|
|
53
|
-
"application/vnd.apple.numbers",
|
|
54
51
|
"application/x-iwork-numbers-sffnumbers",
|
|
55
|
-
"application/vnd.apple.keynote",
|
|
56
52
|
"application/x-iwork-keynote-sffkey",
|
|
57
53
|
"application/epub+zip",
|
|
54
|
+
"text/xml",
|
|
55
|
+
"application/json",
|
|
58
56
|
"application/zip",
|
|
59
|
-
"application/x-
|
|
57
|
+
"application/x-gzip",
|
|
60
58
|
]
|
|
@@ -1,42 +0,0 @@
|
|
|
1
|
-
# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
|
-
|
|
3
|
-
from __future__ import annotations
|
|
4
|
-
|
|
5
|
-
from typing_extensions import Required, TypedDict
|
|
6
|
-
|
|
7
|
-
from .supported_content_type import SupportedContentType
|
|
8
|
-
|
|
9
|
-
__all__ = ["AttachmentCreateParams"]
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
class AttachmentCreateParams(TypedDict, total=False):
|
|
13
|
-
content_type: Required[SupportedContentType]
|
|
14
|
-
"""Supported MIME types for file attachments and media URLs.
|
|
15
|
-
|
|
16
|
-
**Images:** image/jpeg, image/png, image/gif, image/heic, image/heif,
|
|
17
|
-
image/tiff, image/bmp
|
|
18
|
-
|
|
19
|
-
**Videos:** video/mp4, video/quicktime, video/mpeg, video/3gpp
|
|
20
|
-
|
|
21
|
-
**Audio:** audio/mpeg, audio/mp4, audio/x-m4a, audio/x-caf, audio/wav,
|
|
22
|
-
audio/aiff, audio/aac, audio/amr
|
|
23
|
-
|
|
24
|
-
**Documents:** application/pdf, text/plain, text/markdown, text/vcard, text/rtf,
|
|
25
|
-
text/csv, text/html, text/calendar, application/msword,
|
|
26
|
-
application/vnd.openxmlformats-officedocument.wordprocessingml.document,
|
|
27
|
-
application/vnd.ms-excel,
|
|
28
|
-
application/vnd.openxmlformats-officedocument.spreadsheetml.sheet,
|
|
29
|
-
application/vnd.ms-powerpoint,
|
|
30
|
-
application/vnd.openxmlformats-officedocument.presentationml.presentation,
|
|
31
|
-
application/vnd.apple.pages, application/vnd.apple.numbers,
|
|
32
|
-
application/vnd.apple.keynote, application/epub+zip, application/zip
|
|
33
|
-
|
|
34
|
-
**Unsupported:** WebP, SVG, FLAC, OGG, and executable files are explicitly
|
|
35
|
-
rejected.
|
|
36
|
-
"""
|
|
37
|
-
|
|
38
|
-
filename: Required[str]
|
|
39
|
-
"""Name of the file to upload"""
|
|
40
|
-
|
|
41
|
-
size_bytes: Required[int]
|
|
42
|
-
"""Size of the file in bytes (max 100MB)"""
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{linq_python-0.2.0 → linq_python-0.2.1}/src/linq/types/chat_group_icon_updated_webhook_event.py
RENAMED
|
File without changes
|
|
File without changes
|
{linq_python-0.2.0 → linq_python-0.2.1}/src/linq/types/chat_group_name_updated_webhook_event.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{linq_python-0.2.0 → linq_python-0.2.1}/src/linq/types/message_list_messages_thread_params.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{linq_python-0.2.0 → linq_python-0.2.1}/src/linq/types/phone_number_status_updated_webhook_event.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{linq_python-0.2.0 → linq_python-0.2.1}/src/linq/types/webhook_subscription_create_params.py
RENAMED
|
File without changes
|
{linq_python-0.2.0 → linq_python-0.2.1}/src/linq/types/webhook_subscription_create_response.py
RENAMED
|
File without changes
|
{linq_python-0.2.0 → linq_python-0.2.1}/src/linq/types/webhook_subscription_list_response.py
RENAMED
|
File without changes
|
{linq_python-0.2.0 → linq_python-0.2.1}/src/linq/types/webhook_subscription_update_params.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|