Skip to content

Commit

Permalink
Codegen for openapi 08ff630 (#1298)
Browse files Browse the repository at this point in the history
  • Loading branch information
richardm-stripe authored Nov 19, 2021
1 parent c225b41 commit b2e2488
Show file tree
Hide file tree
Showing 4 changed files with 31 additions and 3 deletions.
2 changes: 1 addition & 1 deletion types/2020-08-27/Accounts.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -704,7 +704,7 @@ declare module 'stripe' {
currently_due: Array<string> | null;

/**
* If the account is disabled, this string describes why. Can be `requirements.past_due`, `requirements.pending_verification`, `listed`, `platform_paused`, `rejected.listed`, `rejected.terms_of_service`, `rejected.card_casher`, `rejected.auto_fraud_shutdown`, `rejected.fraud`, `rejected.dishonest_merchant`, `rejected.identity_fraud`, `rejected.platform_fraud`, `rejected.platform_terms_of_service`, `rejected.other`, `under_review`, or `other`.
* If the account is disabled, this string describes why. Can be `requirements.past_due`, `requirements.pending_verification`, `listed`, `platform_paused`, `rejected.fraud`, `rejected.listed`, `rejected.terms_of_service`, `rejected.other`, `under_review`, or `other`.
*/
disabled_reason: string | null;

Expand Down
2 changes: 1 addition & 1 deletion types/2020-08-27/Capabilities.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,7 @@ declare module 'stripe' {
currently_due: Array<string>;

/**
* If the capability is disabled, this string describes why. Can be `requirements.past_due`, `requirements.pending_verification`, `listed`, `platform_paused`, `rejected.listed`, `rejected.terms_of_service`, `rejected.card_casher`, `rejected.auto_fraud_shutdown`, `rejected.fraud`, `rejected.dishonest_merchant`, `rejected.identity_fraud`, `rejected.platform_fraud`, `rejected.platform_terms_of_service`, `rejected.other`, `under_review`, or `other`.
* If the capability is disabled, this string describes why. Can be `requirements.past_due`, `requirements.pending_verification`, `listed`, `platform_paused`, `rejected.fraud`, `rejected.listed`, `rejected.terms_of_service`, `rejected.other`, `under_review`, or `other`.
*
* `rejected.unsupported_business` means that the account's business is not supported by the capability. For example, payment methods may restrict the businesses they support in their terms of service:
*
Expand Down
27 changes: 26 additions & 1 deletion types/2020-08-27/PaymentIntents.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -521,6 +521,8 @@ declare module 'stripe' {

ideal?: PaymentMethodOptions.Ideal;

interac_present?: PaymentMethodOptions.InteracPresent;

klarna?: PaymentMethodOptions.Klarna;

oxxo?: PaymentMethodOptions.Oxxo;
Expand Down Expand Up @@ -698,6 +700,8 @@ declare module 'stripe' {

interface Ideal {}

interface InteracPresent {}

interface Klarna {
/**
* Preferred locale of the Klarna checkout page that the customer is redirected to.
Expand Down Expand Up @@ -1477,6 +1481,11 @@ declare module 'stripe' {
*/
ideal?: Stripe.Emptyable<PaymentMethodOptions.Ideal>;

/**
* If this is a `interac_present` PaymentMethod, this sub-hash contains details about the Card Present payment method options.
*/
interac_present?: Stripe.Emptyable<PaymentMethodOptions.InteracPresent>;

/**
* If this is a `klarna` PaymentMethod, this sub-hash contains details about the Klarna payment method options.
*/
Expand Down Expand Up @@ -1669,6 +1678,8 @@ declare module 'stripe' {

interface Ideal {}

interface InteracPresent {}

interface Klarna {
/**
* Preferred language of the Klarna authorization page that the customer is redirected to
Expand Down Expand Up @@ -2390,6 +2401,11 @@ declare module 'stripe' {
*/
ideal?: Stripe.Emptyable<PaymentMethodOptions.Ideal>;

/**
* If this is a `interac_present` PaymentMethod, this sub-hash contains details about the Card Present payment method options.
*/
interac_present?: Stripe.Emptyable<PaymentMethodOptions.InteracPresent>;

/**
* If this is a `klarna` PaymentMethod, this sub-hash contains details about the Klarna payment method options.
*/
Expand Down Expand Up @@ -2582,6 +2598,8 @@ declare module 'stripe' {

interface Ideal {}

interface InteracPresent {}

interface Klarna {
/**
* Preferred language of the Klarna authorization page that the customer is redirected to
Expand Down Expand Up @@ -3417,6 +3435,11 @@ declare module 'stripe' {
*/
ideal?: Stripe.Emptyable<PaymentMethodOptions.Ideal>;

/**
* If this is a `interac_present` PaymentMethod, this sub-hash contains details about the Card Present payment method options.
*/
interac_present?: Stripe.Emptyable<PaymentMethodOptions.InteracPresent>;

/**
* If this is a `klarna` PaymentMethod, this sub-hash contains details about the Klarna payment method options.
*/
Expand Down Expand Up @@ -3609,6 +3632,8 @@ declare module 'stripe' {

interface Ideal {}

interface InteracPresent {}

interface Klarna {
/**
* Preferred language of the Klarna authorization page that the customer is redirected to
Expand Down Expand Up @@ -3800,7 +3825,7 @@ declare module 'stripe' {
list(options?: RequestOptions): ApiListPromise<Stripe.PaymentIntent>;

/**
* A PaymentIntent object can be canceled when it is in one of these statuses: requires_payment_method, requires_capture, requires_confirmation, or requires_action.
* A PaymentIntent object can be canceled when it is in one of these statuses: requires_payment_method, requires_capture, requires_confirmation, requires_action, or processing.
*
* Once canceled, no additional charges will be made by the PaymentIntent and any operations on the PaymentIntent will fail with an error. For PaymentIntents with status='requires_capture', the remaining amount_capturable will automatically be refunded.
*/
Expand Down
3 changes: 3 additions & 0 deletions types/2020-08-27/TaxRates.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,7 @@ declare module 'stripe' {
type TaxType =
| 'gst'
| 'hst'
| 'jct'
| 'pst'
| 'qst'
| 'rst'
Expand Down Expand Up @@ -149,6 +150,7 @@ declare module 'stripe' {
type TaxType =
| 'gst'
| 'hst'
| 'jct'
| 'pst'
| 'qst'
| 'rst'
Expand Down Expand Up @@ -214,6 +216,7 @@ declare module 'stripe' {
type TaxType =
| 'gst'
| 'hst'
| 'jct'
| 'pst'
| 'qst'
| 'rst'
Expand Down

0 comments on commit b2e2488

Please sign in to comment.