Files
cfw-autumn/shared/api/billing/common/cancelAction.ts
2026-02-20 15:17:00 +00:00

12 lines
435 B
TypeScript

import { z } from "zod/v4";
export const CancelActionSchema = z
.enum(["cancel_immediately", "cancel_end_of_cycle", "uncancel"])
.meta({
title: "CancelAction",
description:
"Action to perform for cancellation. 'cancel_immediately' cancels now with prorated refund, 'cancel_end_of_cycle' cancels at period end, 'uncancel' reverses a pending cancellation.",
});
export type CancelAction = z.infer<typeof CancelActionSchema>;