anyonecandesign-core
Advanced tools
Comparing version 0.0.12 to 0.0.13
@@ -108,2 +108,40 @@ type StripePlan = { | ||
}; | ||
type RecurringDetails = { | ||
interval_count: number; | ||
usage_type: string; | ||
meter: null | string; | ||
aggregate_usage: null | string; | ||
interval: 'month' | 'year'; | ||
trial_period_days: null | number; | ||
}; | ||
type Price = { | ||
interval_count: number; | ||
tax_behavior: string; | ||
metadata: Record<string, any>; | ||
product: string; | ||
tiers: null | any; | ||
recurring: RecurringDetails; | ||
active: boolean; | ||
description: string; | ||
billing_scheme: string; | ||
trial_period_days: null | number; | ||
unit_amount: number; | ||
type: string; | ||
transform_quantity: null | any; | ||
tiers_mode: null | string; | ||
currency: string; | ||
interval: string; | ||
id: string; | ||
}; | ||
export type Product = { | ||
id: string; | ||
images: string[]; | ||
metadata: Record<string, unknown>; | ||
tax_code: string; | ||
role: string | null; | ||
name: string; | ||
active: boolean; | ||
description: string; | ||
prices: Price[]; | ||
}; | ||
export {}; |
@@ -14,3 +14,3 @@ export type DatabaseResource<T = unknown> = T & { | ||
billingPlanType: BillingPlanType; | ||
promtpsResetedAt: string; | ||
promptsResetedAt: string; | ||
prompts: number; | ||
@@ -17,0 +17,0 @@ }>; |
{ | ||
"name": "anyonecandesign-core", | ||
"version": "0.0.12", | ||
"version": "0.0.13", | ||
"type": "module", | ||
@@ -5,0 +5,0 @@ "description": "Constants and types for anyonecandesign.com", |
8855
295