wiil-python 0.0.9__tar.gz → 0.0.11__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.
Files changed (126) hide show
  1. {wiil_python-0.0.9 → wiil_python-0.0.11}/PKG-INFO +1 -1
  2. {wiil_python-0.0.9 → wiil_python-0.0.11}/pyproject.toml +3 -3
  3. {wiil_python-0.0.9 → wiil_python-0.0.11}/wiil/resources/service_mgt/provisioning_configs.py +1 -1
  4. {wiil_python-0.0.9 → wiil_python-0.0.11}/wiil/services/ott/models.py +12 -2
  5. {wiil_python-0.0.9 → wiil_python-0.0.11}/wiil_python.egg-info/PKG-INFO +1 -1
  6. {wiil_python-0.0.9 → wiil_python-0.0.11}/README.md +0 -0
  7. {wiil_python-0.0.9 → wiil_python-0.0.11}/setup.cfg +0 -0
  8. {wiil_python-0.0.9 → wiil_python-0.0.11}/setup.py +0 -0
  9. {wiil_python-0.0.9 → wiil_python-0.0.11}/wiil/__init__.py +0 -0
  10. {wiil_python-0.0.9 → wiil_python-0.0.11}/wiil/client/__init__.py +0 -0
  11. {wiil_python-0.0.9 → wiil_python-0.0.11}/wiil/client/async_wiil_client.py +0 -0
  12. {wiil_python-0.0.9 → wiil_python-0.0.11}/wiil/client/http_client.py +0 -0
  13. {wiil_python-0.0.9 → wiil_python-0.0.11}/wiil/client/types.py +0 -0
  14. {wiil_python-0.0.9 → wiil_python-0.0.11}/wiil/client/wiil_client.py +0 -0
  15. {wiil_python-0.0.9 → wiil_python-0.0.11}/wiil/client/will_service.py +0 -0
  16. {wiil_python-0.0.9 → wiil_python-0.0.11}/wiil/errors/__init__.py +0 -0
  17. {wiil_python-0.0.9 → wiil_python-0.0.11}/wiil/errors/exceptions.py +0 -0
  18. {wiil_python-0.0.9 → wiil_python-0.0.11}/wiil/models/__init__.py +0 -0
  19. {wiil_python-0.0.9 → wiil_python-0.0.11}/wiil/models/account/__init__.py +0 -0
  20. {wiil_python-0.0.9 → wiil_python-0.0.11}/wiil/models/account/organization.py +0 -0
  21. {wiil_python-0.0.9 → wiil_python-0.0.11}/wiil/models/account/project.py +0 -0
  22. {wiil_python-0.0.9 → wiil_python-0.0.11}/wiil/models/account/supported_business_verticals.py +0 -0
  23. {wiil_python-0.0.9 → wiil_python-0.0.11}/wiil/models/assistant_setups/__init__.py +0 -0
  24. {wiil_python-0.0.9 → wiil_python-0.0.11}/wiil/models/assistant_setups/assistant_setup_result.py +0 -0
  25. {wiil_python-0.0.9 → wiil_python-0.0.11}/wiil/models/assistant_setups/base_assistant_setup.py +0 -0
  26. {wiil_python-0.0.9 → wiil_python-0.0.11}/wiil/models/assistant_setups/phone_assistant_setup.py +0 -0
  27. {wiil_python-0.0.9 → wiil_python-0.0.11}/wiil/models/assistant_setups/web_assistant_setup.py +0 -0
  28. {wiil_python-0.0.9 → wiil_python-0.0.11}/wiil/models/base.py +0 -0
  29. {wiil_python-0.0.9 → wiil_python-0.0.11}/wiil/models/business_mgt/__init__.py +0 -0
  30. {wiil_python-0.0.9 → wiil_python-0.0.11}/wiil/models/business_mgt/appointment_additional_info.py +0 -0
  31. {wiil_python-0.0.9 → wiil_python-0.0.11}/wiil/models/business_mgt/appointment_field_config.py +0 -0
  32. {wiil_python-0.0.9 → wiil_python-0.0.11}/wiil/models/business_mgt/customer.py +0 -0
  33. {wiil_python-0.0.9 → wiil_python-0.0.11}/wiil/models/business_mgt/menu_config.py +0 -0
  34. {wiil_python-0.0.9 → wiil_python-0.0.11}/wiil/models/business_mgt/menu_order.py +0 -0
  35. {wiil_python-0.0.9 → wiil_python-0.0.11}/wiil/models/business_mgt/order.py +0 -0
  36. {wiil_python-0.0.9 → wiil_python-0.0.11}/wiil/models/business_mgt/product_config.py +0 -0
  37. {wiil_python-0.0.9 → wiil_python-0.0.11}/wiil/models/business_mgt/product_order.py +0 -0
  38. {wiil_python-0.0.9 → wiil_python-0.0.11}/wiil/models/business_mgt/property_config.py +0 -0
  39. {wiil_python-0.0.9 → wiil_python-0.0.11}/wiil/models/business_mgt/property_inquiry.py +0 -0
  40. {wiil_python-0.0.9 → wiil_python-0.0.11}/wiil/models/business_mgt/reservation.py +0 -0
  41. {wiil_python-0.0.9 → wiil_python-0.0.11}/wiil/models/business_mgt/reservation_resource.py +0 -0
  42. {wiil_python-0.0.9 → wiil_python-0.0.11}/wiil/models/business_mgt/service_appointment.py +0 -0
  43. {wiil_python-0.0.9 → wiil_python-0.0.11}/wiil/models/business_mgt/service_config.py +0 -0
  44. {wiil_python-0.0.9 → wiil_python-0.0.11}/wiil/models/business_mgt/service_person.py +0 -0
  45. {wiil_python-0.0.9 → wiil_python-0.0.11}/wiil/models/conversation/__init__.py +0 -0
  46. {wiil_python-0.0.9 → wiil_python-0.0.11}/wiil/models/conversation/conversation_config.py +0 -0
  47. {wiil_python-0.0.9 → wiil_python-0.0.11}/wiil/models/conversation/conversation_message.py +0 -0
  48. {wiil_python-0.0.9 → wiil_python-0.0.11}/wiil/models/conversation/translation_config.py +0 -0
  49. {wiil_python-0.0.9 → wiil_python-0.0.11}/wiil/models/conversation/translation_conversation.py +0 -0
  50. {wiil_python-0.0.9 → wiil_python-0.0.11}/wiil/models/request/__init__.py +0 -0
  51. {wiil_python-0.0.9 → wiil_python-0.0.11}/wiil/models/request/paginated_query.py +0 -0
  52. {wiil_python-0.0.9 → wiil_python-0.0.11}/wiil/models/request/paginated_result.py +0 -0
  53. {wiil_python-0.0.9 → wiil_python-0.0.11}/wiil/models/service_mgt/__init__.py +0 -0
  54. {wiil_python-0.0.9 → wiil_python-0.0.11}/wiil/models/service_mgt/agent_config.py +0 -0
  55. {wiil_python-0.0.9 → wiil_python-0.0.11}/wiil/models/service_mgt/call_transfer_config.py +0 -0
  56. {wiil_python-0.0.9 → wiil_python-0.0.11}/wiil/models/service_mgt/deployment_config.py +0 -0
  57. {wiil_python-0.0.9 → wiil_python-0.0.11}/wiil/models/service_mgt/dynamic_setup/__init__.py +0 -0
  58. {wiil_python-0.0.9 → wiil_python-0.0.11}/wiil/models/service_mgt/dynamic_setup/base_agent_setup.py +0 -0
  59. {wiil_python-0.0.9 → wiil_python-0.0.11}/wiil/models/service_mgt/dynamic_setup/phone_agent_setup.py +0 -0
  60. {wiil_python-0.0.9 → wiil_python-0.0.11}/wiil/models/service_mgt/dynamic_setup/web_agent_setup.py +0 -0
  61. {wiil_python-0.0.9 → wiil_python-0.0.11}/wiil/models/service_mgt/instruction_config.py +0 -0
  62. {wiil_python-0.0.9 → wiil_python-0.0.11}/wiil/models/service_mgt/interaction_channels.py +0 -0
  63. {wiil_python-0.0.9 → wiil_python-0.0.11}/wiil/models/service_mgt/knowledge.py +0 -0
  64. {wiil_python-0.0.9 → wiil_python-0.0.11}/wiil/models/service_mgt/phone_config.py +0 -0
  65. {wiil_python-0.0.9 → wiil_python-0.0.11}/wiil/models/service_mgt/phone_number.py +0 -0
  66. {wiil_python-0.0.9 → wiil_python-0.0.11}/wiil/models/service_mgt/provisioning_config.py +0 -0
  67. {wiil_python-0.0.9 → wiil_python-0.0.11}/wiil/models/service_mgt/support_llm.py +0 -0
  68. {wiil_python-0.0.9 → wiil_python-0.0.11}/wiil/models/service_mgt/voice_language.py +0 -0
  69. {wiil_python-0.0.9 → wiil_python-0.0.11}/wiil/models/type_definitions/__init__.py +0 -0
  70. {wiil_python-0.0.9 → wiil_python-0.0.11}/wiil/models/type_definitions/account_definitions.py +0 -0
  71. {wiil_python-0.0.9 → wiil_python-0.0.11}/wiil/models/type_definitions/business_definitions.py +0 -0
  72. {wiil_python-0.0.9 → wiil_python-0.0.11}/wiil/models/type_definitions/conversation_definitions.py +0 -0
  73. {wiil_python-0.0.9 → wiil_python-0.0.11}/wiil/models/type_definitions/dynamic_fields/__init__.py +0 -0
  74. {wiil_python-0.0.9 → wiil_python-0.0.11}/wiil/models/type_definitions/dynamic_fields/field_definition.py +0 -0
  75. {wiil_python-0.0.9 → wiil_python-0.0.11}/wiil/models/type_definitions/dynamic_fields/field_types.py +0 -0
  76. {wiil_python-0.0.9 → wiil_python-0.0.11}/wiil/models/type_definitions/knowledge_definitions.py +0 -0
  77. {wiil_python-0.0.9 → wiil_python-0.0.11}/wiil/models/type_definitions/service_config_definitions.py +0 -0
  78. {wiil_python-0.0.9 → wiil_python-0.0.11}/wiil/py.typed +0 -0
  79. {wiil_python-0.0.9 → wiil_python-0.0.11}/wiil/resources/__init__.py +0 -0
  80. {wiil_python-0.0.9 → wiil_python-0.0.11}/wiil/resources/account/__init__.py +0 -0
  81. {wiil_python-0.0.9 → wiil_python-0.0.11}/wiil/resources/account/organizations.py +0 -0
  82. {wiil_python-0.0.9 → wiil_python-0.0.11}/wiil/resources/account/projects.py +0 -0
  83. {wiil_python-0.0.9 → wiil_python-0.0.11}/wiil/resources/business_mgt/__init__.py +0 -0
  84. {wiil_python-0.0.9 → wiil_python-0.0.11}/wiil/resources/business_mgt/business_services.py +0 -0
  85. {wiil_python-0.0.9 → wiil_python-0.0.11}/wiil/resources/business_mgt/customers.py +0 -0
  86. {wiil_python-0.0.9 → wiil_python-0.0.11}/wiil/resources/business_mgt/menu_orders.py +0 -0
  87. {wiil_python-0.0.9 → wiil_python-0.0.11}/wiil/resources/business_mgt/menus.py +0 -0
  88. {wiil_python-0.0.9 → wiil_python-0.0.11}/wiil/resources/business_mgt/product_orders.py +0 -0
  89. {wiil_python-0.0.9 → wiil_python-0.0.11}/wiil/resources/business_mgt/products.py +0 -0
  90. {wiil_python-0.0.9 → wiil_python-0.0.11}/wiil/resources/business_mgt/property_config.py +0 -0
  91. {wiil_python-0.0.9 → wiil_python-0.0.11}/wiil/resources/business_mgt/property_inquiry.py +0 -0
  92. {wiil_python-0.0.9 → wiil_python-0.0.11}/wiil/resources/business_mgt/reservation_resources.py +0 -0
  93. {wiil_python-0.0.9 → wiil_python-0.0.11}/wiil/resources/business_mgt/reservations.py +0 -0
  94. {wiil_python-0.0.9 → wiil_python-0.0.11}/wiil/resources/business_mgt/service_appointments.py +0 -0
  95. {wiil_python-0.0.9 → wiil_python-0.0.11}/wiil/resources/service_mgt/__init__.py +0 -0
  96. {wiil_python-0.0.9 → wiil_python-0.0.11}/wiil/resources/service_mgt/agent_configs.py +0 -0
  97. {wiil_python-0.0.9 → wiil_python-0.0.11}/wiil/resources/service_mgt/conversation_configs.py +0 -0
  98. {wiil_python-0.0.9 → wiil_python-0.0.11}/wiil/resources/service_mgt/deployment_channels.py +0 -0
  99. {wiil_python-0.0.9 → wiil_python-0.0.11}/wiil/resources/service_mgt/deployment_configs.py +0 -0
  100. {wiil_python-0.0.9 → wiil_python-0.0.11}/wiil/resources/service_mgt/dynamic_agent_status.py +0 -0
  101. {wiil_python-0.0.9 → wiil_python-0.0.11}/wiil/resources/service_mgt/dynamic_phone_agent.py +0 -0
  102. {wiil_python-0.0.9 → wiil_python-0.0.11}/wiil/resources/service_mgt/dynamic_web_agent.py +0 -0
  103. {wiil_python-0.0.9 → wiil_python-0.0.11}/wiil/resources/service_mgt/instruction_configs.py +0 -0
  104. {wiil_python-0.0.9 → wiil_python-0.0.11}/wiil/resources/service_mgt/knowledge_sources.py +0 -0
  105. {wiil_python-0.0.9 → wiil_python-0.0.11}/wiil/resources/service_mgt/phone_configs.py +0 -0
  106. {wiil_python-0.0.9 → wiil_python-0.0.11}/wiil/resources/service_mgt/support_models.py +0 -0
  107. {wiil_python-0.0.9 → wiil_python-0.0.11}/wiil/resources/service_mgt/telephony_provider.py +0 -0
  108. {wiil_python-0.0.9 → wiil_python-0.0.11}/wiil/resources/service_mgt/translation_sessions.py +0 -0
  109. {wiil_python-0.0.9 → wiil_python-0.0.11}/wiil/services/__init__.py +0 -0
  110. {wiil_python-0.0.9 → wiil_python-0.0.11}/wiil/services/ott/__init__.py +0 -0
  111. {wiil_python-0.0.9 → wiil_python-0.0.11}/wiil/services/ott/service.py +0 -0
  112. {wiil_python-0.0.9 → wiil_python-0.0.11}/wiil/services/translation/__init__.py +0 -0
  113. {wiil_python-0.0.9 → wiil_python-0.0.11}/wiil/services/translation/models.py +0 -0
  114. {wiil_python-0.0.9 → wiil_python-0.0.11}/wiil/services/translation/service.py +0 -0
  115. {wiil_python-0.0.9 → wiil_python-0.0.11}/wiil/types/__init__.py +0 -0
  116. {wiil_python-0.0.9 → wiil_python-0.0.11}/wiil/types/account_types.py +0 -0
  117. {wiil_python-0.0.9 → wiil_python-0.0.11}/wiil/types/business_types.py +0 -0
  118. {wiil_python-0.0.9 → wiil_python-0.0.11}/wiil/types/conversation_types.py +0 -0
  119. {wiil_python-0.0.9 → wiil_python-0.0.11}/wiil/types/knowledge_types.py +0 -0
  120. {wiil_python-0.0.9 → wiil_python-0.0.11}/wiil/types/paginated_quest.py +0 -0
  121. {wiil_python-0.0.9 → wiil_python-0.0.11}/wiil/types/paginated_result.py +0 -0
  122. {wiil_python-0.0.9 → wiil_python-0.0.11}/wiil/types/service_types.py +0 -0
  123. {wiil_python-0.0.9 → wiil_python-0.0.11}/wiil_python.egg-info/SOURCES.txt +0 -0
  124. {wiil_python-0.0.9 → wiil_python-0.0.11}/wiil_python.egg-info/dependency_links.txt +0 -0
  125. {wiil_python-0.0.9 → wiil_python-0.0.11}/wiil_python.egg-info/requires.txt +0 -0
  126. {wiil_python-0.0.9 → wiil_python-0.0.11}/wiil_python.egg-info/top_level.txt +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: wiil-python
