/*** * * SaaSquatch Type Definitions * * This file was automatically generated. DO NOT edit it by hand, instead edit the related JSON Schema file. * * Generated on 2026-03-20T21:11:42.771Z * ***/ /*** * ProgramAnalytics.schema.json * Generated on 2026-03-20T21:11:43.201Z * This file was automatically generated. DO NOT edit it by hand, instead edit the related JSON Schema file. ***/ /** * Set when the user achieves the program goal */ export type GoalCompletion = ("rewardCreated" | "rewardRedeemed") /** * Record the following revenue in analytics */ export type RevenueMultiplier = number /** * Defines the program analytics configuration. */ export interface ProgramAnalytics { goals: RevenueTrackingRules } /** * Defines the program goals and how they relate to projected revenue. */ export interface RevenueTrackingRules { event: GoalCompletion value: RevenueMultiplier }