Variable PaymentIntegrationsSchemaConst
PaymentIntegrationsSchema: ZodObject<
{
clover: ZodOptional<
ZodObject<
{
access_token: ZodString;
merchantId: ZodString;
refresh_token: ZodString;
access_token_expiration: ZodNumber;
refresh_token_expiration: ZodNumber;
enabled: ZodDefault<ZodBoolean>;
},
"strip",
ZodTypeAny,
{
access_token: string;
merchantId: string;
refresh_token: string;
access_token_expiration: number;
refresh_token_expiration: number;
enabled: boolean;
},
{
access_token: string;
merchantId: string;
refresh_token: string;
access_token_expiration: number;
refresh_token_expiration: number;
enabled?: boolean;
},
>,
>;
stripe: ZodOptional<
ZodObject<
{
taxRateId: ZodOptional<ZodString>;
account_id: ZodString;
accountType: ZodOptional<ZodString>;
enabled: ZodDefault<ZodBoolean>;
readers: ZodOptional<
ZodArray<
ZodObject<
{ id: ZodString; location: ZodString },
"strip",
ZodTypeAny,
{ id: string; location: string },
{ id: string; location: string },
>,
"many",
>,
>;
},
"strip",
ZodTypeAny,
{
taxRateId?: string;
account_id: string;
accountType?: string;
enabled: boolean;
readers?: { id: string; location: string }[];
},
{
taxRateId?: string;
account_id: string;
accountType?: string;
enabled?: boolean;
readers?: { id: string; location: string }[];
},
>,
>;
},
"strip",
ZodTypeAny,
{
clover?: {
access_token: string;
merchantId: string;
refresh_token: string;
access_token_expiration: number;
refresh_token_expiration: number;
enabled: boolean;
};
stripe?: {
taxRateId?: string;
account_id: string;
accountType?: string;
enabled: boolean;
readers?: { id: string; location: string }[];
};
},
{
clover?: {
access_token: string;
merchantId: string;
refresh_token: string;
access_token_expiration: number;
refresh_token_expiration: number;
enabled?: boolean;
};
stripe?: {
taxRateId?: string;
account_id: string;
accountType?: string;
enabled?: boolean;
readers?: { id: string; location: string }[];
};
},
> = ...