Skip to content

Commit 279eb3d

Browse files
Update generated code (#2564)
* Update generated code for v2154 and * Update generated code for v2158 and * Update generated code for v2158 and * Update generated code for v2159 and * Update generated code for v2160 and --------- Co-authored-by: Stripe OpenAPI <105521251+stripe-openapi[bot]@users.noreply.github.com>
1 parent cfdcb83 commit 279eb3d

Some content is hidden

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

48 files changed

+1143
-155
lines changed

CODEGEN_VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
c250368ba89214c80bc8de3e4fc5d2094c5502cc
1+
fdbf5e05015131c7993d2b4017103f0d94561b6a

OPENAPI_VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
v2152
1+
v2160

src/apiVersion.ts

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

3-
export const ApiVersion = '2025-12-15.clover';
3+
export const ApiVersion = '2026-01-28.clover';
44
export const ApiMajorVersion = 'clover';

src/resources.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,7 @@ import {OutboundPayments as TestHelpersTreasuryOutboundPayments} from './resourc
4646
import {OutboundPayments as TreasuryOutboundPayments} from './resources/Treasury/OutboundPayments.js';
4747
import {OutboundTransfers as TestHelpersTreasuryOutboundTransfers} from './resources/TestHelpers/Treasury/OutboundTransfers.js';
4848
import {OutboundTransfers as TreasuryOutboundTransfers} from './resources/Treasury/OutboundTransfers.js';
49+
import {PaymentEvaluations as RadarPaymentEvaluations} from './resources/Radar/PaymentEvaluations.js';
4950
import {PersonalizationDesigns as IssuingPersonalizationDesigns} from './resources/Issuing/PersonalizationDesigns.js';
5051
import {PersonalizationDesigns as TestHelpersIssuingPersonalizationDesigns} from './resources/TestHelpers/Issuing/PersonalizationDesigns.js';
5152
import {PhysicalBundles as IssuingPhysicalBundles} from './resources/Issuing/PhysicalBundles.js';
@@ -187,6 +188,7 @@ export const Issuing = resourceNamespace('issuing', {
187188
});
188189
export const Radar = resourceNamespace('radar', {
189190
EarlyFraudWarnings: RadarEarlyFraudWarnings,
191+
PaymentEvaluations: RadarPaymentEvaluations,
190192
ValueListItems: RadarValueListItems,
191193
ValueLists: RadarValueLists,
192194
});
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
// File generated from our OpenAPI spec
2+
3+
import {StripeResource} from '../../StripeResource.js';
4+
const stripeMethod = StripeResource.method;
5+
export const PaymentEvaluations = StripeResource.extend({
6+
create: stripeMethod({
7+
method: 'POST',
8+
fullPath: '/v1/radar/payment_evaluations',
9+
}),
10+
});

test/resources/generated_examples_test.spec.js

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

types/AccountSessions.d.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,7 @@ declare module 'stripe' {
159159
external_account_collection: boolean;
160160

161161
/**
162-
* Whether to allow creation of instant payouts. Defaults to `true` when `controller.losses.payments` is set to `stripe` for the account, otherwise `false`.
162+
* Whether to allow creation of instant payouts. The default value is `enabled` when Stripe is responsible for negative account balances, and `use_dashboard_rules` otherwise.
163163
*/
164164
instant_payouts: boolean;
165165

@@ -289,7 +289,7 @@ declare module 'stripe' {
289289
external_account_collection: boolean;
290290

291291
/**
292-
* Whether to allow creation of instant payouts. Defaults to `true` when `controller.losses.payments` is set to `stripe` for the account, otherwise `false`.
292+
* Whether to allow creation of instant payouts. The default value is `enabled` when Stripe is responsible for negative account balances, and `use_dashboard_rules` otherwise.
293293
*/
294294
instant_payouts: boolean;
295295
}
@@ -523,7 +523,7 @@ declare module 'stripe' {
523523
external_account_collection: boolean;
524524

525525
/**
526-
* Whether to allow creation of instant payouts. Defaults to `true` when `controller.losses.payments` is set to `stripe` for the account, otherwise `false`.
526+
* Whether to allow creation of instant payouts. The default value is `enabled` when Stripe is responsible for negative account balances, and `use_dashboard_rules` otherwise.
527527
*/
528528
instant_payouts: boolean;
529529

types/AccountSessionsResource.d.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -200,7 +200,7 @@ declare module 'stripe' {
200200
external_account_collection?: boolean;
201201

202202
/**
203-
* Whether to allow creation of instant payouts. Defaults to `true` when `controller.losses.payments` is set to `stripe` for the account, otherwise `false`.
203+
* Whether instant payouts are enabled for this component.
204204
*/
205205
instant_payouts?: boolean;
206206

@@ -345,7 +345,7 @@ declare module 'stripe' {
345345
external_account_collection?: boolean;
346346

347347
/**
348-
* Whether to allow creation of instant payouts. Defaults to `true` when `controller.losses.payments` is set to `stripe` for the account, otherwise `false`.
348+
* Whether instant payouts are enabled for this component.
349349
*/
350350
instant_payouts?: boolean;
351351
}
@@ -603,7 +603,7 @@ declare module 'stripe' {
603603
external_account_collection?: boolean;
604604

605605
/**
606-
* Whether to allow creation of instant payouts. Defaults to `true` when `controller.losses.payments` is set to `stripe` for the account, otherwise `false`.
606+
* Whether instant payouts are enabled for this component.
607607
*/
608608
instant_payouts?: boolean;
609609

types/BalanceTransactions.d.ts

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ declare module 'stripe' {
8585
status: string;
8686

8787
/**
88-
* Transaction type: `adjustment`, `advance`, `advance_funding`, `anticipation_repayment`, `application_fee`, `application_fee_refund`, `charge`, `climate_order_purchase`, `climate_order_refund`, `connect_collection_transfer`, `contribution`, `issuing_authorization_hold`, `issuing_authorization_release`, `issuing_dispute`, `issuing_transaction`, `obligation_outbound`, `obligation_reversal_inbound`, `payment`, `payment_failure_refund`, `payment_network_reserve_hold`, `payment_network_reserve_release`, `payment_refund`, `payment_reversal`, `payment_unreconciled`, `payout`, `payout_cancel`, `payout_failure`, `payout_minimum_balance_hold`, `payout_minimum_balance_release`, `refund`, `refund_failure`, `reserve_transaction`, `reserved_funds`, `stripe_fee`, `stripe_fx_fee`, `stripe_balance_payment_debit`, `stripe_balance_payment_debit_reversal`, `tax_fee`, `topup`, `topup_reversal`, `transfer`, `transfer_cancel`, `transfer_failure`, or `transfer_refund`. Learn more about [balance transaction types and what they represent](https://stripe.com/docs/reports/balance-transaction-types). To classify transactions for accounting purposes, consider `reporting_category` instead.
88+
* Transaction type: `adjustment`, `advance`, `advance_funding`, `anticipation_repayment`, `application_fee`, `application_fee_refund`, `charge`, `climate_order_purchase`, `climate_order_refund`, `connect_collection_transfer`, `contribution`, `issuing_authorization_hold`, `issuing_authorization_release`, `issuing_dispute`, `issuing_transaction`, `obligation_outbound`, `obligation_reversal_inbound`, `payment`, `payment_failure_refund`, `payment_network_reserve_hold`, `payment_network_reserve_release`, `payment_refund`, `payment_reversal`, `payment_unreconciled`, `payout`, `payout_cancel`, `payout_failure`, `payout_minimum_balance_hold`, `payout_minimum_balance_release`, `refund`, `refund_failure`, `reserve_transaction`, `reserved_funds`, `reserve_hold`, `reserve_release`, `stripe_fee`, `stripe_fx_fee`, `stripe_balance_payment_debit`, `stripe_balance_payment_debit_reversal`, `tax_fee`, `topup`, `topup_reversal`, `transfer`, `transfer_cancel`, `transfer_failure`, or `transfer_refund`. Learn more about [balance transaction types and what they represent](https://stripe.com/docs/reports/balance-transaction-types). To classify transactions for accounting purposes, consider `reporting_category` instead.
8989
*/
9090
type: BalanceTransaction.Type;
9191
}
@@ -94,7 +94,8 @@ declare module 'stripe' {
9494
type BalanceType =
9595
| 'issuing'
9696
| 'payments'
97-
| 'refund_and_dispute_prefunding';
97+
| 'refund_and_dispute_prefunding'
98+
| 'risk_reserved';
9899

99100
interface FeeDetail {
100101
/**
@@ -155,6 +156,8 @@ declare module 'stripe' {
155156
| 'payout_minimum_balance_release'
156157
| 'refund'
157158
| 'refund_failure'
159+
| 'reserve_hold'
160+
| 'reserve_release'
158161
| 'reserve_transaction'
159162
| 'reserved_funds'
160163
| 'stripe_balance_payment_debit'

types/BalanceTransactionsResource.d.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,12 +31,12 @@ declare module 'stripe' {
3131
payout?: string;
3232

3333
/**
34-
* Only returns the original transaction.
34+
* Only returns transactions associated with the given object.
3535
*/
3636
source?: string;
3737

3838
/**
39-
* Only returns transactions of the given type. One of: `adjustment`, `advance`, `advance_funding`, `anticipation_repayment`, `application_fee`, `application_fee_refund`, `charge`, `climate_order_purchase`, `climate_order_refund`, `connect_collection_transfer`, `contribution`, `issuing_authorization_hold`, `issuing_authorization_release`, `issuing_dispute`, `issuing_transaction`, `obligation_outbound`, `obligation_reversal_inbound`, `payment`, `payment_failure_refund`, `payment_network_reserve_hold`, `payment_network_reserve_release`, `payment_refund`, `payment_reversal`, `payment_unreconciled`, `payout`, `payout_cancel`, `payout_failure`, `payout_minimum_balance_hold`, `payout_minimum_balance_release`, `refund`, `refund_failure`, `reserve_transaction`, `reserved_funds`, `stripe_fee`, `stripe_fx_fee`, `stripe_balance_payment_debit`, `stripe_balance_payment_debit_reversal`, `tax_fee`, `topup`, `topup_reversal`, `transfer`, `transfer_cancel`, `transfer_failure`, or `transfer_refund`.
39+
* Only returns transactions of the given type. One of: `adjustment`, `advance`, `advance_funding`, `anticipation_repayment`, `application_fee`, `application_fee_refund`, `charge`, `climate_order_purchase`, `climate_order_refund`, `connect_collection_transfer`, `contribution`, `issuing_authorization_hold`, `issuing_authorization_release`, `issuing_dispute`, `issuing_transaction`, `obligation_outbound`, `obligation_reversal_inbound`, `payment`, `payment_failure_refund`, `payment_network_reserve_hold`, `payment_network_reserve_release`, `payment_refund`, `payment_reversal`, `payment_unreconciled`, `payout`, `payout_cancel`, `payout_failure`, `payout_minimum_balance_hold`, `payout_minimum_balance_release`, `refund`, `refund_failure`, `reserve_transaction`, `reserved_funds`, `reserve_hold`, `reserve_release`, `stripe_fee`, `stripe_fx_fee`, `stripe_balance_payment_debit`, `stripe_balance_payment_debit_reversal`, `tax_fee`, `topup`, `topup_reversal`, `transfer`, `transfer_cancel`, `transfer_failure`, or `transfer_refund`.
4040
*/
4141
type?: string;
4242
}

0 commit comments

Comments
 (0)