UNPKG

@vzeta/camunda-api-zod-schemas

Version:

Zod schemas and TypeScript types for Camunda 8 unified API

17 lines (16 loc) 351 B
import { z } from "zod"; import { API_VERSION } from "../common.js"; const licenseSchema = z.object({ validLicense: z.boolean(), licenseType: z.string(), isCommercial: z.boolean(), expiresAt: z.string().nullable() }); const getLicense = { method: "GET", getUrl: () => `/${API_VERSION}/license` }; export { getLicense, licenseSchema };