Variable PaymentIntegrationsUpdateSchemaConst
PaymentIntegrationsUpdateSchema: ZodObject<
{
clover: ZodOptional<
ZodObject<
{
access_token: ZodOptional<ZodString>;
merchantId: ZodOptional<ZodString>;
refresh_token: ZodOptional<ZodString>;
access_token_expiration: ZodOptional<ZodNumber>;
refresh_token_expiration: ZodOptional<ZodNumber>;
enabled: ZodOptional<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<ZodOptional<ZodString>>;
account_id: ZodOptional<ZodString>;
accountType: ZodOptional<ZodOptional<ZodString>>;
enabled: ZodOptional<ZodDefault<ZodBoolean>>;
readers: ZodOptional<
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 }[];
};
},
> = ...