wowok_agent
Version:
Making It Easy for AI Agents to Communicate, Collaborate, Trade, and Trust.
405 lines (404 loc) • 13.5 kB
TypeScript
import { z } from "zod";
export declare const RevenueSchema: z.ZodObject<{
recipient: 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;
}>;
amount: z.ZodUnion<[z.ZodObject<{
balance: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
}, "strip", z.ZodTypeAny, {
balance: string | number;
}, {
balance: string | number;
}>, z.ZodObject<{
coin: z.ZodString;
}, "strip", z.ZodTypeAny, {
coin: string;
}, {
coin: string;
}>]>;
}, "strict", z.ZodTypeAny, {
amount: {
balance: string | number;
} | {
coin: string;
};
recipient: {
name_or_address?: string | undefined;
local_mark_first?: boolean | undefined;
};
}, {
amount: {
balance: string | number;
} | {
coin: string;
};
recipient: {
name_or_address?: string | undefined;
local_mark_first?: boolean | undefined;
};
}>;
export declare const CallPayment_DataSchema: z.ZodObject<{
object: 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>;
} & {
type_parameter: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
}, "strict", z.ZodTypeAny, {
type_parameter: string;
name?: string | undefined;
replaceExistName?: boolean | undefined;
tags?: string[] | undefined;
onChain?: boolean | undefined;
}, {
name?: string | undefined;
replaceExistName?: boolean | undefined;
tags?: string[] | undefined;
onChain?: boolean | undefined;
type_parameter?: string | undefined;
}>;
revenue: z.ZodArray<z.ZodObject<{
recipient: 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;
}>;
amount: z.ZodUnion<[z.ZodObject<{
balance: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
}, "strip", z.ZodTypeAny, {
balance: string | number;
}, {
balance: string | number;
}>, z.ZodObject<{
coin: z.ZodString;
}, "strip", z.ZodTypeAny, {
coin: string;
}, {
coin: string;
}>]>;
}, "strict", z.ZodTypeAny, {
amount: {
balance: string | number;
} | {
coin: string;
};
recipient: {
name_or_address?: string | undefined;
local_mark_first?: boolean | undefined;
};
}, {
amount: {
balance: string | number;
} | {
coin: string;
};
recipient: {
name_or_address?: string | undefined;
local_mark_first?: boolean | undefined;
};
}>, "many">;
info: z.ZodObject<{
for_object: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNull]>>;
for_guard: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNull]>>;
remark: z.ZodString;
index: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
}, "strip", z.ZodTypeAny, {
index: string | number;
remark: string;
for_object?: string | null | undefined;
for_guard?: string | null | undefined;
}, {
index: string | number;
remark: string;
for_object?: string | null | undefined;
for_guard?: string | null | undefined;
}>;
}, "strict", z.ZodTypeAny, {
object: {
type_parameter: string;
name?: string | undefined;
replaceExistName?: boolean | undefined;
tags?: string[] | undefined;
onChain?: boolean | undefined;
};
info: {
index: string | number;
remark: string;
for_object?: string | null | undefined;
for_guard?: string | null | undefined;
};
revenue: {
amount: {
balance: string | number;
} | {
coin: string;
};
recipient: {
name_or_address?: string | undefined;
local_mark_first?: boolean | undefined;
};
}[];
}, {
object: {
name?: string | undefined;
replaceExistName?: boolean | undefined;
tags?: string[] | undefined;
onChain?: boolean | undefined;
type_parameter?: string | undefined;
};
info: {
index: string | number;
remark: string;
for_object?: string | null | undefined;
for_guard?: string | null | undefined;
};
revenue: {
amount: {
balance: string | number;
} | {
coin: string;
};
recipient: {
name_or_address?: string | undefined;
local_mark_first?: boolean | undefined;
};
}[];
}>;
export declare const CallPayment_InputSchema: z.ZodObject<{
data: z.ZodObject<{
object: 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>;
} & {
type_parameter: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
}, "strict", z.ZodTypeAny, {
type_parameter: string;
name?: string | undefined;
replaceExistName?: boolean | undefined;
tags?: string[] | undefined;
onChain?: boolean | undefined;
}, {
name?: string | undefined;
replaceExistName?: boolean | undefined;
tags?: string[] | undefined;
onChain?: boolean | undefined;
type_parameter?: string | undefined;
}>;
revenue: z.ZodArray<z.ZodObject<{
recipient: 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;
}>;
amount: z.ZodUnion<[z.ZodObject<{
balance: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
}, "strip", z.ZodTypeAny, {
balance: string | number;
}, {
balance: string | number;
}>, z.ZodObject<{
coin: z.ZodString;
}, "strip", z.ZodTypeAny, {
coin: string;
}, {
coin: string;
}>]>;
}, "strict", z.ZodTypeAny, {
amount: {
balance: string | number;
} | {
coin: string;
};
recipient: {
name_or_address?: string | undefined;
local_mark_first?: boolean | undefined;
};
}, {
amount: {
balance: string | number;
} | {
coin: string;
};
recipient: {
name_or_address?: string | undefined;
local_mark_first?: boolean | undefined;
};
}>, "many">;
info: z.ZodObject<{
for_object: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNull]>>;
for_guard: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNull]>>;
remark: z.ZodString;
index: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
}, "strip", z.ZodTypeAny, {
index: string | number;
remark: string;
for_object?: string | null | undefined;
for_guard?: string | null | undefined;
}, {
index: string | number;
remark: string;
for_object?: string | null | undefined;
for_guard?: string | null | undefined;
}>;
}, "strict", z.ZodTypeAny, {
object: {
type_parameter: string;
name?: string | undefined;
replaceExistName?: boolean | undefined;
tags?: string[] | undefined;
onChain?: boolean | undefined;
};
info: {
index: string | number;
remark: string;
for_object?: string | null | undefined;
for_guard?: string | null | undefined;
};
revenue: {
amount: {
balance: string | number;
} | {
coin: string;
};
recipient: {
name_or_address?: string | undefined;
local_mark_first?: boolean | undefined;
};
}[];
}, {
object: {
name?: string | undefined;
replaceExistName?: boolean | undefined;
tags?: string[] | undefined;
onChain?: boolean | undefined;
type_parameter?: string | undefined;
};
info: {
index: string | number;
remark: string;
for_object?: string | null | undefined;
for_guard?: string | null | undefined;
};
revenue: {
amount: {
balance: string | number;
} | {
coin: string;
};
recipient: {
name_or_address?: string | undefined;
local_mark_first?: boolean | undefined;
};
}[];
}>;
env: z.ZodOptional<z.ZodObject<{
account: z.ZodDefault<z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>>;
permission_guard: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
no_cache: z.ZodOptional<z.ZodBoolean>;
network: z.ZodOptional<z.ZodEnum<[import("wowok").ENTRYPOINT.Localnet, import("wowok").ENTRYPOINT.Testnet]>>;
referrer: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
}, "strict", z.ZodTypeAny, {
account: string;
no_cache?: boolean | undefined;
network?: import("wowok").ENTRYPOINT | undefined;
permission_guard?: string[] | undefined;
referrer?: string | undefined;
}, {
no_cache?: boolean | undefined;
network?: import("wowok").ENTRYPOINT | undefined;
account?: string | undefined;
permission_guard?: string[] | undefined;
referrer?: string | undefined;
}>>;
}, "strict", z.ZodTypeAny, {
data: {
object: {
type_parameter: string;
name?: string | undefined;
replaceExistName?: boolean | undefined;
tags?: string[] | undefined;
onChain?: boolean | undefined;
};
info: {
index: string | number;
remark: string;
for_object?: string | null | undefined;
for_guard?: string | null | undefined;
};
revenue: {
amount: {
balance: string | number;
} | {
coin: string;
};
recipient: {
name_or_address?: string | undefined;
local_mark_first?: boolean | undefined;
};
}[];
};
env?: {
account: string;
no_cache?: boolean | undefined;
network?: import("wowok").ENTRYPOINT | undefined;
permission_guard?: string[] | undefined;
referrer?: string | undefined;
} | undefined;
}, {
data: {
object: {
name?: string | undefined;
replaceExistName?: boolean | undefined;
tags?: string[] | undefined;
onChain?: boolean | undefined;
type_parameter?: string | undefined;
};
info: {
index: string | number;
remark: string;
for_object?: string | null | undefined;
for_guard?: string | null | undefined;
};
revenue: {
amount: {
balance: string | number;
} | {
coin: string;
};
recipient: {
name_or_address?: string | undefined;
local_mark_first?: boolean | undefined;
};
}[];
};
env?: {
no_cache?: boolean | undefined;
network?: import("wowok").ENTRYPOINT | undefined;
account?: string | undefined;
permission_guard?: string[] | undefined;
referrer?: string | undefined;
} | undefined;
}>;
export type Revenue = z.infer<typeof RevenueSchema>;
export type CallPayment_Data = z.infer<typeof CallPayment_DataSchema>;
export type CallPayment_Input = z.infer<typeof CallPayment_InputSchema>;