Skip to content

Commit 59002c5

Browse files
feat(api): manual updates
1 parent 664c8be commit 59002c5

5 files changed

Lines changed: 17 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: 9
2-
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/brand-dev%2Fbrand.dev-70f44e886c51bd700af031ad9b5c8f0042ef15fde038ba83ed08f61cd9d05266.yml
3-
openapi_spec_hash: 9b834ba9e373689a8e2fbd8312b1f2de
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/brand-dev%2Fbrand.dev-1ff30126e780960cb04d5855fb8e9227099f91e1a3293f656cfaad50e1d7eb1c.yml
3+
openapi_spec_hash: 42c1034ce32cbe5410b124e577998de8
44
config_hash: 4b10254ea5b8e26ce632222b94a918aa

src/brand/dev/types/brand_ai_query_response.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,11 +16,17 @@ class DataExtracted(BaseModel):
1616

1717

1818
class BrandAIQueryResponse(BaseModel):
19+
code: Optional[int] = None
20+
"""HTTP status code"""
21+
1922
data_extracted: Optional[List[DataExtracted]] = None
2023
"""Array of extracted data points"""
2124

2225
domain: Optional[str] = None
2326
"""The domain that was analyzed"""
2427

28+
status: Optional[str] = None
29+
"""Status of the response, e.g., 'ok'"""
30+
2531
urls_analyzed: Optional[List[str]] = None
2632
"""List of URLs that were analyzed"""

src/brand/dev/types/brand_identify_from_transaction_response.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -143,6 +143,9 @@ class Brand(BaseModel):
143143
domain: Optional[str] = None
144144
"""The domain name of the brand"""
145145

146+
is_nsfw: Optional[bool] = None
147+
"""Indicates whether the brand content is not safe for work (NSFW)"""
148+
146149
logos: Optional[List[BrandLogo]] = None
147150
"""An array of logos associated with the brand"""
148151

src/brand/dev/types/brand_retrieve_by_ticker_response.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -143,6 +143,9 @@ class Brand(BaseModel):
143143
domain: Optional[str] = None
144144
"""The domain name of the brand"""
145145

146+
is_nsfw: Optional[bool] = None
147+
"""Indicates whether the brand content is not safe for work (NSFW)"""
148+
146149
logos: Optional[List[BrandLogo]] = None
147150
"""An array of logos associated with the brand"""
148151

src/brand/dev/types/brand_retrieve_response.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -143,6 +143,9 @@ class Brand(BaseModel):
143143
domain: Optional[str] = None
144144
"""The domain name of the brand"""
145145

146+
is_nsfw: Optional[bool] = None
147+
"""Indicates whether the brand content is not safe for work (NSFW)"""
148+
146149
logos: Optional[List[BrandLogo]] = None
147150
"""An array of logos associated with the brand"""
148151

0 commit comments

Comments
 (0)