channel3-sdk 2.2.1__py3-none-any.whl → 2.3.0__py3-none-any.whl

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.

channel3_sdk/_version.py CHANGED
@@ -1,4 +1,4 @@
1
1
  # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
2
 
3
3
  __title__ = "channel3_sdk"
4
- __version__ = "2.2.1" # x-release-please-version
4
+ __version__ = "2.3.0" # x-release-please-version
@@ -1,20 +1,37 @@
1
1
  # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
2
 
3
- from typing import List
3
+ from typing import List, Optional
4
+ from typing_extensions import Literal
4
5
 
5
6
  from .price import Price
7
+ from .variant import Variant
6
8
  from .._models import BaseModel
9
+ from .availability_status import AvailabilityStatus
7
10
 
8
11
  __all__ = ["EnrichEnrichURLResponse"]
9
12
 
10
13
 
11
14
  class EnrichEnrichURLResponse(BaseModel):
12
- main_image_url: str
15
+ id: str
13
16
 
14
- other_image_urls: List[str]
17
+ availability: AvailabilityStatus
15
18
 
16
19
  price: Price
17
20
 
18
21
  title: str
19
22
 
20
23
  url: str
24
+
25
+ brand_id: Optional[str] = None
26
+
27
+ brand_name: Optional[str] = None
28
+
29
+ gender: Optional[Literal["male", "female", "unisex"]] = None
30
+
31
+ image_urls: Optional[List[str]] = None
32
+
33
+ key_features: Optional[List[str]] = None
34
+
35
+ materials: Optional[List[str]] = None
36
+
37
+ variants: Optional[List[Variant]] = None
@@ -37,6 +37,13 @@ class SearchPerformParams(TypedDict, total=False):
37
37
  class Config(TypedDict, total=False):
38
38
  enrich_query: bool
39
39
 
40
+ redirect_mode: Optional[Literal["brand", "price", "commission"]]
41
+ """
42
+ "price" redirects to the product page with the lowest price "commission"
43
+ redirects to the product page with the highest commission rate "brand" redirects
44
+ to the brand's product page
45
+ """
46
+
40
47
  semantic_search: bool
41
48
 
42
49
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: channel3_sdk
3
- Version: 2.2.1
3
+ Version: 2.3.0
4
4
  Summary: The official Python library for the channel3 API
5
5
  Project-URL: Homepage, https://github.com/channel3-ai/sdk-python
6
6
  Project-URL: Repository, https://github.com/channel3-ai/sdk-python
@@ -11,7 +11,7 @@ channel3_sdk/_resource.py,sha256=GoE4cbZQQeB-svaapj3Xu4BObqkjwbzcd4HbXcti-oc,111
11
11
  channel3_sdk/_response.py,sha256=fQfICgXh4GiLeIvsMrIRiUo9WIML1AWVhk3D-qkJiVw,28846
12
12
  channel3_sdk/_streaming.py,sha256=q4zuYRWOVScdu0XFwgZle68N1jzSwFd8SbBE4js9hYg,10108
13
13
  channel3_sdk/_types.py,sha256=KHmOPyD0PEi0zdZbUwJwBwPxiFttwJH4uaqh5isWqpU,7242
14
- channel3_sdk/_version.py,sha256=USrlyrefncO6n8BIO7hpmkSU8nyvyNR2mSnkh5q75H0,164
14
+ channel3_sdk/_version.py,sha256=7fJ82MCu-Lb02dMfEAECjFNsdTGKtiZe8lbD-4uRqxc,164
15
15
  channel3_sdk/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
16
16
  channel3_sdk/_utils/__init__.py,sha256=7fch0GT9zpNnErbciSpUNa-SjTxxjY6kxHxKMOM4AGs,2305
17
17
  channel3_sdk/_utils/_compat.py,sha256=D8gtAvjJQrDWt9upS0XaG9Rr5l1QhiAx_I_1utT_tt0,1195
@@ -37,13 +37,13 @@ channel3_sdk/types/brand.py,sha256=bo0dQfqd8pwzucwAZaW6S1RfRhMipabpQJQTXxJ4q_I,2
37
37
  channel3_sdk/types/brand_list_params.py,sha256=uVUrbjx1MZuR_6BQBKZ8TY7K52ytJK635s-w9tVaygs,326
38
38
  channel3_sdk/types/brand_list_response.py,sha256=wLTpPrlPmkiLOu5xUjf9Ryfp8GEz-bHmzWfzUOoLB5Q,466
39
39
  channel3_sdk/types/enrich_enrich_url_params.py,sha256=4crfsp1KutF26CKBDiLBaSheX9VPMQ873hCmZf40u-s,331
40
- channel3_sdk/types/enrich_enrich_url_response.py,sha256=Vm7Qi_YpA1Pc2Ru7DoqgTHiUyL2IEf_3CCCU8EcCwWY,357
40
+ channel3_sdk/types/enrich_enrich_url_response.py,sha256=QgcFrDUOfXqwKToJXZ7dRc_Xk6oWWJ_0zWifj0Orqp8,798
41
41
  channel3_sdk/types/price.py,sha256=E7FqByRLgNkm99JeARlbSN7J9Dyy7F55nQ1GMjzKuQ4,481
42
42
  channel3_sdk/types/product_retrieve_response.py,sha256=BJn6JCHfKDnVSbq02ddToT5gT-8UY-u2WZW-UnX2rUU,837
43
- channel3_sdk/types/search_perform_params.py,sha256=WdAOyOCweXMs2hH-q3ts6fw9VNq7cTSq1q-wrWAPuyE,1594
43
+ channel3_sdk/types/search_perform_params.py,sha256=kFgUGrms4tA78XJ-NBuAJSxwu0C5bPDxKlWryDVGgDk,1874
44
44
  channel3_sdk/types/search_perform_response.py,sha256=Px4_wJB9YUUxLoXZzWPpMOjh62No7lWzcenll1K-NnE,721
45
45
  channel3_sdk/types/variant.py,sha256=QcmXSluhHFVXT0QMhITG4iZvS-hl1ngoIev1nswUINc,226
46
- channel3_sdk-2.2.1.dist-info/METADATA,sha256=qurwM_YEIoi6eYkyrP7zmtTjLCW1F9g_tWd5kNM8984,13637
47
- channel3_sdk-2.2.1.dist-info/WHEEL,sha256=C2FUgwZgiLbznR-k0b_5k3Ai_1aASOXDss3lzCUsUug,87
48
- channel3_sdk-2.2.1.dist-info/licenses/LICENSE,sha256=pSFglIc4-SNY4qmMqUbuM9ZbSEb8pp67mDMyRI2dN2I,11338
49
- channel3_sdk-2.2.1.dist-info/RECORD,,
46
+ channel3_sdk-2.3.0.dist-info/METADATA,sha256=hQoT9zewzBIj6GM-S3Q7rjN_pim10QHctjhmn1wWYC0,13637
47
+ channel3_sdk-2.3.0.dist-info/WHEEL,sha256=C2FUgwZgiLbznR-k0b_5k3Ai_1aASOXDss3lzCUsUug,87
48
+ channel3_sdk-2.3.0.dist-info/licenses/LICENSE,sha256=pSFglIc4-SNY4qmMqUbuM9ZbSEb8pp67mDMyRI2dN2I,11338
49
+ channel3_sdk-2.3.0.dist-info/RECORD,,