Docs

SignerPermissionsSchema

let SignerPermissionsSchema: ZodObject<
  {
    approvedCallTargets: ZodUnion<
      [
        ZodArray<
          ZodUnion<
            [
              ZodType<string, ZodTypeDef, string>,
              ZodType<
                `0x${string}`,
                ZodTypeDef,
                `${string}.eth` | `${string}.cb.id`
              >,
            ]
          >,
          "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: Object;
    expirationDate: BigNumber;
    nativeTokenLimitPerTransaction: string;
    startDate: BigNumber;
  },
  {
    approvedCallTargets: Object;
    expirationDate?: number | Date;
    nativeTokenLimitPerTransaction?: string | number;
    startDate?: number | Date;
  }
>;