Skip to content

Commit

Permalink
feat: generate latest changes from OpenApi spec
Browse files Browse the repository at this point in the history
  • Loading branch information
arlyon committed Oct 14, 2024
1 parent c71a7eb commit c4c60e7
Show file tree
Hide file tree
Showing 166 changed files with 15,182 additions and 3,266 deletions.
1 change: 0 additions & 1 deletion openapi/src/metadata.rs
Original file line number Diff line number Diff line change
Expand Up @@ -250,7 +250,6 @@ pub fn feature_groups() -> BTreeMap<&'static str, &'static str> {
("file_link", "core"),
("setup_intent", "core"),
("payout", "core"),
("platform_tax_fee", "core"),
("product", "core"),
("refund", "core"),
("reserve_transaction", "core"),
Expand Down
2 changes: 1 addition & 1 deletion openapi/version.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{
"version": "v814"
"version": "v1288"
}
3 changes: 0 additions & 3 deletions src/resources.rs
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,6 @@ pub use {
payment_method_options_us_bank_account_mandate_options::*,
payment_method_config_biz_payment_method_configuration_details::*,
payout::*,
platform_tax_fee::*,
price::*,
product::*,
radar_radar_options::*,
Expand All @@ -171,7 +170,6 @@ pub use {
card::*,
bank_account::*,
payment_method::*,
payment_method_card_present_networks::*,
source::*,
},
};
Expand Down Expand Up @@ -230,7 +228,6 @@ pub use {
invoice_payment_method_options_customer_balance::*,
invoice_payment_method_options_us_bank_account::*,
invoiceitem::*,
invoices_shipping_cost::*,
line_item::*,
plan::*,
plan::PlanInterval,
Expand Down
3 changes: 0 additions & 3 deletions src/resources/generated.rs
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,6 @@ pub mod core {
pub mod payment_method_options_customer_balance_eu_bank_account;
pub mod payment_method_options_us_bank_account_mandate_options;
pub mod payout;
pub mod platform_tax_fee;
pub mod price;
pub mod product;
pub mod radar_radar_options;
Expand All @@ -59,7 +58,6 @@ pub mod payment {
pub mod bank_account;
pub mod card;
pub mod payment_method;
pub mod payment_method_card_present_networks;
pub mod source;
}

Expand Down Expand Up @@ -96,7 +94,6 @@ pub mod billing {
pub mod invoice_payment_method_options_konbini;
pub mod invoice_payment_method_options_us_bank_account;
pub mod invoiceitem;
pub mod invoices_shipping_cost;
pub mod line_item;
pub mod plan;
pub mod promotion_code;
Expand Down
1,196 changes: 1,102 additions & 94 deletions src/resources/generated/account.rs

Large diffs are not rendered by default.

3 changes: 2 additions & 1 deletion src/resources/generated/account_link.rs
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,8 @@ pub struct CreateAccountLinkCollectionOptions {
/// Specifies whether the platform collects only currently_due requirements (`currently_due`) or both currently_due and eventually_due requirements (`eventually_due`).
///
/// If you don't specify `collection_options`, the default value is `currently_due`.
pub fields: CreateAccountLinkCollectionOptionsFields,
#[serde(skip_serializing_if = "Option::is_none")]
pub fields: Option<CreateAccountLinkCollectionOptionsFields>,

/// Specifies whether the platform collects future_requirements in addition to requirements in Connect Onboarding.
///
Expand Down
Loading

0 comments on commit c4c60e7

Please sign in to comment.