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>
57 lines
1.3 KiB
Text
57 lines
1.3 KiB
Text
// File generated from our OpenAPI spec
|
|
|
|
/// <reference path='../EventTypes.d.ts' />
|
|
|
|
declare module 'stripe' {
|
|
namespace Stripe {
|
|
namespace V2 {
|
|
namespace Core {
|
|
interface EventRetrieveParams {}
|
|
}
|
|
|
|
namespace Core {
|
|
interface EventListParams {
|
|
/**
|
|
* Primary object ID used to retrieve related events.
|
|
*/
|
|
object_id: string;
|
|
|
|
/**
|
|
* The page size.
|
|
*/
|
|
limit?: number;
|
|
|
|
/**
|
|
* The requested page.
|
|
*/
|
|
page?: string;
|
|
}
|
|
}
|
|
|
|
namespace Core {
|
|
class EventsResource {
|
|
/**
|
|
* Retrieves the details of an event.
|
|
*/
|
|
retrieve(
|
|
id: string,
|
|
params?: EventRetrieveParams,
|
|
options?: RequestOptions
|
|
): Promise<Stripe.Response<Stripe.V2.Event>>;
|
|
retrieve(
|
|
id: string,
|
|
options?: RequestOptions
|
|
): Promise<Stripe.Response<Stripe.V2.Event>>;
|
|
|
|
/**
|
|
* List events, going back up to 30 days.
|
|
*/
|
|
list(
|
|
params: EventListParams,
|
|
options?: RequestOptions
|
|
): ApiListPromise<Stripe.V2.Event>;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|