Skip to content

Commit

Permalink
Add some manual renaming to lessen breaking changes / use clearer names
Browse files Browse the repository at this point in the history
  • Loading branch information
mzeitlin11 committed Nov 30, 2023
1 parent 8c04938 commit 975440d
Show file tree
Hide file tree
Showing 39 changed files with 296 additions and 281 deletions.
6 changes: 3 additions & 3 deletions crate_info.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
| CreditNote | CreditNote | stripe_billing | credit_note |
| CreditNoteLineItem | CreditNoteLineItem | stripe_billing | credit_note_line_item |
| Invoice | Invoice | stripe_billing | invoice |
| Invoiceitem | Invoiceitem | stripe_billing | invoiceitem |
| LineItem | LineItem | stripe_billing | line_item |
| InvoiceItem | Invoiceitem | stripe_billing | invoice_item |
| InvoiceLineItem | LineItem | stripe_billing | invoice_line_item |
| UsageRecordSummary | UsageRecordSummary | stripe_billing | usage_record_summary |
| Plan | Plan | stripe_billing | plan |
| Quote | Quote | stripe_billing | quote |
Expand All @@ -25,7 +25,7 @@
| Capability | Capability | stripe_connect | capability |
| CountrySpec | CountrySpec | stripe_connect | country_spec |
| ExternalAccount | ExternalAccount | stripe_connect | external_account |
| FeeRefund | FeeRefund | stripe_connect | fee_refund |
| ApplicationFeeRefund | FeeRefund | stripe_connect | application_fee_refund |
| LoginLink | LoginLink | stripe_connect | login_link |
| Person | Person | stripe_connect | person |
| Topup | Topup | stripe_connect | topup |
Expand Down
8 changes: 4 additions & 4 deletions generated/stripe_billing/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,8 @@ billing_portal_session = []
credit_note = []
credit_note_line_item = []
invoice = []
invoiceitem = []
line_item = []
invoice_item = []
invoice_line_item = []
plan = []
quote = []
subscription = []
Expand All @@ -57,8 +57,8 @@ full = ["billing_portal_configuration",
"credit_note",
"credit_note_line_item",
"invoice",
"invoiceitem",
"line_item",
"invoice_item",
"invoice_line_item",
"plan",
"quote",
"subscription",
Expand Down
1 change: 1 addition & 0 deletions generated/stripe_billing/src/checkout_session_item/mod.rs
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
pub use stripe_types::checkout_session_item::*;
4 changes: 2 additions & 2 deletions generated/stripe_billing/src/invoice/requests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4551,10 +4551,10 @@ impl<'a> UpcomingLinesInvoice<'a> {
pub fn send(
&self,
client: &stripe::Client,
) -> stripe::Response<stripe_types::List<stripe_types::LineItem>> {
) -> stripe::Response<stripe_types::List<stripe_types::InvoiceLineItem>> {
client.get_query("/invoices/upcoming/lines", self)
}
pub fn paginate(self) -> stripe::ListPaginator<stripe_types::LineItem> {
pub fn paginate(self) -> stripe::ListPaginator<stripe_types::InvoiceLineItem> {
stripe::ListPaginator::from_params("/invoices/upcoming/lines", self)
}
}
Expand Down
5 changes: 5 additions & 0 deletions generated/stripe_billing/src/invoice_item/mod.rs
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
pub use stripe_types::invoice_item::*;
#[cfg(feature = "invoice_item")]
mod requests;
#[cfg(feature = "invoice_item")]
pub use requests::*;
Loading

0 comments on commit 975440d

Please sign in to comment.