|
2 | 2 |
|
3 | 3 | from __future__ import annotations |
4 | 4 |
|
5 | | -from typing import Any, List, Iterable, cast |
| 5 | +from typing import Any, Iterable, cast |
6 | 6 |
|
7 | 7 | import httpx |
8 | 8 |
|
|
15 | 15 | AsyncBrandResourceWithStreamingResponse, |
16 | 16 | ) |
17 | 17 | from ...types import campaign_builder_create_params |
18 | | -from ..._types import NOT_GIVEN, Body, Query, Headers, NotGiven |
| 18 | +from ..._types import NOT_GIVEN, Body, Query, Headers, NotGiven, SequenceNotStr |
19 | 19 | from ..._utils import maybe_transform, async_maybe_transform |
20 | 20 | from ..._compat import cached_property |
21 | 21 | from ..._resource import SyncAPIResource, AsyncAPIResource |
@@ -87,8 +87,8 @@ def create( |
87 | 87 | subscriber_help: bool | NotGiven = NOT_GIVEN, |
88 | 88 | subscriber_optin: bool | NotGiven = NOT_GIVEN, |
89 | 89 | subscriber_optout: bool | NotGiven = NOT_GIVEN, |
90 | | - sub_usecases: List[str] | NotGiven = NOT_GIVEN, |
91 | | - tag: List[str] | NotGiven = NOT_GIVEN, |
| 90 | + sub_usecases: SequenceNotStr[str] | NotGiven = NOT_GIVEN, |
| 91 | + tag: SequenceNotStr[str] | NotGiven = NOT_GIVEN, |
92 | 92 | terms_and_conditions: bool | NotGiven = NOT_GIVEN, |
93 | 93 | terms_and_conditions_link: str | NotGiven = NOT_GIVEN, |
94 | 94 | webhook_failover_url: str | NotGiven = NOT_GIVEN, |
@@ -307,8 +307,8 @@ async def create( |
307 | 307 | subscriber_help: bool | NotGiven = NOT_GIVEN, |
308 | 308 | subscriber_optin: bool | NotGiven = NOT_GIVEN, |
309 | 309 | subscriber_optout: bool | NotGiven = NOT_GIVEN, |
310 | | - sub_usecases: List[str] | NotGiven = NOT_GIVEN, |
311 | | - tag: List[str] | NotGiven = NOT_GIVEN, |
| 310 | + sub_usecases: SequenceNotStr[str] | NotGiven = NOT_GIVEN, |
| 311 | + tag: SequenceNotStr[str] | NotGiven = NOT_GIVEN, |
312 | 312 | terms_and_conditions: bool | NotGiven = NOT_GIVEN, |
313 | 313 | terms_and_conditions_link: str | NotGiven = NOT_GIVEN, |
314 | 314 | webhook_failover_url: str | NotGiven = NOT_GIVEN, |
|
0 commit comments