• Safely parses an object against its schema and returns the result of the zod.safeParse method

    Parameters

    • object: any

    Returns SafeParseReturnType<
        any,
        {
            articles: {
                article_billReference: string;
                article_category_id?: number;
                article_code?: string;
                article_comment?: string;
                article_eanCode?: string;
                article_gross_sellingPrice?: string;
                article_id?: string;
                article_minStock: string;
                article_name: string;
                article_negativeStock?: boolean;
                article_net_purchacePrice?: string;
                article_net_sellingPrice?: string;
                article_stock?: string;
                article_stockStatus?: number;
                article_taxRate?: string;
                article_unit?: string;
            }[];
        },
    >