Skip to content

Commit 2ac4e0c

Browse files
feat(api): api update
1 parent 6e7675d commit 2ac4e0c

3 files changed

Lines changed: 16 additions & 2 deletions

File tree

‎.stats.yml‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
configured_endpoints: 41
2-
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/context-dev/context.dev-a93ee49f1b1f7a2d95a79fa63dba0c825dcc664198a8d6d42a71c4577342cb3b.yml
3-
openapi_spec_hash: 62ec48956bfb06100953840ac780e93f
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/context-dev/context.dev-f23ab92b85d838bfa0c2741f96f4bf7acf09a22cc17aa88d78ae8a1cafb0c7f0.yml
3+
openapi_spec_hash: 641b62af26fa7bc744bbebc50aeb2ac6
44
config_hash: 0fb0ceca5946298c416cec0cca5260c7

‎src/context/dev/types/brand_retrieve_response.py‎

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,13 @@ class BrandColor(BaseModel):
9090
name: Optional[str] = None
9191
"""Name of the color"""
9292

93+
source: Optional[Literal["site", "logo"]] = None
94+
"""
95+
Where the color was observed: 'site' colors come from the website's own theme
96+
signals (rendered page colors, manifest, theme-color meta), 'logo' colors from
97+
logo image pixels.
98+
"""
99+
93100

94101
class BrandEmployees(BaseModel):
95102
"""Employee headcount information for the brand (will be null if unknown)"""

‎src/context/dev/types/brand_retrieve_simplified_response.py‎

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,13 @@ class BrandColor(BaseModel):
5858
name: Optional[str] = None
5959
"""Name of the color"""
6060

61+
source: Optional[Literal["site", "logo"]] = None
62+
"""
63+
Where the color was observed: 'site' colors come from the website's own theme
64+
signals (rendered page colors, manifest, theme-color meta), 'logo' colors from
65+
logo image pixels.
66+
"""
67+
6168

6269
class BrandLogoColor(BaseModel):
6370
hex: Optional[str] = None

0 commit comments

Comments
 (0)