import { z } from 'zod';
import { ZDcmSubmitBody } from '../data-capture/submit.js';
export const ZDigitalProductSubmissionResponse = z.object({
    fanSubmissionId: z.string().uuid(),
    paymentRequired: z.boolean(),
    downloadToken: z.string().optional()
});
export const ZDigitalProductSubmitBody = ZDcmSubmitBody.extend({
    creatorEmail: z.string(),
    creatorName: z.string(),
    currency: z.string().optional(),
    price: z.number().default(0)
});
export const ZDigitalProductAccessBody = z.object({
    productId: z.string().uuid(),
    sessionId: z.string(),
    accountId: z.string(),
    localizationId: z.string().optional()
});
export const ZDigitalProductAccessResponse = z.object({
    payment: z.object({
        status: z.boolean()
    }),
    productAccessToken: z.string().optional()
});
