Skip to content

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

944 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 { zodBuffer } from "@app/lib/zod";

import { TImmutableDBKeys } from "./models";

export const AgentVaultServiceCustomHeadersSchema = z.object({
  id: z.string().uuid(),
  serviceId: z.string().uuid(),
  name: z.string(),
  prefix: z.string(),
  encryptedValue: zodBuffer,
  position: z.number(),
  createdAt: z.date(),
  updatedAt: z.date()
});

export type TAgentVaultServiceCustomHeaders = z.infer<typeof AgentVaultServiceCustomHeadersSchema>;
export type TAgentVaultServiceCustomHeadersInsert = Omit<
  z.input<typeof AgentVaultServiceCustomHeadersSchema>,
  TImmutableDBKeys
>;
export type TAgentVaultServiceCustomHeadersUpdate = Partial<
  Omit<z.input<typeof AgentVaultServiceCustomHeadersSchema>, TImmutableDBKeys>
>;