first commit

This commit is contained in:
2026-02-15 01:34:17 +07:00
commit baac22e3ae
95 changed files with 13238 additions and 0 deletions

View File

@@ -0,0 +1,23 @@
<?php
declare(strict_types=1);
namespace App\Enums;
enum WbEndpoint: string
{
case STOCKS = '/api/stocks';
case SALES = '/api/sales';
case ORDERS = '/api/orders';
case INCOMES = '/api/incomes';
public function url(): string
{
return config('wb-sync.url') . $this->value;
}
public function key(): string
{
return config('wb-sync.key');
}
}