channel3-sdk 0.2.0__tar.gz → 0.2.2__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of channel3-sdk might be problematic. Click here for more details.

@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: channel3-sdk
3
- Version: 0.2.0
3
+ Version: 0.2.2
4
4
  Summary: The official Python SDK for Channel3 AI Shopping API
5
5
  Home-page: https://github.com/channel3/sdk-python
6
6
  License: MIT
@@ -51,10 +51,11 @@ class Product(BaseModel):
51
51
  """A product returned from search."""
52
52
 
53
53
  id: str = Field(..., description="Unique identifier for the product")
54
+ url: str = Field(..., description="URL for the product")
54
55
  score: float = Field(..., description="Relevance score for the search query")
55
56
  title: str = Field(..., description="Product title")
56
57
  description: Optional[str] = Field(None, description="Product description")
57
- brand_name: str = Field(..., description="Brand name of the product")
58
+ brand_name: str = Field(..., description="Brand name for the product")
58
59
  image_url: str = Field(..., description="Main product image URL")
59
60
  price: Price = Field(..., description="Price information")
60
61
  availability: AvailabilityStatus = Field(
@@ -68,6 +69,9 @@ class Product(BaseModel):
68
69
  class ProductDetail(BaseModel):
69
70
  """Detailed information about a product."""
70
71
 
72
+ id: str = Field(..., description="Unique identifier for the product")
73
+ url: str = Field(..., description="URL for the product")
74
+ score: float = Field(..., description="Relevance score for the search query")
71
75
  title: str = Field(..., description="Product title")
72
76
  description: Optional[str] = Field(None, description="Product description")
73
77
  brand_id: Optional[str] = Field(None, description="Unique identifier for the brand")
@@ -1,6 +1,6 @@
1
1
  [tool.poetry]
2
2
  name = "channel3-sdk"
3
- version = "0.2.0"
3
+ version = "0.2.2"
4
4
  description = "The official Python SDK for Channel3 AI Shopping API"
5
5
  authors = ["Channel3 <alex@trychannel3.com>"]
6
6
  readme = "README.md"
File without changes