Rocky_Mountain_Vending/.pnpm-store/v10/files/28/d9010bc2af8b87d0bfcd35cdad5fc4456332b07c2cc3ba24818a6bc0d7c507ae8c28ed15fd71d60d034079fb08307fe58697d1623724e81d45397cf208a4e6
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

79 lines
2.1 KiB
Text

// File generated from our OpenAPI spec
declare module 'stripe' {
namespace Stripe {
namespace Treasury {
interface ReceivedCreditRetrieveParams {
/**
* Specifies which fields in the response should be expanded.
*/
expand?: Array<string>;
}
interface ReceivedCreditListParams extends PaginationParams {
/**
* The FinancialAccount that received the funds.
*/
financial_account: string;
/**
* Specifies which fields in the response should be expanded.
*/
expand?: Array<string>;
/**
* Only return ReceivedCredits described by the flow.
*/
linked_flows?: ReceivedCreditListParams.LinkedFlows;
/**
* Only return ReceivedCredits that have the given status: `succeeded` or `failed`.
*/
status?: ReceivedCreditListParams.Status;
}
namespace ReceivedCreditListParams {
interface LinkedFlows {
/**
* The source flow type.
*/
source_flow_type: LinkedFlows.SourceFlowType;
}
namespace LinkedFlows {
type SourceFlowType =
| 'credit_reversal'
| 'other'
| 'outbound_payment'
| 'outbound_transfer'
| 'payout';
}
type Status = 'failed' | 'succeeded';
}
class ReceivedCreditsResource {
/**
* Retrieves the details of an existing ReceivedCredit by passing the unique ReceivedCredit ID from the ReceivedCredit list.
*/
retrieve(
id: string,
params?: ReceivedCreditRetrieveParams,
options?: RequestOptions
): Promise<Stripe.Response<Stripe.Treasury.ReceivedCredit>>;
retrieve(
id: string,
options?: RequestOptions
): Promise<Stripe.Response<Stripe.Treasury.ReceivedCredit>>;
/**
* Returns a list of ReceivedCredits.
*/
list(
params: ReceivedCreditListParams,
options?: RequestOptions
): ApiListPromise<Stripe.Treasury.ReceivedCredit>;
}
}
}
}