Skip to content

Commit

Permalink
Update generated code (#1871)
Browse files Browse the repository at this point in the history
Update generated code for v458

Co-authored-by: Stripe OpenAPI <105521251+stripe-openapi[bot]@users.noreply.github.com>
  • Loading branch information
stripe-openapi[bot] committed Aug 11, 2023
1 parent 623bad5 commit 89a1111
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 77 deletions.
25 changes: 0 additions & 25 deletions types/Invoices.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -341,11 +341,6 @@ declare module 'stripe' {
*/
receipt_number: string | null;

/**
* The rendering-related settings that control how the invoice is displayed on customer-facing surfaces such as PDF and Hosted Invoice Page.
*/
rendering: Invoice.Rendering | null;

/**
* Options for invoice PDF rendering.
*/
Expand Down Expand Up @@ -1067,26 +1062,6 @@ declare module 'stripe' {
| 'wechat_pay';
}

interface Rendering {
/**
* Invoice pdf rendering options
*/
pdf: Rendering.Pdf | null;
}

namespace Rendering {
interface Pdf {
/**
* Page size of invoice pdf. Options include a4, letter, and auto. If set to auto, page size will be switched to a4 or letter based on customer locale.
*/
page_size: Pdf.PageSize | null;
}

namespace Pdf {
type PageSize = 'a4' | 'auto' | 'letter';
}
}

interface RenderingOptions {
/**
* How line-item prices and amounts will be displayed with respect to tax on invoice PDFs.
Expand Down
52 changes: 0 additions & 52 deletions types/InvoicesResource.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -118,11 +118,6 @@ declare module 'stripe' {
*/
pending_invoice_items_behavior?: InvoiceCreateParams.PendingInvoiceItemsBehavior;

/**
* The rendering-related settings that control how the invoice is displayed on customer-facing surfaces such as PDF and Hosted Invoice Page.
*/
rendering?: InvoiceCreateParams.Rendering;

/**
* Options for invoice PDF rendering.
*/
Expand Down Expand Up @@ -449,27 +444,6 @@ declare module 'stripe' {
| 'include'
| 'include_and_require';

interface Rendering {
/**
* Invoice pdf rendering options
*/
pdf?: Rendering.Pdf;
}

namespace Rendering {
interface Pdf {
/**
* Page size for invoice PDF. Can be set to a4, letter, or auto.
* If set to auto, page size will be switched to a4 or letter based on customer locale.
*/
page_size?: Pdf.PageSize;
}

namespace Pdf {
type PageSize = 'a4' | 'auto' | 'letter';
}
}

interface RenderingOptions {
/**
* How line-item prices and amounts will be displayed with respect to tax on invoice PDFs. One of `exclude_tax` or `include_inclusive_tax`. `include_inclusive_tax` will include inclusive tax (and exclude exclusive tax) in invoice PDF amounts. `exclude_tax` will exclude all tax (inclusive and exclusive alike) from invoice PDF amounts.
Expand Down Expand Up @@ -754,11 +728,6 @@ declare module 'stripe' {
*/
payment_settings?: InvoiceUpdateParams.PaymentSettings;

/**
* The rendering-related settings that control how the invoice is displayed on customer-facing surfaces such as PDF and Hosted Invoice Page.
*/
rendering?: InvoiceUpdateParams.Rendering;

/**
* Options for invoice PDF rendering.
*/
Expand Down Expand Up @@ -1063,27 +1032,6 @@ declare module 'stripe' {
| 'wechat_pay';
}

interface Rendering {
/**
* Invoice pdf rendering options
*/
pdf?: Rendering.Pdf;
}

namespace Rendering {
interface Pdf {
/**
* Page size for invoice PDF. Can be set to a4, letter, or auto.
* If set to auto, page size will be switched to a4 or letter based on customer locale.
*/
page_size?: Pdf.PageSize;
}

namespace Pdf {
type PageSize = 'a4' | 'auto' | 'letter';
}
}

interface RenderingOptions {
/**
* How line-item prices and amounts will be displayed with respect to tax on invoice PDFs. One of `exclude_tax` or `include_inclusive_tax`. `include_inclusive_tax` will include inclusive tax (and exclude exclusive tax) in invoice PDF amounts. `exclude_tax` will exclude all tax (inclusive and exclusive alike) from invoice PDF amounts.
Expand Down

0 comments on commit 89a1111

Please sign in to comment.