Skip to content

Infisical is the open-source platform for securing secrets, certificates, access, and AI Agents.

861 B
Raw Blame
// Code generated by automation script, DO NOT EDIT.
// Automated by pulling database and generating zod schema
// To update. Just run npm run generate:schema
// Written by akhilmhdh.

import { z } from "zod";

import { TImmutableDBKeys } from "./models";

export const KmipServersSchema = z.object({
  id: z.string().uuid(),
  createdAt: z.date(),
  updatedAt: z.date(),
  orgId: z.string().uuid(),
  name: z.string(),
  tokenVersion: z.number().default(0),
  hostnamesOrIps: z.string().nullable().optional(),
  ttl: z.string().nullable().optional(),
  keyAlgorithm: z.string().nullable().optional()
});

export type TKmipServers = z.infer<typeof KmipServersSchema>;
export type TKmipServersInsert = Omit<z.input<typeof KmipServersSchema>, TImmutableDBKeys>;
export type TKmipServersUpdate = Partial<Omit<z.input<typeof KmipServersSchema>, TImmutableDBKeys>>;