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 for beta #1776

Merged
merged 21 commits into from
Dec 8, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
21 commits
Select commit Hold shift + click to select a range
ff62b33
Update generated code (#1772)
stripe-openapi[bot] Nov 30, 2023
bbe27d5
Bump version to 76.7.0
anniel-stripe Nov 30, 2023
e24f55d
Merge upstream and update generated code for v692
stripe-openapi[bot] Dec 1, 2023
e04b083
Add back PlanParams.ProductID (#1777)
anniel-stripe Dec 1, 2023
1366224
Merge upstream and update generated code for v693
stripe-openapi[bot] Dec 1, 2023
f9e090e
Update generated code for v694
stripe-openapi[bot] Dec 4, 2023
f41c8a5
Update generated code for v695
stripe-openapi[bot] Dec 4, 2023
b5d7cd4
Update generated code for v696
stripe-openapi[bot] Dec 5, 2023
6a031c3
Update generated code for v697
stripe-openapi[bot] Dec 6, 2023
856ca9b
Update generated code for v698
stripe-openapi[bot] Dec 6, 2023
8dd8c96
Update generated code for v700
stripe-openapi[bot] Dec 6, 2023
45d9d01
Update generated code for v701
stripe-openapi[bot] Dec 6, 2023
d3bb5f8
Update generated code for v702
stripe-openapi[bot] Dec 7, 2023
ddadb2e
Update generated code for v703
stripe-openapi[bot] Dec 7, 2023
df0a001
Update generated code for v704
stripe-openapi[bot] Dec 7, 2023
e1f1303
Update generated code for v705
stripe-openapi[bot] Dec 7, 2023
1d55471
Update generated code (#1775)
stripe-openapi[bot] Dec 7, 2023
2dc8075
Bump version to 76.8.0
pakrym-stripe Dec 7, 2023
01a3b78
Merge upstream and update generated code for v705
stripe-openapi[bot] Dec 7, 2023
b606129
Update generated code for v706
stripe-openapi[bot] Dec 7, 2023
aea3816
Update generated code for v708
stripe-openapi[bot] Dec 8, 2023
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
26 changes: 26 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,34 @@
# Changelog

## 76.8.0 - 2023-12-07
* [#1775](https://github.com/stripe/stripe-go/pull/1775) Update generated code
* Add support for `PaymentDetails`, `Payments`, and `Payouts` on `AccountSessionComponentsParams` and `AccountSessionComponents`
* Add support for `Features` on `AccountSessionComponentsAccountOnboardingParams` and `AccountSessionComponentsAccountOnboarding`
* Add support for new values `customer_tax_location_invalid` and `financial_connections_no_successful_transaction_refresh` on enums `InvoiceLastFinalizationErrorCode`, `PaymentIntentLastPaymentErrorCode`, `SetupAttemptSetupErrorCode`, `SetupIntentLastSetupErrorCode`, and `StripeErrorCode`
* Add support for new values `payment_network_reserve_hold` and `payment_network_reserve_release` on enum `BalanceTransactionType`
* Remove support for value `various` from enum `ClimateSupplierRemovalPathway`
* Remove support for values `challenge_only` and `challenge` from enum `PaymentIntentPaymentMethodOptionsCardRequestThreeDSecure`
* Add support for `InactiveMessage` and `Restrictions` on `PaymentLinkParams` and `PaymentLink`
* Add support for `TransferGroup` on `PaymentLinkPaymentIntentDataParams` and `PaymentLinkPaymentIntentData`
* Add support for `TrialSettings` on `PaymentLinkSubscriptionDataParams` and `PaymentLinkSubscriptionData`
* [#1777](https://github.com/stripe/stripe-go/pull/1777) Add back PlanParams.ProductID
* Add back `PlanParams.ProductID`, which was mistakenly removed starting in v73.0.0. `ProductID` allows creation of a plan for an existing product by serializing `product` as a string .

## 76.8.0-beta.1 - 2023-11-30
* [#1773](https://github.com/stripe/stripe-go/pull/1773) Update generated code for beta

## 76.7.0 - 2023-11-30
* [#1772](https://github.com/stripe/stripe-go/pull/1772) Update generated code
* Add support for new resources `Climate.Order`, `Climate.Product`, and `Climate.Supplier`
* Add support for `Cancel`, `Get`, `List`, `New`, and `Update` methods on resource `Order`
* Add support for `Get` and `List` methods on resources `Product` and `Supplier`
* Add support for new value `financial_connections_account_inactive` on enums `InvoiceLastFinalizationErrorCode`, `PaymentIntentLastPaymentErrorCode`, `SetupAttemptSetupErrorCode`, `SetupIntentLastSetupErrorCode`, and `StripeErrorCode`
* Add support for new values `climate_order_purchase` and `climate_order_refund` on enum `BalanceTransactionType`
* Add support for `Created` on `CheckoutSessionListParams`
* Add support for `ValidateLocation` on `CustomerTaxParams`
* Add support for new values `climate.order.canceled`, `climate.order.created`, `climate.order.delayed`, `climate.order.delivered`, `climate.order.product_substituted`, `climate.product.created`, and `climate.product.pricing_updated` on enum `EventType`
* Add support for new value `challenge` on enums `PaymentIntentPaymentMethodOptionsCardRequestThreeDSecure` and `SetupIntentPaymentMethodOptionsCardRequestThreeDSecure`

## 76.7.0-beta.1 - 2023-11-21
* [#1770](https://github.com/stripe/stripe-go/pull/1770) Update generated code for beta
* Rename `Receipient` to `Recipient` beneath `PaymentDetails` on `Charge` and `PaymentIntent` APIs.
Expand Down
2 changes: 1 addition & 1 deletion OPENAPI_VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
v691
v708
30 changes: 3 additions & 27 deletions accountsession.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,28 +17,6 @@ type AccountSessionComponentsAccountOnboardingParams struct {
Features *AccountSessionComponentsAccountOnboardingFeaturesParams `form:"features"`
}

// The list of features enabled in the embedded component.
type AccountSessionComponentsIssuingCardFeaturesParams struct{}

// Configuration for the issuing card component.
type AccountSessionComponentsIssuingCardParams struct {
// Whether the embedded component is enabled.
Enabled *bool `form:"enabled"`
// The list of features enabled in the embedded component.
Features *AccountSessionComponentsIssuingCardFeaturesParams `form:"features"`
}

// The list of features enabled in the embedded component.
type AccountSessionComponentsIssuingCardsListFeaturesParams struct{}

// Configuration for the issuing cards list component.
type AccountSessionComponentsIssuingCardsListParams struct {
// Whether the embedded component is enabled.
Enabled *bool `form:"enabled"`
// The list of features enabled in the embedded component.
Features *AccountSessionComponentsIssuingCardsListFeaturesParams `form:"features"`
}

// The list of features enabled in the embedded component.
type AccountSessionComponentsPaymentDetailsFeaturesParams struct {
// Whether to allow capturing and cancelling payment intents. This is `true` by default.
Expand Down Expand Up @@ -90,10 +68,6 @@ type AccountSessionComponentsPayoutsParams struct {
type AccountSessionComponentsParams struct {
// Configuration for the account onboarding embedded component.
AccountOnboarding *AccountSessionComponentsAccountOnboardingParams `form:"account_onboarding"`
// Configuration for the issuing card component.
IssuingCard *AccountSessionComponentsIssuingCardParams `form:"issuing_card"`
// Configuration for the issuing cards list component.
IssuingCardsList *AccountSessionComponentsIssuingCardsListParams `form:"issuing_cards_list"`
// Configuration for the payment details embedded component.
PaymentDetails *AccountSessionComponentsPaymentDetailsParams `form:"payment_details"`
// Configuration for the payments embedded component.
Expand All @@ -118,9 +92,11 @@ func (p *AccountSessionParams) AddExpand(f string) {
p.Expand = append(p.Expand, &f)
}

type AccountSessionComponentsAccountOnboardingFeatures struct{}
type AccountSessionComponentsAccountOnboarding struct {
// Whether the embedded component is enabled.
Enabled bool `json:"enabled"`
Enabled bool `json:"enabled"`
Features *AccountSessionComponentsAccountOnboardingFeatures `json:"features"`
}
type AccountSessionComponentsPaymentDetailsFeatures struct {
// Whether to allow capturing and cancelling payment intents. This is `true` by default.
Expand Down
Loading