/*!
 * Built by ShiftSoftware
 * Copyright (c)
 */
import { object } from "yup";
import yupTypeMapper from "../../../global/lib/yup-type-mapper";
export const claimFormSchema = yupTypeMapper([
    'uploadSingleDocument',
    'uploadMultipleDocument',
    'serviceType',
    'name',
    'print',
    'expand',
    'documentLimitError',
    'documentRequiredError',
    'activationDate',
    'expireDate',
    'packageCode',
    'scanTheVoucher',
    'qrCode',
    'processing',
    'enterServiceInfo',
    'invoice',
    'jobNumber',
    'claim',
]);
const claimableItemsSchema = object({
    claimForm: claimFormSchema,
}).concat(yupTypeMapper([
    'serviceType',
    'activationDate',
    'expireDate',
    'claimAt',
    'claimingCompany',
    'invoiceNumber',
    'jobNumber',
    'packageCode',
    'claim',
    'processed',
    'expired',
    'cancelled',
    'pending',
    'warning',
    'activateNow',
    'print',
    'successFulClaimMessage',
    'activationRequired',
    'warrantyAndServicesNotActivated',
    'viewTrace',
    'traceTitle',
    'traceLoading',
    'traceFailed',
]));
export default claimableItemsSchema;
