<?php

use Daylight\Core\Models\Address;
use Daylight\Core\Models\Attribute;
use Daylight\Core\Models\AttributeValue;
use Daylight\Core\Models\Brand;
use Daylight\Core\Models\Category;
use Daylight\Core\Models\Country;
use Daylight\Core\Models\Customer;
use Daylight\Core\Models\CustomerGroup;
use Daylight\Core\Models\Label;
use Daylight\Core\Models\Option;
use Daylight\Core\Models\OptionValue;
use Daylight\Core\Models\Order;
use Daylight\Core\Models\OrderAddress;
use Daylight\Core\Models\OrderItem;
use Daylight\Core\Models\OrderUpdate;
use Daylight\Core\Models\Page;
use Daylight\Core\Models\Price;
use Daylight\Core\Models\Product;
use Daylight\Core\Models\ProductAssociation;
use Daylight\Core\Models\Shipping\ShippingClass;
use Daylight\Core\Models\Shipping\ShippingZone;
use Daylight\Core\Models\Shipping\ShippingZoneRule;
use Daylight\Core\Models\TaxClass;
use Daylight\Core\Models\TaxRate;
use Daylight\Core\Models\Translations\AttributeTranslation;
use Daylight\Core\Models\Translations\AttributeValueTranslation;
use Daylight\Core\Models\Translations\BrandTranslation;
use Daylight\Core\Models\Translations\CategoryTranslation;
use Daylight\Core\Models\Translations\LabelTranslation;
use Daylight\Core\Models\Translations\OptionTranslation;
use Daylight\Core\Models\Translations\OptionValueTranslation;
use Daylight\Core\Models\Translations\PageTranslation;
use Daylight\Core\Models\Translations\ProductTranslation;
use Daylight\Core\Models\Variant;

return [

    'models' => [
        'address' => Address::class,
        'attribute' => Attribute::class,
        'attribute_value' => AttributeValue::class,
        'brand' => Brand::class,
        'category' => Category::class,
        'country' => Country::class,
        'customer' => Customer::class,
        'customer_group' => CustomerGroup::class,
        'label' => Label::class,
        'option' => Option::class,
        'option_value' => OptionValue::class,
        'order' => Order::class,
        'order_address' => OrderAddress::class,
        'order_item' => OrderItem::class,
        'order_update' => OrderUpdate::class,
        'page' => Page::class,
        'price' => Price::class,
        'product' => Product::class,
        'product_association' => ProductAssociation::class,
        'tax_class' => TaxClass::class,
        'tax_rate' => TaxRate::class,
        'variant' => Variant::class,
        'shipping_class' => ShippingClass::class,
        'shipping_zone' => ShippingZone::class,
        'shipping_zone_rule' => ShippingZoneRule::class,
        'attribute_translation' => AttributeTranslation::class,
        'attribute_value_translation' => AttributeValueTranslation::class,
        'brand_translation' => BrandTranslation::class,
        'category_translation' => CategoryTranslation::class,
        'label_translation' => LabelTranslation::class,
        'option_translation' => OptionTranslation::class,
        'option_value_translation' => OptionValueTranslation::class,
        'page_translation' => PageTranslation::class,
        'product_translation' => ProductTranslation::class,
    ],

    'orders' => [
        // Sequential offset added to the store-order count for the year.
        // Yields 10-digit numbers: {4-digit year}{6-digit padded sequence}.
        // Example: 2026001546 = year 2026, offset 1545, 1st order of the year.
        'number_offset' => 1545,
    ],

    'translations' => [
        // Translation groups to expose to the admin UI i18n API
        // Files live under package: resources/lang/{locale}/{group}.php
        'groups' => [
            'general',
            'store',
            'content',
            'settings',
            'media',
        ],
    ],

];
