autumn-js
Version:
Autumn JS Library
25 lines (22 loc) • 845 B
text/typescript
import { a as CheckFeatureResult, b as CheckProductResult } from './prodTypes-C4aZSZfO.mjs';
import { z } from 'zod/v4';
declare const CancelResultSchema: z.ZodObject<{
success: z.ZodBoolean;
customer_id: z.ZodString;
product_id: z.ZodString;
}, z.core.$strip>;
type CancelResult = z.infer<typeof CancelResultSchema>;
declare const TrackResultSchema: z.ZodObject<{
id: z.ZodString;
code: z.ZodString;
customer_id: z.ZodString;
feature_id: z.ZodOptional<z.ZodString>;
event_name: z.ZodOptional<z.ZodString>;
}, z.core.$strip>;
type TrackResult = z.infer<typeof TrackResultSchema>;
type CheckResult = CheckFeatureResult & CheckProductResult;
interface SetupPaymentResult {
customer_id: string;
url: string;
}
export type { CancelResult as C, SetupPaymentResult as S, TrackResult as T, CheckResult as a };