Skip to content

Commit

Permalink
Update generated code for v1313
Browse files Browse the repository at this point in the history
  • Loading branch information
stripe-openapi[bot] committed Oct 17, 2024
1 parent 7d332f2 commit 91388e6
Show file tree
Hide file tree
Showing 2 changed files with 71 additions and 1 deletion.
2 changes: 1 addition & 1 deletion OPENAPI_VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
v1312
v1313
70 changes: 70 additions & 0 deletions types/Tax/Forms.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,10 @@ declare module 'stripe' {
*/
object: 'tax.form';

au_serr?: Form.AuSerr;

ca_mrdp?: Form.CaMrdp;

/**
* The form that corrects this form, if any.
*/
Expand All @@ -29,16 +33,22 @@ declare module 'stripe' {
*/
created: number;

eu_dac7?: Form.EuDac7;

/**
* A list of tax filing statuses. Note that a filing status will only be included if the form has been filed directly with the jurisdiction's tax authority.
*/
filing_statuses: Array<Form.FilingStatus>;

gb_mrdp?: Form.GbMrdp;

/**
* Has the value `true` if the object exists in live mode or the value `false` if the object exists in test mode.
*/
livemode: boolean;

nz_mrdp?: Form.NzMrdp;

payee: Form.Payee;

/**
Expand All @@ -54,6 +64,42 @@ declare module 'stripe' {
}

namespace Form {
interface AuSerr {
/**
* End date of the period represented by the information reported on the tax form.
*/
reporting_period_end_date: string;

/**
* Start date of the period represented by the information reported on the tax form.
*/
reporting_period_start_date: string;
}

interface CaMrdp {
/**
* End date of the period represented by the information reported on the tax form.
*/
reporting_period_end_date: string;

/**
* Start date of the period represented by the information reported on the tax form.
*/
reporting_period_start_date: string;
}

interface EuDac7 {
/**
* End date of the period represented by the information reported on the tax form.
*/
reporting_period_end_date: string;

/**
* Start date of the period represented by the information reported on the tax form.
*/
reporting_period_start_date: string;
}

interface FilingStatus {
/**
* Time when the filing status was updated.
Expand Down Expand Up @@ -93,6 +139,30 @@ declare module 'stripe' {
type Value = 'accepted' | 'filed' | 'rejected';
}

interface GbMrdp {
/**
* End date of the period represented by the information reported on the tax form.
*/
reporting_period_end_date: string;

/**
* Start date of the period represented by the information reported on the tax form.
*/
reporting_period_start_date: string;
}

interface NzMrdp {
/**
* End date of the period represented by the information reported on the tax form.
*/
reporting_period_end_date: string;

/**
* Start date of the period represented by the information reported on the tax form.
*/
reporting_period_start_date: string;
}

interface Payee {
/**
* The ID of the payee's Stripe account.
Expand Down

0 comments on commit 91388e6

Please sign in to comment.