import { McpServer } from '@modelcontextprotocol/sdk/server/mcp.js';
import { z } from 'zod';
import { CplaceApiClient } from '../api.js';
export declare const SEARCH_TOOL_DEFINITIONS: {
readonly cplace_search_pages: {
readonly description: "Find pages of a given type in cplace, optionally narrowed by structured attribute filters via searchFilter.\n\nPicking a search tool: use cplace_search_pages_fulltext for a plain keyword search when no attribute conditions are needed; use cplace_list_pages_of_type to list every page of one type in one workspace with no filtering at all.\n\nThe response includes a 'cplaceJson' field - use this when configuring search for embedded table/list widgets (cf.platform.embeddedSearchAsTable, cf.platform.embeddedSearchAsList).\n\nRichString attributes appear in decoded form: `{\"properties\":{…}}` — no base64.";
readonly inputSchema: {
readonly workspaceId: z.ZodOptional;
readonly typeInternalName: z.ZodString;
readonly fulltext: z.ZodOptional;
readonly searchFilter: z.ZodEffects;
}, "strip", z.ZodTypeAny, {
name: {
equals: string;
};
}, {
name: {
equals: string;
};
}>, z.ZodObject<{
attribute: z.ZodString;
string: z.ZodEffects;
not_equals: z.ZodOptional;
contains: z.ZodOptional;
beginsWith: z.ZodOptional;
is_empty: z.ZodOptional;
is_not_empty: z.ZodOptional;
}, "strict", z.ZodTypeAny, {
equals?: string | undefined;
not_equals?: string | undefined;
contains?: string | undefined;
beginsWith?: string | undefined;
is_empty?: boolean | undefined;
is_not_empty?: boolean | undefined;
}, {
equals?: string | undefined;
not_equals?: string | undefined;
contains?: string | undefined;
beginsWith?: string | undefined;
is_empty?: boolean | undefined;
is_not_empty?: boolean | undefined;
}>, {
equals?: string | undefined;
not_equals?: string | undefined;
contains?: string | undefined;
beginsWith?: string | undefined;
is_empty?: boolean | undefined;
is_not_empty?: boolean | undefined;
}, {
equals?: string | undefined;
not_equals?: string | undefined;
contains?: string | undefined;
beginsWith?: string | undefined;
is_empty?: boolean | undefined;
is_not_empty?: boolean | undefined;
}>;
}, "strip", z.ZodTypeAny, {
string: {
equals?: string | undefined;
not_equals?: string | undefined;
contains?: string | undefined;
beginsWith?: string | undefined;
is_empty?: boolean | undefined;
is_not_empty?: boolean | undefined;
};
attribute: string;
}, {
string: {
equals?: string | undefined;
not_equals?: string | undefined;
contains?: string | undefined;
beginsWith?: string | undefined;
is_empty?: boolean | undefined;
is_not_empty?: boolean | undefined;
};
attribute: string;
}>, z.ZodObject<{
attribute: z.ZodString;
number: z.ZodEffects;
not_equals: z.ZodOptional;
greater_than: z.ZodOptional;
greater_than_or_equal_to: z.ZodOptional;
less_than: z.ZodOptional;
less_than_or_equal_to: z.ZodOptional;
is_empty: z.ZodOptional;
is_not_empty: z.ZodOptional;
}, "strict", z.ZodTypeAny, {
equals?: number | undefined;
not_equals?: number | undefined;
is_empty?: boolean | undefined;
is_not_empty?: boolean | undefined;
greater_than?: number | undefined;
greater_than_or_equal_to?: number | undefined;
less_than?: number | undefined;
less_than_or_equal_to?: number | undefined;
}, {
equals?: number | undefined;
not_equals?: number | undefined;
is_empty?: boolean | undefined;
is_not_empty?: boolean | undefined;
greater_than?: number | undefined;
greater_than_or_equal_to?: number | undefined;
less_than?: number | undefined;
less_than_or_equal_to?: number | undefined;
}>, {
equals?: number | undefined;
not_equals?: number | undefined;
is_empty?: boolean | undefined;
is_not_empty?: boolean | undefined;
greater_than?: number | undefined;
greater_than_or_equal_to?: number | undefined;
less_than?: number | undefined;
less_than_or_equal_to?: number | undefined;
}, {
equals?: number | undefined;
not_equals?: number | undefined;
is_empty?: boolean | undefined;
is_not_empty?: boolean | undefined;
greater_than?: number | undefined;
greater_than_or_equal_to?: number | undefined;
less_than?: number | undefined;
less_than_or_equal_to?: number | undefined;
}>;
}, "strip", z.ZodTypeAny, {
number: {
equals?: number | undefined;
not_equals?: number | undefined;
is_empty?: boolean | undefined;
is_not_empty?: boolean | undefined;
greater_than?: number | undefined;
greater_than_or_equal_to?: number | undefined;
less_than?: number | undefined;
less_than_or_equal_to?: number | undefined;
};
attribute: string;
}, {
number: {
equals?: number | undefined;
not_equals?: number | undefined;
is_empty?: boolean | undefined;
is_not_empty?: boolean | undefined;
greater_than?: number | undefined;
greater_than_or_equal_to?: number | undefined;
less_than?: number | undefined;
less_than_or_equal_to?: number | undefined;
};
attribute: string;
}>, z.ZodObject<{
attribute: z.ZodString;
date: z.ZodEffects;
before: z.ZodOptional;
equals: z.ZodOptional;
not_equals: z.ZodOptional;
on_or_after: z.ZodOptional;
on_or_before: z.ZodOptional;
is_empty: z.ZodOptional;
is_not_empty: z.ZodOptional;
}, "strict", z.ZodTypeAny, {
equals?: string | undefined;
not_equals?: string | undefined;
is_empty?: boolean | undefined;
is_not_empty?: boolean | undefined;
after?: string | undefined;
before?: string | undefined;
on_or_after?: string | undefined;
on_or_before?: string | undefined;
}, {
equals?: string | undefined;
not_equals?: string | undefined;
is_empty?: boolean | undefined;
is_not_empty?: boolean | undefined;
after?: string | undefined;
before?: string | undefined;
on_or_after?: string | undefined;
on_or_before?: string | undefined;
}>, {
equals?: string | undefined;
not_equals?: string | undefined;
is_empty?: boolean | undefined;
is_not_empty?: boolean | undefined;
after?: string | undefined;
before?: string | undefined;
on_or_after?: string | undefined;
on_or_before?: string | undefined;
}, {
equals?: string | undefined;
not_equals?: string | undefined;
is_empty?: boolean | undefined;
is_not_empty?: boolean | undefined;
after?: string | undefined;
before?: string | undefined;
on_or_after?: string | undefined;
on_or_before?: string | undefined;
}>;
}, "strip", z.ZodTypeAny, {
date: {
equals?: string | undefined;
not_equals?: string | undefined;
is_empty?: boolean | undefined;
is_not_empty?: boolean | undefined;
after?: string | undefined;
before?: string | undefined;
on_or_after?: string | undefined;
on_or_before?: string | undefined;
};
attribute: string;
}, {
date: {
equals?: string | undefined;
not_equals?: string | undefined;
is_empty?: boolean | undefined;
is_not_empty?: boolean | undefined;
after?: string | undefined;
before?: string | undefined;
on_or_after?: string | undefined;
on_or_before?: string | undefined;
};
attribute: string;
}>, z.ZodObject<{
attribute: z.ZodString;
reference: z.ZodEffects;
not_equals: z.ZodOptional;
is_empty: z.ZodOptional;
is_not_empty: z.ZodOptional;
}, "strict", z.ZodTypeAny, {
equals?: string | undefined;
not_equals?: string | undefined;
is_empty?: boolean | undefined;
is_not_empty?: boolean | undefined;
}, {
equals?: string | undefined;
not_equals?: string | undefined;
is_empty?: boolean | undefined;
is_not_empty?: boolean | undefined;
}>, {
equals?: string | undefined;
not_equals?: string | undefined;
is_empty?: boolean | undefined;
is_not_empty?: boolean | undefined;
}, {
equals?: string | undefined;
not_equals?: string | undefined;
is_empty?: boolean | undefined;
is_not_empty?: boolean | undefined;
}>;
}, "strip", z.ZodTypeAny, {
reference: {
equals?: string | undefined;
not_equals?: string | undefined;
is_empty?: boolean | undefined;
is_not_empty?: boolean | undefined;
};
attribute: string;
}, {
reference: {
equals?: string | undefined;
not_equals?: string | undefined;
is_empty?: boolean | undefined;
is_not_empty?: boolean | undefined;
};
attribute: string;
}>, z.ZodObject<{
attribute: z.ZodString;
boolean: z.ZodEffects;
not_equals: z.ZodOptional;
}, "strict", z.ZodTypeAny, {
equals?: boolean | undefined;
not_equals?: boolean | undefined;
}, {
equals?: boolean | undefined;
not_equals?: boolean | undefined;
}>, {
equals?: boolean | undefined;
not_equals?: boolean | undefined;
}, {
equals?: boolean | undefined;
not_equals?: boolean | undefined;
}>;
}, "strip", z.ZodTypeAny, {
boolean: {
equals?: boolean | undefined;
not_equals?: boolean | undefined;
};
attribute: string;
}, {
boolean: {
equals?: boolean | undefined;
not_equals?: boolean | undefined;
};
attribute: string;
}>, z.ZodObject<{
relativeReference: z.ZodObject<{
attribute: z.ZodString;
operator: z.ZodString;
}, "strip", z.ZodTypeAny, {
attribute: string;
operator: string;
}, {
attribute: string;
operator: string;
}>;
}, "strip", z.ZodTypeAny, {
relativeReference: {
attribute: string;
operator: string;
};
}, {
relativeReference: {
attribute: string;
operator: string;
};
}>, z.ZodObject<{
relativeDate: z.ZodObject<{
attribute: z.ZodString;
operator: z.ZodEnum<["equals", "lessThan", "lessEquals", "greaterThan", "greaterEquals"]>;
offset: z.ZodOptional;
relativeToAttribute: z.ZodOptional>;
}, "strip", z.ZodTypeAny, {
attribute: string;
operator: "equals" | "lessThan" | "lessEquals" | "greaterThan" | "greaterEquals";
offset?: number | undefined;
relativeToAttribute?: string | null | undefined;
}, {
attribute: string;
operator: "equals" | "lessThan" | "lessEquals" | "greaterThan" | "greaterEquals";
offset?: number | undefined;
relativeToAttribute?: string | null | undefined;
}>;
}, "strip", z.ZodTypeAny, {
relativeDate: {
attribute: string;
operator: "equals" | "lessThan" | "lessEquals" | "greaterThan" | "greaterEquals";
offset?: number | undefined;
relativeToAttribute?: string | null | undefined;
};
}, {
relativeDate: {
attribute: string;
operator: "equals" | "lessThan" | "lessEquals" | "greaterThan" | "greaterEquals";
offset?: number | undefined;
relativeToAttribute?: string | null | undefined;
};
}>, z.ZodObject<{
relativeString: z.ZodObject<{
attribute: z.ZodString;
sourceAttribute: z.ZodString;
}, "strip", z.ZodTypeAny, {
attribute: string;
sourceAttribute: string;
}, {
attribute: string;
sourceAttribute: string;
}>;
}, "strip", z.ZodTypeAny, {
relativeString: {
attribute: string;
sourceAttribute: string;
};
}, {
relativeString: {
attribute: string;
sourceAttribute: string;
};
}>, z.ZodObject<{
relativeNumber: z.ZodObject<{
attribute: z.ZodString;
sourceAttribute: z.ZodString;
operator: z.ZodOptional>;
offset: z.ZodOptional;
}, "strip", z.ZodTypeAny, {
attribute: string;
sourceAttribute: string;
offset?: number | undefined;
operator?: "equals" | "lessThan" | "lessEquals" | "greaterThan" | "greaterEquals" | undefined;
}, {
attribute: string;
sourceAttribute: string;
offset?: number | undefined;
operator?: "equals" | "lessThan" | "lessEquals" | "greaterThan" | "greaterEquals" | undefined;
}>;
}, "strip", z.ZodTypeAny, {
relativeNumber: {
attribute: string;
sourceAttribute: string;
offset?: number | undefined;
operator?: "equals" | "lessThan" | "lessEquals" | "greaterThan" | "greaterEquals" | undefined;
};
}, {
relativeNumber: {
attribute: string;
sourceAttribute: string;
offset?: number | undefined;
operator?: "equals" | "lessThan" | "lessEquals" | "greaterThan" | "greaterEquals" | undefined;
};
}>, z.ZodObject<{
relativeBoolean: z.ZodObject<{
attribute: z.ZodString;
sourceAttribute: z.ZodString;
}, "strip", z.ZodTypeAny, {
attribute: string;
sourceAttribute: string;
}, {
attribute: string;
sourceAttribute: string;
}>;
}, "strip", z.ZodTypeAny, {
relativeBoolean: {
attribute: string;
sourceAttribute: string;
};
}, {
relativeBoolean: {
attribute: string;
sourceAttribute: string;
};
}>, z.ZodObject<{
relativeSpace: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>;
}, "strip", z.ZodTypeAny, {
relativeSpace: {};
}, {
relativeSpace: {};
}>, z.ZodObject<{
relativeUid: z.ZodObject<{
operator: z.ZodString;
}, "strip", z.ZodTypeAny, {
operator: string;
}, {
operator: string;
}>;
}, "strip", z.ZodTypeAny, {
relativeUid: {
operator: string;
};
}, {
relativeUid: {
operator: string;
};
}>, z.ZodObject<{
relativeBuiltinReference: z.ZodObject<{
attribute: z.ZodString;
operator: z.ZodString;
}, "strip", z.ZodTypeAny, {
attribute: string;
operator: string;
}, {
attribute: string;
operator: string;
}>;
}, "strip", z.ZodTypeAny, {
relativeBuiltinReference: {
attribute: string;
operator: string;
};
}, {
relativeBuiltinReference: {
attribute: string;
operator: string;
};
}>]>, z.ZodObject<{
and: z.ZodArray;
}, "strip", z.ZodTypeAny, {
name: {
equals: string;
};
}, {
name: {
equals: string;
};
}>, z.ZodObject<{
attribute: z.ZodString;
string: z.ZodEffects;
not_equals: z.ZodOptional;
contains: z.ZodOptional;
beginsWith: z.ZodOptional;
is_empty: z.ZodOptional;
is_not_empty: z.ZodOptional;
}, "strict", z.ZodTypeAny, {
equals?: string | undefined;
not_equals?: string | undefined;
contains?: string | undefined;
beginsWith?: string | undefined;
is_empty?: boolean | undefined;
is_not_empty?: boolean | undefined;
}, {
equals?: string | undefined;
not_equals?: string | undefined;
contains?: string | undefined;
beginsWith?: string | undefined;
is_empty?: boolean | undefined;
is_not_empty?: boolean | undefined;
}>, {
equals?: string | undefined;
not_equals?: string | undefined;
contains?: string | undefined;
beginsWith?: string | undefined;
is_empty?: boolean | undefined;
is_not_empty?: boolean | undefined;
}, {
equals?: string | undefined;
not_equals?: string | undefined;
contains?: string | undefined;
beginsWith?: string | undefined;
is_empty?: boolean | undefined;
is_not_empty?: boolean | undefined;
}>;
}, "strip", z.ZodTypeAny, {
string: {
equals?: string | undefined;
not_equals?: string | undefined;
contains?: string | undefined;
beginsWith?: string | undefined;
is_empty?: boolean | undefined;
is_not_empty?: boolean | undefined;
};
attribute: string;
}, {
string: {
equals?: string | undefined;
not_equals?: string | undefined;
contains?: string | undefined;
beginsWith?: string | undefined;
is_empty?: boolean | undefined;
is_not_empty?: boolean | undefined;
};
attribute: string;
}>, z.ZodObject<{
attribute: z.ZodString;
number: z.ZodEffects;
not_equals: z.ZodOptional;
greater_than: z.ZodOptional;
greater_than_or_equal_to: z.ZodOptional;
less_than: z.ZodOptional;
less_than_or_equal_to: z.ZodOptional;
is_empty: z.ZodOptional;
is_not_empty: z.ZodOptional;
}, "strict", z.ZodTypeAny, {
equals?: number | undefined;
not_equals?: number | undefined;
is_empty?: boolean | undefined;
is_not_empty?: boolean | undefined;
greater_than?: number | undefined;
greater_than_or_equal_to?: number | undefined;
less_than?: number | undefined;
less_than_or_equal_to?: number | undefined;
}, {
equals?: number | undefined;
not_equals?: number | undefined;
is_empty?: boolean | undefined;
is_not_empty?: boolean | undefined;
greater_than?: number | undefined;
greater_than_or_equal_to?: number | undefined;
less_than?: number | undefined;
less_than_or_equal_to?: number | undefined;
}>, {
equals?: number | undefined;
not_equals?: number | undefined;
is_empty?: boolean | undefined;
is_not_empty?: boolean | undefined;
greater_than?: number | undefined;
greater_than_or_equal_to?: number | undefined;
less_than?: number | undefined;
less_than_or_equal_to?: number | undefined;
}, {
equals?: number | undefined;
not_equals?: number | undefined;
is_empty?: boolean | undefined;
is_not_empty?: boolean | undefined;
greater_than?: number | undefined;
greater_than_or_equal_to?: number | undefined;
less_than?: number | undefined;
less_than_or_equal_to?: number | undefined;
}>;
}, "strip", z.ZodTypeAny, {
number: {
equals?: number | undefined;
not_equals?: number | undefined;
is_empty?: boolean | undefined;
is_not_empty?: boolean | undefined;
greater_than?: number | undefined;
greater_than_or_equal_to?: number | undefined;
less_than?: number | undefined;
less_than_or_equal_to?: number | undefined;
};
attribute: string;
}, {
number: {
equals?: number | undefined;
not_equals?: number | undefined;
is_empty?: boolean | undefined;
is_not_empty?: boolean | undefined;
greater_than?: number | undefined;
greater_than_or_equal_to?: number | undefined;
less_than?: number | undefined;
less_than_or_equal_to?: number | undefined;
};
attribute: string;
}>, z.ZodObject<{
attribute: z.ZodString;
date: z.ZodEffects;
before: z.ZodOptional;
equals: z.ZodOptional;
not_equals: z.ZodOptional;
on_or_after: z.ZodOptional;
on_or_before: z.ZodOptional;
is_empty: z.ZodOptional;
is_not_empty: z.ZodOptional;
}, "strict", z.ZodTypeAny, {
equals?: string | undefined;
not_equals?: string | undefined;
is_empty?: boolean | undefined;
is_not_empty?: boolean | undefined;
after?: string | undefined;
before?: string | undefined;
on_or_after?: string | undefined;
on_or_before?: string | undefined;
}, {
equals?: string | undefined;
not_equals?: string | undefined;
is_empty?: boolean | undefined;
is_not_empty?: boolean | undefined;
after?: string | undefined;
before?: string | undefined;
on_or_after?: string | undefined;
on_or_before?: string | undefined;
}>, {
equals?: string | undefined;
not_equals?: string | undefined;
is_empty?: boolean | undefined;
is_not_empty?: boolean | undefined;
after?: string | undefined;
before?: string | undefined;
on_or_after?: string | undefined;
on_or_before?: string | undefined;
}, {
equals?: string | undefined;
not_equals?: string | undefined;
is_empty?: boolean | undefined;
is_not_empty?: boolean | undefined;
after?: string | undefined;
before?: string | undefined;
on_or_after?: string | undefined;
on_or_before?: string | undefined;
}>;
}, "strip", z.ZodTypeAny, {
date: {
equals?: string | undefined;
not_equals?: string | undefined;
is_empty?: boolean | undefined;
is_not_empty?: boolean | undefined;
after?: string | undefined;
before?: string | undefined;
on_or_after?: string | undefined;
on_or_before?: string | undefined;
};
attribute: string;
}, {
date: {
equals?: string | undefined;
not_equals?: string | undefined;
is_empty?: boolean | undefined;
is_not_empty?: boolean | undefined;
after?: string | undefined;
before?: string | undefined;
on_or_after?: string | undefined;
on_or_before?: string | undefined;
};
attribute: string;
}>, z.ZodObject<{
attribute: z.ZodString;
reference: z.ZodEffects;
not_equals: z.ZodOptional;
is_empty: z.ZodOptional;
is_not_empty: z.ZodOptional;
}, "strict", z.ZodTypeAny, {
equals?: string | undefined;
not_equals?: string | undefined;
is_empty?: boolean | undefined;
is_not_empty?: boolean | undefined;
}, {
equals?: string | undefined;
not_equals?: string | undefined;
is_empty?: boolean | undefined;
is_not_empty?: boolean | undefined;
}>, {
equals?: string | undefined;
not_equals?: string | undefined;
is_empty?: boolean | undefined;
is_not_empty?: boolean | undefined;
}, {
equals?: string | undefined;
not_equals?: string | undefined;
is_empty?: boolean | undefined;
is_not_empty?: boolean | undefined;
}>;
}, "strip", z.ZodTypeAny, {
reference: {
equals?: string | undefined;
not_equals?: string | undefined;
is_empty?: boolean | undefined;
is_not_empty?: boolean | undefined;
};
attribute: string;
}, {
reference: {
equals?: string | undefined;
not_equals?: string | undefined;
is_empty?: boolean | undefined;
is_not_empty?: boolean | undefined;
};
attribute: string;
}>, z.ZodObject<{
attribute: z.ZodString;
boolean: z.ZodEffects;
not_equals: z.ZodOptional;
}, "strict", z.ZodTypeAny, {
equals?: boolean | undefined;
not_equals?: boolean | undefined;
}, {
equals?: boolean | undefined;
not_equals?: boolean | undefined;
}>, {
equals?: boolean | undefined;
not_equals?: boolean | undefined;
}, {
equals?: boolean | undefined;
not_equals?: boolean | undefined;
}>;
}, "strip", z.ZodTypeAny, {
boolean: {
equals?: boolean | undefined;
not_equals?: boolean | undefined;
};
attribute: string;
}, {
boolean: {
equals?: boolean | undefined;
not_equals?: boolean | undefined;
};
attribute: string;
}>, z.ZodObject<{
relativeReference: z.ZodObject<{
attribute: z.ZodString;
operator: z.ZodString;
}, "strip", z.ZodTypeAny, {
attribute: string;
operator: string;
}, {
attribute: string;
operator: string;
}>;
}, "strip", z.ZodTypeAny, {
relativeReference: {
attribute: string;
operator: string;
};
}, {
relativeReference: {
attribute: string;
operator: string;
};
}>, z.ZodObject<{
relativeDate: z.ZodObject<{
attribute: z.ZodString;
operator: z.ZodEnum<["equals", "lessThan", "lessEquals", "greaterThan", "greaterEquals"]>;
offset: z.ZodOptional;
relativeToAttribute: z.ZodOptional>;
}, "strip", z.ZodTypeAny, {
attribute: string;
operator: "equals" | "lessThan" | "lessEquals" | "greaterThan" | "greaterEquals";
offset?: number | undefined;
relativeToAttribute?: string | null | undefined;
}, {
attribute: string;
operator: "equals" | "lessThan" | "lessEquals" | "greaterThan" | "greaterEquals";
offset?: number | undefined;
relativeToAttribute?: string | null | undefined;
}>;
}, "strip", z.ZodTypeAny, {
relativeDate: {
attribute: string;
operator: "equals" | "lessThan" | "lessEquals" | "greaterThan" | "greaterEquals";
offset?: number | undefined;
relativeToAttribute?: string | null | undefined;
};
}, {
relativeDate: {
attribute: string;
operator: "equals" | "lessThan" | "lessEquals" | "greaterThan" | "greaterEquals";
offset?: number | undefined;
relativeToAttribute?: string | null | undefined;
};
}>, z.ZodObject<{
relativeString: z.ZodObject<{
attribute: z.ZodString;
sourceAttribute: z.ZodString;
}, "strip", z.ZodTypeAny, {
attribute: string;
sourceAttribute: string;
}, {
attribute: string;
sourceAttribute: string;
}>;
}, "strip", z.ZodTypeAny, {
relativeString: {
attribute: string;
sourceAttribute: string;
};
}, {
relativeString: {
attribute: string;
sourceAttribute: string;
};
}>, z.ZodObject<{
relativeNumber: z.ZodObject<{
attribute: z.ZodString;
sourceAttribute: z.ZodString;
operator: z.ZodOptional>;
offset: z.ZodOptional;
}, "strip", z.ZodTypeAny, {
attribute: string;
sourceAttribute: string;
offset?: number | undefined;
operator?: "equals" | "lessThan" | "lessEquals" | "greaterThan" | "greaterEquals" | undefined;
}, {
attribute: string;
sourceAttribute: string;
offset?: number | undefined;
operator?: "equals" | "lessThan" | "lessEquals" | "greaterThan" | "greaterEquals" | undefined;
}>;
}, "strip", z.ZodTypeAny, {
relativeNumber: {
attribute: string;
sourceAttribute: string;
offset?: number | undefined;
operator?: "equals" | "lessThan" | "lessEquals" | "greaterThan" | "greaterEquals" | undefined;
};
}, {
relativeNumber: {
attribute: string;
sourceAttribute: string;
offset?: number | undefined;
operator?: "equals" | "lessThan" | "lessEquals" | "greaterThan" | "greaterEquals" | undefined;
};
}>, z.ZodObject<{
relativeBoolean: z.ZodObject<{
attribute: z.ZodString;
sourceAttribute: z.ZodString;
}, "strip", z.ZodTypeAny, {
attribute: string;
sourceAttribute: string;
}, {
attribute: string;
sourceAttribute: string;
}>;
}, "strip", z.ZodTypeAny, {
relativeBoolean: {
attribute: string;
sourceAttribute: string;
};
}, {
relativeBoolean: {
attribute: string;
sourceAttribute: string;
};
}>, z.ZodObject<{
relativeSpace: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>;
}, "strip", z.ZodTypeAny, {
relativeSpace: {};
}, {
relativeSpace: {};
}>, z.ZodObject<{
relativeUid: z.ZodObject<{
operator: z.ZodString;
}, "strip", z.ZodTypeAny, {
operator: string;
}, {
operator: string;
}>;
}, "strip", z.ZodTypeAny, {
relativeUid: {
operator: string;
};
}, {
relativeUid: {
operator: string;
};
}>, z.ZodObject<{
relativeBuiltinReference: z.ZodObject<{
attribute: z.ZodString;
operator: z.ZodString;
}, "strip", z.ZodTypeAny, {
attribute: string;
operator: string;
}, {
attribute: string;
operator: string;
}>;
}, "strip", z.ZodTypeAny, {
relativeBuiltinReference: {
attribute: string;
operator: string;
};
}, {
relativeBuiltinReference: {
attribute: string;
operator: string;
};
}>]>, z.ZodObject<{
or: z.ZodArray;
}, "strip", z.ZodTypeAny, {
name: {
equals: string;
};
}, {
name: {
equals: string;
};
}>, z.ZodObject<{
attribute: z.ZodString;
string: z.ZodEffects;
not_equals: z.ZodOptional;
contains: z.ZodOptional;
beginsWith: z.ZodOptional;
is_empty: z.ZodOptional;
is_not_empty: z.ZodOptional;
}, "strict", z.ZodTypeAny, {
equals?: string | undefined;
not_equals?: string | undefined;
contains?: string | undefined;
beginsWith?: string | undefined;
is_empty?: boolean | undefined;
is_not_empty?: boolean | undefined;
}, {
equals?: string | undefined;
not_equals?: string | undefined;
contains?: string | undefined;
beginsWith?: string | undefined;
is_empty?: boolean | undefined;
is_not_empty?: boolean | undefined;
}>, {
equals?: string | undefined;
not_equals?: string | undefined;
contains?: string | undefined;
beginsWith?: string | undefined;
is_empty?: boolean | undefined;
is_not_empty?: boolean | undefined;
}, {
equals?: string | undefined;
not_equals?: string | undefined;
contains?: string | undefined;
beginsWith?: string | undefined;
is_empty?: boolean | undefined;
is_not_empty?: boolean | undefined;
}>;
}, "strip", z.ZodTypeAny, {
string: {
equals?: string | undefined;
not_equals?: string | undefined;
contains?: string | undefined;
beginsWith?: string | undefined;
is_empty?: boolean | undefined;
is_not_empty?: boolean | undefined;
};
attribute: string;
}, {
string: {
equals?: string | undefined;
not_equals?: string | undefined;
contains?: string | undefined;
beginsWith?: string | undefined;
is_empty?: boolean | undefined;
is_not_empty?: boolean | undefined;
};
attribute: string;
}>, z.ZodObject<{
attribute: z.ZodString;
number: z.ZodEffects;
not_equals: z.ZodOptional;
greater_than: z.ZodOptional;
greater_than_or_equal_to: z.ZodOptional;
less_than: z.ZodOptional;
less_than_or_equal_to: z.ZodOptional;
is_empty: z.ZodOptional;
is_not_empty: z.ZodOptional;
}, "strict", z.ZodTypeAny, {
equals?: number | undefined;
not_equals?: number | undefined;
is_empty?: boolean | undefined;
is_not_empty?: boolean | undefined;
greater_than?: number | undefined;
greater_than_or_equal_to?: number | undefined;
less_than?: number | undefined;
less_than_or_equal_to?: number | undefined;
}, {
equals?: number | undefined;
not_equals?: number | undefined;
is_empty?: boolean | undefined;
is_not_empty?: boolean | undefined;
greater_than?: number | undefined;
greater_than_or_equal_to?: number | undefined;
less_than?: number | undefined;
less_than_or_equal_to?: number | undefined;
}>, {
equals?: number | undefined;
not_equals?: number | undefined;
is_empty?: boolean | undefined;
is_not_empty?: boolean | undefined;
greater_than?: number | undefined;
greater_than_or_equal_to?: number | undefined;
less_than?: number | undefined;
less_than_or_equal_to?: number | undefined;
}, {
equals?: number | undefined;
not_equals?: number | undefined;
is_empty?: boolean | undefined;
is_not_empty?: boolean | undefined;
greater_than?: number | undefined;
greater_than_or_equal_to?: number | undefined;
less_than?: number | undefined;
less_than_or_equal_to?: number | undefined;
}>;
}, "strip", z.ZodTypeAny, {
number: {
equals?: number | undefined;
not_equals?: number | undefined;
is_empty?: boolean | undefined;
is_not_empty?: boolean | undefined;
greater_than?: number | undefined;
greater_than_or_equal_to?: number | undefined;
less_than?: number | undefined;
less_than_or_equal_to?: number | undefined;
};
attribute: string;
}, {
number: {
equals?: number | undefined;
not_equals?: number | undefined;
is_empty?: boolean | undefined;
is_not_empty?: boolean | undefined;
greater_than?: number | undefined;
greater_than_or_equal_to?: number | undefined;
less_than?: number | undefined;
less_than_or_equal_to?: number | undefined;
};
attribute: string;
}>, z.ZodObject<{
attribute: z.ZodString;
date: z.ZodEffects;
before: z.ZodOptional;
equals: z.ZodOptional;
not_equals: z.ZodOptional;
on_or_after: z.ZodOptional;
on_or_before: z.ZodOptional;
is_empty: z.ZodOptional;
is_not_empty: z.ZodOptional;
}, "strict", z.ZodTypeAny, {
equals?: string | undefined;
not_equals?: string | undefined;
is_empty?: boolean | undefined;
is_not_empty?: boolean | undefined;
after?: string | undefined;
before?: string | undefined;
on_or_after?: string | undefined;
on_or_before?: string | undefined;
}, {
equals?: string | undefined;
not_equals?: string | undefined;
is_empty?: boolean | undefined;
is_not_empty?: boolean | undefined;
after?: string | undefined;
before?: string | undefined;
on_or_after?: string | undefined;
on_or_before?: string | undefined;
}>, {
equals?: string | undefined;
not_equals?: string | undefined;
is_empty?: boolean | undefined;
is_not_empty?: boolean | undefined;
after?: string | undefined;
before?: string | undefined;
on_or_after?: string | undefined;
on_or_before?: string | undefined;
}, {
equals?: string | undefined;
not_equals?: string | undefined;
is_empty?: boolean | undefined;
is_not_empty?: boolean | undefined;
after?: string | undefined;
before?: string | undefined;
on_or_after?: string | undefined;
on_or_before?: string | undefined;
}>;
}, "strip", z.ZodTypeAny, {
date: {
equals?: string | undefined;
not_equals?: string | undefined;
is_empty?: boolean | undefined;
is_not_empty?: boolean | undefined;
after?: string | undefined;
before?: string | undefined;
on_or_after?: string | undefined;
on_or_before?: string | undefined;
};
attribute: string;
}, {
date: {
equals?: string | undefined;
not_equals?: string | undefined;
is_empty?: boolean | undefined;
is_not_empty?: boolean | undefined;
after?: string | undefined;
before?: string | undefined;
on_or_after?: string | undefined;
on_or_before?: string | undefined;
};
attribute: string;
}>, z.ZodObject<{
attribute: z.ZodString;
reference: z.ZodEffects;
not_equals: z.ZodOptional;
is_empty: z.ZodOptional;
is_not_empty: z.ZodOptional;
}, "strict", z.ZodTypeAny, {
equals?: string | undefined;
not_equals?: string | undefined;
is_empty?: boolean | undefined;
is_not_empty?: boolean | undefined;
}, {
equals?: string | undefined;
not_equals?: string | undefined;
is_empty?: boolean | undefined;
is_not_empty?: boolean | undefined;
}>, {
equals?: string | undefined;
not_equals?: string | undefined;
is_empty?: boolean | undefined;
is_not_empty?: boolean | undefined;
}, {
equals?: string | undefined;
not_equals?: string | undefined;
is_empty?: boolean | undefined;
is_not_empty?: boolean | undefined;
}>;
}, "strip", z.ZodTypeAny, {
reference: {
equals?: string | undefined;
not_equals?: string | undefined;
is_empty?: boolean | undefined;
is_not_empty?: boolean | undefined;
};
attribute: string;
}, {
reference: {
equals?: string | undefined;
not_equals?: string | undefined;
is_empty?: boolean | undefined;
is_not_empty?: boolean | undefined;
};
attribute: string;
}>, z.ZodObject<{
attribute: z.ZodString;
boolean: z.ZodEffects;
not_equals: z.ZodOptional;
}, "strict", z.ZodTypeAny, {
equals?: boolean | undefined;
not_equals?: boolean | undefined;
}, {
equals?: boolean | undefined;
not_equals?: boolean | undefined;
}>, {
equals?: boolean | undefined;
not_equals?: boolean | undefined;
}, {
equals?: boolean | undefined;
not_equals?: boolean | undefined;
}>;
}, "strip", z.ZodTypeAny, {
boolean: {
equals?: boolean | undefined;
not_equals?: boolean | undefined;
};
attribute: string;
}, {
boolean: {
equals?: boolean | undefined;
not_equals?: boolean | undefined;
};
attribute: string;
}>, z.ZodObject<{
relativeReference: z.ZodObject<{
attribute: z.ZodString;
operator: z.ZodString;
}, "strip", z.ZodTypeAny, {
attribute: string;
operator: string;
}, {
attribute: string;
operator: string;
}>;
}, "strip", z.ZodTypeAny, {
relativeReference: {
attribute: string;
operator: string;
};
}, {
relativeReference: {
attribute: string;
operator: string;
};
}>, z.ZodObject<{
relativeDate: z.ZodObject<{
attribute: z.ZodString;
operator: z.ZodEnum<["equals", "lessThan", "lessEquals", "greaterThan", "greaterEquals"]>;
offset: z.ZodOptional;
relativeToAttribute: z.ZodOptional>;
}, "strip", z.ZodTypeAny, {
attribute: string;
operator: "equals" | "lessThan" | "lessEquals" | "greaterThan" | "greaterEquals";
offset?: number | undefined;
relativeToAttribute?: string | null | undefined;
}, {
attribute: string;
operator: "equals" | "lessThan" | "lessEquals" | "greaterThan" | "greaterEquals";
offset?: number | undefined;
relativeToAttribute?: string | null | undefined;
}>;
}, "strip", z.ZodTypeAny, {
relativeDate: {
attribute: string;
operator: "equals" | "lessThan" | "lessEquals" | "greaterThan" | "greaterEquals";
offset?: number | undefined;
relativeToAttribute?: string | null | undefined;
};
}, {
relativeDate: {
attribute: string;
operator: "equals" | "lessThan" | "lessEquals" | "greaterThan" | "greaterEquals";
offset?: number | undefined;
relativeToAttribute?: string | null | undefined;
};
}>, z.ZodObject<{
relativeString: z.ZodObject<{
attribute: z.ZodString;
sourceAttribute: z.ZodString;
}, "strip", z.ZodTypeAny, {
attribute: string;
sourceAttribute: string;
}, {
attribute: string;
sourceAttribute: string;
}>;
}, "strip", z.ZodTypeAny, {
relativeString: {
attribute: string;
sourceAttribute: string;
};
}, {
relativeString: {
attribute: string;
sourceAttribute: string;
};
}>, z.ZodObject<{
relativeNumber: z.ZodObject<{
attribute: z.ZodString;
sourceAttribute: z.ZodString;
operator: z.ZodOptional>;
offset: z.ZodOptional;
}, "strip", z.ZodTypeAny, {
attribute: string;
sourceAttribute: string;
offset?: number | undefined;
operator?: "equals" | "lessThan" | "lessEquals" | "greaterThan" | "greaterEquals" | undefined;
}, {
attribute: string;
sourceAttribute: string;
offset?: number | undefined;
operator?: "equals" | "lessThan" | "lessEquals" | "greaterThan" | "greaterEquals" | undefined;
}>;
}, "strip", z.ZodTypeAny, {
relativeNumber: {
attribute: string;
sourceAttribute: string;
offset?: number | undefined;
operator?: "equals" | "lessThan" | "lessEquals" | "greaterThan" | "greaterEquals" | undefined;
};
}, {
relativeNumber: {
attribute: string;
sourceAttribute: string;
offset?: number | undefined;
operator?: "equals" | "lessThan" | "lessEquals" | "greaterThan" | "greaterEquals" | undefined;
};
}>, z.ZodObject<{
relativeBoolean: z.ZodObject<{
attribute: z.ZodString;
sourceAttribute: z.ZodString;
}, "strip", z.ZodTypeAny, {
attribute: string;
sourceAttribute: string;
}, {
attribute: string;
sourceAttribute: string;
}>;
}, "strip", z.ZodTypeAny, {
relativeBoolean: {
attribute: string;
sourceAttribute: string;
};
}, {
relativeBoolean: {
attribute: string;
sourceAttribute: string;
};
}>, z.ZodObject<{
relativeSpace: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>;
}, "strip", z.ZodTypeAny, {
relativeSpace: {};
}, {
relativeSpace: {};
}>, z.ZodObject<{
relativeUid: z.ZodObject<{
operator: z.ZodString;
}, "strip", z.ZodTypeAny, {
operator: string;
}, {
operator: string;
}>;
}, "strip", z.ZodTypeAny, {
relativeUid: {
operator: string;
};
}, {
relativeUid: {
operator: string;
};
}>, z.ZodObject<{
relativeBuiltinReference: z.ZodObject<{
attribute: z.ZodString;
operator: z.ZodString;
}, "strip", z.ZodTypeAny, {
attribute: string;
operator: string;
}, {
attribute: string;
operator: string;
}>;
}, "strip", z.ZodTypeAny, {
relativeBuiltinReference: {
attribute: string;
operator: string;
};
}, {
relativeBuiltinReference: {
attribute: string;
operator: string;
};
}>]>, "many">;
}, "strip", z.ZodTypeAny, {
or: ({
relativeReference: {
attribute: string;
operator: string;
};
} | {
relativeDate: {
attribute: string;
operator: "equals" | "lessThan" | "lessEquals" | "greaterThan" | "greaterEquals";
offset?: number | undefined;
relativeToAttribute?: string | null | undefined;
};
} | {
relativeString: {
attribute: string;
sourceAttribute: string;
};
} | {
relativeNumber: {
attribute: string;
sourceAttribute: string;
offset?: number | undefined;
operator?: "equals" | "lessThan" | "lessEquals" | "greaterThan" | "greaterEquals" | undefined;
};
} | {
relativeBoolean: {
attribute: string;
sourceAttribute: string;
};
} | {
relativeSpace: {};
} | {
relativeUid: {
operator: string;
};
} | {
relativeBuiltinReference: {
attribute: string;
operator: string;
};
} | {
string: {
equals?: string | undefined;
not_equals?: string | undefined;
contains?: string | undefined;
beginsWith?: string | undefined;
is_empty?: boolean | undefined;
is_not_empty?: boolean | undefined;
};
attribute: string;
} | {
name: {
equals: string;
};
} | {
number: {
equals?: number | undefined;
not_equals?: number | undefined;
is_empty?: boolean | undefined;
is_not_empty?: boolean | undefined;
greater_than?: number | undefined;
greater_than_or_equal_to?: number | undefined;
less_than?: number | undefined;
less_than_or_equal_to?: number | undefined;
};
attribute: string;
} | {
date: {
equals?: string | undefined;
not_equals?: string | undefined;
is_empty?: boolean | undefined;
is_not_empty?: boolean | undefined;
after?: string | undefined;
before?: string | undefined;
on_or_after?: string | undefined;
on_or_before?: string | undefined;
};
attribute: string;
} | {
reference: {
equals?: string | undefined;
not_equals?: string | undefined;
is_empty?: boolean | undefined;
is_not_empty?: boolean | undefined;
};
attribute: string;
} | {
boolean: {
equals?: boolean | undefined;
not_equals?: boolean | undefined;
};
attribute: string;
})[];
}, {
or: ({
relativeReference: {
attribute: string;
operator: string;
};
} | {
relativeDate: {
attribute: string;
operator: "equals" | "lessThan" | "lessEquals" | "greaterThan" | "greaterEquals";
offset?: number | undefined;
relativeToAttribute?: string | null | undefined;
};
} | {
relativeString: {
attribute: string;
sourceAttribute: string;
};
} | {
relativeNumber: {
attribute: string;
sourceAttribute: string;
offset?: number | undefined;
operator?: "equals" | "lessThan" | "lessEquals" | "greaterThan" | "greaterEquals" | undefined;
};
} | {
relativeBoolean: {
attribute: string;
sourceAttribute: string;
};
} | {
relativeSpace: {};
} | {
relativeUid: {
operator: string;
};
} | {
relativeBuiltinReference: {
attribute: string;
operator: string;
};
} | {
string: {
equals?: string | undefined;
not_equals?: string | undefined;
contains?: string | undefined;
beginsWith?: string | undefined;
is_empty?: boolean | undefined;
is_not_empty?: boolean | undefined;
};
attribute: string;
} | {
name: {
equals: string;
};
} | {
number: {
equals?: number | undefined;
not_equals?: number | undefined;
is_empty?: boolean | undefined;
is_not_empty?: boolean | undefined;
greater_than?: number | undefined;
greater_than_or_equal_to?: number | undefined;
less_than?: number | undefined;
less_than_or_equal_to?: number | undefined;
};
attribute: string;
} | {
date: {
equals?: string | undefined;
not_equals?: string | undefined;
is_empty?: boolean | undefined;
is_not_empty?: boolean | undefined;
after?: string | undefined;
before?: string | undefined;
on_or_after?: string | undefined;
on_or_before?: string | undefined;
};
attribute: string;
} | {
reference: {
equals?: string | undefined;
not_equals?: string | undefined;
is_empty?: boolean | undefined;
is_not_empty?: boolean | undefined;
};
attribute: string;
} | {
boolean: {
equals?: boolean | undefined;
not_equals?: boolean | undefined;
};
attribute: string;
})[];
}>]>, "many">;
}, "strip", z.ZodTypeAny, {
and: ({
relativeReference: {
attribute: string;
operator: string;
};
} | {
relativeDate: {
attribute: string;
operator: "equals" | "lessThan" | "lessEquals" | "greaterThan" | "greaterEquals";
offset?: number | undefined;
relativeToAttribute?: string | null | undefined;
};
} | {
relativeString: {
attribute: string;
sourceAttribute: string;
};
} | {
relativeNumber: {
attribute: string;
sourceAttribute: string;
offset?: number | undefined;
operator?: "equals" | "lessThan" | "lessEquals" | "greaterThan" | "greaterEquals" | undefined;
};
} | {
relativeBoolean: {
attribute: string;
sourceAttribute: string;
};
} | {
relativeSpace: {};
} | {
relativeUid: {
operator: string;
};
} | {
relativeBuiltinReference: {
attribute: string;
operator: string;
};
} | {
string: {
equals?: string | undefined;
not_equals?: string | undefined;
contains?: string | undefined;
beginsWith?: string | undefined;
is_empty?: boolean | undefined;
is_not_empty?: boolean | undefined;
};
attribute: string;
} | {
name: {
equals: string;
};
} | {
number: {
equals?: number | undefined;
not_equals?: number | undefined;
is_empty?: boolean | undefined;
is_not_empty?: boolean | undefined;
greater_than?: number | undefined;
greater_than_or_equal_to?: number | undefined;
less_than?: number | undefined;
less_than_or_equal_to?: number | undefined;
};
attribute: string;
} | {
date: {
equals?: string | undefined;
not_equals?: string | undefined;
is_empty?: boolean | undefined;
is_not_empty?: boolean | undefined;
after?: string | undefined;
before?: string | undefined;
on_or_after?: string | undefined;
on_or_before?: string | undefined;
};
attribute: string;
} | {
reference: {
equals?: string | undefined;
not_equals?: string | undefined;
is_empty?: boolean | undefined;
is_not_empty?: boolean | undefined;
};
attribute: string;
} | {
boolean: {
equals?: boolean | undefined;
not_equals?: boolean | undefined;
};
attribute: string;
} | {
or: ({
relativeReference: {
attribute: string;
operator: string;
};
} | {
relativeDate: {
attribute: string;
operator: "equals" | "lessThan" | "lessEquals" | "greaterThan" | "greaterEquals";
offset?: number | undefined;
relativeToAttribute?: string | null | undefined;
};
} | {
relativeString: {
attribute: string;
sourceAttribute: string;
};
} | {
relativeNumber: {
attribute: string;
sourceAttribute: string;
offset?: number | undefined;
operator?: "equals" | "lessThan" | "lessEquals" | "greaterThan" | "greaterEquals" | undefined;
};
} | {
relativeBoolean: {
attribute: string;
sourceAttribute: string;
};
} | {
relativeSpace: {};
} | {
relativeUid: {
operator: string;
};
} | {
relativeBuiltinReference: {
attribute: string;
operator: string;
};
} | {
string: {
equals?: string | undefined;
not_equals?: string | undefined;
contains?: string | undefined;
beginsWith?: string | undefined;
is_empty?: boolean | undefined;
is_not_empty?: boolean | undefined;
};
attribute: string;
} | {
name: {
equals: string;
};
} | {
number: {
equals?: number | undefined;
not_equals?: number | undefined;
is_empty?: boolean | undefined;
is_not_empty?: boolean | undefined;
greater_than?: number | undefined;
greater_than_or_equal_to?: number | undefined;
less_than?: number | undefined;
less_than_or_equal_to?: number | undefined;
};
attribute: string;
} | {
date: {
equals?: string | undefined;
not_equals?: string | undefined;
is_empty?: boolean | undefined;
is_not_empty?: boolean | undefined;
after?: string | undefined;
before?: string | undefined;
on_or_after?: string | undefined;
on_or_before?: string | undefined;
};
attribute: string;
} | {
reference: {
equals?: string | undefined;
not_equals?: string | undefined;
is_empty?: boolean | undefined;
is_not_empty?: boolean | undefined;
};
attribute: string;
} | {
boolean: {
equals?: boolean | undefined;
not_equals?: boolean | undefined;
};
attribute: string;
})[];
})[];
}, {
and: ({
relativeReference: {
attribute: string;
operator: string;
};
} | {
relativeDate: {
attribute: string;
operator: "equals" | "lessThan" | "lessEquals" | "greaterThan" | "greaterEquals";
offset?: number | undefined;
relativeToAttribute?: string | null | undefined;
};
} | {
relativeString: {
attribute: string;
sourceAttribute: string;
};
} | {
relativeNumber: {
attribute: string;
sourceAttribute: string;
offset?: number | undefined;
operator?: "equals" | "lessThan" | "lessEquals" | "greaterThan" | "greaterEquals" | undefined;
};
} | {
relativeBoolean: {
attribute: string;
sourceAttribute: string;
};
} | {
relativeSpace: {};
} | {
relativeUid: {
operator: string;
};
} | {
relativeBuiltinReference: {
attribute: string;
operator: string;
};
} | {
string: {
equals?: string | undefined;
not_equals?: string | undefined;
contains?: string | undefined;
beginsWith?: string | undefined;
is_empty?: boolean | undefined;
is_not_empty?: boolean | undefined;
};
attribute: string;
} | {
name: {
equals: string;
};
} | {
number: {
equals?: number | undefined;
not_equals?: number | undefined;
is_empty?: boolean | undefined;
is_not_empty?: boolean | undefined;
greater_than?: number | undefined;
greater_than_or_equal_to?: number | undefined;
less_than?: number | undefined;
less_than_or_equal_to?: number | undefined;
};
attribute: string;
} | {
date: {
equals?: string | undefined;
not_equals?: string | undefined;
is_empty?: boolean | undefined;
is_not_empty?: boolean | undefined;
after?: string | undefined;
before?: string | undefined;
on_or_after?: string | undefined;
on_or_before?: string | undefined;
};
attribute: string;
} | {
reference: {
equals?: string | undefined;
not_equals?: string | undefined;
is_empty?: boolean | undefined;
is_not_empty?: boolean | undefined;
};
attribute: string;
} | {
boolean: {
equals?: boolean | undefined;
not_equals?: boolean | undefined;
};
attribute: string;
} | {
or: ({
relativeReference: {
attribute: string;
operator: string;
};
} | {
relativeDate: {
attribute: string;
operator: "equals" | "lessThan" | "lessEquals" | "greaterThan" | "greaterEquals";
offset?: number | undefined;
relativeToAttribute?: string | null | undefined;
};
} | {
relativeString: {
attribute: string;
sourceAttribute: string;
};
} | {
relativeNumber: {
attribute: string;
sourceAttribute: string;
offset?: number | undefined;
operator?: "equals" | "lessThan" | "lessEquals" | "greaterThan" | "greaterEquals" | undefined;
};
} | {
relativeBoolean: {
attribute: string;
sourceAttribute: string;
};
} | {
relativeSpace: {};
} | {
relativeUid: {
operator: string;
};
} | {
relativeBuiltinReference: {
attribute: string;
operator: string;
};
} | {
string: {
equals?: string | undefined;
not_equals?: string | undefined;
contains?: string | undefined;
beginsWith?: string | undefined;
is_empty?: boolean | undefined;
is_not_empty?: boolean | undefined;
};
attribute: string;
} | {
name: {
equals: string;
};
} | {
number: {
equals?: number | undefined;
not_equals?: number | undefined;
is_empty?: boolean | undefined;
is_not_empty?: boolean | undefined;
greater_than?: number | undefined;
greater_than_or_equal_to?: number | undefined;
less_than?: number | undefined;
less_than_or_equal_to?: number | undefined;
};
attribute: string;
} | {
date: {
equals?: string | undefined;
not_equals?: string | undefined;
is_empty?: boolean | undefined;
is_not_empty?: boolean | undefined;
after?: string | undefined;
before?: string | undefined;
on_or_after?: string | undefined;
on_or_before?: string | undefined;
};
attribute: string;
} | {
reference: {
equals?: string | undefined;
not_equals?: string | undefined;
is_empty?: boolean | undefined;
is_not_empty?: boolean | undefined;
};
attribute: string;
} | {
boolean: {
equals?: boolean | undefined;
not_equals?: boolean | undefined;
};
attribute: string;
})[];
})[];
}>, z.ZodObject<{
or: z.ZodArray;
}, "strip", z.ZodTypeAny, {
name: {
equals: string;
};
}, {
name: {
equals: string;
};
}>, z.ZodObject<{
attribute: z.ZodString;
string: z.ZodEffects;
not_equals: z.ZodOptional;
contains: z.ZodOptional;
beginsWith: z.ZodOptional;
is_empty: z.ZodOptional;
is_not_empty: z.ZodOptional;
}, "strict", z.ZodTypeAny, {
equals?: string | undefined;
not_equals?: string | undefined;
contains?: string | undefined;
beginsWith?: string | undefined;
is_empty?: boolean | undefined;
is_not_empty?: boolean | undefined;
}, {
equals?: string | undefined;
not_equals?: string | undefined;
contains?: string | undefined;
beginsWith?: string | undefined;
is_empty?: boolean | undefined;
is_not_empty?: boolean | undefined;
}>, {
equals?: string | undefined;
not_equals?: string | undefined;
contains?: string | undefined;
beginsWith?: string | undefined;
is_empty?: boolean | undefined;
is_not_empty?: boolean | undefined;
}, {
equals?: string | undefined;
not_equals?: string | undefined;
contains?: string | undefined;
beginsWith?: string | undefined;
is_empty?: boolean | undefined;
is_not_empty?: boolean | undefined;
}>;
}, "strip", z.ZodTypeAny, {
string: {
equals?: string | undefined;
not_equals?: string | undefined;
contains?: string | undefined;
beginsWith?: string | undefined;
is_empty?: boolean | undefined;
is_not_empty?: boolean | undefined;
};
attribute: string;
}, {
string: {
equals?: string | undefined;
not_equals?: string | undefined;
contains?: string | undefined;
beginsWith?: string | undefined;
is_empty?: boolean | undefined;
is_not_empty?: boolean | undefined;
};
attribute: string;
}>, z.ZodObject<{
attribute: z.ZodString;
number: z.ZodEffects;
not_equals: z.ZodOptional;
greater_than: z.ZodOptional;
greater_than_or_equal_to: z.ZodOptional;
less_than: z.ZodOptional;
less_than_or_equal_to: z.ZodOptional;
is_empty: z.ZodOptional;
is_not_empty: z.ZodOptional;
}, "strict", z.ZodTypeAny, {
equals?: number | undefined;
not_equals?: number | undefined;
is_empty?: boolean | undefined;
is_not_empty?: boolean | undefined;
greater_than?: number | undefined;
greater_than_or_equal_to?: number | undefined;
less_than?: number | undefined;
less_than_or_equal_to?: number | undefined;
}, {
equals?: number | undefined;
not_equals?: number | undefined;
is_empty?: boolean | undefined;
is_not_empty?: boolean | undefined;
greater_than?: number | undefined;
greater_than_or_equal_to?: number | undefined;
less_than?: number | undefined;
less_than_or_equal_to?: number | undefined;
}>, {
equals?: number | undefined;
not_equals?: number | undefined;
is_empty?: boolean | undefined;
is_not_empty?: boolean | undefined;
greater_than?: number | undefined;
greater_than_or_equal_to?: number | undefined;
less_than?: number | undefined;
less_than_or_equal_to?: number | undefined;
}, {
equals?: number | undefined;
not_equals?: number | undefined;
is_empty?: boolean | undefined;
is_not_empty?: boolean | undefined;
greater_than?: number | undefined;
greater_than_or_equal_to?: number | undefined;
less_than?: number | undefined;
less_than_or_equal_to?: number | undefined;
}>;
}, "strip", z.ZodTypeAny, {
number: {
equals?: number | undefined;
not_equals?: number | undefined;
is_empty?: boolean | undefined;
is_not_empty?: boolean | undefined;
greater_than?: number | undefined;
greater_than_or_equal_to?: number | undefined;
less_than?: number | undefined;
less_than_or_equal_to?: number | undefined;
};
attribute: string;
}, {
number: {
equals?: number | undefined;
not_equals?: number | undefined;
is_empty?: boolean | undefined;
is_not_empty?: boolean | undefined;
greater_than?: number | undefined;
greater_than_or_equal_to?: number | undefined;
less_than?: number | undefined;
less_than_or_equal_to?: number | undefined;
};
attribute: string;
}>, z.ZodObject<{
attribute: z.ZodString;
date: z.ZodEffects;
before: z.ZodOptional;
equals: z.ZodOptional;
not_equals: z.ZodOptional;
on_or_after: z.ZodOptional;
on_or_before: z.ZodOptional;
is_empty: z.ZodOptional;
is_not_empty: z.ZodOptional;
}, "strict", z.ZodTypeAny, {
equals?: string | undefined;
not_equals?: string | undefined;
is_empty?: boolean | undefined;
is_not_empty?: boolean | undefined;
after?: string | undefined;
before?: string | undefined;
on_or_after?: string | undefined;
on_or_before?: string | undefined;
}, {
equals?: string | undefined;
not_equals?: string | undefined;
is_empty?: boolean | undefined;
is_not_empty?: boolean | undefined;
after?: string | undefined;
before?: string | undefined;
on_or_after?: string | undefined;
on_or_before?: string | undefined;
}>, {
equals?: string | undefined;
not_equals?: string | undefined;
is_empty?: boolean | undefined;
is_not_empty?: boolean | undefined;
after?: string | undefined;
before?: string | undefined;
on_or_after?: string | undefined;
on_or_before?: string | undefined;
}, {
equals?: string | undefined;
not_equals?: string | undefined;
is_empty?: boolean | undefined;
is_not_empty?: boolean | undefined;
after?: string | undefined;
before?: string | undefined;
on_or_after?: string | undefined;
on_or_before?: string | undefined;
}>;
}, "strip", z.ZodTypeAny, {
date: {
equals?: string | undefined;
not_equals?: string | undefined;
is_empty?: boolean | undefined;
is_not_empty?: boolean | undefined;
after?: string | undefined;
before?: string | undefined;
on_or_after?: string | undefined;
on_or_before?: string | undefined;
};
attribute: string;
}, {
date: {
equals?: string | undefined;
not_equals?: string | undefined;
is_empty?: boolean | undefined;
is_not_empty?: boolean | undefined;
after?: string | undefined;
before?: string | undefined;
on_or_after?: string | undefined;
on_or_before?: string | undefined;
};
attribute: string;
}>, z.ZodObject<{
attribute: z.ZodString;
reference: z.ZodEffects;
not_equals: z.ZodOptional;
is_empty: z.ZodOptional;
is_not_empty: z.ZodOptional;
}, "strict", z.ZodTypeAny, {
equals?: string | undefined;
not_equals?: string | undefined;
is_empty?: boolean | undefined;
is_not_empty?: boolean | undefined;
}, {
equals?: string | undefined;
not_equals?: string | undefined;
is_empty?: boolean | undefined;
is_not_empty?: boolean | undefined;
}>, {
equals?: string | undefined;
not_equals?: string | undefined;
is_empty?: boolean | undefined;
is_not_empty?: boolean | undefined;
}, {
equals?: string | undefined;
not_equals?: string | undefined;
is_empty?: boolean | undefined;
is_not_empty?: boolean | undefined;
}>;
}, "strip", z.ZodTypeAny, {
reference: {
equals?: string | undefined;
not_equals?: string | undefined;
is_empty?: boolean | undefined;
is_not_empty?: boolean | undefined;
};
attribute: string;
}, {
reference: {
equals?: string | undefined;
not_equals?: string | undefined;
is_empty?: boolean | undefined;
is_not_empty?: boolean | undefined;
};
attribute: string;
}>, z.ZodObject<{
attribute: z.ZodString;
boolean: z.ZodEffects;
not_equals: z.ZodOptional;
}, "strict", z.ZodTypeAny, {
equals?: boolean | undefined;
not_equals?: boolean | undefined;
}, {
equals?: boolean | undefined;
not_equals?: boolean | undefined;
}>, {
equals?: boolean | undefined;
not_equals?: boolean | undefined;
}, {
equals?: boolean | undefined;
not_equals?: boolean | undefined;
}>;
}, "strip", z.ZodTypeAny, {
boolean: {
equals?: boolean | undefined;
not_equals?: boolean | undefined;
};
attribute: string;
}, {
boolean: {
equals?: boolean | undefined;
not_equals?: boolean | undefined;
};
attribute: string;
}>, z.ZodObject<{
relativeReference: z.ZodObject<{
attribute: z.ZodString;
operator: z.ZodString;
}, "strip", z.ZodTypeAny, {
attribute: string;
operator: string;
}, {
attribute: string;
operator: string;
}>;
}, "strip", z.ZodTypeAny, {
relativeReference: {
attribute: string;
operator: string;
};
}, {
relativeReference: {
attribute: string;
operator: string;
};
}>, z.ZodObject<{
relativeDate: z.ZodObject<{
attribute: z.ZodString;
operator: z.ZodEnum<["equals", "lessThan", "lessEquals", "greaterThan", "greaterEquals"]>;
offset: z.ZodOptional;
relativeToAttribute: z.ZodOptional>;
}, "strip", z.ZodTypeAny, {
attribute: string;
operator: "equals" | "lessThan" | "lessEquals" | "greaterThan" | "greaterEquals";
offset?: number | undefined;
relativeToAttribute?: string | null | undefined;
}, {
attribute: string;
operator: "equals" | "lessThan" | "lessEquals" | "greaterThan" | "greaterEquals";
offset?: number | undefined;
relativeToAttribute?: string | null | undefined;
}>;
}, "strip", z.ZodTypeAny, {
relativeDate: {
attribute: string;
operator: "equals" | "lessThan" | "lessEquals" | "greaterThan" | "greaterEquals";
offset?: number | undefined;
relativeToAttribute?: string | null | undefined;
};
}, {
relativeDate: {
attribute: string;
operator: "equals" | "lessThan" | "lessEquals" | "greaterThan" | "greaterEquals";
offset?: number | undefined;
relativeToAttribute?: string | null | undefined;
};
}>, z.ZodObject<{
relativeString: z.ZodObject<{
attribute: z.ZodString;
sourceAttribute: z.ZodString;
}, "strip", z.ZodTypeAny, {
attribute: string;
sourceAttribute: string;
}, {
attribute: string;
sourceAttribute: string;
}>;
}, "strip", z.ZodTypeAny, {
relativeString: {
attribute: string;
sourceAttribute: string;
};
}, {
relativeString: {
attribute: string;
sourceAttribute: string;
};
}>, z.ZodObject<{
relativeNumber: z.ZodObject<{
attribute: z.ZodString;
sourceAttribute: z.ZodString;
operator: z.ZodOptional>;
offset: z.ZodOptional;
}, "strip", z.ZodTypeAny, {
attribute: string;
sourceAttribute: string;
offset?: number | undefined;
operator?: "equals" | "lessThan" | "lessEquals" | "greaterThan" | "greaterEquals" | undefined;
}, {
attribute: string;
sourceAttribute: string;
offset?: number | undefined;
operator?: "equals" | "lessThan" | "lessEquals" | "greaterThan" | "greaterEquals" | undefined;
}>;
}, "strip", z.ZodTypeAny, {
relativeNumber: {
attribute: string;
sourceAttribute: string;
offset?: number | undefined;
operator?: "equals" | "lessThan" | "lessEquals" | "greaterThan" | "greaterEquals" | undefined;
};
}, {
relativeNumber: {
attribute: string;
sourceAttribute: string;
offset?: number | undefined;
operator?: "equals" | "lessThan" | "lessEquals" | "greaterThan" | "greaterEquals" | undefined;
};
}>, z.ZodObject<{
relativeBoolean: z.ZodObject<{
attribute: z.ZodString;
sourceAttribute: z.ZodString;
}, "strip", z.ZodTypeAny, {
attribute: string;
sourceAttribute: string;
}, {
attribute: string;
sourceAttribute: string;
}>;
}, "strip", z.ZodTypeAny, {
relativeBoolean: {
attribute: string;
sourceAttribute: string;
};
}, {
relativeBoolean: {
attribute: string;
sourceAttribute: string;
};
}>, z.ZodObject<{
relativeSpace: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>;
}, "strip", z.ZodTypeAny, {
relativeSpace: {};
}, {
relativeSpace: {};
}>, z.ZodObject<{
relativeUid: z.ZodObject<{
operator: z.ZodString;
}, "strip", z.ZodTypeAny, {
operator: string;
}, {
operator: string;
}>;
}, "strip", z.ZodTypeAny, {
relativeUid: {
operator: string;
};
}, {
relativeUid: {
operator: string;
};
}>, z.ZodObject<{
relativeBuiltinReference: z.ZodObject<{
attribute: z.ZodString;
operator: z.ZodString;
}, "strip", z.ZodTypeAny, {
attribute: string;
operator: string;
}, {
attribute: string;
operator: string;
}>;
}, "strip", z.ZodTypeAny, {
relativeBuiltinReference: {
attribute: string;
operator: string;
};
}, {
relativeBuiltinReference: {
attribute: string;
operator: string;
};
}>]>, z.ZodObject<{
and: z.ZodArray;
}, "strip", z.ZodTypeAny, {
name: {
equals: string;
};
}, {
name: {
equals: string;
};
}>, z.ZodObject<{
attribute: z.ZodString;
string: z.ZodEffects;
not_equals: z.ZodOptional;
contains: z.ZodOptional;
beginsWith: z.ZodOptional;
is_empty: z.ZodOptional;
is_not_empty: z.ZodOptional;
}, "strict", z.ZodTypeAny, {
equals?: string | undefined;
not_equals?: string | undefined;
contains?: string | undefined;
beginsWith?: string | undefined;
is_empty?: boolean | undefined;
is_not_empty?: boolean | undefined;
}, {
equals?: string | undefined;
not_equals?: string | undefined;
contains?: string | undefined;
beginsWith?: string | undefined;
is_empty?: boolean | undefined;
is_not_empty?: boolean | undefined;
}>, {
equals?: string | undefined;
not_equals?: string | undefined;
contains?: string | undefined;
beginsWith?: string | undefined;
is_empty?: boolean | undefined;
is_not_empty?: boolean | undefined;
}, {
equals?: string | undefined;
not_equals?: string | undefined;
contains?: string | undefined;
beginsWith?: string | undefined;
is_empty?: boolean | undefined;
is_not_empty?: boolean | undefined;
}>;
}, "strip", z.ZodTypeAny, {
string: {
equals?: string | undefined;
not_equals?: string | undefined;
contains?: string | undefined;
beginsWith?: string | undefined;
is_empty?: boolean | undefined;
is_not_empty?: boolean | undefined;
};
attribute: string;
}, {
string: {
equals?: string | undefined;
not_equals?: string | undefined;
contains?: string | undefined;
beginsWith?: string | undefined;
is_empty?: boolean | undefined;
is_not_empty?: boolean | undefined;
};
attribute: string;
}>, z.ZodObject<{
attribute: z.ZodString;
number: z.ZodEffects;
not_equals: z.ZodOptional;
greater_than: z.ZodOptional;
greater_than_or_equal_to: z.ZodOptional;
less_than: z.ZodOptional;
less_than_or_equal_to: z.ZodOptional;
is_empty: z.ZodOptional;
is_not_empty: z.ZodOptional;
}, "strict", z.ZodTypeAny, {
equals?: number | undefined;
not_equals?: number | undefined;
is_empty?: boolean | undefined;
is_not_empty?: boolean | undefined;
greater_than?: number | undefined;
greater_than_or_equal_to?: number | undefined;
less_than?: number | undefined;
less_than_or_equal_to?: number | undefined;
}, {
equals?: number | undefined;
not_equals?: number | undefined;
is_empty?: boolean | undefined;
is_not_empty?: boolean | undefined;
greater_than?: number | undefined;
greater_than_or_equal_to?: number | undefined;
less_than?: number | undefined;
less_than_or_equal_to?: number | undefined;
}>, {
equals?: number | undefined;
not_equals?: number | undefined;
is_empty?: boolean | undefined;
is_not_empty?: boolean | undefined;
greater_than?: number | undefined;
greater_than_or_equal_to?: number | undefined;
less_than?: number | undefined;
less_than_or_equal_to?: number | undefined;
}, {
equals?: number | undefined;
not_equals?: number | undefined;
is_empty?: boolean | undefined;
is_not_empty?: boolean | undefined;
greater_than?: number | undefined;
greater_than_or_equal_to?: number | undefined;
less_than?: number | undefined;
less_than_or_equal_to?: number | undefined;
}>;
}, "strip", z.ZodTypeAny, {
number: {
equals?: number | undefined;
not_equals?: number | undefined;
is_empty?: boolean | undefined;
is_not_empty?: boolean | undefined;
greater_than?: number | undefined;
greater_than_or_equal_to?: number | undefined;
less_than?: number | undefined;
less_than_or_equal_to?: number | undefined;
};
attribute: string;
}, {
number: {
equals?: number | undefined;
not_equals?: number | undefined;
is_empty?: boolean | undefined;
is_not_empty?: boolean | undefined;
greater_than?: number | undefined;
greater_than_or_equal_to?: number | undefined;
less_than?: number | undefined;
less_than_or_equal_to?: number | undefined;
};
attribute: string;
}>, z.ZodObject<{
attribute: z.ZodString;
date: z.ZodEffects;
before: z.ZodOptional;
equals: z.ZodOptional;
not_equals: z.ZodOptional;
on_or_after: z.ZodOptional;
on_or_before: z.ZodOptional;
is_empty: z.ZodOptional;
is_not_empty: z.ZodOptional;
}, "strict", z.ZodTypeAny, {
equals?: string | undefined;
not_equals?: string | undefined;
is_empty?: boolean | undefined;
is_not_empty?: boolean | undefined;
after?: string | undefined;
before?: string | undefined;
on_or_after?: string | undefined;
on_or_before?: string | undefined;
}, {
equals?: string | undefined;
not_equals?: string | undefined;
is_empty?: boolean | undefined;
is_not_empty?: boolean | undefined;
after?: string | undefined;
before?: string | undefined;
on_or_after?: string | undefined;
on_or_before?: string | undefined;
}>, {
equals?: string | undefined;
not_equals?: string | undefined;
is_empty?: boolean | undefined;
is_not_empty?: boolean | undefined;
after?: string | undefined;
before?: string | undefined;
on_or_after?: string | undefined;
on_or_before?: string | undefined;
}, {
equals?: string | undefined;
not_equals?: string | undefined;
is_empty?: boolean | undefined;
is_not_empty?: boolean | undefined;
after?: string | undefined;
before?: string | undefined;
on_or_after?: string | undefined;
on_or_before?: string | undefined;
}>;
}, "strip", z.ZodTypeAny, {
date: {
equals?: string | undefined;
not_equals?: string | undefined;
is_empty?: boolean | undefined;
is_not_empty?: boolean | undefined;
after?: string | undefined;
before?: string | undefined;
on_or_after?: string | undefined;
on_or_before?: string | undefined;
};
attribute: string;
}, {
date: {
equals?: string | undefined;
not_equals?: string | undefined;
is_empty?: boolean | undefined;
is_not_empty?: boolean | undefined;
after?: string | undefined;
before?: string | undefined;
on_or_after?: string | undefined;
on_or_before?: string | undefined;
};
attribute: string;
}>, z.ZodObject<{
attribute: z.ZodString;
reference: z.ZodEffects;
not_equals: z.ZodOptional;
is_empty: z.ZodOptional;
is_not_empty: z.ZodOptional;
}, "strict", z.ZodTypeAny, {
equals?: string | undefined;
not_equals?: string | undefined;
is_empty?: boolean | undefined;
is_not_empty?: boolean | undefined;
}, {
equals?: string | undefined;
not_equals?: string | undefined;
is_empty?: boolean | undefined;
is_not_empty?: boolean | undefined;
}>, {
equals?: string | undefined;
not_equals?: string | undefined;
is_empty?: boolean | undefined;
is_not_empty?: boolean | undefined;
}, {
equals?: string | undefined;
not_equals?: string | undefined;
is_empty?: boolean | undefined;
is_not_empty?: boolean | undefined;
}>;
}, "strip", z.ZodTypeAny, {
reference: {
equals?: string | undefined;
not_equals?: string | undefined;
is_empty?: boolean | undefined;
is_not_empty?: boolean | undefined;
};
attribute: string;
}, {
reference: {
equals?: string | undefined;
not_equals?: string | undefined;
is_empty?: boolean | undefined;
is_not_empty?: boolean | undefined;
};
attribute: string;
}>, z.ZodObject<{
attribute: z.ZodString;
boolean: z.ZodEffects;
not_equals: z.ZodOptional;
}, "strict", z.ZodTypeAny, {
equals?: boolean | undefined;
not_equals?: boolean | undefined;
}, {
equals?: boolean | undefined;
not_equals?: boolean | undefined;
}>, {
equals?: boolean | undefined;
not_equals?: boolean | undefined;
}, {
equals?: boolean | undefined;
not_equals?: boolean | undefined;
}>;
}, "strip", z.ZodTypeAny, {
boolean: {
equals?: boolean | undefined;
not_equals?: boolean | undefined;
};
attribute: string;
}, {
boolean: {
equals?: boolean | undefined;
not_equals?: boolean | undefined;
};
attribute: string;
}>, z.ZodObject<{
relativeReference: z.ZodObject<{
attribute: z.ZodString;
operator: z.ZodString;
}, "strip", z.ZodTypeAny, {
attribute: string;
operator: string;
}, {
attribute: string;
operator: string;
}>;
}, "strip", z.ZodTypeAny, {
relativeReference: {
attribute: string;
operator: string;
};
}, {
relativeReference: {
attribute: string;
operator: string;
};
}>, z.ZodObject<{
relativeDate: z.ZodObject<{
attribute: z.ZodString;
operator: z.ZodEnum<["equals", "lessThan", "lessEquals", "greaterThan", "greaterEquals"]>;
offset: z.ZodOptional;
relativeToAttribute: z.ZodOptional>;
}, "strip", z.ZodTypeAny, {
attribute: string;
operator: "equals" | "lessThan" | "lessEquals" | "greaterThan" | "greaterEquals";
offset?: number | undefined;
relativeToAttribute?: string | null | undefined;
}, {
attribute: string;
operator: "equals" | "lessThan" | "lessEquals" | "greaterThan" | "greaterEquals";
offset?: number | undefined;
relativeToAttribute?: string | null | undefined;
}>;
}, "strip", z.ZodTypeAny, {
relativeDate: {
attribute: string;
operator: "equals" | "lessThan" | "lessEquals" | "greaterThan" | "greaterEquals";
offset?: number | undefined;
relativeToAttribute?: string | null | undefined;
};
}, {
relativeDate: {
attribute: string;
operator: "equals" | "lessThan" | "lessEquals" | "greaterThan" | "greaterEquals";
offset?: number | undefined;
relativeToAttribute?: string | null | undefined;
};
}>, z.ZodObject<{
relativeString: z.ZodObject<{
attribute: z.ZodString;
sourceAttribute: z.ZodString;
}, "strip", z.ZodTypeAny, {
attribute: string;
sourceAttribute: string;
}, {
attribute: string;
sourceAttribute: string;
}>;
}, "strip", z.ZodTypeAny, {
relativeString: {
attribute: string;
sourceAttribute: string;
};
}, {
relativeString: {
attribute: string;
sourceAttribute: string;
};
}>, z.ZodObject<{
relativeNumber: z.ZodObject<{
attribute: z.ZodString;
sourceAttribute: z.ZodString;
operator: z.ZodOptional>;
offset: z.ZodOptional;
}, "strip", z.ZodTypeAny, {
attribute: string;
sourceAttribute: string;
offset?: number | undefined;
operator?: "equals" | "lessThan" | "lessEquals" | "greaterThan" | "greaterEquals" | undefined;
}, {
attribute: string;
sourceAttribute: string;
offset?: number | undefined;
operator?: "equals" | "lessThan" | "lessEquals" | "greaterThan" | "greaterEquals" | undefined;
}>;
}, "strip", z.ZodTypeAny, {
relativeNumber: {
attribute: string;
sourceAttribute: string;
offset?: number | undefined;
operator?: "equals" | "lessThan" | "lessEquals" | "greaterThan" | "greaterEquals" | undefined;
};
}, {
relativeNumber: {
attribute: string;
sourceAttribute: string;
offset?: number | undefined;
operator?: "equals" | "lessThan" | "lessEquals" | "greaterThan" | "greaterEquals" | undefined;
};
}>, z.ZodObject<{
relativeBoolean: z.ZodObject<{
attribute: z.ZodString;
sourceAttribute: z.ZodString;
}, "strip", z.ZodTypeAny, {
attribute: string;
sourceAttribute: string;
}, {
attribute: string;
sourceAttribute: string;
}>;
}, "strip", z.ZodTypeAny, {
relativeBoolean: {
attribute: string;
sourceAttribute: string;
};
}, {
relativeBoolean: {
attribute: string;
sourceAttribute: string;
};
}>, z.ZodObject<{
relativeSpace: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>;
}, "strip", z.ZodTypeAny, {
relativeSpace: {};
}, {
relativeSpace: {};
}>, z.ZodObject<{
relativeUid: z.ZodObject<{
operator: z.ZodString;
}, "strip", z.ZodTypeAny, {
operator: string;
}, {
operator: string;
}>;
}, "strip", z.ZodTypeAny, {
relativeUid: {
operator: string;
};
}, {
relativeUid: {
operator: string;
};
}>, z.ZodObject<{
relativeBuiltinReference: z.ZodObject<{
attribute: z.ZodString;
operator: z.ZodString;
}, "strip", z.ZodTypeAny, {
attribute: string;
operator: string;
}, {
attribute: string;
operator: string;
}>;
}, "strip", z.ZodTypeAny, {
relativeBuiltinReference: {
attribute: string;
operator: string;
};
}, {
relativeBuiltinReference: {
attribute: string;
operator: string;
};
}>]>, "many">;
}, "strip", z.ZodTypeAny, {
and: ({
relativeReference: {
attribute: string;
operator: string;
};
} | {
relativeDate: {
attribute: string;
operator: "equals" | "lessThan" | "lessEquals" | "greaterThan" | "greaterEquals";
offset?: number | undefined;
relativeToAttribute?: string | null | undefined;
};
} | {
relativeString: {
attribute: string;
sourceAttribute: string;
};
} | {
relativeNumber: {
attribute: string;
sourceAttribute: string;
offset?: number | undefined;
operator?: "equals" | "lessThan" | "lessEquals" | "greaterThan" | "greaterEquals" | undefined;
};
} | {
relativeBoolean: {
attribute: string;
sourceAttribute: string;
};
} | {
relativeSpace: {};
} | {
relativeUid: {
operator: string;
};
} | {
relativeBuiltinReference: {
attribute: string;
operator: string;
};
} | {
string: {
equals?: string | undefined;
not_equals?: string | undefined;
contains?: string | undefined;
beginsWith?: string | undefined;
is_empty?: boolean | undefined;
is_not_empty?: boolean | undefined;
};
attribute: string;
} | {
name: {
equals: string;
};
} | {
number: {
equals?: number | undefined;
not_equals?: number | undefined;
is_empty?: boolean | undefined;
is_not_empty?: boolean | undefined;
greater_than?: number | undefined;
greater_than_or_equal_to?: number | undefined;
less_than?: number | undefined;
less_than_or_equal_to?: number | undefined;
};
attribute: string;
} | {
date: {
equals?: string | undefined;
not_equals?: string | undefined;
is_empty?: boolean | undefined;
is_not_empty?: boolean | undefined;
after?: string | undefined;
before?: string | undefined;
on_or_after?: string | undefined;
on_or_before?: string | undefined;
};
attribute: string;
} | {
reference: {
equals?: string | undefined;
not_equals?: string | undefined;
is_empty?: boolean | undefined;
is_not_empty?: boolean | undefined;
};
attribute: string;
} | {
boolean: {
equals?: boolean | undefined;
not_equals?: boolean | undefined;
};
attribute: string;
})[];
}, {
and: ({
relativeReference: {
attribute: string;
operator: string;
};
} | {
relativeDate: {
attribute: string;
operator: "equals" | "lessThan" | "lessEquals" | "greaterThan" | "greaterEquals";
offset?: number | undefined;
relativeToAttribute?: string | null | undefined;
};
} | {
relativeString: {
attribute: string;
sourceAttribute: string;
};
} | {
relativeNumber: {
attribute: string;
sourceAttribute: string;
offset?: number | undefined;
operator?: "equals" | "lessThan" | "lessEquals" | "greaterThan" | "greaterEquals" | undefined;
};
} | {
relativeBoolean: {
attribute: string;
sourceAttribute: string;
};
} | {
relativeSpace: {};
} | {
relativeUid: {
operator: string;
};
} | {
relativeBuiltinReference: {
attribute: string;
operator: string;
};
} | {
string: {
equals?: string | undefined;
not_equals?: string | undefined;
contains?: string | undefined;
beginsWith?: string | undefined;
is_empty?: boolean | undefined;
is_not_empty?: boolean | undefined;
};
attribute: string;
} | {
name: {
equals: string;
};
} | {
number: {
equals?: number | undefined;
not_equals?: number | undefined;
is_empty?: boolean | undefined;
is_not_empty?: boolean | undefined;
greater_than?: number | undefined;
greater_than_or_equal_to?: number | undefined;
less_than?: number | undefined;
less_than_or_equal_to?: number | undefined;
};
attribute: string;
} | {
date: {
equals?: string | undefined;
not_equals?: string | undefined;
is_empty?: boolean | undefined;
is_not_empty?: boolean | undefined;
after?: string | undefined;
before?: string | undefined;
on_or_after?: string | undefined;
on_or_before?: string | undefined;
};
attribute: string;
} | {
reference: {
equals?: string | undefined;
not_equals?: string | undefined;
is_empty?: boolean | undefined;
is_not_empty?: boolean | undefined;
};
attribute: string;
} | {
boolean: {
equals?: boolean | undefined;
not_equals?: boolean | undefined;
};
attribute: string;
})[];
}>]>, "many">;
}, "strip", z.ZodTypeAny, {
or: ({
relativeReference: {
attribute: string;
operator: string;
};
} | {
relativeDate: {
attribute: string;
operator: "equals" | "lessThan" | "lessEquals" | "greaterThan" | "greaterEquals";
offset?: number | undefined;
relativeToAttribute?: string | null | undefined;
};
} | {
relativeString: {
attribute: string;
sourceAttribute: string;
};
} | {
relativeNumber: {
attribute: string;
sourceAttribute: string;
offset?: number | undefined;
operator?: "equals" | "lessThan" | "lessEquals" | "greaterThan" | "greaterEquals" | undefined;
};
} | {
relativeBoolean: {
attribute: string;
sourceAttribute: string;
};
} | {
relativeSpace: {};
} | {
relativeUid: {
operator: string;
};
} | {
relativeBuiltinReference: {
attribute: string;
operator: string;
};
} | {
string: {
equals?: string | undefined;
not_equals?: string | undefined;
contains?: string | undefined;
beginsWith?: string | undefined;
is_empty?: boolean | undefined;
is_not_empty?: boolean | undefined;
};
attribute: string;
} | {
name: {
equals: string;
};
} | {
number: {
equals?: number | undefined;
not_equals?: number | undefined;
is_empty?: boolean | undefined;
is_not_empty?: boolean | undefined;
greater_than?: number | undefined;
greater_than_or_equal_to?: number | undefined;
less_than?: number | undefined;
less_than_or_equal_to?: number | undefined;
};
attribute: string;
} | {
date: {
equals?: string | undefined;
not_equals?: string | undefined;
is_empty?: boolean | undefined;
is_not_empty?: boolean | undefined;
after?: string | undefined;
before?: string | undefined;
on_or_after?: string | undefined;
on_or_before?: string | undefined;
};
attribute: string;
} | {
reference: {
equals?: string | undefined;
not_equals?: string | undefined;
is_empty?: boolean | undefined;
is_not_empty?: boolean | undefined;
};
attribute: string;
} | {
boolean: {
equals?: boolean | undefined;
not_equals?: boolean | undefined;
};
attribute: string;
} | {
and: ({
relativeReference: {
attribute: string;
operator: string;
};
} | {
relativeDate: {
attribute: string;
operator: "equals" | "lessThan" | "lessEquals" | "greaterThan" | "greaterEquals";
offset?: number | undefined;
relativeToAttribute?: string | null | undefined;
};
} | {
relativeString: {
attribute: string;
sourceAttribute: string;
};
} | {
relativeNumber: {
attribute: string;
sourceAttribute: string;
offset?: number | undefined;
operator?: "equals" | "lessThan" | "lessEquals" | "greaterThan" | "greaterEquals" | undefined;
};
} | {
relativeBoolean: {
attribute: string;
sourceAttribute: string;
};
} | {
relativeSpace: {};
} | {
relativeUid: {
operator: string;
};
} | {
relativeBuiltinReference: {
attribute: string;
operator: string;
};
} | {
string: {
equals?: string | undefined;
not_equals?: string | undefined;
contains?: string | undefined;
beginsWith?: string | undefined;
is_empty?: boolean | undefined;
is_not_empty?: boolean | undefined;
};
attribute: string;
} | {
name: {
equals: string;
};
} | {
number: {
equals?: number | undefined;
not_equals?: number | undefined;
is_empty?: boolean | undefined;
is_not_empty?: boolean | undefined;
greater_than?: number | undefined;
greater_than_or_equal_to?: number | undefined;
less_than?: number | undefined;
less_than_or_equal_to?: number | undefined;
};
attribute: string;
} | {
date: {
equals?: string | undefined;
not_equals?: string | undefined;
is_empty?: boolean | undefined;
is_not_empty?: boolean | undefined;
after?: string | undefined;
before?: string | undefined;
on_or_after?: string | undefined;
on_or_before?: string | undefined;
};
attribute: string;
} | {
reference: {
equals?: string | undefined;
not_equals?: string | undefined;
is_empty?: boolean | undefined;
is_not_empty?: boolean | undefined;
};
attribute: string;
} | {
boolean: {
equals?: boolean | undefined;
not_equals?: boolean | undefined;
};
attribute: string;
})[];
})[];
}, {
or: ({
relativeReference: {
attribute: string;
operator: string;
};
} | {
relativeDate: {
attribute: string;
operator: "equals" | "lessThan" | "lessEquals" | "greaterThan" | "greaterEquals";
offset?: number | undefined;
relativeToAttribute?: string | null | undefined;
};
} | {
relativeString: {
attribute: string;
sourceAttribute: string;
};
} | {
relativeNumber: {
attribute: string;
sourceAttribute: string;
offset?: number | undefined;
operator?: "equals" | "lessThan" | "lessEquals" | "greaterThan" | "greaterEquals" | undefined;
};
} | {
relativeBoolean: {
attribute: string;
sourceAttribute: string;
};
} | {
relativeSpace: {};
} | {
relativeUid: {
operator: string;
};
} | {
relativeBuiltinReference: {
attribute: string;
operator: string;
};
} | {
string: {
equals?: string | undefined;
not_equals?: string | undefined;
contains?: string | undefined;
beginsWith?: string | undefined;
is_empty?: boolean | undefined;
is_not_empty?: boolean | undefined;
};
attribute: string;
} | {
name: {
equals: string;
};
} | {
number: {
equals?: number | undefined;
not_equals?: number | undefined;
is_empty?: boolean | undefined;
is_not_empty?: boolean | undefined;
greater_than?: number | undefined;
greater_than_or_equal_to?: number | undefined;
less_than?: number | undefined;
less_than_or_equal_to?: number | undefined;
};
attribute: string;
} | {
date: {
equals?: string | undefined;
not_equals?: string | undefined;
is_empty?: boolean | undefined;
is_not_empty?: boolean | undefined;
after?: string | undefined;
before?: string | undefined;
on_or_after?: string | undefined;
on_or_before?: string | undefined;
};
attribute: string;
} | {
reference: {
equals?: string | undefined;
not_equals?: string | undefined;
is_empty?: boolean | undefined;
is_not_empty?: boolean | undefined;
};
attribute: string;
} | {
boolean: {
equals?: boolean | undefined;
not_equals?: boolean | undefined;
};
attribute: string;
} | {
and: ({
relativeReference: {
attribute: string;
operator: string;
};
} | {
relativeDate: {
attribute: string;
operator: "equals" | "lessThan" | "lessEquals" | "greaterThan" | "greaterEquals";
offset?: number | undefined;
relativeToAttribute?: string | null | undefined;
};
} | {
relativeString: {
attribute: string;
sourceAttribute: string;
};
} | {
relativeNumber: {
attribute: string;
sourceAttribute: string;
offset?: number | undefined;
operator?: "equals" | "lessThan" | "lessEquals" | "greaterThan" | "greaterEquals" | undefined;
};
} | {
relativeBoolean: {
attribute: string;
sourceAttribute: string;
};
} | {
relativeSpace: {};
} | {
relativeUid: {
operator: string;
};
} | {
relativeBuiltinReference: {
attribute: string;
operator: string;
};
} | {
string: {
equals?: string | undefined;
not_equals?: string | undefined;
contains?: string | undefined;
beginsWith?: string | undefined;
is_empty?: boolean | undefined;
is_not_empty?: boolean | undefined;
};
attribute: string;
} | {
name: {
equals: string;
};
} | {
number: {
equals?: number | undefined;
not_equals?: number | undefined;
is_empty?: boolean | undefined;
is_not_empty?: boolean | undefined;
greater_than?: number | undefined;
greater_than_or_equal_to?: number | undefined;
less_than?: number | undefined;
less_than_or_equal_to?: number | undefined;
};
attribute: string;
} | {
date: {
equals?: string | undefined;
not_equals?: string | undefined;
is_empty?: boolean | undefined;
is_not_empty?: boolean | undefined;
after?: string | undefined;
before?: string | undefined;
on_or_after?: string | undefined;
on_or_before?: string | undefined;
};
attribute: string;
} | {
reference: {
equals?: string | undefined;
not_equals?: string | undefined;
is_empty?: boolean | undefined;
is_not_empty?: boolean | undefined;
};
attribute: string;
} | {
boolean: {
equals?: boolean | undefined;
not_equals?: boolean | undefined;
};
attribute: string;
})[];
})[];
}>]>, "many">, z.ZodString]>, string | ({
relativeReference: {
attribute: string;
operator: string;
};
} | {
relativeDate: {
attribute: string;
operator: "equals" | "lessThan" | "lessEquals" | "greaterThan" | "greaterEquals";
offset?: number | undefined;
relativeToAttribute?: string | null | undefined;
};
} | {
relativeString: {
attribute: string;
sourceAttribute: string;
};
} | {
relativeNumber: {
attribute: string;
sourceAttribute: string;
offset?: number | undefined;
operator?: "equals" | "lessThan" | "lessEquals" | "greaterThan" | "greaterEquals" | undefined;
};
} | {
relativeBoolean: {
attribute: string;
sourceAttribute: string;
};
} | {
relativeSpace: {};
} | {
relativeUid: {
operator: string;
};
} | {
relativeBuiltinReference: {
attribute: string;
operator: string;
};
} | {
string: {
equals?: string | undefined;
not_equals?: string | undefined;
contains?: string | undefined;
beginsWith?: string | undefined;
is_empty?: boolean | undefined;
is_not_empty?: boolean | undefined;
};
attribute: string;
} | {
name: {
equals: string;
};
} | {
number: {
equals?: number | undefined;
not_equals?: number | undefined;
is_empty?: boolean | undefined;
is_not_empty?: boolean | undefined;
greater_than?: number | undefined;
greater_than_or_equal_to?: number | undefined;
less_than?: number | undefined;
less_than_or_equal_to?: number | undefined;
};
attribute: string;
} | {
date: {
equals?: string | undefined;
not_equals?: string | undefined;
is_empty?: boolean | undefined;
is_not_empty?: boolean | undefined;
after?: string | undefined;
before?: string | undefined;
on_or_after?: string | undefined;
on_or_before?: string | undefined;
};
attribute: string;
} | {
reference: {
equals?: string | undefined;
not_equals?: string | undefined;
is_empty?: boolean | undefined;
is_not_empty?: boolean | undefined;
};
attribute: string;
} | {
boolean: {
equals?: boolean | undefined;
not_equals?: boolean | undefined;
};
attribute: string;
} | {
and: ({
relativeReference: {
attribute: string;
operator: string;
};
} | {
relativeDate: {
attribute: string;
operator: "equals" | "lessThan" | "lessEquals" | "greaterThan" | "greaterEquals";
offset?: number | undefined;
relativeToAttribute?: string | null | undefined;
};
} | {
relativeString: {
attribute: string;
sourceAttribute: string;
};
} | {
relativeNumber: {
attribute: string;
sourceAttribute: string;
offset?: number | undefined;
operator?: "equals" | "lessThan" | "lessEquals" | "greaterThan" | "greaterEquals" | undefined;
};
} | {
relativeBoolean: {
attribute: string;
sourceAttribute: string;
};
} | {
relativeSpace: {};
} | {
relativeUid: {
operator: string;
};
} | {
relativeBuiltinReference: {
attribute: string;
operator: string;
};
} | {
string: {
equals?: string | undefined;
not_equals?: string | undefined;
contains?: string | undefined;
beginsWith?: string | undefined;
is_empty?: boolean | undefined;
is_not_empty?: boolean | undefined;
};
attribute: string;
} | {
name: {
equals: string;
};
} | {
number: {
equals?: number | undefined;
not_equals?: number | undefined;
is_empty?: boolean | undefined;
is_not_empty?: boolean | undefined;
greater_than?: number | undefined;
greater_than_or_equal_to?: number | undefined;
less_than?: number | undefined;
less_than_or_equal_to?: number | undefined;
};
attribute: string;
} | {
date: {
equals?: string | undefined;
not_equals?: string | undefined;
is_empty?: boolean | undefined;
is_not_empty?: boolean | undefined;
after?: string | undefined;
before?: string | undefined;
on_or_after?: string | undefined;
on_or_before?: string | undefined;
};
attribute: string;
} | {
reference: {
equals?: string | undefined;
not_equals?: string | undefined;
is_empty?: boolean | undefined;
is_not_empty?: boolean | undefined;
};
attribute: string;
} | {
boolean: {
equals?: boolean | undefined;
not_equals?: boolean | undefined;
};
attribute: string;
} | {
or: ({
relativeReference: {
attribute: string;
operator: string;
};
} | {
relativeDate: {
attribute: string;
operator: "equals" | "lessThan" | "lessEquals" | "greaterThan" | "greaterEquals";
offset?: number | undefined;
relativeToAttribute?: string | null | undefined;
};
} | {
relativeString: {
attribute: string;
sourceAttribute: string;
};
} | {
relativeNumber: {
attribute: string;
sourceAttribute: string;
offset?: number | undefined;
operator?: "equals" | "lessThan" | "lessEquals" | "greaterThan" | "greaterEquals" | undefined;
};
} | {
relativeBoolean: {
attribute: string;
sourceAttribute: string;
};
} | {
relativeSpace: {};
} | {
relativeUid: {
operator: string;
};
} | {
relativeBuiltinReference: {
attribute: string;
operator: string;
};
} | {
string: {
equals?: string | undefined;
not_equals?: string | undefined;
contains?: string | undefined;
beginsWith?: string | undefined;
is_empty?: boolean | undefined;
is_not_empty?: boolean | undefined;
};
attribute: string;
} | {
name: {
equals: string;
};
} | {
number: {
equals?: number | undefined;
not_equals?: number | undefined;
is_empty?: boolean | undefined;
is_not_empty?: boolean | undefined;
greater_than?: number | undefined;
greater_than_or_equal_to?: number | undefined;
less_than?: number | undefined;
less_than_or_equal_to?: number | undefined;
};
attribute: string;
} | {
date: {
equals?: string | undefined;
not_equals?: string | undefined;
is_empty?: boolean | undefined;
is_not_empty?: boolean | undefined;
after?: string | undefined;
before?: string | undefined;
on_or_after?: string | undefined;
on_or_before?: string | undefined;
};
attribute: string;
} | {
reference: {
equals?: string | undefined;
not_equals?: string | undefined;
is_empty?: boolean | undefined;
is_not_empty?: boolean | undefined;
};
attribute: string;
} | {
boolean: {
equals?: boolean | undefined;
not_equals?: boolean | undefined;
};
attribute: string;
})[];
})[];
} | {
or: ({
relativeReference: {
attribute: string;
operator: string;
};
} | {
relativeDate: {
attribute: string;
operator: "equals" | "lessThan" | "lessEquals" | "greaterThan" | "greaterEquals";
offset?: number | undefined;
relativeToAttribute?: string | null | undefined;
};
} | {
relativeString: {
attribute: string;
sourceAttribute: string;
};
} | {
relativeNumber: {
attribute: string;
sourceAttribute: string;
offset?: number | undefined;
operator?: "equals" | "lessThan" | "lessEquals" | "greaterThan" | "greaterEquals" | undefined;
};
} | {
relativeBoolean: {
attribute: string;
sourceAttribute: string;
};
} | {
relativeSpace: {};
} | {
relativeUid: {
operator: string;
};
} | {
relativeBuiltinReference: {
attribute: string;
operator: string;
};
} | {
string: {
equals?: string | undefined;
not_equals?: string | undefined;
contains?: string | undefined;
beginsWith?: string | undefined;
is_empty?: boolean | undefined;
is_not_empty?: boolean | undefined;
};
attribute: string;
} | {
name: {
equals: string;
};
} | {
number: {
equals?: number | undefined;
not_equals?: number | undefined;
is_empty?: boolean | undefined;
is_not_empty?: boolean | undefined;
greater_than?: number | undefined;
greater_than_or_equal_to?: number | undefined;
less_than?: number | undefined;
less_than_or_equal_to?: number | undefined;
};
attribute: string;
} | {
date: {
equals?: string | undefined;
not_equals?: string | undefined;
is_empty?: boolean | undefined;
is_not_empty?: boolean | undefined;
after?: string | undefined;
before?: string | undefined;
on_or_after?: string | undefined;
on_or_before?: string | undefined;
};
attribute: string;
} | {
reference: {
equals?: string | undefined;
not_equals?: string | undefined;
is_empty?: boolean | undefined;
is_not_empty?: boolean | undefined;
};
attribute: string;
} | {
boolean: {
equals?: boolean | undefined;
not_equals?: boolean | undefined;
};
attribute: string;
} | {
and: ({
relativeReference: {
attribute: string;
operator: string;
};
} | {
relativeDate: {
attribute: string;
operator: "equals" | "lessThan" | "lessEquals" | "greaterThan" | "greaterEquals";
offset?: number | undefined;
relativeToAttribute?: string | null | undefined;
};
} | {
relativeString: {
attribute: string;
sourceAttribute: string;
};
} | {
relativeNumber: {
attribute: string;
sourceAttribute: string;
offset?: number | undefined;
operator?: "equals" | "lessThan" | "lessEquals" | "greaterThan" | "greaterEquals" | undefined;
};
} | {
relativeBoolean: {
attribute: string;
sourceAttribute: string;
};
} | {
relativeSpace: {};
} | {
relativeUid: {
operator: string;
};
} | {
relativeBuiltinReference: {
attribute: string;
operator: string;
};
} | {
string: {
equals?: string | undefined;
not_equals?: string | undefined;
contains?: string | undefined;
beginsWith?: string | undefined;
is_empty?: boolean | undefined;
is_not_empty?: boolean | undefined;
};
attribute: string;
} | {
name: {
equals: string;
};
} | {
number: {
equals?: number | undefined;
not_equals?: number | undefined;
is_empty?: boolean | undefined;
is_not_empty?: boolean | undefined;
greater_than?: number | undefined;
greater_than_or_equal_to?: number | undefined;
less_than?: number | undefined;
less_than_or_equal_to?: number | undefined;
};
attribute: string;
} | {
date: {
equals?: string | undefined;
not_equals?: string | undefined;
is_empty?: boolean | undefined;
is_not_empty?: boolean | undefined;
after?: string | undefined;
before?: string | undefined;
on_or_after?: string | undefined;
on_or_before?: string | undefined;
};
attribute: string;
} | {
reference: {
equals?: string | undefined;
not_equals?: string | undefined;
is_empty?: boolean | undefined;
is_not_empty?: boolean | undefined;
};
attribute: string;
} | {
boolean: {
equals?: boolean | undefined;
not_equals?: boolean | undefined;
};
attribute: string;
})[];
})[];
})[], unknown>;
readonly limit: z.ZodEffects, number, unknown>;
readonly offset: z.ZodEffects, number, unknown>;
readonly responseFormat: z.ZodOptional>;
readonly attributes: z.ZodOptional>;
readonly embeddingEntityUID: z.ZodOptional;
readonly connectedTableSelectionUID: z.ZodOptional;
};
readonly annotations: {
readonly title: "Search Pages";
};
};
readonly cplace_search_pages_fulltext: {
readonly description: "Search for pages by text content in cplace. Optionally filter by type and workspace. Use this for simple keyword searches.\n\nPicking a search tool: use cplace_search_pages when results must be narrowed by attribute values, dates or references; use cplace_list_pages_of_type to list every page of one type in one workspace with no keyword and no filtering.\n\nRichString attributes appear in decoded form: `{\"properties\":{…}}` — no base64.";
readonly inputSchema: {
readonly workspaceId: z.ZodOptional;
readonly fulltext: z.ZodString;
readonly typeInternalName: z.ZodOptional;
readonly limit: z.ZodEffects, number, unknown>;
readonly offset: z.ZodEffects, number, unknown>;
readonly responseFormat: z.ZodOptional>;
};
readonly annotations: {
readonly title: "Search Pages by Fulltext";
};
};
readonly cplace_list_pages_of_type: {
readonly description: "List every page of one type in one workspace in cplace. Use this when the whole set is wanted and no filtering is needed - it is the cheapest of the three page-search tools to call correctly.\n\nPicking a search tool: use cplace_search_pages when results must be narrowed by attribute values, dates or references, or when searching across all workspaces; use cplace_search_pages_fulltext for a keyword search.\n\nRichString attributes appear in decoded form: `{\"properties\":{…}}` — no base64.";
readonly inputSchema: {
readonly workspaceId: z.ZodString;
readonly typeInternalName: z.ZodString;
readonly limit: z.ZodEffects, number, unknown>;
readonly offset: z.ZodEffects, number, unknown>;
};
readonly annotations: {
readonly title: "List Pages of Type";
};
};
};
export declare function registerSearchTools(server: McpServer, client: CplaceApiClient): void;
//# sourceMappingURL=search.d.ts.map