diff --git a/src/orb/resources/customers/costs.py b/src/orb/resources/customers/costs.py index a735203e..2ca9ea8e 100644 --- a/src/orb/resources/customers/costs.py +++ b/src/orb/resources/customers/costs.py @@ -43,8 +43,8 @@ def list( self, customer_id: Optional[str], *, - timeframe_end: Union[str, datetime, None] | NotGiven = NOT_GIVEN, - timeframe_start: Union[str, datetime, None] | NotGiven = NOT_GIVEN, + timeframe_end: Union[str, datetime] | NotGiven = NOT_GIVEN, + timeframe_start: Union[str, datetime] | NotGiven = NOT_GIVEN, view_mode: Optional[Literal["periodic", "cumulative"]] | NotGiven = NOT_GIVEN, # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs. # The extra values given here take precedence over values defined on the client or passed to this method. @@ -232,8 +232,8 @@ def list_by_external_id( self, external_customer_id: Optional[str], *, - timeframe_end: Union[str, datetime, None] | NotGiven = NOT_GIVEN, - timeframe_start: Union[str, datetime, None] | NotGiven = NOT_GIVEN, + timeframe_end: Union[str, datetime] | NotGiven = NOT_GIVEN, + timeframe_start: Union[str, datetime] | NotGiven = NOT_GIVEN, view_mode: Optional[Literal["periodic", "cumulative"]] | NotGiven = NOT_GIVEN, # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs. # The extra values given here take precedence over values defined on the client or passed to this method. @@ -433,8 +433,8 @@ async def list( self, customer_id: Optional[str], *, - timeframe_end: Union[str, datetime, None] | NotGiven = NOT_GIVEN, - timeframe_start: Union[str, datetime, None] | NotGiven = NOT_GIVEN, + timeframe_end: Union[str, datetime] | NotGiven = NOT_GIVEN, + timeframe_start: Union[str, datetime] | NotGiven = NOT_GIVEN, view_mode: Optional[Literal["periodic", "cumulative"]] | NotGiven = NOT_GIVEN, # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs. # The extra values given here take precedence over values defined on the client or passed to this method. @@ -622,8 +622,8 @@ async def list_by_external_id( self, external_customer_id: Optional[str], *, - timeframe_end: Union[str, datetime, None] | NotGiven = NOT_GIVEN, - timeframe_start: Union[str, datetime, None] | NotGiven = NOT_GIVEN, + timeframe_end: Union[str, datetime] | NotGiven = NOT_GIVEN, + timeframe_start: Union[str, datetime] | NotGiven = NOT_GIVEN, view_mode: Optional[Literal["periodic", "cumulative"]] | NotGiven = NOT_GIVEN, # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs. # The extra values given here take precedence over values defined on the client or passed to this method. diff --git a/src/orb/resources/subscriptions.py b/src/orb/resources/subscriptions.py index 439361df..92cef2f5 100644 --- a/src/orb/resources/subscriptions.py +++ b/src/orb/resources/subscriptions.py @@ -757,8 +757,8 @@ def fetch_costs( self, subscription_id: str, *, - timeframe_end: Union[str, datetime, None] | NotGiven = NOT_GIVEN, - timeframe_start: Union[str, datetime, None] | NotGiven = NOT_GIVEN, + timeframe_end: Union[str, datetime] | NotGiven = NOT_GIVEN, + timeframe_start: Union[str, datetime] | NotGiven = NOT_GIVEN, view_mode: Optional[Literal["periodic", "cumulative"]] | NotGiven = NOT_GIVEN, # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs. # The extra values given here take precedence over values defined on the client or passed to this method. @@ -2387,8 +2387,8 @@ async def fetch_costs( self, subscription_id: str, *, - timeframe_end: Union[str, datetime, None] | NotGiven = NOT_GIVEN, - timeframe_start: Union[str, datetime, None] | NotGiven = NOT_GIVEN, + timeframe_end: Union[str, datetime] | NotGiven = NOT_GIVEN, + timeframe_start: Union[str, datetime] | NotGiven = NOT_GIVEN, view_mode: Optional[Literal["periodic", "cumulative"]] | NotGiven = NOT_GIVEN, # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs. # The extra values given here take precedence over values defined on the client or passed to this method. diff --git a/src/orb/types/customers/cost_list_by_external_id_params.py b/src/orb/types/customers/cost_list_by_external_id_params.py index 9455e18e..44d04388 100644 --- a/src/orb/types/customers/cost_list_by_external_id_params.py +++ b/src/orb/types/customers/cost_list_by_external_id_params.py @@ -12,10 +12,10 @@ class CostListByExternalIDParams(TypedDict, total=False): - timeframe_end: Annotated[Union[str, datetime, None], PropertyInfo(format="iso8601")] + timeframe_end: Annotated[Union[str, datetime], PropertyInfo(format="iso8601")] """Costs returned are exclusive of `timeframe_end`.""" - timeframe_start: Annotated[Union[str, datetime, None], PropertyInfo(format="iso8601")] + timeframe_start: Annotated[Union[str, datetime], PropertyInfo(format="iso8601")] """Costs returned are inclusive of `timeframe_start`.""" view_mode: Optional[Literal["periodic", "cumulative"]] diff --git a/src/orb/types/customers/cost_list_params.py b/src/orb/types/customers/cost_list_params.py index 041cf861..55d1b50b 100644 --- a/src/orb/types/customers/cost_list_params.py +++ b/src/orb/types/customers/cost_list_params.py @@ -12,10 +12,10 @@ class CostListParams(TypedDict, total=False): - timeframe_end: Annotated[Union[str, datetime, None], PropertyInfo(format="iso8601")] + timeframe_end: Annotated[Union[str, datetime], PropertyInfo(format="iso8601")] """Costs returned are exclusive of `timeframe_end`.""" - timeframe_start: Annotated[Union[str, datetime, None], PropertyInfo(format="iso8601")] + timeframe_start: Annotated[Union[str, datetime], PropertyInfo(format="iso8601")] """Costs returned are inclusive of `timeframe_start`.""" view_mode: Optional[Literal["periodic", "cumulative"]] diff --git a/src/orb/types/subscription_fetch_costs_params.py b/src/orb/types/subscription_fetch_costs_params.py index b929aad3..9a9fa456 100644 --- a/src/orb/types/subscription_fetch_costs_params.py +++ b/src/orb/types/subscription_fetch_costs_params.py @@ -12,10 +12,10 @@ class SubscriptionFetchCostsParams(TypedDict, total=False): - timeframe_end: Annotated[Union[str, datetime, None], PropertyInfo(format="iso8601")] + timeframe_end: Annotated[Union[str, datetime], PropertyInfo(format="iso8601")] """Costs returned are exclusive of `timeframe_end`.""" - timeframe_start: Annotated[Union[str, datetime, None], PropertyInfo(format="iso8601")] + timeframe_start: Annotated[Union[str, datetime], PropertyInfo(format="iso8601")] """Costs returned are inclusive of `timeframe_start`.""" view_mode: Optional[Literal["periodic", "cumulative"]]