import * as z from "zod/v4-mini"; import { Result as SafeParseResult } from "../../types/fp.js"; import { SDKValidationError } from "../errors/sdkvalidationerror.js"; export type ActiveSubscriptions = number | number; export type CommittedSubscriptions = number | number; export type MonthlyRecurringRevenue = number | number; export type TrialMonthlyRecurringRevenue = number | number; export type CommittedMonthlyRecurringRevenue = number | number; export type TrialCommittedMonthlyRecurringRevenue = number | number; export type AverageRevenuePerUser = number | number; export type Checkouts = number | number; export type SucceededCheckouts = number | number; export type ChurnedSubscriptions = number | number; export type ChurnRate = number | number; export type SeatsTotal = number | number; export type SeatsClaimed = number | number; export type SeatsPending = number | number; export type SeatCustomers = number | number; export type NewSeatCustomers = number | number; export type ChurnedSeatCustomers = number | number; export type Orders = number | number; export type Revenue = number | number; export type NetRevenue = number | number; export type CumulativeRevenue = number | number; export type NetCumulativeRevenue = number | number; export type Costs = number | number; export type CumulativeCosts = number | number; export type AverageOrderValue = number | number; export type NetAverageOrderValue = number | number; export type CostPerUser = number | number; export type ActiveUserByEvent = number | number; export type OneTimeProducts = number | number; export type OneTimeProductsRevenue = number | number; export type OneTimeProductsNetRevenue = number | number; export type NewSubscriptions = number | number; export type NewSubscriptionsRevenue = number | number; export type NewSubscriptionsNetRevenue = number | number; export type RenewedSubscriptions = number | number; export type RenewedSubscriptionsRevenue = number | number; export type RenewedSubscriptionsNetRevenue = number | number; export type CanceledSubscriptions = number | number; export type CanceledSubscriptionsCustomerService = number | number; export type CanceledSubscriptionsLowQuality = number | number; export type CanceledSubscriptionsMissingFeatures = number | number; export type CanceledSubscriptionsSwitchedService = number | number; export type CanceledSubscriptionsTooComplex = number | number; export type CanceledSubscriptionsTooExpensive = number | number; export type CanceledSubscriptionsUnused = number | number; export type CanceledSubscriptionsOther = number | number; export type AnnualRecurringRevenue = number | number; export type CommittedAnnualRecurringRevenue = number | number; export type CheckoutsConversion = number | number; export type Ltv = number | number; export type GrossMargin = number | number; export type GrossMarginPercentage = number | number; export type Cashflow = number | number; export type AverageSeatsPerCustomer = number | number; export type SeatUtilizationRate = number | number; export type MetricPeriod = { /** * Timestamp of this period data. */ timestamp: Date; activeSubscriptions?: number | number | null | undefined; committedSubscriptions?: number | number | null | undefined; monthlyRecurringRevenue?: number | number | null | undefined; trialMonthlyRecurringRevenue?: number | number | null | undefined; committedMonthlyRecurringRevenue?: number | number | null | undefined; trialCommittedMonthlyRecurringRevenue?: number | number | null | undefined; averageRevenuePerUser?: number | number | null | undefined; checkouts?: number | number | null | undefined; succeededCheckouts?: number | number | null | undefined; churnedSubscriptions?: number | number | null | undefined; churnRate?: number | number | null | undefined; seatsTotal?: number | number | null | undefined; seatsClaimed?: number | number | null | undefined; seatsPending?: number | number | null | undefined; seatCustomers?: number | number | null | undefined; newSeatCustomers?: number | number | null | undefined; churnedSeatCustomers?: number | number | null | undefined; orders?: number | number | null | undefined; revenue?: number | number | null | undefined; netRevenue?: number | number | null | undefined; cumulativeRevenue?: number | number | null | undefined; netCumulativeRevenue?: number | number | null | undefined; costs?: number | number | null | undefined; cumulativeCosts?: number | number | null | undefined; averageOrderValue?: number | number | null | undefined; netAverageOrderValue?: number | number | null | undefined; costPerUser?: number | number | null | undefined; activeUserByEvent?: number | number | null | undefined; oneTimeProducts?: number | number | null | undefined; oneTimeProductsRevenue?: number | number | null | undefined; oneTimeProductsNetRevenue?: number | number | null | undefined; newSubscriptions?: number | number | null | undefined; newSubscriptionsRevenue?: number | number | null | undefined; newSubscriptionsNetRevenue?: number | number | null | undefined; renewedSubscriptions?: number | number | null | undefined; renewedSubscriptionsRevenue?: number | number | null | undefined; renewedSubscriptionsNetRevenue?: number | number | null | undefined; canceledSubscriptions?: number | number | null | undefined; canceledSubscriptionsCustomerService?: number | number | null | undefined; canceledSubscriptionsLowQuality?: number | number | null | undefined; canceledSubscriptionsMissingFeatures?: number | number | null | undefined; canceledSubscriptionsSwitchedService?: number | number | null | undefined; canceledSubscriptionsTooComplex?: number | number | null | undefined; canceledSubscriptionsTooExpensive?: number | number | null | undefined; canceledSubscriptionsUnused?: number | number | null | undefined; canceledSubscriptionsOther?: number | number | null | undefined; annualRecurringRevenue?: number | number | null | undefined; committedAnnualRecurringRevenue?: number | number | null | undefined; checkoutsConversion?: number | number | null | undefined; ltv?: number | number | null | undefined; grossMargin?: number | number | null | undefined; grossMarginPercentage?: number | number | null | undefined; cashflow?: number | number | null | undefined; averageSeatsPerCustomer?: number | number | null | undefined; seatUtilizationRate?: number | number | null | undefined; }; /** @internal */ export declare const ActiveSubscriptions$inboundSchema: z.ZodMiniType; export declare function activeSubscriptionsFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const CommittedSubscriptions$inboundSchema: z.ZodMiniType; export declare function committedSubscriptionsFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const MonthlyRecurringRevenue$inboundSchema: z.ZodMiniType; export declare function monthlyRecurringRevenueFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const TrialMonthlyRecurringRevenue$inboundSchema: z.ZodMiniType; export declare function trialMonthlyRecurringRevenueFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const CommittedMonthlyRecurringRevenue$inboundSchema: z.ZodMiniType; export declare function committedMonthlyRecurringRevenueFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const TrialCommittedMonthlyRecurringRevenue$inboundSchema: z.ZodMiniType; export declare function trialCommittedMonthlyRecurringRevenueFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const AverageRevenuePerUser$inboundSchema: z.ZodMiniType; export declare function averageRevenuePerUserFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const Checkouts$inboundSchema: z.ZodMiniType; export declare function checkoutsFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const SucceededCheckouts$inboundSchema: z.ZodMiniType; export declare function succeededCheckoutsFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const ChurnedSubscriptions$inboundSchema: z.ZodMiniType; export declare function churnedSubscriptionsFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const ChurnRate$inboundSchema: z.ZodMiniType; export declare function churnRateFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const SeatsTotal$inboundSchema: z.ZodMiniType; export declare function seatsTotalFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const SeatsClaimed$inboundSchema: z.ZodMiniType; export declare function seatsClaimedFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const SeatsPending$inboundSchema: z.ZodMiniType; export declare function seatsPendingFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const SeatCustomers$inboundSchema: z.ZodMiniType; export declare function seatCustomersFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const NewSeatCustomers$inboundSchema: z.ZodMiniType; export declare function newSeatCustomersFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const ChurnedSeatCustomers$inboundSchema: z.ZodMiniType; export declare function churnedSeatCustomersFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const Orders$inboundSchema: z.ZodMiniType; export declare function ordersFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const Revenue$inboundSchema: z.ZodMiniType; export declare function revenueFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const NetRevenue$inboundSchema: z.ZodMiniType; export declare function netRevenueFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const CumulativeRevenue$inboundSchema: z.ZodMiniType; export declare function cumulativeRevenueFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const NetCumulativeRevenue$inboundSchema: z.ZodMiniType; export declare function netCumulativeRevenueFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const Costs$inboundSchema: z.ZodMiniType; export declare function costsFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const CumulativeCosts$inboundSchema: z.ZodMiniType; export declare function cumulativeCostsFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const AverageOrderValue$inboundSchema: z.ZodMiniType; export declare function averageOrderValueFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const NetAverageOrderValue$inboundSchema: z.ZodMiniType; export declare function netAverageOrderValueFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const CostPerUser$inboundSchema: z.ZodMiniType; export declare function costPerUserFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const ActiveUserByEvent$inboundSchema: z.ZodMiniType; export declare function activeUserByEventFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const OneTimeProducts$inboundSchema: z.ZodMiniType; export declare function oneTimeProductsFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const OneTimeProductsRevenue$inboundSchema: z.ZodMiniType; export declare function oneTimeProductsRevenueFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const OneTimeProductsNetRevenue$inboundSchema: z.ZodMiniType; export declare function oneTimeProductsNetRevenueFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const NewSubscriptions$inboundSchema: z.ZodMiniType; export declare function newSubscriptionsFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const NewSubscriptionsRevenue$inboundSchema: z.ZodMiniType; export declare function newSubscriptionsRevenueFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const NewSubscriptionsNetRevenue$inboundSchema: z.ZodMiniType; export declare function newSubscriptionsNetRevenueFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const RenewedSubscriptions$inboundSchema: z.ZodMiniType; export declare function renewedSubscriptionsFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const RenewedSubscriptionsRevenue$inboundSchema: z.ZodMiniType; export declare function renewedSubscriptionsRevenueFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const RenewedSubscriptionsNetRevenue$inboundSchema: z.ZodMiniType; export declare function renewedSubscriptionsNetRevenueFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const CanceledSubscriptions$inboundSchema: z.ZodMiniType; export declare function canceledSubscriptionsFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const CanceledSubscriptionsCustomerService$inboundSchema: z.ZodMiniType; export declare function canceledSubscriptionsCustomerServiceFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const CanceledSubscriptionsLowQuality$inboundSchema: z.ZodMiniType; export declare function canceledSubscriptionsLowQualityFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const CanceledSubscriptionsMissingFeatures$inboundSchema: z.ZodMiniType; export declare function canceledSubscriptionsMissingFeaturesFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const CanceledSubscriptionsSwitchedService$inboundSchema: z.ZodMiniType; export declare function canceledSubscriptionsSwitchedServiceFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const CanceledSubscriptionsTooComplex$inboundSchema: z.ZodMiniType; export declare function canceledSubscriptionsTooComplexFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const CanceledSubscriptionsTooExpensive$inboundSchema: z.ZodMiniType; export declare function canceledSubscriptionsTooExpensiveFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const CanceledSubscriptionsUnused$inboundSchema: z.ZodMiniType; export declare function canceledSubscriptionsUnusedFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const CanceledSubscriptionsOther$inboundSchema: z.ZodMiniType; export declare function canceledSubscriptionsOtherFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const AnnualRecurringRevenue$inboundSchema: z.ZodMiniType; export declare function annualRecurringRevenueFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const CommittedAnnualRecurringRevenue$inboundSchema: z.ZodMiniType; export declare function committedAnnualRecurringRevenueFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const CheckoutsConversion$inboundSchema: z.ZodMiniType; export declare function checkoutsConversionFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const Ltv$inboundSchema: z.ZodMiniType; export declare function ltvFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const GrossMargin$inboundSchema: z.ZodMiniType; export declare function grossMarginFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const GrossMarginPercentage$inboundSchema: z.ZodMiniType; export declare function grossMarginPercentageFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const Cashflow$inboundSchema: z.ZodMiniType; export declare function cashflowFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const AverageSeatsPerCustomer$inboundSchema: z.ZodMiniType; export declare function averageSeatsPerCustomerFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const SeatUtilizationRate$inboundSchema: z.ZodMiniType; export declare function seatUtilizationRateFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const MetricPeriod$inboundSchema: z.ZodMiniType; export declare function metricPeriodFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=metricperiod.d.ts.map