|
2 | 2 |
|
3 | 3 | from __future__ import annotations |
4 | 4 |
|
5 | | -from typing import Any, Dict, List, Union, Optional, cast |
| 5 | +from typing import Any, Dict, Union, Iterable, Optional, cast |
6 | 6 | from datetime import date, datetime |
7 | 7 | from typing_extensions import Literal |
8 | 8 |
|
@@ -70,7 +70,7 @@ def create( |
70 | 70 | net_terms: Optional[int] | NotGiven = NOT_GIVEN, |
71 | 71 | per_credit_overage_amount: Optional[str] | NotGiven = NOT_GIVEN, |
72 | 72 | plan_id: Optional[str] | NotGiven = NOT_GIVEN, |
73 | | - price_overrides: Optional[List[subscription_create_params.PriceOverride]] | NotGiven = NOT_GIVEN, |
| 73 | + price_overrides: Optional[Iterable[subscription_create_params.PriceOverride]] | NotGiven = NOT_GIVEN, |
74 | 74 | start_date: Union[str, datetime, None] | NotGiven = NOT_GIVEN, |
75 | 75 | # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs. |
76 | 76 | # The extra values given here take precedence over values defined on the client or passed to this method. |
@@ -1166,8 +1166,8 @@ def price_intervals( |
1166 | 1166 | self, |
1167 | 1167 | subscription_id: str, |
1168 | 1168 | *, |
1169 | | - add: List[subscription_price_intervals_params.Add] | NotGiven = NOT_GIVEN, |
1170 | | - edit: List[subscription_price_intervals_params.Edit] | NotGiven = NOT_GIVEN, |
| 1169 | + add: Iterable[subscription_price_intervals_params.Add] | NotGiven = NOT_GIVEN, |
| 1170 | + edit: Iterable[subscription_price_intervals_params.Edit] | NotGiven = NOT_GIVEN, |
1171 | 1171 | # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs. |
1172 | 1172 | # The extra values given here take precedence over values defined on the client or passed to this method. |
1173 | 1173 | extra_headers: Headers | None = None, |
@@ -1287,7 +1287,8 @@ def schedule_plan_change( |
1287 | 1287 | invoicing_threshold: Optional[str] | NotGiven = NOT_GIVEN, |
1288 | 1288 | per_credit_overage_amount: Optional[str] | NotGiven = NOT_GIVEN, |
1289 | 1289 | plan_id: Optional[str] | NotGiven = NOT_GIVEN, |
1290 | | - price_overrides: Optional[List[subscription_schedule_plan_change_params.PriceOverride]] | NotGiven = NOT_GIVEN, |
| 1290 | + price_overrides: Optional[Iterable[subscription_schedule_plan_change_params.PriceOverride]] |
| 1291 | + | NotGiven = NOT_GIVEN, |
1291 | 1292 | # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs. |
1292 | 1293 | # The extra values given here take precedence over values defined on the client or passed to this method. |
1293 | 1294 | extra_headers: Headers | None = None, |
@@ -1699,7 +1700,7 @@ async def create( |
1699 | 1700 | net_terms: Optional[int] | NotGiven = NOT_GIVEN, |
1700 | 1701 | per_credit_overage_amount: Optional[str] | NotGiven = NOT_GIVEN, |
1701 | 1702 | plan_id: Optional[str] | NotGiven = NOT_GIVEN, |
1702 | | - price_overrides: Optional[List[subscription_create_params.PriceOverride]] | NotGiven = NOT_GIVEN, |
| 1703 | + price_overrides: Optional[Iterable[subscription_create_params.PriceOverride]] | NotGiven = NOT_GIVEN, |
1703 | 1704 | start_date: Union[str, datetime, None] | NotGiven = NOT_GIVEN, |
1704 | 1705 | # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs. |
1705 | 1706 | # The extra values given here take precedence over values defined on the client or passed to this method. |
@@ -2795,8 +2796,8 @@ async def price_intervals( |
2795 | 2796 | self, |
2796 | 2797 | subscription_id: str, |
2797 | 2798 | *, |
2798 | | - add: List[subscription_price_intervals_params.Add] | NotGiven = NOT_GIVEN, |
2799 | | - edit: List[subscription_price_intervals_params.Edit] | NotGiven = NOT_GIVEN, |
| 2799 | + add: Iterable[subscription_price_intervals_params.Add] | NotGiven = NOT_GIVEN, |
| 2800 | + edit: Iterable[subscription_price_intervals_params.Edit] | NotGiven = NOT_GIVEN, |
2800 | 2801 | # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs. |
2801 | 2802 | # The extra values given here take precedence over values defined on the client or passed to this method. |
2802 | 2803 | extra_headers: Headers | None = None, |
@@ -2916,7 +2917,8 @@ async def schedule_plan_change( |
2916 | 2917 | invoicing_threshold: Optional[str] | NotGiven = NOT_GIVEN, |
2917 | 2918 | per_credit_overage_amount: Optional[str] | NotGiven = NOT_GIVEN, |
2918 | 2919 | plan_id: Optional[str] | NotGiven = NOT_GIVEN, |
2919 | | - price_overrides: Optional[List[subscription_schedule_plan_change_params.PriceOverride]] | NotGiven = NOT_GIVEN, |
| 2920 | + price_overrides: Optional[Iterable[subscription_schedule_plan_change_params.PriceOverride]] |
| 2921 | + | NotGiven = NOT_GIVEN, |
2920 | 2922 | # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs. |
2921 | 2923 | # The extra values given here take precedence over values defined on the client or passed to this method. |
2922 | 2924 | extra_headers: Headers | None = None, |
|
0 commit comments