<?php

return [
    'default_tier' => 'bronze',

    'points' => [
        'per_currency_unit' => 1000,
        'birthday_bonus' => 500,
        'referral_bonus' => 1000,
        'review_bonus' => 200,
        'point_expiry_days' => 365,
    ],



    'controller_publish_path' => app_path('Http/Controllers/Loyalty'),
    'view_publish_path' => resource_path('views/vendor/loyalty'),


    'routes' => [
        'admin' => [
            'prefix' => 'admin/loyalty',
            'middleware' => ['web', 'auth', 'module:loyalty-system'],
            'name' => 'admin.loyalty.',
        ],
        'client' => [
            'prefix' => 'loyalty',
            'middleware' => ['web', 'auth', 'module:loyalty-system'],
            'name' => 'loyalty.',
        ],
        'api' => [
            'prefix' => 'api/loyalty',
            'middleware' => ['api'],
            'name' => 'api.loyalty.',
        ],
    ],
];
