import { z } from 'zod';
import { ZBaseAutomationItem, ZBaseAutomationLink } from './base.js';
export const ZTikTokAccount = z.object({
    id: z.string().uuid(),
    profileId: z.string(),
    tiktokOpenId: z.string(),
    accessToken: z.string(),
    refreshToken: z.string(),
    expiry: z.string().datetime(),
    username: z.string(),
    deletedAt: z.string().datetime().nullable()
});
export const ZTikTokAutomationLink = ZBaseAutomationLink.extend({
    tiktokItemId: z.string().uuid().optional().nullable()
});
export const ZTikTokAutomationItem = ZBaseAutomationItem.extend({
    numberOfVideos: z.number(),
    tiktokAccountId: z.string().uuid().nullable(),
    links: z.array(ZTikTokAutomationLink)
});
