linq-python 0.9.0__tar.gz → 0.10.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.10.0/.release-please-manifest.json +3 -0
- {linq_python-0.9.0 → linq_python-0.10.0}/CHANGELOG.md +14 -0
- {linq_python-0.9.0 → linq_python-0.10.0}/PKG-INFO +1 -1
- {linq_python-0.9.0 → linq_python-0.10.0}/pyproject.toml +1 -1
- {linq_python-0.9.0 → linq_python-0.10.0}/src/linq/_version.py +1 -1
- {linq_python-0.9.0 → linq_python-0.10.0}/src/linq/types/chat.py +4 -4
- {linq_python-0.9.0 → linq_python-0.10.0}/src/linq/types/chat_create_response.py +4 -4
- {linq_python-0.9.0 → linq_python-0.10.0}/src/linq/types/chat_created_webhook_event.py +4 -4
- {linq_python-0.9.0 → linq_python-0.10.0}/src/linq/types/message_edited_webhook_event.py +4 -4
- {linq_python-0.9.0 → linq_python-0.10.0}/src/linq/types/message_event_v2.py +4 -4
- linq_python-0.10.0/src/linq/types/phone_number_list_response.py +60 -0
- {linq_python-0.9.0 → linq_python-0.10.0}/src/linq/types/phone_number_status_updated_webhook_event.py +6 -0
- linq_python-0.9.0/.release-please-manifest.json +0 -3
- linq_python-0.9.0/src/linq/types/phone_number_list_response.py +0 -20
- {linq_python-0.9.0 → linq_python-0.10.0}/.gitignore +0 -0
- {linq_python-0.9.0 → linq_python-0.10.0}/CONTRIBUTING.md +0 -0
- {linq_python-0.9.0 → linq_python-0.10.0}/LICENSE +0 -0
- {linq_python-0.9.0 → linq_python-0.10.0}/README.md +0 -0
- {linq_python-0.9.0 → linq_python-0.10.0}/SECURITY.md +0 -0
- {linq_python-0.9.0 → linq_python-0.10.0}/api.md +0 -0
- {linq_python-0.9.0 → linq_python-0.10.0}/bin/check-release-environment +0 -0
- {linq_python-0.9.0 → linq_python-0.10.0}/bin/publish-pypi +0 -0
- {linq_python-0.9.0 → linq_python-0.10.0}/examples/.keep +0 -0
- {linq_python-0.9.0 → linq_python-0.10.0}/release-please-config.json +0 -0
- {linq_python-0.9.0 → linq_python-0.10.0}/requirements-dev.lock +0 -0
- {linq_python-0.9.0 → linq_python-0.10.0}/src/linq/__init__.py +0 -0
- {linq_python-0.9.0 → linq_python-0.10.0}/src/linq/_base_client.py +0 -0
- {linq_python-0.9.0 → linq_python-0.10.0}/src/linq/_client.py +0 -0
- {linq_python-0.9.0 → linq_python-0.10.0}/src/linq/_compat.py +0 -0
- {linq_python-0.9.0 → linq_python-0.10.0}/src/linq/_constants.py +0 -0
- {linq_python-0.9.0 → linq_python-0.10.0}/src/linq/_exceptions.py +0 -0
- {linq_python-0.9.0 → linq_python-0.10.0}/src/linq/_files.py +0 -0
- {linq_python-0.9.0 → linq_python-0.10.0}/src/linq/_models.py +0 -0
- {linq_python-0.9.0 → linq_python-0.10.0}/src/linq/_qs.py +0 -0
- {linq_python-0.9.0 → linq_python-0.10.0}/src/linq/_resource.py +0 -0
- {linq_python-0.9.0 → linq_python-0.10.0}/src/linq/_response.py +0 -0
- {linq_python-0.9.0 → linq_python-0.10.0}/src/linq/_streaming.py +0 -0
- {linq_python-0.9.0 → linq_python-0.10.0}/src/linq/_types.py +0 -0
- {linq_python-0.9.0 → linq_python-0.10.0}/src/linq/_utils/__init__.py +0 -0
- {linq_python-0.9.0 → linq_python-0.10.0}/src/linq/_utils/_compat.py +0 -0
- {linq_python-0.9.0 → linq_python-0.10.0}/src/linq/_utils/_datetime_parse.py +0 -0
- {linq_python-0.9.0 → linq_python-0.10.0}/src/linq/_utils/_json.py +0 -0
- {linq_python-0.9.0 → linq_python-0.10.0}/src/linq/_utils/_logs.py +0 -0
- {linq_python-0.9.0 → linq_python-0.10.0}/src/linq/_utils/_path.py +0 -0
- {linq_python-0.9.0 → linq_python-0.10.0}/src/linq/_utils/_proxy.py +0 -0
- {linq_python-0.9.0 → linq_python-0.10.0}/src/linq/_utils/_reflection.py +0 -0
- {linq_python-0.9.0 → linq_python-0.10.0}/src/linq/_utils/_resources_proxy.py +0 -0
- {linq_python-0.9.0 → linq_python-0.10.0}/src/linq/_utils/_streams.py +0 -0
- {linq_python-0.9.0 → linq_python-0.10.0}/src/linq/_utils/_sync.py +0 -0
- {linq_python-0.9.0 → linq_python-0.10.0}/src/linq/_utils/_transform.py +0 -0
- {linq_python-0.9.0 → linq_python-0.10.0}/src/linq/_utils/_typing.py +0 -0
- {linq_python-0.9.0 → linq_python-0.10.0}/src/linq/_utils/_utils.py +0 -0
- {linq_python-0.9.0 → linq_python-0.10.0}/src/linq/lib/.keep +0 -0
- {linq_python-0.9.0 → linq_python-0.10.0}/src/linq/pagination.py +0 -0
- {linq_python-0.9.0 → linq_python-0.10.0}/src/linq/py.typed +0 -0
- {linq_python-0.9.0 → linq_python-0.10.0}/src/linq/resources/__init__.py +0 -0
- {linq_python-0.9.0 → linq_python-0.10.0}/src/linq/resources/attachments.py +0 -0
- {linq_python-0.9.0 → linq_python-0.10.0}/src/linq/resources/capability.py +0 -0
- {linq_python-0.9.0 → linq_python-0.10.0}/src/linq/resources/chats/__init__.py +0 -0
- {linq_python-0.9.0 → linq_python-0.10.0}/src/linq/resources/chats/chats.py +0 -0
- {linq_python-0.9.0 → linq_python-0.10.0}/src/linq/resources/chats/messages.py +0 -0
- {linq_python-0.9.0 → linq_python-0.10.0}/src/linq/resources/chats/participants.py +0 -0
- {linq_python-0.9.0 → linq_python-0.10.0}/src/linq/resources/chats/typing.py +0 -0
- {linq_python-0.9.0 → linq_python-0.10.0}/src/linq/resources/contact_card.py +0 -0
- {linq_python-0.9.0 → linq_python-0.10.0}/src/linq/resources/messages.py +0 -0
- {linq_python-0.9.0 → linq_python-0.10.0}/src/linq/resources/phone_numbers.py +0 -0
- {linq_python-0.9.0 → linq_python-0.10.0}/src/linq/resources/phonenumbers.py +0 -0
- {linq_python-0.9.0 → linq_python-0.10.0}/src/linq/resources/webhook_events.py +0 -0
- {linq_python-0.9.0 → linq_python-0.10.0}/src/linq/resources/webhook_subscriptions.py +0 -0
- {linq_python-0.9.0 → linq_python-0.10.0}/src/linq/resources/webhooks.py +0 -0
- {linq_python-0.9.0 → linq_python-0.10.0}/src/linq/types/__init__.py +0 -0
- {linq_python-0.9.0 → linq_python-0.10.0}/src/linq/types/attachment_create_params.py +0 -0
- {linq_python-0.9.0 → linq_python-0.10.0}/src/linq/types/attachment_create_response.py +0 -0
- {linq_python-0.9.0 → linq_python-0.10.0}/src/linq/types/attachment_retrieve_response.py +0 -0
- {linq_python-0.9.0 → linq_python-0.10.0}/src/linq/types/capability_check_RCS_params.py +0 -0
- {linq_python-0.9.0 → linq_python-0.10.0}/src/linq/types/capability_check_i_message_params.py +0 -0
- {linq_python-0.9.0 → linq_python-0.10.0}/src/linq/types/chat_create_params.py +0 -0
- {linq_python-0.9.0 → linq_python-0.10.0}/src/linq/types/chat_group_icon_update_failed_webhook_event.py +0 -0
- {linq_python-0.9.0 → linq_python-0.10.0}/src/linq/types/chat_group_icon_updated_webhook_event.py +0 -0
- {linq_python-0.9.0 → linq_python-0.10.0}/src/linq/types/chat_group_name_update_failed_webhook_event.py +0 -0
- {linq_python-0.9.0 → linq_python-0.10.0}/src/linq/types/chat_group_name_updated_webhook_event.py +0 -0
- {linq_python-0.9.0 → linq_python-0.10.0}/src/linq/types/chat_leave_chat_response.py +0 -0
- {linq_python-0.9.0 → linq_python-0.10.0}/src/linq/types/chat_list_chats_params.py +0 -0
- {linq_python-0.9.0 → linq_python-0.10.0}/src/linq/types/chat_send_voicememo_params.py +0 -0
- {linq_python-0.9.0 → linq_python-0.10.0}/src/linq/types/chat_send_voicememo_response.py +0 -0
- {linq_python-0.9.0 → linq_python-0.10.0}/src/linq/types/chat_typing_indicator_started_webhook_event.py +0 -0
- {linq_python-0.9.0 → linq_python-0.10.0}/src/linq/types/chat_typing_indicator_stopped_webhook_event.py +0 -0
- {linq_python-0.9.0 → linq_python-0.10.0}/src/linq/types/chat_update_params.py +0 -0
- {linq_python-0.9.0 → linq_python-0.10.0}/src/linq/types/chat_update_response.py +0 -0
- {linq_python-0.9.0 → linq_python-0.10.0}/src/linq/types/chats/__init__.py +0 -0
- {linq_python-0.9.0 → linq_python-0.10.0}/src/linq/types/chats/message_list_params.py +0 -0
- {linq_python-0.9.0 → linq_python-0.10.0}/src/linq/types/chats/message_send_params.py +0 -0
- {linq_python-0.9.0 → linq_python-0.10.0}/src/linq/types/chats/message_send_response.py +0 -0
- {linq_python-0.9.0 → linq_python-0.10.0}/src/linq/types/chats/participant_add_params.py +0 -0
- {linq_python-0.9.0 → linq_python-0.10.0}/src/linq/types/chats/participant_add_response.py +0 -0
- {linq_python-0.9.0 → linq_python-0.10.0}/src/linq/types/chats/participant_remove_params.py +0 -0
- {linq_python-0.9.0 → linq_python-0.10.0}/src/linq/types/chats/participant_remove_response.py +0 -0
- {linq_python-0.9.0 → linq_python-0.10.0}/src/linq/types/chats/sent_message.py +0 -0
- {linq_python-0.9.0 → linq_python-0.10.0}/src/linq/types/contact_card_create_params.py +0 -0
- {linq_python-0.9.0 → linq_python-0.10.0}/src/linq/types/contact_card_retrieve_params.py +0 -0
- {linq_python-0.9.0 → linq_python-0.10.0}/src/linq/types/contact_card_retrieve_response.py +0 -0
- {linq_python-0.9.0 → linq_python-0.10.0}/src/linq/types/contact_card_update_params.py +0 -0
- {linq_python-0.9.0 → linq_python-0.10.0}/src/linq/types/events_webhook_event.py +0 -0
- {linq_python-0.9.0 → linq_python-0.10.0}/src/linq/types/handle_check_response.py +0 -0
- {linq_python-0.9.0 → linq_python-0.10.0}/src/linq/types/link_part_param.py +0 -0
- {linq_python-0.9.0 → linq_python-0.10.0}/src/linq/types/media_part_param.py +0 -0
- {linq_python-0.9.0 → linq_python-0.10.0}/src/linq/types/message.py +0 -0
- {linq_python-0.9.0 → linq_python-0.10.0}/src/linq/types/message_add_reaction_params.py +0 -0
- {linq_python-0.9.0 → linq_python-0.10.0}/src/linq/types/message_add_reaction_response.py +0 -0
- {linq_python-0.9.0 → linq_python-0.10.0}/src/linq/types/message_content_param.py +0 -0
- {linq_python-0.9.0 → linq_python-0.10.0}/src/linq/types/message_delivered_webhook_event.py +0 -0
- {linq_python-0.9.0 → linq_python-0.10.0}/src/linq/types/message_effect.py +0 -0
- {linq_python-0.9.0 → linq_python-0.10.0}/src/linq/types/message_effect_param.py +0 -0
- {linq_python-0.9.0 → linq_python-0.10.0}/src/linq/types/message_failed_webhook_event.py +0 -0
- {linq_python-0.9.0 → linq_python-0.10.0}/src/linq/types/message_list_messages_thread_params.py +0 -0
- {linq_python-0.9.0 → linq_python-0.10.0}/src/linq/types/message_read_webhook_event.py +0 -0
- {linq_python-0.9.0 → linq_python-0.10.0}/src/linq/types/message_received_webhook_event.py +0 -0
- {linq_python-0.9.0 → linq_python-0.10.0}/src/linq/types/message_sent_webhook_event.py +0 -0
- {linq_python-0.9.0 → linq_python-0.10.0}/src/linq/types/message_update_params.py +0 -0
- {linq_python-0.9.0 → linq_python-0.10.0}/src/linq/types/participant_added_webhook_event.py +0 -0
- {linq_python-0.9.0 → linq_python-0.10.0}/src/linq/types/participant_removed_webhook_event.py +0 -0
- {linq_python-0.9.0 → linq_python-0.10.0}/src/linq/types/phonenumber_list_response.py +0 -0
- {linq_python-0.9.0 → linq_python-0.10.0}/src/linq/types/reaction_added_webhook_event.py +0 -0
- {linq_python-0.9.0 → linq_python-0.10.0}/src/linq/types/reaction_event_base.py +0 -0
- {linq_python-0.9.0 → linq_python-0.10.0}/src/linq/types/reaction_removed_webhook_event.py +0 -0
- {linq_python-0.9.0 → linq_python-0.10.0}/src/linq/types/reply_to.py +0 -0
- {linq_python-0.9.0 → linq_python-0.10.0}/src/linq/types/reply_to_param.py +0 -0
- {linq_python-0.9.0 → linq_python-0.10.0}/src/linq/types/schemas_media_part_response.py +0 -0
- {linq_python-0.9.0 → linq_python-0.10.0}/src/linq/types/schemas_message_effect.py +0 -0
- {linq_python-0.9.0 → linq_python-0.10.0}/src/linq/types/schemas_text_part_response.py +0 -0
- {linq_python-0.9.0 → linq_python-0.10.0}/src/linq/types/set_contact_card.py +0 -0
- {linq_python-0.9.0 → linq_python-0.10.0}/src/linq/types/shared/__init__.py +0 -0
- {linq_python-0.9.0 → linq_python-0.10.0}/src/linq/types/shared/chat_handle.py +0 -0
- {linq_python-0.9.0 → linq_python-0.10.0}/src/linq/types/shared/link_part_response.py +0 -0
- {linq_python-0.9.0 → linq_python-0.10.0}/src/linq/types/shared/media_part_response.py +0 -0
- {linq_python-0.9.0 → linq_python-0.10.0}/src/linq/types/shared/reaction.py +0 -0
- {linq_python-0.9.0 → linq_python-0.10.0}/src/linq/types/shared/reaction_type.py +0 -0
- {linq_python-0.9.0 → linq_python-0.10.0}/src/linq/types/shared/service_type.py +0 -0
- {linq_python-0.9.0 → linq_python-0.10.0}/src/linq/types/shared/text_decoration.py +0 -0
- {linq_python-0.9.0 → linq_python-0.10.0}/src/linq/types/shared/text_part_response.py +0 -0
- {linq_python-0.9.0 → linq_python-0.10.0}/src/linq/types/shared_params/__init__.py +0 -0
- {linq_python-0.9.0 → linq_python-0.10.0}/src/linq/types/shared_params/reaction_type.py +0 -0
- {linq_python-0.9.0 → linq_python-0.10.0}/src/linq/types/shared_params/service_type.py +0 -0
- {linq_python-0.9.0 → linq_python-0.10.0}/src/linq/types/shared_params/text_decoration.py +0 -0
- {linq_python-0.9.0 → linq_python-0.10.0}/src/linq/types/supported_content_type.py +0 -0
- {linq_python-0.9.0 → linq_python-0.10.0}/src/linq/types/text_part_param.py +0 -0
- {linq_python-0.9.0 → linq_python-0.10.0}/src/linq/types/webhook_event_list_response.py +0 -0
- {linq_python-0.9.0 → linq_python-0.10.0}/src/linq/types/webhook_event_type.py +0 -0
- {linq_python-0.9.0 → linq_python-0.10.0}/src/linq/types/webhook_subscription.py +0 -0
- {linq_python-0.9.0 → linq_python-0.10.0}/src/linq/types/webhook_subscription_create_params.py +0 -0
- {linq_python-0.9.0 → linq_python-0.10.0}/src/linq/types/webhook_subscription_create_response.py +0 -0
- {linq_python-0.9.0 → linq_python-0.10.0}/src/linq/types/webhook_subscription_list_response.py +0 -0
- {linq_python-0.9.0 → linq_python-0.10.0}/src/linq/types/webhook_subscription_update_params.py +0 -0
- {linq_python-0.9.0 → linq_python-0.10.0}/src/linq_api_v3/lib/.keep +0 -0
- {linq_python-0.9.0 → linq_python-0.10.0}/tests/__init__.py +0 -0
- {linq_python-0.9.0 → linq_python-0.10.0}/tests/api_resources/__init__.py +0 -0
- {linq_python-0.9.0 → linq_python-0.10.0}/tests/api_resources/chats/__init__.py +0 -0
- {linq_python-0.9.0 → linq_python-0.10.0}/tests/api_resources/chats/test_messages.py +0 -0
- {linq_python-0.9.0 → linq_python-0.10.0}/tests/api_resources/chats/test_participants.py +0 -0
- {linq_python-0.9.0 → linq_python-0.10.0}/tests/api_resources/chats/test_typing.py +0 -0
- {linq_python-0.9.0 → linq_python-0.10.0}/tests/api_resources/test_attachments.py +0 -0
- {linq_python-0.9.0 → linq_python-0.10.0}/tests/api_resources/test_capability.py +0 -0
- {linq_python-0.9.0 → linq_python-0.10.0}/tests/api_resources/test_chats.py +0 -0
- {linq_python-0.9.0 → linq_python-0.10.0}/tests/api_resources/test_contact_card.py +0 -0
- {linq_python-0.9.0 → linq_python-0.10.0}/tests/api_resources/test_messages.py +0 -0
- {linq_python-0.9.0 → linq_python-0.10.0}/tests/api_resources/test_phone_numbers.py +0 -0
- {linq_python-0.9.0 → linq_python-0.10.0}/tests/api_resources/test_phonenumbers.py +0 -0
- {linq_python-0.9.0 → linq_python-0.10.0}/tests/api_resources/test_webhook_events.py +0 -0
- {linq_python-0.9.0 → linq_python-0.10.0}/tests/api_resources/test_webhook_subscriptions.py +0 -0
- {linq_python-0.9.0 → linq_python-0.10.0}/tests/api_resources/test_webhooks.py +0 -0
- {linq_python-0.9.0 → linq_python-0.10.0}/tests/conftest.py +0 -0
- {linq_python-0.9.0 → linq_python-0.10.0}/tests/sample_file.txt +0 -0
- {linq_python-0.9.0 → linq_python-0.10.0}/tests/test_client.py +0 -0
- {linq_python-0.9.0 → linq_python-0.10.0}/tests/test_extract_files.py +0 -0
- {linq_python-0.9.0 → linq_python-0.10.0}/tests/test_files.py +0 -0
- {linq_python-0.9.0 → linq_python-0.10.0}/tests/test_models.py +0 -0
- {linq_python-0.9.0 → linq_python-0.10.0}/tests/test_qs.py +0 -0
- {linq_python-0.9.0 → linq_python-0.10.0}/tests/test_required_args.py +0 -0
- {linq_python-0.9.0 → linq_python-0.10.0}/tests/test_response.py +0 -0
- {linq_python-0.9.0 → linq_python-0.10.0}/tests/test_streaming.py +0 -0
- {linq_python-0.9.0 → linq_python-0.10.0}/tests/test_transform.py +0 -0
- {linq_python-0.9.0 → linq_python-0.10.0}/tests/test_utils/test_datetime_parse.py +0 -0
- {linq_python-0.9.0 → linq_python-0.10.0}/tests/test_utils/test_json.py +0 -0
- {linq_python-0.9.0 → linq_python-0.10.0}/tests/test_utils/test_path.py +0 -0
- {linq_python-0.9.0 → linq_python-0.10.0}/tests/test_utils/test_proxy.py +0 -0
- {linq_python-0.9.0 → linq_python-0.10.0}/tests/test_utils/test_typing.py +0 -0
- {linq_python-0.9.0 → linq_python-0.10.0}/tests/utils.py +0 -0
- {linq_python-0.9.0 → linq_python-0.10.0}/uv.lock +0 -0
|
@@ -1,5 +1,19 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 0.10.0 (2026-05-15)
|
|
4
|
+
|
|
5
|
+
Full Changelog: [v0.9.0...v0.10.0](https://github.com/linq-team/linq-python/compare/v0.9.0...v0.10.0)
|
|
6
|
+
|
|
7
|
+
### Features
|
|
8
|
+
|
|
9
|
+
* **api:** add health_status field to phone_number response ([3467668](https://github.com/linq-team/linq-python/commit/3467668bdbcee3805c3f2b4a99c93f842454ee8b))
|
|
10
|
+
* **api:** add health_status fields to PhoneNumber and webhook event ([dab602c](https://github.com/linq-team/linq-python/commit/dab602cb2f935e9c1bb6b00660adbaecfb001d18))
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
### Bug Fixes
|
|
14
|
+
|
|
15
|
+
* **types:** uppercase health_status enum values in chat-related models ([a763854](https://github.com/linq-team/linq-python/commit/a763854d1ca795bb1bb996058d97f306aef7b9e7))
|
|
16
|
+
|
|
3
17
|
## 0.9.0 (2026-05-13)
|
|
4
18
|
|
|
5
19
|
Full Changelog: [v0.8.0...v0.9.0](https://github.com/linq-team/linq-python/compare/v0.8.0...v0.9.0)
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.3
|
|
2
2
|
Name: linq-python
|
|
3
|
-
Version: 0.
|
|
3
|
+
Version: 0.10.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
|
|
@@ -14,7 +14,7 @@ __all__ = ["Chat", "HealthStatus"]
|
|
|
14
14
|
class HealthStatus(BaseModel):
|
|
15
15
|
"""**[BETA]** Current health for a chat.
|
|
16
16
|
|
|
17
|
-
Always present — chats start at `
|
|
17
|
+
Always present — chats start at `HEALTHY` and may shift based on engagement and delivery signals on the conversation. Many `AT_RISK` or `CRITICAL` chats on a single line increase the risk of line flagging.
|
|
18
18
|
|
|
19
19
|
Switch on `status` to gate sends or surface line health in your UI — the enum is the long-term contract. Each status carries a `doc_url` that deep-links to the relevant section of the Chat Health guide.
|
|
20
20
|
|
|
@@ -24,7 +24,7 @@ class HealthStatus(BaseModel):
|
|
|
24
24
|
doc_url: str
|
|
25
25
|
"""Deep-link to the relevant section of the Chat Health guide for this status."""
|
|
26
26
|
|
|
27
|
-
status: Literal["
|
|
27
|
+
status: Literal["HEALTHY", "AT_RISK", "CRITICAL", "OPTED_OUT"]
|
|
28
28
|
"""Current health bucket for the chat.
|
|
29
29
|
|
|
30
30
|
See the [Chat Health guide](/guides/chats/chat-health) for what each value means
|
|
@@ -59,8 +59,8 @@ class Chat(BaseModel):
|
|
|
59
59
|
health_status: HealthStatus
|
|
60
60
|
"""**[BETA]** Current health for a chat.
|
|
61
61
|
|
|
62
|
-
Always present — chats start at `
|
|
63
|
-
delivery signals on the conversation. Many `
|
|
62
|
+
Always present — chats start at `HEALTHY` and may shift based on engagement and
|
|
63
|
+
delivery signals on the conversation. Many `AT_RISK` or `CRITICAL` chats on a
|
|
64
64
|
single line increase the risk of line flagging.
|
|
65
65
|
|
|
66
66
|
Switch on `status` to gate sends or surface line health in your UI — the enum is
|
|
@@ -15,7 +15,7 @@ __all__ = ["ChatCreateResponse", "Chat", "ChatHealthStatus"]
|
|
|
15
15
|
class ChatHealthStatus(BaseModel):
|
|
16
16
|
"""**[BETA]** Current health for a chat.
|
|
17
17
|
|
|
18
|
-
Always present — chats start at `
|
|
18
|
+
Always present — chats start at `HEALTHY` and may shift based on engagement and delivery signals on the conversation. Many `AT_RISK` or `CRITICAL` chats on a single line increase the risk of line flagging.
|
|
19
19
|
|
|
20
20
|
Switch on `status` to gate sends or surface line health in your UI — the enum is the long-term contract. Each status carries a `doc_url` that deep-links to the relevant section of the Chat Health guide.
|
|
21
21
|
|
|
@@ -25,7 +25,7 @@ class ChatHealthStatus(BaseModel):
|
|
|
25
25
|
doc_url: str
|
|
26
26
|
"""Deep-link to the relevant section of the Chat Health guide for this status."""
|
|
27
27
|
|
|
28
|
-
status: Literal["
|
|
28
|
+
status: Literal["HEALTHY", "AT_RISK", "CRITICAL", "OPTED_OUT"]
|
|
29
29
|
"""Current health bucket for the chat.
|
|
30
30
|
|
|
31
31
|
See the [Chat Health guide](/guides/chats/chat-health) for what each value means
|
|
@@ -57,8 +57,8 @@ class Chat(BaseModel):
|
|
|
57
57
|
health_status: ChatHealthStatus
|
|
58
58
|
"""**[BETA]** Current health for a chat.
|
|
59
59
|
|
|
60
|
-
Always present — chats start at `
|
|
61
|
-
delivery signals on the conversation. Many `
|
|
60
|
+
Always present — chats start at `HEALTHY` and may shift based on engagement and
|
|
61
|
+
delivery signals on the conversation. Many `AT_RISK` or `CRITICAL` chats on a
|
|
62
62
|
single line increase the risk of line flagging.
|
|
63
63
|
|
|
64
64
|
Switch on `status` to gate sends or surface line health in your UI — the enum is
|
|
@@ -15,7 +15,7 @@ __all__ = ["ChatCreatedWebhookEvent", "Data", "DataHealthStatus"]
|
|
|
15
15
|
class DataHealthStatus(BaseModel):
|
|
16
16
|
"""**[BETA]** Current health for a chat.
|
|
17
17
|
|
|
18
|
-
Always present — chats start at `
|
|
18
|
+
Always present — chats start at `HEALTHY` and may shift based on engagement and delivery signals on the conversation. Many `AT_RISK` or `CRITICAL` chats on a single line increase the risk of line flagging.
|
|
19
19
|
|
|
20
20
|
Switch on `status` to gate sends or surface line health in your UI — the enum is the long-term contract. Each status carries a `doc_url` that deep-links to the relevant section of the Chat Health guide.
|
|
21
21
|
|
|
@@ -25,7 +25,7 @@ class DataHealthStatus(BaseModel):
|
|
|
25
25
|
doc_url: str
|
|
26
26
|
"""Deep-link to the relevant section of the Chat Health guide for this status."""
|
|
27
27
|
|
|
28
|
-
status: Literal["
|
|
28
|
+
status: Literal["HEALTHY", "AT_RISK", "CRITICAL", "OPTED_OUT"]
|
|
29
29
|
"""Current health bucket for the chat.
|
|
30
30
|
|
|
31
31
|
See the [Chat Health guide](/guides/chats/chat-health) for what each value means
|
|
@@ -65,8 +65,8 @@ class Data(BaseModel):
|
|
|
65
65
|
health_status: DataHealthStatus
|
|
66
66
|
"""**[BETA]** Current health for a chat.
|
|
67
67
|
|
|
68
|
-
Always present — chats start at `
|
|
69
|
-
delivery signals on the conversation. Many `
|
|
68
|
+
Always present — chats start at `HEALTHY` and may shift based on engagement and
|
|
69
|
+
delivery signals on the conversation. Many `AT_RISK` or `CRITICAL` chats on a
|
|
70
70
|
single line increase the risk of line flagging.
|
|
71
71
|
|
|
72
72
|
Switch on `status` to gate sends or surface line health in your UI — the enum is
|
|
@@ -13,7 +13,7 @@ __all__ = ["MessageEditedWebhookEvent", "Data", "DataChat", "DataChatHealthStatu
|
|
|
13
13
|
class DataChatHealthStatus(BaseModel):
|
|
14
14
|
"""**[BETA]** Current health for a chat.
|
|
15
15
|
|
|
16
|
-
Always present — chats start at `
|
|
16
|
+
Always present — chats start at `HEALTHY` and may shift based on engagement and delivery signals on the conversation. Many `AT_RISK` or `CRITICAL` chats on a single line increase the risk of line flagging.
|
|
17
17
|
|
|
18
18
|
Switch on `status` to gate sends or surface line health in your UI — the enum is the long-term contract. Each status carries a `doc_url` that deep-links to the relevant section of the Chat Health guide.
|
|
19
19
|
|
|
@@ -23,7 +23,7 @@ class DataChatHealthStatus(BaseModel):
|
|
|
23
23
|
doc_url: str
|
|
24
24
|
"""Deep-link to the relevant section of the Chat Health guide for this status."""
|
|
25
25
|
|
|
26
|
-
status: Literal["
|
|
26
|
+
status: Literal["HEALTHY", "AT_RISK", "CRITICAL", "OPTED_OUT"]
|
|
27
27
|
"""Current health bucket for the chat.
|
|
28
28
|
|
|
29
29
|
See the [Chat Health guide](/guides/chats/chat-health) for what each value means
|
|
@@ -43,8 +43,8 @@ class DataChat(BaseModel):
|
|
|
43
43
|
health_status: DataChatHealthStatus
|
|
44
44
|
"""**[BETA]** Current health for a chat.
|
|
45
45
|
|
|
46
|
-
Always present — chats start at `
|
|
47
|
-
delivery signals on the conversation. Many `
|
|
46
|
+
Always present — chats start at `HEALTHY` and may shift based on engagement and
|
|
47
|
+
delivery signals on the conversation. Many `AT_RISK` or `CRITICAL` chats on a
|
|
48
48
|
single line increase the risk of line flagging.
|
|
49
49
|
|
|
50
50
|
Switch on `status` to gate sends or surface line health in your UI — the enum is
|
|
@@ -18,7 +18,7 @@ __all__ = ["MessageEventV2", "Chat", "ChatHealthStatus", "Part", "PartSchemasLin
|
|
|
18
18
|
class ChatHealthStatus(BaseModel):
|
|
19
19
|
"""**[BETA]** Current health for a chat.
|
|
20
20
|
|
|
21
|
-
Always present — chats start at `
|
|
21
|
+
Always present — chats start at `HEALTHY` and may shift based on engagement and delivery signals on the conversation. Many `AT_RISK` or `CRITICAL` chats on a single line increase the risk of line flagging.
|
|
22
22
|
|
|
23
23
|
Switch on `status` to gate sends or surface line health in your UI — the enum is the long-term contract. Each status carries a `doc_url` that deep-links to the relevant section of the Chat Health guide.
|
|
24
24
|
|
|
@@ -28,7 +28,7 @@ class ChatHealthStatus(BaseModel):
|
|
|
28
28
|
doc_url: str
|
|
29
29
|
"""Deep-link to the relevant section of the Chat Health guide for this status."""
|
|
30
30
|
|
|
31
|
-
status: Literal["
|
|
31
|
+
status: Literal["HEALTHY", "AT_RISK", "CRITICAL", "OPTED_OUT"]
|
|
32
32
|
"""Current health bucket for the chat.
|
|
33
33
|
|
|
34
34
|
See the [Chat Health guide](/guides/chats/chat-health) for what each value means
|
|
@@ -48,8 +48,8 @@ class Chat(BaseModel):
|
|
|
48
48
|
health_status: ChatHealthStatus
|
|
49
49
|
"""**[BETA]** Current health for a chat.
|
|
50
50
|
|
|
51
|
-
Always present — chats start at `
|
|
52
|
-
delivery signals on the conversation. Many `
|
|
51
|
+
Always present — chats start at `HEALTHY` and may shift based on engagement and
|
|
52
|
+
delivery signals on the conversation. Many `AT_RISK` or `CRITICAL` chats on a
|
|
53
53
|
single line increase the risk of line flagging.
|
|
54
54
|
|
|
55
55
|
Switch on `status` to gate sends or surface line health in your UI — the enum is
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
|
+
|
|
3
|
+
from typing import List
|
|
4
|
+
from typing_extensions import Literal
|
|
5
|
+
|
|
6
|
+
from .._models import BaseModel
|
|
7
|
+
|
|
8
|
+
__all__ = ["PhoneNumberListResponse", "PhoneNumber", "PhoneNumberHealthStatus"]
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
class PhoneNumberHealthStatus(BaseModel):
|
|
12
|
+
"""**[BETA]** Current health for a phone line.
|
|
13
|
+
|
|
14
|
+
Always present — lines start at `HEALTHY` and may shift based on aggregate engagement and delivery signals across all conversations on the line.
|
|
15
|
+
|
|
16
|
+
Unlike chat health, line health does not include `opted_out` — opt-out applies to individual recipients, not the whole line.
|
|
17
|
+
|
|
18
|
+
See the [Phone Health guide](/guides/phone-numbers/phone-health) for what each status means and how to react.
|
|
19
|
+
"""
|
|
20
|
+
|
|
21
|
+
doc_url: str
|
|
22
|
+
"""Deep-link to the relevant section of the Phone Health guide for this status."""
|
|
23
|
+
|
|
24
|
+
status: Literal["HEALTHY", "AT_RISK", "CRITICAL"]
|
|
25
|
+
"""Current health of this phone line as assessed by risk-service.
|
|
26
|
+
|
|
27
|
+
- `HEALTHY` — No elevated risk detected.
|
|
28
|
+
- `AT_RISK` — Elevated risk indicators present; consider reducing send volume or
|
|
29
|
+
reviewing messaging patterns.
|
|
30
|
+
- `CRITICAL` — High risk; further sending may result in line flagging or
|
|
31
|
+
restriction.
|
|
32
|
+
|
|
33
|
+
Defaults to `HEALTHY` for lines that have not yet been scored.
|
|
34
|
+
"""
|
|
35
|
+
|
|
36
|
+
|
|
37
|
+
class PhoneNumber(BaseModel):
|
|
38
|
+
id: str
|
|
39
|
+
"""Unique identifier for the phone number"""
|
|
40
|
+
|
|
41
|
+
health_status: PhoneNumberHealthStatus
|
|
42
|
+
"""**[BETA]** Current health for a phone line.
|
|
43
|
+
|
|
44
|
+
Always present — lines start at `HEALTHY` and may shift based on aggregate
|
|
45
|
+
engagement and delivery signals across all conversations on the line.
|
|
46
|
+
|
|
47
|
+
Unlike chat health, line health does not include `opted_out` — opt-out applies
|
|
48
|
+
to individual recipients, not the whole line.
|
|
49
|
+
|
|
50
|
+
See the [Phone Health guide](/guides/phone-numbers/phone-health) for what each
|
|
51
|
+
status means and how to react.
|
|
52
|
+
"""
|
|
53
|
+
|
|
54
|
+
phone_number: str
|
|
55
|
+
"""Phone number in E.164 format"""
|
|
56
|
+
|
|
57
|
+
|
|
58
|
+
class PhoneNumberListResponse(BaseModel):
|
|
59
|
+
phone_numbers: List[PhoneNumber]
|
|
60
|
+
"""List of phone numbers assigned to the partner"""
|
{linq_python-0.9.0 → linq_python-0.10.0}/src/linq/types/phone_number_status_updated_webhook_event.py
RENAMED
|
@@ -14,12 +14,18 @@ class Data(BaseModel):
|
|
|
14
14
|
changed_at: datetime
|
|
15
15
|
"""When the status change occurred"""
|
|
16
16
|
|
|
17
|
+
new_health_status: Literal["HEALTHY", "AT_RISK", "CRITICAL"]
|
|
18
|
+
"""The new line health status"""
|
|
19
|
+
|
|
17
20
|
new_status: Literal["ACTIVE", "FLAGGED"]
|
|
18
21
|
"""The new service status"""
|
|
19
22
|
|
|
20
23
|
phone_number: str
|
|
21
24
|
"""Phone number in E.164 format"""
|
|
22
25
|
|
|
26
|
+
previous_health_status: Literal["HEALTHY", "AT_RISK", "CRITICAL"]
|
|
27
|
+
"""The previous line health status"""
|
|
28
|
+
|
|
23
29
|
previous_status: Literal["ACTIVE", "FLAGGED"]
|
|
24
30
|
"""The previous service status"""
|
|
25
31
|
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
|
-
|
|
3
|
-
from typing import List
|
|
4
|
-
|
|
5
|
-
from .._models import BaseModel
|
|
6
|
-
|
|
7
|
-
__all__ = ["PhoneNumberListResponse", "PhoneNumber"]
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
class PhoneNumber(BaseModel):
|
|
11
|
-
id: str
|
|
12
|
-
"""Unique identifier for the phone number"""
|
|
13
|
-
|
|
14
|
-
phone_number: str
|
|
15
|
-
"""Phone number in E.164 format"""
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
class PhoneNumberListResponse(BaseModel):
|
|
19
|
-
phone_numbers: List[PhoneNumber]
|
|
20
|
-
"""List of phone numbers assigned to the partner"""
|
|
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.9.0 → linq_python-0.10.0}/src/linq/types/capability_check_i_message_params.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{linq_python-0.9.0 → linq_python-0.10.0}/src/linq/types/chat_group_icon_updated_webhook_event.py
RENAMED
|
File without changes
|
|
File without changes
|
{linq_python-0.9.0 → linq_python-0.10.0}/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
|
{linq_python-0.9.0 → linq_python-0.10.0}/src/linq/types/chats/participant_remove_response.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
|
{linq_python-0.9.0 → linq_python-0.10.0}/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
|
{linq_python-0.9.0 → linq_python-0.10.0}/src/linq/types/participant_removed_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
|
{linq_python-0.9.0 → linq_python-0.10.0}/src/linq/types/webhook_subscription_create_params.py
RENAMED
|
File without changes
|
{linq_python-0.9.0 → linq_python-0.10.0}/src/linq/types/webhook_subscription_create_response.py
RENAMED
|
File without changes
|
{linq_python-0.9.0 → linq_python-0.10.0}/src/linq/types/webhook_subscription_list_response.py
RENAMED
|
File without changes
|
{linq_python-0.9.0 → linq_python-0.10.0}/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
|