Docs

PermissionSnapshotSchema

let PermissionSnapshotSchema: ZodArray<ZodObject<{ makeAdmin: ZodBoolean; permissions: ZodObject<{ approvedCallTargets: ZodUnion<[ZodArray<ZodUnion<[ZodType<..., ..., ...>, ZodType<..., ..., ...>]>, "many">, ZodLiteral<"*">]>; expirationDate: ZodDefault<ZodUnion<[ZodEffects<ZodDate, BigNumber, Date>, ZodEffects<ZodNumber, BigNumber, number>]>>; nativeTokenLimitPerTransaction: ZodDefault<ZodEffects<ZodUnion<[ZodString, ZodNumber]>, string, string | number>>; startDate: ZodDefault<ZodUnion<[ZodEffects<ZodDate, BigNumber, Date>, ZodEffects<ZodNumber, BigNumber, number>]>> }, "strip", ZodTypeAny, { approvedCallTargets: (Array<string>) | "*"; expirationDate: BigNumber; nativeTokenLimitPerTransaction: string; startDate: BigNumber }, { approvedCallTargets: (Array<string>) | "*"; expirationDate?: number | (Date); nativeTokenLimitPerTransaction?: string | number; startDate?: number | (Date) }>; signer: ZodUnion<[ZodType<string, ZodTypeDef, string>, ZodType<`0x${string}`, ZodTypeDef, (`${string}.eth`) | (`${string}.cb.id`)>]> }, "strip", ZodTypeAny, { makeAdmin: boolean; permissions: { approvedCallTargets: (Array<string>) | "*"; expirationDate: BigNumber; nativeTokenLimitPerTransaction: string; startDate: BigNumber }; signer: string }, { makeAdmin: boolean; permissions: { approvedCallTargets: (Array<string>) | "*"; expirationDate?: number | (Date); nativeTokenLimitPerTransaction?: string | number; startDate?: number | (Date) }; signer: string }>, "many">