linq-python 0.11.0__tar.gz → 0.13.0__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.13.0/.release-please-manifest.json +3 -0
- linq_python-0.13.0/CHANGELOG.md +8 -0
- {linq_python-0.11.0 → linq_python-0.13.0}/PKG-INFO +5 -3
- {linq_python-0.11.0 → linq_python-0.13.0}/README.md +2 -2
- {linq_python-0.11.0 → linq_python-0.13.0}/api.md +14 -1
- {linq_python-0.11.0 → linq_python-0.13.0}/pyproject.toml +2 -1
- {linq_python-0.11.0 → linq_python-0.13.0}/src/linq/__init__.py +2 -0
- {linq_python-0.11.0 → linq_python-0.13.0}/src/linq/_client.py +958 -446
- {linq_python-0.11.0 → linq_python-0.13.0}/src/linq/_exceptions.py +4 -0
- {linq_python-0.11.0 → linq_python-0.13.0}/src/linq/_version.py +1 -1
- {linq_python-0.11.0 → linq_python-0.13.0}/src/linq/resources/chats/__init__.py +14 -0
- {linq_python-0.11.0 → linq_python-0.13.0}/src/linq/resources/chats/chats.py +86 -0
- linq_python-0.13.0/src/linq/resources/chats/location.py +299 -0
- linq_python-0.13.0/src/linq/resources/webhook_events.py +401 -0
- {linq_python-0.11.0 → linq_python-0.13.0}/src/linq/resources/webhook_subscriptions.py +174 -80
- linq_python-0.13.0/src/linq/resources/webhooks.py +69 -0
- {linq_python-0.11.0 → linq_python-0.13.0}/src/linq/types/__init__.py +1 -1
- {linq_python-0.11.0 → linq_python-0.13.0}/src/linq/types/chat_group_icon_update_failed_webhook_event.py +1 -1
- {linq_python-0.11.0 → linq_python-0.13.0}/src/linq/types/chat_group_name_update_failed_webhook_event.py +1 -1
- {linq_python-0.11.0 → linq_python-0.13.0}/src/linq/types/chats/__init__.py +2 -0
- linq_python-0.13.0/src/linq/types/chats/get_chat_location_response.py +50 -0
- linq_python-0.13.0/src/linq/types/chats/location_request_response.py +11 -0
- {linq_python-0.11.0 → linq_python-0.13.0}/src/linq/types/chats/sent_message.py +5 -2
- {linq_python-0.11.0 → linq_python-0.13.0}/src/linq/types/message.py +12 -3
- {linq_python-0.11.0 → linq_python-0.13.0}/src/linq/types/message_failed_webhook_event.py +1 -1
- {linq_python-0.11.0 → linq_python-0.13.0}/src/linq/types/phone_number_status_updated_webhook_event.py +2 -0
- linq_python-0.11.0/src/linq/types/events_webhook_event.py → linq_python-0.13.0/src/linq/types/unwrap_webhook_event.py +2 -2
- {linq_python-0.11.0 → linq_python-0.13.0}/src/linq/types/webhook_event_list_response.py +1 -1
- {linq_python-0.11.0 → linq_python-0.13.0}/src/linq/types/webhook_event_type.py +2 -0
- linq_python-0.13.0/tests/api_resources/chats/test_location.py +192 -0
- linq_python-0.13.0/tests/api_resources/test_webhooks.py +103 -0
- {linq_python-0.11.0 → linq_python-0.13.0}/uv.lock +156 -3
- linq_python-0.11.0/.release-please-manifest.json +0 -3
- linq_python-0.11.0/CHANGELOG.md +0 -8
- linq_python-0.11.0/src/linq/resources/webhook_events.py +0 -319
- linq_python-0.11.0/src/linq/resources/webhooks.py +0 -34
- linq_python-0.11.0/tests/api_resources/test_webhooks.py +0 -19
- {linq_python-0.11.0 → linq_python-0.13.0}/.gitignore +0 -0
- {linq_python-0.11.0 → linq_python-0.13.0}/CONTRIBUTING.md +0 -0
- {linq_python-0.11.0 → linq_python-0.13.0}/LICENSE +0 -0
- {linq_python-0.11.0 → linq_python-0.13.0}/SECURITY.md +0 -0
- {linq_python-0.11.0 → linq_python-0.13.0}/bin/check-release-environment +0 -0
- {linq_python-0.11.0 → linq_python-0.13.0}/bin/publish-pypi +0 -0
- {linq_python-0.11.0 → linq_python-0.13.0}/examples/.keep +0 -0
- {linq_python-0.11.0 → linq_python-0.13.0}/release-please-config.json +0 -0
- {linq_python-0.11.0 → linq_python-0.13.0}/requirements-dev.lock +0 -0
- {linq_python-0.11.0 → linq_python-0.13.0}/src/linq/_base_client.py +0 -0
- {linq_python-0.11.0 → linq_python-0.13.0}/src/linq/_compat.py +0 -0
- {linq_python-0.11.0 → linq_python-0.13.0}/src/linq/_constants.py +0 -0
- {linq_python-0.11.0 → linq_python-0.13.0}/src/linq/_files.py +0 -0
- {linq_python-0.11.0 → linq_python-0.13.0}/src/linq/_models.py +0 -0
- {linq_python-0.11.0 → linq_python-0.13.0}/src/linq/_qs.py +0 -0
- {linq_python-0.11.0 → linq_python-0.13.0}/src/linq/_resource.py +0 -0
- {linq_python-0.11.0 → linq_python-0.13.0}/src/linq/_response.py +0 -0
- {linq_python-0.11.0 → linq_python-0.13.0}/src/linq/_streaming.py +0 -0
- {linq_python-0.11.0 → linq_python-0.13.0}/src/linq/_types.py +0 -0
- {linq_python-0.11.0 → linq_python-0.13.0}/src/linq/_utils/__init__.py +0 -0
- {linq_python-0.11.0 → linq_python-0.13.0}/src/linq/_utils/_compat.py +0 -0
- {linq_python-0.11.0 → linq_python-0.13.0}/src/linq/_utils/_datetime_parse.py +0 -0
- {linq_python-0.11.0 → linq_python-0.13.0}/src/linq/_utils/_json.py +0 -0
- {linq_python-0.11.0 → linq_python-0.13.0}/src/linq/_utils/_logs.py +0 -0
- {linq_python-0.11.0 → linq_python-0.13.0}/src/linq/_utils/_path.py +0 -0
- {linq_python-0.11.0 → linq_python-0.13.0}/src/linq/_utils/_proxy.py +0 -0
- {linq_python-0.11.0 → linq_python-0.13.0}/src/linq/_utils/_reflection.py +0 -0
- {linq_python-0.11.0 → linq_python-0.13.0}/src/linq/_utils/_resources_proxy.py +0 -0
- {linq_python-0.11.0 → linq_python-0.13.0}/src/linq/_utils/_streams.py +0 -0
- {linq_python-0.11.0 → linq_python-0.13.0}/src/linq/_utils/_sync.py +0 -0
- {linq_python-0.11.0 → linq_python-0.13.0}/src/linq/_utils/_transform.py +0 -0
- {linq_python-0.11.0 → linq_python-0.13.0}/src/linq/_utils/_typing.py +0 -0
- {linq_python-0.11.0 → linq_python-0.13.0}/src/linq/_utils/_utils.py +0 -0
- {linq_python-0.11.0 → linq_python-0.13.0}/src/linq/lib/.keep +0 -0
- {linq_python-0.11.0 → linq_python-0.13.0}/src/linq/pagination.py +0 -0
- {linq_python-0.11.0 → linq_python-0.13.0}/src/linq/py.typed +0 -0
- {linq_python-0.11.0 → linq_python-0.13.0}/src/linq/resources/__init__.py +0 -0
- {linq_python-0.11.0 → linq_python-0.13.0}/src/linq/resources/attachments.py +0 -0
- {linq_python-0.11.0 → linq_python-0.13.0}/src/linq/resources/capability.py +0 -0
- {linq_python-0.11.0 → linq_python-0.13.0}/src/linq/resources/chats/messages.py +0 -0
- {linq_python-0.11.0 → linq_python-0.13.0}/src/linq/resources/chats/participants.py +0 -0
- {linq_python-0.11.0 → linq_python-0.13.0}/src/linq/resources/chats/typing.py +0 -0
- {linq_python-0.11.0 → linq_python-0.13.0}/src/linq/resources/contact_card.py +0 -0
- {linq_python-0.11.0 → linq_python-0.13.0}/src/linq/resources/messages.py +0 -0
- {linq_python-0.11.0 → linq_python-0.13.0}/src/linq/resources/phone_numbers.py +0 -0
- {linq_python-0.11.0 → linq_python-0.13.0}/src/linq/resources/phonenumbers.py +0 -0
- {linq_python-0.11.0 → linq_python-0.13.0}/src/linq/types/attachment_create_params.py +0 -0
- {linq_python-0.11.0 → linq_python-0.13.0}/src/linq/types/attachment_create_response.py +0 -0
- {linq_python-0.11.0 → linq_python-0.13.0}/src/linq/types/attachment_retrieve_response.py +0 -0
- {linq_python-0.11.0 → linq_python-0.13.0}/src/linq/types/capability_check_RCS_params.py +0 -0
- {linq_python-0.11.0 → linq_python-0.13.0}/src/linq/types/capability_check_i_message_params.py +0 -0
- {linq_python-0.11.0 → linq_python-0.13.0}/src/linq/types/chat.py +0 -0
- {linq_python-0.11.0 → linq_python-0.13.0}/src/linq/types/chat_create_params.py +0 -0
- {linq_python-0.11.0 → linq_python-0.13.0}/src/linq/types/chat_create_response.py +0 -0
- {linq_python-0.11.0 → linq_python-0.13.0}/src/linq/types/chat_created_webhook_event.py +0 -0
- {linq_python-0.11.0 → linq_python-0.13.0}/src/linq/types/chat_group_icon_updated_webhook_event.py +0 -0
- {linq_python-0.11.0 → linq_python-0.13.0}/src/linq/types/chat_group_name_updated_webhook_event.py +0 -0
- {linq_python-0.11.0 → linq_python-0.13.0}/src/linq/types/chat_leave_chat_response.py +0 -0
- {linq_python-0.11.0 → linq_python-0.13.0}/src/linq/types/chat_list_chats_params.py +0 -0
- {linq_python-0.11.0 → linq_python-0.13.0}/src/linq/types/chat_send_voicememo_params.py +0 -0
- {linq_python-0.11.0 → linq_python-0.13.0}/src/linq/types/chat_send_voicememo_response.py +0 -0
- {linq_python-0.11.0 → linq_python-0.13.0}/src/linq/types/chat_typing_indicator_started_webhook_event.py +0 -0
- {linq_python-0.11.0 → linq_python-0.13.0}/src/linq/types/chat_typing_indicator_stopped_webhook_event.py +0 -0
- {linq_python-0.11.0 → linq_python-0.13.0}/src/linq/types/chat_update_params.py +0 -0
- {linq_python-0.11.0 → linq_python-0.13.0}/src/linq/types/chat_update_response.py +0 -0
- {linq_python-0.11.0 → linq_python-0.13.0}/src/linq/types/chats/message_list_params.py +0 -0
- {linq_python-0.11.0 → linq_python-0.13.0}/src/linq/types/chats/message_send_params.py +0 -0
- {linq_python-0.11.0 → linq_python-0.13.0}/src/linq/types/chats/message_send_response.py +0 -0
- {linq_python-0.11.0 → linq_python-0.13.0}/src/linq/types/chats/participant_add_params.py +0 -0
- {linq_python-0.11.0 → linq_python-0.13.0}/src/linq/types/chats/participant_add_response.py +0 -0
- {linq_python-0.11.0 → linq_python-0.13.0}/src/linq/types/chats/participant_remove_params.py +0 -0
- {linq_python-0.11.0 → linq_python-0.13.0}/src/linq/types/chats/participant_remove_response.py +0 -0
- {linq_python-0.11.0 → linq_python-0.13.0}/src/linq/types/contact_card_create_params.py +0 -0
- {linq_python-0.11.0 → linq_python-0.13.0}/src/linq/types/contact_card_retrieve_params.py +0 -0
- {linq_python-0.11.0 → linq_python-0.13.0}/src/linq/types/contact_card_retrieve_response.py +0 -0
- {linq_python-0.11.0 → linq_python-0.13.0}/src/linq/types/contact_card_update_params.py +0 -0
- {linq_python-0.11.0 → linq_python-0.13.0}/src/linq/types/handle_check_response.py +0 -0
- {linq_python-0.11.0 → linq_python-0.13.0}/src/linq/types/link_part_param.py +0 -0
- {linq_python-0.11.0 → linq_python-0.13.0}/src/linq/types/media_part_param.py +0 -0
- {linq_python-0.11.0 → linq_python-0.13.0}/src/linq/types/message_add_reaction_params.py +0 -0
- {linq_python-0.11.0 → linq_python-0.13.0}/src/linq/types/message_add_reaction_response.py +0 -0
- {linq_python-0.11.0 → linq_python-0.13.0}/src/linq/types/message_content_param.py +0 -0
- {linq_python-0.11.0 → linq_python-0.13.0}/src/linq/types/message_delivered_webhook_event.py +0 -0
- {linq_python-0.11.0 → linq_python-0.13.0}/src/linq/types/message_edited_webhook_event.py +0 -0
- {linq_python-0.11.0 → linq_python-0.13.0}/src/linq/types/message_effect.py +0 -0
- {linq_python-0.11.0 → linq_python-0.13.0}/src/linq/types/message_effect_param.py +0 -0
- {linq_python-0.11.0 → linq_python-0.13.0}/src/linq/types/message_event_v2.py +0 -0
- {linq_python-0.11.0 → linq_python-0.13.0}/src/linq/types/message_list_messages_thread_params.py +0 -0
- {linq_python-0.11.0 → linq_python-0.13.0}/src/linq/types/message_read_webhook_event.py +0 -0
- {linq_python-0.11.0 → linq_python-0.13.0}/src/linq/types/message_received_webhook_event.py +0 -0
- {linq_python-0.11.0 → linq_python-0.13.0}/src/linq/types/message_sent_webhook_event.py +0 -0
- {linq_python-0.11.0 → linq_python-0.13.0}/src/linq/types/message_update_params.py +0 -0
- {linq_python-0.11.0 → linq_python-0.13.0}/src/linq/types/participant_added_webhook_event.py +0 -0
- {linq_python-0.11.0 → linq_python-0.13.0}/src/linq/types/participant_removed_webhook_event.py +0 -0
- {linq_python-0.11.0 → linq_python-0.13.0}/src/linq/types/phone_number_list_response.py +0 -0
- {linq_python-0.11.0 → linq_python-0.13.0}/src/linq/types/phonenumber_list_response.py +0 -0
- {linq_python-0.11.0 → linq_python-0.13.0}/src/linq/types/reaction_added_webhook_event.py +0 -0
- {linq_python-0.11.0 → linq_python-0.13.0}/src/linq/types/reaction_event_base.py +0 -0
- {linq_python-0.11.0 → linq_python-0.13.0}/src/linq/types/reaction_removed_webhook_event.py +0 -0
- {linq_python-0.11.0 → linq_python-0.13.0}/src/linq/types/reply_to.py +0 -0
- {linq_python-0.11.0 → linq_python-0.13.0}/src/linq/types/reply_to_param.py +0 -0
- {linq_python-0.11.0 → linq_python-0.13.0}/src/linq/types/schemas_media_part_response.py +0 -0
- {linq_python-0.11.0 → linq_python-0.13.0}/src/linq/types/schemas_message_effect.py +0 -0
- {linq_python-0.11.0 → linq_python-0.13.0}/src/linq/types/schemas_text_part_response.py +0 -0
- {linq_python-0.11.0 → linq_python-0.13.0}/src/linq/types/set_contact_card.py +0 -0
- {linq_python-0.11.0 → linq_python-0.13.0}/src/linq/types/shared/__init__.py +0 -0
- {linq_python-0.11.0 → linq_python-0.13.0}/src/linq/types/shared/chat_handle.py +0 -0
- {linq_python-0.11.0 → linq_python-0.13.0}/src/linq/types/shared/link_part_response.py +0 -0
- {linq_python-0.11.0 → linq_python-0.13.0}/src/linq/types/shared/media_part_response.py +0 -0
- {linq_python-0.11.0 → linq_python-0.13.0}/src/linq/types/shared/reaction.py +0 -0
- {linq_python-0.11.0 → linq_python-0.13.0}/src/linq/types/shared/reaction_type.py +0 -0
- {linq_python-0.11.0 → linq_python-0.13.0}/src/linq/types/shared/service_type.py +0 -0
- {linq_python-0.11.0 → linq_python-0.13.0}/src/linq/types/shared/text_decoration.py +0 -0
- {linq_python-0.11.0 → linq_python-0.13.0}/src/linq/types/shared/text_part_response.py +0 -0
- {linq_python-0.11.0 → linq_python-0.13.0}/src/linq/types/shared_params/__init__.py +0 -0
- {linq_python-0.11.0 → linq_python-0.13.0}/src/linq/types/shared_params/reaction_type.py +0 -0
- {linq_python-0.11.0 → linq_python-0.13.0}/src/linq/types/shared_params/service_type.py +0 -0
- {linq_python-0.11.0 → linq_python-0.13.0}/src/linq/types/shared_params/text_decoration.py +0 -0
- {linq_python-0.11.0 → linq_python-0.13.0}/src/linq/types/supported_content_type.py +0 -0
- {linq_python-0.11.0 → linq_python-0.13.0}/src/linq/types/text_part_param.py +0 -0
- {linq_python-0.11.0 → linq_python-0.13.0}/src/linq/types/webhook_subscription.py +0 -0
- {linq_python-0.11.0 → linq_python-0.13.0}/src/linq/types/webhook_subscription_create_params.py +0 -0
- {linq_python-0.11.0 → linq_python-0.13.0}/src/linq/types/webhook_subscription_create_response.py +0 -0
- {linq_python-0.11.0 → linq_python-0.13.0}/src/linq/types/webhook_subscription_list_response.py +0 -0
- {linq_python-0.11.0 → linq_python-0.13.0}/src/linq/types/webhook_subscription_update_params.py +0 -0
- {linq_python-0.11.0 → linq_python-0.13.0}/tests/__init__.py +0 -0
- {linq_python-0.11.0 → linq_python-0.13.0}/tests/api_resources/__init__.py +0 -0
- {linq_python-0.11.0 → linq_python-0.13.0}/tests/api_resources/chats/__init__.py +0 -0
- {linq_python-0.11.0 → linq_python-0.13.0}/tests/api_resources/chats/test_messages.py +0 -0
- {linq_python-0.11.0 → linq_python-0.13.0}/tests/api_resources/chats/test_participants.py +0 -0
- {linq_python-0.11.0 → linq_python-0.13.0}/tests/api_resources/chats/test_typing.py +0 -0
- {linq_python-0.11.0 → linq_python-0.13.0}/tests/api_resources/test_attachments.py +0 -0
- {linq_python-0.11.0 → linq_python-0.13.0}/tests/api_resources/test_capability.py +0 -0
- {linq_python-0.11.0 → linq_python-0.13.0}/tests/api_resources/test_chats.py +0 -0
- {linq_python-0.11.0 → linq_python-0.13.0}/tests/api_resources/test_contact_card.py +0 -0
- {linq_python-0.11.0 → linq_python-0.13.0}/tests/api_resources/test_messages.py +0 -0
- {linq_python-0.11.0 → linq_python-0.13.0}/tests/api_resources/test_phone_numbers.py +0 -0
- {linq_python-0.11.0 → linq_python-0.13.0}/tests/api_resources/test_phonenumbers.py +0 -0
- {linq_python-0.11.0 → linq_python-0.13.0}/tests/api_resources/test_webhook_events.py +0 -0
- {linq_python-0.11.0 → linq_python-0.13.0}/tests/api_resources/test_webhook_subscriptions.py +0 -0
- {linq_python-0.11.0 → linq_python-0.13.0}/tests/conftest.py +0 -0
- {linq_python-0.11.0 → linq_python-0.13.0}/tests/sample_file.txt +0 -0
- {linq_python-0.11.0 → linq_python-0.13.0}/tests/test_client.py +0 -0
- {linq_python-0.11.0 → linq_python-0.13.0}/tests/test_extract_files.py +0 -0
- {linq_python-0.11.0 → linq_python-0.13.0}/tests/test_files.py +0 -0
- {linq_python-0.11.0 → linq_python-0.13.0}/tests/test_models.py +0 -0
- {linq_python-0.11.0 → linq_python-0.13.0}/tests/test_qs.py +0 -0
- {linq_python-0.11.0 → linq_python-0.13.0}/tests/test_required_args.py +0 -0
- {linq_python-0.11.0 → linq_python-0.13.0}/tests/test_response.py +0 -0
- {linq_python-0.11.0 → linq_python-0.13.0}/tests/test_streaming.py +0 -0
- {linq_python-0.11.0 → linq_python-0.13.0}/tests/test_transform.py +0 -0
- {linq_python-0.11.0 → linq_python-0.13.0}/tests/test_utils/test_datetime_parse.py +0 -0
- {linq_python-0.11.0 → linq_python-0.13.0}/tests/test_utils/test_json.py +0 -0
- {linq_python-0.11.0 → linq_python-0.13.0}/tests/test_utils/test_path.py +0 -0
- {linq_python-0.11.0 → linq_python-0.13.0}/tests/test_utils/test_proxy.py +0 -0
- {linq_python-0.11.0 → linq_python-0.13.0}/tests/test_utils/test_typing.py +0 -0
- {linq_python-0.11.0 → linq_python-0.13.0}/tests/utils.py +0 -0
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
# Changelog
|
|
2
|
+
|
|
3
|
+
## [0.13.0](https://github.com/linq-team/linq-python/compare/v0.12.0...v0.13.0) (2026-06-08)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### Features
|
|
7
|
+
|
|
8
|
+
* add delivery_status field and deprecate is_read/is_delivered ([#23](https://github.com/linq-team/linq-python/issues/23)) ([0f5f6fa](https://github.com/linq-team/linq-python/commit/0f5f6fab581ea5fab03f4fe29abc916cf7a3eef4))
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.3
|
|
2
2
|
Name: linq-python
|
|
3
|
-
Version: 0.
|
|
3
|
+
Version: 0.13.0
|
|
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
|
|
@@ -31,6 +31,8 @@ Requires-Dist: typing-extensions<5,>=4.14
|
|
|
31
31
|
Provides-Extra: aiohttp
|
|
32
32
|
Requires-Dist: aiohttp; extra == 'aiohttp'
|
|
33
33
|
Requires-Dist: httpx-aiohttp>=0.1.9; extra == 'aiohttp'
|
|
34
|
+
Provides-Extra: webhooks
|
|
35
|
+
Requires-Dist: standardwebhooks<2,>=1.0.1; extra == 'webhooks'
|
|
34
36
|
Description-Content-Type: text/markdown
|
|
35
37
|
|
|
36
38
|
# Linq API V3 Python API library
|
|
@@ -48,8 +50,8 @@ It is generated with [Stainless](https://www.stainless.com/).
|
|
|
48
50
|
|
|
49
51
|
Use the Linq API V3 MCP Server to enable AI assistants to interact with this API, allowing them to explore endpoints, make test requests, and use documentation to help integrate this SDK into your application.
|
|
50
52
|
|
|
51
|
-
[](https://cursor.com/en-US/install-mcp?name=%40linqapp%2Fsdk-mcp&config=
|
|
52
|
-
[](https://vscode.stainless.com/mcp/%7B%22name%22%3A%22%40linqapp%2Fsdk-mcp%22%2C%22command%22%3A%22npx%22%2C%22args%22%3A%5B%22-y%22%2C%22%40linqapp%2Fsdk-mcp%22%5D%2C%22env%22%3A%7B%22LINQ_API_V3_API_KEY%22%3A%22My%20API%20Key%22%7D%7D)
|
|
53
|
+
[](https://cursor.com/en-US/install-mcp?name=%40linqapp%2Fsdk-mcp&config=eyJjb21tYW5kIjoibnB4IiwiYXJncyI6WyIteSIsIkBsaW5xYXBwL3Nkay1tY3AiXSwiZW52Ijp7IkxJTlFfQVBJX1YzX0FQSV9LRVkiOiJNeSBBUEkgS2V5IiwiTElOUV9XRUJIT09LX1NFQ1JFVCI6Ik15IFdlYmhvb2sgU2VjcmV0In19)
|
|
54
|
+
[](https://vscode.stainless.com/mcp/%7B%22name%22%3A%22%40linqapp%2Fsdk-mcp%22%2C%22command%22%3A%22npx%22%2C%22args%22%3A%5B%22-y%22%2C%22%40linqapp%2Fsdk-mcp%22%5D%2C%22env%22%3A%7B%22LINQ_API_V3_API_KEY%22%3A%22My%20API%20Key%22%2C%22LINQ_WEBHOOK_SECRET%22%3A%22My%20Webhook%20Secret%22%7D%7D)
|
|
53
55
|
|
|
54
56
|
> Note: You may need to set environment variables in your MCP client.
|
|
55
57
|
|
|
@@ -13,8 +13,8 @@ It is generated with [Stainless](https://www.stainless.com/).
|
|
|
13
13
|
|
|
14
14
|
Use the Linq API V3 MCP Server to enable AI assistants to interact with this API, allowing them to explore endpoints, make test requests, and use documentation to help integrate this SDK into your application.
|
|
15
15
|
|
|
16
|
-
[](https://cursor.com/en-US/install-mcp?name=%40linqapp%2Fsdk-mcp&config=
|
|
17
|
-
[](https://vscode.stainless.com/mcp/%7B%22name%22%3A%22%40linqapp%2Fsdk-mcp%22%2C%22command%22%3A%22npx%22%2C%22args%22%3A%5B%22-y%22%2C%22%40linqapp%2Fsdk-mcp%22%5D%2C%22env%22%3A%7B%22LINQ_API_V3_API_KEY%22%3A%22My%20API%20Key%22%7D%7D)
|
|
16
|
+
[](https://cursor.com/en-US/install-mcp?name=%40linqapp%2Fsdk-mcp&config=eyJjb21tYW5kIjoibnB4IiwiYXJncyI6WyIteSIsIkBsaW5xYXBwL3Nkay1tY3AiXSwiZW52Ijp7IkxJTlFfQVBJX1YzX0FQSV9LRVkiOiJNeSBBUEkgS2V5IiwiTElOUV9XRUJIT09LX1NFQ1JFVCI6Ik15IFdlYmhvb2sgU2VjcmV0In19)
|
|
17
|
+
[](https://vscode.stainless.com/mcp/%7B%22name%22%3A%22%40linqapp%2Fsdk-mcp%22%2C%22command%22%3A%22npx%22%2C%22args%22%3A%5B%22-y%22%2C%22%40linqapp%2Fsdk-mcp%22%5D%2C%22env%22%3A%7B%22LINQ_API_V3_API_KEY%22%3A%22My%20API%20Key%22%2C%22LINQ_WEBHOOK_SECRET%22%3A%22My%20Webhook%20Secret%22%7D%7D)
|
|
18
18
|
|
|
19
19
|
> Note: You may need to set environment variables in your MCP client.
|
|
20
20
|
|
|
@@ -75,6 +75,19 @@ Methods:
|
|
|
75
75
|
- <code title="get /v3/chats/{chatId}/messages">client.chats.messages.<a href="./src/linq/resources/chats/messages.py">list</a>(chat_id, \*\*<a href="src/linq/types/chats/message_list_params.py">params</a>) -> <a href="./src/linq/types/message.py">SyncListMessagesPagination[Message]</a></code>
|
|
76
76
|
- <code title="post /v3/chats/{chatId}/messages">client.chats.messages.<a href="./src/linq/resources/chats/messages.py">send</a>(chat_id, \*\*<a href="src/linq/types/chats/message_send_params.py">params</a>) -> <a href="./src/linq/types/chats/message_send_response.py">MessageSendResponse</a></code>
|
|
77
77
|
|
|
78
|
+
## Location
|
|
79
|
+
|
|
80
|
+
Types:
|
|
81
|
+
|
|
82
|
+
```python
|
|
83
|
+
from linq.types.chats import GetChatLocationResponse, LocationRequestResponse
|
|
84
|
+
```
|
|
85
|
+
|
|
86
|
+
Methods:
|
|
87
|
+
|
|
88
|
+
- <code title="get /v3/chats/{chatId}/location">client.chats.location.<a href="./src/linq/resources/chats/location.py">retrieve</a>(chat_id) -> <a href="./src/linq/types/chats/get_chat_location_response.py">GetChatLocationResponse</a></code>
|
|
89
|
+
- <code title="post /v3/chats/{chatId}/location/request">client.chats.location.<a href="./src/linq/resources/chats/location.py">request</a>(chat_id) -> <a href="./src/linq/types/chats/location_request_response.py">LocationRequestResponse</a></code>
|
|
90
|
+
|
|
78
91
|
# Messages
|
|
79
92
|
|
|
80
93
|
Types:
|
|
@@ -204,7 +217,7 @@ from linq.types import (
|
|
|
204
217
|
ChatTypingIndicatorStartedWebhookEvent,
|
|
205
218
|
ChatTypingIndicatorStoppedWebhookEvent,
|
|
206
219
|
PhoneNumberStatusUpdatedWebhookEvent,
|
|
207
|
-
|
|
220
|
+
UnwrapWebhookEvent,
|
|
208
221
|
)
|
|
209
222
|
```
|
|
210
223
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
[project]
|
|
2
2
|
name = "linq-python"
|
|
3
|
-
version = "0.
|
|
3
|
+
version = "0.13.0"
|
|
4
4
|
description = "The official Python library for the linq-api-v3 API"
|
|
5
5
|
dynamic = ["readme"]
|
|
6
6
|
license = "Apache-2.0"
|
|
@@ -42,6 +42,7 @@ Repository = "https://github.com/linq-team/linq-python"
|
|
|
42
42
|
|
|
43
43
|
[project.optional-dependencies]
|
|
44
44
|
aiohttp = ["aiohttp", "httpx_aiohttp>=0.1.9"]
|
|
45
|
+
webhooks = ["standardwebhooks >= 1.0.1, < 2"]
|
|
45
46
|
|
|
46
47
|
[tool.uv]
|
|
47
48
|
managed = true
|
|
@@ -34,6 +34,7 @@ from ._exceptions import (
|
|
|
34
34
|
InternalServerError,
|
|
35
35
|
PermissionDeniedError,
|
|
36
36
|
UnprocessableEntityError,
|
|
37
|
+
APIWebhookValidationError,
|
|
37
38
|
APIResponseValidationError,
|
|
38
39
|
)
|
|
39
40
|
from ._base_client import DefaultHttpxClient, DefaultAioHttpClient, DefaultAsyncHttpxClient
|
|
@@ -57,6 +58,7 @@ __all__ = [
|
|
|
57
58
|
"APITimeoutError",
|
|
58
59
|
"APIConnectionError",
|
|
59
60
|
"APIResponseValidationError",
|
|
61
|
+
"APIWebhookValidationError",
|
|
60
62
|
"BadRequestError",
|
|
61
63
|
"AuthenticationError",
|
|
62
64
|
"PermissionDeniedError",
|