3
- Version: 0.0.9
3
+ Version: 0.0.11
4
4
  Summary: Official Python SDK for WIIL Platform - AI-powered conversational services for intelligent customer interactions, voice processing, real-time translation, and business management
5
5
  Author-email: WIIL <dev-support@wiil.io>
6
6
  License: MIT
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
4
4
 
5
5
  [project]
6
6
  name = "wiil-python"
7
- version = "0.0.9"
7
+ version = "0.0.11"
8
8
  description = "Official Python SDK for WIIL Platform - AI-powered conversational services for intelligent customer interactions, voice processing, real-time translation, and business management"
9
9
  readme = "README.md"
10
10
  requires-python = ">=3.8"
@@ -90,7 +90,7 @@ target-version = ["py38", "py39", "py310", "py311", "py312"]
90
90
 
91
91
  [tool.ruff]
92
92
  line-length = 100
93
- target-version = "0.0.9"
93
+ target-version = "0.0.11"
94
94
  select = [
95
95
  "E", # pycodestyle errors
96
96
  "W", # pycodestyle warnings
@@ -109,7 +109,7 @@ ignore = [
109
109
  "__init__.py" = ["F401"]
110
110
 
111
111
  [tool.mypy]
112
- python_version = "0.0.9"
112
+ python_version = "0.0.11"
113
113
  strict = true
114
114
  warn_return_any = true
115
115
  warn_unused_configs = true
@@ -126,7 +126,7 @@ class ProvisioningConfigurationsResource:
126
126
  )
127
127
 
128
128
  return self._http.patch(
129
- self._base_path,
129
+ f'{self._base_path}/{data.id}',
130
130
  data.model_dump(by_alias=True, exclude_none=True),
131
131
  schema=UpdateTranslationChainConfig,
132
132
  response_model=TranslationChainConfig
@@ -2,17 +2,27 @@
2
2
 
3
3
  from typing import Optional, Union
4
4
 
5
- from pydantic import BaseModel, ConfigDict, Field
5
+ from pydantic import BaseModel, ConfigDict, Field, model_validator
6
6
 
7
7
 
8
8
  class OttContactInfo(BaseModel):
9
- """Contact information for OTT configuration requests."""
9
+ """Contact information for OTT configuration requests.
10
+
11
+ At least one of email or phone must be provided.
12
+ """
10
13
 
11
14
  model_config = ConfigDict(validate_by_name=True, validate_by_alias=True)
12
15
 
13
16
  email: Optional[str] = Field(None)
14
17
  phone: Optional[str] = Field(None)
15
18
 
19
+ @model_validator(mode='after')
20
+ def check_email_or_phone(self) -> 'OttContactInfo':
21
+ """Validate that at least one contact method is provided."""
22
+ if not self.email and not self.phone:
23
+ raise ValueError('Either email or phone must be provided')
24
+ return self
25
+
16
26
 
17
27
  class GetOttConfigurationRequest(BaseModel):
18
28
  """Request payload for fetching OTT connection configuration."""
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: wiil-python
3
- Version: 0.0.9
3
+ Version: 0.0.11
4
4
  Summary: Official Python SDK for WIIL Platform - AI-powered conversational services for intelligent customer interactions, voice processing, real-time translation, and business management
5
5
  Author-email: WIIL <dev-support@wiil.io>
6
6
  License: MIT
File without changes
File without changes
File without changes
File without changes