@@ -1041,7 +1041,7 @@ def create_entry(
10411041 self ,
10421042 customer_id : str ,
10431043 * ,
1044- amount : float | None | NotGiven = NOT_GIVEN ,
1044+ amount : float | Optional [ float ] | NotGiven = NOT_GIVEN ,
10451045 entry_type : Literal ["increment" ]
10461046 | Literal ["decrement" ]
10471047 | Literal ["expiration_change" ]
@@ -1056,7 +1056,7 @@ def create_entry(
10561056 metadata : Optional [Dict [str , Optional [str ]]] | NotGiven = NOT_GIVEN ,
10571057 per_unit_cost_basis : Optional [str ] | NotGiven = NOT_GIVEN ,
10581058 target_expiry_date : Union [str , date ] | NotGiven = NOT_GIVEN ,
1059- block_id : Optional [str ] | NotGiven = NOT_GIVEN ,
1059+ block_id : Optional [str ] | str | NotGiven = NOT_GIVEN ,
10601060 void_reason : Optional [Literal ["refund" ]] | NotGiven = NOT_GIVEN ,
10611061 # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
10621062 # The extra values given here take precedence over values defined on the client or passed to this method.
@@ -1933,7 +1933,7 @@ def create_entry_by_external_id(
19331933 self ,
19341934 external_customer_id : str ,
19351935 * ,
1936- amount : float | None | NotGiven = NOT_GIVEN ,
1936+ amount : float | Optional [ float ] | NotGiven = NOT_GIVEN ,
19371937 entry_type : Literal ["increment" ]
19381938 | Literal ["decrement" ]
19391939 | Literal ["expiration_change" ]
@@ -1950,7 +1950,7 @@ def create_entry_by_external_id(
19501950 metadata : Optional [Dict [str , Optional [str ]]] | NotGiven = NOT_GIVEN ,
19511951 per_unit_cost_basis : Optional [str ] | NotGiven = NOT_GIVEN ,
19521952 target_expiry_date : Union [str , date ] | NotGiven = NOT_GIVEN ,
1953- block_id : Optional [str ] | NotGiven = NOT_GIVEN ,
1953+ block_id : Optional [str ] | str | NotGiven = NOT_GIVEN ,
19541954 void_reason : Optional [Literal ["refund" ]] | NotGiven = NOT_GIVEN ,
19551955 # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
19561956 # The extra values given here take precedence over values defined on the client or passed to this method.
@@ -3172,7 +3172,7 @@ async def create_entry(
31723172 self ,
31733173 customer_id : str ,
31743174 * ,
3175- amount : float | None | NotGiven = NOT_GIVEN ,
3175+ amount : float | Optional [ float ] | NotGiven = NOT_GIVEN ,
31763176 entry_type : Literal ["increment" ]
31773177 | Literal ["decrement" ]
31783178 | Literal ["expiration_change" ]
@@ -3187,7 +3187,7 @@ async def create_entry(
31873187 metadata : Optional [Dict [str , Optional [str ]]] | NotGiven = NOT_GIVEN ,
31883188 per_unit_cost_basis : Optional [str ] | NotGiven = NOT_GIVEN ,
31893189 target_expiry_date : Union [str , date ] | NotGiven = NOT_GIVEN ,
3190- block_id : Optional [str ] | NotGiven = NOT_GIVEN ,
3190+ block_id : Optional [str ] | str | NotGiven = NOT_GIVEN ,
31913191 void_reason : Optional [Literal ["refund" ]] | NotGiven = NOT_GIVEN ,
31923192 # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
31933193 # The extra values given here take precedence over values defined on the client or passed to this method.
@@ -4064,7 +4064,7 @@ async def create_entry_by_external_id(
40644064 self ,
40654065 external_customer_id : str ,
40664066 * ,
4067- amount : float | None | NotGiven = NOT_GIVEN ,
4067+ amount : float | Optional [ float ] | NotGiven = NOT_GIVEN ,
40684068 entry_type : Literal ["increment" ]
40694069 | Literal ["decrement" ]
40704070 | Literal ["expiration_change" ]
@@ -4081,7 +4081,7 @@ async def create_entry_by_external_id(
40814081 metadata : Optional [Dict [str , Optional [str ]]] | NotGiven = NOT_GIVEN ,
40824082 per_unit_cost_basis : Optional [str ] | NotGiven = NOT_GIVEN ,
40834083 target_expiry_date : Union [str , date ] | NotGiven = NOT_GIVEN ,
4084- block_id : Optional [str ] | NotGiven = NOT_GIVEN ,
4084+ block_id : Optional [str ] | str | NotGiven = NOT_GIVEN ,
40854085 void_reason : Optional [Literal ["refund" ]] | NotGiven = NOT_GIVEN ,
40864086 # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
40874087 # The extra values given here take precedence over values defined on the client or passed to this method.
0 commit comments