23 lines
641 B
TypeScript
23 lines
641 B
TypeScript
import { z } from "zod/v4";
|
|
|
|
// Re-export enum values as constants for easy access (matches old enum usage pattern)
|
|
export enum CustomerExpand {
|
|
Invoices = "invoices",
|
|
TrialsUsed = "trials_used",
|
|
Rewards = "rewards",
|
|
Entities = "entities",
|
|
Referrals = "referrals",
|
|
PaymentMethod = "payment_method",
|
|
SubscriptionsPlan = "subscriptions.plan",
|
|
PurchasesPlan = "purchases.plan",
|
|
BalancesFeature = "balances.feature",
|
|
}
|
|
|
|
export const CustomerExpandEnum = z.enum(CustomerExpand).meta({
|
|
title: "CustomerExpand",
|
|
});
|
|
|
|
export const CustomerExpandArraySchema = z.array(CustomerExpandEnum).meta({
|
|
description: "Customer expand options",
|
|
});
|