Skip to content

Commit

Permalink
Update generated code for v534
Browse files Browse the repository at this point in the history
  • Loading branch information
stripe-openapi[bot] committed Sep 19, 2023
1 parent 9d22fbb commit fed5030
Show file tree
Hide file tree
Showing 7 changed files with 79 additions and 13 deletions.
2 changes: 1 addition & 1 deletion OPENAPI_VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
v533
v534
16 changes: 8 additions & 8 deletions types/AccountsResource.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -928,12 +928,12 @@ declare module 'stripe' {
gender?: string;

/**
* The government-issued ID number of the individual, as appropriate for the representative's country. (Examples are a Social Security Number in the U.S., or a Social Insurance Number in Canada). Instead of the number itself, you can also provide a [PII token created with Stripe.js](https://stripe.com/docs/js/tokens_sources/create_token?type=pii).
* The government-issued ID number of the individual, as appropriate for the representative's country. (Examples are a Social Security Number in the U.S., or a Social Insurance Number in Canada). Instead of the number itself, you can also provide a [PII token created with Stripe.js](https://stripe.com/docs/js/tokens/create_token?type=pii).
*/
id_number?: string;

/**
* The government-issued secondary ID number of the individual, as appropriate for the representative's country, will be used for enhanced verification checks. In Thailand, this would be the laser code found on the back of an ID card. Instead of the number itself, you can also provide a [PII token created with Stripe.js](https://stripe.com/docs/js/tokens_sources/create_token?type=pii).
* The government-issued secondary ID number of the individual, as appropriate for the representative's country, will be used for enhanced verification checks. In Thailand, this would be the laser code found on the back of an ID card. Instead of the number itself, you can also provide a [PII token created with Stripe.js](https://stripe.com/docs/js/tokens/create_token?type=pii).
*/
id_number_secondary?: string;

Expand Down Expand Up @@ -2173,12 +2173,12 @@ declare module 'stripe' {
gender?: string;

/**
* The government-issued ID number of the individual, as appropriate for the representative's country. (Examples are a Social Security Number in the U.S., or a Social Insurance Number in Canada). Instead of the number itself, you can also provide a [PII token created with Stripe.js](https://stripe.com/docs/js/tokens_sources/create_token?type=pii).
* The government-issued ID number of the individual, as appropriate for the representative's country. (Examples are a Social Security Number in the U.S., or a Social Insurance Number in Canada). Instead of the number itself, you can also provide a [PII token created with Stripe.js](https://stripe.com/docs/js/tokens/create_token?type=pii).
*/
id_number?: string;

/**
* The government-issued secondary ID number of the individual, as appropriate for the representative's country, will be used for enhanced verification checks. In Thailand, this would be the laser code found on the back of an ID card. Instead of the number itself, you can also provide a [PII token created with Stripe.js](https://stripe.com/docs/js/tokens_sources/create_token?type=pii).
* The government-issued secondary ID number of the individual, as appropriate for the representative's country, will be used for enhanced verification checks. In Thailand, this would be the laser code found on the back of an ID card. Instead of the number itself, you can also provide a [PII token created with Stripe.js](https://stripe.com/docs/js/tokens/create_token?type=pii).
*/
id_number_secondary?: string;

Expand Down Expand Up @@ -2632,12 +2632,12 @@ declare module 'stripe' {
gender?: string;

/**
* The person's ID number, as appropriate for their country. For example, a social security number in the U.S., social insurance number in Canada, etc. Instead of the number itself, you can also provide a [PII token provided by Stripe.js](https://stripe.com/docs/js/tokens_sources/create_token?type=pii).
* The person's ID number, as appropriate for their country. For example, a social security number in the U.S., social insurance number in Canada, etc. Instead of the number itself, you can also provide a [PII token provided by Stripe.js](https://stripe.com/docs/js/tokens/create_token?type=pii).
*/
id_number?: string;

/**
* The person's secondary ID number, as appropriate for their country, will be used for enhanced verification checks. In Thailand, this would be the laser code found on the back of an ID card. Instead of the number itself, you can also provide a [PII token provided by Stripe.js](https://stripe.com/docs/js/tokens_sources/create_token?type=pii).
* The person's secondary ID number, as appropriate for their country, will be used for enhanced verification checks. In Thailand, this would be the laser code found on the back of an ID card. Instead of the number itself, you can also provide a [PII token provided by Stripe.js](https://stripe.com/docs/js/tokens/create_token?type=pii).
*/
id_number_secondary?: string;

Expand Down Expand Up @@ -3111,12 +3111,12 @@ declare module 'stripe' {
gender?: string;

/**
* The person's ID number, as appropriate for their country. For example, a social security number in the U.S., social insurance number in Canada, etc. Instead of the number itself, you can also provide a [PII token provided by Stripe.js](https://stripe.com/docs/js/tokens_sources/create_token?type=pii).
* The person's ID number, as appropriate for their country. For example, a social security number in the U.S., social insurance number in Canada, etc. Instead of the number itself, you can also provide a [PII token provided by Stripe.js](https://stripe.com/docs/js/tokens/create_token?type=pii).
*/
id_number?: string;

/**
* The person's secondary ID number, as appropriate for their country, will be used for enhanced verification checks. In Thailand, this would be the laser code found on the back of an ID card. Instead of the number itself, you can also provide a [PII token provided by Stripe.js](https://stripe.com/docs/js/tokens_sources/create_token?type=pii).
* The person's secondary ID number, as appropriate for their country, will be used for enhanced verification checks. In Thailand, this would be the laser code found on the back of an ID card. Instead of the number itself, you can also provide a [PII token provided by Stripe.js](https://stripe.com/docs/js/tokens/create_token?type=pii).
*/
id_number_secondary?: string;

Expand Down
12 changes: 12 additions & 0 deletions types/Checkout/Sessions.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -629,6 +629,11 @@ declare module 'stripe' {
* Custom text that should be displayed alongside the payment confirmation button.
*/
submit: CustomText.Submit | null;

/**
* Custom text that should be displayed in place of the default terms of service agreement text.
*/
terms_of_service_acceptance: CustomText.TermsOfServiceAcceptance | null;
}

namespace CustomText {
Expand All @@ -645,6 +650,13 @@ declare module 'stripe' {
*/
message: string;
}

interface TermsOfServiceAcceptance {
/**
* Text may be up to 1000 characters in length.
*/
message: string;
}
}

interface InvoiceCreation {
Expand Down
14 changes: 14 additions & 0 deletions types/Checkout/SessionsResource.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -423,6 +423,13 @@ declare module 'stripe' {
* Custom text that should be displayed alongside the payment confirmation button.
*/
submit?: Stripe.Emptyable<CustomText.Submit>;

/**
* Custom text that should be displayed in place of the default terms of service agreement text.
*/
terms_of_service_acceptance?: Stripe.Emptyable<
CustomText.TermsOfServiceAcceptance
>;
}

namespace CustomText {
Expand All @@ -439,6 +446,13 @@ declare module 'stripe' {
*/
message: string;
}

interface TermsOfServiceAcceptance {
/**
* Text may be up to 1000 characters in length.
*/
message: string;
}
}

interface Discount {
Expand Down
12 changes: 12 additions & 0 deletions types/PaymentLinks.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -319,6 +319,11 @@ declare module 'stripe' {
* Custom text that should be displayed alongside the payment confirmation button.
*/
submit: CustomText.Submit | null;

/**
* Custom text that should be displayed in place of the default terms of service agreement text.
*/
terms_of_service_acceptance: CustomText.TermsOfServiceAcceptance | null;
}

namespace CustomText {
Expand All @@ -335,6 +340,13 @@ declare module 'stripe' {
*/
message: string;
}

interface TermsOfServiceAcceptance {
/**
* Text may be up to 1000 characters in length.
*/
message: string;
}
}

interface InvoiceCreation {
Expand Down
28 changes: 28 additions & 0 deletions types/PaymentLinksResource.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -316,6 +316,13 @@ declare module 'stripe' {
* Custom text that should be displayed alongside the payment confirmation button.
*/
submit?: Stripe.Emptyable<CustomText.Submit>;

/**
* Custom text that should be displayed in place of the default terms of service agreement text.
*/
terms_of_service_acceptance?: Stripe.Emptyable<
CustomText.TermsOfServiceAcceptance
>;
}

namespace CustomText {
Expand All @@ -332,6 +339,13 @@ declare module 'stripe' {
*/
message: string;
}

interface TermsOfServiceAcceptance {
/**
* Text may be up to 1000 characters in length.
*/
message: string;
}
}

interface InvoiceCreation {
Expand Down Expand Up @@ -1052,6 +1066,13 @@ declare module 'stripe' {
* Custom text that should be displayed alongside the payment confirmation button.
*/
submit?: Stripe.Emptyable<CustomText.Submit>;

/**
* Custom text that should be displayed in place of the default terms of service agreement text.
*/
terms_of_service_acceptance?: Stripe.Emptyable<
CustomText.TermsOfServiceAcceptance
>;
}

namespace CustomText {
Expand All @@ -1068,6 +1089,13 @@ declare module 'stripe' {
*/
message: string;
}

interface TermsOfServiceAcceptance {
/**
* Text may be up to 1000 characters in length.
*/
message: string;
}
}

interface InvoiceCreation {
Expand Down
8 changes: 4 additions & 4 deletions types/TokensResource.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -292,12 +292,12 @@ declare module 'stripe' {
gender?: string;

/**
* The government-issued ID number of the individual, as appropriate for the representative's country. (Examples are a Social Security Number in the U.S., or a Social Insurance Number in Canada). Instead of the number itself, you can also provide a [PII token created with Stripe.js](https://stripe.com/docs/js/tokens_sources/create_token?type=pii).
* The government-issued ID number of the individual, as appropriate for the representative's country. (Examples are a Social Security Number in the U.S., or a Social Insurance Number in Canada). Instead of the number itself, you can also provide a [PII token created with Stripe.js](https://stripe.com/docs/js/tokens/create_token?type=pii).
*/
id_number?: string;

/**
* The government-issued secondary ID number of the individual, as appropriate for the representative's country, will be used for enhanced verification checks. In Thailand, this would be the laser code found on the back of an ID card. Instead of the number itself, you can also provide a [PII token created with Stripe.js](https://stripe.com/docs/js/tokens_sources/create_token?type=pii).
* The government-issued secondary ID number of the individual, as appropriate for the representative's country, will be used for enhanced verification checks. In Thailand, this would be the laser code found on the back of an ID card. Instead of the number itself, you can also provide a [PII token created with Stripe.js](https://stripe.com/docs/js/tokens/create_token?type=pii).
*/
id_number_secondary?: string;

Expand Down Expand Up @@ -581,12 +581,12 @@ declare module 'stripe' {
gender?: string;

/**
* The person's ID number, as appropriate for their country. For example, a social security number in the U.S., social insurance number in Canada, etc. Instead of the number itself, you can also provide a [PII token provided by Stripe.js](https://stripe.com/docs/js/tokens_sources/create_token?type=pii).
* The person's ID number, as appropriate for their country. For example, a social security number in the U.S., social insurance number in Canada, etc. Instead of the number itself, you can also provide a [PII token provided by Stripe.js](https://stripe.com/docs/js/tokens/create_token?type=pii).
*/
id_number?: string;

/**
* The person's secondary ID number, as appropriate for their country, will be used for enhanced verification checks. In Thailand, this would be the laser code found on the back of an ID card. Instead of the number itself, you can also provide a [PII token provided by Stripe.js](https://stripe.com/docs/js/tokens_sources/create_token?type=pii).
* The person's secondary ID number, as appropriate for their country, will be used for enhanced verification checks. In Thailand, this would be the laser code found on the back of an ID card. Instead of the number itself, you can also provide a [PII token provided by Stripe.js](https://stripe.com/docs/js/tokens/create_token?type=pii).
*/
id_number_secondary?: string;

Expand Down

0 comments on commit fed5030

Please sign in to comment.