|
17 | 17 | async_to_raw_response_wrapper, |
18 | 18 | async_to_streamed_response_wrapper, |
19 | 19 | ) |
| 20 | +from ..types.brand import Brand |
20 | 21 | from .._base_client import make_request_options |
21 | | -from ..types.shared.brand import Brand |
22 | 22 | from ..types.brand_list_response import BrandListResponse |
23 | | -from ..types.shared_params.brand_settings import BrandSettings |
24 | | -from ..types.shared_params.brand_snippets import BrandSnippets |
| 23 | +from ..types.brand_settings_param import BrandSettingsParam |
| 24 | +from ..types.brand_snippets_param import BrandSnippetsParam |
25 | 25 |
|
26 | 26 | __all__ = ["BrandsResource", "AsyncBrandsResource"] |
27 | 27 |
|
@@ -51,8 +51,8 @@ def create( |
51 | 51 | *, |
52 | 52 | name: str, |
53 | 53 | id: Optional[str] | Omit = omit, |
54 | | - settings: Optional[BrandSettings] | Omit = omit, |
55 | | - snippets: Optional[BrandSnippets] | Omit = omit, |
| 54 | + settings: Optional[BrandSettingsParam] | Omit = omit, |
| 55 | + snippets: Optional[BrandSnippetsParam] | Omit = omit, |
56 | 56 | # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs. |
57 | 57 | # The extra values given here take precedence over values defined on the client or passed to this method. |
58 | 58 | extra_headers: Headers | None = None, |
@@ -127,8 +127,8 @@ def update( |
127 | 127 | brand_id: str, |
128 | 128 | *, |
129 | 129 | name: str, |
130 | | - settings: Optional[BrandSettings] | Omit = omit, |
131 | | - snippets: Optional[BrandSnippets] | Omit = omit, |
| 130 | + settings: Optional[BrandSettingsParam] | Omit = omit, |
| 131 | + snippets: Optional[BrandSnippetsParam] | Omit = omit, |
132 | 132 | # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs. |
133 | 133 | # The extra values given here take precedence over values defined on the client or passed to this method. |
134 | 134 | extra_headers: Headers | None = None, |
@@ -265,8 +265,8 @@ async def create( |
265 | 265 | *, |
266 | 266 | name: str, |
267 | 267 | id: Optional[str] | Omit = omit, |
268 | | - settings: Optional[BrandSettings] | Omit = omit, |
269 | | - snippets: Optional[BrandSnippets] | Omit = omit, |
| 268 | + settings: Optional[BrandSettingsParam] | Omit = omit, |
| 269 | + snippets: Optional[BrandSnippetsParam] | Omit = omit, |
270 | 270 | # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs. |
271 | 271 | # The extra values given here take precedence over values defined on the client or passed to this method. |
272 | 272 | extra_headers: Headers | None = None, |
@@ -341,8 +341,8 @@ async def update( |
341 | 341 | brand_id: str, |
342 | 342 | *, |
343 | 343 | name: str, |
344 | | - settings: Optional[BrandSettings] | Omit = omit, |
345 | | - snippets: Optional[BrandSnippets] | Omit = omit, |
| 344 | + settings: Optional[BrandSettingsParam] | Omit = omit, |
| 345 | + snippets: Optional[BrandSnippetsParam] | Omit = omit, |
346 | 346 | # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs. |
347 | 347 | # The extra values given here take precedence over values defined on the client or passed to this method. |
348 | 348 | extra_headers: Headers | None = None, |
|
0 commit comments