Files
hermes 9b13640571 Add first-party Etsy MCP server for shop listings, orders and messages
Expose php artisan etsy:mcp as JSON-RPC stdio next to laravel-boost, reuse the stored HickLab3D shop connection, create listings as drafts only, and skip Etsy v3 conversation send because that API does not exist.
2026-11-07 15:54:05 +00:00

22 lines
485 B
PHP

<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Model;
class EtsyConnection extends Model
{
protected $fillable = ['shop_id', 'shop_name', 'access_token', 'refresh_token', 'expires_at', 'scopes'];
protected $hidden = ['access_token', 'refresh_token'];
protected function casts(): array
{
return [
'access_token' => 'encrypted',
'refresh_token' => 'encrypted',
'expires_at' => 'datetime',
];
}
}