Rocky_Mountain_Vending/.pnpm-store/v10/files/43/0c9605201f7cc59a4232a8ee21851189769718fb5f6390718f98ea953c1d0da5220bce9e0b106bcd358ae1409eb20230136e5336d626d8394e25eefd08d0f0
DMleadgen 46d973904b
Initial commit: Rocky Mountain Vending website
Next.js website for Rocky Mountain Vending company featuring:
- Product catalog with Stripe integration
- Service areas and parts pages
- Admin dashboard with Clerk authentication
- SEO optimized pages with JSON-LD structured data

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-02-12 16:22:15 -07:00

151 lines
6.1 KiB
Text

// File generated from our OpenAPI spec
declare module 'stripe' {
namespace Stripe {
namespace Issuing {
interface AuthorizationRetrieveParams {
/**
* Specifies which fields in the response should be expanded.
*/
expand?: Array<string>;
}
interface AuthorizationUpdateParams {
/**
* Specifies which fields in the response should be expanded.
*/
expand?: Array<string>;
/**
* Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`.
*/
metadata?: Stripe.Emptyable<Stripe.MetadataParam>;
}
interface AuthorizationListParams extends PaginationParams {
/**
* Only return authorizations that belong to the given card.
*/
card?: string;
/**
* Only return authorizations that belong to the given cardholder.
*/
cardholder?: string;
/**
* Only return authorizations that were created during the given date interval.
*/
created?: Stripe.RangeQueryParam | number;
/**
* Specifies which fields in the response should be expanded.
*/
expand?: Array<string>;
/**
* Only return authorizations with the given status. One of `pending`, `closed`, or `reversed`.
*/
status?: AuthorizationListParams.Status;
}
namespace AuthorizationListParams {
type Status = 'closed' | 'pending' | 'reversed';
}
interface AuthorizationApproveParams {
/**
* If the authorization's `pending_request.is_amount_controllable` property is `true`, you may provide this value to control how much to hold for the authorization. Must be positive (use [`decline`](https://stripe.com/docs/api/issuing/authorizations/decline) to decline an authorization request).
*/
amount?: number;
/**
* Specifies which fields in the response should be expanded.
*/
expand?: Array<string>;
/**
* Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`.
*/
metadata?: Stripe.Emptyable<Stripe.MetadataParam>;
}
interface AuthorizationDeclineParams {
/**
* Specifies which fields in the response should be expanded.
*/
expand?: Array<string>;
/**
* Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`.
*/
metadata?: Stripe.Emptyable<Stripe.MetadataParam>;
}
class AuthorizationsResource {
/**
* Retrieves an Issuing Authorization object.
*/
retrieve(
id: string,
params?: AuthorizationRetrieveParams,
options?: RequestOptions
): Promise<Stripe.Response<Stripe.Issuing.Authorization>>;
retrieve(
id: string,
options?: RequestOptions
): Promise<Stripe.Response<Stripe.Issuing.Authorization>>;
/**
* Updates the specified Issuing Authorization object by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
*/
update(
id: string,
params?: AuthorizationUpdateParams,
options?: RequestOptions
): Promise<Stripe.Response<Stripe.Issuing.Authorization>>;
/**
* Returns a list of Issuing Authorization objects. The objects are sorted in descending order by creation date, with the most recently created object appearing first.
*/
list(
params?: AuthorizationListParams,
options?: RequestOptions
): ApiListPromise<Stripe.Issuing.Authorization>;
list(
options?: RequestOptions
): ApiListPromise<Stripe.Issuing.Authorization>;
/**
* [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
*/
approve(
id: string,
params?: AuthorizationApproveParams,
options?: RequestOptions
): Promise<Stripe.Response<Stripe.Issuing.Authorization>>;
approve(
id: string,
options?: RequestOptions
): Promise<Stripe.Response<Stripe.Issuing.Authorization>>;
/**
* [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
*/
decline(
id: string,
params?: AuthorizationDeclineParams,
options?: RequestOptions
): Promise<Stripe.Response<Stripe.Issuing.Authorization>>;
decline(
id: string,
options?: RequestOptions
): Promise<Stripe.Response<Stripe.Issuing.Authorization>>;
}
}
}
}