Rocky_Mountain_Vending/.pnpm-store/v10/files/2b/07e30aa9d7707f912abd72fafa2996cb9e6700b66d6b4513a3d2d9c620412e2f092f577239fcd6fc2c7ffc4a25202e34d449943ef09fdf8a0675238b251516
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

110 lines
2.9 KiB
Text

// File generated from our OpenAPI spec
declare module 'stripe' {
namespace Stripe {
namespace Billing {
/**
* Meters specify how to aggregate meter events over a billing period. Meter events represent the actions that customers take in your system. Meters attach to prices and form the basis of the bill.
*
* Related guide: [Usage based billing](https://docs.stripe.com/billing/subscriptions/usage-based)
*/
interface Meter {
/**
* Unique identifier for the object.
*/
id: string;
/**
* String representing the object's type. Objects of the same type share the same value.
*/
object: 'billing.meter';
/**
* Time at which the object was created. Measured in seconds since the Unix epoch.
*/
created: number;
customer_mapping: Meter.CustomerMapping;
default_aggregation: Meter.DefaultAggregation;
/**
* The meter's name.
*/
display_name: string;
/**
* The name of the meter event to record usage for. Corresponds with the `event_name` field on meter events.
*/
event_name: string;
/**
* The time window to pre-aggregate meter events for, if any.
*/
event_time_window: Meter.EventTimeWindow | null;
/**
* Has the value `true` if the object exists in live mode or the value `false` if the object exists in test mode.
*/
livemode: boolean;
/**
* The meter's status.
*/
status: Meter.Status;
status_transitions: Meter.StatusTransitions;
/**
* Time at which the object was last updated. Measured in seconds since the Unix epoch.
*/
updated: number;
value_settings: Meter.ValueSettings;
}
namespace Meter {
interface CustomerMapping {
/**
* The key in the meter event payload to use for mapping the event to a customer.
*/
event_payload_key: string;
/**
* The method for mapping a meter event to a customer.
*/
type: 'by_id';
}
interface DefaultAggregation {
/**
* Specifies how events are aggregated.
*/
formula: DefaultAggregation.Formula;
}
namespace DefaultAggregation {
type Formula = 'count' | 'sum';
}
type EventTimeWindow = 'day' | 'hour';
type Status = 'active' | 'inactive';
interface StatusTransitions {
/**
* The time the meter was deactivated, if any. Measured in seconds since Unix epoch.
*/
deactivated_at: number | null;
}
interface ValueSettings {
/**
* The key in the meter event payload to use as the value for this meter.
*/
event_payload_key: string;
}
}
}
}
}