Skip to content

Commit 6d1d8a4

Browse files
committed
chore: update openapi and add reserve crate
1 parent c369623 commit 6d1d8a4

File tree

94 files changed

+5348
-446
lines changed

Some content is hidden

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

94 files changed

+5348
-446
lines changed

Cargo.lock

Lines changed: 14 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

async-stripe-webhook/src/generated/mod.rs

Lines changed: 77 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1154,6 +1154,27 @@ pub enum EventObject {
11541154
/// Occurs whenever a `ReportType` is updated (typically to indicate that a new day's data has come available).
11551155
#[cfg(feature = "async-stripe-misc")]
11561156
ReportingReportTypeUpdated(Box<stripe_misc::ReportingReportType>),
1157+
/// Occurs when a reserve hold is created.
1158+
#[cfg(feature = "async-stripe-reserve")]
1159+
ReserveHoldCreated(Box<stripe_reserve::ReserveHold>),
1160+
/// Occurs when a reserve hold is updated.
1161+
#[cfg(feature = "async-stripe-reserve")]
1162+
ReserveHoldUpdated(Box<stripe_reserve::ReserveHold>),
1163+
/// Occurs when a reserve plan is created.
1164+
#[cfg(feature = "async-stripe-reserve")]
1165+
ReservePlanCreated(Box<stripe_reserve::ReservePlan>),
1166+
/// Occurs when a reserve plan is disabled.
1167+
#[cfg(feature = "async-stripe-reserve")]
1168+
ReservePlanDisabled(Box<stripe_reserve::ReservePlan>),
1169+
/// Occurs when a reserve plan expires.
1170+
#[cfg(feature = "async-stripe-reserve")]
1171+
ReservePlanExpired(Box<stripe_reserve::ReservePlan>),
1172+
/// Occurs when a reserve plan is updated.
1173+
#[cfg(feature = "async-stripe-reserve")]
1174+
ReservePlanUpdated(Box<stripe_reserve::ReservePlan>),
1175+
/// Occurs when a reserve release is created.
1176+
#[cfg(feature = "async-stripe-reserve")]
1177+
ReserveReleaseCreated(Box<stripe_reserve::ReserveRelease>),
11571178
/// Occurs whenever a review is closed.
11581179
/// The review's `reason` field indicates why: `approved`, `disputed`, `refunded`, `refunded_as_fraud`, or `canceled`.
11591180
ReviewClosed(Box<stripe_shared::Review>),
@@ -1946,6 +1967,34 @@ impl EventObject {
19461967
if typ == "reporting.report_type.updated" {
19471968
return parse_and_box(data).map(Self::ReportingReportTypeUpdated);
19481969
}
1970+
#[cfg(feature = "async-stripe-reserve")]
1971+
if typ == "reserve.hold.created" {
1972+
return parse_and_box(data).map(Self::ReserveHoldCreated);
1973+
}
1974+
#[cfg(feature = "async-stripe-reserve")]
1975+
if typ == "reserve.hold.updated" {
1976+
return parse_and_box(data).map(Self::ReserveHoldUpdated);
1977+
}
1978+
#[cfg(feature = "async-stripe-reserve")]
1979+
if typ == "reserve.plan.created" {
1980+
return parse_and_box(data).map(Self::ReservePlanCreated);
1981+
}
1982+
#[cfg(feature = "async-stripe-reserve")]
1983+
if typ == "reserve.plan.disabled" {
1984+
return parse_and_box(data).map(Self::ReservePlanDisabled);
1985+
}
1986+
#[cfg(feature = "async-stripe-reserve")]
1987+
if typ == "reserve.plan.expired" {
1988+
return parse_and_box(data).map(Self::ReservePlanExpired);
1989+
}
1990+
#[cfg(feature = "async-stripe-reserve")]
1991+
if typ == "reserve.plan.updated" {
1992+
return parse_and_box(data).map(Self::ReservePlanUpdated);
1993+
}
1994+
#[cfg(feature = "async-stripe-reserve")]
1995+
if typ == "reserve.release.created" {
1996+
return parse_and_box(data).map(Self::ReserveReleaseCreated);
1997+
}
19491998
if typ == "review.closed" {
19501999
return parse_and_box(data).map(Self::ReviewClosed);
19512000
}
@@ -2814,6 +2863,34 @@ impl EventObject {
28142863
if typ == "reporting.report_type.updated" {
28152864
return parse_and_box(data).map(Self::ReportingReportTypeUpdated);
28162865
}
2866+
#[cfg(feature = "async-stripe-reserve")]
2867+
if typ == "reserve.hold.created" {
2868+
return parse_and_box(data).map(Self::ReserveHoldCreated);
2869+
}
2870+
#[cfg(feature = "async-stripe-reserve")]
2871+
if typ == "reserve.hold.updated" {
2872+
return parse_and_box(data).map(Self::ReserveHoldUpdated);
2873+
}
2874+
#[cfg(feature = "async-stripe-reserve")]
2875+
if typ == "reserve.plan.created" {
2876+
return parse_and_box(data).map(Self::ReservePlanCreated);
2877+
}
2878+
#[cfg(feature = "async-stripe-reserve")]
2879+
if typ == "reserve.plan.disabled" {
2880+
return parse_and_box(data).map(Self::ReservePlanDisabled);
2881+
}
2882+
#[cfg(feature = "async-stripe-reserve")]
2883+
if typ == "reserve.plan.expired" {
2884+
return parse_and_box(data).map(Self::ReservePlanExpired);
2885+
}
2886+
#[cfg(feature = "async-stripe-reserve")]
2887+
if typ == "reserve.plan.updated" {
2888+
return parse_and_box(data).map(Self::ReservePlanUpdated);
2889+
}
2890+
#[cfg(feature = "async-stripe-reserve")]
2891+
if typ == "reserve.release.created" {
2892+
return parse_and_box(data).map(Self::ReserveReleaseCreated);
2893+
}
28172894
if typ == "review.closed" {
28182895
return parse_and_box(data).map(Self::ReviewClosed);
28192896
}

generated/async-stripe-billing/src/billing_alert/requests.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -196,7 +196,7 @@ pub struct CreateBillingAlertUsageThreshold {
196196
/// You can only specify up to one filter at this time.
197197
#[serde(skip_serializing_if = "Option::is_none")]
198198
pub filters: Option<Vec<CreateBillingAlertUsageThresholdFilters>>,
199-
/// Defines at which value the alert will fire.
199+
/// Defines the threshold value that triggers the alert.
200200
pub gte: i64,
201201
/// The [Billing Meter](/api/billing/meter) ID whose usage is monitored.
202202
pub meter: String,

generated/async-stripe-billing/src/billing_portal_session/requests.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -442,7 +442,7 @@ impl CreateBillingPortalSession {
442442
pub fn new() -> Self {
443443
Self { inner: CreateBillingPortalSessionBuilder::new() }
444444
}
445-
/// The ID of an existing [configuration](https://docs.stripe.com/api/customer_portal/configuration) to use for this session, describing its functionality and features.
445+
/// The ID of an existing [configuration](https://docs.stripe.com/api/customer_portal/configurations) to use for this session, describing its functionality and features.
446446
/// If not specified, the session uses the default configuration.
447447
pub fn configuration(mut self, configuration: impl Into<String>) -> Self {
448448
self.inner.configuration = Some(configuration.into());

generated/async-stripe-billing/src/credit_note/requests.rs

Lines changed: 21 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -309,14 +309,16 @@ pub struct PreviewCreditNoteLines {
309309
/// The line item quantity to credit.
310310
#[serde(skip_serializing_if = "Option::is_none")]
311311
pub quantity: Option<u64>,
312-
/// A list of up to 10 tax amounts for the credit note line item. Cannot be mixed with `tax_rates`.
312+
/// A list of up to 10 tax amounts for the credit note line item.
313+
/// Not valid when `tax_rates` is used or if invoice is set up with `automatic_tax[enabled]=true`.
313314
#[serde(skip_serializing_if = "Option::is_none")]
314315
pub tax_amounts: Option<Vec<TaxAmountWithTaxRateParam>>,
315316
/// The tax rates which apply to the credit note line item.
316-
/// Only valid when the `type` is `custom_line_item` and cannot be mixed with `tax_amounts`.
317+
/// Only valid when the `type` is `custom_line_item` and `tax_amounts` is not used.
317318
#[serde(skip_serializing_if = "Option::is_none")]
318319
pub tax_rates: Option<Vec<String>>,
319-
/// Type of the credit note line item, one of `invoice_line_item` or `custom_line_item`
320+
/// Type of the credit note line item, one of `invoice_line_item` or `custom_line_item`.
321+
/// `custom_line_item` is not valid when the invoice is set up with `automatic_tax[enabled]=true`.
320322
#[serde(rename = "type")]
321323
pub type_: PreviewCreditNoteLinesType,
322324
/// The integer unit amount in cents (or local equivalent) of the credit note line item.
@@ -344,7 +346,8 @@ impl PreviewCreditNoteLines {
344346
}
345347
}
346348
}
347-
/// Type of the credit note line item, one of `invoice_line_item` or `custom_line_item`
349+
/// Type of the credit note line item, one of `invoice_line_item` or `custom_line_item`.
350+
/// `custom_line_item` is not valid when the invoice is set up with `automatic_tax[enabled]=true`.
348351
#[derive(Clone, Eq, PartialEq)]
349352
#[non_exhaustive]
350353
pub enum PreviewCreditNoteLinesType {
@@ -754,14 +757,16 @@ pub struct PreviewLinesCreditNoteLines {
754757
/// The line item quantity to credit.
755758
#[serde(skip_serializing_if = "Option::is_none")]
756759
pub quantity: Option<u64>,
757-
/// A list of up to 10 tax amounts for the credit note line item. Cannot be mixed with `tax_rates`.
760+
/// A list of up to 10 tax amounts for the credit note line item.
761+
/// Not valid when `tax_rates` is used or if invoice is set up with `automatic_tax[enabled]=true`.
758762
#[serde(skip_serializing_if = "Option::is_none")]
759763
pub tax_amounts: Option<Vec<TaxAmountWithTaxRateParam>>,
760764
/// The tax rates which apply to the credit note line item.
761-
/// Only valid when the `type` is `custom_line_item` and cannot be mixed with `tax_amounts`.
765+
/// Only valid when the `type` is `custom_line_item` and `tax_amounts` is not used.
762766
#[serde(skip_serializing_if = "Option::is_none")]
763767
pub tax_rates: Option<Vec<String>>,
764-
/// Type of the credit note line item, one of `invoice_line_item` or `custom_line_item`
768+
/// Type of the credit note line item, one of `invoice_line_item` or `custom_line_item`.
769+
/// `custom_line_item` is not valid when the invoice is set up with `automatic_tax[enabled]=true`.
765770
#[serde(rename = "type")]
766771
pub type_: PreviewLinesCreditNoteLinesType,
767772
/// The integer unit amount in cents (or local equivalent) of the credit note line item.
@@ -789,7 +794,8 @@ impl PreviewLinesCreditNoteLines {
789794
}
790795
}
791796
}
792-
/// Type of the credit note line item, one of `invoice_line_item` or `custom_line_item`
797+
/// Type of the credit note line item, one of `invoice_line_item` or `custom_line_item`.
798+
/// `custom_line_item` is not valid when the invoice is set up with `automatic_tax[enabled]=true`.
793799
#[derive(Clone, Eq, PartialEq)]
794800
#[non_exhaustive]
795801
pub enum PreviewLinesCreditNoteLinesType {
@@ -1218,14 +1224,16 @@ pub struct CreateCreditNoteLines {
12181224
/// The line item quantity to credit.
12191225
#[serde(skip_serializing_if = "Option::is_none")]
12201226
pub quantity: Option<u64>,
1221-
/// A list of up to 10 tax amounts for the credit note line item. Cannot be mixed with `tax_rates`.
1227+
/// A list of up to 10 tax amounts for the credit note line item.
1228+
/// Not valid when `tax_rates` is used or if invoice is set up with `automatic_tax[enabled]=true`.
12221229
#[serde(skip_serializing_if = "Option::is_none")]
12231230
pub tax_amounts: Option<Vec<TaxAmountWithTaxRateParam>>,
12241231
/// The tax rates which apply to the credit note line item.
1225-
/// Only valid when the `type` is `custom_line_item` and cannot be mixed with `tax_amounts`.
1232+
/// Only valid when the `type` is `custom_line_item` and `tax_amounts` is not used.
12261233
#[serde(skip_serializing_if = "Option::is_none")]
12271234
pub tax_rates: Option<Vec<String>>,
1228-
/// Type of the credit note line item, one of `invoice_line_item` or `custom_line_item`
1235+
/// Type of the credit note line item, one of `invoice_line_item` or `custom_line_item`.
1236+
/// `custom_line_item` is not valid when the invoice is set up with `automatic_tax[enabled]=true`.
12291237
#[serde(rename = "type")]
12301238
pub type_: CreateCreditNoteLinesType,
12311239
/// The integer unit amount in cents (or local equivalent) of the credit note line item.
@@ -1253,7 +1261,8 @@ impl CreateCreditNoteLines {
12531261
}
12541262
}
12551263
}
1256-
/// Type of the credit note line item, one of `invoice_line_item` or `custom_line_item`
1264+
/// Type of the credit note line item, one of `invoice_line_item` or `custom_line_item`.
1265+
/// `custom_line_item` is not valid when the invoice is set up with `automatic_tax[enabled]=true`.
12571266
#[derive(Clone, Eq, PartialEq)]
12581267
#[non_exhaustive]
12591268
pub enum CreateCreditNoteLinesType {

generated/async-stripe-billing/src/invoice/requests.rs

Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1922,6 +1922,7 @@ pub enum CreateInvoicePaymentSettingsPaymentMethodTypes {
19221922
NaverPay,
19231923
NzBankAccount,
19241924
P24,
1925+
PayByBank,
19251926
Payco,
19261927
Paynow,
19271928
Paypal,
@@ -1970,6 +1971,7 @@ impl CreateInvoicePaymentSettingsPaymentMethodTypes {
19701971
NaverPay => "naver_pay",
19711972
NzBankAccount => "nz_bank_account",
19721973
P24 => "p24",
1974+
PayByBank => "pay_by_bank",
19731975
Payco => "payco",
19741976
Paynow => "paynow",
19751977
Paypal => "paypal",
@@ -2021,6 +2023,7 @@ impl std::str::FromStr for CreateInvoicePaymentSettingsPaymentMethodTypes {
20212023
"naver_pay" => Ok(NaverPay),
20222024
"nz_bank_account" => Ok(NzBankAccount),
20232025
"p24" => Ok(P24),
2026+
"pay_by_bank" => Ok(PayByBank),
20242027
"payco" => Ok(Payco),
20252028
"paynow" => Ok(Paynow),
20262029
"paypal" => Ok(Paypal),
@@ -4600,6 +4603,7 @@ pub enum UpdateInvoicePaymentSettingsPaymentMethodTypes {
46004603
NaverPay,
46014604
NzBankAccount,
46024605
P24,
4606+
PayByBank,
46034607
Payco,
46044608
Paynow,
46054609
Paypal,
@@ -4648,6 +4652,7 @@ impl UpdateInvoicePaymentSettingsPaymentMethodTypes {
46484652
NaverPay => "naver_pay",
46494653
NzBankAccount => "nz_bank_account",
46504654
P24 => "p24",
4655+
PayByBank => "pay_by_bank",
46514656
Payco => "payco",
46524657
Paynow => "paynow",
46534658
Paypal => "paypal",
@@ -4699,6 +4704,7 @@ impl std::str::FromStr for UpdateInvoicePaymentSettingsPaymentMethodTypes {
46994704
"naver_pay" => Ok(NaverPay),
47004705
"nz_bank_account" => Ok(NzBankAccount),
47014706
"p24" => Ok(P24),
4707+
"pay_by_bank" => Ok(PayByBank),
47024708
"payco" => Ok(Payco),
47034709
"paynow" => Ok(Paynow),
47044710
"paypal" => Ok(Paypal),
@@ -7919,7 +7925,7 @@ impl<'de> serde::Deserialize<'de> for CreatePreviewInvoiceCustomerDetailsTaxExem
79197925
/// The customer's tax IDs.
79207926
#[derive(Clone, Debug, serde::Serialize)]
79217927
pub struct CreatePreviewInvoiceCustomerDetailsTaxIds {
7922-
/// Type of the tax ID, one of `ad_nrt`, `ae_trn`, `al_tin`, `am_tin`, `ao_tin`, `ar_cuit`, `au_abn`, `au_arn`, `aw_tin`, `az_tin`, `ba_tin`, `bb_tin`, `bd_bin`, `bf_ifu`, `bg_uic`, `bh_vat`, `bj_ifu`, `bo_tin`, `br_cnpj`, `br_cpf`, `bs_tin`, `by_tin`, `ca_bn`, `ca_gst_hst`, `ca_pst_bc`, `ca_pst_mb`, `ca_pst_sk`, `ca_qst`, `cd_nif`, `ch_uid`, `ch_vat`, `cl_tin`, `cm_niu`, `cn_tin`, `co_nit`, `cr_tin`, `cv_nif`, `de_stn`, `do_rcn`, `ec_ruc`, `eg_tin`, `es_cif`, `et_tin`, `eu_oss_vat`, `eu_vat`, `gb_vat`, `ge_vat`, `gn_nif`, `hk_br`, `hr_oib`, `hu_tin`, `id_npwp`, `il_vat`, `in_gst`, `is_vat`, `jp_cn`, `jp_rn`, `jp_trn`, `ke_pin`, `kg_tin`, `kh_tin`, `kr_brn`, `kz_bin`, `la_tin`, `li_uid`, `li_vat`, `ma_vat`, `md_vat`, `me_pib`, `mk_vat`, `mr_nif`, `mx_rfc`, `my_frp`, `my_itn`, `my_sst`, `ng_tin`, `no_vat`, `no_voec`, `np_pan`, `nz_gst`, `om_vat`, `pe_ruc`, `ph_tin`, `pl_nip`, `ro_tin`, `rs_pib`, `ru_inn`, `ru_kpp`, `sa_vat`, `sg_gst`, `sg_uen`, `si_tin`, `sn_ninea`, `sr_fin`, `sv_nit`, `th_vat`, `tj_tin`, `tr_tin`, `tw_vat`, `tz_vat`, `ua_vat`, `ug_tin`, `us_ein`, `uy_ruc`, `uz_tin`, `uz_vat`, `ve_rif`, `vn_tin`, `za_vat`, `zm_tin`, or `zw_tin`.
7928+
/// Type of the tax ID, one of `ad_nrt`, `ae_trn`, `al_tin`, `am_tin`, `ao_tin`, `ar_cuit`, `au_abn`, `au_arn`, `aw_tin`, `az_tin`, `ba_tin`, `bb_tin`, `bd_bin`, `bf_ifu`, `bg_uic`, `bh_vat`, `bj_ifu`, `bo_tin`, `br_cnpj`, `br_cpf`, `bs_tin`, `by_tin`, `ca_bn`, `ca_gst_hst`, `ca_pst_bc`, `ca_pst_mb`, `ca_pst_sk`, `ca_qst`, `cd_nif`, `ch_uid`, `ch_vat`, `cl_tin`, `cm_niu`, `cn_tin`, `co_nit`, `cr_tin`, `cv_nif`, `de_stn`, `do_rcn`, `ec_ruc`, `eg_tin`, `es_cif`, `et_tin`, `eu_oss_vat`, `eu_vat`, `gb_vat`, `ge_vat`, `gn_nif`, `hk_br`, `hr_oib`, `hu_tin`, `id_npwp`, `il_vat`, `in_gst`, `is_vat`, `jp_cn`, `jp_rn`, `jp_trn`, `ke_pin`, `kg_tin`, `kh_tin`, `kr_brn`, `kz_bin`, `la_tin`, `li_uid`, `li_vat`, `lk_vat`, `ma_vat`, `md_vat`, `me_pib`, `mk_vat`, `mr_nif`, `mx_rfc`, `my_frp`, `my_itn`, `my_sst`, `ng_tin`, `no_vat`, `no_voec`, `np_pan`, `nz_gst`, `om_vat`, `pe_ruc`, `ph_tin`, `pl_nip`, `ro_tin`, `rs_pib`, `ru_inn`, `ru_kpp`, `sa_vat`, `sg_gst`, `sg_uen`, `si_tin`, `sn_ninea`, `sr_fin`, `sv_nit`, `th_vat`, `tj_tin`, `tr_tin`, `tw_vat`, `tz_vat`, `ua_vat`, `ug_tin`, `us_ein`, `uy_ruc`, `uz_tin`, `uz_vat`, `ve_rif`, `vn_tin`, `za_vat`, `zm_tin`, or `zw_tin`.
79237929
#[serde(rename = "type")]
79247930
pub type_: CreatePreviewInvoiceCustomerDetailsTaxIdsType,
79257931
/// Value of the tax ID.
@@ -7933,7 +7939,7 @@ impl CreatePreviewInvoiceCustomerDetailsTaxIds {
79337939
Self { type_: type_.into(), value: value.into() }
79347940
}
79357941
}
7936-
/// Type of the tax ID, one of `ad_nrt`, `ae_trn`, `al_tin`, `am_tin`, `ao_tin`, `ar_cuit`, `au_abn`, `au_arn`, `aw_tin`, `az_tin`, `ba_tin`, `bb_tin`, `bd_bin`, `bf_ifu`, `bg_uic`, `bh_vat`, `bj_ifu`, `bo_tin`, `br_cnpj`, `br_cpf`, `bs_tin`, `by_tin`, `ca_bn`, `ca_gst_hst`, `ca_pst_bc`, `ca_pst_mb`, `ca_pst_sk`, `ca_qst`, `cd_nif`, `ch_uid`, `ch_vat`, `cl_tin`, `cm_niu`, `cn_tin`, `co_nit`, `cr_tin`, `cv_nif`, `de_stn`, `do_rcn`, `ec_ruc`, `eg_tin`, `es_cif`, `et_tin`, `eu_oss_vat`, `eu_vat`, `gb_vat`, `ge_vat`, `gn_nif`, `hk_br`, `hr_oib`, `hu_tin`, `id_npwp`, `il_vat`, `in_gst`, `is_vat`, `jp_cn`, `jp_rn`, `jp_trn`, `ke_pin`, `kg_tin`, `kh_tin`, `kr_brn`, `kz_bin`, `la_tin`, `li_uid`, `li_vat`, `ma_vat`, `md_vat`, `me_pib`, `mk_vat`, `mr_nif`, `mx_rfc`, `my_frp`, `my_itn`, `my_sst`, `ng_tin`, `no_vat`, `no_voec`, `np_pan`, `nz_gst`, `om_vat`, `pe_ruc`, `ph_tin`, `pl_nip`, `ro_tin`, `rs_pib`, `ru_inn`, `ru_kpp`, `sa_vat`, `sg_gst`, `sg_uen`, `si_tin`, `sn_ninea`, `sr_fin`, `sv_nit`, `th_vat`, `tj_tin`, `tr_tin`, `tw_vat`, `tz_vat`, `ua_vat`, `ug_tin`, `us_ein`, `uy_ruc`, `uz_tin`, `uz_vat`, `ve_rif`, `vn_tin`, `za_vat`, `zm_tin`, or `zw_tin`.
7942+
/// Type of the tax ID, one of `ad_nrt`, `ae_trn`, `al_tin`, `am_tin`, `ao_tin`, `ar_cuit`, `au_abn`, `au_arn`, `aw_tin`, `az_tin`, `ba_tin`, `bb_tin`, `bd_bin`, `bf_ifu`, `bg_uic`, `bh_vat`, `bj_ifu`, `bo_tin`, `br_cnpj`, `br_cpf`, `bs_tin`, `by_tin`, `ca_bn`, `ca_gst_hst`, `ca_pst_bc`, `ca_pst_mb`, `ca_pst_sk`, `ca_qst`, `cd_nif`, `ch_uid`, `ch_vat`, `cl_tin`, `cm_niu`, `cn_tin`, `co_nit`, `cr_tin`, `cv_nif`, `de_stn`, `do_rcn`, `ec_ruc`, `eg_tin`, `es_cif`, `et_tin`, `eu_oss_vat`, `eu_vat`, `gb_vat`, `ge_vat`, `gn_nif`, `hk_br`, `hr_oib`, `hu_tin`, `id_npwp`, `il_vat`, `in_gst`, `is_vat`, `jp_cn`, `jp_rn`, `jp_trn`, `ke_pin`, `kg_tin`, `kh_tin`, `kr_brn`, `kz_bin`, `la_tin`, `li_uid`, `li_vat`, `lk_vat`, `ma_vat`, `md_vat`, `me_pib`, `mk_vat`, `mr_nif`, `mx_rfc`, `my_frp`, `my_itn`, `my_sst`, `ng_tin`, `no_vat`, `no_voec`, `np_pan`, `nz_gst`, `om_vat`, `pe_ruc`, `ph_tin`, `pl_nip`, `ro_tin`, `rs_pib`, `ru_inn`, `ru_kpp`, `sa_vat`, `sg_gst`, `sg_uen`, `si_tin`, `sn_ninea`, `sr_fin`, `sv_nit`, `th_vat`, `tj_tin`, `tr_tin`, `tw_vat`, `tz_vat`, `ua_vat`, `ug_tin`, `us_ein`, `uy_ruc`, `uz_tin`, `uz_vat`, `ve_rif`, `vn_tin`, `za_vat`, `zm_tin`, or `zw_tin`.
79377943
#[derive(Clone, Eq, PartialEq)]
79387944
#[non_exhaustive]
79397945
pub enum CreatePreviewInvoiceCustomerDetailsTaxIdsType {
@@ -8003,6 +8009,7 @@ pub enum CreatePreviewInvoiceCustomerDetailsTaxIdsType {
80038009
LaTin,
80048010
LiUid,
80058011
LiVat,
8012+
LkVat,
80068013
MaVat,
80078014
MdVat,
80088015
MePib,
@@ -8121,6 +8128,7 @@ impl CreatePreviewInvoiceCustomerDetailsTaxIdsType {
81218128
LaTin => "la_tin",
81228129
LiUid => "li_uid",
81238130
LiVat => "li_vat",
8131+
LkVat => "lk_vat",
81248132
MaVat => "ma_vat",
81258133
MdVat => "md_vat",
81268134
MePib => "me_pib",
@@ -8242,6 +8250,7 @@ impl std::str::FromStr for CreatePreviewInvoiceCustomerDetailsTaxIdsType {
82428250
"la_tin" => Ok(LaTin),
82438251
"li_uid" => Ok(LiUid),
82448252
"li_vat" => Ok(LiVat),
8253+
"lk_vat" => Ok(LkVat),
82458254
"ma_vat" => Ok(MaVat),
82468255
"md_vat" => Ok(MdVat),
82478256
"me_pib" => Ok(MePib),
@@ -11336,7 +11345,7 @@ impl CustomFieldParams {
1133611345
#[derive(Clone, Debug, serde::Serialize)]
1133711346
pub struct EuBankTransferParam {
1133811347
/// The desired country code of the bank account information.
11339-
/// Permitted values include: `BE`, `DE`, `ES`, `FR`, `IE`, or `NL`.
11348+
/// Permitted values include: `DE`, `FR`, `IE`, or `NL`.
1134011349
pub country: String,
1134111350
}
1134211351
impl EuBankTransferParam {

0 commit comments

Comments
 (0)