Skip to content

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

1006 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 PkiApplicationProfilesSchema = z.object({
  id: z.string().uuid(),
  applicationId: z.string().uuid(),
  profileId: z.string().uuid(),
  estConfigId: z.string().uuid().nullable().optional(),
  apiConfigId: z.string().uuid().nullable().optional(),
  acmeConfigId: z.string().uuid().nullable().optional(),
  scepConfigId: z.string().uuid().nullable().optional(),
  createdAt: z.date(),
  updatedAt: z.date()
});

export type TPkiApplicationProfiles = z.infer<typeof PkiApplicationProfilesSchema>;
export type TPkiApplicationProfilesInsert = Omit<z.input<typeof PkiApplicationProfilesSchema>, TImmutableDBKeys>;
export type TPkiApplicationProfilesUpdate = Partial<
  Omit<z.input<typeof PkiApplicationProfilesSchema>, TImmutableDBKeys>
>;