export type price_Price = { /** * Amount is the price amount in the smallest currency unit (e.g. cents). */ amount: number; createdAt?: string; creatorId?: string; /** * Currency is the ISO-4217 currency code. Defaults to usd when omitted. */ currency?: string; data?: string; id?: string; identityId?: string; /** * Interval is the recurring billing period. Omit for one-time prices. */ interval?: price_Price.interval; /** * IntervalCount is the number of intervals between billings for a recurring price. */ intervalCount?: number; /** * IsUsed indicates whether the price is already referenced by a subscription or invoice and therefore cannot be deleted. */ isUsed?: boolean; object?: string; /** * PortalID is the ID of the portal that owns this price. */ portalId?: string; previousAttributes?: Record; /** * ProductId is the ID of the product this price belongs to. */ productId: string; ref?: string; /** * Type is a computed field and should not be used in any logic on BE or Webapp */ type?: price_Price.type; updatedAt?: string; }; export declare namespace price_Price { /** * Interval is the recurring billing period. Omit for one-time prices. */ enum interval { DAY = "day", WEEK = "week", MONTH = "month", QUARTERLY = "quarterly", BIANNUALLY = "biannually", YEAR = "year", SEMIANNUALLY = "semiannually" } /** * Type is a computed field and should not be used in any logic on BE or Webapp */ enum type { ONE_TIME = "oneTime", RECURRING = "recurring" } }