Skip to content

Commit 1e106cf

Browse files
Update generated code for v2136 and
1 parent 13c7a50 commit 1e106cf

File tree

421 files changed

+16503
-6062
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

421 files changed

+16503
-6062
lines changed

API_VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
6bb77d9eff2b7823591e32903b9e33b0ffe58c36
1+
a34bac27e2c6c6f4676784a8ff92454ce120f56b

OPENAPI_VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
v2135
1+
v2136

src/main/java/com/stripe/ApiVersion.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,5 @@
22
package com.stripe;
33

44
final class ApiVersion {
5-
public static final String CURRENT = "2025-11-17.preview";
5+
public static final String CURRENT = "2025-12-15.preview";
66
}

src/main/java/com/stripe/events/V2CoreHealthApiErrorFiringEvent.java

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
import com.google.gson.annotations.SerializedName;
55
import com.stripe.model.v2.core.Event;
66
import java.time.Instant;
7+
import java.util.List;
78
import lombok.Getter;
89
import lombok.Setter;
910

@@ -55,6 +56,21 @@ public static final class Impact {
5556
/** The percentage of impacted requests. */
5657
@SerializedName("impacted_requests_percentage")
5758
String impactedRequestsPercentage;
59+
/** The top impacted connected accounts (only for platforms). */
60+
@SerializedName("top_impacted_accounts")
61+
List<V2CoreHealthApiErrorFiringEvent.EventData.Impact.TopImpactedAccount> topImpactedAccounts;
62+
63+
public static final class TopImpactedAccount {
64+
/** The account ID of the impacted connected account. */
65+
@SerializedName("account")
66+
String account;
67+
/** The number of impacted requests. */
68+
@SerializedName("impacted_requests")
69+
Long impactedRequests;
70+
/** The percentage of impacted requests. */
71+
@SerializedName("impacted_requests_percentage")
72+
String impactedRequestsPercentage;
73+
}
5874
}
5975
}
6076
}

src/main/java/com/stripe/events/V2CoreHealthApiErrorResolvedEvent.java

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
import com.google.gson.annotations.SerializedName;
55
import com.stripe.model.v2.core.Event;
66
import java.time.Instant;
7+
import java.util.List;
78
import lombok.Getter;
89
import lombok.Setter;
910

@@ -55,6 +56,22 @@ public static final class Impact {
5556
/** The percentage of impacted requests. */
5657
@SerializedName("impacted_requests_percentage")
5758
String impactedRequestsPercentage;
59+
/** The top impacted connected accounts (only for platforms). */
60+
@SerializedName("top_impacted_accounts")
61+
List<V2CoreHealthApiErrorResolvedEvent.EventData.Impact.TopImpactedAccount>
62+
topImpactedAccounts;
63+
64+
public static final class TopImpactedAccount {
65+
/** The account ID of the impacted connected account. */
66+
@SerializedName("account")
67+
String account;
68+
/** The number of impacted requests. */
69+
@SerializedName("impacted_requests")
70+
Long impactedRequests;
71+
/** The percentage of impacted requests. */
72+
@SerializedName("impacted_requests_percentage")
73+
String impactedRequestsPercentage;
74+
}
5875
}
5976
}
6077
}

src/main/java/com/stripe/events/V2CoreHealthApiLatencyFiringEvent.java

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
import com.google.gson.annotations.SerializedName;
55
import com.stripe.model.v2.core.Event;
66
import java.time.Instant;
7+
import java.util.List;
78
import lombok.Getter;
89
import lombok.Setter;
910

@@ -52,6 +53,22 @@ public static final class Impact {
5253
/** The percentage of impacted requests. */
5354
@SerializedName("impacted_requests_percentage")
5455
String impactedRequestsPercentage;
56+
/** The top impacted connected accounts (only for platforms). */
57+
@SerializedName("top_impacted_accounts")
58+
List<V2CoreHealthApiLatencyFiringEvent.EventData.Impact.TopImpactedAccount>
59+
topImpactedAccounts;
60+
61+
public static final class TopImpactedAccount {
62+
/** The account ID of the impacted connected account. */
63+
@SerializedName("account")
64+
String account;
65+
/** The number of impacted requests. */
66+
@SerializedName("impacted_requests")
67+
Long impactedRequests;
68+
/** The percentage of impacted requests. */
69+
@SerializedName("impacted_requests_percentage")
70+
String impactedRequestsPercentage;
71+
}
5572
}
5673
}
5774
}

src/main/java/com/stripe/events/V2CoreHealthApiLatencyResolvedEvent.java

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
import com.google.gson.annotations.SerializedName;
55
import com.stripe.model.v2.core.Event;
66
import java.time.Instant;
7+
import java.util.List;
78
import lombok.Getter;
89
import lombok.Setter;
910

