Infisical is the open-source platform for securing secrets, certificates, access, and AI Agents.
TypeScript acmeagentsai-agentscertificate-managementdevsecopsenvironment-variableskubernetesopen-sourcepampkipostgresprivate-caprivileged-access-managementsecret-managementsecret-managersecretssecrets-managementsecuritysecurity-toolsvault
// 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 { zodBuffer } from "@app/lib/zod";
import { TImmutableDBKeys } from "./models";
export const HsmConnectorsSchema = z.object({
id: z.string().uuid(),
name: z.string(),
description: z.string().nullable().optional(),
projectId: z.string(),
gatewayId: z.string().uuid().nullable().optional(),
gatewayPoolId: z.string().uuid().nullable().optional(),
encryptedCredentials: zodBuffer,
createdAt: z.date(),
updatedAt: z.date()
});
export type THsmConnectors = z.infer<typeof HsmConnectorsSchema>;
export type THsmConnectorsInsert = Omit<z.input<typeof HsmConnectorsSchema>, TImmutableDBKeys>;
export type THsmConnectorsUpdate = Partial<Omit<z.input<typeof HsmConnectorsSchema>, TImmutableDBKeys>>;