Skip to content

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

792 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 SecretRotationV2SecretMappingsSchema = z.object({
  id: z.string().uuid(),
  secretId: z.string().uuid(),
  rotationId: z.string().uuid()
});

export type TSecretRotationV2SecretMappings = z.infer<typeof SecretRotationV2SecretMappingsSchema>;
export type TSecretRotationV2SecretMappingsInsert = Omit<
  z.input<typeof SecretRotationV2SecretMappingsSchema>,
  TImmutableDBKeys
>;
export type TSecretRotationV2SecretMappingsUpdate = Partial<
  Omit<z.input<typeof SecretRotationV2SecretMappingsSchema>, TImmutableDBKeys>
>;