@@ -52,6 +53,22 @@ public static final class Impact {
5253
/** The percentage of impacted requests. */
5354
@SerializedName("impacted_requests_percentage")
5455
String impactedRequestsPercentage;
56+
/** The top impacted connected accounts (only for platforms). */
57+
@SerializedName("top_impacted_accounts")
58+
List<V2CoreHealthApiLatencyResolvedEvent.EventData.Impact.TopImpactedAccount>
59+
topImpactedAccounts;
60+
61+
public static final class TopImpactedAccount {
62+
/** The account ID of the impacted connected account. */
63+
@SerializedName("account")
64+
String account;
65+
/** The number of impacted requests. */
66+
@SerializedName("impacted_requests")
67+
Long impactedRequests;
68+
/** The percentage of impacted requests. */
69+
@SerializedName("impacted_requests_percentage")
70+
String impactedRequestsPercentage;
71+
}
5572
}
5673
}
5774
}

src/main/java/com/stripe/events/V2CoreHealthPaymentMethodErrorFiringEvent.java

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
import com.google.gson.annotations.SerializedName;
55
import com.stripe.model.v2.core.Event;
66
import java.time.Instant;
7+
import java.util.List;
78
import lombok.Getter;
89
import lombok.Setter;
910

@@ -63,6 +64,22 @@ public static final class Impact {
6364
*/
6465
@SerializedName("payment_method_type")
6566
String paymentMethodType;
67+
/** The top impacted connected accounts (only for platforms). */
68+
@SerializedName("top_impacted_accounts")
69+
List<V2CoreHealthPaymentMethodErrorFiringEvent.EventData.Impact.TopImpactedAccount>
70+
topImpactedAccounts;
71+
72+
public static final class TopImpactedAccount {
73+
/** The account ID of the impacted connected account. */
74+
@SerializedName("account")
75+
String account;
76+
/** The number of impacted requests. */
77+
@SerializedName("impacted_requests")
78+
Long impactedRequests;
79+
/** The percentage of impacted requests. */
80+
@SerializedName("impacted_requests_percentage")
81+
String impactedRequestsPercentage;
82+
}
6683
}
6784
}
6885
}

src/main/java/com/stripe/events/V2CoreHealthPaymentMethodErrorResolvedEvent.java

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
import com.google.gson.annotations.SerializedName;
55
import com.stripe.model.v2.core.Event;
66
import java.time.Instant;
7+
import java.util.List;
78
import lombok.Getter;
89
import lombok.Setter;
910

@@ -63,6 +64,22 @@ public static final class Impact {
6364
*/
6465
@SerializedName("payment_method_type")
6566
String paymentMethodType;
67+
/** The top impacted connected accounts (only for platforms). */
68+
@SerializedName("top_impacted_accounts")
69+
List<V2CoreHealthPaymentMethodErrorResolvedEvent.EventData.Impact.TopImpactedAccount>
70+
topImpactedAccounts;
71+
72+
public static final class TopImpactedAccount {
73+
/** The account ID of the impacted connected account. */
74+
@SerializedName("account")
75+
String account;
76+
/** The number of impacted requests. */
77+
@SerializedName("impacted_requests")
78+
Long impactedRequests;
79+
/** The percentage of impacted requests. */
80+
@SerializedName("impacted_requests_percentage")
81+
String impactedRequestsPercentage;
82+
}
6683
}
6784
}
6885
}
Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
// File generated from our OpenAPI spec
2+
package com.stripe.events;
3+
4+
import com.google.gson.annotations.SerializedName;
5+
import com.stripe.model.v2.core.Event;
6+
import java.time.Instant;
7+
import lombok.Getter;
8+
import lombok.Setter;
9+
10+
@Getter
11+
public final class V2CoreHealthSepaDebitDelayedFiringEvent extends Event {
12+
/** Data for the v2.core.health.sepa_debit_delayed.firing event. */
13+
@SerializedName("data")
14+
V2CoreHealthSepaDebitDelayedFiringEvent.EventData data;
15+
16+
@Getter
17+
@Setter
18+
public static final class EventData {
19+
/** The grouping key for the alert. */
20+
@SerializedName("grouping_key")
21+
String groupingKey;
22+
/** The user impact. */
23+
@SerializedName("impact")
24+
Impact impact;
25+
/** The time when impact on the user experience was first detected. */
26+
@SerializedName("started_at")
27+
Instant startedAt;
28+
/** A short description of the alert. */
29+
@SerializedName("summary")
30+
String summary;
31+
32+
public static final class Impact {
33+
/** The number of impacted payments. */
34+
@SerializedName("impacted_payments")
35+
Long impactedPayments;
36+
/** The percentage of impacted payments. */
37+
@SerializedName("impacted_payments_percentage")
38+
String impactedPaymentsPercentage;
39+
}
40+
}
41+
}

0 commit comments

Comments
 (0)