From 8e74ca876b5fc3a9144409d925a2237683b76370 Mon Sep 17 00:00:00 2001 From: "stripe-openapi[bot]" <105521251+stripe-openapi[bot]@users.noreply.github.com> Date: Tue, 17 Oct 2023 07:49:54 -0700 Subject: [PATCH 1/2] Update generated code (#1756) Update generated code for v605 Co-authored-by: Stripe OpenAPI <105521251+stripe-openapi[bot]@users.noreply.github.com> --- OPENAPI_VERSION | 2 +- bankaccount.go | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/OPENAPI_VERSION b/OPENAPI_VERSION index bbe0dc1c93..fb1dec85b4 100644 --- a/OPENAPI_VERSION +++ b/OPENAPI_VERSION @@ -1 +1 @@ -v603 \ No newline at end of file +v605 \ No newline at end of file diff --git a/bankaccount.go b/bankaccount.go index f21d3d5c7e..0156df75ec 100644 --- a/bankaccount.go +++ b/bankaccount.go @@ -43,6 +43,7 @@ const ( BankAccountFutureRequirementsErrorCodeInvalidCompanyNameDenylisted BankAccountFutureRequirementsErrorCode = "invalid_company_name_denylisted" BankAccountFutureRequirementsErrorCodeInvalidDOBAgeOverMaximum BankAccountFutureRequirementsErrorCode = "invalid_dob_age_over_maximum" BankAccountFutureRequirementsErrorCodeInvalidDOBAgeUnder18 BankAccountFutureRequirementsErrorCode = "invalid_dob_age_under_18" + BankAccountFutureRequirementsErrorCodeInvalidDOBAgeUnderMinimum BankAccountFutureRequirementsErrorCode = "invalid_dob_age_under_minimum" BankAccountFutureRequirementsErrorCodeInvalidProductDescriptionLength BankAccountFutureRequirementsErrorCode = "invalid_product_description_length" BankAccountFutureRequirementsErrorCodeInvalidProductDescriptionURLMatch BankAccountFutureRequirementsErrorCode = "invalid_product_description_url_match" BankAccountFutureRequirementsErrorCodeInvalidRepresentativeCountry BankAccountFutureRequirementsErrorCode = "invalid_representative_country" @@ -136,6 +137,7 @@ const ( BankAccountRequirementsErrorCodeInvalidCompanyNameDenylisted BankAccountRequirementsErrorCode = "invalid_company_name_denylisted" BankAccountRequirementsErrorCodeInvalidDOBAgeOverMaximum BankAccountRequirementsErrorCode = "invalid_dob_age_over_maximum" BankAccountRequirementsErrorCodeInvalidDOBAgeUnder18 BankAccountRequirementsErrorCode = "invalid_dob_age_under_18" + BankAccountRequirementsErrorCodeInvalidDOBAgeUnderMinimum BankAccountRequirementsErrorCode = "invalid_dob_age_under_minimum" BankAccountRequirementsErrorCodeInvalidProductDescriptionLength BankAccountRequirementsErrorCode = "invalid_product_description_length" BankAccountRequirementsErrorCodeInvalidProductDescriptionURLMatch BankAccountRequirementsErrorCode = "invalid_product_description_url_match" BankAccountRequirementsErrorCodeInvalidRepresentativeCountry BankAccountRequirementsErrorCode = "invalid_representative_country" From d5307909b211b45efcb603ae041fa320de3566bf Mon Sep 17 00:00:00 2001 From: Pavel Krymets Date: Tue, 17 Oct 2023 07:53:50 -0700 Subject: [PATCH 2/2] Bump version to 76.1.0 --- CHANGELOG.md | 4 ++++ VERSION | 2 +- stripe.go | 2 +- 3 files changed, 6 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 8fedc01214..1848a2a8c5 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,9 @@ # Changelog +## 76.1.0 - 2023-10-17 +* [#1756](https://github.com/stripe/stripe-go/pull/1756) Update generated code + * Add support for new value `invalid_dob_age_under_minimum` on enums `AccountFutureRequirementsErrorsCode`, `AccountRequirementsErrorsCode`, `BankAccountFutureRequirementsErrorsCode`, and `BankAccountRequirementsErrorsCode` + ## 76.0.0 - 2023-10-16 * This release changes the pinned API version to `2023-10-16`. Please read the [API Upgrade Guide](https://stripe.com/docs/upgrades#2023-10-16) and carefully review the API changes before upgrading `stripe-go`. * [#1753](https://github.com/stripe/stripe-go/pull/1753) Update generated code diff --git a/VERSION b/VERSION index 04ccc5640a..6248d526f2 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -76.0.0 +76.1.0 diff --git a/stripe.go b/stripe.go index 0ba36fce64..64e220070f 100644 --- a/stripe.go +++ b/stripe.go @@ -1226,7 +1226,7 @@ func StringSlice(v []string) []*string { // // clientversion is the binding version -const clientversion = "76.0.0" +const clientversion = "76.1.0" // defaultHTTPTimeout is the default timeout on the http.Client used by the library. // This is chosen to be consistent with the other Stripe language libraries and