CalloutApi: {
name: string;
schema: z.ZodObject<
{
text: z.ZodUnion<
[
z.ZodString,
z.ZodEffects<
z.ZodObject<
{
"@path": z.ZodOptional<z.ZodString>;
path: z.ZodOptional<z.ZodString>;
},
"strip",
z.ZodTypeAny,
{ "@path"?: string; path?: string },
{ "@path"?: string; path?: string },
>,
{ "@path"?: string; path?: string },
{ "@path"?: string; path?: string },
>,
z.ZodIntersection<
z.ZodRecord<z.ZodString, z.ZodAny>,
z.ZodIntersection<
z.ZodEffects<
z.ZodObject<
{
"@call": z.ZodOptional<(...)>;
call: z.ZodOptional<(...)>;
catalogId: z.ZodOptional<(...)>;
},
"strip",
z.ZodTypeAny,
{
"@call"?: (...)
| (...);
call?: (...) | (...);
catalogId?: (...) | (...);
},
{
"@call"?: (...)
| (...);
call?: (...) | (...);
catalogId?: (...) | (...);
},
>,
{ "@call"?: string; call?: string; catalogId?: string },
{ "@call"?: string; call?: string; catalogId?: string },
>,
z.ZodAny,
>,
>,
],
>;
title: z.ZodOptional<
z.ZodUnion<
[
z.ZodString,
z.ZodEffects<
z.ZodObject<
{
"@path": z.ZodOptional<z.ZodString>;
path: z.ZodOptional<z.ZodString>;
},
"strip",
z.ZodTypeAny,
{ "@path"?: string; path?: string },
{ "@path"?: string; path?: string },
>,
{ "@path"?: string; path?: string },
{ "@path"?: string; path?: string },
>,
z.ZodIntersection<
z.ZodRecord<z.ZodString, z.ZodAny>,
z.ZodIntersection<
z.ZodEffects<
z.ZodObject<
{ "@call": ...; call: ...; catalogId: ... },
"strip",
z.ZodTypeAny,
{ "@call"?: ...; call?: ...; catalogId?: ... },
{ "@call"?: ...; call?: ...; catalogId?: ... },
>,
{
"@call"?: (...) | (...);
call?: (...) | (...);
catalogId?: (...) | (...);
},
{
"@call"?: (...)
| (...);
call?: (...) | (...);
catalogId?: (...) | (...);
},
>,
z.ZodAny,
>,
>,
],
>,
>;
tone: z.ZodOptional<
z.ZodEnum<["neutral", "info", "success", "warn", "error"]>,
>;
weight: z.ZodOptional<z.ZodNumber>;
},
"strip",
z.ZodTypeAny,
{
text?: any;
title?: any;
tone?: "neutral"
| "info"
| "success"
| "warn"
| "error";
weight?: number;
},
{
text?: any;
title?: any;
tone?: "neutral"
| "info"
| "success"
| "warn"
| "error";
weight?: number;
},
>;
}
Type Declaration
-
name: string
-
schema: z.ZodObject<
{
text: z.ZodUnion<
[
z.ZodString,
z.ZodEffects<
z.ZodObject<
{
"@path": z.ZodOptional<z.ZodString>;
path: z.ZodOptional<z.ZodString>;
},
"strip",
z.ZodTypeAny,
{ "@path"?: string; path?: string },
{ "@path"?: string; path?: string },
>,
{ "@path"?: string; path?: string },
{ "@path"?: string; path?: string },
>,
z.ZodIntersection<
z.ZodRecord<z.ZodString, z.ZodAny>,
z.ZodIntersection<
z.ZodEffects<
z.ZodObject<
{
"@call": z.ZodOptional<(...)>;
call: z.ZodOptional<(...)>;
catalogId: z.ZodOptional<(...)>;
},
"strip",
z.ZodTypeAny,
{
"@call"?: (...)
| (...);
call?: (...) | (...);
catalogId?: (...) | (...);
},
{
"@call"?: (...)
| (...);
call?: (...) | (...);
catalogId?: (...) | (...);
},
>,
{ "@call"?: string; call?: string; catalogId?: string },
{ "@call"?: string; call?: string; catalogId?: string },
>,
z.ZodAny,
>,
>,
],
>;
title: z.ZodOptional<
z.ZodUnion<
[
z.ZodString,
z.ZodEffects<
z.ZodObject<
{
"@path": z.ZodOptional<z.ZodString>;
path: z.ZodOptional<z.ZodString>;
},
"strip",
z.ZodTypeAny,
{ "@path"?: string; path?: string },
{ "@path"?: string; path?: string },
>,
{ "@path"?: string; path?: string },
{ "@path"?: string; path?: string },
>,
z.ZodIntersection<
z.ZodRecord<z.ZodString, z.ZodAny>,
z.ZodIntersection<
z.ZodEffects<
z.ZodObject<
{ "@call": ...; call: ...; catalogId: ... },
"strip",
z.ZodTypeAny,
{ "@call"?: ...; call?: ...; catalogId?: ... },
{ "@call"?: ...; call?: ...; catalogId?: ... },
>,
{
"@call"?: (...) | (...);
call?: (...) | (...);
catalogId?: (...) | (...);
},
{
"@call"?: (...)
| (...);
call?: (...) | (...);
catalogId?: (...) | (...);
},
>,
z.ZodAny,
>,
>,
],
>,
>;
tone: z.ZodOptional<
z.ZodEnum<["neutral", "info", "success", "warn", "error"]>,
>;
weight: z.ZodOptional<z.ZodNumber>;
},
"strip",
z.ZodTypeAny,
{
text?: any;
title?: any;
tone?: "neutral"
| "info"
| "success"
| "warn"
| "error";
weight?: number;
},
{
text?: any;
title?: any;
tone?: "neutral"
| "info"
| "success"
| "warn"
| "error";
weight?: number;
},
>