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 { TImmutableDBKeys } from "./models";
export const PamAccountTemplatesSchema = z.object({
id: z.string().uuid(),
projectId: z.string(),
name: z.string(),
description: z.string().nullable().optional(),
type: z.string(),
policies: z.unknown().nullable().optional(),
settings: z.unknown().nullable().optional(),
gatewayId: z.string().uuid().nullable().optional(),
gatewayPoolId: z.string().uuid().nullable().optional(),
recordingConnectionId: z.string().uuid().nullable().optional(),
createdAt: z.date(),
updatedAt: z.date()
});
export type TPamAccountTemplates = z.infer<typeof PamAccountTemplatesSchema>;
export type TPamAccountTemplatesInsert = Omit<z.input<typeof PamAccountTemplatesSchema>, TImmutableDBKeys>;
export type TPamAccountTemplatesUpdate = Partial<Omit<z.input<typeof PamAccountTemplatesSchema>, TImmutableDBKeys>>;