Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update generated code #1193

Merged
merged 13 commits into from
Jan 18, 2024
Prev Previous commit
Next Next commit
Update generated code for v761
  • Loading branch information
stripe-openapi[bot] committed Jan 17, 2024
commit 7af0c64b763515b4062621d242d127bb98237f44
2 changes: 1 addition & 1 deletion OPENAPI_VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
v760
v761
4 changes: 3 additions & 1 deletion stripe/_charge.py
Original file line number Diff line number Diff line change
Expand Up @@ -1062,6 +1062,7 @@ class Ideal(StripeObject):
"knab",
"moneyou",
"n26",
"nn",
"rabobank",
"regiobank",
"revolut",
Expand All @@ -1072,7 +1073,7 @@ class Ideal(StripeObject):
]
]
"""
The customer's bank. Can be one of `abn_amro`, `asn_bank`, `bunq`, `handelsbanken`, `ing`, `knab`, `moneyou`, `n26`, `rabobank`, `regiobank`, `revolut`, `sns_bank`, `triodos_bank`, `van_lanschot`, or `yoursafe`.
The customer's bank. Can be one of `abn_amro`, `asn_bank`, `bunq`, `handelsbanken`, `ing`, `knab`, `moneyou`, `n26`, `nn`, `rabobank`, `regiobank`, `revolut`, `sns_bank`, `triodos_bank`, `van_lanschot`, or `yoursafe`.
"""
bic: Optional[
Literal[
Expand All @@ -1085,6 +1086,7 @@ class Ideal(StripeObject):
"INGBNL2A",
"KNABNL2H",
"MOYONL21",
"NNBANL2G",
"NTSBDEB1",
"RABONL2U",
"RBRBNL21",
Expand Down
6 changes: 3 additions & 3 deletions stripe/_payment_intent.py
Original file line number Diff line number Diff line change
Expand Up @@ -2352,7 +2352,7 @@ class ConfirmParamsPaymentMethodDataGrabpay(TypedDict):

class ConfirmParamsPaymentMethodDataIdeal(TypedDict):
bank: NotRequired[
"Literal['abn_amro', 'asn_bank', 'bunq', 'handelsbanken', 'ing', 'knab', 'moneyou', 'n26', 'rabobank', 'regiobank', 'revolut', 'sns_bank', 'triodos_bank', 'van_lanschot', 'yoursafe']"
"Literal['abn_amro', 'asn_bank', 'bunq', 'handelsbanken', 'ing', 'knab', 'moneyou', 'n26', 'nn', 'rabobank', 'regiobank', 'revolut', 'sns_bank', 'triodos_bank', 'van_lanschot', 'yoursafe']"
]
"""
The customer's bank.
Expand Down Expand Up @@ -4241,7 +4241,7 @@ class CreateParamsPaymentMethodDataGrabpay(TypedDict):

class CreateParamsPaymentMethodDataIdeal(TypedDict):
bank: NotRequired[
"Literal['abn_amro', 'asn_bank', 'bunq', 'handelsbanken', 'ing', 'knab', 'moneyou', 'n26', 'rabobank', 'regiobank', 'revolut', 'sns_bank', 'triodos_bank', 'van_lanschot', 'yoursafe']"
"Literal['abn_amro', 'asn_bank', 'bunq', 'handelsbanken', 'ing', 'knab', 'moneyou', 'n26', 'nn', 'rabobank', 'regiobank', 'revolut', 'sns_bank', 'triodos_bank', 'van_lanschot', 'yoursafe']"
]
"""
The customer's bank.
Expand Down Expand Up @@ -6132,7 +6132,7 @@ class ModifyParamsPaymentMethodDataGrabpay(TypedDict):

class ModifyParamsPaymentMethodDataIdeal(TypedDict):
bank: NotRequired[
"Literal['abn_amro', 'asn_bank', 'bunq', 'handelsbanken', 'ing', 'knab', 'moneyou', 'n26', 'rabobank', 'regiobank', 'revolut', 'sns_bank', 'triodos_bank', 'van_lanschot', 'yoursafe']"
"Literal['abn_amro', 'asn_bank', 'bunq', 'handelsbanken', 'ing', 'knab', 'moneyou', 'n26', 'nn', 'rabobank', 'regiobank', 'revolut', 'sns_bank', 'triodos_bank', 'van_lanschot', 'yoursafe']"
]
"""
The customer's bank.
Expand Down
6 changes: 4 additions & 2 deletions stripe/_payment_method.py
Original file line number Diff line number Diff line change
Expand Up @@ -624,6 +624,7 @@ class Ideal(StripeObject):
"knab",
"moneyou",
"n26",
"nn",
"rabobank",
"regiobank",
"revolut",
Expand All @@ -634,7 +635,7 @@ class Ideal(StripeObject):
]
]
"""
The customer's bank, if provided. Can be one of `abn_amro`, `asn_bank`, `bunq`, `handelsbanken`, `ing`, `knab`, `moneyou`, `n26`, `rabobank`, `regiobank`, `revolut`, `sns_bank`, `triodos_bank`, `van_lanschot`, or `yoursafe`.
The customer's bank, if provided. Can be one of `abn_amro`, `asn_bank`, `bunq`, `handelsbanken`, `ing`, `knab`, `moneyou`, `n26`, `nn`, `rabobank`, `regiobank`, `revolut`, `sns_bank`, `triodos_bank`, `van_lanschot`, or `yoursafe`.
"""
bic: Optional[
Literal[
Expand All @@ -647,6 +648,7 @@ class Ideal(StripeObject):
"INGBNL2A",
"KNABNL2H",
"MOYONL21",
"NNBANL2G",
"NTSBDEB1",
"RABONL2U",
"RBRBNL21",
Expand Down Expand Up @@ -1338,7 +1340,7 @@ class CreateParamsGrabpay(TypedDict):

class CreateParamsIdeal(TypedDict):
bank: NotRequired[
"Literal['abn_amro', 'asn_bank', 'bunq', 'handelsbanken', 'ing', 'knab', 'moneyou', 'n26', 'rabobank', 'regiobank', 'revolut', 'sns_bank', 'triodos_bank', 'van_lanschot', 'yoursafe']"
"Literal['abn_amro', 'asn_bank', 'bunq', 'handelsbanken', 'ing', 'knab', 'moneyou', 'n26', 'nn', 'rabobank', 'regiobank', 'revolut', 'sns_bank', 'triodos_bank', 'van_lanschot', 'yoursafe']"
]
"""
The customer's bank.
Expand Down
4 changes: 3 additions & 1 deletion stripe/_setup_attempt.py
Original file line number Diff line number Diff line change
Expand Up @@ -256,6 +256,7 @@ class Ideal(StripeObject):
"knab",
"moneyou",
"n26",
"nn",
"rabobank",
"regiobank",
"revolut",
Expand All @@ -266,7 +267,7 @@ class Ideal(StripeObject):
]
]
"""
The customer's bank. Can be one of `abn_amro`, `asn_bank`, `bunq`, `handelsbanken`, `ing`, `knab`, `moneyou`, `n26`, `rabobank`, `regiobank`, `revolut`, `sns_bank`, `triodos_bank`, `van_lanschot`, or `yoursafe`.
The customer's bank. Can be one of `abn_amro`, `asn_bank`, `bunq`, `handelsbanken`, `ing`, `knab`, `moneyou`, `n26`, `nn`, `rabobank`, `regiobank`, `revolut`, `sns_bank`, `triodos_bank`, `van_lanschot`, or `yoursafe`.
"""
bic: Optional[
Literal[
Expand All @@ -279,6 +280,7 @@ class Ideal(StripeObject):
"INGBNL2A",
"KNABNL2H",
"MOYONL21",
"NNBANL2G",
"NTSBDEB1",
"RABONL2U",
"RBRBNL21",
Expand Down
6 changes: 3 additions & 3 deletions stripe/_setup_intent.py
Original file line number Diff line number Diff line change
Expand Up @@ -1063,7 +1063,7 @@ class ConfirmParamsPaymentMethodDataGrabpay(TypedDict):

class ConfirmParamsPaymentMethodDataIdeal(TypedDict):
bank: NotRequired[
"Literal['abn_amro', 'asn_bank', 'bunq', 'handelsbanken', 'ing', 'knab', 'moneyou', 'n26', 'rabobank', 'regiobank', 'revolut', 'sns_bank', 'triodos_bank', 'van_lanschot', 'yoursafe']"
"Literal['abn_amro', 'asn_bank', 'bunq', 'handelsbanken', 'ing', 'knab', 'moneyou', 'n26', 'nn', 'rabobank', 'regiobank', 'revolut', 'sns_bank', 'triodos_bank', 'van_lanschot', 'yoursafe']"
]
"""
The customer's bank.
Expand Down Expand Up @@ -1996,7 +1996,7 @@ class CreateParamsPaymentMethodDataGrabpay(TypedDict):

class CreateParamsPaymentMethodDataIdeal(TypedDict):
bank: NotRequired[
"Literal['abn_amro', 'asn_bank', 'bunq', 'handelsbanken', 'ing', 'knab', 'moneyou', 'n26', 'rabobank', 'regiobank', 'revolut', 'sns_bank', 'triodos_bank', 'van_lanschot', 'yoursafe']"
"Literal['abn_amro', 'asn_bank', 'bunq', 'handelsbanken', 'ing', 'knab', 'moneyou', 'n26', 'nn', 'rabobank', 'regiobank', 'revolut', 'sns_bank', 'triodos_bank', 'van_lanschot', 'yoursafe']"
]
"""
The customer's bank.
Expand Down Expand Up @@ -2904,7 +2904,7 @@ class ModifyParamsPaymentMethodDataGrabpay(TypedDict):

class ModifyParamsPaymentMethodDataIdeal(TypedDict):
bank: NotRequired[
"Literal['abn_amro', 'asn_bank', 'bunq', 'handelsbanken', 'ing', 'knab', 'moneyou', 'n26', 'rabobank', 'regiobank', 'revolut', 'sns_bank', 'triodos_bank', 'van_lanschot', 'yoursafe']"
"Literal['abn_amro', 'asn_bank', 'bunq', 'handelsbanken', 'ing', 'knab', 'moneyou', 'n26', 'nn', 'rabobank', 'regiobank', 'revolut', 'sns_bank', 'triodos_bank', 'van_lanschot', 'yoursafe']"
]
"""
The customer's bank.
Expand Down