Skip to content

Commit 1e699b7

Browse files
Update generated code (#2581)
* Update generated code for v2183 and * Update generated code for v2184 and * Update generated code for v2186 and --------- Co-authored-by: Stripe OpenAPI <105521251+stripe-openapi[bot]@users.noreply.github.com>
1 parent 1781cf1 commit 1e699b7

Some content is hidden

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

57 files changed

+1012
-178
lines changed

CODEGEN_VERSION

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

OPENAPI_VERSION

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

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 = '2026-01-28.clover';
3+
export const ApiVersion = '2026-02-25.clover';
44
export const ApiMajorVersion = 'clover';

test/resources/generated_examples_test.spec.js

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

types/Billing/AlertsResource.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ declare module 'stripe' {
3333
filters?: Array<UsageThreshold.Filter>;
3434

3535
/**
36-
* Defines at which value the alert will fire.
36+
* Defines the threshold value that triggers the alert.
3737
*/
3838
gte: number;
3939

types/BillingPortal/SessionsResource.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ declare module 'stripe' {
55
namespace BillingPortal {
66
interface SessionCreateParams {
77
/**
8-
* The ID of an existing [configuration](https://docs.stripe.com/api/customer_portal/configuration) to use for this session, describing its functionality and features. If not specified, the session uses the default configuration.
8+
* The ID of an existing [configuration](https://docs.stripe.com/api/customer_portal/configurations) to use for this session, describing its functionality and features. If not specified, the session uses the default configuration.
99
*/
1010
configuration?: string;
1111

types/Charges.d.ts

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1338,6 +1338,11 @@ declare module 'stripe' {
13381338
*/
13391339
last4: string | null;
13401340

1341+
/**
1342+
* ID of the [location](https://docs.stripe.com/api/terminal/locations) that this transaction's reader is assigned to.
1343+
*/
1344+
location?: string;
1345+
13411346
/**
13421347
* Identifies which network this charge was processed on. Can be `amex`, `cartes_bancaires`, `diners`, `discover`, `eftpos_au`, `interac`, `jcb`, `link`, `mastercard`, `unionpay`, `visa`, or `unknown`.
13431348
*/
@@ -1368,6 +1373,11 @@ declare module 'stripe' {
13681373
*/
13691374
read_method: CardPresent.ReadMethod | null;
13701375

1376+
/**
1377+
* ID of the [reader](https://docs.stripe.com/api/terminal/readers) this transaction was made on.
1378+
*/
1379+
reader?: string;
1380+
13711381
/**
13721382
* A collection of fields required to be displayed on receipts. Only required for EMV transactions.
13731383
*/
@@ -1781,6 +1791,11 @@ declare module 'stripe' {
17811791
*/
17821792
last4: string | null;
17831793

1794+
/**
1795+
* ID of the [location](https://docs.stripe.com/api/terminal/locations) that this transaction's reader is assigned to.
1796+
*/
1797+
location?: string;
1798+
17841799
/**
17851800
* Identifies which network this charge was processed on. Can be `amex`, `cartes_bancaires`, `diners`, `discover`, `eftpos_au`, `interac`, `jcb`, `link`, `mastercard`, `unionpay`, `visa`, or `unknown`.
17861801
*/
@@ -1801,6 +1816,11 @@ declare module 'stripe' {
18011816
*/
18021817
read_method: InteracPresent.ReadMethod | null;
18031818

1819+
/**
1820+
* ID of the [reader](https://docs.stripe.com/api/terminal/readers) this transaction was made on.
1821+
*/
1822+
reader?: string;
1823+
18041824
/**
18051825
* A collection of fields required to be displayed on receipts. Only required for EMV transactions.
18061826
*/

types/Checkout/Sessions.d.ts

Lines changed: 10 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -672,7 +672,7 @@ declare module 'stripe' {
672672

673673
interface TaxId {
674674
/**
675-
* The type of the tax ID, one of `ad_nrt`, `ar_cuit`, `eu_vat`, `bo_tin`, `br_cnpj`, `br_cpf`, `cn_tin`, `co_nit`, `cr_tin`, `do_rcn`, `ec_ruc`, `eu_oss_vat`, `hr_oib`, `pe_ruc`, `ro_tin`, `rs_pib`, `sv_nit`, `uy_ruc`, `ve_rif`, `vn_tin`, `gb_vat`, `nz_gst`, `au_abn`, `au_arn`, `in_gst`, `no_vat`, `no_voec`, `za_vat`, `ch_vat`, `mx_rfc`, `sg_uen`, `ru_inn`, `ru_kpp`, `ca_bn`, `hk_br`, `es_cif`, `pl_nip`, `tw_vat`, `th_vat`, `jp_cn`, `jp_rn`, `jp_trn`, `li_uid`, `li_vat`, `my_itn`, `us_ein`, `kr_brn`, `ca_qst`, `ca_gst_hst`, `ca_pst_bc`, `ca_pst_mb`, `ca_pst_sk`, `my_sst`, `sg_gst`, `ae_trn`, `cl_tin`, `sa_vat`, `id_npwp`, `my_frp`, `il_vat`, `ge_vat`, `ua_vat`, `is_vat`, `bg_uic`, `hu_tin`, `si_tin`, `ke_pin`, `tr_tin`, `eg_tin`, `ph_tin`, `al_tin`, `bh_vat`, `kz_bin`, `ng_tin`, `om_vat`, `de_stn`, `ch_uid`, `tz_vat`, `uz_vat`, `uz_tin`, `md_vat`, `ma_vat`, `by_tin`, `ao_tin`, `bs_tin`, `bb_tin`, `cd_nif`, `mr_nif`, `me_pib`, `zw_tin`, `ba_tin`, `gn_nif`, `mk_vat`, `sr_fin`, `sn_ninea`, `am_tin`, `np_pan`, `tj_tin`, `ug_tin`, `zm_tin`, `kh_tin`, `aw_tin`, `az_tin`, `bd_bin`, `bj_ifu`, `et_tin`, `kg_tin`, `la_tin`, `cm_niu`, `cv_nif`, `bf_ifu`, or `unknown`
675+
* The type of the tax ID, one of `ad_nrt`, `ar_cuit`, `eu_vat`, `bo_tin`, `br_cnpj`, `br_cpf`, `cn_tin`, `co_nit`, `cr_tin`, `do_rcn`, `ec_ruc`, `eu_oss_vat`, `hr_oib`, `pe_ruc`, `ro_tin`, `rs_pib`, `sv_nit`, `uy_ruc`, `ve_rif`, `vn_tin`, `gb_vat`, `nz_gst`, `au_abn`, `au_arn`, `in_gst`, `no_vat`, `no_voec`, `za_vat`, `ch_vat`, `mx_rfc`, `sg_uen`, `ru_inn`, `ru_kpp`, `ca_bn`, `hk_br`, `es_cif`, `pl_nip`, `tw_vat`, `th_vat`, `jp_cn`, `jp_rn`, `jp_trn`, `li_uid`, `li_vat`, `lk_vat`, `my_itn`, `us_ein`, `kr_brn`, `ca_qst`, `ca_gst_hst`, `ca_pst_bc`, `ca_pst_mb`, `ca_pst_sk`, `my_sst`, `sg_gst`, `ae_trn`, `cl_tin`, `sa_vat`, `id_npwp`, `my_frp`, `il_vat`, `ge_vat`, `ua_vat`, `is_vat`, `bg_uic`, `hu_tin`, `si_tin`, `ke_pin`, `tr_tin`, `eg_tin`, `ph_tin`, `al_tin`, `bh_vat`, `kz_bin`, `ng_tin`, `om_vat`, `de_stn`, `ch_uid`, `tz_vat`, `uz_vat`, `uz_tin`, `md_vat`, `ma_vat`, `by_tin`, `ao_tin`, `bs_tin`, `bb_tin`, `cd_nif`, `mr_nif`, `me_pib`, `zw_tin`, `ba_tin`, `gn_nif`, `mk_vat`, `sr_fin`, `sn_ninea`, `am_tin`, `np_pan`, `tj_tin`, `ug_tin`, `zm_tin`, `kh_tin`, `aw_tin`, `az_tin`, `bd_bin`, `bj_ifu`, `et_tin`, `kg_tin`, `la_tin`, `cm_niu`, `cv_nif`, `bf_ifu`, or `unknown`
676676
*/
677677
type: TaxId.Type;
678678

@@ -750,6 +750,7 @@ declare module 'stripe' {
750750
| 'la_tin'
751751
| 'li_uid'
752752
| 'li_vat'
753+
| 'lk_vat'
753754
| 'ma_vat'
754755
| 'md_vat'
755756
| 'me_pib'
@@ -827,7 +828,7 @@ declare module 'stripe' {
827828
namespace CustomField {
828829
interface Dropdown {
829830
/**
830-
* The value that will pre-fill on the payment page.
831+
* The value that pre-fills on the payment page.
831832
*/
832833
default_value: string | null;
833834

@@ -870,7 +871,7 @@ declare module 'stripe' {
870871

871872
interface Numeric {
872873
/**
873-
* The value that will pre-fill the field on the payment page.
874+
* The value that pre-fills the field on the payment page.
874875
*/
875876
default_value: string | null;
876877

@@ -892,7 +893,7 @@ declare module 'stripe' {
892893

893894
interface Text {
894895
/**
895-
* The value that will pre-fill the field on the payment page.
896+
* The value that pre-fills the field on the payment page.
896897
*/
897898
default_value: string | null;
898899

@@ -940,28 +941,28 @@ declare module 'stripe' {
940941
namespace CustomText {
941942
interface AfterSubmit {
942943
/**
943-
* Text may be up to 1200 characters in length.
944+
* Text can be up to 1200 characters in length.
944945
*/
945946
message: string;
946947
}
947948

948949
interface ShippingAddress {
949950
/**
950-
* Text may be up to 1200 characters in length.
951+
* Text can be up to 1200 characters in length.
951952
*/
952953
message: string;
953954
}
954955

955956
interface Submit {
956957
/**
957-
* Text may be up to 1200 characters in length.
958+
* Text can be up to 1200 characters in length.
958959
*/
959960
message: string;
960961
}
961962

962963
interface TermsOfServiceAcceptance {
963964
/**
964-
* Text may be up to 1200 characters in length.
965+
* Text can be up to 1200 characters in length.
965966
*/
966967
message: string;
967968
}
@@ -1673,7 +1674,7 @@ declare module 'stripe' {
16731674
namespace BankTransfer {
16741675
interface EuBankTransfer {
16751676
/**
1676-
* The desired country code of the bank account information. Permitted values include: `BE`, `DE`, `ES`, `FR`, `IE`, or `NL`.
1677+
* The desired country code of the bank account information. Permitted values include: `DE`, `FR`, `IE`, or `NL`.
16771678
*/
16781679
country: EuBankTransfer.Country;
16791680
}

types/Checkout/SessionsResource.d.ts

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -607,7 +607,7 @@ declare module 'stripe' {
607607
namespace CustomField {
608608
interface Dropdown {
609609
/**
610-
* The value that will pre-fill the field on the payment page.Must match a `value` in the `options` array.
610+
* The value that pre-fills the field on the payment page.Must match a `value` in the `options` array.
611611
*/
612612
default_value?: string;
613613

@@ -645,7 +645,7 @@ declare module 'stripe' {
645645

646646
interface Numeric {
647647
/**
648-
* The value that will pre-fill the field on the payment page.
648+
* The value that pre-fills the field on the payment page.
649649
*/
650650
default_value?: string;
651651

@@ -662,7 +662,7 @@ declare module 'stripe' {
662662

663663
interface Text {
664664
/**
665-
* The value that will pre-fill the field on the payment page.
665+
* The value that pre-fills the field on the payment page.
666666
*/
667667
default_value?: string;
668668

@@ -707,28 +707,28 @@ declare module 'stripe' {
707707
namespace CustomText {
708708
interface AfterSubmit {
709709
/**
710-
* Text may be up to 1200 characters in length.
710+
* Text can be up to 1200 characters in length.
711711
*/
712712
message: string;
713713
}
714714

715715
interface ShippingAddress {
716716
/**
717-
* Text may be up to 1200 characters in length.
717+
* Text can be up to 1200 characters in length.
718718
*/
719719
message: string;
720720
}
721721

722722
interface Submit {
723723
/**
724-
* Text may be up to 1200 characters in length.
724+
* Text can be up to 1200 characters in length.
725725
*/
726726
message: string;
727727
}
728728

729729
interface TermsOfServiceAcceptance {
730730
/**
731-
* Text may be up to 1200 characters in length.
731+
* Text can be up to 1200 characters in length.
732732
*/
733733
message: string;
734734
}
@@ -1957,7 +1957,7 @@ declare module 'stripe' {
19571957
namespace BankTransfer {
19581958
interface EuBankTransfer {
19591959
/**
1960-
* The desired country code of the bank account information. Permitted values include: `BE`, `DE`, `ES`, `FR`, `IE`, or `NL`.
1960+
* The desired country code of the bank account information. Permitted values include: `DE`, `FR`, `IE`, or `NL`.
19611961
*/
19621962
country: string;
19631963
}

types/ConfirmationTokens.d.ts

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -634,6 +634,11 @@ declare module 'stripe' {
634634
*/
635635
last4: string | null;
636636

637+
/**
638+
* ID of the [location](https://docs.stripe.com/api/terminal/locations) that this transaction's reader is assigned to.
639+
*/
640+
location?: string;
641+
637642
/**
638643
* Identifies which network this charge was processed on. Can be `amex`, `cartes_bancaires`, `diners`, `discover`, `eftpos_au`, `interac`, `jcb`, `link`, `mastercard`, `unionpay`, `visa`, or `unknown`.
639644
*/
@@ -664,6 +669,11 @@ declare module 'stripe' {
664669
*/
665670
read_method: CardPresent.ReadMethod | null;
666671

672+
/**
673+
* ID of the [reader](https://docs.stripe.com/api/terminal/readers) this transaction was made on.
674+
*/
675+
reader?: string;
676+
667677
/**
668678
* A collection of fields required to be displayed on receipts. Only required for EMV transactions.
669679
*/

0 commit comments

Comments
 (0)