Skip to content

Commit 07f1205

Browse files
Update generated code for v1454
1 parent f698f89 commit 07f1205

File tree

5 files changed

+8
-7
lines changed

5 files changed

+8
-7
lines changed

OPENAPI_VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
v1453
1+
v1454

src/apiVersion.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
// File generated from our OpenAPI spec
22

3-
export const ApiVersion = '2024-12-18.acacia';
3+
export const ApiVersion = '2025-01-27.acacia';

types/WebhookEndpointsResource.d.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,8 @@ declare module 'stripe' {
146146
| '2024-09-30.acacia'
147147
| '2024-10-28.acacia'
148148
| '2024-11-20.acacia'
149-
| '2024-12-18.acacia';
149+
| '2024-12-18.acacia'
150+
| '2025-01-27.acacia';
150151

151152
type EnabledEvent =
152153
| '*'

types/lib.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ declare module 'stripe' {
2727
}): (...args: any[]) => Response<ResponseObject>; //eslint-disable-line @typescript-eslint/no-explicit-any
2828
static MAX_BUFFERED_REQUEST_METRICS: number;
2929
}
30-
export type LatestApiVersion = '2024-12-18.acacia';
30+
export type LatestApiVersion = '2025-01-27.acacia';
3131
export type HttpAgent = Agent;
3232
export type HttpProtocol = 'http' | 'https';
3333

types/test/typescriptTest.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
import Stripe from 'stripe';
1010

1111
let stripe = new Stripe('sk_test_123', {
12-
apiVersion: '2024-12-18.acacia',
12+
apiVersion: '2025-01-27.acacia',
1313
});
1414

1515
stripe = new Stripe('sk_test_123');
@@ -26,7 +26,7 @@ stripe = new Stripe('sk_test_123', {
2626

2727
// Check config object.
2828
stripe = new Stripe('sk_test_123', {
29-
apiVersion: '2024-12-18.acacia',
29+
apiVersion: '2025-01-27.acacia',
3030
typescript: true,
3131
maxNetworkRetries: 1,
3232
timeout: 1000,
@@ -44,7 +44,7 @@ stripe = new Stripe('sk_test_123', {
4444
description: 'test',
4545
};
4646
const opts: Stripe.RequestOptions = {
47-
apiVersion: '2024-12-18.acacia',
47+
apiVersion: '2025-01-27.acacia',
4848
};
4949
const customer: Stripe.Customer = await stripe.customers.create(params, opts);
5050

0 commit comments

Comments
 (0)