<?php

namespace App\Services\Meta;

/** Everything the audit log needs to know about a call before it is made. */
readonly class CallContext
{
    public function __construct(
        public string $transport,          // graph | mcp
        public string $method,
        public string $endpoint,
        public ?string $adAccountId = null,
        public array $request = [],
        public bool $mutating = false,
        public bool $dryRun = false,
        /** Deletion skips the allow list: whatever we created, we must be able to remove. */
        public bool $guarded = true,
    ) {}
}
