Skip to main content

Variable: AdapterCreateRequestSchema

const AdapterCreateRequestSchema: ZodObject<{
name: ZodString;
description: ZodOptional<ZodNullable<ZodString>>;
script_b64: ZodString;
network_broker_channel_uuid: ZodOptional<ZodNullable<ZodString>>;
variables: ZodOptional<ZodArray<ZodObject<{
key: ZodString;
value: ZodOptional<ZodNullable<ZodString>>;
type: ZodEnum<["VAR", "SECRET"]>;
}, "strip", ZodTypeAny, {
key: string;
value?: string | null;
type: "VAR" | "SECRET";
}, {
key: string;
value?: string | null;
type: "VAR" | "SECRET";
}>, "many">>;
prompt: ZodString;
}, "strict", ZodTypeAny, {
name: string;
description?: string | null;
script_b64: string;
network_broker_channel_uuid?: string | null;
variables?: {
key: string;
value?: string | null;
type: "VAR" | "SECRET";
}[];
prompt: string;
}, {
name: string;
description?: string | null;
script_b64: string;
network_broker_channel_uuid?: string | null;
variables?: {
key: string;
value?: string | null;
type: "VAR" | "SECRET";
}[];
prompt: string;
}>;

Defined in: src/models/red-team.ts:1086