Skip to content

Commit

Permalink
Deprecate Node methods and params based on OpenAPI spec (#2077)
Browse files Browse the repository at this point in the history
  • Loading branch information
prathmesh-stripe committed May 2, 2024
1 parent 9e607bf commit 6ceac11
Show file tree
Hide file tree
Showing 7 changed files with 12 additions and 0 deletions.
1 change: 1 addition & 0 deletions types/ConfirmationTokens.d.ts
Expand Up @@ -879,6 +879,7 @@ declare module 'stripe' {

/**
* [Deprecated] This is a legacy parameter that no longer has any function.
* @deprecated
*/
persistent_token?: string;
}
Expand Down
2 changes: 2 additions & 0 deletions types/Issuing/AuthorizationsResource.d.ts
Expand Up @@ -119,6 +119,7 @@ declare module 'stripe' {
/**
* [Deprecated] Approves a pending Issuing Authorization object. This request should be made within the timeout window of the [real-time authorization](https://stripe.com/docs/issuing/controls/real-time-authorizations) flow.
* This method is deprecated. Instead, [respond directly to the webhook request to approve an authorization](https://stripe.com/docs/issuing/controls/real-time-authorizations#authorization-handling).
* @deprecated This method is deprecated, please refer to the description for details.
*/
approve(
id: string,
Expand All @@ -133,6 +134,7 @@ declare module 'stripe' {
/**
* [Deprecated] Declines a pending Issuing Authorization object. This request should be made within the timeout window of the [real time authorization](https://stripe.com/docs/issuing/controls/real-time-authorizations) flow.
* This method is deprecated. Instead, [respond directly to the webhook request to decline an authorization](https://stripe.com/docs/issuing/controls/real-time-authorizations#authorization-handling).
* @deprecated This method is deprecated, please refer to the description for details.
*/
decline(
id: string,
Expand Down
1 change: 1 addition & 0 deletions types/PaymentIntents.d.ts
Expand Up @@ -1964,6 +1964,7 @@ declare module 'stripe' {

/**
* [Deprecated] This is a legacy parameter that no longer has any function.
* @deprecated
*/
persistent_token: string | null;

Expand Down
3 changes: 3 additions & 0 deletions types/PaymentIntentsResource.d.ts
Expand Up @@ -1889,6 +1889,7 @@ declare module 'stripe' {

/**
* [Deprecated] This is a legacy parameter that no longer has any function.
* @deprecated
*/
persistent_token?: string;

Expand Down Expand Up @@ -4131,6 +4132,7 @@ declare module 'stripe' {

/**
* [Deprecated] This is a legacy parameter that no longer has any function.
* @deprecated
*/
persistent_token?: string;

Expand Down Expand Up @@ -6518,6 +6520,7 @@ declare module 'stripe' {

/**
* [Deprecated] This is a legacy parameter that no longer has any function.
* @deprecated
*/
persistent_token?: string;

Expand Down
1 change: 1 addition & 0 deletions types/PaymentMethods.d.ts
Expand Up @@ -807,6 +807,7 @@ declare module 'stripe' {

/**
* [Deprecated] This is a legacy parameter that no longer has any function.
* @deprecated
*/
persistent_token?: string;
}
Expand Down
1 change: 1 addition & 0 deletions types/SetupIntents.d.ts
Expand Up @@ -740,6 +740,7 @@ declare module 'stripe' {
interface Link {
/**
* [Deprecated] This is a legacy parameter that no longer has any function.
* @deprecated
*/
persistent_token: string | null;
}
Expand Down
3 changes: 3 additions & 0 deletions types/SetupIntentsResource.d.ts
Expand Up @@ -1072,6 +1072,7 @@ declare module 'stripe' {
interface Link {
/**
* [Deprecated] This is a legacy parameter that no longer has any function.
* @deprecated
*/
persistent_token?: string;
}
Expand Down Expand Up @@ -2149,6 +2150,7 @@ declare module 'stripe' {
interface Link {
/**
* [Deprecated] This is a legacy parameter that no longer has any function.
* @deprecated
*/
persistent_token?: string;
}
Expand Down Expand Up @@ -3313,6 +3315,7 @@ declare module 'stripe' {
interface Link {
/**
* [Deprecated] This is a legacy parameter that no longer has any function.
* @deprecated
*/
persistent_token?: string;
}
Expand Down

0 comments on commit 6ceac11

Please sign in to comment.