wowok_agent
Version:
Making It Easy for AI Agents to Communicate, Collaborate, Trade, and Trust.
1,458 lines • 119 kB
TypeScript
import { z } from "zod";
export declare const RemarkSetSchema: z.ZodObject<{
op: z.ZodLiteral<"set">;
index: z.ZodEffects<z.ZodNumber, number, number>;
remark: z.ZodEffects<z.ZodString, string, string>;
}, "strict", z.ZodTypeAny, {
op: "set";
index: number;
remark: string;
}, {
op: "set";
index: number;
remark: string;
}>;
export declare const RemarkRemoveSchema: z.ZodObject<{
op: z.ZodLiteral<"remove">;
index: z.ZodEffects<z.ZodNumber, number, number>;
}, "strict", z.ZodTypeAny, {
op: "remove";
index: number;
}, {
op: "remove";
index: number;
}>;
export declare const RemarkClearSchema: z.ZodObject<{
op: z.ZodLiteral<"clear">;
}, "strict", z.ZodTypeAny, {
op: "clear";
}, {
op: "clear";
}>;
export declare const RemarkSchema: z.ZodDiscriminatedUnion<"op", [z.ZodObject<{
op: z.ZodLiteral<"set">;
index: z.ZodEffects<z.ZodNumber, number, number>;
remark: z.ZodEffects<z.ZodString, string, string>;
}, "strict", z.ZodTypeAny, {
op: "set";
index: number;
remark: string;
}, {
op: "set";
index: number;
remark: string;
}>, z.ZodObject<{
op: z.ZodLiteral<"remove">;
index: z.ZodEffects<z.ZodNumber, number, number>;
}, "strict", z.ZodTypeAny, {
op: "remove";
index: number;
}, {
op: "remove";
index: number;
}>, z.ZodObject<{
op: z.ZodLiteral<"clear">;
}, "strict", z.ZodTypeAny, {
op: "clear";
}, {
op: "clear";
}>]>;
export declare const TablePermByIndexSchema: z.ZodDiscriminatedUnion<"op", [z.ZodObject<{
op: z.ZodLiteral<"add perm by index">;
index: z.ZodEffects<z.ZodNumber, number, number>;
entity: z.ZodObject<{
entities: z.ZodArray<z.ZodObject<{
name_or_address: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
local_mark_first: z.ZodOptional<z.ZodBoolean>;
}, "strict", z.ZodTypeAny, {
name_or_address?: string | undefined;
local_mark_first?: boolean | undefined;
}, {
name_or_address?: string | undefined;
local_mark_first?: boolean | undefined;
}>, "many">;
check_all_founded: z.ZodOptional<z.ZodBoolean>;
}, "strict", z.ZodTypeAny, {
entities: {
name_or_address?: string | undefined;
local_mark_first?: boolean | undefined;
}[];
check_all_founded?: boolean | undefined;
}, {
entities: {
name_or_address?: string | undefined;
local_mark_first?: boolean | undefined;
}[];
check_all_founded?: boolean | undefined;
}>;
}, "strict", z.ZodTypeAny, {
op: "add perm by index";
entity: {
entities: {
name_or_address?: string | undefined;
local_mark_first?: boolean | undefined;
}[];
check_all_founded?: boolean | undefined;
};
index: number;
}, {
op: "add perm by index";
entity: {
entities: {
name_or_address?: string | undefined;
local_mark_first?: boolean | undefined;
}[];
check_all_founded?: boolean | undefined;
};
index: number;
}>, z.ZodObject<{
op: z.ZodLiteral<"set perm by index">;
index: z.ZodEffects<z.ZodNumber, number, number>;
entity: z.ZodObject<{
entities: z.ZodArray<z.ZodObject<{
name_or_address: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
local_mark_first: z.ZodOptional<z.ZodBoolean>;
}, "strict", z.ZodTypeAny, {
name_or_address?: string | undefined;
local_mark_first?: boolean | undefined;
}, {
name_or_address?: string | undefined;
local_mark_first?: boolean | undefined;
}>, "many">;
check_all_founded: z.ZodOptional<z.ZodBoolean>;
}, "strict", z.ZodTypeAny, {
entities: {
name_or_address?: string | undefined;
local_mark_first?: boolean | undefined;
}[];
check_all_founded?: boolean | undefined;
}, {
entities: {
name_or_address?: string | undefined;
local_mark_first?: boolean | undefined;
}[];
check_all_founded?: boolean | undefined;
}>;
}, "strict", z.ZodTypeAny, {
op: "set perm by index";
entity: {
entities: {
name_or_address?: string | undefined;
local_mark_first?: boolean | undefined;
}[];
check_all_founded?: boolean | undefined;
};
index: number;
}, {
op: "set perm by index";
entity: {
entities: {
name_or_address?: string | undefined;
local_mark_first?: boolean | undefined;
}[];
check_all_founded?: boolean | undefined;
};
index: number;
}>, z.ZodObject<{
op: z.ZodLiteral<"remove perm by index">;
index: z.ZodEffects<z.ZodNumber, number, number>;
entity: z.ZodObject<{
entities: z.ZodArray<z.ZodObject<{
name_or_address: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
local_mark_first: z.ZodOptional<z.ZodBoolean>;
}, "strict", z.ZodTypeAny, {
name_or_address?: string | undefined;
local_mark_first?: boolean | undefined;
}, {
name_or_address?: string | undefined;
local_mark_first?: boolean | undefined;
}>, "many">;
check_all_founded: z.ZodOptional<z.ZodBoolean>;
}, "strict", z.ZodTypeAny, {
entities: {
name_or_address?: string | undefined;
local_mark_first?: boolean | undefined;
}[];
check_all_founded?: boolean | undefined;
}, {
entities: {
name_or_address?: string | undefined;
local_mark_first?: boolean | undefined;
}[];
check_all_founded?: boolean | undefined;
}>;
}, "strict", z.ZodTypeAny, {
op: "remove perm by index";
entity: {
entities: {
name_or_address?: string | undefined;
local_mark_first?: boolean | undefined;
}[];
check_all_founded?: boolean | undefined;
};
index: number;
}, {
op: "remove perm by index";
entity: {
entities: {
name_or_address?: string | undefined;
local_mark_first?: boolean | undefined;
}[];
check_all_founded?: boolean | undefined;
};
index: number;
}>]>;
export declare const TablePermByEntitySchema: z.ZodDiscriminatedUnion<"op", [z.ZodObject<{
op: z.ZodLiteral<"add perm by entity">;
entity: z.ZodObject<{
name_or_address: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
local_mark_first: z.ZodOptional<z.ZodBoolean>;
}, "strict", z.ZodTypeAny, {
name_or_address?: string | undefined;
local_mark_first?: boolean | undefined;
}, {
name_or_address?: string | undefined;
local_mark_first?: boolean | undefined;
}>;
index: z.ZodArray<z.ZodEffects<z.ZodNumber, number, number>, "many">;
}, "strict", z.ZodTypeAny, {
op: "add perm by entity";
entity: {
name_or_address?: string | undefined;
local_mark_first?: boolean | undefined;
};
index: number[];
}, {
op: "add perm by entity";
entity: {
name_or_address?: string | undefined;
local_mark_first?: boolean | undefined;
};
index: number[];
}>, z.ZodObject<{
op: z.ZodLiteral<"set perm by entity">;
entity: z.ZodObject<{
name_or_address: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
local_mark_first: z.ZodOptional<z.ZodBoolean>;
}, "strict", z.ZodTypeAny, {
name_or_address?: string | undefined;
local_mark_first?: boolean | undefined;
}, {
name_or_address?: string | undefined;
local_mark_first?: boolean | undefined;
}>;
index: z.ZodArray<z.ZodEffects<z.ZodNumber, number, number>, "many">;
}, "strict", z.ZodTypeAny, {
op: "set perm by entity";
entity: {
name_or_address?: string | undefined;
local_mark_first?: boolean | undefined;
};
index: number[];
}, {
op: "set perm by entity";
entity: {
name_or_address?: string | undefined;
local_mark_first?: boolean | undefined;
};
index: number[];
}>, z.ZodObject<{
op: z.ZodLiteral<"remove perm by entity">;
entity: z.ZodObject<{
name_or_address: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
local_mark_first: z.ZodOptional<z.ZodBoolean>;
}, "strict", z.ZodTypeAny, {
name_or_address?: string | undefined;
local_mark_first?: boolean | undefined;
}, {
name_or_address?: string | undefined;
local_mark_first?: boolean | undefined;
}>;
index: z.ZodArray<z.ZodEffects<z.ZodNumber, number, number>, "many">;
}, "strict", z.ZodTypeAny, {
op: "remove perm by entity";
entity: {
name_or_address?: string | undefined;
local_mark_first?: boolean | undefined;
};
index: number[];
}, {
op: "remove perm by entity";
entity: {
name_or_address?: string | undefined;
local_mark_first?: boolean | undefined;
};
index: number[];
}>]>;
export declare const TableSchema: z.ZodDiscriminatedUnion<"op", [z.ZodObject<{
op: z.ZodLiteral<"add perm by index">;
index: z.ZodEffects<z.ZodNumber, number, number>;
entity: z.ZodObject<{
entities: z.ZodArray<z.ZodObject<{
name_or_address: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
local_mark_first: z.ZodOptional<z.ZodBoolean>;
}, "strict", z.ZodTypeAny, {
name_or_address?: string | undefined;
local_mark_first?: boolean | undefined;
}, {
name_or_address?: string | undefined;
local_mark_first?: boolean | undefined;
}>, "many">;
check_all_founded: z.ZodOptional<z.ZodBoolean>;
}, "strict", z.ZodTypeAny, {
entities: {
name_or_address?: string | undefined;
local_mark_first?: boolean | undefined;
}[];
check_all_founded?: boolean | undefined;
}, {
entities: {
name_or_address?: string | undefined;
local_mark_first?: boolean | undefined;
}[];
check_all_founded?: boolean | undefined;
}>;
}, "strict", z.ZodTypeAny, {
op: "add perm by index";
entity: {
entities: {
name_or_address?: string | undefined;
local_mark_first?: boolean | undefined;
}[];
check_all_founded?: boolean | undefined;
};
index: number;
}, {
op: "add perm by index";
entity: {
entities: {
name_or_address?: string | undefined;
local_mark_first?: boolean | undefined;
}[];
check_all_founded?: boolean | undefined;
};
index: number;
}>, z.ZodObject<{
op: z.ZodLiteral<"set perm by index">;
index: z.ZodEffects<z.ZodNumber, number, number>;
entity: z.ZodObject<{
entities: z.ZodArray<z.ZodObject<{
name_or_address: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
local_mark_first: z.ZodOptional<z.ZodBoolean>;
}, "strict", z.ZodTypeAny, {
name_or_address?: string | undefined;
local_mark_first?: boolean | undefined;
}, {
name_or_address?: string | undefined;
local_mark_first?: boolean | undefined;
}>, "many">;
check_all_founded: z.ZodOptional<z.ZodBoolean>;
}, "strict", z.ZodTypeAny, {
entities: {
name_or_address?: string | undefined;
local_mark_first?: boolean | undefined;
}[];
check_all_founded?: boolean | undefined;
}, {
entities: {
name_or_address?: string | undefined;
local_mark_first?: boolean | undefined;
}[];
check_all_founded?: boolean | undefined;
}>;
}, "strict", z.ZodTypeAny, {
op: "set perm by index";
entity: {
entities: {
name_or_address?: string | undefined;
local_mark_first?: boolean | undefined;
}[];
check_all_founded?: boolean | undefined;
};
index: number;
}, {
op: "set perm by index";
entity: {
entities: {
name_or_address?: string | undefined;
local_mark_first?: boolean | undefined;
}[];
check_all_founded?: boolean | undefined;
};
index: number;
}>, z.ZodObject<{
op: z.ZodLiteral<"remove perm by index">;
index: z.ZodEffects<z.ZodNumber, number, number>;
entity: z.ZodObject<{
entities: z.ZodArray<z.ZodObject<{
name_or_address: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
local_mark_first: z.ZodOptional<z.ZodBoolean>;
}, "strict", z.ZodTypeAny, {
name_or_address?: string | undefined;
local_mark_first?: boolean | undefined;
}, {
name_or_address?: string | undefined;
local_mark_first?: boolean | undefined;
}>, "many">;
check_all_founded: z.ZodOptional<z.ZodBoolean>;
}, "strict", z.ZodTypeAny, {
entities: {
name_or_address?: string | undefined;
local_mark_first?: boolean | undefined;
}[];
check_all_founded?: boolean | undefined;
}, {
entities: {
name_or_address?: string | undefined;
local_mark_first?: boolean | undefined;
}[];
check_all_founded?: boolean | undefined;
}>;
}, "strict", z.ZodTypeAny, {
op: "remove perm by index";
entity: {
entities: {
name_or_address?: string | undefined;
local_mark_first?: boolean | undefined;
}[];
check_all_founded?: boolean | undefined;
};
index: number;
}, {
op: "remove perm by index";
entity: {
entities: {
name_or_address?: string | undefined;
local_mark_first?: boolean | undefined;
}[];
check_all_founded?: boolean | undefined;
};
index: number;
}>, z.ZodObject<{
op: z.ZodLiteral<"add perm by entity">;
entity: z.ZodObject<{
name_or_address: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
local_mark_first: z.ZodOptional<z.ZodBoolean>;
}, "strict", z.ZodTypeAny, {
name_or_address?: string | undefined;
local_mark_first?: boolean | undefined;
}, {
name_or_address?: string | undefined;
local_mark_first?: boolean | undefined;
}>;
index: z.ZodArray<z.ZodEffects<z.ZodNumber, number, number>, "many">;
}, "strict", z.ZodTypeAny, {
op: "add perm by entity";
entity: {
name_or_address?: string | undefined;
local_mark_first?: boolean | undefined;
};
index: number[];
}, {
op: "add perm by entity";
entity: {
name_or_address?: string | undefined;
local_mark_first?: boolean | undefined;
};
index: number[];
}>, z.ZodObject<{
op: z.ZodLiteral<"set perm by entity">;
entity: z.ZodObject<{
name_or_address: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
local_mark_first: z.ZodOptional<z.ZodBoolean>;
}, "strict", z.ZodTypeAny, {
name_or_address?: string | undefined;
local_mark_first?: boolean | undefined;
}, {
name_or_address?: string | undefined;
local_mark_first?: boolean | undefined;
}>;
index: z.ZodArray<z.ZodEffects<z.ZodNumber, number, number>, "many">;
}, "strict", z.ZodTypeAny, {
op: "set perm by entity";
entity: {
name_or_address?: string | undefined;
local_mark_first?: boolean | undefined;
};
index: number[];
}, {
op: "set perm by entity";
entity: {
name_or_address?: string | undefined;
local_mark_first?: boolean | undefined;
};
index: number[];
}>, z.ZodObject<{
op: z.ZodLiteral<"remove perm by entity">;
entity: z.ZodObject<{
name_or_address: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
local_mark_first: z.ZodOptional<z.ZodBoolean>;
}, "strict", z.ZodTypeAny, {
name_or_address?: string | undefined;
local_mark_first?: boolean | undefined;
}, {
name_or_address?: string | undefined;
local_mark_first?: boolean | undefined;
}>;
index: z.ZodArray<z.ZodEffects<z.ZodNumber, number, number>, "many">;
}, "strict", z.ZodTypeAny, {
op: "remove perm by entity";
entity: {
name_or_address?: string | undefined;
local_mark_first?: boolean | undefined;
};
index: number[];
}, {
op: "remove perm by entity";
entity: {
name_or_address?: string | undefined;
local_mark_first?: boolean | undefined;
};
index: number[];
}>]>;
export declare const EntitySwapReplaceCopySchema: z.ZodDiscriminatedUnion<"op", [z.ZodObject<{
op: z.ZodLiteral<"swap">;
entity1: z.ZodObject<{
name_or_address: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
local_mark_first: z.ZodOptional<z.ZodBoolean>;
}, "strict", z.ZodTypeAny, {
name_or_address?: string | undefined;
local_mark_first?: boolean | undefined;
}, {
name_or_address?: string | undefined;
local_mark_first?: boolean | undefined;
}>;
entity2: z.ZodObject<{
name_or_address: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
local_mark_first: z.ZodOptional<z.ZodBoolean>;
}, "strict", z.ZodTypeAny, {
name_or_address?: string | undefined;
local_mark_first?: boolean | undefined;
}, {
name_or_address?: string | undefined;
local_mark_first?: boolean | undefined;
}>;
}, "strict", z.ZodTypeAny, {
op: "swap";
entity1: {
name_or_address?: string | undefined;
local_mark_first?: boolean | undefined;
};
entity2: {
name_or_address?: string | undefined;
local_mark_first?: boolean | undefined;
};
}, {
op: "swap";
entity1: {
name_or_address?: string | undefined;
local_mark_first?: boolean | undefined;
};
entity2: {
name_or_address?: string | undefined;
local_mark_first?: boolean | undefined;
};
}>, z.ZodObject<{
op: z.ZodLiteral<"replace">;
entity1: z.ZodObject<{
name_or_address: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
local_mark_first: z.ZodOptional<z.ZodBoolean>;
}, "strict", z.ZodTypeAny, {
name_or_address?: string | undefined;
local_mark_first?: boolean | undefined;
}, {
name_or_address?: string | undefined;
local_mark_first?: boolean | undefined;
}>;
entity2: z.ZodObject<{
name_or_address: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
local_mark_first: z.ZodOptional<z.ZodBoolean>;
}, "strict", z.ZodTypeAny, {
name_or_address?: string | undefined;
local_mark_first?: boolean | undefined;
}, {
name_or_address?: string | undefined;
local_mark_first?: boolean | undefined;
}>;
}, "strict", z.ZodTypeAny, {
op: "replace";
entity1: {
name_or_address?: string | undefined;
local_mark_first?: boolean | undefined;
};
entity2: {
name_or_address?: string | undefined;
local_mark_first?: boolean | undefined;
};
}, {
op: "replace";
entity1: {
name_or_address?: string | undefined;
local_mark_first?: boolean | undefined;
};
entity2: {
name_or_address?: string | undefined;
local_mark_first?: boolean | undefined;
};
}>, z.ZodObject<{
op: z.ZodLiteral<"copy">;
entity1: z.ZodObject<{
name_or_address: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
local_mark_first: z.ZodOptional<z.ZodBoolean>;
}, "strict", z.ZodTypeAny, {
name_or_address?: string | undefined;
local_mark_first?: boolean | undefined;
}, {
name_or_address?: string | undefined;
local_mark_first?: boolean | undefined;
}>;
entity2: z.ZodObject<{
name_or_address: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
local_mark_first: z.ZodOptional<z.ZodBoolean>;
}, "strict", z.ZodTypeAny, {
name_or_address?: string | undefined;
local_mark_first?: boolean | undefined;
}, {
name_or_address?: string | undefined;
local_mark_first?: boolean | undefined;
}>;
}, "strict", z.ZodTypeAny, {
op: "copy";
entity1: {
name_or_address?: string | undefined;
local_mark_first?: boolean | undefined;
};
entity2: {
name_or_address?: string | undefined;
local_mark_first?: boolean | undefined;
};
}, {
op: "copy";
entity1: {
name_or_address?: string | undefined;
local_mark_first?: boolean | undefined;
};
entity2: {
name_or_address?: string | undefined;
local_mark_first?: boolean | undefined;
};
}>]>;
export declare const EntityDelSchema: z.ZodObject<{
op: z.ZodLiteral<"del">;
entity: z.ZodObject<{
name_or_address: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
local_mark_first: z.ZodOptional<z.ZodBoolean>;
}, "strict", z.ZodTypeAny, {
name_or_address?: string | undefined;
local_mark_first?: boolean | undefined;
}, {
name_or_address?: string | undefined;
local_mark_first?: boolean | undefined;
}>;
}, "strict", z.ZodTypeAny, {
op: "del";
entity: {
name_or_address?: string | undefined;
local_mark_first?: boolean | undefined;
};
}, {
op: "del";
entity: {
name_or_address?: string | undefined;
local_mark_first?: boolean | undefined;
};
}>;
export declare const EntitySchema: z.ZodDiscriminatedUnion<"op", [z.ZodObject<{
op: z.ZodLiteral<"swap">;
entity1: z.ZodObject<{
name_or_address: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
local_mark_first: z.ZodOptional<z.ZodBoolean>;
}, "strict", z.ZodTypeAny, {
name_or_address?: string | undefined;
local_mark_first?: boolean | undefined;
}, {
name_or_address?: string | undefined;
local_mark_first?: boolean | undefined;
}>;
entity2: z.ZodObject<{
name_or_address: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
local_mark_first: z.ZodOptional<z.ZodBoolean>;
}, "strict", z.ZodTypeAny, {
name_or_address?: string | undefined;
local_mark_first?: boolean | undefined;
}, {
name_or_address?: string | undefined;
local_mark_first?: boolean | undefined;
}>;
}, "strict", z.ZodTypeAny, {
op: "swap";
entity1: {
name_or_address?: string | undefined;
local_mark_first?: boolean | undefined;
};
entity2: {
name_or_address?: string | undefined;
local_mark_first?: boolean | undefined;
};
}, {
op: "swap";
entity1: {
name_or_address?: string | undefined;
local_mark_first?: boolean | undefined;
};
entity2: {
name_or_address?: string | undefined;
local_mark_first?: boolean | undefined;
};
}>, z.ZodObject<{
op: z.ZodLiteral<"replace">;
entity1: z.ZodObject<{
name_or_address: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
local_mark_first: z.ZodOptional<z.ZodBoolean>;
}, "strict", z.ZodTypeAny, {
name_or_address?: string | undefined;
local_mark_first?: boolean | undefined;
}, {
name_or_address?: string | undefined;
local_mark_first?: boolean | undefined;
}>;
entity2: z.ZodObject<{
name_or_address: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
local_mark_first: z.ZodOptional<z.ZodBoolean>;
}, "strict", z.ZodTypeAny, {
name_or_address?: string | undefined;
local_mark_first?: boolean | undefined;
}, {
name_or_address?: string | undefined;
local_mark_first?: boolean | undefined;
}>;
}, "strict", z.ZodTypeAny, {
op: "replace";
entity1: {
name_or_address?: string | undefined;
local_mark_first?: boolean | undefined;
};
entity2: {
name_or_address?: string | undefined;
local_mark_first?: boolean | undefined;
};
}, {
op: "replace";
entity1: {
name_or_address?: string | undefined;
local_mark_first?: boolean | undefined;
};
entity2: {
name_or_address?: string | undefined;
local_mark_first?: boolean | undefined;
};
}>, z.ZodObject<{
op: z.ZodLiteral<"copy">;
entity1: z.ZodObject<{
name_or_address: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
local_mark_first: z.ZodOptional<z.ZodBoolean>;
}, "strict", z.ZodTypeAny, {
name_or_address?: string | undefined;
local_mark_first?: boolean | undefined;
}, {
name_or_address?: string | undefined;
local_mark_first?: boolean | undefined;
}>;
entity2: z.ZodObject<{
name_or_address: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
local_mark_first: z.ZodOptional<z.ZodBoolean>;
}, "strict", z.ZodTypeAny, {
name_or_address?: string | undefined;
local_mark_first?: boolean | undefined;
}, {
name_or_address?: string | undefined;
local_mark_first?: boolean | undefined;
}>;
}, "strict", z.ZodTypeAny, {
op: "copy";
entity1: {
name_or_address?: string | undefined;
local_mark_first?: boolean | undefined;
};
entity2: {
name_or_address?: string | undefined;
local_mark_first?: boolean | undefined;
};
}, {
op: "copy";
entity1: {
name_or_address?: string | undefined;
local_mark_first?: boolean | undefined;
};
entity2: {
name_or_address?: string | undefined;
local_mark_first?: boolean | undefined;
};
}>, z.ZodObject<{
op: z.ZodLiteral<"del">;
entity: z.ZodObject<{
name_or_address: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
local_mark_first: z.ZodOptional<z.ZodBoolean>;
}, "strict", z.ZodTypeAny, {
name_or_address?: string | undefined;
local_mark_first?: boolean | undefined;
}, {
name_or_address?: string | undefined;
local_mark_first?: boolean | undefined;
}>;
}, "strict", z.ZodTypeAny, {
op: "del";
entity: {
name_or_address?: string | undefined;
local_mark_first?: boolean | undefined;
};
}, {
op: "del";
entity: {
name_or_address?: string | undefined;
local_mark_first?: boolean | undefined;
};
}>]>;
export declare const AdminSchema: z.ZodObject<{
op: z.ZodEnum<["add", "remove", "set"]>;
addresses: z.ZodObject<{
entities: z.ZodArray<z.ZodObject<{
name_or_address: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
local_mark_first: z.ZodOptional<z.ZodBoolean>;
}, "strict", z.ZodTypeAny, {
name_or_address?: string | undefined;
local_mark_first?: boolean | undefined;
}, {
name_or_address?: string | undefined;
local_mark_first?: boolean | undefined;
}>, "many">;
check_all_founded: z.ZodOptional<z.ZodBoolean>;
}, "strict", z.ZodTypeAny, {
entities: {
name_or_address?: string | undefined;
local_mark_first?: boolean | undefined;
}[];
check_all_founded?: boolean | undefined;
}, {
entities: {
name_or_address?: string | undefined;
local_mark_first?: boolean | undefined;
}[];
check_all_founded?: boolean | undefined;
}>;
}, "strict", z.ZodTypeAny, {
op: "set" | "add" | "remove";
addresses: {
entities: {
name_or_address?: string | undefined;
local_mark_first?: boolean | undefined;
}[];
check_all_founded?: boolean | undefined;
};
}, {
op: "set" | "add" | "remove";
addresses: {
entities: {
name_or_address?: string | undefined;
local_mark_first?: boolean | undefined;
}[];
check_all_founded?: boolean | undefined;
};
}>;
export declare const CallPermission_DataSchema: z.ZodObject<{
object: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, string, string>, z.ZodObject<{
name: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
onChain: z.ZodOptional<z.ZodBoolean>;
replaceExistName: z.ZodOptional<z.ZodBoolean>;
}, "strict", z.ZodTypeAny, {
name?: string | undefined;
replaceExistName?: boolean | undefined;
tags?: string[] | undefined;
onChain?: boolean | undefined;
}, {
name?: string | undefined;
replaceExistName?: boolean | undefined;
tags?: string[] | undefined;
onChain?: boolean | undefined;
}>]>>;
description: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
remark: z.ZodOptional<z.ZodDiscriminatedUnion<"op", [z.ZodObject<{
op: z.ZodLiteral<"set">;
index: z.ZodEffects<z.ZodNumber, number, number>;
remark: z.ZodEffects<z.ZodString, string, string>;
}, "strict", z.ZodTypeAny, {
op: "set";
index: number;
remark: string;
}, {
op: "set";
index: number;
remark: string;
}>, z.ZodObject<{
op: z.ZodLiteral<"remove">;
index: z.ZodEffects<z.ZodNumber, number, number>;
}, "strict", z.ZodTypeAny, {
op: "remove";
index: number;
}, {
op: "remove";
index: number;
}>, z.ZodObject<{
op: z.ZodLiteral<"clear">;
}, "strict", z.ZodTypeAny, {
op: "clear";
}, {
op: "clear";
}>]>>;
table: z.ZodOptional<z.ZodDiscriminatedUnion<"op", [z.ZodObject<{
op: z.ZodLiteral<"add perm by index">;
index: z.ZodEffects<z.ZodNumber, number, number>;
entity: z.ZodObject<{
entities: z.ZodArray<z.ZodObject<{
name_or_address: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
local_mark_first: z.ZodOptional<z.ZodBoolean>;
}, "strict", z.ZodTypeAny, {
name_or_address?: string | undefined;
local_mark_first?: boolean | undefined;
}, {
name_or_address?: string | undefined;
local_mark_first?: boolean | undefined;
}>, "many">;
check_all_founded: z.ZodOptional<z.ZodBoolean>;
}, "strict", z.ZodTypeAny, {
entities: {
name_or_address?: string | undefined;
local_mark_first?: boolean | undefined;
}[];
check_all_founded?: boolean | undefined;
}, {
entities: {
name_or_address?: string | undefined;
local_mark_first?: boolean | undefined;
}[];
check_all_founded?: boolean | undefined;
}>;
}, "strict", z.ZodTypeAny, {
op: "add perm by index";
entity: {
entities: {
name_or_address?: string | undefined;
local_mark_first?: boolean | undefined;
}[];
check_all_founded?: boolean | undefined;
};
index: number;
}, {
op: "add perm by index";
entity: {
entities: {
name_or_address?: string | undefined;
local_mark_first?: boolean | undefined;
}[];
check_all_founded?: boolean | undefined;
};
index: number;
}>, z.ZodObject<{
op: z.ZodLiteral<"set perm by index">;
index: z.ZodEffects<z.ZodNumber, number, number>;
entity: z.ZodObject<{
entities: z.ZodArray<z.ZodObject<{
name_or_address: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
local_mark_first: z.ZodOptional<z.ZodBoolean>;
}, "strict", z.ZodTypeAny, {
name_or_address?: string | undefined;
local_mark_first?: boolean | undefined;
}, {
name_or_address?: string | undefined;
local_mark_first?: boolean | undefined;
}>, "many">;
check_all_founded: z.ZodOptional<z.ZodBoolean>;
}, "strict", z.ZodTypeAny, {
entities: {
name_or_address?: string | undefined;
local_mark_first?: boolean | undefined;
}[];
check_all_founded?: boolean | undefined;
}, {
entities: {
name_or_address?: string | undefined;
local_mark_first?: boolean | undefined;
}[];
check_all_founded?: boolean | undefined;
}>;
}, "strict", z.ZodTypeAny, {
op: "set perm by index";
entity: {
entities: {
name_or_address?: string | undefined;
local_mark_first?: boolean | undefined;
}[];
check_all_founded?: boolean | undefined;
};
index: number;
}, {
op: "set perm by index";
entity: {
entities: {
name_or_address?: string | undefined;
local_mark_first?: boolean | undefined;
}[];
check_all_founded?: boolean | undefined;
};
index: number;
}>, z.ZodObject<{
op: z.ZodLiteral<"remove perm by index">;
index: z.ZodEffects<z.ZodNumber, number, number>;
entity: z.ZodObject<{
entities: z.ZodArray<z.ZodObject<{
name_or_address: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
local_mark_first: z.ZodOptional<z.ZodBoolean>;
}, "strict", z.ZodTypeAny, {
name_or_address?: string | undefined;
local_mark_first?: boolean | undefined;
}, {
name_or_address?: string | undefined;
local_mark_first?: boolean | undefined;
}>, "many">;
check_all_founded: z.ZodOptional<z.ZodBoolean>;
}, "strict", z.ZodTypeAny, {
entities: {
name_or_address?: string | undefined;
local_mark_first?: boolean | undefined;
}[];
check_all_founded?: boolean | undefined;
}, {
entities: {
name_or_address?: string | undefined;
local_mark_first?: boolean | undefined;
}[];
check_all_founded?: boolean | undefined;
}>;
}, "strict", z.ZodTypeAny, {
op: "remove perm by index";
entity: {
entities: {
name_or_address?: string | undefined;
local_mark_first?: boolean | undefined;
}[];
check_all_founded?: boolean | undefined;
};
index: number;
}, {
op: "remove perm by index";
entity: {
entities: {
name_or_address?: string | undefined;
local_mark_first?: boolean | undefined;
}[];
check_all_founded?: boolean | undefined;
};
index: number;
}>, z.ZodObject<{
op: z.ZodLiteral<"add perm by entity">;
entity: z.ZodObject<{
name_or_address: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
local_mark_first: z.ZodOptional<z.ZodBoolean>;
}, "strict", z.ZodTypeAny, {
name_or_address?: string | undefined;
local_mark_first?: boolean | undefined;
}, {
name_or_address?: string | undefined;
local_mark_first?: boolean | undefined;
}>;
index: z.ZodArray<z.ZodEffects<z.ZodNumber, number, number>, "many">;
}, "strict", z.ZodTypeAny, {
op: "add perm by entity";
entity: {
name_or_address?: string | undefined;
local_mark_first?: boolean | undefined;
};
index: number[];
}, {
op: "add perm by entity";
entity: {
name_or_address?: string | undefined;
local_mark_first?: boolean | undefined;
};
index: number[];
}>, z.ZodObject<{
op: z.ZodLiteral<"set perm by entity">;
entity: z.ZodObject<{
name_or_address: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
local_mark_first: z.ZodOptional<z.ZodBoolean>;
}, "strict", z.ZodTypeAny, {
name_or_address?: string | undefined;
local_mark_first?: boolean | undefined;
}, {
name_or_address?: string | undefined;
local_mark_first?: boolean | undefined;
}>;
index: z.ZodArray<z.ZodEffects<z.ZodNumber, number, number>, "many">;
}, "strict", z.ZodTypeAny, {
op: "set perm by entity";
entity: {
name_or_address?: string | undefined;
local_mark_first?: boolean | undefined;
};
index: number[];
}, {
op: "set perm by entity";
entity: {
name_or_address?: string | undefined;
local_mark_first?: boolean | undefined;
};
index: number[];
}>, z.ZodObject<{
op: z.ZodLiteral<"remove perm by entity">;
entity: z.ZodObject<{
name_or_address: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
local_mark_first: z.ZodOptional<z.ZodBoolean>;
}, "strict", z.ZodTypeAny, {
name_or_address?: string | undefined;
local_mark_first?: boolean | undefined;
}, {
name_or_address?: string | undefined;
local_mark_first?: boolean | undefined;
}>;
index: z.ZodArray<z.ZodEffects<z.ZodNumber, number, number>, "many">;
}, "strict", z.ZodTypeAny, {
op: "remove perm by entity";
entity: {
name_or_address?: string | undefined;
local_mark_first?: boolean | undefined;
};
index: number[];
}, {
op: "remove perm by entity";
entity: {
name_or_address?: string | undefined;
local_mark_first?: boolean | undefined;
};
index: number[];
}>]>>;
entity: z.ZodOptional<z.ZodDiscriminatedUnion<"op", [z.ZodObject<{
op: z.ZodLiteral<"swap">;
entity1: z.ZodObject<{
name_or_address: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
local_mark_first: z.ZodOptional<z.ZodBoolean>;
}, "strict", z.ZodTypeAny, {
name_or_address?: string | undefined;
local_mark_first?: boolean | undefined;
}, {
name_or_address?: string | undefined;
local_mark_first?: boolean | undefined;
}>;
entity2: z.ZodObject<{
name_or_address: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
local_mark_first: z.ZodOptional<z.ZodBoolean>;
}, "strict", z.ZodTypeAny, {
name_or_address?: string | undefined;
local_mark_first?: boolean | undefined;
}, {
name_or_address?: string | undefined;
local_mark_first?: boolean | undefined;
}>;
}, "strict", z.ZodTypeAny, {
op: "swap";
entity1: {
name_or_address?: string | undefined;
local_mark_first?: boolean | undefined;
};
entity2: {
name_or_address?: string | undefined;
local_mark_first?: boolean | undefined;
};
}, {
op: "swap";
entity1: {
name_or_address?: string | undefined;
local_mark_first?: boolean | undefined;
};
entity2: {
name_or_address?: string | undefined;
local_mark_first?: boolean | undefined;
};
}>, z.ZodObject<{
op: z.ZodLiteral<"replace">;
entity1: z.ZodObject<{
name_or_address: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
local_mark_first: z.ZodOptional<z.ZodBoolean>;
}, "strict", z.ZodTypeAny, {
name_or_address?: string | undefined;
local_mark_first?: boolean | undefined;
}, {
name_or_address?: string | undefined;
local_mark_first?: boolean | undefined;
}>;
entity2: z.ZodObject<{
name_or_address: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
local_mark_first: z.ZodOptional<z.ZodBoolean>;
}, "strict", z.ZodTypeAny, {
name_or_address?: string | undefined;
local_mark_first?: boolean | undefined;
}, {
name_or_address?: string | undefined;
local_mark_first?: boolean | undefined;
}>;
}, "strict", z.ZodTypeAny, {
op: "replace";
entity1: {
name_or_address?: string | undefined;
local_mark_first?: boolean | undefined;
};
entity2: {
name_or_address?: string | undefined;
local_mark_first?: boolean | undefined;
};
}, {
op: "replace";
entity1: {
name_or_address?: string | undefined;
local_mark_first?: boolean | undefined;
};
entity2: {
name_or_address?: string | undefined;
local_mark_first?: boolean | undefined;
};
}>, z.ZodObject<{
op: z.ZodLiteral<"copy">;
entity1: z.ZodObject<{
name_or_address: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
local_mark_first: z.ZodOptional<z.ZodBoolean>;
}, "strict", z.ZodTypeAny, {
name_or_address?: string | undefined;
local_mark_first?: boolean | undefined;
}, {
name_or_address?: string | undefined;
local_mark_first?: boolean | undefined;
}>;
entity2: z.ZodObject<{
name_or_address: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
local_mark_first: z.ZodOptional<z.ZodBoolean>;
}, "strict", z.ZodTypeAny, {
name_or_address?: string | undefined;
local_mark_first?: boolean | undefined;
}, {
name_or_address?: string | undefined;
local_mark_first?: boolean | undefined;
}>;
}, "strict", z.ZodTypeAny, {
op: "copy";
entity1: {
name_or_address?: string | undefined;
local_mark_first?: boolean | undefined;
};
entity2: {
name_or_address?: string | undefined;
local_mark_first?: boolean | undefined;
};
}, {
op: "copy";
entity1: {
name_or_address?: string | undefined;
local_mark_first?: boolean | undefined;
};
entity2: {
name_or_address?: string | undefined;
local_mark_first?: boolean | undefined;
};
}>, z.ZodObject<{
op: z.ZodLiteral<"del">;
entity: z.ZodObject<{
name_or_address: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
local_mark_first: z.ZodOptional<z.ZodBoolean>;
}, "strict", z.ZodTypeAny, {
name_or_address?: string | undefined;
local_mark_first?: boolean | undefined;
}, {
name_or_address?: string | undefined;
local_mark_first?: boolean | undefined;
}>;
}, "strict", z.ZodTypeAny, {
op: "del";
entity: {
name_or_address?: string | undefined;
local_mark_first?: boolean | undefined;
};
}, {
op: "del";
entity: {
name_or_address?: string | undefined;
local_mark_first?: boolean | undefined;
};
}>]>>;
admin: z.ZodOptional<z.ZodObject<{
op: z.ZodEnum<["add", "remove", "set"]>;
addresses: z.ZodObject<{
entities: z.ZodArray<z.ZodObject<{
name_or_address: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
local_mark_first: z.ZodOptional<z.ZodBoolean>;
}, "strict", z.ZodTypeAny, {
name_or_address?: string | undefined;
local_mark_first?: boolean | undefined;
}, {
name_or_address?: string | undefined;
local_mark_first?: boolean | undefined;
}>, "many">;
check_all_founded: z.ZodOptional<z.ZodBoolean>;
}, "strict", z.ZodTypeAny, {
entities: {
name_or_address?: string | undefined;
local_mark_first?: boolean | undefined;
}[];
check_all_founded?: boolean | undefined;
}, {
entities: {
name_or_address?: string | undefined;
local_mark_first?: boolean | undefined;
}[];
check_all_founded?: boolean | undefined;
}>;
}, "strict", z.ZodTypeAny, {
op: "set" | "add" | "remove";
addresses: {
entities: {
name_or_address?: string | undefined;
local_mark_first?: boolean | undefined;
}[];
check_all_founded?: boolean | undefined;
};
}, {
op: "set" | "add" | "remove";
addresses: {
entities: {
name_or_address?: string | undefined;
local_mark_first?: boolean | undefined;
}[];
check_all_founded?: boolean | undefined;
};
}>>;
apply: z.ZodOptional<z.ZodArray<z.ZodEffects<z.ZodString, string, string>, "many">>;
builder: z.ZodOptional<z.ZodObject<{
name_or_address: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
local_mark_first: z.ZodOptional<z.ZodBoolean>;
}, "strict", z.ZodTypeAny, {
name_or_address?: string | undefined;
local_mark_first?: boolean | undefined;
}, {
name_or_address?: string | undefined;
local_mark_first?: boolean | undefined;
}>>;
owner_receive: z.ZodOptional<z.ZodUnion<[z.ZodArray<z.ZodObject<{
id: z.ZodString;
type: z.ZodString;
content_raw: z.ZodOptional<z.ZodAny>;
}, "strict", z.ZodTypeAny, {
type: string;
id: string;
content_raw?: any;
}, {
type: string;
id: string;
content_raw?: any;
}>, "many">, z.ZodObject<{
balance: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
token_type: z.ZodEffects<z.ZodString, string, string>;
received: z.ZodArray<z.ZodObject<{
id: z.ZodString;
balance: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
payment: z.ZodString;
}, "strict", z.ZodTypeAny, {
id: string;
balance: string | number;
payment: string;
}, {
id: string;
balance: string | number;
payment: string;
}>, "many">;
}, "strict", z.ZodTypeAny, {
received: {
id: string;
balance: string | number;
payment: string;
}[];
balance: string | number;
token_type: string;
}, {
received: {
id: string;
balance: string | number;
payment: string;
}[];
balance: string | number;
token_type: string;
}>, z.ZodLiteral<"recently">]>>;
um: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, string, string>, z.ZodNull]>>;
}, "strict", z.ZodTypeAny, {
object?: string | {
name?: string | undefined;
replaceExistName?: boolean | undefined;
tags?: string[] | undefined;
onChain?: boolean | undefined;
} | undefined;
description?: string | undefined;
owner_receive?: {
received: {
id: string;
balance: string | number;
payment: string;
}[];
balance: string | number;
token_type: string;
} | "recently" | {
type: string;
id: string;
content_raw?: any;
}[] | undefined;
entity?: {
op: "swap";
entity1: {
name_or_address?: string | undefined;
local_mark_first?: boolean | undefined;
};
entity2: {
name_or_address?: string | undefined;
local_mark_first?: boolean | undefined;
};
} | {
op: "replace";
entity1: {
name_or_address?: string | undefined;
local_mark_first?: boolean | undefined;
};
entity2: {
name_or_address?: string | undefined;
local_mark_first?: boolean | undefined;
};
} | {
op: "copy";
entity1: {
name_or_address?: string | undefined;
local_mark_first?: boolean | undefined;
};
entity2: {
name_or_address?: string | undefined;
local_mark_first?: boolean | undefined;
};
} | {
op: "del";
entity: {
name_or_address?: string | undefined;
local_mark_first?: boolean | undefined;
};
} | undefined;
um?: string | null | undefined;
builder?: {
name_or_address?: string | undefined;
local_mark_first?: boolean | undefined;
} | undefined;
admin?: {
op: "set" | "add" | "remove";
addresses: {
entities: {
name_or_address?: string | undefined;
local_mark_first?: boolean | undefined;
}[];
check_all_founded?: boolean | un