-- https://www.phpmyadmin.net/
--

START TRANSACTION;



--
-- Database: `businesscode_saas`
--

-- --------------------------------------------------------

--
-- Table structure for table `ai_content_models`
--

CREATE TABLE `ai_content_models` (
  `id` bigint(20) UNSIGNED NOT NULL,
  `tenant_id` bigint(20) UNSIGNED NOT NULL,
  `name` varchar(255) NOT NULL,
  `channel` enum('sms','voice','email') NOT NULL,
  `content` text NOT NULL,
  `briefing` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL CHECK (json_valid(`briefing`)),
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `ai_content_models`
--

INSERT INTO `ai_content_models` (`id`, `tenant_id`, `name`, `channel`, `content`, `briefing`, `created_at`, `updated_at`) VALUES
(1, 2, 'SMS - 11/06/2026', 'sms', 'teste de envio', '[]', '2026-06-11 13:46:48', '2026-06-11 13:46:48');

-- --------------------------------------------------------

--
-- Table structure for table `ai_generations`
--

CREATE TABLE `ai_generations` (
  `id` bigint(20) UNSIGNED NOT NULL,
  `tenant_id` bigint(20) UNSIGNED NOT NULL,
  `generation_id` char(36) NOT NULL,
  `service` varchar(255) NOT NULL,
  `prompt_version` varchar(255) DEFAULT NULL,
  `input_payload` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NOT NULL CHECK (json_valid(`input_payload`)),
  `output` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL CHECK (json_valid(`output`)),
  `tokens_input` int(10) UNSIGNED NOT NULL DEFAULT 0,
  `tokens_output` int(10) UNSIGNED NOT NULL DEFAULT 0,
  `cost_usd` decimal(10,6) NOT NULL DEFAULT 0.000000,
  `model` varchar(255) NOT NULL DEFAULT 'grok-beta',
  `status` enum('pending','completed','failed') NOT NULL DEFAULT 'pending',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

-- --------------------------------------------------------

--
-- Table structure for table `ai_generation_sessions`
--

CREATE TABLE `ai_generation_sessions` (
  `id` bigint(20) UNSIGNED NOT NULL,
  `tenant_id` bigint(20) UNSIGNED NOT NULL,
  `campaign_id` bigint(20) UNSIGNED DEFAULT NULL,
  `channel` enum('sms','voice','email') NOT NULL,
  `status` enum('pending','completed','failed') NOT NULL DEFAULT 'pending',
  `briefing` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NOT NULL CHECK (json_valid(`briefing`)),
  `variations` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL CHECK (json_valid(`variations`)),
  `selected_variation_id` varchar(255) DEFAULT NULL,
  `expires_at` timestamp NULL DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

-- --------------------------------------------------------

--
-- Table structure for table `ai_personas`
--

CREATE TABLE `ai_personas` (
  `id` bigint(20) UNSIGNED NOT NULL,
  `tenant_id` bigint(20) UNSIGNED NOT NULL,
  `bot_name` varchar(50) NOT NULL,
  `tone` enum('formal','casual','friendly') NOT NULL DEFAULT 'friendly',
  `company_name` varchar(100) NOT NULL,
  `products_services` text NOT NULL,
  `business_rules` text NOT NULL,
  `special_instructions` text DEFAULT NULL,
  `working_hours` varchar(200) DEFAULT NULL,
  `status` enum('draft','pending_approval','approved','rejected') NOT NULL DEFAULT 'draft',
  `rejection_reason` text DEFAULT NULL,
  `approved_by` bigint(20) UNSIGNED DEFAULT NULL,
  `approved_at` timestamp NULL DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

-- --------------------------------------------------------

--
-- Table structure for table `ai_prompts`
--

CREATE TABLE `ai_prompts` (
  `id` bigint(20) UNSIGNED NOT NULL,
  `service` varchar(255) NOT NULL,
  `version` varchar(255) NOT NULL DEFAULT 'v1',
  `system_prompt` text NOT NULL,
  `user_template` text NOT NULL,
  `model` varchar(255) NOT NULL DEFAULT 'grok-beta',
  `is_active` tinyint(1) NOT NULL DEFAULT 0,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `ai_prompts`
--

INSERT INTO `ai_prompts` (`id`, `service`, `version`, `system_prompt`, `user_template`, `model`, `is_active`, `created_at`, `updated_at`) VALUES
(1, 'sms', 'v1', 'Você é especialista em SMS marketing brasileiro. REGRAS OBRIGATÓRIAS:\n1. SEMPRE escreva em PORTUGUÊS BRASILEIRO (pt-BR)\n2. Mensagens com no máximo 160 caracteres (incluindo link se fornecido)\n3. Se um link for fornecido, OBRIGATORIAMENTE inclua-o no final da mensagem e conte os caracteres do link no limite de 160\n4. Use linguagem direta, CTAs claros e urgência quando apropriado\n5. Evite abreviações excessivas\n6. NUNCA escreva em inglês', 'Produto/Serviço: {{product}}\nPúblico-alvo: {{audience}}\nPrincipal benefício: {{benefit}}\nChamada para ação: {{cta}}\nTom: {{tone}}\nLink (DEVE ser incluído na mensagem se presente): {{link}}\nPalavras a evitar: {{avoid}}\nLimite de caracteres: {{max_chars}}\nGere exatamente {{variations}} mensagens SMS diferentes em PORTUGUÊS BRASILEIRO.\nSe o link foi fornecido, cada mensagem DEVE conter o link e os caracteres do link contam no limite de 160.\nRetorne APENAS um JSON: { \"variations\": [{\"text\":\"...\"}] }', 'grok-3-mini', 1, '2026-06-09 15:59:53', '2026-06-09 15:59:53'),
(2, 'sms_analysis', 'v1', 'Você analisa mensagens SMS de marketing em português brasileiro. SEMPRE responda em PORTUGUÊS BRASILEIRO.', 'Analise esta mensagem SMS e retorne APENAS um JSON em português:\nMensagem: \"{{content}}\"\nRetorne: {\n  \"analysis\": { \"score\": 0-100, \"char_count\": N, \"strengths\": [\"em português\"], \"improvements\": [\"em português\"] },\n  \"improved_versions\": [{\"text\":\"versão melhorada em português\", \"change\":\"descrição da mudança em português\"}]\n}\nGere exatamente 3 versões melhoradas EM PORTUGUÊS BRASILEIRO.', 'grok-3-mini', 1, '2026-06-09 15:59:53', '2026-06-09 15:59:53'),
(3, 'whatsapp', 'v1', 'Você é especialista em mensagens WhatsApp Business brasileiro. REGRAS OBRIGATÓRIAS:\n1. SEMPRE escreva em PORTUGUÊS BRASILEIRO (pt-BR)\n2. Limite: 1024 caracteres (incluindo link se fornecido)\n3. Se um link for fornecido, OBRIGATORIAMENTE inclua-o na mensagem\n4. Crie mensagens conversacionais, amigáveis e persuasivas\n5. Use emojis com moderação\n6. Pode usar formatação WhatsApp (*negrito*, _itálico_, ~tachado~)\n7. NUNCA escreva em inglês', 'Produto/Serviço: {{product}}\nPúblico-alvo: {{audience}}\nPrincipal benefício: {{benefit}}\nChamada para ação: {{cta}}\nTom: {{tone}}\nLink (DEVE ser incluído na mensagem se presente): {{link}}\nPalavras a evitar: {{avoid}}\nGere exatamente {{variations}} mensagens WhatsApp diferentes em PORTUGUÊS BRASILEIRO.\nSe o link foi fornecido, cada mensagem DEVE conter o link.\nRetorne APENAS um JSON: { \"variations\": [{\"text\":\"...\"}] }', 'grok-3-mini', 1, '2026-06-09 15:59:53', '2026-06-09 15:59:53'),
(4, 'whatsapp_analysis', 'v1', 'Você analisa mensagens WhatsApp Business em português brasileiro. SEMPRE responda em PORTUGUÊS BRASILEIRO.', 'Analise esta mensagem WhatsApp e retorne APENAS um JSON em português:\nMensagem: \"{{content}}\"\nRetorne: {\n  \"analysis\": { \"score\": 0-100, \"strengths\": [\"em português\"], \"improvements\": [\"em português\"] },\n  \"improved_versions\": [{\"text\":\"versão em português\", \"change\":\"mudança em português\"}]\n}\nGere exatamente 3 versões melhoradas EM PORTUGUÊS BRASILEIRO.', 'grok-3-mini', 1, '2026-06-09 15:59:53', '2026-06-09 15:59:53'),
(5, 'voice', 'v1', 'Você é um especialista em marketing de voz e locuções comerciais brasileiro. REGRAS OBRIGATÓRIAS:\n1. SEMPRE escreva em PORTUGUÊS BRASILEIRO (pt-BR)\n2. Crie roteiros naturais, adequados para síntese de voz (TTS)\n3. Use frases curtas e pausas naturais (vírgulas para pausas curtas, pontos para pausas longas)\n4. Ideal: 75-150 palavras (30-60 segundos)\n5. NÃO inclua links (áudio não tem link clicável)\n6. Evite pontuação excessiva\n7. NUNCA escreva em inglês', 'Produto/Serviço: {{product}}\nPúblico-alvo: {{audience}}\nPrincipal benefício: {{benefit}}\nChamada para ação: {{cta}}\nTom: {{tone}}\nPalavras a evitar: {{avoid}}\nGere exatamente {{variations}} roteiros de voz diferentes em PORTUGUÊS BRASILEIRO.\nRetorne APENAS um JSON: { \"variations\": [{\"text\":\"...\"}] }', 'grok-3-mini', 1, '2026-06-09 15:59:53', '2026-06-09 15:59:53'),
(6, 'voice_script', 'v1', 'Você é um especialista em marketing de voz e locuções comerciais brasileiro. REGRAS OBRIGATÓRIAS:\n1. SEMPRE escreva em PORTUGUÊS BRASILEIRO (pt-BR)\n2. Crie roteiros naturais para síntese de voz (TTS)\n3. Frases curtas com pausas naturais\n4. Ideal: 75-150 palavras (30-60 segundos)\n5. NÃO inclua links\n6. NUNCA escreva em inglês', 'Produto/Serviço: {{product}}\nPúblico-alvo: {{audience}}\nPrincipal benefício: {{benefit}}\nChamada para ação: {{cta}}\nTom: {{tone}}\nPalavras a evitar: {{avoid}}\nGere exatamente {{variations}} roteiros de voz diferentes em PORTUGUÊS BRASILEIRO.\nRetorne APENAS um JSON: { \"variations\": [{\"text\":\"...\"}] }', 'grok-3-mini', 1, '2026-06-09 15:59:53', '2026-06-09 15:59:53'),
(7, 'voice_analysis', 'v1', 'Você analisa roteiros de torpedo de voz em português brasileiro. SEMPRE responda em PORTUGUÊS BRASILEIRO.', 'Analise este roteiro de voz e retorne APENAS um JSON em português:\nRoteiro: \"{{content}}\"\nRetorne: {\n  \"analysis\": { \"score\": 0-100, \"strengths\": [\"em português\"], \"improvements\": [\"em português\"] },\n  \"improved_versions\": [{\"text\":\"roteiro em português\", \"change\":\"mudança em português\"}]\n}\nGere exatamente 3 versões melhoradas EM PORTUGUÊS BRASILEIRO.', 'grok-3-mini', 1, '2026-06-09 15:59:53', '2026-06-09 15:59:53'),
(8, 'email', 'v1', 'Você é especialista em email marketing brasileiro. REGRAS OBRIGATÓRIAS:\n1. SEMPRE escreva em PORTUGUÊS BRASILEIRO (pt-BR)\n2. Crie emails com assunto atraente e corpo persuasivo\n3. Se um link for fornecido, OBRIGATORIAMENTE inclua-o no corpo do email como CTA\n4. Evite spam triggers (grátis, urgente, clique aqui)\n5. Use CTAs claros e diretos\n6. NUNCA escreva em inglês', 'Produto/Serviço: {{product}}\nPúblico-alvo: {{audience}}\nPrincipal benefício: {{benefit}}\nChamada para ação: {{cta}}\nTom: {{tone}}\nLink (DEVE ser incluído no email se presente): {{link}}\nPalavras a evitar: {{avoid}}\nGere exatamente {{variations}} versões diferentes em PORTUGUÊS BRASILEIRO.\nSe o link foi fornecido, cada email DEVE conter o link como botão ou CTA.\nRetorne APENAS um JSON: { \"variations\": [{\"subject\":\"...\",\"text\":\"...\"}] }', 'grok-3-mini', 1, '2026-06-09 15:59:53', '2026-06-09 15:59:53'),
(9, 'email_analysis', 'v1', 'Você analisa emails de marketing em português brasileiro. SEMPRE responda em PORTUGUÊS BRASILEIRO.', 'Analise este email e retorne APENAS um JSON em português:\nConteúdo: \"{{content}}\"\nRetorne: {\n  \"analysis\": { \"score\": 0-100, \"strengths\": [\"em português\"], \"improvements\": [\"em português\"], \"spam_risk\": \"low|medium|high\" },\n  \"improved_versions\": [{\"text\":\"versão em português\", \"change\":\"mudança em português\"}]\n}\nGere exatamente 3 versões melhoradas EM PORTUGUÊS BRASILEIRO.', 'grok-3-mini', 1, '2026-06-09 15:59:53', '2026-06-09 15:59:53');

-- --------------------------------------------------------

--
-- Table structure for table `audio_generations`
--

CREATE TABLE `audio_generations` (
  `id` bigint(20) UNSIGNED NOT NULL,
  `tenant_id` bigint(20) UNSIGNED NOT NULL,
  `campaign_id` bigint(20) UNSIGNED DEFAULT NULL,
  `voice_id` varchar(255) NOT NULL,
  `voice_name` varchar(255) NOT NULL,
  `script` text NOT NULL,
  `audio_path` varchar(255) DEFAULT NULL,
  `audio_url` text DEFAULT NULL,
  `duration_seconds` int(10) UNSIGNED DEFAULT NULL,
  `characters_used` int(10) UNSIGNED DEFAULT NULL,
  `cost_price` decimal(10,4) NOT NULL DEFAULT 0.0000,
  `sale_price` decimal(10,4) NOT NULL DEFAULT 0.0000,
  `credits_charged` int(10) UNSIGNED NOT NULL DEFAULT 0,
  `status` enum('pending','processing','completed','failed') NOT NULL DEFAULT 'pending',
  `error_message` text DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

-- --------------------------------------------------------

--
-- Table structure for table `audit_logs`
--

CREATE TABLE `audit_logs` (
  `id` bigint(20) UNSIGNED NOT NULL,
  `user_id` bigint(20) UNSIGNED DEFAULT NULL,
  `tenant_id` bigint(20) UNSIGNED DEFAULT NULL,
  `action` varchar(100) NOT NULL,
  `resource` varchar(100) DEFAULT NULL,
  `resource_id` bigint(20) UNSIGNED DEFAULT NULL,
  `ip_address` varchar(45) DEFAULT NULL,
  `user_agent` varchar(500) DEFAULT NULL,
  `metadata` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL CHECK (json_valid(`metadata`)),
  `created_at` timestamp NOT NULL DEFAULT current_timestamp()
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

-- --------------------------------------------------------

--
-- Table structure for table `balance_transactions`
--

CREATE TABLE `balance_transactions` (
  `id` bigint(20) UNSIGNED NOT NULL,
  `tenant_id` bigint(20) UNSIGNED DEFAULT NULL,
  `type` enum('debit','credit','reserve','release','recharge','monthly_charge','manual_adjustment') NOT NULL,
  `reference_type` varchar(255) NOT NULL,
  `reference_id` bigint(20) UNSIGNED NOT NULL,
  `executed_by_user_id` bigint(20) UNSIGNED DEFAULT NULL,
  `monthly_cycle_key` char(7) DEFAULT NULL,
  `description` varchar(255) DEFAULT NULL,
  `meta` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL CHECK (json_valid(`meta`)),
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `amount_cents` bigint(20) NOT NULL DEFAULT 0,
  `balance_after_cents` bigint(20) NOT NULL DEFAULT 0
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

-- --------------------------------------------------------

--
-- Table structure for table `cache`
--

CREATE TABLE `cache` (
  `key` varchar(255) NOT NULL,
  `value` mediumtext NOT NULL,
  `expiration` int(11) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `cache`
--

INSERT INTO `cache` (`key`, `value`, `expiration`) VALUES
('campaignai-cache-5c785c036466adea360111aa28563bfd556b5fba', 'i:10;', 1783005749),
('campaignai-cache-5c785c036466adea360111aa28563bfd556b5fba:timer', 'i:1783005749;', 1783005749),
('campaignai-cache-76000f26d79e8ac90cffdf8d9afe04f3', 'i:9;', 1782990063),
('campaignai-cache-76000f26d79e8ac90cffdf8d9afe04f3:timer', 'i:1782990062;', 1782990063),
('campaignai-cache-9e48189dca0094f53e54281100764dd9', 'i:1;', 1782992016),
('campaignai-cache-9e48189dca0094f53e54281100764dd9:timer', 'i:1782992016;', 1782992016),
('campaignai-cache-dashboard_stats_2', 'a:6:{s:4:\"kpis\";a:12:{s:15:\"total_campaigns\";i:1;s:16:\"active_campaigns\";i:0;s:8:\"sent_30d\";i:1;s:13:\"delivered_30d\";i:1;s:10:\"failed_30d\";i:0;s:17:\"delivery_rate_30d\";d:100;s:13:\"balance_cents\";i:-1;s:14:\"contacts_total\";i:0;s:14:\"contacts_valid\";i:0;s:15:\"contacts_active\";i:0;s:16:\"new_contacts_mtd\";i:0;s:18:\"active_automations\";i:0;}s:8:\"warnings\";a:0:{}s:10:\"daily_sent\";a:14:{i:0;a:3:{s:4:\"date\";s:10:\"2026-06-19\";s:5:\"label\";s:6:\"19/Jun\";s:5:\"total\";i:0;}i:1;a:3:{s:4:\"date\";s:10:\"2026-06-20\";s:5:\"label\";s:6:\"20/Jun\";s:5:\"total\";i:0;}i:2;a:3:{s:4:\"date\";s:10:\"2026-06-21\";s:5:\"label\";s:6:\"21/Jun\";s:5:\"total\";i:0;}i:3;a:3:{s:4:\"date\";s:10:\"2026-06-22\";s:5:\"label\";s:6:\"22/Jun\";s:5:\"total\";i:0;}i:4;a:3:{s:4:\"date\";s:10:\"2026-06-23\";s:5:\"label\";s:6:\"23/Jun\";s:5:\"total\";i:0;}i:5;a:3:{s:4:\"date\";s:10:\"2026-06-24\";s:5:\"label\";s:6:\"24/Jun\";s:5:\"total\";i:0;}i:6;a:3:{s:4:\"date\";s:10:\"2026-06-25\";s:5:\"label\";s:6:\"25/Jun\";s:5:\"total\";i:0;}i:7;a:3:{s:4:\"date\";s:10:\"2026-06-26\";s:5:\"label\";s:6:\"26/Jun\";s:5:\"total\";i:0;}i:8;a:3:{s:4:\"date\";s:10:\"2026-06-27\";s:5:\"label\";s:6:\"27/Jun\";s:5:\"total\";i:0;}i:9;a:3:{s:4:\"date\";s:10:\"2026-06-28\";s:5:\"label\";s:6:\"28/Jun\";s:5:\"total\";i:0;}i:10;a:3:{s:4:\"date\";s:10:\"2026-06-29\";s:5:\"label\";s:6:\"29/Jun\";s:5:\"total\";i:0;}i:11;a:3:{s:4:\"date\";s:10:\"2026-06-30\";s:5:\"label\";s:6:\"30/Jun\";s:5:\"total\";i:0;}i:12;a:3:{s:4:\"date\";s:10:\"2026-07-01\";s:5:\"label\";s:6:\"01/Jul\";s:5:\"total\";i:0;}i:13;a:3:{s:4:\"date\";s:10:\"2026-07-02\";s:5:\"label\";s:6:\"02/Jul\";s:5:\"total\";i:0;}}s:10:\"by_channel\";O:29:\"Illuminate\\Support\\Collection\":2:{s:8:\"\0*\0items\";a:1:{s:3:\"sms\";i:1;}s:28:\"\0*\0escapeWhenCastingToString\";b:0;}s:16:\"recent_campaigns\";O:39:\"Illuminate\\Database\\Eloquent\\Collection\":2:{s:8:\"\0*\0items\";a:1:{i:0;O:19:\"App\\Models\\Campaign\":33:{s:13:\"\0*\0connection\";s:5:\"mysql\";s:8:\"\0*\0table\";s:9:\"campaigns\";s:13:\"\0*\0primaryKey\";s:2:\"id\";s:10:\"\0*\0keyType\";s:3:\"int\";s:12:\"incrementing\";b:1;s:7:\"\0*\0with\";a:0:{}s:12:\"\0*\0withCount\";a:0:{}s:19:\"preventsLazyLoading\";b:0;s:10:\"\0*\0perPage\";i:15;s:6:\"exists\";b:1;s:18:\"wasRecentlyCreated\";b:0;s:28:\"\0*\0escapeWhenCastingToString\";b:0;s:13:\"\0*\0attributes\";a:8:{s:2:\"id\";i:1;s:4:\"name\";s:5:\"teste\";s:4:\"type\";s:3:\"sms\";s:6:\"status\";s:9:\"completed\";s:10:\"sent_count\";i:1;s:12:\"failed_count\";i:0;s:18:\"estimated_contacts\";i:1;s:10:\"created_at\";s:19:\"2026-06-11 10:45:31\";}s:11:\"\0*\0original\";a:8:{s:2:\"id\";i:1;s:4:\"name\";s:5:\"teste\";s:4:\"type\";s:3:\"sms\";s:6:\"status\";s:9:\"completed\";s:10:\"sent_count\";i:1;s:12:\"failed_count\";i:0;s:18:\"estimated_contacts\";i:1;s:10:\"created_at\";s:19:\"2026-06-11 10:45:31\";}s:10:\"\0*\0changes\";a:0:{}s:11:\"\0*\0previous\";a:0:{}s:8:\"\0*\0casts\";a:10:{s:15:\"strategy_locked\";s:7:\"boolean\";s:8:\"settings\";s:5:\"array\";s:12:\"scheduled_at\";s:8:\"datetime\";s:10:\"started_at\";s:8:\"datetime\";s:12:\"completed_at\";s:8:\"datetime\";s:10:\"sent_count\";s:7:\"integer\";s:12:\"failed_count\";s:7:\"integer\";s:18:\"estimated_contacts\";s:7:\"integer\";s:22:\"unit_cents_at_dispatch\";s:7:\"integer\";s:14:\"reserved_cents\";s:7:\"integer\";}s:17:\"\0*\0classCastCache\";a:0:{}s:21:\"\0*\0attributeCastCache\";a:0:{}s:13:\"\0*\0dateFormat\";N;s:10:\"\0*\0appends\";a:0:{}s:19:\"\0*\0dispatchesEvents\";a:0:{}s:14:\"\0*\0observables\";a:0:{}s:12:\"\0*\0relations\";a:1:{s:11:\"contactList\";N;}s:10:\"\0*\0touches\";a:0:{}s:27:\"\0*\0relationAutoloadCallback\";N;s:26:\"\0*\0relationAutoloadContext\";N;s:10:\"timestamps\";b:1;s:13:\"usesUniqueIds\";b:0;s:9:\"\0*\0hidden\";a:0:{}s:10:\"\0*\0visible\";a:0:{}s:11:\"\0*\0fillable\";a:10:{i:0;s:4:\"name\";i:1;s:4:\"type\";i:2;s:7:\"content\";i:3;s:7:\"subject\";i:4;s:9:\"audio_url\";i:5;s:15:\"contact_list_id\";i:6;s:15:\"strategy_locked\";i:7;s:8:\"settings\";i:8;s:12:\"scheduled_at\";i:9;s:18:\"estimated_contacts\";}s:10:\"\0*\0guarded\";a:1:{i:0;s:1:\"*\";}}}s:28:\"\0*\0escapeWhenCastingToString\";b:0;}s:19:\"recent_transactions\";O:39:\"Illuminate\\Database\\Eloquent\\Collection\":2:{s:8:\"\0*\0items\";a:5:{i:0;O:29:\"App\\Models\\BalanceTransaction\":33:{s:13:\"\0*\0connection\";s:5:\"mysql\";s:8:\"\0*\0table\";s:20:\"balance_transactions\";s:13:\"\0*\0primaryKey\";s:2:\"id\";s:10:\"\0*\0keyType\";s:3:\"int\";s:12:\"incrementing\";b:1;s:7:\"\0*\0with\";a:0:{}s:12:\"\0*\0withCount\";a:0:{}s:19:\"preventsLazyLoading\";b:0;s:10:\"\0*\0perPage\";i:15;s:6:\"exists\";b:1;s:18:\"wasRecentlyCreated\";b:0;s:28:\"\0*\0escapeWhenCastingToString\";b:0;s:13:\"\0*\0attributes\";a:6:{s:2:\"id\";i:132419;s:4:\"type\";s:7:\"reserve\";s:12:\"amount_cents\";i:-8;s:19:\"balance_after_cents\";i:99640;s:11:\"description\";s:32:\"Reserve message_dispatch #284222\";s:10:\"created_at\";s:19:\"2026-07-02 08:00:06\";}s:11:\"\0*\0original\";a:6:{s:2:\"id\";i:132419;s:4:\"type\";s:7:\"reserve\";s:12:\"amount_cents\";i:-8;s:19:\"balance_after_cents\";i:99640;s:11:\"description\";s:32:\"Reserve message_dispatch #284222\";s:10:\"created_at\";s:19:\"2026-07-02 08:00:06\";}s:10:\"\0*\0changes\";a:0:{}s:11:\"\0*\0previous\";a:0:{}s:8:\"\0*\0casts\";a:5:{s:12:\"amount_cents\";s:7:\"integer\";s:19:\"balance_after_cents\";s:7:\"integer\";s:12:\"reference_id\";s:7:\"integer\";s:19:\"executed_by_user_id\";s:7:\"integer\";s:4:\"meta\";s:5:\"array\";}s:17:\"\0*\0classCastCache\";a:0:{}s:21:\"\0*\0attributeCastCache\";a:0:{}s:13:\"\0*\0dateFormat\";N;s:10:\"\0*\0appends\";a:0:{}s:19:\"\0*\0dispatchesEvents\";a:0:{}s:14:\"\0*\0observables\";a:0:{}s:12:\"\0*\0relations\";a:0:{}s:10:\"\0*\0touches\";a:0:{}s:27:\"\0*\0relationAutoloadCallback\";N;s:26:\"\0*\0relationAutoloadContext\";N;s:10:\"timestamps\";b:1;s:13:\"usesUniqueIds\";b:0;s:9:\"\0*\0hidden\";a:0:{}s:10:\"\0*\0visible\";a:0:{}s:11:\"\0*\0fillable\";a:10:{i:0;s:9:\"tenant_id\";i:1;s:4:\"type\";i:2;s:12:\"amount_cents\";i:3;s:19:\"balance_after_cents\";i:4;s:14:\"reference_type\";i:5;s:12:\"reference_id\";i:6;s:19:\"executed_by_user_id\";i:7;s:17:\"monthly_cycle_key\";i:8;s:11:\"description\";i:9;s:4:\"meta\";}s:10:\"\0*\0guarded\";a:1:{i:0;s:1:\"*\";}}i:1;O:29:\"App\\Models\\BalanceTransaction\":33:{s:13:\"\0*\0connection\";s:5:\"mysql\";s:8:\"\0*\0table\";s:20:\"balance_transactions\";s:13:\"\0*\0primaryKey\";s:2:\"id\";s:10:\"\0*\0keyType\";s:3:\"int\";s:12:\"incrementing\";b:1;s:7:\"\0*\0with\";a:0:{}s:12:\"\0*\0withCount\";a:0:{}s:19:\"preventsLazyLoading\";b:0;s:10:\"\0*\0perPage\";i:15;s:6:\"exists\";b:1;s:18:\"wasRecentlyCreated\";b:0;s:28:\"\0*\0escapeWhenCastingToString\";b:0;s:13:\"\0*\0attributes\";a:6:{s:2:\"id\";i:132416;s:4:\"type\";s:7:\"reserve\";s:12:\"amount_cents\";i:-8;s:19:\"balance_after_cents\";i:99664;s:11:\"description\";s:32:\"Reserve message_dispatch #284219\";s:10:\"created_at\";s:19:\"2026-07-02 08:00:05\";}s:11:\"\0*\0original\";a:6:{s:2:\"id\";i:132416;s:4:\"type\";s:7:\"reserve\";s:12:\"amount_cents\";i:-8;s:19:\"balance_after_cents\";i:99664;s:11:\"description\";s:32:\"Reserve message_dispatch #284219\";s:10:\"created_at\";s:19:\"2026-07-02 08:00:05\";}s:10:\"\0*\0changes\";a:0:{}s:11:\"\0*\0previous\";a:0:{}s:8:\"\0*\0casts\";a:5:{s:12:\"amount_cents\";s:7:\"integer\";s:19:\"balance_after_cents\";s:7:\"integer\";s:12:\"reference_id\";s:7:\"integer\";s:19:\"executed_by_user_id\";s:7:\"integer\";s:4:\"meta\";s:5:\"array\";}s:17:\"\0*\0classCastCache\";a:0:{}s:21:\"\0*\0attributeCastCache\";a:0:{}s:13:\"\0*\0dateFormat\";N;s:10:\"\0*\0appends\";a:0:{}s:19:\"\0*\0dispatchesEvents\";a:0:{}s:14:\"\0*\0observables\";a:0:{}s:12:\"\0*\0relations\";a:0:{}s:10:\"\0*\0touches\";a:0:{}s:27:\"\0*\0relationAutoloadCallback\";N;s:26:\"\0*\0relationAutoloadContext\";N;s:10:\"timestamps\";b:1;s:13:\"usesUniqueIds\";b:0;s:9:\"\0*\0hidden\";a:0:{}s:10:\"\0*\0visible\";a:0:{}s:11:\"\0*\0fillable\";a:10:{i:0;s:9:\"tenant_id\";i:1;s:4:\"type\";i:2;s:12:\"amount_cents\";i:3;s:19:\"balance_after_cents\";i:4;s:14:\"reference_type\";i:5;s:12:\"reference_id\";i:6;s:19:\"executed_by_user_id\";i:7;s:17:\"monthly_cycle_key\";i:8;s:11:\"description\";i:9;s:4:\"meta\";}s:10:\"\0*\0guarded\";a:1:{i:0;s:1:\"*\";}}i:2;O:29:\"App\\Models\\BalanceTransaction\":33:{s:13:\"\0*\0connection\";s:5:\"mysql\";s:8:\"\0*\0table\";s:20:\"balance_transactions\";s:13:\"\0*\0primaryKey\";s:2:\"id\";s:10:\"\0*\0keyType\";s:3:\"int\";s:12:\"incrementing\";b:1;s:7:\"\0*\0with\";a:0:{}s:12:\"\0*\0withCount\";a:0:{}s:19:\"preventsLazyLoading\";b:0;s:10:\"\0*\0perPage\";i:15;s:6:\"exists\";b:1;s:18:\"wasRecentlyCreated\";b:0;s:28:\"\0*\0escapeWhenCastingToString\";b:0;s:13:\"\0*\0attributes\";a:6:{s:2:\"id\";i:132417;s:4:\"type\";s:7:\"reserve\";s:12:\"amount_cents\";i:-8;s:19:\"balance_after_cents\";i:99656;s:11:\"description\";s:32:\"Reserve message_dispatch #284220\";s:10:\"created_at\";s:19:\"2026-07-02 08:00:05\";}s:11:\"\0*\0original\";a:6:{s:2:\"id\";i:132417;s:4:\"type\";s:7:\"reserve\";s:12:\"amount_cents\";i:-8;s:19:\"balance_after_cents\";i:99656;s:11:\"description\";s:32:\"Reserve message_dispatch #284220\";s:10:\"created_at\";s:19:\"2026-07-02 08:00:05\";}s:10:\"\0*\0changes\";a:0:{}s:11:\"\0*\0previous\";a:0:{}s:8:\"\0*\0casts\";a:5:{s:12:\"amount_cents\";s:7:\"integer\";s:19:\"balance_after_cents\";s:7:\"integer\";s:12:\"reference_id\";s:7:\"integer\";s:19:\"executed_by_user_id\";s:7:\"integer\";s:4:\"meta\";s:5:\"array\";}s:17:\"\0*\0classCastCache\";a:0:{}s:21:\"\0*\0attributeCastCache\";a:0:{}s:13:\"\0*\0dateFormat\";N;s:10:\"\0*\0appends\";a:0:{}s:19:\"\0*\0dispatchesEvents\";a:0:{}s:14:\"\0*\0observables\";a:0:{}s:12:\"\0*\0relations\";a:0:{}s:10:\"\0*\0touches\";a:0:{}s:27:\"\0*\0relationAutoloadCallback\";N;s:26:\"\0*\0relationAutoloadContext\";N;s:10:\"timestamps\";b:1;s:13:\"usesUniqueIds\";b:0;s:9:\"\0*\0hidden\";a:0:{}s:10:\"\0*\0visible\";a:0:{}s:11:\"\0*\0fillable\";a:10:{i:0;s:9:\"tenant_id\";i:1;s:4:\"type\";i:2;s:12:\"amount_cents\";i:3;s:19:\"balance_after_cents\";i:4;s:14:\"reference_type\";i:5;s:12:\"reference_id\";i:6;s:19:\"executed_by_user_id\";i:7;s:17:\"monthly_cycle_key\";i:8;s:11:\"description\";i:9;s:4:\"meta\";}s:10:\"\0*\0guarded\";a:1:{i:0;s:1:\"*\";}}i:3;O:29:\"App\\Models\\BalanceTransaction\":33:{s:13:\"\0*\0connection\";s:5:\"mysql\";s:8:\"\0*\0table\";s:20:\"balance_transactions\";s:13:\"\0*\0primaryKey\";s:2:\"id\";s:10:\"\0*\0keyType\";s:3:\"int\";s:12:\"incrementing\";b:1;s:7:\"\0*\0with\";a:0:{}s:12:\"\0*\0withCount\";a:0:{}s:19:\"preventsLazyLoading\";b:0;s:10:\"\0*\0perPage\";i:15;s:6:\"exists\";b:1;s:18:\"wasRecentlyCreated\";b:0;s:28:\"\0*\0escapeWhenCastingToString\";b:0;s:13:\"\0*\0attributes\";a:6:{s:2:\"id\";i:132418;s:4:\"type\";s:7:\"reserve\";s:12:\"amount_cents\";i:-8;s:19:\"balance_after_cents\";i:99648;s:11:\"description\";s:32:\"Reserve message_dispatch #284221\";s:10:\"created_at\";s:19:\"2026-07-02 08:00:05\";}s:11:\"\0*\0original\";a:6:{s:2:\"id\";i:132418;s:4:\"type\";s:7:\"reserve\";s:12:\"amount_cents\";i:-8;s:19:\"balance_after_cents\";i:99648;s:11:\"description\";s:32:\"Reserve message_dispatch #284221\";s:10:\"created_at\";s:19:\"2026-07-02 08:00:05\";}s:10:\"\0*\0changes\";a:0:{}s:11:\"\0*\0previous\";a:0:{}s:8:\"\0*\0casts\";a:5:{s:12:\"amount_cents\";s:7:\"integer\";s:19:\"balance_after_cents\";s:7:\"integer\";s:12:\"reference_id\";s:7:\"integer\";s:19:\"executed_by_user_id\";s:7:\"integer\";s:4:\"meta\";s:5:\"array\";}s:17:\"\0*\0classCastCache\";a:0:{}s:21:\"\0*\0attributeCastCache\";a:0:{}s:13:\"\0*\0dateFormat\";N;s:10:\"\0*\0appends\";a:0:{}s:19:\"\0*\0dispatchesEvents\";a:0:{}s:14:\"\0*\0observables\";a:0:{}s:12:\"\0*\0relations\";a:0:{}s:10:\"\0*\0touches\";a:0:{}s:27:\"\0*\0relationAutoloadCallback\";N;s:26:\"\0*\0relationAutoloadContext\";N;s:10:\"timestamps\";b:1;s:13:\"usesUniqueIds\";b:0;s:9:\"\0*\0hidden\";a:0:{}s:10:\"\0*\0visible\";a:0:{}s:11:\"\0*\0fillable\";a:10:{i:0;s:9:\"tenant_id\";i:1;s:4:\"type\";i:2;s:12:\"amount_cents\";i:3;s:19:\"balance_after_cents\";i:4;s:14:\"reference_type\";i:5;s:12:\"reference_id\";i:6;s:19:\"executed_by_user_id\";i:7;s:17:\"monthly_cycle_key\";i:8;s:11:\"description\";i:9;s:4:\"meta\";}s:10:\"\0*\0guarded\";a:1:{i:0;s:1:\"*\";}}i:4;O:29:\"App\\Models\\BalanceTransaction\":33:{s:13:\"\0*\0connection\";s:5:\"mysql\";s:8:\"\0*\0table\";s:20:\"balance_transactions\";s:13:\"\0*\0primaryKey\";s:2:\"id\";s:10:\"\0*\0keyType\";s:3:\"int\";s:12:\"incrementing\";b:1;s:7:\"\0*\0with\";a:0:{}s:12:\"\0*\0withCount\";a:0:{}s:19:\"preventsLazyLoading\";b:0;s:10:\"\0*\0perPage\";i:15;s:6:\"exists\";b:1;s:18:\"wasRecentlyCreated\";b:0;s:28:\"\0*\0escapeWhenCastingToString\";b:0;s:13:\"\0*\0attributes\";a:6:{s:2:\"id\";i:132413;s:4:\"type\";s:7:\"reserve\";s:12:\"amount_cents\";i:-8;s:19:\"balance_after_cents\";i:99688;s:11:\"description\";s:32:\"Reserve message_dispatch #284216\";s:10:\"created_at\";s:19:\"2026-07-02 08:00:04\";}s:11:\"\0*\0original\";a:6:{s:2:\"id\";i:132413;s:4:\"type\";s:7:\"reserve\";s:12:\"amount_cents\";i:-8;s:19:\"balance_after_cents\";i:99688;s:11:\"description\";s:32:\"Reserve message_dispatch #284216\";s:10:\"created_at\";s:19:\"2026-07-02 08:00:04\";}s:10:\"\0*\0changes\";a:0:{}s:11:\"\0*\0previous\";a:0:{}s:8:\"\0*\0casts\";a:5:{s:12:\"amount_cents\";s:7:\"integer\";s:19:\"balance_after_cents\";s:7:\"integer\";s:12:\"reference_id\";s:7:\"integer\";s:19:\"executed_by_user_id\";s:7:\"integer\";s:4:\"meta\";s:5:\"array\";}s:17:\"\0*\0classCastCache\";a:0:{}s:21:\"\0*\0attributeCastCache\";a:0:{}s:13:\"\0*\0dateFormat\";N;s:10:\"\0*\0appends\";a:0:{}s:19:\"\0*\0dispatchesEvents\";a:0:{}s:14:\"\0*\0observables\";a:0:{}s:12:\"\0*\0relations\";a:0:{}s:10:\"\0*\0touches\";a:0:{}s:27:\"\0*\0relationAutoloadCallback\";N;s:26:\"\0*\0relationAutoloadContext\";N;s:10:\"timestamps\";b:1;s:13:\"usesUniqueIds\";b:0;s:9:\"\0*\0hidden\";a:0:{}s:10:\"\0*\0visible\";a:0:{}s:11:\"\0*\0fillable\";a:10:{i:0;s:9:\"tenant_id\";i:1;s:4:\"type\";i:2;s:12:\"amount_cents\";i:3;s:19:\"balance_after_cents\";i:4;s:14:\"reference_type\";i:5;s:12:\"reference_id\";i:6;s:19:\"executed_by_user_id\";i:7;s:17:\"monthly_cycle_key\";i:8;s:11:\"description\";i:9;s:4:\"meta\";}s:10:\"\0*\0guarded\";a:1:{i:0;s:1:\"*\";}}}s:28:\"\0*\0escapeWhenCastingToString\";b:0;}}', 1783002739),
('campaignai-cache-public.pricing.v1', 'a:5:{i:0;a:3:{s:7:\"service\";s:5:\"email\";s:5:\"label\";s:5:\"Email\";s:10:\"sale_cents\";i:2;}i:1;a:3:{s:7:\"service\";s:3:\"sms\";s:5:\"label\";s:3:\"SMS\";s:10:\"sale_cents\";i:8;}i:2;a:3:{s:7:\"service\";s:5:\"voice\";s:5:\"label\";s:3:\"Voz\";s:10:\"sale_cents\";i:6;}i:3;a:3:{s:7:\"service\";s:18:\"whatsapp_marketing\";s:5:\"label\";s:8:\"WhatsApp\";s:10:\"sale_cents\";i:12;}i:4;a:3:{s:7:\"service\";s:13:\"ai_generation\";s:5:\"label\";s:12:\"IA Geração\";s:10:\"sale_cents\";i:25;}}', 1783005990),
('campaignai-cache-public.stats.v1', 'a:7:{s:16:\"total_dispatches\";i:1;s:9:\"delivered\";i:1;s:13:\"delivery_rate\";d:100;s:13:\"total_tenants\";i:2;s:16:\"active_campaigns\";i:0;s:18:\"channels_supported\";i:4;s:8:\"has_data\";b:1;}', 1783005990),
('campaignai-cache-service_price:sms', 'O:23:\"App\\Models\\ServicePrice\":33:{s:13:\"\0*\0connection\";s:5:\"mysql\";s:8:\"\0*\0table\";s:14:\"service_prices\";s:13:\"\0*\0primaryKey\";s:2:\"id\";s:10:\"\0*\0keyType\";s:3:\"int\";s:12:\"incrementing\";b:1;s:7:\"\0*\0with\";a:0:{}s:12:\"\0*\0withCount\";a:0:{}s:19:\"preventsLazyLoading\";b:0;s:10:\"\0*\0perPage\";i:15;s:6:\"exists\";b:1;s:18:\"wasRecentlyCreated\";b:0;s:28:\"\0*\0escapeWhenCastingToString\";b:0;s:13:\"\0*\0attributes\";a:9:{s:2:\"id\";i:1;s:7:\"service\";s:3:\"sms\";s:10:\"cost_cents\";i:6;s:11:\"cost_micros\";i:6050;s:10:\"sale_cents\";i:8;s:11:\"sale_micros\";i:7500;s:10:\"updated_by\";N;s:10:\"created_at\";s:19:\"2026-06-09 12:59:53\";s:10:\"updated_at\";s:19:\"2026-06-09 12:59:53\";}s:11:\"\0*\0original\";a:9:{s:2:\"id\";i:1;s:7:\"service\";s:3:\"sms\";s:10:\"cost_cents\";i:6;s:11:\"cost_micros\";i:6050;s:10:\"sale_cents\";i:8;s:11:\"sale_micros\";i:7500;s:10:\"updated_by\";N;s:10:\"created_at\";s:19:\"2026-06-09 12:59:53\";s:10:\"updated_at\";s:19:\"2026-06-09 12:59:53\";}s:10:\"\0*\0changes\";a:0:{}s:11:\"\0*\0previous\";a:0:{}s:8:\"\0*\0casts\";a:4:{s:10:\"cost_cents\";s:7:\"integer\";s:10:\"sale_cents\";s:7:\"integer\";s:11:\"cost_micros\";s:7:\"integer\";s:11:\"sale_micros\";s:7:\"integer\";}s:17:\"\0*\0classCastCache\";a:0:{}s:21:\"\0*\0attributeCastCache\";a:0:{}s:13:\"\0*\0dateFormat\";N;s:10:\"\0*\0appends\";a:0:{}s:19:\"\0*\0dispatchesEvents\";a:0:{}s:14:\"\0*\0observables\";a:0:{}s:12:\"\0*\0relations\";a:0:{}s:10:\"\0*\0touches\";a:0:{}s:27:\"\0*\0relationAutoloadCallback\";N;s:26:\"\0*\0relationAutoloadContext\";N;s:10:\"timestamps\";b:1;s:13:\"usesUniqueIds\";b:0;s:9:\"\0*\0hidden\";a:0:{}s:10:\"\0*\0visible\";a:0:{}s:11:\"\0*\0fillable\";a:6:{i:0;s:7:\"service\";i:1;s:10:\"cost_cents\";i:2;s:10:\"sale_cents\";i:3;s:11:\"cost_micros\";i:4;s:11:\"sale_micros\";i:5;s:10:\"updated_by\";}s:10:\"\0*\0guarded\";a:1:{i:0;s:1:\"*\";}}', 1782990303),
('campaignai-cache-settings:global:infobip:api_key', 's:69:\"a33bee89020dba9394572591e9e4f03a-810484a6-e00e-4616-87ad-7946d155c5e1\";', 1783006168),
('campaignai-cache-settings:global:infobip:base_url', 's:33:\"https://nm9ne5.api-us.infobip.com\";', 1783006168),
('campaignai-cache-settings:global:infobip:sender_email', 's:0:\"\";', 1783006168),
('campaignai-cache-settings:global:infobip:sender_sms', 's:12:\"BusinessCode\";', 1783006168),
('campaignai-cache-settings:global:infobip:sender_voice', 's:0:\"\";', 1783006168),
('campaignai-cache-settings:global:infobip:webhook_base_url', 's:32:\"https://dash.businesscode.com.br\";', 1782990304),
('campaignai-cache-settings:global:infobip:webhook_secret', 's:40:\"zbGJI4ktKtSh99nEBvipJYAMBlRqqd2feZVMJ1K4\";', 1782992256);

-- --------------------------------------------------------

--
-- Table structure for table `cache_locks`
--

CREATE TABLE `cache_locks` (
  `key` varchar(255) NOT NULL,
  `owner` varchar(255) NOT NULL,
  `expiration` int(11) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

-- --------------------------------------------------------

--
-- Table structure for table `campaigns`
--

CREATE TABLE `campaigns` (
  `id` bigint(20) UNSIGNED NOT NULL,
  `tenant_id` bigint(20) UNSIGNED NOT NULL,
  `name` varchar(255) NOT NULL,
  `type` enum('sms','voice','email','whatsapp') NOT NULL,
  `status` enum('draft','processing','running','completed','failed','scheduled') NOT NULL DEFAULT 'draft',
  `content` text DEFAULT NULL,
  `subject` varchar(255) DEFAULT NULL,
  `audio_url` text DEFAULT NULL,
  `contact_list_id` bigint(20) UNSIGNED DEFAULT NULL,
  `strategy_locked` tinyint(1) NOT NULL DEFAULT 0,
  `settings` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL CHECK (json_valid(`settings`)),
  `scheduled_at` timestamp NULL DEFAULT NULL,
  `started_at` timestamp NULL DEFAULT NULL,
  `completed_at` timestamp NULL DEFAULT NULL,
  `sent_count` int(10) UNSIGNED NOT NULL DEFAULT 0,
  `failed_count` int(10) UNSIGNED NOT NULL DEFAULT 0,
  `estimated_contacts` int(10) UNSIGNED NOT NULL DEFAULT 0,
  `unit_cents_at_dispatch` int(10) UNSIGNED DEFAULT NULL,
  `reserved_cents` int(10) UNSIGNED DEFAULT NULL,
  `warning_message` varchar(255) DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `campaigns`
--

INSERT INTO `campaigns` (`id`, `tenant_id`, `name`, `type`, `status`, `content`, `subject`, `audio_url`, `contact_list_id`, `strategy_locked`, `settings`, `scheduled_at`, `started_at`, `completed_at`, `sent_count`, `failed_count`, `estimated_contacts`, `unit_cents_at_dispatch`, `reserved_cents`, `warning_message`, `created_at`, `updated_at`) VALUES
(1, 2, 'teste', 'sms', 'completed', 'teste de envio', NULL, NULL, NULL, 0, '{\"adhoc_phones\":[\"+5521980194445\"],\"unit_cents_at_dispatch\":8,\"reserved_cents\":8,\"refund_done\":true}', NULL, '2026-06-11 13:47:38', '2026-06-11 13:47:39', 1, 0, 1, 8, 8, NULL, '2026-06-11 13:45:31', '2026-06-11 13:47:39');

-- --------------------------------------------------------

--
-- Table structure for table `campaign_dispatches`
--

CREATE TABLE `campaign_dispatches` (
  `id` bigint(20) UNSIGNED NOT NULL,
  `campaign_id` bigint(20) UNSIGNED NOT NULL,
  `tenant_id` bigint(20) UNSIGNED NOT NULL,
  `contact_id` bigint(20) UNSIGNED DEFAULT NULL,
  `status` enum('pending','sent','delivered','failed','read') NOT NULL DEFAULT 'pending',
  `phone` varchar(255) DEFAULT NULL,
  `message_content` text DEFAULT NULL,
  `external_message_id` varchar(255) DEFAULT NULL,
  `sent_at` timestamp NULL DEFAULT NULL,
  `delivered_at` timestamp NULL DEFAULT NULL,
  `failed_at` timestamp NULL DEFAULT NULL,
  `error_message` text DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `unsubscribe_token` varchar(64) DEFAULT NULL,
  `unsubscribe_consumed_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `campaign_dispatches`
--

INSERT INTO `campaign_dispatches` (`id`, `campaign_id`, `tenant_id`, `contact_id`, `status`, `phone`, `message_content`, `external_message_id`, `sent_at`, `delivered_at`, `failed_at`, `error_message`, `created_at`, `updated_at`, `unsubscribe_token`, `unsubscribe_consumed_at`) VALUES
(1, 1, 2, NULL, 'delivered', '+5521980194445', 'teste de envio', '178118565902703868600183', '2026-06-11 13:47:39', '2026-06-11 13:47:42', NULL, NULL, '2026-06-11 13:47:39', '2026-06-11 13:47:42', NULL, NULL);

-- --------------------------------------------------------

--
-- Table structure for table `contacts`
--

CREATE TABLE `contacts` (
  `id` bigint(20) UNSIGNED NOT NULL,
  `tenant_id` bigint(20) UNSIGNED NOT NULL,
  `contact_list_id` bigint(20) UNSIGNED NOT NULL,
  `name` varchar(255) DEFAULT NULL,
  `phone` varchar(255) DEFAULT NULL,
  `email` varchar(255) DEFAULT NULL,
  `status` enum('active','blocked','invalid') NOT NULL DEFAULT 'active',
  `meta` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL CHECK (json_valid(`meta`)),
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

-- --------------------------------------------------------

--
-- Table structure for table `contact_lists`
--

CREATE TABLE `contact_lists` (
  `id` bigint(20) UNSIGNED NOT NULL,
  `tenant_id` bigint(20) UNSIGNED NOT NULL,
  `name` varchar(255) NOT NULL,
  `description` text DEFAULT NULL,
  `contact_count` int(10) UNSIGNED NOT NULL DEFAULT 0,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

-- --------------------------------------------------------

--
-- Table structure for table `conversations`
--

CREATE TABLE `conversations` (
  `id` bigint(20) UNSIGNED NOT NULL,
  `tenant_id` bigint(20) UNSIGNED NOT NULL,
  `contact_id` bigint(20) UNSIGNED DEFAULT NULL,
  `phone` varchar(255) NOT NULL,
  `channel` varchar(255) NOT NULL DEFAULT 'whatsapp',
  `status` enum('open','bot','human','closed') NOT NULL DEFAULT 'bot',
  `assigned_to` bigint(20) UNSIGNED DEFAULT NULL,
  `last_message_at` timestamp NULL DEFAULT NULL,
  `unread_count` int(10) UNSIGNED NOT NULL DEFAULT 0,
  `metadata` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL CHECK (json_valid(`metadata`)),
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

-- --------------------------------------------------------

--
-- Table structure for table `conversation_messages`
--

CREATE TABLE `conversation_messages` (
  `id` bigint(20) UNSIGNED NOT NULL,
  `conversation_id` bigint(20) UNSIGNED NOT NULL,
  `tenant_id` bigint(20) UNSIGNED NOT NULL,
  `direction` enum('inbound','outbound') NOT NULL,
  `sender_type` enum('contact','bot','human','campaign','ai') NOT NULL,
  `sender_id` bigint(20) UNSIGNED DEFAULT NULL,
  `type` varchar(255) NOT NULL DEFAULT 'text',
  `content` text DEFAULT NULL,
  `media_url` varchar(1024) DEFAULT NULL,
  `template_name` varchar(255) DEFAULT NULL,
  `external_message_id` varchar(255) DEFAULT NULL,
  `status` enum('pending','sent','delivered','read','failed') NOT NULL DEFAULT 'pending',
  `error_message` text DEFAULT NULL,
  `metadata` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL CHECK (json_valid(`metadata`)),
  `created_at` timestamp NOT NULL DEFAULT current_timestamp(),
  `sent_at` timestamp NULL DEFAULT NULL,
  `delivered_at` timestamp NULL DEFAULT NULL,
  `read_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

-- --------------------------------------------------------

--
-- Table structure for table `coupons`
--

CREATE TABLE `coupons` (
  `id` bigint(20) UNSIGNED NOT NULL,
  `code` varchar(255) NOT NULL,
  `discount_type` enum('percentage','fixed') NOT NULL DEFAULT 'percentage',
  `discount_value` decimal(10,2) NOT NULL,
  `max_uses` int(10) UNSIGNED DEFAULT NULL,
  `times_used` int(10) UNSIGNED NOT NULL DEFAULT 0,
  `valid_from` date NOT NULL,
  `valid_until` date DEFAULT NULL,
  `active` tinyint(1) NOT NULL DEFAULT 1,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

-- --------------------------------------------------------

--
-- Table structure for table `coupon_usages`
--

CREATE TABLE `coupon_usages` (
  `id` bigint(20) UNSIGNED NOT NULL,
  `coupon_id` bigint(20) UNSIGNED NOT NULL,
  `tenant_id` bigint(20) UNSIGNED NOT NULL,
  `created_at` timestamp NOT NULL DEFAULT current_timestamp()
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

-- --------------------------------------------------------

--
-- Table structure for table `elevenlabs_voices`
--

CREATE TABLE `elevenlabs_voices` (
  `id` bigint(20) UNSIGNED NOT NULL,
  `voice_id` varchar(255) NOT NULL,
  `name` varchar(255) NOT NULL,
  `category` varchar(255) DEFAULT NULL,
  `gender` varchar(255) DEFAULT NULL,
  `accent` varchar(255) DEFAULT NULL,
  `language` varchar(255) DEFAULT NULL,
  `preview_url` varchar(255) DEFAULT NULL,
  `labels` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL CHECK (json_valid(`labels`)),
  `is_active` tinyint(1) NOT NULL DEFAULT 1,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

-- --------------------------------------------------------

--
-- Table structure for table `email_sender_domains`
--

CREATE TABLE `email_sender_domains` (
  `id` bigint(20) UNSIGNED NOT NULL,
  `tenant_id` bigint(20) UNSIGNED DEFAULT NULL,
  `domain` varchar(253) NOT NULL,
  `infobip_domain_id` varchar(64) DEFAULT NULL,
  `status` enum('pending','verifying','active','failed') NOT NULL DEFAULT 'pending',
  `dkim_selector` varchar(64) DEFAULT NULL,
  `dkim_value` text DEFAULT NULL,
  `spf_value` text DEFAULT NULL,
  `return_path_value` varchar(253) DEFAULT NULL,
  `dkim_verified` tinyint(1) NOT NULL DEFAULT 0,
  `spf_verified` tinyint(1) NOT NULL DEFAULT 0,
  `return_path_verified` tinyint(1) NOT NULL DEFAULT 0,
  `tracking_opens` tinyint(1) NOT NULL DEFAULT 0,
  `tracking_clicks` tinyint(1) NOT NULL DEFAULT 0,
  `last_verified_at` timestamp NULL DEFAULT NULL,
  `last_verification_error` varchar(500) DEFAULT NULL,
  `verification_attempts` int(10) UNSIGNED NOT NULL DEFAULT 0,
  `created_by` bigint(20) UNSIGNED DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `email_sender_domains`
--

INSERT INTO `email_sender_domains` (`id`, `tenant_id`, `domain`, `infobip_domain_id`, `status`, `dkim_selector`, `dkim_value`, `spf_value`, `return_path_value`, `dkim_verified`, `spf_verified`, `return_path_verified`, `tracking_opens`, `tracking_clicks`, `last_verified_at`, `last_verification_error`, `verification_attempts`, `created_by`, `created_at`, `updated_at`, `deleted_at`) VALUES
(1, 1, 'pixreals.com', '106324', 'active', 'ib-smtp1', 'k=rsa; p=MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQCWAhw7VcV7cswTuL4L52ytty+1CL8onzCVC1HxWUNwtY5G9+Oqsjx7LxbE68+ARFynhQYDJz5Q3qudXo8TnRtOsPY2rDU2DPqGmIX0koqYHHypPGkwQxbnhmQr6sYuobytFRvL0Qj9ImHW77zJC8hTyG0IX23rb5yFa/6SZSoGbQIDAQAB', NULL, 'emailtracking-us.email-messaging.com', 1, 0, 1, 0, 1, '2026-06-14 20:51:26', NULL, 0, NULL, '2026-06-09 16:56:44', '2026-06-14 20:51:26', NULL),
(2, NULL, 'pixreals.io', '106218', 'verifying', 'ib-smtp1', 'k=rsa; p=MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQCSjki6mjVyQHs2OviUq56tt3XVy6T1X/vYKNApMTGJ3qFI7TbH37AQxcY49FqbS9JA2+WOkaRlqRgcquAJWlfOW9pFLyVbd1wvrWg6zZgjQUPDSsQVxlNBoWXhIi/xyRK8uNtKL/dpk1h++o9gawlYWp845prrEqws/fvwOyU1PQIDAQAB', NULL, '_dmarc.ibesecurity.com', 0, 0, 0, 0, 1, '2026-07-02 08:00:04', NULL, 23, NULL, '2026-06-09 16:56:44', '2026-07-02 08:00:04', NULL),
(3, NULL, 'gamingbr.pro', '91596', 'active', 'ib-smtp1', 'k=rsa; p=MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDUcE6ZwQ8xvRUGOeCgsI8ZHxWF8u69hA2O6QpWFThHeIGEQwL3/eGGAKN/3k8Wx52cyxWGN/Oi3GR7ZZq0MybwSdC33t5A+yGZdYrxFE5YVdMcHtNFBZhTl8nXljsIcFOzJDX7GkPWBirSSvEdlvjVg/ec3PINZVwJKROfFeZCFwIDAQAB', NULL, 'ib15994_gamingbr_pro.envelope.email-messaging.com', 1, 0, 1, 0, 1, '2026-06-14 20:51:26', NULL, 0, NULL, '2026-06-09 16:56:44', '2026-06-14 20:51:26', NULL),
(4, NULL, 'origemdigital.info', '91578', 'verifying', 'ib-smtp1', 'k=rsa; p=MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDxKsQVA1d5I78bmDctP8vuZUvrnZmdIGjp6DYXOlPXDcdMxefZ0TCwC/PQt75PArH6Qo6AJbLSfAkeOChxG+SlTmElkQN7J1UarPUrfRWxwrGGzHtgyYgC0iIy35pkYCnNdpAIZL77nAVKJFcXtI2ZCHpzBpWgEWplZPcfRBbUpwIDAQAB', NULL, 'ib29278_origemdigital_info.envelope.email-messaging.com', 0, 0, 0, 0, 1, '2026-07-02 08:00:06', NULL, 10, NULL, '2026-06-09 16:56:44', '2026-07-02 08:00:06', NULL),
(5, NULL, 'businesscode.com.br', '89136', 'active', 'ib-smtp3', 'k=rsa; p=MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQC5o5LC2C8bmnU4KrOgjYsFbspPI+bVf7NV8Uua5bAIlqE1BDwiNk8bccDTORBOL4Zx3dMjcsG3AT4ABKRjWV/J7UxT5HgenBbSxWnwp3JljQsLTZ1t28id3SnI4j37notsUOMteoTiDn9uBKkE6SuRN84GfrvRDnLEXndN3cr2JwIDAQAB', 'v=spf1 include:email-messaging.com ~all', '_dmarc.ibesecurity.com', 1, 1, 1, 0, 1, '2026-06-14 20:51:26', NULL, 0, NULL, '2026-06-09 16:56:44', '2026-06-14 20:51:26', NULL),
(6, NULL, 'asnlocacao.com.br', '89134', 'active', 'ib-smtp3', 'k=rsa; p=MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQCZ3dz+ESUzhbyp2/f11t7ZP/4c5+g8WmRmep2sMTGiJNLTT2D9bPJ/LiBqhP+ux74beRX5qAe+ApPrb/1RABngH4s7QGB3evg/ZQPc5ITssFbKkKUR4u6k1Y1S34jK7No1LPazuuPj7wPgiqlGap6WNWPJ3/9IPl6KxSDDety81QIDAQAB', 'v=spf1 include:email-messaging.com ~all', '_dmarc.ibesecurity.com', 1, 1, 1, 0, 1, '2026-06-14 20:51:26', NULL, 0, NULL, '2026-06-09 16:56:44', '2026-06-14 20:51:26', NULL),
(7, 1, 'betleads.io', '107169', 'active', 'ib-smtp1', 'k=rsa; p=MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQCtN+zgoDa5Ithe26e8IsjpXi+BtRRmyPcHVchtnTx5Ok+zp4VceWvwXPHG6VChAgkwMmOcPFCYTHo5Ba8THNuulf7M2UD2PfujZxrPFjkdP/CboFXtP92Vz/XHreK6dp0Kt8uUeVov7l+CFYcMf1KgH6kek9EHMgoUXXtMezDYvQIDAQAB', NULL, '_dmarc.ibesecurity.com', 1, 0, 1, 0, 1, '2026-06-14 20:51:25', NULL, 0, NULL, '2026-06-14 20:51:25', '2026-06-14 20:51:31', NULL);

-- --------------------------------------------------------

--
-- Table structure for table `failed_jobs`
--

CREATE TABLE `failed_jobs` (
  `id` bigint(20) UNSIGNED NOT NULL,
  `uuid` varchar(255) NOT NULL,
  `connection` text NOT NULL,
  `queue` text NOT NULL,
  `payload` longtext NOT NULL,
  `exception` longtext NOT NULL,
  `failed_at` timestamp NOT NULL DEFAULT current_timestamp()
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `failed_jobs`
--

INSERT INTO `failed_jobs` (`id`, `uuid`, `connection`, `queue`, `payload`, `exception`, `failed_at`) VALUES
(1, '36bfe079-ec65-49b0-ab9a-332fecd7741c', 'database', 'default', '{\"uuid\":\"36bfe079-ec65-49b0-ab9a-332fecd7741c\",\"displayName\":\"App\\\\Jobs\\\\FireOutboundWebhookJob\",\"job\":\"Illuminate\\\\Queue\\\\CallQueuedHandler@call\",\"maxTries\":3,\"maxExceptions\":null,\"failOnTimeout\":false,\"backoff\":null,\"timeout\":10,\"retryUntil\":null,\"data\":{\"commandName\":\"App\\\\Jobs\\\\FireOutboundWebhookJob\",\"command\":\"O:31:\\\"App\\\\Jobs\\\\FireOutboundWebhookJob\\\":3:{s:8:\\\"tenantId\\\";i:1;s:5:\\\"event\\\";s:14:\\\"message.queued\\\";s:7:\\\"payload\\\";a:8:{s:11:\\\"dispatch_id\\\";i:1077;s:7:\\\"channel\\\";s:3:\\\"sms\\\";s:2:\\\"to\\\";s:14:\\\"+5578993633234\\\";s:6:\\\"status\\\";s:6:\\\"queued\\\";s:10:\\\"sale_cents\\\";i:8;s:15:\\\"idempotency_key\\\";s:36:\\\"7ce3dafb-58ed-4fac-bc4a-0ab395ac4559\\\";s:10:\\\"created_at\\\";s:25:\\\"2026-06-09T16:26:12-03:00\\\";s:4:\\\"meta\\\";N;}}\",\"batchId\":null},\"createdAt\":1781033172,\"delay\":null}', 'PDOException: SQLSTATE[40001]: Serialization failure: 1213 Deadlock found when trying to get lock; try restarting transaction in C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\laravel\\framework\\src\\Illuminate\\Database\\Connection.php:609\nStack trace:\n#0 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\laravel\\framework\\src\\Illuminate\\Database\\Connection.php(609): PDOStatement->execute()\n#1 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\laravel\\framework\\src\\Illuminate\\Database\\Connection.php(827): Illuminate\\Database\\Connection->Illuminate\\Database\\{closure}(\'update `jobs` s...\', Array)\n#2 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\laravel\\framework\\src\\Illuminate\\Database\\Connection.php(794): Illuminate\\Database\\Connection->runQueryCallback(\'update `jobs` s...\', Array, Object(Closure))\n#3 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\laravel\\framework\\src\\Illuminate\\Database\\Connection.php(597): Illuminate\\Database\\Connection->run(\'update `jobs` s...\', Array, Object(Closure))\n#4 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\laravel\\framework\\src\\Illuminate\\Database\\Connection.php(549): Illuminate\\Database\\Connection->affectingStatement(\'update `jobs` s...\', Array)\n#5 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\laravel\\framework\\src\\Illuminate\\Database\\Query\\Builder.php(4204): Illuminate\\Database\\Connection->update(\'update `jobs` s...\', Array)\n#6 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\laravel\\framework\\src\\Illuminate\\Queue\\DatabaseQueue.php(422): Illuminate\\Database\\Query\\Builder->update(Object(Illuminate\\Support\\Collection))\n#7 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\laravel\\framework\\src\\Illuminate\\Queue\\DatabaseQueue.php(408): Illuminate\\Queue\\DatabaseQueue->markJobAsReserved(Object(Illuminate\\Queue\\Jobs\\DatabaseJobRecord))\n#8 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\laravel\\framework\\src\\Illuminate\\Queue\\DatabaseQueue.php(294): Illuminate\\Queue\\DatabaseQueue->marshalJob(\'default\', Object(Illuminate\\Queue\\Jobs\\DatabaseJobRecord))\n#9 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\laravel\\framework\\src\\Illuminate\\Database\\Concerns\\ManagesTransactions.php(35): Illuminate\\Queue\\DatabaseQueue->Illuminate\\Queue\\{closure}(Object(Illuminate\\Database\\MySqlConnection))\n#10 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\laravel\\framework\\src\\Illuminate\\Queue\\DatabaseQueue.php(292): Illuminate\\Database\\Connection->transaction(Object(Closure))\n#11 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\laravel\\framework\\src\\Illuminate\\Queue\\Worker.php(374): Illuminate\\Queue\\DatabaseQueue->pop(\'default\', 0)\n#12 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\laravel\\framework\\src\\Illuminate\\Queue\\Worker.php(393): Illuminate\\Queue\\Worker->Illuminate\\Queue\\{closure}(\'default\', 0)\n#13 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\laravel\\framework\\src\\Illuminate\\Queue\\Worker.php(187): Illuminate\\Queue\\Worker->getNextJob(Object(Illuminate\\Queue\\DatabaseQueue), \'default\')\n#14 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\laravel\\framework\\src\\Illuminate\\Queue\\Console\\WorkCommand.php(148): Illuminate\\Queue\\Worker->daemon(\'database\', \'default\', Object(Illuminate\\Queue\\WorkerOptions))\n#15 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\laravel\\framework\\src\\Illuminate\\Queue\\Console\\WorkCommand.php(131): Illuminate\\Queue\\Console\\WorkCommand->runWorker(\'database\', \'default\')\n#16 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\laravel\\framework\\src\\Illuminate\\Container\\BoundMethod.php(36): Illuminate\\Queue\\Console\\WorkCommand->handle()\n#17 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\laravel\\framework\\src\\Illuminate\\Container\\Util.php(43): Illuminate\\Container\\BoundMethod::Illuminate\\Container\\{closure}()\n#18 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\laravel\\framework\\src\\Illuminate\\Container\\BoundMethod.php(96): Illuminate\\Container\\Util::unwrapIfClosure(Object(Closure))\n#19 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\laravel\\framework\\src\\Illuminate\\Container\\BoundMethod.php(35): Illuminate\\Container\\BoundMethod::callBoundMethod(Object(Illuminate\\Foundation\\Application), Array, Object(Closure))\n#20 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\laravel\\framework\\src\\Illuminate\\Container\\Container.php(799): Illuminate\\Container\\BoundMethod::call(Object(Illuminate\\Foundation\\Application), Array, Array, NULL)\n#21 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\laravel\\framework\\src\\Illuminate\\Console\\Command.php(211): Illuminate\\Container\\Container->call(Array)\n#22 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\symfony\\console\\Command\\Command.php(341): Illuminate\\Console\\Command->execute(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Illuminate\\Console\\OutputStyle))\n#23 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\laravel\\framework\\src\\Illuminate\\Console\\Command.php(180): Symfony\\Component\\Console\\Command\\Command->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Illuminate\\Console\\OutputStyle))\n#24 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\symfony\\console\\Application.php(1117): Illuminate\\Console\\Command->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))\n#25 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\symfony\\console\\Application.php(356): Symfony\\Component\\Console\\Application->doRunCommand(Object(Illuminate\\Queue\\Console\\WorkCommand), Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))\n#26 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\symfony\\console\\Application.php(195): Symfony\\Component\\Console\\Application->doRun(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))\n#27 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Console\\Kernel.php(198): Symfony\\Component\\Console\\Application->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))\n#28 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Application.php(1235): Illuminate\\Foundation\\Console\\Kernel->handle(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))\n#29 C:\\xampp\\htdocs\\new_saas\\backend\\artisan(16): Illuminate\\Foundation\\Application->handleCommand(Object(Symfony\\Component\\Console\\Input\\ArgvInput))\n#30 {main}\n\nNext Illuminate\\Database\\QueryException: SQLSTATE[40001]: Serialization failure: 1213 Deadlock found when trying to get lock; try restarting transaction (Connection: mysql, Host: 127.0.0.1, Port: 3306, Database: businesscode_saas, SQL: update `jobs` set `reserved_at` = 1781033174, `attempts` = 1 where `id` = 3227) in C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\laravel\\framework\\src\\Illuminate\\Database\\Connection.php:838\nStack trace:\n#0 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\laravel\\framework\\src\\Illuminate\\Database\\Connection.php(794): Illuminate\\Database\\Connection->runQueryCallback(\'update `jobs` s...\', Array, Object(Closure))\n#1 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\laravel\\framework\\src\\Illuminate\\Database\\Connection.php(597): Illuminate\\Database\\Connection->run(\'update `jobs` s...\', Array, Object(Closure))\n#2 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\laravel\\framework\\src\\Illuminate\\Database\\Connection.php(549): Illuminate\\Database\\Connection->affectingStatement(\'update `jobs` s...\', Array)\n#3 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\laravel\\framework\\src\\Illuminate\\Database\\Query\\Builder.php(4204): Illuminate\\Database\\Connection->update(\'update `jobs` s...\', Array)\n#4 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\laravel\\framework\\src\\Illuminate\\Queue\\DatabaseQueue.php(422): Illuminate\\Database\\Query\\Builder->update(Object(Illuminate\\Support\\Collection))\n#5 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\laravel\\framework\\src\\Illuminate\\Queue\\DatabaseQueue.php(408): Illuminate\\Queue\\DatabaseQueue->markJobAsReserved(Object(Illuminate\\Queue\\Jobs\\DatabaseJobRecord))\n#6 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\laravel\\framework\\src\\Illuminate\\Queue\\DatabaseQueue.php(294): Illuminate\\Queue\\DatabaseQueue->marshalJob(\'default\', Object(Illuminate\\Queue\\Jobs\\DatabaseJobRecord))\n#7 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\laravel\\framework\\src\\Illuminate\\Database\\Concerns\\ManagesTransactions.php(35): Illuminate\\Queue\\DatabaseQueue->Illuminate\\Queue\\{closure}(Object(Illuminate\\Database\\MySqlConnection))\n#8 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\laravel\\framework\\src\\Illuminate\\Queue\\DatabaseQueue.php(292): Illuminate\\Database\\Connection->transaction(Object(Closure))\n#9 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\laravel\\framework\\src\\Illuminate\\Queue\\Worker.php(374): Illuminate\\Queue\\DatabaseQueue->pop(\'default\', 0)\n#10 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\laravel\\framework\\src\\Illuminate\\Queue\\Worker.php(393): Illuminate\\Queue\\Worker->Illuminate\\Queue\\{closure}(\'default\', 0)\n#11 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\laravel\\framework\\src\\Illuminate\\Queue\\Worker.php(187): Illuminate\\Queue\\Worker->getNextJob(Object(Illuminate\\Queue\\DatabaseQueue), \'default\')\n#12 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\laravel\\framework\\src\\Illuminate\\Queue\\Console\\WorkCommand.php(148): Illuminate\\Queue\\Worker->daemon(\'database\', \'default\', Object(Illuminate\\Queue\\WorkerOptions))\n#13 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\laravel\\framework\\src\\Illuminate\\Queue\\Console\\WorkCommand.php(131): Illuminate\\Queue\\Console\\WorkCommand->runWorker(\'database\', \'default\')\n#14 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\laravel\\framework\\src\\Illuminate\\Container\\BoundMethod.php(36): Illuminate\\Queue\\Console\\WorkCommand->handle()\n#15 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\laravel\\framework\\src\\Illuminate\\Container\\Util.php(43): Illuminate\\Container\\BoundMethod::Illuminate\\Container\\{closure}()\n#16 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\laravel\\framework\\src\\Illuminate\\Container\\BoundMethod.php(96): Illuminate\\Container\\Util::unwrapIfClosure(Object(Closure))\n#17 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\laravel\\framework\\src\\Illuminate\\Container\\BoundMethod.php(35): Illuminate\\Container\\BoundMethod::callBoundMethod(Object(Illuminate\\Foundation\\Application), Array, Object(Closure))\n#18 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\laravel\\framework\\src\\Illuminate\\Container\\Container.php(799): Illuminate\\Container\\BoundMethod::call(Object(Illuminate\\Foundation\\Application), Array, Array, NULL)\n#19 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\laravel\\framework\\src\\Illuminate\\Console\\Command.php(211): Illuminate\\Container\\Container->call(Array)\n#20 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\symfony\\console\\Command\\Command.php(341): Illuminate\\Console\\Command->execute(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Illuminate\\Console\\OutputStyle))\n#21 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\laravel\\framework\\src\\Illuminate\\Console\\Command.php(180): Symfony\\Component\\Console\\Command\\Command->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Illuminate\\Console\\OutputStyle))\n#22 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\symfony\\console\\Application.php(1117): Illuminate\\Console\\Command->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))\n#23 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\symfony\\console\\Application.php(356): Symfony\\Component\\Console\\Application->doRunCommand(Object(Illuminate\\Queue\\Console\\WorkCommand), Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))\n#24 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\symfony\\console\\Application.php(195): Symfony\\Component\\Console\\Application->doRun(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))\n#25 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Console\\Kernel.php(198): Symfony\\Component\\Console\\Application->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))\n#26 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Application.php(1235): Illuminate\\Foundation\\Console\\Kernel->handle(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))\n#27 C:\\xampp\\htdocs\\new_saas\\backend\\artisan(16): Illuminate\\Foundation\\Application->handleCommand(Object(Symfony\\Component\\Console\\Input\\ArgvInput))\n#28 {main}', '2026-06-09 19:26:14'),
(2, 'b67548f4-191a-4b4f-b053-3fa35709e2f5', 'database', 'default', '{\"uuid\":\"b67548f4-191a-4b4f-b053-3fa35709e2f5\",\"displayName\":\"App\\\\Jobs\\\\FireOutboundWebhookJob\",\"job\":\"Illuminate\\\\Queue\\\\CallQueuedHandler@call\",\"maxTries\":3,\"maxExceptions\":null,\"failOnTimeout\":false,\"backoff\":null,\"timeout\":10,\"retryUntil\":null,\"data\":{\"commandName\":\"App\\\\Jobs\\\\FireOutboundWebhookJob\",\"command\":\"O:31:\\\"App\\\\Jobs\\\\FireOutboundWebhookJob\\\":3:{s:8:\\\"tenantId\\\";i:1;s:5:\\\"event\\\";s:14:\\\"message.queued\\\";s:7:\\\"payload\\\";a:8:{s:11:\\\"dispatch_id\\\";i:1574;s:7:\\\"channel\\\";s:3:\\\"sms\\\";s:2:\\\"to\\\";s:14:\\\"+5577998984598\\\";s:6:\\\"status\\\";s:6:\\\"queued\\\";s:10:\\\"sale_cents\\\";i:8;s:15:\\\"idempotency_key\\\";s:36:\\\"fe629d22-e75f-4d8b-ac1d-ee333d826edc\\\";s:10:\\\"created_at\\\";s:25:\\\"2026-06-09T16:44:36-03:00\\\";s:4:\\\"meta\\\";N;}}\",\"batchId\":null},\"createdAt\":1781034276,\"delay\":null}', 'PDOException: SQLSTATE[40001]: Serialization failure: 1213 Deadlock found when trying to get lock; try restarting transaction in C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\laravel\\framework\\src\\Illuminate\\Database\\Connection.php:609\nStack trace:\n#0 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\laravel\\framework\\src\\Illuminate\\Database\\Connection.php(609): PDOStatement->execute()\n#1 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\laravel\\framework\\src\\Illuminate\\Database\\Connection.php(827): Illuminate\\Database\\Connection->Illuminate\\Database\\{closure}(\'update `jobs` s...\', Array)\n#2 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\laravel\\framework\\src\\Illuminate\\Database\\Connection.php(794): Illuminate\\Database\\Connection->runQueryCallback(\'update `jobs` s...\', Array, Object(Closure))\n#3 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\laravel\\framework\\src\\Illuminate\\Database\\Connection.php(597): Illuminate\\Database\\Connection->run(\'update `jobs` s...\', Array, Object(Closure))\n#4 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\laravel\\framework\\src\\Illuminate\\Database\\Connection.php(549): Illuminate\\Database\\Connection->affectingStatement(\'update `jobs` s...\', Array)\n#5 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\laravel\\framework\\src\\Illuminate\\Database\\Query\\Builder.php(4204): Illuminate\\Database\\Connection->update(\'update `jobs` s...\', Array)\n#6 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\laravel\\framework\\src\\Illuminate\\Queue\\DatabaseQueue.php(422): Illuminate\\Database\\Query\\Builder->update(Object(Illuminate\\Support\\Collection))\n#7 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\laravel\\framework\\src\\Illuminate\\Queue\\DatabaseQueue.php(408): Illuminate\\Queue\\DatabaseQueue->markJobAsReserved(Object(Illuminate\\Queue\\Jobs\\DatabaseJobRecord))\n#8 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\laravel\\framework\\src\\Illuminate\\Queue\\DatabaseQueue.php(294): Illuminate\\Queue\\DatabaseQueue->marshalJob(\'default\', Object(Illuminate\\Queue\\Jobs\\DatabaseJobRecord))\n#9 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\laravel\\framework\\src\\Illuminate\\Database\\Concerns\\ManagesTransactions.php(35): Illuminate\\Queue\\DatabaseQueue->Illuminate\\Queue\\{closure}(Object(Illuminate\\Database\\MySqlConnection))\n#10 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\laravel\\framework\\src\\Illuminate\\Queue\\DatabaseQueue.php(292): Illuminate\\Database\\Connection->transaction(Object(Closure))\n#11 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\laravel\\framework\\src\\Illuminate\\Queue\\Worker.php(374): Illuminate\\Queue\\DatabaseQueue->pop(\'default\', 0)\n#12 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\laravel\\framework\\src\\Illuminate\\Queue\\Worker.php(393): Illuminate\\Queue\\Worker->Illuminate\\Queue\\{closure}(\'default\', 0)\n#13 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\laravel\\framework\\src\\Illuminate\\Queue\\Worker.php(187): Illuminate\\Queue\\Worker->getNextJob(Object(Illuminate\\Queue\\DatabaseQueue), \'default\')\n#14 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\laravel\\framework\\src\\Illuminate\\Queue\\Console\\WorkCommand.php(148): Illuminate\\Queue\\Worker->daemon(\'database\', \'default\', Object(Illuminate\\Queue\\WorkerOptions))\n#15 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\laravel\\framework\\src\\Illuminate\\Queue\\Console\\WorkCommand.php(131): Illuminate\\Queue\\Console\\WorkCommand->runWorker(\'database\', \'default\')\n#16 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\laravel\\framework\\src\\Illuminate\\Container\\BoundMethod.php(36): Illuminate\\Queue\\Console\\WorkCommand->handle()\n#17 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\laravel\\framework\\src\\Illuminate\\Container\\Util.php(43): Illuminate\\Container\\BoundMethod::Illuminate\\Container\\{closure}()\n#18 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\laravel\\framework\\src\\Illuminate\\Container\\BoundMethod.php(96): Illuminate\\Container\\Util::unwrapIfClosure(Object(Closure))\n#19 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\laravel\\framework\\src\\Illuminate\\Container\\BoundMethod.php(35): Illuminate\\Container\\BoundMethod::callBoundMethod(Object(Illuminate\\Foundation\\Application), Array, Object(Closure))\n#20 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\laravel\\framework\\src\\Illuminate\\Container\\Container.php(799): Illuminate\\Container\\BoundMethod::call(Object(Illuminate\\Foundation\\Application), Array, Array, NULL)\n#21 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\laravel\\framework\\src\\Illuminate\\Console\\Command.php(211): Illuminate\\Container\\Container->call(Array)\n#22 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\symfony\\console\\Command\\Command.php(341): Illuminate\\Console\\Command->execute(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Illuminate\\Console\\OutputStyle))\n#23 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\laravel\\framework\\src\\Illuminate\\Console\\Command.php(180): Symfony\\Component\\Console\\Command\\Command->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Illuminate\\Console\\OutputStyle))\n#24 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\symfony\\console\\Application.php(1117): Illuminate\\Console\\Command->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))\n#25 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\symfony\\console\\Application.php(356): Symfony\\Component\\Console\\Application->doRunCommand(Object(Illuminate\\Queue\\Console\\WorkCommand), Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))\n#26 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\symfony\\console\\Application.php(195): Symfony\\Component\\Console\\Application->doRun(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))\n#27 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Console\\Kernel.php(198): Symfony\\Component\\Console\\Application->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))\n#28 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Application.php(1235): Illuminate\\Foundation\\Console\\Kernel->handle(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))\n#29 C:\\xampp\\htdocs\\new_saas\\backend\\artisan(16): Illuminate\\Foundation\\Application->handleCommand(Object(Symfony\\Component\\Console\\Input\\ArgvInput))\n#30 {main}\n\nNext Illuminate\\Database\\QueryException: SQLSTATE[40001]: Serialization failure: 1213 Deadlock found when trying to get lock; try restarting transaction (Connection: mysql, Host: 127.0.0.1, Port: 3306, Database: businesscode_saas, SQL: update `jobs` set `reserved_at` = 1781034279, `attempts` = 1 where `id` = 4717) in C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\laravel\\framework\\src\\Illuminate\\Database\\Connection.php:838\nStack trace:\n#0 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\laravel\\framework\\src\\Illuminate\\Database\\Connection.php(794): Illuminate\\Database\\Connection->runQueryCallback(\'update `jobs` s...\', Array, Object(Closure))\n#1 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\laravel\\framework\\src\\Illuminate\\Database\\Connection.php(597): Illuminate\\Database\\Connection->run(\'update `jobs` s...\', Array, Object(Closure))\n#2 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\laravel\\framework\\src\\Illuminate\\Database\\Connection.php(549): Illuminate\\Database\\Connection->affectingStatement(\'update `jobs` s...\', Array)\n#3 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\laravel\\framework\\src\\Illuminate\\Database\\Query\\Builder.php(4204): Illuminate\\Database\\Connection->update(\'update `jobs` s...\', Array)\n#4 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\laravel\\framework\\src\\Illuminate\\Queue\\DatabaseQueue.php(422): Illuminate\\Database\\Query\\Builder->update(Object(Illuminate\\Support\\Collection))\n#5 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\laravel\\framework\\src\\Illuminate\\Queue\\DatabaseQueue.php(408): Illuminate\\Queue\\DatabaseQueue->markJobAsReserved(Object(Illuminate\\Queue\\Jobs\\DatabaseJobRecord))\n#6 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\laravel\\framework\\src\\Illuminate\\Queue\\DatabaseQueue.php(294): Illuminate\\Queue\\DatabaseQueue->marshalJob(\'default\', Object(Illuminate\\Queue\\Jobs\\DatabaseJobRecord))\n#7 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\laravel\\framework\\src\\Illuminate\\Database\\Concerns\\ManagesTransactions.php(35): Illuminate\\Queue\\DatabaseQueue->Illuminate\\Queue\\{closure}(Object(Illuminate\\Database\\MySqlConnection))\n#8 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\laravel\\framework\\src\\Illuminate\\Queue\\DatabaseQueue.php(292): Illuminate\\Database\\Connection->transaction(Object(Closure))\n#9 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\laravel\\framework\\src\\Illuminate\\Queue\\Worker.php(374): Illuminate\\Queue\\DatabaseQueue->pop(\'default\', 0)\n#10 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\laravel\\framework\\src\\Illuminate\\Queue\\Worker.php(393): Illuminate\\Queue\\Worker->Illuminate\\Queue\\{closure}(\'default\', 0)\n#11 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\laravel\\framework\\src\\Illuminate\\Queue\\Worker.php(187): Illuminate\\Queue\\Worker->getNextJob(Object(Illuminate\\Queue\\DatabaseQueue), \'default\')\n#12 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\laravel\\framework\\src\\Illuminate\\Queue\\Console\\WorkCommand.php(148): Illuminate\\Queue\\Worker->daemon(\'database\', \'default\', Object(Illuminate\\Queue\\WorkerOptions))\n#13 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\laravel\\framework\\src\\Illuminate\\Queue\\Console\\WorkCommand.php(131): Illuminate\\Queue\\Console\\WorkCommand->runWorker(\'database\', \'default\')\n#14 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\laravel\\framework\\src\\Illuminate\\Container\\BoundMethod.php(36): Illuminate\\Queue\\Console\\WorkCommand->handle()\n#15 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\laravel\\framework\\src\\Illuminate\\Container\\Util.php(43): Illuminate\\Container\\BoundMethod::Illuminate\\Container\\{closure}()\n#16 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\laravel\\framework\\src\\Illuminate\\Container\\BoundMethod.php(96): Illuminate\\Container\\Util::unwrapIfClosure(Object(Closure))\n#17 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\laravel\\framework\\src\\Illuminate\\Container\\BoundMethod.php(35): Illuminate\\Container\\BoundMethod::callBoundMethod(Object(Illuminate\\Foundation\\Application), Array, Object(Closure))\n#18 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\laravel\\framework\\src\\Illuminate\\Container\\Container.php(799): Illuminate\\Container\\BoundMethod::call(Object(Illuminate\\Foundation\\Application), Array, Array, NULL)\n#19 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\laravel\\framework\\src\\Illuminate\\Console\\Command.php(211): Illuminate\\Container\\Container->call(Array)\n#20 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\symfony\\console\\Command\\Command.php(341): Illuminate\\Console\\Command->execute(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Illuminate\\Console\\OutputStyle))\n#21 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\laravel\\framework\\src\\Illuminate\\Console\\Command.php(180): Symfony\\Component\\Console\\Command\\Command->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Illuminate\\Console\\OutputStyle))\n#22 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\symfony\\console\\Application.php(1117): Illuminate\\Console\\Command->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))\n#23 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\symfony\\console\\Application.php(356): Symfony\\Component\\Console\\Application->doRunCommand(Object(Illuminate\\Queue\\Console\\WorkCommand), Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))\n#24 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\symfony\\console\\Application.php(195): Symfony\\Component\\Console\\Application->doRun(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))\n#25 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Console\\Kernel.php(198): Symfony\\Component\\Console\\Application->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))\n#26 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Application.php(1235): Illuminate\\Foundation\\Console\\Kernel->handle(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))\n#27 C:\\xampp\\htdocs\\new_saas\\backend\\artisan(16): Illuminate\\Foundation\\Application->handleCommand(Object(Symfony\\Component\\Console\\Input\\ArgvInput))\n#28 {main}', '2026-06-09 19:44:39'),
(3, '7b999925-157a-4856-8a56-8c2b024268cc', 'database', 'default', '{\"uuid\":\"7b999925-157a-4856-8a56-8c2b024268cc\",\"displayName\":\"App\\\\Jobs\\\\VerifyPendingEmailDomainsJob\",\"job\":\"Illuminate\\\\Queue\\\\CallQueuedHandler@call\",\"maxTries\":1,\"maxExceptions\":null,\"failOnTimeout\":false,\"backoff\":null,\"timeout\":null,\"retryUntil\":null,\"data\":{\"commandName\":\"App\\\\Jobs\\\\VerifyPendingEmailDomainsJob\",\"command\":\"O:37:\\\"App\\\\Jobs\\\\VerifyPendingEmailDomainsJob\\\":0:{}\",\"batchId\":null},\"createdAt\":1781683201,\"delay\":null}', 'UnexpectedValueException: The stream or file \"C:\\xampp\\htdocs\\new_saas\\backend\\storage\\logs/infobip-2026-06-17.log\" could not be opened in append mode: Failed to open stream: Permission denied\nThe exception occurred while attempting to log: email_domain.verify.cron_failed\nContext: {\"domain\":\"pixreals.io\",\"error\":\"The stream or file \\\"C:\\\\xampp\\\\htdocs\\\\new_saas\\\\backend\\\\storage\\\\logs\\/infobip-2026-06-17.log\\\" could not be opened in append mode: Failed to open stream: Permission denied\\nThe exception occurred while attempting to log: email_domain.verify.ok\\nContext: {\\\"domain\\\":\\\"pixreals.io\\\",\\\"status\\\":\\\"verifying\\\",\\\"dkim\\\":false,\\\"spf\\\":false,\\\"return_path\\\":false}\"} in C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\monolog\\monolog\\src\\Monolog\\Handler\\StreamHandler.php:164\nStack trace:\n#0 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\monolog\\monolog\\src\\Monolog\\Handler\\RotatingFileHandler.php(113): Monolog\\Handler\\StreamHandler->write(Object(Monolog\\LogRecord))\n#1 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\monolog\\monolog\\src\\Monolog\\Handler\\AbstractProcessingHandler.php(44): Monolog\\Handler\\RotatingFileHandler->write(Object(Monolog\\LogRecord))\n#2 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\monolog\\monolog\\src\\Monolog\\Logger.php(391): Monolog\\Handler\\AbstractProcessingHandler->handle(Object(Monolog\\LogRecord))\n#3 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\monolog\\monolog\\src\\Monolog\\Logger.php(633): Monolog\\Logger->addRecord(Object(Monolog\\Level), \'email_domain.ve...\', Array)\n#4 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\laravel\\framework\\src\\Illuminate\\Log\\Logger.php(187): Monolog\\Logger->warning(\'email_domain.ve...\', Array)\n#5 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\laravel\\framework\\src\\Illuminate\\Log\\Logger.php(108): Illuminate\\Log\\Logger->writeLog(\'warning\', \'email_domain.ve...\', Array)\n#6 C:\\xampp\\htdocs\\new_saas\\backend\\app\\Jobs\\VerifyPendingEmailDomainsJob.php(31): Illuminate\\Log\\Logger->warning(\'email_domain.ve...\', Array)\n#7 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\laravel\\framework\\src\\Illuminate\\Database\\Concerns\\BuildsQueries.php(68): App\\Jobs\\VerifyPendingEmailDomainsJob->App\\Jobs\\{closure}(Object(Illuminate\\Database\\Eloquent\\Collection), 1)\n#8 C:\\xampp\\htdocs\\new_saas\\backend\\app\\Jobs\\VerifyPendingEmailDomainsJob.php(26): Illuminate\\Database\\Eloquent\\Builder->chunk(50, Object(Closure))\n#9 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\laravel\\framework\\src\\Illuminate\\Container\\BoundMethod.php(36): App\\Jobs\\VerifyPendingEmailDomainsJob->handle(Object(App\\Services\\Messaging\\EmailDomainService))\n#10 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\laravel\\framework\\src\\Illuminate\\Container\\Util.php(43): Illuminate\\Container\\BoundMethod::Illuminate\\Container\\{closure}()\n#11 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\laravel\\framework\\src\\Illuminate\\Container\\BoundMethod.php(96): Illuminate\\Container\\Util::unwrapIfClosure(Object(Closure))\n#12 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\laravel\\framework\\src\\Illuminate\\Container\\BoundMethod.php(35): Illuminate\\Container\\BoundMethod::callBoundMethod(Object(Illuminate\\Foundation\\Application), Array, Object(Closure))\n#13 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\laravel\\framework\\src\\Illuminate\\Container\\Container.php(799): Illuminate\\Container\\BoundMethod::call(Object(Illuminate\\Foundation\\Application), Array, Array, NULL)\n#14 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\laravel\\framework\\src\\Illuminate\\Bus\\Dispatcher.php(129): Illuminate\\Container\\Container->call(Array)\n#15 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(180): Illuminate\\Bus\\Dispatcher->Illuminate\\Bus\\{closure}(Object(App\\Jobs\\VerifyPendingEmailDomainsJob))\n#16 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(App\\Jobs\\VerifyPendingEmailDomainsJob))\n#17 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\laravel\\framework\\src\\Illuminate\\Bus\\Dispatcher.php(133): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))\n#18 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\laravel\\framework\\src\\Illuminate\\Queue\\CallQueuedHandler.php(136): Illuminate\\Bus\\Dispatcher->dispatchNow(Object(App\\Jobs\\VerifyPendingEmailDomainsJob), false)\n#19 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(180): Illuminate\\Queue\\CallQueuedHandler->Illuminate\\Queue\\{closure}(Object(App\\Jobs\\VerifyPendingEmailDomainsJob))\n#20 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(App\\Jobs\\VerifyPendingEmailDomainsJob))\n#21 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\laravel\\framework\\src\\Illuminate\\Queue\\CallQueuedHandler.php(129): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))\n#22 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\laravel\\framework\\src\\Illuminate\\Queue\\CallQueuedHandler.php(70): Illuminate\\Queue\\CallQueuedHandler->dispatchThroughMiddleware(Object(Illuminate\\Queue\\Jobs\\DatabaseJob), Object(App\\Jobs\\VerifyPendingEmailDomainsJob))\n#23 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\laravel\\framework\\src\\Illuminate\\Queue\\Jobs\\Job.php(102): Illuminate\\Queue\\CallQueuedHandler->call(Object(Illuminate\\Queue\\Jobs\\DatabaseJob), Array)\n#24 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\laravel\\framework\\src\\Illuminate\\Queue\\Worker.php(485): Illuminate\\Queue\\Jobs\\Job->fire()\n#25 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\laravel\\framework\\src\\Illuminate\\Queue\\Worker.php(435): Illuminate\\Queue\\Worker->process(\'database\', Object(Illuminate\\Queue\\Jobs\\DatabaseJob), Object(Illuminate\\Queue\\WorkerOptions))\n#26 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\laravel\\framework\\src\\Illuminate\\Queue\\Worker.php(201): Illuminate\\Queue\\Worker->runJob(Object(Illuminate\\Queue\\Jobs\\DatabaseJob), \'database\', Object(Illuminate\\Queue\\WorkerOptions))\n#27 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\laravel\\framework\\src\\Illuminate\\Queue\\Console\\WorkCommand.php(148): Illuminate\\Queue\\Worker->daemon(\'database\', \'default\', Object(Illuminate\\Queue\\WorkerOptions))\n#28 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\laravel\\framework\\src\\Illuminate\\Queue\\Console\\WorkCommand.php(131): Illuminate\\Queue\\Console\\WorkCommand->runWorker(\'database\', \'default\')\n#29 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\laravel\\framework\\src\\Illuminate\\Container\\BoundMethod.php(36): Illuminate\\Queue\\Console\\WorkCommand->handle()\n#30 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\laravel\\framework\\src\\Illuminate\\Container\\Util.php(43): Illuminate\\Container\\BoundMethod::Illuminate\\Container\\{closure}()\n#31 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\laravel\\framework\\src\\Illuminate\\Container\\BoundMethod.php(96): Illuminate\\Container\\Util::unwrapIfClosure(Object(Closure))\n#32 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\laravel\\framework\\src\\Illuminate\\Container\\BoundMethod.php(35): Illuminate\\Container\\BoundMethod::callBoundMethod(Object(Illuminate\\Foundation\\Application), Array, Object(Closure))\n#33 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\laravel\\framework\\src\\Illuminate\\Container\\Container.php(799): Illuminate\\Container\\BoundMethod::call(Object(Illuminate\\Foundation\\Application), Array, Array, NULL)\n#34 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\laravel\\framework\\src\\Illuminate\\Console\\Command.php(211): Illuminate\\Container\\Container->call(Array)\n#35 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\symfony\\console\\Command\\Command.php(341): Illuminate\\Console\\Command->execute(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Illuminate\\Console\\OutputStyle))\n#36 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\laravel\\framework\\src\\Illuminate\\Console\\Command.php(180): Symfony\\Component\\Console\\Command\\Command->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Illuminate\\Console\\OutputStyle))\n#37 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\symfony\\console\\Application.php(1117): Illuminate\\Console\\Command->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))\n#38 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\symfony\\console\\Application.php(356): Symfony\\Component\\Console\\Application->doRunCommand(Object(Illuminate\\Queue\\Console\\WorkCommand), Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))\n#39 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\symfony\\console\\Application.php(195): Symfony\\Component\\Console\\Application->doRun(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))\n#40 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Console\\Kernel.php(198): Symfony\\Component\\Console\\Application->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))\n#41 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Application.php(1235): Illuminate\\Foundation\\Console\\Kernel->handle(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))\n#42 C:\\xampp\\htdocs\\new_saas\\backend\\artisan(16): Illuminate\\Foundation\\Application->handleCommand(Object(Symfony\\Component\\Console\\Input\\ArgvInput))\n#43 {main}', '2026-06-17 08:00:05');
INSERT INTO `failed_jobs` (`id`, `uuid`, `connection`, `queue`, `payload`, `exception`, `failed_at`) VALUES
(4, '089a3790-c8d0-4bc5-b2eb-7c4c6ffdf5f3', 'database', 'default', '{\"uuid\":\"089a3790-c8d0-4bc5-b2eb-7c4c6ffdf5f3\",\"displayName\":\"App\\\\Jobs\\\\FireOutboundWebhookJob\",\"job\":\"Illuminate\\\\Queue\\\\CallQueuedHandler@call\",\"maxTries\":3,\"maxExceptions\":null,\"failOnTimeout\":false,\"backoff\":\"5,15,30\",\"timeout\":10,\"retryUntil\":null,\"data\":{\"commandName\":\"App\\\\Jobs\\\\FireOutboundWebhookJob\",\"command\":\"O:31:\\\"App\\\\Jobs\\\\FireOutboundWebhookJob\\\":3:{s:8:\\\"tenantId\\\";i:1;s:5:\\\"event\\\";s:14:\\\"message.queued\\\";s:7:\\\"payload\\\";a:9:{s:11:\\\"dispatch_id\\\";i:31503;s:7:\\\"channel\\\";s:5:\\\"email\\\";s:2:\\\"to\\\";s:23:\\\"rodrigogms670@gmail.com\\\";s:6:\\\"status\\\";s:6:\\\"queued\\\";s:10:\\\"sale_cents\\\";i:2;s:15:\\\"idempotency_key\\\";s:36:\\\"597327ed-857a-485e-a010-2f0bc5d009a4\\\";s:10:\\\"created_at\\\";s:25:\\\"2026-06-17T20:59:21-03:00\\\";s:4:\\\"meta\\\";N;s:5:\\\"email\\\";a:6:{s:9:\\\"opened_at\\\";N;s:16:\\\"first_clicked_at\\\";N;s:10:\\\"bounced_at\\\";N;s:11:\\\"bounce_type\\\";N;s:12:\\\"complaint_at\\\";N;s:15:\\\"unsubscribed_at\\\";N;}}}\",\"batchId\":null},\"createdAt\":1781740762,\"delay\":null}', 'PDOException: SQLSTATE[40001]: Serialization failure: 1213 Deadlock found when trying to get lock; try restarting transaction in C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\laravel\\framework\\src\\Illuminate\\Database\\Connection.php:609\nStack trace:\n#0 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\laravel\\framework\\src\\Illuminate\\Database\\Connection.php(609): PDOStatement->execute()\n#1 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\laravel\\framework\\src\\Illuminate\\Database\\Connection.php(827): Illuminate\\Database\\Connection->Illuminate\\Database\\{closure}(\'update `jobs` s...\', Array)\n#2 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\laravel\\framework\\src\\Illuminate\\Database\\Connection.php(794): Illuminate\\Database\\Connection->runQueryCallback(\'update `jobs` s...\', Array, Object(Closure))\n#3 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\laravel\\framework\\src\\Illuminate\\Database\\Connection.php(597): Illuminate\\Database\\Connection->run(\'update `jobs` s...\', Array, Object(Closure))\n#4 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\laravel\\framework\\src\\Illuminate\\Database\\Connection.php(549): Illuminate\\Database\\Connection->affectingStatement(\'update `jobs` s...\', Array)\n#5 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\laravel\\framework\\src\\Illuminate\\Database\\Query\\Builder.php(4204): Illuminate\\Database\\Connection->update(\'update `jobs` s...\', Array)\n#6 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\laravel\\framework\\src\\Illuminate\\Queue\\DatabaseQueue.php(422): Illuminate\\Database\\Query\\Builder->update(Object(Illuminate\\Support\\Collection))\n#7 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\laravel\\framework\\src\\Illuminate\\Queue\\DatabaseQueue.php(408): Illuminate\\Queue\\DatabaseQueue->markJobAsReserved(Object(Illuminate\\Queue\\Jobs\\DatabaseJobRecord))\n#8 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\laravel\\framework\\src\\Illuminate\\Queue\\DatabaseQueue.php(294): Illuminate\\Queue\\DatabaseQueue->marshalJob(\'default\', Object(Illuminate\\Queue\\Jobs\\DatabaseJobRecord))\n#9 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\laravel\\framework\\src\\Illuminate\\Database\\Concerns\\ManagesTransactions.php(35): Illuminate\\Queue\\DatabaseQueue->Illuminate\\Queue\\{closure}(Object(Illuminate\\Database\\MySqlConnection))\n#10 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\laravel\\framework\\src\\Illuminate\\Queue\\DatabaseQueue.php(292): Illuminate\\Database\\Connection->transaction(Object(Closure))\n#11 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\laravel\\framework\\src\\Illuminate\\Queue\\Worker.php(374): Illuminate\\Queue\\DatabaseQueue->pop(\'default\', 0)\n#12 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\laravel\\framework\\src\\Illuminate\\Queue\\Worker.php(393): Illuminate\\Queue\\Worker->Illuminate\\Queue\\{closure}(\'default\', 0)\n#13 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\laravel\\framework\\src\\Illuminate\\Queue\\Worker.php(187): Illuminate\\Queue\\Worker->getNextJob(Object(Illuminate\\Queue\\DatabaseQueue), \'default\')\n#14 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\laravel\\framework\\src\\Illuminate\\Queue\\Console\\WorkCommand.php(148): Illuminate\\Queue\\Worker->daemon(\'database\', \'default\', Object(Illuminate\\Queue\\WorkerOptions))\n#15 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\laravel\\framework\\src\\Illuminate\\Queue\\Console\\WorkCommand.php(131): Illuminate\\Queue\\Console\\WorkCommand->runWorker(\'database\', \'default\')\n#16 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\laravel\\framework\\src\\Illuminate\\Container\\BoundMethod.php(36): Illuminate\\Queue\\Console\\WorkCommand->handle()\n#17 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\laravel\\framework\\src\\Illuminate\\Container\\Util.php(43): Illuminate\\Container\\BoundMethod::Illuminate\\Container\\{closure}()\n#18 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\laravel\\framework\\src\\Illuminate\\Container\\BoundMethod.php(96): Illuminate\\Container\\Util::unwrapIfClosure(Object(Closure))\n#19 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\laravel\\framework\\src\\Illuminate\\Container\\BoundMethod.php(35): Illuminate\\Container\\BoundMethod::callBoundMethod(Object(Illuminate\\Foundation\\Application), Array, Object(Closure))\n#20 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\laravel\\framework\\src\\Illuminate\\Container\\Container.php(799): Illuminate\\Container\\BoundMethod::call(Object(Illuminate\\Foundation\\Application), Array, Array, NULL)\n#21 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\laravel\\framework\\src\\Illuminate\\Console\\Command.php(211): Illuminate\\Container\\Container->call(Array)\n#22 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\symfony\\console\\Command\\Command.php(341): Illuminate\\Console\\Command->execute(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Illuminate\\Console\\OutputStyle))\n#23 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\laravel\\framework\\src\\Illuminate\\Console\\Command.php(180): Symfony\\Component\\Console\\Command\\Command->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Illuminate\\Console\\OutputStyle))\n#24 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\symfony\\console\\Application.php(1117): Illuminate\\Console\\Command->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))\n#25 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\symfony\\console\\Application.php(356): Symfony\\Component\\Console\\Application->doRunCommand(Object(Illuminate\\Queue\\Console\\WorkCommand), Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))\n#26 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\symfony\\console\\Application.php(195): Symfony\\Component\\Console\\Application->doRun(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))\n#27 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Console\\Kernel.php(198): Symfony\\Component\\Console\\Application->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))\n#28 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Application.php(1235): Illuminate\\Foundation\\Console\\Kernel->handle(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))\n#29 C:\\xampp\\htdocs\\new_saas\\backend\\artisan(16): Illuminate\\Foundation\\Application->handleCommand(Object(Symfony\\Component\\Console\\Input\\ArgvInput))\n#30 {main}\n\nNext Illuminate\\Database\\QueryException: SQLSTATE[40001]: Serialization failure: 1213 Deadlock found when trying to get lock; try restarting transaction (Connection: mysql, Host: 127.0.0.1, Port: 3306, Database: businesscode_saas, SQL: update `jobs` set `reserved_at` = 1781740789, `attempts` = 1 where `id` = 79911) in C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\laravel\\framework\\src\\Illuminate\\Database\\Connection.php:838\nStack trace:\n#0 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\laravel\\framework\\src\\Illuminate\\Database\\Connection.php(794): Illuminate\\Database\\Connection->runQueryCallback(\'update `jobs` s...\', Array, Object(Closure))\n#1 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\laravel\\framework\\src\\Illuminate\\Database\\Connection.php(597): Illuminate\\Database\\Connection->run(\'update `jobs` s...\', Array, Object(Closure))\n#2 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\laravel\\framework\\src\\Illuminate\\Database\\Connection.php(549): Illuminate\\Database\\Connection->affectingStatement(\'update `jobs` s...\', Array)\n#3 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\laravel\\framework\\src\\Illuminate\\Database\\Query\\Builder.php(4204): Illuminate\\Database\\Connection->update(\'update `jobs` s...\', Array)\n#4 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\laravel\\framework\\src\\Illuminate\\Queue\\DatabaseQueue.php(422): Illuminate\\Database\\Query\\Builder->update(Object(Illuminate\\Support\\Collection))\n#5 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\laravel\\framework\\src\\Illuminate\\Queue\\DatabaseQueue.php(408): Illuminate\\Queue\\DatabaseQueue->markJobAsReserved(Object(Illuminate\\Queue\\Jobs\\DatabaseJobRecord))\n#6 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\laravel\\framework\\src\\Illuminate\\Queue\\DatabaseQueue.php(294): Illuminate\\Queue\\DatabaseQueue->marshalJob(\'default\', Object(Illuminate\\Queue\\Jobs\\DatabaseJobRecord))\n#7 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\laravel\\framework\\src\\Illuminate\\Database\\Concerns\\ManagesTransactions.php(35): Illuminate\\Queue\\DatabaseQueue->Illuminate\\Queue\\{closure}(Object(Illuminate\\Database\\MySqlConnection))\n#8 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\laravel\\framework\\src\\Illuminate\\Queue\\DatabaseQueue.php(292): Illuminate\\Database\\Connection->transaction(Object(Closure))\n#9 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\laravel\\framework\\src\\Illuminate\\Queue\\Worker.php(374): Illuminate\\Queue\\DatabaseQueue->pop(\'default\', 0)\n#10 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\laravel\\framework\\src\\Illuminate\\Queue\\Worker.php(393): Illuminate\\Queue\\Worker->Illuminate\\Queue\\{closure}(\'default\', 0)\n#11 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\laravel\\framework\\src\\Illuminate\\Queue\\Worker.php(187): Illuminate\\Queue\\Worker->getNextJob(Object(Illuminate\\Queue\\DatabaseQueue), \'default\')\n#12 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\laravel\\framework\\src\\Illuminate\\Queue\\Console\\WorkCommand.php(148): Illuminate\\Queue\\Worker->daemon(\'database\', \'default\', Object(Illuminate\\Queue\\WorkerOptions))\n#13 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\laravel\\framework\\src\\Illuminate\\Queue\\Console\\WorkCommand.php(131): Illuminate\\Queue\\Console\\WorkCommand->runWorker(\'database\', \'default\')\n#14 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\laravel\\framework\\src\\Illuminate\\Container\\BoundMethod.php(36): Illuminate\\Queue\\Console\\WorkCommand->handle()\n#15 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\laravel\\framework\\src\\Illuminate\\Container\\Util.php(43): Illuminate\\Container\\BoundMethod::Illuminate\\Container\\{closure}()\n#16 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\laravel\\framework\\src\\Illuminate\\Container\\BoundMethod.php(96): Illuminate\\Container\\Util::unwrapIfClosure(Object(Closure))\n#17 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\laravel\\framework\\src\\Illuminate\\Container\\BoundMethod.php(35): Illuminate\\Container\\BoundMethod::callBoundMethod(Object(Illuminate\\Foundation\\Application), Array, Object(Closure))\n#18 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\laravel\\framework\\src\\Illuminate\\Container\\Container.php(799): Illuminate\\Container\\BoundMethod::call(Object(Illuminate\\Foundation\\Application), Array, Array, NULL)\n#19 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\laravel\\framework\\src\\Illuminate\\Console\\Command.php(211): Illuminate\\Container\\Container->call(Array)\n#20 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\symfony\\console\\Command\\Command.php(341): Illuminate\\Console\\Command->execute(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Illuminate\\Console\\OutputStyle))\n#21 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\laravel\\framework\\src\\Illuminate\\Console\\Command.php(180): Symfony\\Component\\Console\\Command\\Command->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Illuminate\\Console\\OutputStyle))\n#22 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\symfony\\console\\Application.php(1117): Illuminate\\Console\\Command->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))\n#23 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\symfony\\console\\Application.php(356): Symfony\\Component\\Console\\Application->doRunCommand(Object(Illuminate\\Queue\\Console\\WorkCommand), Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))\n#24 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\symfony\\console\\Application.php(195): Symfony\\Component\\Console\\Application->doRun(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))\n#25 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Console\\Kernel.php(198): Symfony\\Component\\Console\\Application->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))\n#26 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Application.php(1235): Illuminate\\Foundation\\Console\\Kernel->handle(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))\n#27 C:\\xampp\\htdocs\\new_saas\\backend\\artisan(16): Illuminate\\Foundation\\Application->handleCommand(Object(Symfony\\Component\\Console\\Input\\ArgvInput))\n#28 {main}', '2026-06-17 23:59:50'),
(5, 'b76b6cbc-d4d0-45ee-b898-cdc5ae8df365', 'database', 'default', '{\"uuid\":\"b76b6cbc-d4d0-45ee-b898-cdc5ae8df365\",\"displayName\":\"App\\\\Jobs\\\\VerifyPendingEmailDomainsJob\",\"job\":\"Illuminate\\\\Queue\\\\CallQueuedHandler@call\",\"maxTries\":1,\"maxExceptions\":null,\"failOnTimeout\":false,\"backoff\":null,\"timeout\":null,\"retryUntil\":null,\"data\":{\"commandName\":\"App\\\\Jobs\\\\VerifyPendingEmailDomainsJob\",\"command\":\"O:37:\\\"App\\\\Jobs\\\\VerifyPendingEmailDomainsJob\\\":0:{}\",\"batchId\":null},\"createdAt\":1781769601,\"delay\":null}', 'UnexpectedValueException: The stream or file \"C:\\xampp\\htdocs\\new_saas\\backend\\storage\\logs/infobip-2026-06-18.log\" could not be opened in append mode: Failed to open stream: Permission denied\nThe exception occurred while attempting to log: email_domain.verify.cron_failed\nContext: {\"domain\":\"pixreals.io\",\"error\":\"The stream or file \\\"C:\\\\xampp\\\\htdocs\\\\new_saas\\\\backend\\\\storage\\\\logs\\/infobip-2026-06-18.log\\\" could not be opened in append mode: Failed to open stream: Permission denied\\nThe exception occurred while attempting to log: email_domain.verify.ok\\nContext: {\\\"domain\\\":\\\"pixreals.io\\\",\\\"status\\\":\\\"verifying\\\",\\\"dkim\\\":false,\\\"spf\\\":false,\\\"return_path\\\":false}\"} in C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\monolog\\monolog\\src\\Monolog\\Handler\\StreamHandler.php:164\nStack trace:\n#0 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\monolog\\monolog\\src\\Monolog\\Handler\\RotatingFileHandler.php(113): Monolog\\Handler\\StreamHandler->write(Object(Monolog\\LogRecord))\n#1 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\monolog\\monolog\\src\\Monolog\\Handler\\AbstractProcessingHandler.php(44): Monolog\\Handler\\RotatingFileHandler->write(Object(Monolog\\LogRecord))\n#2 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\monolog\\monolog\\src\\Monolog\\Logger.php(391): Monolog\\Handler\\AbstractProcessingHandler->handle(Object(Monolog\\LogRecord))\n#3 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\monolog\\monolog\\src\\Monolog\\Logger.php(633): Monolog\\Logger->addRecord(Object(Monolog\\Level), \'email_domain.ve...\', Array)\n#4 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\laravel\\framework\\src\\Illuminate\\Log\\Logger.php(187): Monolog\\Logger->warning(\'email_domain.ve...\', Array)\n#5 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\laravel\\framework\\src\\Illuminate\\Log\\Logger.php(108): Illuminate\\Log\\Logger->writeLog(\'warning\', \'email_domain.ve...\', Array)\n#6 C:\\xampp\\htdocs\\new_saas\\backend\\app\\Jobs\\VerifyPendingEmailDomainsJob.php(31): Illuminate\\Log\\Logger->warning(\'email_domain.ve...\', Array)\n#7 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\laravel\\framework\\src\\Illuminate\\Database\\Concerns\\BuildsQueries.php(68): App\\Jobs\\VerifyPendingEmailDomainsJob->App\\Jobs\\{closure}(Object(Illuminate\\Database\\Eloquent\\Collection), 1)\n#8 C:\\xampp\\htdocs\\new_saas\\backend\\app\\Jobs\\VerifyPendingEmailDomainsJob.php(26): Illuminate\\Database\\Eloquent\\Builder->chunk(50, Object(Closure))\n#9 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\laravel\\framework\\src\\Illuminate\\Container\\BoundMethod.php(36): App\\Jobs\\VerifyPendingEmailDomainsJob->handle(Object(App\\Services\\Messaging\\EmailDomainService))\n#10 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\laravel\\framework\\src\\Illuminate\\Container\\Util.php(43): Illuminate\\Container\\BoundMethod::Illuminate\\Container\\{closure}()\n#11 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\laravel\\framework\\src\\Illuminate\\Container\\BoundMethod.php(96): Illuminate\\Container\\Util::unwrapIfClosure(Object(Closure))\n#12 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\laravel\\framework\\src\\Illuminate\\Container\\BoundMethod.php(35): Illuminate\\Container\\BoundMethod::callBoundMethod(Object(Illuminate\\Foundation\\Application), Array, Object(Closure))\n#13 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\laravel\\framework\\src\\Illuminate\\Container\\Container.php(799): Illuminate\\Container\\BoundMethod::call(Object(Illuminate\\Foundation\\Application), Array, Array, NULL)\n#14 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\laravel\\framework\\src\\Illuminate\\Bus\\Dispatcher.php(129): Illuminate\\Container\\Container->call(Array)\n#15 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(180): Illuminate\\Bus\\Dispatcher->Illuminate\\Bus\\{closure}(Object(App\\Jobs\\VerifyPendingEmailDomainsJob))\n#16 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(App\\Jobs\\VerifyPendingEmailDomainsJob))\n#17 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\laravel\\framework\\src\\Illuminate\\Bus\\Dispatcher.php(133): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))\n#18 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\laravel\\framework\\src\\Illuminate\\Queue\\CallQueuedHandler.php(136): Illuminate\\Bus\\Dispatcher->dispatchNow(Object(App\\Jobs\\VerifyPendingEmailDomainsJob), false)\n#19 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(180): Illuminate\\Queue\\CallQueuedHandler->Illuminate\\Queue\\{closure}(Object(App\\Jobs\\VerifyPendingEmailDomainsJob))\n#20 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(App\\Jobs\\VerifyPendingEmailDomainsJob))\n#21 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\laravel\\framework\\src\\Illuminate\\Queue\\CallQueuedHandler.php(129): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))\n#22 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\laravel\\framework\\src\\Illuminate\\Queue\\CallQueuedHandler.php(70): Illuminate\\Queue\\CallQueuedHandler->dispatchThroughMiddleware(Object(Illuminate\\Queue\\Jobs\\DatabaseJob), Object(App\\Jobs\\VerifyPendingEmailDomainsJob))\n#23 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\laravel\\framework\\src\\Illuminate\\Queue\\Jobs\\Job.php(102): Illuminate\\Queue\\CallQueuedHandler->call(Object(Illuminate\\Queue\\Jobs\\DatabaseJob), Array)\n#24 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\laravel\\framework\\src\\Illuminate\\Queue\\Worker.php(485): Illuminate\\Queue\\Jobs\\Job->fire()\n#25 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\laravel\\framework\\src\\Illuminate\\Queue\\Worker.php(435): Illuminate\\Queue\\Worker->process(\'database\', Object(Illuminate\\Queue\\Jobs\\DatabaseJob), Object(Illuminate\\Queue\\WorkerOptions))\n#26 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\laravel\\framework\\src\\Illuminate\\Queue\\Worker.php(201): Illuminate\\Queue\\Worker->runJob(Object(Illuminate\\Queue\\Jobs\\DatabaseJob), \'database\', Object(Illuminate\\Queue\\WorkerOptions))\n#27 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\laravel\\framework\\src\\Illuminate\\Queue\\Console\\WorkCommand.php(148): Illuminate\\Queue\\Worker->daemon(\'database\', \'default\', Object(Illuminate\\Queue\\WorkerOptions))\n#28 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\laravel\\framework\\src\\Illuminate\\Queue\\Console\\WorkCommand.php(131): Illuminate\\Queue\\Console\\WorkCommand->runWorker(\'database\', \'default\')\n#29 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\laravel\\framework\\src\\Illuminate\\Container\\BoundMethod.php(36): Illuminate\\Queue\\Console\\WorkCommand->handle()\n#30 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\laravel\\framework\\src\\Illuminate\\Container\\Util.php(43): Illuminate\\Container\\BoundMethod::Illuminate\\Container\\{closure}()\n#31 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\laravel\\framework\\src\\Illuminate\\Container\\BoundMethod.php(96): Illuminate\\Container\\Util::unwrapIfClosure(Object(Closure))\n#32 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\laravel\\framework\\src\\Illuminate\\Container\\BoundMethod.php(35): Illuminate\\Container\\BoundMethod::callBoundMethod(Object(Illuminate\\Foundation\\Application), Array, Object(Closure))\n#33 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\laravel\\framework\\src\\Illuminate\\Container\\Container.php(799): Illuminate\\Container\\BoundMethod::call(Object(Illuminate\\Foundation\\Application), Array, Array, NULL)\n#34 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\laravel\\framework\\src\\Illuminate\\Console\\Command.php(211): Illuminate\\Container\\Container->call(Array)\n#35 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\symfony\\console\\Command\\Command.php(341): Illuminate\\Console\\Command->execute(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Illuminate\\Console\\OutputStyle))\n#36 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\laravel\\framework\\src\\Illuminate\\Console\\Command.php(180): Symfony\\Component\\Console\\Command\\Command->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Illuminate\\Console\\OutputStyle))\n#37 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\symfony\\console\\Application.php(1117): Illuminate\\Console\\Command->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))\n#38 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\symfony\\console\\Application.php(356): Symfony\\Component\\Console\\Application->doRunCommand(Object(Illuminate\\Queue\\Console\\WorkCommand), Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))\n#39 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\symfony\\console\\Application.php(195): Symfony\\Component\\Console\\Application->doRun(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))\n#40 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Console\\Kernel.php(198): Symfony\\Component\\Console\\Application->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))\n#41 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Application.php(1235): Illuminate\\Foundation\\Console\\Kernel->handle(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))\n#42 C:\\xampp\\htdocs\\new_saas\\backend\\artisan(16): Illuminate\\Foundation\\Application->handleCommand(Object(Symfony\\Component\\Console\\Input\\ArgvInput))\n#43 {main}', '2026-06-18 08:00:03'),
(6, '038cf517-3556-47ee-96d5-fffe7327c3f5', 'database', 'default', '{\"uuid\":\"038cf517-3556-47ee-96d5-fffe7327c3f5\",\"displayName\":\"App\\\\Jobs\\\\VerifyPendingEmailDomainsJob\",\"job\":\"Illuminate\\\\Queue\\\\CallQueuedHandler@call\",\"maxTries\":1,\"maxExceptions\":null,\"failOnTimeout\":false,\"backoff\":null,\"timeout\":null,\"retryUntil\":null,\"data\":{\"commandName\":\"App\\\\Jobs\\\\VerifyPendingEmailDomainsJob\",\"command\":\"O:37:\\\"App\\\\Jobs\\\\VerifyPendingEmailDomainsJob\\\":0:{}\",\"batchId\":null},\"createdAt\":1781856001,\"delay\":null}', 'UnexpectedValueException: The stream or file \"C:\\xampp\\htdocs\\new_saas\\backend\\storage\\logs/infobip-2026-06-19.log\" could not be opened in append mode: Failed to open stream: Permission denied\nThe exception occurred while attempting to log: email_domain.verify.cron_failed\nContext: {\"domain\":\"pixreals.io\",\"error\":\"The stream or file \\\"C:\\\\xampp\\\\htdocs\\\\new_saas\\\\backend\\\\storage\\\\logs\\/infobip-2026-06-19.log\\\" could not be opened in append mode: Failed to open stream: Permission denied\\nThe exception occurred while attempting to log: email_domain.verify.ok\\nContext: {\\\"domain\\\":\\\"pixreals.io\\\",\\\"status\\\":\\\"verifying\\\",\\\"dkim\\\":false,\\\"spf\\\":false,\\\"return_path\\\":false}\"} in C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\monolog\\monolog\\src\\Monolog\\Handler\\StreamHandler.php:164\nStack trace:\n#0 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\monolog\\monolog\\src\\Monolog\\Handler\\RotatingFileHandler.php(113): Monolog\\Handler\\StreamHandler->write(Object(Monolog\\LogRecord))\n#1 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\monolog\\monolog\\src\\Monolog\\Handler\\AbstractProcessingHandler.php(44): Monolog\\Handler\\RotatingFileHandler->write(Object(Monolog\\LogRecord))\n#2 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\monolog\\monolog\\src\\Monolog\\Logger.php(391): Monolog\\Handler\\AbstractProcessingHandler->handle(Object(Monolog\\LogRecord))\n#3 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\monolog\\monolog\\src\\Monolog\\Logger.php(633): Monolog\\Logger->addRecord(Object(Monolog\\Level), \'email_domain.ve...\', Array)\n#4 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\laravel\\framework\\src\\Illuminate\\Log\\Logger.php(187): Monolog\\Logger->warning(\'email_domain.ve...\', Array)\n#5 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\laravel\\framework\\src\\Illuminate\\Log\\Logger.php(108): Illuminate\\Log\\Logger->writeLog(\'warning\', \'email_domain.ve...\', Array)\n#6 C:\\xampp\\htdocs\\new_saas\\backend\\app\\Jobs\\VerifyPendingEmailDomainsJob.php(31): Illuminate\\Log\\Logger->warning(\'email_domain.ve...\', Array)\n#7 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\laravel\\framework\\src\\Illuminate\\Database\\Concerns\\BuildsQueries.php(68): App\\Jobs\\VerifyPendingEmailDomainsJob->App\\Jobs\\{closure}(Object(Illuminate\\Database\\Eloquent\\Collection), 1)\n#8 C:\\xampp\\htdocs\\new_saas\\backend\\app\\Jobs\\VerifyPendingEmailDomainsJob.php(26): Illuminate\\Database\\Eloquent\\Builder->chunk(50, Object(Closure))\n#9 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\laravel\\framework\\src\\Illuminate\\Container\\BoundMethod.php(36): App\\Jobs\\VerifyPendingEmailDomainsJob->handle(Object(App\\Services\\Messaging\\EmailDomainService))\n#10 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\laravel\\framework\\src\\Illuminate\\Container\\Util.php(43): Illuminate\\Container\\BoundMethod::Illuminate\\Container\\{closure}()\n#11 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\laravel\\framework\\src\\Illuminate\\Container\\BoundMethod.php(96): Illuminate\\Container\\Util::unwrapIfClosure(Object(Closure))\n#12 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\laravel\\framework\\src\\Illuminate\\Container\\BoundMethod.php(35): Illuminate\\Container\\BoundMethod::callBoundMethod(Object(Illuminate\\Foundation\\Application), Array, Object(Closure))\n#13 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\laravel\\framework\\src\\Illuminate\\Container\\Container.php(799): Illuminate\\Container\\BoundMethod::call(Object(Illuminate\\Foundation\\Application), Array, Array, NULL)\n#14 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\laravel\\framework\\src\\Illuminate\\Bus\\Dispatcher.php(129): Illuminate\\Container\\Container->call(Array)\n#15 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(180): Illuminate\\Bus\\Dispatcher->Illuminate\\Bus\\{closure}(Object(App\\Jobs\\VerifyPendingEmailDomainsJob))\n#16 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(App\\Jobs\\VerifyPendingEmailDomainsJob))\n#17 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\laravel\\framework\\src\\Illuminate\\Bus\\Dispatcher.php(133): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))\n#18 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\laravel\\framework\\src\\Illuminate\\Queue\\CallQueuedHandler.php(136): Illuminate\\Bus\\Dispatcher->dispatchNow(Object(App\\Jobs\\VerifyPendingEmailDomainsJob), false)\n#19 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(180): Illuminate\\Queue\\CallQueuedHandler->Illuminate\\Queue\\{closure}(Object(App\\Jobs\\VerifyPendingEmailDomainsJob))\n#20 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(App\\Jobs\\VerifyPendingEmailDomainsJob))\n#21 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\laravel\\framework\\src\\Illuminate\\Queue\\CallQueuedHandler.php(129): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))\n#22 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\laravel\\framework\\src\\Illuminate\\Queue\\CallQueuedHandler.php(70): Illuminate\\Queue\\CallQueuedHandler->dispatchThroughMiddleware(Object(Illuminate\\Queue\\Jobs\\DatabaseJob), Object(App\\Jobs\\VerifyPendingEmailDomainsJob))\n#23 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\laravel\\framework\\src\\Illuminate\\Queue\\Jobs\\Job.php(102): Illuminate\\Queue\\CallQueuedHandler->call(Object(Illuminate\\Queue\\Jobs\\DatabaseJob), Array)\n#24 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\laravel\\framework\\src\\Illuminate\\Queue\\Worker.php(485): Illuminate\\Queue\\Jobs\\Job->fire()\n#25 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\laravel\\framework\\src\\Illuminate\\Queue\\Worker.php(435): Illuminate\\Queue\\Worker->process(\'database\', Object(Illuminate\\Queue\\Jobs\\DatabaseJob), Object(Illuminate\\Queue\\WorkerOptions))\n#26 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\laravel\\framework\\src\\Illuminate\\Queue\\Worker.php(201): Illuminate\\Queue\\Worker->runJob(Object(Illuminate\\Queue\\Jobs\\DatabaseJob), \'database\', Object(Illuminate\\Queue\\WorkerOptions))\n#27 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\laravel\\framework\\src\\Illuminate\\Queue\\Console\\WorkCommand.php(148): Illuminate\\Queue\\Worker->daemon(\'database\', \'default\', Object(Illuminate\\Queue\\WorkerOptions))\n#28 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\laravel\\framework\\src\\Illuminate\\Queue\\Console\\WorkCommand.php(131): Illuminate\\Queue\\Console\\WorkCommand->runWorker(\'database\', \'default\')\n#29 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\laravel\\framework\\src\\Illuminate\\Container\\BoundMethod.php(36): Illuminate\\Queue\\Console\\WorkCommand->handle()\n#30 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\laravel\\framework\\src\\Illuminate\\Container\\Util.php(43): Illuminate\\Container\\BoundMethod::Illuminate\\Container\\{closure}()\n#31 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\laravel\\framework\\src\\Illuminate\\Container\\BoundMethod.php(96): Illuminate\\Container\\Util::unwrapIfClosure(Object(Closure))\n#32 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\laravel\\framework\\src\\Illuminate\\Container\\BoundMethod.php(35): Illuminate\\Container\\BoundMethod::callBoundMethod(Object(Illuminate\\Foundation\\Application), Array, Object(Closure))\n#33 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\laravel\\framework\\src\\Illuminate\\Container\\Container.php(799): Illuminate\\Container\\BoundMethod::call(Object(Illuminate\\Foundation\\Application), Array, Array, NULL)\n#34 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\laravel\\framework\\src\\Illuminate\\Console\\Command.php(211): Illuminate\\Container\\Container->call(Array)\n#35 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\symfony\\console\\Command\\Command.php(341): Illuminate\\Console\\Command->execute(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Illuminate\\Console\\OutputStyle))\n#36 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\laravel\\framework\\src\\Illuminate\\Console\\Command.php(180): Symfony\\Component\\Console\\Command\\Command->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Illuminate\\Console\\OutputStyle))\n#37 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\symfony\\console\\Application.php(1117): Illuminate\\Console\\Command->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))\n#38 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\symfony\\console\\Application.php(356): Symfony\\Component\\Console\\Application->doRunCommand(Object(Illuminate\\Queue\\Console\\WorkCommand), Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))\n#39 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\symfony\\console\\Application.php(195): Symfony\\Component\\Console\\Application->doRun(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))\n#40 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Console\\Kernel.php(198): Symfony\\Component\\Console\\Application->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))\n#41 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Application.php(1235): Illuminate\\Foundation\\Console\\Kernel->handle(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))\n#42 C:\\xampp\\htdocs\\new_saas\\backend\\artisan(16): Illuminate\\Foundation\\Application->handleCommand(Object(Symfony\\Component\\Console\\Input\\ArgvInput))\n#43 {main}', '2026-06-19 08:00:02'),
(7, '7da2962d-debd-4d44-a29b-cc675b456250', 'database', 'default', '{\"uuid\":\"7da2962d-debd-4d44-a29b-cc675b456250\",\"displayName\":\"App\\\\Jobs\\\\VerifyPendingEmailDomainsJob\",\"job\":\"Illuminate\\\\Queue\\\\CallQueuedHandler@call\",\"maxTries\":1,\"maxExceptions\":null,\"failOnTimeout\":false,\"backoff\":null,\"timeout\":null,\"retryUntil\":null,\"data\":{\"commandName\":\"App\\\\Jobs\\\\VerifyPendingEmailDomainsJob\",\"command\":\"O:37:\\\"App\\\\Jobs\\\\VerifyPendingEmailDomainsJob\\\":0:{}\",\"batchId\":null},\"createdAt\":1781942401,\"delay\":null}', 'UnexpectedValueException: The stream or file \"C:\\xampp\\htdocs\\new_saas\\backend\\storage\\logs/infobip-2026-06-20.log\" could not be opened in append mode: Failed to open stream: Permission denied\nThe exception occurred while attempting to log: email_domain.verify.cron_failed\nContext: {\"domain\":\"pixreals.io\",\"error\":\"The stream or file \\\"C:\\\\xampp\\\\htdocs\\\\new_saas\\\\backend\\\\storage\\\\logs\\/infobip-2026-06-20.log\\\" could not be opened in append mode: Failed to open stream: Permission denied\\nThe exception occurred while attempting to log: email_domain.verify.ok\\nContext: {\\\"domain\\\":\\\"pixreals.io\\\",\\\"status\\\":\\\"verifying\\\",\\\"dkim\\\":false,\\\"spf\\\":false,\\\"return_path\\\":false}\"} in C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\monolog\\monolog\\src\\Monolog\\Handler\\StreamHandler.php:164\nStack trace:\n#0 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\monolog\\monolog\\src\\Monolog\\Handler\\RotatingFileHandler.php(113): Monolog\\Handler\\StreamHandler->write(Object(Monolog\\LogRecord))\n#1 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\monolog\\monolog\\src\\Monolog\\Handler\\AbstractProcessingHandler.php(44): Monolog\\Handler\\RotatingFileHandler->write(Object(Monolog\\LogRecord))\n#2 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\monolog\\monolog\\src\\Monolog\\Logger.php(391): Monolog\\Handler\\AbstractProcessingHandler->handle(Object(Monolog\\LogRecord))\n#3 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\monolog\\monolog\\src\\Monolog\\Logger.php(633): Monolog\\Logger->addRecord(Object(Monolog\\Level), \'email_domain.ve...\', Array)\n#4 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\laravel\\framework\\src\\Illuminate\\Log\\Logger.php(187): Monolog\\Logger->warning(\'email_domain.ve...\', Array)\n#5 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\laravel\\framework\\src\\Illuminate\\Log\\Logger.php(108): Illuminate\\Log\\Logger->writeLog(\'warning\', \'email_domain.ve...\', Array)\n#6 C:\\xampp\\htdocs\\new_saas\\backend\\app\\Jobs\\VerifyPendingEmailDomainsJob.php(31): Illuminate\\Log\\Logger->warning(\'email_domain.ve...\', Array)\n#7 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\laravel\\framework\\src\\Illuminate\\Database\\Concerns\\BuildsQueries.php(68): App\\Jobs\\VerifyPendingEmailDomainsJob->App\\Jobs\\{closure}(Object(Illuminate\\Database\\Eloquent\\Collection), 1)\n#8 C:\\xampp\\htdocs\\new_saas\\backend\\app\\Jobs\\VerifyPendingEmailDomainsJob.php(26): Illuminate\\Database\\Eloquent\\Builder->chunk(50, Object(Closure))\n#9 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\laravel\\framework\\src\\Illuminate\\Container\\BoundMethod.php(36): App\\Jobs\\VerifyPendingEmailDomainsJob->handle(Object(App\\Services\\Messaging\\EmailDomainService))\n#10 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\laravel\\framework\\src\\Illuminate\\Container\\Util.php(43): Illuminate\\Container\\BoundMethod::Illuminate\\Container\\{closure}()\n#11 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\laravel\\framework\\src\\Illuminate\\Container\\BoundMethod.php(96): Illuminate\\Container\\Util::unwrapIfClosure(Object(Closure))\n#12 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\laravel\\framework\\src\\Illuminate\\Container\\BoundMethod.php(35): Illuminate\\Container\\BoundMethod::callBoundMethod(Object(Illuminate\\Foundation\\Application), Array, Object(Closure))\n#13 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\laravel\\framework\\src\\Illuminate\\Container\\Container.php(799): Illuminate\\Container\\BoundMethod::call(Object(Illuminate\\Foundation\\Application), Array, Array, NULL)\n#14 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\laravel\\framework\\src\\Illuminate\\Bus\\Dispatcher.php(129): Illuminate\\Container\\Container->call(Array)\n#15 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(180): Illuminate\\Bus\\Dispatcher->Illuminate\\Bus\\{closure}(Object(App\\Jobs\\VerifyPendingEmailDomainsJob))\n#16 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(App\\Jobs\\VerifyPendingEmailDomainsJob))\n#17 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\laravel\\framework\\src\\Illuminate\\Bus\\Dispatcher.php(133): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))\n#18 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\laravel\\framework\\src\\Illuminate\\Queue\\CallQueuedHandler.php(136): Illuminate\\Bus\\Dispatcher->dispatchNow(Object(App\\Jobs\\VerifyPendingEmailDomainsJob), false)\n#19 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(180): Illuminate\\Queue\\CallQueuedHandler->Illuminate\\Queue\\{closure}(Object(App\\Jobs\\VerifyPendingEmailDomainsJob))\n#20 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(App\\Jobs\\VerifyPendingEmailDomainsJob))\n#21 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\laravel\\framework\\src\\Illuminate\\Queue\\CallQueuedHandler.php(129): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))\n#22 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\laravel\\framework\\src\\Illuminate\\Queue\\CallQueuedHandler.php(70): Illuminate\\Queue\\CallQueuedHandler->dispatchThroughMiddleware(Object(Illuminate\\Queue\\Jobs\\DatabaseJob), Object(App\\Jobs\\VerifyPendingEmailDomainsJob))\n#23 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\laravel\\framework\\src\\Illuminate\\Queue\\Jobs\\Job.php(102): Illuminate\\Queue\\CallQueuedHandler->call(Object(Illuminate\\Queue\\Jobs\\DatabaseJob), Array)\n#24 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\laravel\\framework\\src\\Illuminate\\Queue\\Worker.php(485): Illuminate\\Queue\\Jobs\\Job->fire()\n#25 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\laravel\\framework\\src\\Illuminate\\Queue\\Worker.php(435): Illuminate\\Queue\\Worker->process(\'database\', Object(Illuminate\\Queue\\Jobs\\DatabaseJob), Object(Illuminate\\Queue\\WorkerOptions))\n#26 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\laravel\\framework\\src\\Illuminate\\Queue\\Worker.php(201): Illuminate\\Queue\\Worker->runJob(Object(Illuminate\\Queue\\Jobs\\DatabaseJob), \'database\', Object(Illuminate\\Queue\\WorkerOptions))\n#27 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\laravel\\framework\\src\\Illuminate\\Queue\\Console\\WorkCommand.php(148): Illuminate\\Queue\\Worker->daemon(\'database\', \'default\', Object(Illuminate\\Queue\\WorkerOptions))\n#28 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\laravel\\framework\\src\\Illuminate\\Queue\\Console\\WorkCommand.php(131): Illuminate\\Queue\\Console\\WorkCommand->runWorker(\'database\', \'default\')\n#29 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\laravel\\framework\\src\\Illuminate\\Container\\BoundMethod.php(36): Illuminate\\Queue\\Console\\WorkCommand->handle()\n#30 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\laravel\\framework\\src\\Illuminate\\Container\\Util.php(43): Illuminate\\Container\\BoundMethod::Illuminate\\Container\\{closure}()\n#31 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\laravel\\framework\\src\\Illuminate\\Container\\BoundMethod.php(96): Illuminate\\Container\\Util::unwrapIfClosure(Object(Closure))\n#32 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\laravel\\framework\\src\\Illuminate\\Container\\BoundMethod.php(35): Illuminate\\Container\\BoundMethod::callBoundMethod(Object(Illuminate\\Foundation\\Application), Array, Object(Closure))\n#33 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\laravel\\framework\\src\\Illuminate\\Container\\Container.php(799): Illuminate\\Container\\BoundMethod::call(Object(Illuminate\\Foundation\\Application), Array, Array, NULL)\n#34 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\laravel\\framework\\src\\Illuminate\\Console\\Command.php(211): Illuminate\\Container\\Container->call(Array)\n#35 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\symfony\\console\\Command\\Command.php(341): Illuminate\\Console\\Command->execute(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Illuminate\\Console\\OutputStyle))\n#36 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\laravel\\framework\\src\\Illuminate\\Console\\Command.php(180): Symfony\\Component\\Console\\Command\\Command->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Illuminate\\Console\\OutputStyle))\n#37 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\symfony\\console\\Application.php(1117): Illuminate\\Console\\Command->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))\n#38 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\symfony\\console\\Application.php(356): Symfony\\Component\\Console\\Application->doRunCommand(Object(Illuminate\\Queue\\Console\\WorkCommand), Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))\n#39 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\symfony\\console\\Application.php(195): Symfony\\Component\\Console\\Application->doRun(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))\n#40 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Console\\Kernel.php(198): Symfony\\Component\\Console\\Application->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))\n#41 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Application.php(1235): Illuminate\\Foundation\\Console\\Kernel->handle(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))\n#42 C:\\xampp\\htdocs\\new_saas\\backend\\artisan(16): Illuminate\\Foundation\\Application->handleCommand(Object(Symfony\\Component\\Console\\Input\\ArgvInput))\n#43 {main}', '2026-06-20 08:00:04');
INSERT INTO `failed_jobs` (`id`, `uuid`, `connection`, `queue`, `payload`, `exception`, `failed_at`) VALUES
(8, '0b7062a1-5af8-4003-b995-0b4e4caf9c6f', 'database', 'default', '{\"uuid\":\"0b7062a1-5af8-4003-b995-0b4e4caf9c6f\",\"displayName\":\"App\\\\Jobs\\\\VerifyPendingEmailDomainsJob\",\"job\":\"Illuminate\\\\Queue\\\\CallQueuedHandler@call\",\"maxTries\":1,\"maxExceptions\":null,\"failOnTimeout\":false,\"backoff\":null,\"timeout\":null,\"retryUntil\":null,\"data\":{\"commandName\":\"App\\\\Jobs\\\\VerifyPendingEmailDomainsJob\",\"command\":\"O:37:\\\"App\\\\Jobs\\\\VerifyPendingEmailDomainsJob\\\":0:{}\",\"batchId\":null},\"createdAt\":1782028801,\"delay\":null}', 'UnexpectedValueException: The stream or file \"C:\\xampp\\htdocs\\new_saas\\backend\\storage\\logs/infobip-2026-06-21.log\" could not be opened in append mode: Failed to open stream: Permission denied\nThe exception occurred while attempting to log: email_domain.verify.cron_failed\nContext: {\"domain\":\"pixreals.io\",\"error\":\"The stream or file \\\"C:\\\\xampp\\\\htdocs\\\\new_saas\\\\backend\\\\storage\\\\logs\\/infobip-2026-06-21.log\\\" could not be opened in append mode: Failed to open stream: Permission denied\\nThe exception occurred while attempting to log: email_domain.verify.ok\\nContext: {\\\"domain\\\":\\\"pixreals.io\\\",\\\"status\\\":\\\"verifying\\\",\\\"dkim\\\":false,\\\"spf\\\":false,\\\"return_path\\\":false}\"} in C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\monolog\\monolog\\src\\Monolog\\Handler\\StreamHandler.php:164\nStack trace:\n#0 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\monolog\\monolog\\src\\Monolog\\Handler\\RotatingFileHandler.php(113): Monolog\\Handler\\StreamHandler->write(Object(Monolog\\LogRecord))\n#1 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\monolog\\monolog\\src\\Monolog\\Handler\\AbstractProcessingHandler.php(44): Monolog\\Handler\\RotatingFileHandler->write(Object(Monolog\\LogRecord))\n#2 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\monolog\\monolog\\src\\Monolog\\Logger.php(391): Monolog\\Handler\\AbstractProcessingHandler->handle(Object(Monolog\\LogRecord))\n#3 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\monolog\\monolog\\src\\Monolog\\Logger.php(633): Monolog\\Logger->addRecord(Object(Monolog\\Level), \'email_domain.ve...\', Array)\n#4 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\laravel\\framework\\src\\Illuminate\\Log\\Logger.php(187): Monolog\\Logger->warning(\'email_domain.ve...\', Array)\n#5 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\laravel\\framework\\src\\Illuminate\\Log\\Logger.php(108): Illuminate\\Log\\Logger->writeLog(\'warning\', \'email_domain.ve...\', Array)\n#6 C:\\xampp\\htdocs\\new_saas\\backend\\app\\Jobs\\VerifyPendingEmailDomainsJob.php(31): Illuminate\\Log\\Logger->warning(\'email_domain.ve...\', Array)\n#7 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\laravel\\framework\\src\\Illuminate\\Database\\Concerns\\BuildsQueries.php(68): App\\Jobs\\VerifyPendingEmailDomainsJob->App\\Jobs\\{closure}(Object(Illuminate\\Database\\Eloquent\\Collection), 1)\n#8 C:\\xampp\\htdocs\\new_saas\\backend\\app\\Jobs\\VerifyPendingEmailDomainsJob.php(26): Illuminate\\Database\\Eloquent\\Builder->chunk(50, Object(Closure))\n#9 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\laravel\\framework\\src\\Illuminate\\Container\\BoundMethod.php(36): App\\Jobs\\VerifyPendingEmailDomainsJob->handle(Object(App\\Services\\Messaging\\EmailDomainService))\n#10 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\laravel\\framework\\src\\Illuminate\\Container\\Util.php(43): Illuminate\\Container\\BoundMethod::Illuminate\\Container\\{closure}()\n#11 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\laravel\\framework\\src\\Illuminate\\Container\\BoundMethod.php(96): Illuminate\\Container\\Util::unwrapIfClosure(Object(Closure))\n#12 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\laravel\\framework\\src\\Illuminate\\Container\\BoundMethod.php(35): Illuminate\\Container\\BoundMethod::callBoundMethod(Object(Illuminate\\Foundation\\Application), Array, Object(Closure))\n#13 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\laravel\\framework\\src\\Illuminate\\Container\\Container.php(799): Illuminate\\Container\\BoundMethod::call(Object(Illuminate\\Foundation\\Application), Array, Array, NULL)\n#14 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\laravel\\framework\\src\\Illuminate\\Bus\\Dispatcher.php(129): Illuminate\\Container\\Container->call(Array)\n#15 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(180): Illuminate\\Bus\\Dispatcher->Illuminate\\Bus\\{closure}(Object(App\\Jobs\\VerifyPendingEmailDomainsJob))\n#16 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(App\\Jobs\\VerifyPendingEmailDomainsJob))\n#17 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\laravel\\framework\\src\\Illuminate\\Bus\\Dispatcher.php(133): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))\n#18 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\laravel\\framework\\src\\Illuminate\\Queue\\CallQueuedHandler.php(136): Illuminate\\Bus\\Dispatcher->dispatchNow(Object(App\\Jobs\\VerifyPendingEmailDomainsJob), false)\n#19 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(180): Illuminate\\Queue\\CallQueuedHandler->Illuminate\\Queue\\{closure}(Object(App\\Jobs\\VerifyPendingEmailDomainsJob))\n#20 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(App\\Jobs\\VerifyPendingEmailDomainsJob))\n#21 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\laravel\\framework\\src\\Illuminate\\Queue\\CallQueuedHandler.php(129): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))\n#22 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\laravel\\framework\\src\\Illuminate\\Queue\\CallQueuedHandler.php(70): Illuminate\\Queue\\CallQueuedHandler->dispatchThroughMiddleware(Object(Illuminate\\Queue\\Jobs\\DatabaseJob), Object(App\\Jobs\\VerifyPendingEmailDomainsJob))\n#23 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\laravel\\framework\\src\\Illuminate\\Queue\\Jobs\\Job.php(102): Illuminate\\Queue\\CallQueuedHandler->call(Object(Illuminate\\Queue\\Jobs\\DatabaseJob), Array)\n#24 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\laravel\\framework\\src\\Illuminate\\Queue\\Worker.php(485): Illuminate\\Queue\\Jobs\\Job->fire()\n#25 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\laravel\\framework\\src\\Illuminate\\Queue\\Worker.php(435): Illuminate\\Queue\\Worker->process(\'database\', Object(Illuminate\\Queue\\Jobs\\DatabaseJob), Object(Illuminate\\Queue\\WorkerOptions))\n#26 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\laravel\\framework\\src\\Illuminate\\Queue\\Worker.php(201): Illuminate\\Queue\\Worker->runJob(Object(Illuminate\\Queue\\Jobs\\DatabaseJob), \'database\', Object(Illuminate\\Queue\\WorkerOptions))\n#27 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\laravel\\framework\\src\\Illuminate\\Queue\\Console\\WorkCommand.php(148): Illuminate\\Queue\\Worker->daemon(\'database\', \'default\', Object(Illuminate\\Queue\\WorkerOptions))\n#28 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\laravel\\framework\\src\\Illuminate\\Queue\\Console\\WorkCommand.php(131): Illuminate\\Queue\\Console\\WorkCommand->runWorker(\'database\', \'default\')\n#29 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\laravel\\framework\\src\\Illuminate\\Container\\BoundMethod.php(36): Illuminate\\Queue\\Console\\WorkCommand->handle()\n#30 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\laravel\\framework\\src\\Illuminate\\Container\\Util.php(43): Illuminate\\Container\\BoundMethod::Illuminate\\Container\\{closure}()\n#31 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\laravel\\framework\\src\\Illuminate\\Container\\BoundMethod.php(96): Illuminate\\Container\\Util::unwrapIfClosure(Object(Closure))\n#32 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\laravel\\framework\\src\\Illuminate\\Container\\BoundMethod.php(35): Illuminate\\Container\\BoundMethod::callBoundMethod(Object(Illuminate\\Foundation\\Application), Array, Object(Closure))\n#33 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\laravel\\framework\\src\\Illuminate\\Container\\Container.php(799): Illuminate\\Container\\BoundMethod::call(Object(Illuminate\\Foundation\\Application), Array, Array, NULL)\n#34 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\laravel\\framework\\src\\Illuminate\\Console\\Command.php(211): Illuminate\\Container\\Container->call(Array)\n#35 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\symfony\\console\\Command\\Command.php(341): Illuminate\\Console\\Command->execute(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Illuminate\\Console\\OutputStyle))\n#36 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\laravel\\framework\\src\\Illuminate\\Console\\Command.php(180): Symfony\\Component\\Console\\Command\\Command->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Illuminate\\Console\\OutputStyle))\n#37 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\symfony\\console\\Application.php(1117): Illuminate\\Console\\Command->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))\n#38 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\symfony\\console\\Application.php(356): Symfony\\Component\\Console\\Application->doRunCommand(Object(Illuminate\\Queue\\Console\\WorkCommand), Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))\n#39 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\symfony\\console\\Application.php(195): Symfony\\Component\\Console\\Application->doRun(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))\n#40 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Console\\Kernel.php(198): Symfony\\Component\\Console\\Application->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))\n#41 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Application.php(1235): Illuminate\\Foundation\\Console\\Kernel->handle(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))\n#42 C:\\xampp\\htdocs\\new_saas\\backend\\artisan(16): Illuminate\\Foundation\\Application->handleCommand(Object(Symfony\\Component\\Console\\Input\\ArgvInput))\n#43 {main}', '2026-06-21 08:00:04'),
(9, '38c34f53-26d1-44b6-a46f-6a503a1d8d1c', 'database', 'default', '{\"uuid\":\"38c34f53-26d1-44b6-a46f-6a503a1d8d1c\",\"displayName\":\"App\\\\Jobs\\\\VerifyPendingEmailDomainsJob\",\"job\":\"Illuminate\\\\Queue\\\\CallQueuedHandler@call\",\"maxTries\":1,\"maxExceptions\":null,\"failOnTimeout\":false,\"backoff\":null,\"timeout\":null,\"retryUntil\":null,\"data\":{\"commandName\":\"App\\\\Jobs\\\\VerifyPendingEmailDomainsJob\",\"command\":\"O:37:\\\"App\\\\Jobs\\\\VerifyPendingEmailDomainsJob\\\":0:{}\",\"batchId\":null},\"createdAt\":1782115201,\"delay\":null}', 'UnexpectedValueException: The stream or file \"C:\\xampp\\htdocs\\new_saas\\backend\\storage\\logs/infobip-2026-06-22.log\" could not be opened in append mode: Failed to open stream: Permission denied\nThe exception occurred while attempting to log: email_domain.verify.cron_failed\nContext: {\"domain\":\"pixreals.io\",\"error\":\"The stream or file \\\"C:\\\\xampp\\\\htdocs\\\\new_saas\\\\backend\\\\storage\\\\logs\\/infobip-2026-06-22.log\\\" could not be opened in append mode: Failed to open stream: Permission denied\\nThe exception occurred while attempting to log: email_domain.verify.ok\\nContext: {\\\"domain\\\":\\\"pixreals.io\\\",\\\"status\\\":\\\"verifying\\\",\\\"dkim\\\":false,\\\"spf\\\":false,\\\"return_path\\\":false}\"} in C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\monolog\\monolog\\src\\Monolog\\Handler\\StreamHandler.php:164\nStack trace:\n#0 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\monolog\\monolog\\src\\Monolog\\Handler\\RotatingFileHandler.php(113): Monolog\\Handler\\StreamHandler->write(Object(Monolog\\LogRecord))\n#1 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\monolog\\monolog\\src\\Monolog\\Handler\\AbstractProcessingHandler.php(44): Monolog\\Handler\\RotatingFileHandler->write(Object(Monolog\\LogRecord))\n#2 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\monolog\\monolog\\src\\Monolog\\Logger.php(391): Monolog\\Handler\\AbstractProcessingHandler->handle(Object(Monolog\\LogRecord))\n#3 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\monolog\\monolog\\src\\Monolog\\Logger.php(633): Monolog\\Logger->addRecord(Object(Monolog\\Level), \'email_domain.ve...\', Array)\n#4 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\laravel\\framework\\src\\Illuminate\\Log\\Logger.php(187): Monolog\\Logger->warning(\'email_domain.ve...\', Array)\n#5 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\laravel\\framework\\src\\Illuminate\\Log\\Logger.php(108): Illuminate\\Log\\Logger->writeLog(\'warning\', \'email_domain.ve...\', Array)\n#6 C:\\xampp\\htdocs\\new_saas\\backend\\app\\Jobs\\VerifyPendingEmailDomainsJob.php(31): Illuminate\\Log\\Logger->warning(\'email_domain.ve...\', Array)\n#7 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\laravel\\framework\\src\\Illuminate\\Database\\Concerns\\BuildsQueries.php(68): App\\Jobs\\VerifyPendingEmailDomainsJob->App\\Jobs\\{closure}(Object(Illuminate\\Database\\Eloquent\\Collection), 1)\n#8 C:\\xampp\\htdocs\\new_saas\\backend\\app\\Jobs\\VerifyPendingEmailDomainsJob.php(26): Illuminate\\Database\\Eloquent\\Builder->chunk(50, Object(Closure))\n#9 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\laravel\\framework\\src\\Illuminate\\Container\\BoundMethod.php(36): App\\Jobs\\VerifyPendingEmailDomainsJob->handle(Object(App\\Services\\Messaging\\EmailDomainService))\n#10 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\laravel\\framework\\src\\Illuminate\\Container\\Util.php(43): Illuminate\\Container\\BoundMethod::Illuminate\\Container\\{closure}()\n#11 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\laravel\\framework\\src\\Illuminate\\Container\\BoundMethod.php(96): Illuminate\\Container\\Util::unwrapIfClosure(Object(Closure))\n#12 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\laravel\\framework\\src\\Illuminate\\Container\\BoundMethod.php(35): Illuminate\\Container\\BoundMethod::callBoundMethod(Object(Illuminate\\Foundation\\Application), Array, Object(Closure))\n#13 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\laravel\\framework\\src\\Illuminate\\Container\\Container.php(799): Illuminate\\Container\\BoundMethod::call(Object(Illuminate\\Foundation\\Application), Array, Array, NULL)\n#14 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\laravel\\framework\\src\\Illuminate\\Bus\\Dispatcher.php(129): Illuminate\\Container\\Container->call(Array)\n#15 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(180): Illuminate\\Bus\\Dispatcher->Illuminate\\Bus\\{closure}(Object(App\\Jobs\\VerifyPendingEmailDomainsJob))\n#16 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(App\\Jobs\\VerifyPendingEmailDomainsJob))\n#17 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\laravel\\framework\\src\\Illuminate\\Bus\\Dispatcher.php(133): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))\n#18 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\laravel\\framework\\src\\Illuminate\\Queue\\CallQueuedHandler.php(136): Illuminate\\Bus\\Dispatcher->dispatchNow(Object(App\\Jobs\\VerifyPendingEmailDomainsJob), false)\n#19 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(180): Illuminate\\Queue\\CallQueuedHandler->Illuminate\\Queue\\{closure}(Object(App\\Jobs\\VerifyPendingEmailDomainsJob))\n#20 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(App\\Jobs\\VerifyPendingEmailDomainsJob))\n#21 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\laravel\\framework\\src\\Illuminate\\Queue\\CallQueuedHandler.php(129): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))\n#22 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\laravel\\framework\\src\\Illuminate\\Queue\\CallQueuedHandler.php(70): Illuminate\\Queue\\CallQueuedHandler->dispatchThroughMiddleware(Object(Illuminate\\Queue\\Jobs\\DatabaseJob), Object(App\\Jobs\\VerifyPendingEmailDomainsJob))\n#23 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\laravel\\framework\\src\\Illuminate\\Queue\\Jobs\\Job.php(102): Illuminate\\Queue\\CallQueuedHandler->call(Object(Illuminate\\Queue\\Jobs\\DatabaseJob), Array)\n#24 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\laravel\\framework\\src\\Illuminate\\Queue\\Worker.php(485): Illuminate\\Queue\\Jobs\\Job->fire()\n#25 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\laravel\\framework\\src\\Illuminate\\Queue\\Worker.php(435): Illuminate\\Queue\\Worker->process(\'database\', Object(Illuminate\\Queue\\Jobs\\DatabaseJob), Object(Illuminate\\Queue\\WorkerOptions))\n#26 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\laravel\\framework\\src\\Illuminate\\Queue\\Worker.php(201): Illuminate\\Queue\\Worker->runJob(Object(Illuminate\\Queue\\Jobs\\DatabaseJob), \'database\', Object(Illuminate\\Queue\\WorkerOptions))\n#27 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\laravel\\framework\\src\\Illuminate\\Queue\\Console\\WorkCommand.php(148): Illuminate\\Queue\\Worker->daemon(\'database\', \'default\', Object(Illuminate\\Queue\\WorkerOptions))\n#28 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\laravel\\framework\\src\\Illuminate\\Queue\\Console\\WorkCommand.php(131): Illuminate\\Queue\\Console\\WorkCommand->runWorker(\'database\', \'default\')\n#29 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\laravel\\framework\\src\\Illuminate\\Container\\BoundMethod.php(36): Illuminate\\Queue\\Console\\WorkCommand->handle()\n#30 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\laravel\\framework\\src\\Illuminate\\Container\\Util.php(43): Illuminate\\Container\\BoundMethod::Illuminate\\Container\\{closure}()\n#31 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\laravel\\framework\\src\\Illuminate\\Container\\BoundMethod.php(96): Illuminate\\Container\\Util::unwrapIfClosure(Object(Closure))\n#32 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\laravel\\framework\\src\\Illuminate\\Container\\BoundMethod.php(35): Illuminate\\Container\\BoundMethod::callBoundMethod(Object(Illuminate\\Foundation\\Application), Array, Object(Closure))\n#33 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\laravel\\framework\\src\\Illuminate\\Container\\Container.php(799): Illuminate\\Container\\BoundMethod::call(Object(Illuminate\\Foundation\\Application), Array, Array, NULL)\n#34 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\laravel\\framework\\src\\Illuminate\\Console\\Command.php(211): Illuminate\\Container\\Container->call(Array)\n#35 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\symfony\\console\\Command\\Command.php(341): Illuminate\\Console\\Command->execute(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Illuminate\\Console\\OutputStyle))\n#36 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\laravel\\framework\\src\\Illuminate\\Console\\Command.php(180): Symfony\\Component\\Console\\Command\\Command->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Illuminate\\Console\\OutputStyle))\n#37 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\symfony\\console\\Application.php(1117): Illuminate\\Console\\Command->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))\n#38 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\symfony\\console\\Application.php(356): Symfony\\Component\\Console\\Application->doRunCommand(Object(Illuminate\\Queue\\Console\\WorkCommand), Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))\n#39 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\symfony\\console\\Application.php(195): Symfony\\Component\\Console\\Application->doRun(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))\n#40 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Console\\Kernel.php(198): Symfony\\Component\\Console\\Application->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))\n#41 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Application.php(1235): Illuminate\\Foundation\\Console\\Kernel->handle(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))\n#42 C:\\xampp\\htdocs\\new_saas\\backend\\artisan(16): Illuminate\\Foundation\\Application->handleCommand(Object(Symfony\\Component\\Console\\Input\\ArgvInput))\n#43 {main}', '2026-06-22 08:00:05'),
(10, '4cdf7e08-df1e-4655-b939-0c7517d6da57', 'database', 'default', '{\"uuid\":\"4cdf7e08-df1e-4655-b939-0c7517d6da57\",\"displayName\":\"App\\\\Jobs\\\\VerifyPendingEmailDomainsJob\",\"job\":\"Illuminate\\\\Queue\\\\CallQueuedHandler@call\",\"maxTries\":1,\"maxExceptions\":null,\"failOnTimeout\":false,\"backoff\":null,\"timeout\":null,\"retryUntil\":null,\"data\":{\"commandName\":\"App\\\\Jobs\\\\VerifyPendingEmailDomainsJob\",\"command\":\"O:37:\\\"App\\\\Jobs\\\\VerifyPendingEmailDomainsJob\\\":0:{}\",\"batchId\":null},\"createdAt\":1782201601,\"delay\":null}', 'UnexpectedValueException: The stream or file \"C:\\xampp\\htdocs\\new_saas\\backend\\storage\\logs/infobip-2026-06-23.log\" could not be opened in append mode: Failed to open stream: Permission denied\nThe exception occurred while attempting to log: email_domain.verify.cron_failed\nContext: {\"domain\":\"pixreals.io\",\"error\":\"The stream or file \\\"C:\\\\xampp\\\\htdocs\\\\new_saas\\\\backend\\\\storage\\\\logs\\/infobip-2026-06-23.log\\\" could not be opened in append mode: Failed to open stream: Permission denied\\nThe exception occurred while attempting to log: email_domain.verify.ok\\nContext: {\\\"domain\\\":\\\"pixreals.io\\\",\\\"status\\\":\\\"verifying\\\",\\\"dkim\\\":false,\\\"spf\\\":false,\\\"return_path\\\":false}\"} in C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\monolog\\monolog\\src\\Monolog\\Handler\\StreamHandler.php:164\nStack trace:\n#0 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\monolog\\monolog\\src\\Monolog\\Handler\\RotatingFileHandler.php(113): Monolog\\Handler\\StreamHandler->write(Object(Monolog\\LogRecord))\n#1 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\monolog\\monolog\\src\\Monolog\\Handler\\AbstractProcessingHandler.php(44): Monolog\\Handler\\RotatingFileHandler->write(Object(Monolog\\LogRecord))\n#2 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\monolog\\monolog\\src\\Monolog\\Logger.php(391): Monolog\\Handler\\AbstractProcessingHandler->handle(Object(Monolog\\LogRecord))\n#3 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\monolog\\monolog\\src\\Monolog\\Logger.php(633): Monolog\\Logger->addRecord(Object(Monolog\\Level), \'email_domain.ve...\', Array)\n#4 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\laravel\\framework\\src\\Illuminate\\Log\\Logger.php(187): Monolog\\Logger->warning(\'email_domain.ve...\', Array)\n#5 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\laravel\\framework\\src\\Illuminate\\Log\\Logger.php(108): Illuminate\\Log\\Logger->writeLog(\'warning\', \'email_domain.ve...\', Array)\n#6 C:\\xampp\\htdocs\\new_saas\\backend\\app\\Jobs\\VerifyPendingEmailDomainsJob.php(31): Illuminate\\Log\\Logger->warning(\'email_domain.ve...\', Array)\n#7 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\laravel\\framework\\src\\Illuminate\\Database\\Concerns\\BuildsQueries.php(68): App\\Jobs\\VerifyPendingEmailDomainsJob->App\\Jobs\\{closure}(Object(Illuminate\\Database\\Eloquent\\Collection), 1)\n#8 C:\\xampp\\htdocs\\new_saas\\backend\\app\\Jobs\\VerifyPendingEmailDomainsJob.php(26): Illuminate\\Database\\Eloquent\\Builder->chunk(50, Object(Closure))\n#9 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\laravel\\framework\\src\\Illuminate\\Container\\BoundMethod.php(36): App\\Jobs\\VerifyPendingEmailDomainsJob->handle(Object(App\\Services\\Messaging\\EmailDomainService))\n#10 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\laravel\\framework\\src\\Illuminate\\Container\\Util.php(43): Illuminate\\Container\\BoundMethod::Illuminate\\Container\\{closure}()\n#11 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\laravel\\framework\\src\\Illuminate\\Container\\BoundMethod.php(96): Illuminate\\Container\\Util::unwrapIfClosure(Object(Closure))\n#12 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\laravel\\framework\\src\\Illuminate\\Container\\BoundMethod.php(35): Illuminate\\Container\\BoundMethod::callBoundMethod(Object(Illuminate\\Foundation\\Application), Array, Object(Closure))\n#13 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\laravel\\framework\\src\\Illuminate\\Container\\Container.php(799): Illuminate\\Container\\BoundMethod::call(Object(Illuminate\\Foundation\\Application), Array, Array, NULL)\n#14 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\laravel\\framework\\src\\Illuminate\\Bus\\Dispatcher.php(129): Illuminate\\Container\\Container->call(Array)\n#15 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(180): Illuminate\\Bus\\Dispatcher->Illuminate\\Bus\\{closure}(Object(App\\Jobs\\VerifyPendingEmailDomainsJob))\n#16 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(App\\Jobs\\VerifyPendingEmailDomainsJob))\n#17 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\laravel\\framework\\src\\Illuminate\\Bus\\Dispatcher.php(133): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))\n#18 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\laravel\\framework\\src\\Illuminate\\Queue\\CallQueuedHandler.php(136): Illuminate\\Bus\\Dispatcher->dispatchNow(Object(App\\Jobs\\VerifyPendingEmailDomainsJob), false)\n#19 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(180): Illuminate\\Queue\\CallQueuedHandler->Illuminate\\Queue\\{closure}(Object(App\\Jobs\\VerifyPendingEmailDomainsJob))\n#20 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(App\\Jobs\\VerifyPendingEmailDomainsJob))\n#21 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\laravel\\framework\\src\\Illuminate\\Queue\\CallQueuedHandler.php(129): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))\n#22 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\laravel\\framework\\src\\Illuminate\\Queue\\CallQueuedHandler.php(70): Illuminate\\Queue\\CallQueuedHandler->dispatchThroughMiddleware(Object(Illuminate\\Queue\\Jobs\\DatabaseJob), Object(App\\Jobs\\VerifyPendingEmailDomainsJob))\n#23 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\laravel\\framework\\src\\Illuminate\\Queue\\Jobs\\Job.php(102): Illuminate\\Queue\\CallQueuedHandler->call(Object(Illuminate\\Queue\\Jobs\\DatabaseJob), Array)\n#24 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\laravel\\framework\\src\\Illuminate\\Queue\\Worker.php(485): Illuminate\\Queue\\Jobs\\Job->fire()\n#25 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\laravel\\framework\\src\\Illuminate\\Queue\\Worker.php(435): Illuminate\\Queue\\Worker->process(\'database\', Object(Illuminate\\Queue\\Jobs\\DatabaseJob), Object(Illuminate\\Queue\\WorkerOptions))\n#26 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\laravel\\framework\\src\\Illuminate\\Queue\\Worker.php(201): Illuminate\\Queue\\Worker->runJob(Object(Illuminate\\Queue\\Jobs\\DatabaseJob), \'database\', Object(Illuminate\\Queue\\WorkerOptions))\n#27 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\laravel\\framework\\src\\Illuminate\\Queue\\Console\\WorkCommand.php(148): Illuminate\\Queue\\Worker->daemon(\'database\', \'default\', Object(Illuminate\\Queue\\WorkerOptions))\n#28 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\laravel\\framework\\src\\Illuminate\\Queue\\Console\\WorkCommand.php(131): Illuminate\\Queue\\Console\\WorkCommand->runWorker(\'database\', \'default\')\n#29 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\laravel\\framework\\src\\Illuminate\\Container\\BoundMethod.php(36): Illuminate\\Queue\\Console\\WorkCommand->handle()\n#30 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\laravel\\framework\\src\\Illuminate\\Container\\Util.php(43): Illuminate\\Container\\BoundMethod::Illuminate\\Container\\{closure}()\n#31 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\laravel\\framework\\src\\Illuminate\\Container\\BoundMethod.php(96): Illuminate\\Container\\Util::unwrapIfClosure(Object(Closure))\n#32 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\laravel\\framework\\src\\Illuminate\\Container\\BoundMethod.php(35): Illuminate\\Container\\BoundMethod::callBoundMethod(Object(Illuminate\\Foundation\\Application), Array, Object(Closure))\n#33 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\laravel\\framework\\src\\Illuminate\\Container\\Container.php(799): Illuminate\\Container\\BoundMethod::call(Object(Illuminate\\Foundation\\Application), Array, Array, NULL)\n#34 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\laravel\\framework\\src\\Illuminate\\Console\\Command.php(211): Illuminate\\Container\\Container->call(Array)\n#35 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\symfony\\console\\Command\\Command.php(341): Illuminate\\Console\\Command->execute(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Illuminate\\Console\\OutputStyle))\n#36 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\laravel\\framework\\src\\Illuminate\\Console\\Command.php(180): Symfony\\Component\\Console\\Command\\Command->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Illuminate\\Console\\OutputStyle))\n#37 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\symfony\\console\\Application.php(1117): Illuminate\\Console\\Command->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))\n#38 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\symfony\\console\\Application.php(356): Symfony\\Component\\Console\\Application->doRunCommand(Object(Illuminate\\Queue\\Console\\WorkCommand), Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))\n#39 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\symfony\\console\\Application.php(195): Symfony\\Component\\Console\\Application->doRun(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))\n#40 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Console\\Kernel.php(198): Symfony\\Component\\Console\\Application->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))\n#41 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Application.php(1235): Illuminate\\Foundation\\Console\\Kernel->handle(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))\n#42 C:\\xampp\\htdocs\\new_saas\\backend\\artisan(16): Illuminate\\Foundation\\Application->handleCommand(Object(Symfony\\Component\\Console\\Input\\ArgvInput))\n#43 {main}', '2026-06-23 08:00:03'),
(11, '2c1cd6b8-8dcd-4700-b6ba-29eba20b2337', 'database', 'default', '{\"uuid\":\"2c1cd6b8-8dcd-4700-b6ba-29eba20b2337\",\"displayName\":\"App\\\\Jobs\\\\VerifyPendingEmailDomainsJob\",\"job\":\"Illuminate\\\\Queue\\\\CallQueuedHandler@call\",\"maxTries\":1,\"maxExceptions\":null,\"failOnTimeout\":false,\"backoff\":null,\"timeout\":null,\"retryUntil\":null,\"data\":{\"commandName\":\"App\\\\Jobs\\\\VerifyPendingEmailDomainsJob\",\"command\":\"O:37:\\\"App\\\\Jobs\\\\VerifyPendingEmailDomainsJob\\\":0:{}\",\"batchId\":null},\"createdAt\":1782288001,\"delay\":null}', 'UnexpectedValueException: The stream or file \"C:\\xampp\\htdocs\\new_saas\\backend\\storage\\logs/infobip-2026-06-24.log\" could not be opened in append mode: Failed to open stream: Permission denied\nThe exception occurred while attempting to log: email_domain.verify.cron_failed\nContext: {\"domain\":\"pixreals.io\",\"error\":\"The stream or file \\\"C:\\\\xampp\\\\htdocs\\\\new_saas\\\\backend\\\\storage\\\\logs\\/infobip-2026-06-24.log\\\" could not be opened in append mode: Failed to open stream: Permission denied\\nThe exception occurred while attempting to log: email_domain.verify.ok\\nContext: {\\\"domain\\\":\\\"pixreals.io\\\",\\\"status\\\":\\\"verifying\\\",\\\"dkim\\\":false,\\\"spf\\\":false,\\\"return_path\\\":false}\"} in C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\monolog\\monolog\\src\\Monolog\\Handler\\StreamHandler.php:164\nStack trace:\n#0 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\monolog\\monolog\\src\\Monolog\\Handler\\RotatingFileHandler.php(113): Monolog\\Handler\\StreamHandler->write(Object(Monolog\\LogRecord))\n#1 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\monolog\\monolog\\src\\Monolog\\Handler\\AbstractProcessingHandler.php(44): Monolog\\Handler\\RotatingFileHandler->write(Object(Monolog\\LogRecord))\n#2 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\monolog\\monolog\\src\\Monolog\\Logger.php(391): Monolog\\Handler\\AbstractProcessingHandler->handle(Object(Monolog\\LogRecord))\n#3 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\monolog\\monolog\\src\\Monolog\\Logger.php(633): Monolog\\Logger->addRecord(Object(Monolog\\Level), \'email_domain.ve...\', Array)\n#4 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\laravel\\framework\\src\\Illuminate\\Log\\Logger.php(187): Monolog\\Logger->warning(\'email_domain.ve...\', Array)\n#5 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\laravel\\framework\\src\\Illuminate\\Log\\Logger.php(108): Illuminate\\Log\\Logger->writeLog(\'warning\', \'email_domain.ve...\', Array)\n#6 C:\\xampp\\htdocs\\new_saas\\backend\\app\\Jobs\\VerifyPendingEmailDomainsJob.php(31): Illuminate\\Log\\Logger->warning(\'email_domain.ve...\', Array)\n#7 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\laravel\\framework\\src\\Illuminate\\Database\\Concerns\\BuildsQueries.php(68): App\\Jobs\\VerifyPendingEmailDomainsJob->App\\Jobs\\{closure}(Object(Illuminate\\Database\\Eloquent\\Collection), 1)\n#8 C:\\xampp\\htdocs\\new_saas\\backend\\app\\Jobs\\VerifyPendingEmailDomainsJob.php(26): Illuminate\\Database\\Eloquent\\Builder->chunk(50, Object(Closure))\n#9 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\laravel\\framework\\src\\Illuminate\\Container\\BoundMethod.php(36): App\\Jobs\\VerifyPendingEmailDomainsJob->handle(Object(App\\Services\\Messaging\\EmailDomainService))\n#10 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\laravel\\framework\\src\\Illuminate\\Container\\Util.php(43): Illuminate\\Container\\BoundMethod::Illuminate\\Container\\{closure}()\n#11 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\laravel\\framework\\src\\Illuminate\\Container\\BoundMethod.php(96): Illuminate\\Container\\Util::unwrapIfClosure(Object(Closure))\n#12 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\laravel\\framework\\src\\Illuminate\\Container\\BoundMethod.php(35): Illuminate\\Container\\BoundMethod::callBoundMethod(Object(Illuminate\\Foundation\\Application), Array, Object(Closure))\n#13 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\laravel\\framework\\src\\Illuminate\\Container\\Container.php(799): Illuminate\\Container\\BoundMethod::call(Object(Illuminate\\Foundation\\Application), Array, Array, NULL)\n#14 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\laravel\\framework\\src\\Illuminate\\Bus\\Dispatcher.php(129): Illuminate\\Container\\Container->call(Array)\n#15 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(180): Illuminate\\Bus\\Dispatcher->Illuminate\\Bus\\{closure}(Object(App\\Jobs\\VerifyPendingEmailDomainsJob))\n#16 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(App\\Jobs\\VerifyPendingEmailDomainsJob))\n#17 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\laravel\\framework\\src\\Illuminate\\Bus\\Dispatcher.php(133): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))\n#18 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\laravel\\framework\\src\\Illuminate\\Queue\\CallQueuedHandler.php(136): Illuminate\\Bus\\Dispatcher->dispatchNow(Object(App\\Jobs\\VerifyPendingEmailDomainsJob), false)\n#19 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(180): Illuminate\\Queue\\CallQueuedHandler->Illuminate\\Queue\\{closure}(Object(App\\Jobs\\VerifyPendingEmailDomainsJob))\n#20 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(App\\Jobs\\VerifyPendingEmailDomainsJob))\n#21 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\laravel\\framework\\src\\Illuminate\\Queue\\CallQueuedHandler.php(129): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))\n#22 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\laravel\\framework\\src\\Illuminate\\Queue\\CallQueuedHandler.php(70): Illuminate\\Queue\\CallQueuedHandler->dispatchThroughMiddleware(Object(Illuminate\\Queue\\Jobs\\DatabaseJob), Object(App\\Jobs\\VerifyPendingEmailDomainsJob))\n#23 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\laravel\\framework\\src\\Illuminate\\Queue\\Jobs\\Job.php(102): Illuminate\\Queue\\CallQueuedHandler->call(Object(Illuminate\\Queue\\Jobs\\DatabaseJob), Array)\n#24 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\laravel\\framework\\src\\Illuminate\\Queue\\Worker.php(485): Illuminate\\Queue\\Jobs\\Job->fire()\n#25 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\laravel\\framework\\src\\Illuminate\\Queue\\Worker.php(435): Illuminate\\Queue\\Worker->process(\'database\', Object(Illuminate\\Queue\\Jobs\\DatabaseJob), Object(Illuminate\\Queue\\WorkerOptions))\n#26 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\laravel\\framework\\src\\Illuminate\\Queue\\Worker.php(201): Illuminate\\Queue\\Worker->runJob(Object(Illuminate\\Queue\\Jobs\\DatabaseJob), \'database\', Object(Illuminate\\Queue\\WorkerOptions))\n#27 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\laravel\\framework\\src\\Illuminate\\Queue\\Console\\WorkCommand.php(148): Illuminate\\Queue\\Worker->daemon(\'database\', \'default\', Object(Illuminate\\Queue\\WorkerOptions))\n#28 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\laravel\\framework\\src\\Illuminate\\Queue\\Console\\WorkCommand.php(131): Illuminate\\Queue\\Console\\WorkCommand->runWorker(\'database\', \'default\')\n#29 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\laravel\\framework\\src\\Illuminate\\Container\\BoundMethod.php(36): Illuminate\\Queue\\Console\\WorkCommand->handle()\n#30 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\laravel\\framework\\src\\Illuminate\\Container\\Util.php(43): Illuminate\\Container\\BoundMethod::Illuminate\\Container\\{closure}()\n#31 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\laravel\\framework\\src\\Illuminate\\Container\\BoundMethod.php(96): Illuminate\\Container\\Util::unwrapIfClosure(Object(Closure))\n#32 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\laravel\\framework\\src\\Illuminate\\Container\\BoundMethod.php(35): Illuminate\\Container\\BoundMethod::callBoundMethod(Object(Illuminate\\Foundation\\Application), Array, Object(Closure))\n#33 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\laravel\\framework\\src\\Illuminate\\Container\\Container.php(799): Illuminate\\Container\\BoundMethod::call(Object(Illuminate\\Foundation\\Application), Array, Array, NULL)\n#34 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\laravel\\framework\\src\\Illuminate\\Console\\Command.php(211): Illuminate\\Container\\Container->call(Array)\n#35 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\symfony\\console\\Command\\Command.php(341): Illuminate\\Console\\Command->execute(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Illuminate\\Console\\OutputStyle))\n#36 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\laravel\\framework\\src\\Illuminate\\Console\\Command.php(180): Symfony\\Component\\Console\\Command\\Command->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Illuminate\\Console\\OutputStyle))\n#37 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\symfony\\console\\Application.php(1117): Illuminate\\Console\\Command->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))\n#38 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\symfony\\console\\Application.php(356): Symfony\\Component\\Console\\Application->doRunCommand(Object(Illuminate\\Queue\\Console\\WorkCommand), Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))\n#39 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\symfony\\console\\Application.php(195): Symfony\\Component\\Console\\Application->doRun(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))\n#40 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Console\\Kernel.php(198): Symfony\\Component\\Console\\Application->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))\n#41 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Application.php(1235): Illuminate\\Foundation\\Console\\Kernel->handle(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))\n#42 C:\\xampp\\htdocs\\new_saas\\backend\\artisan(16): Illuminate\\Foundation\\Application->handleCommand(Object(Symfony\\Component\\Console\\Input\\ArgvInput))\n#43 {main}', '2026-06-24 08:00:05');
INSERT INTO `failed_jobs` (`id`, `uuid`, `connection`, `queue`, `payload`, `exception`, `failed_at`) VALUES
(12, 'd57e9269-cd39-4ac6-a5d1-2ace43cf2bea', 'database', 'default', '{\"uuid\":\"d57e9269-cd39-4ac6-a5d1-2ace43cf2bea\",\"displayName\":\"App\\\\Jobs\\\\VerifyPendingEmailDomainsJob\",\"job\":\"Illuminate\\\\Queue\\\\CallQueuedHandler@call\",\"maxTries\":1,\"maxExceptions\":null,\"failOnTimeout\":false,\"backoff\":null,\"timeout\":null,\"retryUntil\":null,\"data\":{\"commandName\":\"App\\\\Jobs\\\\VerifyPendingEmailDomainsJob\",\"command\":\"O:37:\\\"App\\\\Jobs\\\\VerifyPendingEmailDomainsJob\\\":0:{}\",\"batchId\":null},\"createdAt\":1782374401,\"delay\":null}', 'UnexpectedValueException: The stream or file \"C:\\xampp\\htdocs\\new_saas\\backend\\storage\\logs/infobip-2026-06-25.log\" could not be opened in append mode: Failed to open stream: Permission denied\nThe exception occurred while attempting to log: email_domain.verify.cron_failed\nContext: {\"domain\":\"pixreals.io\",\"error\":\"The stream or file \\\"C:\\\\xampp\\\\htdocs\\\\new_saas\\\\backend\\\\storage\\\\logs\\/infobip-2026-06-25.log\\\" could not be opened in append mode: Failed to open stream: Permission denied\\nThe exception occurred while attempting to log: email_domain.verify.ok\\nContext: {\\\"domain\\\":\\\"pixreals.io\\\",\\\"status\\\":\\\"verifying\\\",\\\"dkim\\\":false,\\\"spf\\\":false,\\\"return_path\\\":false}\"} in C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\monolog\\monolog\\src\\Monolog\\Handler\\StreamHandler.php:164\nStack trace:\n#0 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\monolog\\monolog\\src\\Monolog\\Handler\\RotatingFileHandler.php(113): Monolog\\Handler\\StreamHandler->write(Object(Monolog\\LogRecord))\n#1 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\monolog\\monolog\\src\\Monolog\\Handler\\AbstractProcessingHandler.php(44): Monolog\\Handler\\RotatingFileHandler->write(Object(Monolog\\LogRecord))\n#2 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\monolog\\monolog\\src\\Monolog\\Logger.php(391): Monolog\\Handler\\AbstractProcessingHandler->handle(Object(Monolog\\LogRecord))\n#3 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\monolog\\monolog\\src\\Monolog\\Logger.php(633): Monolog\\Logger->addRecord(Object(Monolog\\Level), \'email_domain.ve...\', Array)\n#4 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\laravel\\framework\\src\\Illuminate\\Log\\Logger.php(187): Monolog\\Logger->warning(\'email_domain.ve...\', Array)\n#5 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\laravel\\framework\\src\\Illuminate\\Log\\Logger.php(108): Illuminate\\Log\\Logger->writeLog(\'warning\', \'email_domain.ve...\', Array)\n#6 C:\\xampp\\htdocs\\new_saas\\backend\\app\\Jobs\\VerifyPendingEmailDomainsJob.php(31): Illuminate\\Log\\Logger->warning(\'email_domain.ve...\', Array)\n#7 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\laravel\\framework\\src\\Illuminate\\Database\\Concerns\\BuildsQueries.php(68): App\\Jobs\\VerifyPendingEmailDomainsJob->App\\Jobs\\{closure}(Object(Illuminate\\Database\\Eloquent\\Collection), 1)\n#8 C:\\xampp\\htdocs\\new_saas\\backend\\app\\Jobs\\VerifyPendingEmailDomainsJob.php(26): Illuminate\\Database\\Eloquent\\Builder->chunk(50, Object(Closure))\n#9 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\laravel\\framework\\src\\Illuminate\\Container\\BoundMethod.php(36): App\\Jobs\\VerifyPendingEmailDomainsJob->handle(Object(App\\Services\\Messaging\\EmailDomainService))\n#10 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\laravel\\framework\\src\\Illuminate\\Container\\Util.php(43): Illuminate\\Container\\BoundMethod::Illuminate\\Container\\{closure}()\n#11 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\laravel\\framework\\src\\Illuminate\\Container\\BoundMethod.php(96): Illuminate\\Container\\Util::unwrapIfClosure(Object(Closure))\n#12 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\laravel\\framework\\src\\Illuminate\\Container\\BoundMethod.php(35): Illuminate\\Container\\BoundMethod::callBoundMethod(Object(Illuminate\\Foundation\\Application), Array, Object(Closure))\n#13 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\laravel\\framework\\src\\Illuminate\\Container\\Container.php(799): Illuminate\\Container\\BoundMethod::call(Object(Illuminate\\Foundation\\Application), Array, Array, NULL)\n#14 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\laravel\\framework\\src\\Illuminate\\Bus\\Dispatcher.php(129): Illuminate\\Container\\Container->call(Array)\n#15 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(180): Illuminate\\Bus\\Dispatcher->Illuminate\\Bus\\{closure}(Object(App\\Jobs\\VerifyPendingEmailDomainsJob))\n#16 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(App\\Jobs\\VerifyPendingEmailDomainsJob))\n#17 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\laravel\\framework\\src\\Illuminate\\Bus\\Dispatcher.php(133): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))\n#18 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\laravel\\framework\\src\\Illuminate\\Queue\\CallQueuedHandler.php(136): Illuminate\\Bus\\Dispatcher->dispatchNow(Object(App\\Jobs\\VerifyPendingEmailDomainsJob), false)\n#19 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(180): Illuminate\\Queue\\CallQueuedHandler->Illuminate\\Queue\\{closure}(Object(App\\Jobs\\VerifyPendingEmailDomainsJob))\n#20 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(App\\Jobs\\VerifyPendingEmailDomainsJob))\n#21 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\laravel\\framework\\src\\Illuminate\\Queue\\CallQueuedHandler.php(129): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))\n#22 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\laravel\\framework\\src\\Illuminate\\Queue\\CallQueuedHandler.php(70): Illuminate\\Queue\\CallQueuedHandler->dispatchThroughMiddleware(Object(Illuminate\\Queue\\Jobs\\DatabaseJob), Object(App\\Jobs\\VerifyPendingEmailDomainsJob))\n#23 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\laravel\\framework\\src\\Illuminate\\Queue\\Jobs\\Job.php(102): Illuminate\\Queue\\CallQueuedHandler->call(Object(Illuminate\\Queue\\Jobs\\DatabaseJob), Array)\n#24 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\laravel\\framework\\src\\Illuminate\\Queue\\Worker.php(485): Illuminate\\Queue\\Jobs\\Job->fire()\n#25 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\laravel\\framework\\src\\Illuminate\\Queue\\Worker.php(435): Illuminate\\Queue\\Worker->process(\'database\', Object(Illuminate\\Queue\\Jobs\\DatabaseJob), Object(Illuminate\\Queue\\WorkerOptions))\n#26 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\laravel\\framework\\src\\Illuminate\\Queue\\Worker.php(201): Illuminate\\Queue\\Worker->runJob(Object(Illuminate\\Queue\\Jobs\\DatabaseJob), \'database\', Object(Illuminate\\Queue\\WorkerOptions))\n#27 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\laravel\\framework\\src\\Illuminate\\Queue\\Console\\WorkCommand.php(148): Illuminate\\Queue\\Worker->daemon(\'database\', \'default\', Object(Illuminate\\Queue\\WorkerOptions))\n#28 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\laravel\\framework\\src\\Illuminate\\Queue\\Console\\WorkCommand.php(131): Illuminate\\Queue\\Console\\WorkCommand->runWorker(\'database\', \'default\')\n#29 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\laravel\\framework\\src\\Illuminate\\Container\\BoundMethod.php(36): Illuminate\\Queue\\Console\\WorkCommand->handle()\n#30 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\laravel\\framework\\src\\Illuminate\\Container\\Util.php(43): Illuminate\\Container\\BoundMethod::Illuminate\\Container\\{closure}()\n#31 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\laravel\\framework\\src\\Illuminate\\Container\\BoundMethod.php(96): Illuminate\\Container\\Util::unwrapIfClosure(Object(Closure))\n#32 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\laravel\\framework\\src\\Illuminate\\Container\\BoundMethod.php(35): Illuminate\\Container\\BoundMethod::callBoundMethod(Object(Illuminate\\Foundation\\Application), Array, Object(Closure))\n#33 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\laravel\\framework\\src\\Illuminate\\Container\\Container.php(799): Illuminate\\Container\\BoundMethod::call(Object(Illuminate\\Foundation\\Application), Array, Array, NULL)\n#34 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\laravel\\framework\\src\\Illuminate\\Console\\Command.php(211): Illuminate\\Container\\Container->call(Array)\n#35 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\symfony\\console\\Command\\Command.php(341): Illuminate\\Console\\Command->execute(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Illuminate\\Console\\OutputStyle))\n#36 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\laravel\\framework\\src\\Illuminate\\Console\\Command.php(180): Symfony\\Component\\Console\\Command\\Command->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Illuminate\\Console\\OutputStyle))\n#37 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\symfony\\console\\Application.php(1117): Illuminate\\Console\\Command->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))\n#38 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\symfony\\console\\Application.php(356): Symfony\\Component\\Console\\Application->doRunCommand(Object(Illuminate\\Queue\\Console\\WorkCommand), Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))\n#39 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\symfony\\console\\Application.php(195): Symfony\\Component\\Console\\Application->doRun(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))\n#40 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Console\\Kernel.php(198): Symfony\\Component\\Console\\Application->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))\n#41 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Application.php(1235): Illuminate\\Foundation\\Console\\Kernel->handle(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))\n#42 C:\\xampp\\htdocs\\new_saas\\backend\\artisan(16): Illuminate\\Foundation\\Application->handleCommand(Object(Symfony\\Component\\Console\\Input\\ArgvInput))\n#43 {main}', '2026-06-25 08:00:03'),
(13, '897144a9-ae01-492e-b167-3e1b721b9c4e', 'database', 'default', '{\"uuid\":\"897144a9-ae01-492e-b167-3e1b721b9c4e\",\"displayName\":\"App\\\\Jobs\\\\VerifyPendingEmailDomainsJob\",\"job\":\"Illuminate\\\\Queue\\\\CallQueuedHandler@call\",\"maxTries\":1,\"maxExceptions\":null,\"failOnTimeout\":false,\"backoff\":null,\"timeout\":null,\"retryUntil\":null,\"data\":{\"commandName\":\"App\\\\Jobs\\\\VerifyPendingEmailDomainsJob\",\"command\":\"O:37:\\\"App\\\\Jobs\\\\VerifyPendingEmailDomainsJob\\\":0:{}\",\"batchId\":null},\"createdAt\":1782547201,\"delay\":null}', 'UnexpectedValueException: The stream or file \"C:\\xampp\\htdocs\\new_saas\\backend\\storage\\logs/infobip-2026-06-27.log\" could not be opened in append mode: Failed to open stream: Permission denied\nThe exception occurred while attempting to log: email_domain.verify.cron_failed\nContext: {\"domain\":\"pixreals.io\",\"error\":\"The stream or file \\\"C:\\\\xampp\\\\htdocs\\\\new_saas\\\\backend\\\\storage\\\\logs\\/infobip-2026-06-27.log\\\" could not be opened in append mode: Failed to open stream: Permission denied\\nThe exception occurred while attempting to log: email_domain.verify.ok\\nContext: {\\\"domain\\\":\\\"pixreals.io\\\",\\\"status\\\":\\\"verifying\\\",\\\"dkim\\\":false,\\\"spf\\\":false,\\\"return_path\\\":false}\"} in C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\monolog\\monolog\\src\\Monolog\\Handler\\StreamHandler.php:164\nStack trace:\n#0 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\monolog\\monolog\\src\\Monolog\\Handler\\RotatingFileHandler.php(113): Monolog\\Handler\\StreamHandler->write(Object(Monolog\\LogRecord))\n#1 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\monolog\\monolog\\src\\Monolog\\Handler\\AbstractProcessingHandler.php(44): Monolog\\Handler\\RotatingFileHandler->write(Object(Monolog\\LogRecord))\n#2 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\monolog\\monolog\\src\\Monolog\\Logger.php(391): Monolog\\Handler\\AbstractProcessingHandler->handle(Object(Monolog\\LogRecord))\n#3 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\monolog\\monolog\\src\\Monolog\\Logger.php(633): Monolog\\Logger->addRecord(Object(Monolog\\Level), \'email_domain.ve...\', Array)\n#4 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\laravel\\framework\\src\\Illuminate\\Log\\Logger.php(187): Monolog\\Logger->warning(\'email_domain.ve...\', Array)\n#5 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\laravel\\framework\\src\\Illuminate\\Log\\Logger.php(108): Illuminate\\Log\\Logger->writeLog(\'warning\', \'email_domain.ve...\', Array)\n#6 C:\\xampp\\htdocs\\new_saas\\backend\\app\\Jobs\\VerifyPendingEmailDomainsJob.php(31): Illuminate\\Log\\Logger->warning(\'email_domain.ve...\', Array)\n#7 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\laravel\\framework\\src\\Illuminate\\Database\\Concerns\\BuildsQueries.php(68): App\\Jobs\\VerifyPendingEmailDomainsJob->App\\Jobs\\{closure}(Object(Illuminate\\Database\\Eloquent\\Collection), 1)\n#8 C:\\xampp\\htdocs\\new_saas\\backend\\app\\Jobs\\VerifyPendingEmailDomainsJob.php(26): Illuminate\\Database\\Eloquent\\Builder->chunk(50, Object(Closure))\n#9 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\laravel\\framework\\src\\Illuminate\\Container\\BoundMethod.php(36): App\\Jobs\\VerifyPendingEmailDomainsJob->handle(Object(App\\Services\\Messaging\\EmailDomainService))\n#10 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\laravel\\framework\\src\\Illuminate\\Container\\Util.php(43): Illuminate\\Container\\BoundMethod::Illuminate\\Container\\{closure}()\n#11 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\laravel\\framework\\src\\Illuminate\\Container\\BoundMethod.php(96): Illuminate\\Container\\Util::unwrapIfClosure(Object(Closure))\n#12 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\laravel\\framework\\src\\Illuminate\\Container\\BoundMethod.php(35): Illuminate\\Container\\BoundMethod::callBoundMethod(Object(Illuminate\\Foundation\\Application), Array, Object(Closure))\n#13 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\laravel\\framework\\src\\Illuminate\\Container\\Container.php(799): Illuminate\\Container\\BoundMethod::call(Object(Illuminate\\Foundation\\Application), Array, Array, NULL)\n#14 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\laravel\\framework\\src\\Illuminate\\Bus\\Dispatcher.php(129): Illuminate\\Container\\Container->call(Array)\n#15 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(180): Illuminate\\Bus\\Dispatcher->Illuminate\\Bus\\{closure}(Object(App\\Jobs\\VerifyPendingEmailDomainsJob))\n#16 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(App\\Jobs\\VerifyPendingEmailDomainsJob))\n#17 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\laravel\\framework\\src\\Illuminate\\Bus\\Dispatcher.php(133): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))\n#18 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\laravel\\framework\\src\\Illuminate\\Queue\\CallQueuedHandler.php(136): Illuminate\\Bus\\Dispatcher->dispatchNow(Object(App\\Jobs\\VerifyPendingEmailDomainsJob), false)\n#19 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(180): Illuminate\\Queue\\CallQueuedHandler->Illuminate\\Queue\\{closure}(Object(App\\Jobs\\VerifyPendingEmailDomainsJob))\n#20 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(App\\Jobs\\VerifyPendingEmailDomainsJob))\n#21 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\laravel\\framework\\src\\Illuminate\\Queue\\CallQueuedHandler.php(129): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))\n#22 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\laravel\\framework\\src\\Illuminate\\Queue\\CallQueuedHandler.php(70): Illuminate\\Queue\\CallQueuedHandler->dispatchThroughMiddleware(Object(Illuminate\\Queue\\Jobs\\DatabaseJob), Object(App\\Jobs\\VerifyPendingEmailDomainsJob))\n#23 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\laravel\\framework\\src\\Illuminate\\Queue\\Jobs\\Job.php(102): Illuminate\\Queue\\CallQueuedHandler->call(Object(Illuminate\\Queue\\Jobs\\DatabaseJob), Array)\n#24 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\laravel\\framework\\src\\Illuminate\\Queue\\Worker.php(485): Illuminate\\Queue\\Jobs\\Job->fire()\n#25 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\laravel\\framework\\src\\Illuminate\\Queue\\Worker.php(435): Illuminate\\Queue\\Worker->process(\'database\', Object(Illuminate\\Queue\\Jobs\\DatabaseJob), Object(Illuminate\\Queue\\WorkerOptions))\n#26 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\laravel\\framework\\src\\Illuminate\\Queue\\Worker.php(201): Illuminate\\Queue\\Worker->runJob(Object(Illuminate\\Queue\\Jobs\\DatabaseJob), \'database\', Object(Illuminate\\Queue\\WorkerOptions))\n#27 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\laravel\\framework\\src\\Illuminate\\Queue\\Console\\WorkCommand.php(148): Illuminate\\Queue\\Worker->daemon(\'database\', \'default\', Object(Illuminate\\Queue\\WorkerOptions))\n#28 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\laravel\\framework\\src\\Illuminate\\Queue\\Console\\WorkCommand.php(131): Illuminate\\Queue\\Console\\WorkCommand->runWorker(\'database\', \'default\')\n#29 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\laravel\\framework\\src\\Illuminate\\Container\\BoundMethod.php(36): Illuminate\\Queue\\Console\\WorkCommand->handle()\n#30 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\laravel\\framework\\src\\Illuminate\\Container\\Util.php(43): Illuminate\\Container\\BoundMethod::Illuminate\\Container\\{closure}()\n#31 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\laravel\\framework\\src\\Illuminate\\Container\\BoundMethod.php(96): Illuminate\\Container\\Util::unwrapIfClosure(Object(Closure))\n#32 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\laravel\\framework\\src\\Illuminate\\Container\\BoundMethod.php(35): Illuminate\\Container\\BoundMethod::callBoundMethod(Object(Illuminate\\Foundation\\Application), Array, Object(Closure))\n#33 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\laravel\\framework\\src\\Illuminate\\Container\\Container.php(799): Illuminate\\Container\\BoundMethod::call(Object(Illuminate\\Foundation\\Application), Array, Array, NULL)\n#34 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\laravel\\framework\\src\\Illuminate\\Console\\Command.php(211): Illuminate\\Container\\Container->call(Array)\n#35 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\symfony\\console\\Command\\Command.php(341): Illuminate\\Console\\Command->execute(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Illuminate\\Console\\OutputStyle))\n#36 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\laravel\\framework\\src\\Illuminate\\Console\\Command.php(180): Symfony\\Component\\Console\\Command\\Command->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Illuminate\\Console\\OutputStyle))\n#37 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\symfony\\console\\Application.php(1117): Illuminate\\Console\\Command->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))\n#38 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\symfony\\console\\Application.php(356): Symfony\\Component\\Console\\Application->doRunCommand(Object(Illuminate\\Queue\\Console\\WorkCommand), Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))\n#39 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\symfony\\console\\Application.php(195): Symfony\\Component\\Console\\Application->doRun(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))\n#40 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Console\\Kernel.php(198): Symfony\\Component\\Console\\Application->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))\n#41 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Application.php(1235): Illuminate\\Foundation\\Console\\Kernel->handle(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))\n#42 C:\\xampp\\htdocs\\new_saas\\backend\\artisan(16): Illuminate\\Foundation\\Application->handleCommand(Object(Symfony\\Component\\Console\\Input\\ArgvInput))\n#43 {main}', '2026-06-27 08:56:09'),
(14, 'ea09608f-12a7-4b41-95e0-d575d05f746d', 'database', 'default', '{\"uuid\":\"ea09608f-12a7-4b41-95e0-d575d05f746d\",\"displayName\":\"App\\\\Jobs\\\\VerifyPendingEmailDomainsJob\",\"job\":\"Illuminate\\\\Queue\\\\CallQueuedHandler@call\",\"maxTries\":1,\"maxExceptions\":null,\"failOnTimeout\":false,\"backoff\":null,\"timeout\":null,\"retryUntil\":null,\"data\":{\"commandName\":\"App\\\\Jobs\\\\VerifyPendingEmailDomainsJob\",\"command\":\"O:37:\\\"App\\\\Jobs\\\\VerifyPendingEmailDomainsJob\\\":0:{}\",\"batchId\":null},\"createdAt\":1782633601,\"delay\":null}', 'UnexpectedValueException: The stream or file \"C:\\xampp\\htdocs\\new_saas\\backend\\storage\\logs/infobip-2026-06-28.log\" could not be opened in append mode: Failed to open stream: Permission denied\nThe exception occurred while attempting to log: email_domain.verify.cron_failed\nContext: {\"domain\":\"pixreals.io\",\"error\":\"The stream or file \\\"C:\\\\xampp\\\\htdocs\\\\new_saas\\\\backend\\\\storage\\\\logs\\/infobip-2026-06-28.log\\\" could not be opened in append mode: Failed to open stream: Permission denied\\nThe exception occurred while attempting to log: email_domain.verify.ok\\nContext: {\\\"domain\\\":\\\"pixreals.io\\\",\\\"status\\\":\\\"verifying\\\",\\\"dkim\\\":false,\\\"spf\\\":false,\\\"return_path\\\":false}\"} in C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\monolog\\monolog\\src\\Monolog\\Handler\\StreamHandler.php:164\nStack trace:\n#0 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\monolog\\monolog\\src\\Monolog\\Handler\\RotatingFileHandler.php(113): Monolog\\Handler\\StreamHandler->write(Object(Monolog\\LogRecord))\n#1 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\monolog\\monolog\\src\\Monolog\\Handler\\AbstractProcessingHandler.php(44): Monolog\\Handler\\RotatingFileHandler->write(Object(Monolog\\LogRecord))\n#2 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\monolog\\monolog\\src\\Monolog\\Logger.php(391): Monolog\\Handler\\AbstractProcessingHandler->handle(Object(Monolog\\LogRecord))\n#3 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\monolog\\monolog\\src\\Monolog\\Logger.php(633): Monolog\\Logger->addRecord(Object(Monolog\\Level), \'email_domain.ve...\', Array)\n#4 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\laravel\\framework\\src\\Illuminate\\Log\\Logger.php(187): Monolog\\Logger->warning(\'email_domain.ve...\', Array)\n#5 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\laravel\\framework\\src\\Illuminate\\Log\\Logger.php(108): Illuminate\\Log\\Logger->writeLog(\'warning\', \'email_domain.ve...\', Array)\n#6 C:\\xampp\\htdocs\\new_saas\\backend\\app\\Jobs\\VerifyPendingEmailDomainsJob.php(31): Illuminate\\Log\\Logger->warning(\'email_domain.ve...\', Array)\n#7 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\laravel\\framework\\src\\Illuminate\\Database\\Concerns\\BuildsQueries.php(68): App\\Jobs\\VerifyPendingEmailDomainsJob->App\\Jobs\\{closure}(Object(Illuminate\\Database\\Eloquent\\Collection), 1)\n#8 C:\\xampp\\htdocs\\new_saas\\backend\\app\\Jobs\\VerifyPendingEmailDomainsJob.php(26): Illuminate\\Database\\Eloquent\\Builder->chunk(50, Object(Closure))\n#9 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\laravel\\framework\\src\\Illuminate\\Container\\BoundMethod.php(36): App\\Jobs\\VerifyPendingEmailDomainsJob->handle(Object(App\\Services\\Messaging\\EmailDomainService))\n#10 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\laravel\\framework\\src\\Illuminate\\Container\\Util.php(43): Illuminate\\Container\\BoundMethod::Illuminate\\Container\\{closure}()\n#11 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\laravel\\framework\\src\\Illuminate\\Container\\BoundMethod.php(96): Illuminate\\Container\\Util::unwrapIfClosure(Object(Closure))\n#12 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\laravel\\framework\\src\\Illuminate\\Container\\BoundMethod.php(35): Illuminate\\Container\\BoundMethod::callBoundMethod(Object(Illuminate\\Foundation\\Application), Array, Object(Closure))\n#13 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\laravel\\framework\\src\\Illuminate\\Container\\Container.php(799): Illuminate\\Container\\BoundMethod::call(Object(Illuminate\\Foundation\\Application), Array, Array, NULL)\n#14 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\laravel\\framework\\src\\Illuminate\\Bus\\Dispatcher.php(129): Illuminate\\Container\\Container->call(Array)\n#15 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(180): Illuminate\\Bus\\Dispatcher->Illuminate\\Bus\\{closure}(Object(App\\Jobs\\VerifyPendingEmailDomainsJob))\n#16 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(App\\Jobs\\VerifyPendingEmailDomainsJob))\n#17 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\laravel\\framework\\src\\Illuminate\\Bus\\Dispatcher.php(133): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))\n#18 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\laravel\\framework\\src\\Illuminate\\Queue\\CallQueuedHandler.php(136): Illuminate\\Bus\\Dispatcher->dispatchNow(Object(App\\Jobs\\VerifyPendingEmailDomainsJob), false)\n#19 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(180): Illuminate\\Queue\\CallQueuedHandler->Illuminate\\Queue\\{closure}(Object(App\\Jobs\\VerifyPendingEmailDomainsJob))\n#20 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(App\\Jobs\\VerifyPendingEmailDomainsJob))\n#21 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\laravel\\framework\\src\\Illuminate\\Queue\\CallQueuedHandler.php(129): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))\n#22 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\laravel\\framework\\src\\Illuminate\\Queue\\CallQueuedHandler.php(70): Illuminate\\Queue\\CallQueuedHandler->dispatchThroughMiddleware(Object(Illuminate\\Queue\\Jobs\\DatabaseJob), Object(App\\Jobs\\VerifyPendingEmailDomainsJob))\n#23 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\laravel\\framework\\src\\Illuminate\\Queue\\Jobs\\Job.php(102): Illuminate\\Queue\\CallQueuedHandler->call(Object(Illuminate\\Queue\\Jobs\\DatabaseJob), Array)\n#24 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\laravel\\framework\\src\\Illuminate\\Queue\\Worker.php(485): Illuminate\\Queue\\Jobs\\Job->fire()\n#25 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\laravel\\framework\\src\\Illuminate\\Queue\\Worker.php(435): Illuminate\\Queue\\Worker->process(\'database\', Object(Illuminate\\Queue\\Jobs\\DatabaseJob), Object(Illuminate\\Queue\\WorkerOptions))\n#26 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\laravel\\framework\\src\\Illuminate\\Queue\\Worker.php(201): Illuminate\\Queue\\Worker->runJob(Object(Illuminate\\Queue\\Jobs\\DatabaseJob), \'database\', Object(Illuminate\\Queue\\WorkerOptions))\n#27 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\laravel\\framework\\src\\Illuminate\\Queue\\Console\\WorkCommand.php(148): Illuminate\\Queue\\Worker->daemon(\'database\', \'default\', Object(Illuminate\\Queue\\WorkerOptions))\n#28 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\laravel\\framework\\src\\Illuminate\\Queue\\Console\\WorkCommand.php(131): Illuminate\\Queue\\Console\\WorkCommand->runWorker(\'database\', \'default\')\n#29 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\laravel\\framework\\src\\Illuminate\\Container\\BoundMethod.php(36): Illuminate\\Queue\\Console\\WorkCommand->handle()\n#30 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\laravel\\framework\\src\\Illuminate\\Container\\Util.php(43): Illuminate\\Container\\BoundMethod::Illuminate\\Container\\{closure}()\n#31 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\laravel\\framework\\src\\Illuminate\\Container\\BoundMethod.php(96): Illuminate\\Container\\Util::unwrapIfClosure(Object(Closure))\n#32 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\laravel\\framework\\src\\Illuminate\\Container\\BoundMethod.php(35): Illuminate\\Container\\BoundMethod::callBoundMethod(Object(Illuminate\\Foundation\\Application), Array, Object(Closure))\n#33 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\laravel\\framework\\src\\Illuminate\\Container\\Container.php(799): Illuminate\\Container\\BoundMethod::call(Object(Illuminate\\Foundation\\Application), Array, Array, NULL)\n#34 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\laravel\\framework\\src\\Illuminate\\Console\\Command.php(211): Illuminate\\Container\\Container->call(Array)\n#35 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\symfony\\console\\Command\\Command.php(341): Illuminate\\Console\\Command->execute(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Illuminate\\Console\\OutputStyle))\n#36 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\laravel\\framework\\src\\Illuminate\\Console\\Command.php(180): Symfony\\Component\\Console\\Command\\Command->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Illuminate\\Console\\OutputStyle))\n#37 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\symfony\\console\\Application.php(1117): Illuminate\\Console\\Command->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))\n#38 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\symfony\\console\\Application.php(356): Symfony\\Component\\Console\\Application->doRunCommand(Object(Illuminate\\Queue\\Console\\WorkCommand), Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))\n#39 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\symfony\\console\\Application.php(195): Symfony\\Component\\Console\\Application->doRun(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))\n#40 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Console\\Kernel.php(198): Symfony\\Component\\Console\\Application->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))\n#41 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Application.php(1235): Illuminate\\Foundation\\Console\\Kernel->handle(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))\n#42 C:\\xampp\\htdocs\\new_saas\\backend\\artisan(16): Illuminate\\Foundation\\Application->handleCommand(Object(Symfony\\Component\\Console\\Input\\ArgvInput))\n#43 {main}', '2026-06-28 08:00:03'),
(15, 'e00dc313-ee2d-4ec4-8e4e-9836a8e8b1a8', 'database', 'default', '{\"uuid\":\"e00dc313-ee2d-4ec4-8e4e-9836a8e8b1a8\",\"displayName\":\"App\\\\Jobs\\\\VerifyPendingEmailDomainsJob\",\"job\":\"Illuminate\\\\Queue\\\\CallQueuedHandler@call\",\"maxTries\":1,\"maxExceptions\":null,\"failOnTimeout\":false,\"backoff\":null,\"timeout\":null,\"retryUntil\":null,\"data\":{\"commandName\":\"App\\\\Jobs\\\\VerifyPendingEmailDomainsJob\",\"command\":\"O:37:\\\"App\\\\Jobs\\\\VerifyPendingEmailDomainsJob\\\":0:{}\",\"batchId\":null},\"createdAt\":1782720001,\"delay\":null}', 'UnexpectedValueException: The stream or file \"C:\\xampp\\htdocs\\new_saas\\backend\\storage\\logs/infobip-2026-06-29.log\" could not be opened in append mode: Failed to open stream: Permission denied\nThe exception occurred while attempting to log: email_domain.verify.cron_failed\nContext: {\"domain\":\"pixreals.io\",\"error\":\"The stream or file \\\"C:\\\\xampp\\\\htdocs\\\\new_saas\\\\backend\\\\storage\\\\logs\\/infobip-2026-06-29.log\\\" could not be opened in append mode: Failed to open stream: Permission denied\\nThe exception occurred while attempting to log: email_domain.verify.ok\\nContext: {\\\"domain\\\":\\\"pixreals.io\\\",\\\"status\\\":\\\"verifying\\\",\\\"dkim\\\":false,\\\"spf\\\":false,\\\"return_path\\\":false}\"} in C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\monolog\\monolog\\src\\Monolog\\Handler\\StreamHandler.php:164\nStack trace:\n#0 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\monolog\\monolog\\src\\Monolog\\Handler\\RotatingFileHandler.php(113): Monolog\\Handler\\StreamHandler->write(Object(Monolog\\LogRecord))\n#1 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\monolog\\monolog\\src\\Monolog\\Handler\\AbstractProcessingHandler.php(44): Monolog\\Handler\\RotatingFileHandler->write(Object(Monolog\\LogRecord))\n#2 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\monolog\\monolog\\src\\Monolog\\Logger.php(391): Monolog\\Handler\\AbstractProcessingHandler->handle(Object(Monolog\\LogRecord))\n#3 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\monolog\\monolog\\src\\Monolog\\Logger.php(633): Monolog\\Logger->addRecord(Object(Monolog\\Level), \'email_domain.ve...\', Array)\n#4 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\laravel\\framework\\src\\Illuminate\\Log\\Logger.php(187): Monolog\\Logger->warning(\'email_domain.ve...\', Array)\n#5 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\laravel\\framework\\src\\Illuminate\\Log\\Logger.php(108): Illuminate\\Log\\Logger->writeLog(\'warning\', \'email_domain.ve...\', Array)\n#6 C:\\xampp\\htdocs\\new_saas\\backend\\app\\Jobs\\VerifyPendingEmailDomainsJob.php(31): Illuminate\\Log\\Logger->warning(\'email_domain.ve...\', Array)\n#7 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\laravel\\framework\\src\\Illuminate\\Database\\Concerns\\BuildsQueries.php(68): App\\Jobs\\VerifyPendingEmailDomainsJob->App\\Jobs\\{closure}(Object(Illuminate\\Database\\Eloquent\\Collection), 1)\n#8 C:\\xampp\\htdocs\\new_saas\\backend\\app\\Jobs\\VerifyPendingEmailDomainsJob.php(26): Illuminate\\Database\\Eloquent\\Builder->chunk(50, Object(Closure))\n#9 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\laravel\\framework\\src\\Illuminate\\Container\\BoundMethod.php(36): App\\Jobs\\VerifyPendingEmailDomainsJob->handle(Object(App\\Services\\Messaging\\EmailDomainService))\n#10 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\laravel\\framework\\src\\Illuminate\\Container\\Util.php(43): Illuminate\\Container\\BoundMethod::Illuminate\\Container\\{closure}()\n#11 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\laravel\\framework\\src\\Illuminate\\Container\\BoundMethod.php(96): Illuminate\\Container\\Util::unwrapIfClosure(Object(Closure))\n#12 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\laravel\\framework\\src\\Illuminate\\Container\\BoundMethod.php(35): Illuminate\\Container\\BoundMethod::callBoundMethod(Object(Illuminate\\Foundation\\Application), Array, Object(Closure))\n#13 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\laravel\\framework\\src\\Illuminate\\Container\\Container.php(799): Illuminate\\Container\\BoundMethod::call(Object(Illuminate\\Foundation\\Application), Array, Array, NULL)\n#14 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\laravel\\framework\\src\\Illuminate\\Bus\\Dispatcher.php(129): Illuminate\\Container\\Container->call(Array)\n#15 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(180): Illuminate\\Bus\\Dispatcher->Illuminate\\Bus\\{closure}(Object(App\\Jobs\\VerifyPendingEmailDomainsJob))\n#16 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(App\\Jobs\\VerifyPendingEmailDomainsJob))\n#17 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\laravel\\framework\\src\\Illuminate\\Bus\\Dispatcher.php(133): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))\n#18 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\laravel\\framework\\src\\Illuminate\\Queue\\CallQueuedHandler.php(136): Illuminate\\Bus\\Dispatcher->dispatchNow(Object(App\\Jobs\\VerifyPendingEmailDomainsJob), false)\n#19 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(180): Illuminate\\Queue\\CallQueuedHandler->Illuminate\\Queue\\{closure}(Object(App\\Jobs\\VerifyPendingEmailDomainsJob))\n#20 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(App\\Jobs\\VerifyPendingEmailDomainsJob))\n#21 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\laravel\\framework\\src\\Illuminate\\Queue\\CallQueuedHandler.php(129): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))\n#22 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\laravel\\framework\\src\\Illuminate\\Queue\\CallQueuedHandler.php(70): Illuminate\\Queue\\CallQueuedHandler->dispatchThroughMiddleware(Object(Illuminate\\Queue\\Jobs\\DatabaseJob), Object(App\\Jobs\\VerifyPendingEmailDomainsJob))\n#23 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\laravel\\framework\\src\\Illuminate\\Queue\\Jobs\\Job.php(102): Illuminate\\Queue\\CallQueuedHandler->call(Object(Illuminate\\Queue\\Jobs\\DatabaseJob), Array)\n#24 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\laravel\\framework\\src\\Illuminate\\Queue\\Worker.php(485): Illuminate\\Queue\\Jobs\\Job->fire()\n#25 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\laravel\\framework\\src\\Illuminate\\Queue\\Worker.php(435): Illuminate\\Queue\\Worker->process(\'database\', Object(Illuminate\\Queue\\Jobs\\DatabaseJob), Object(Illuminate\\Queue\\WorkerOptions))\n#26 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\laravel\\framework\\src\\Illuminate\\Queue\\Worker.php(201): Illuminate\\Queue\\Worker->runJob(Object(Illuminate\\Queue\\Jobs\\DatabaseJob), \'database\', Object(Illuminate\\Queue\\WorkerOptions))\n#27 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\laravel\\framework\\src\\Illuminate\\Queue\\Console\\WorkCommand.php(148): Illuminate\\Queue\\Worker->daemon(\'database\', \'default\', Object(Illuminate\\Queue\\WorkerOptions))\n#28 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\laravel\\framework\\src\\Illuminate\\Queue\\Console\\WorkCommand.php(131): Illuminate\\Queue\\Console\\WorkCommand->runWorker(\'database\', \'default\')\n#29 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\laravel\\framework\\src\\Illuminate\\Container\\BoundMethod.php(36): Illuminate\\Queue\\Console\\WorkCommand->handle()\n#30 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\laravel\\framework\\src\\Illuminate\\Container\\Util.php(43): Illuminate\\Container\\BoundMethod::Illuminate\\Container\\{closure}()\n#31 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\laravel\\framework\\src\\Illuminate\\Container\\BoundMethod.php(96): Illuminate\\Container\\Util::unwrapIfClosure(Object(Closure))\n#32 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\laravel\\framework\\src\\Illuminate\\Container\\BoundMethod.php(35): Illuminate\\Container\\BoundMethod::callBoundMethod(Object(Illuminate\\Foundation\\Application), Array, Object(Closure))\n#33 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\laravel\\framework\\src\\Illuminate\\Container\\Container.php(799): Illuminate\\Container\\BoundMethod::call(Object(Illuminate\\Foundation\\Application), Array, Array, NULL)\n#34 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\laravel\\framework\\src\\Illuminate\\Console\\Command.php(211): Illuminate\\Container\\Container->call(Array)\n#35 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\symfony\\console\\Command\\Command.php(341): Illuminate\\Console\\Command->execute(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Illuminate\\Console\\OutputStyle))\n#36 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\laravel\\framework\\src\\Illuminate\\Console\\Command.php(180): Symfony\\Component\\Console\\Command\\Command->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Illuminate\\Console\\OutputStyle))\n#37 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\symfony\\console\\Application.php(1117): Illuminate\\Console\\Command->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))\n#38 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\symfony\\console\\Application.php(356): Symfony\\Component\\Console\\Application->doRunCommand(Object(Illuminate\\Queue\\Console\\WorkCommand), Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))\n#39 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\symfony\\console\\Application.php(195): Symfony\\Component\\Console\\Application->doRun(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))\n#40 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Console\\Kernel.php(198): Symfony\\Component\\Console\\Application->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))\n#41 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Application.php(1235): Illuminate\\Foundation\\Console\\Kernel->handle(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))\n#42 C:\\xampp\\htdocs\\new_saas\\backend\\artisan(16): Illuminate\\Foundation\\Application->handleCommand(Object(Symfony\\Component\\Console\\Input\\ArgvInput))\n#43 {main}', '2026-06-29 08:00:03');
INSERT INTO `failed_jobs` (`id`, `uuid`, `connection`, `queue`, `payload`, `exception`, `failed_at`) VALUES
(16, 'ab96281b-7544-41c1-ab7e-c06d9779bd4e', 'database', 'default', '{\"uuid\":\"ab96281b-7544-41c1-ab7e-c06d9779bd4e\",\"displayName\":\"App\\\\Jobs\\\\VerifyPendingEmailDomainsJob\",\"job\":\"Illuminate\\\\Queue\\\\CallQueuedHandler@call\",\"maxTries\":1,\"maxExceptions\":null,\"failOnTimeout\":false,\"backoff\":null,\"timeout\":null,\"retryUntil\":null,\"data\":{\"commandName\":\"App\\\\Jobs\\\\VerifyPendingEmailDomainsJob\",\"command\":\"O:37:\\\"App\\\\Jobs\\\\VerifyPendingEmailDomainsJob\\\":0:{}\",\"batchId\":null},\"createdAt\":1782806401,\"delay\":null}', 'UnexpectedValueException: The stream or file \"C:\\xampp\\htdocs\\new_saas\\backend\\storage\\logs/infobip-2026-06-30.log\" could not be opened in append mode: Failed to open stream: Permission denied\nThe exception occurred while attempting to log: email_domain.verify.cron_failed\nContext: {\"domain\":\"pixreals.io\",\"error\":\"The stream or file \\\"C:\\\\xampp\\\\htdocs\\\\new_saas\\\\backend\\\\storage\\\\logs\\/infobip-2026-06-30.log\\\" could not be opened in append mode: Failed to open stream: Permission denied\\nThe exception occurred while attempting to log: email_domain.verify.ok\\nContext: {\\\"domain\\\":\\\"pixreals.io\\\",\\\"status\\\":\\\"verifying\\\",\\\"dkim\\\":false,\\\"spf\\\":false,\\\"return_path\\\":false}\"} in C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\monolog\\monolog\\src\\Monolog\\Handler\\StreamHandler.php:164\nStack trace:\n#0 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\monolog\\monolog\\src\\Monolog\\Handler\\RotatingFileHandler.php(113): Monolog\\Handler\\StreamHandler->write(Object(Monolog\\LogRecord))\n#1 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\monolog\\monolog\\src\\Monolog\\Handler\\AbstractProcessingHandler.php(44): Monolog\\Handler\\RotatingFileHandler->write(Object(Monolog\\LogRecord))\n#2 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\monolog\\monolog\\src\\Monolog\\Logger.php(391): Monolog\\Handler\\AbstractProcessingHandler->handle(Object(Monolog\\LogRecord))\n#3 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\monolog\\monolog\\src\\Monolog\\Logger.php(633): Monolog\\Logger->addRecord(Object(Monolog\\Level), \'email_domain.ve...\', Array)\n#4 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\laravel\\framework\\src\\Illuminate\\Log\\Logger.php(187): Monolog\\Logger->warning(\'email_domain.ve...\', Array)\n#5 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\laravel\\framework\\src\\Illuminate\\Log\\Logger.php(108): Illuminate\\Log\\Logger->writeLog(\'warning\', \'email_domain.ve...\', Array)\n#6 C:\\xampp\\htdocs\\new_saas\\backend\\app\\Jobs\\VerifyPendingEmailDomainsJob.php(31): Illuminate\\Log\\Logger->warning(\'email_domain.ve...\', Array)\n#7 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\laravel\\framework\\src\\Illuminate\\Database\\Concerns\\BuildsQueries.php(68): App\\Jobs\\VerifyPendingEmailDomainsJob->App\\Jobs\\{closure}(Object(Illuminate\\Database\\Eloquent\\Collection), 1)\n#8 C:\\xampp\\htdocs\\new_saas\\backend\\app\\Jobs\\VerifyPendingEmailDomainsJob.php(26): Illuminate\\Database\\Eloquent\\Builder->chunk(50, Object(Closure))\n#9 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\laravel\\framework\\src\\Illuminate\\Container\\BoundMethod.php(36): App\\Jobs\\VerifyPendingEmailDomainsJob->handle(Object(App\\Services\\Messaging\\EmailDomainService))\n#10 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\laravel\\framework\\src\\Illuminate\\Container\\Util.php(43): Illuminate\\Container\\BoundMethod::Illuminate\\Container\\{closure}()\n#11 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\laravel\\framework\\src\\Illuminate\\Container\\BoundMethod.php(96): Illuminate\\Container\\Util::unwrapIfClosure(Object(Closure))\n#12 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\laravel\\framework\\src\\Illuminate\\Container\\BoundMethod.php(35): Illuminate\\Container\\BoundMethod::callBoundMethod(Object(Illuminate\\Foundation\\Application), Array, Object(Closure))\n#13 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\laravel\\framework\\src\\Illuminate\\Container\\Container.php(799): Illuminate\\Container\\BoundMethod::call(Object(Illuminate\\Foundation\\Application), Array, Array, NULL)\n#14 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\laravel\\framework\\src\\Illuminate\\Bus\\Dispatcher.php(129): Illuminate\\Container\\Container->call(Array)\n#15 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(180): Illuminate\\Bus\\Dispatcher->Illuminate\\Bus\\{closure}(Object(App\\Jobs\\VerifyPendingEmailDomainsJob))\n#16 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(App\\Jobs\\VerifyPendingEmailDomainsJob))\n#17 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\laravel\\framework\\src\\Illuminate\\Bus\\Dispatcher.php(133): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))\n#18 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\laravel\\framework\\src\\Illuminate\\Queue\\CallQueuedHandler.php(136): Illuminate\\Bus\\Dispatcher->dispatchNow(Object(App\\Jobs\\VerifyPendingEmailDomainsJob), false)\n#19 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(180): Illuminate\\Queue\\CallQueuedHandler->Illuminate\\Queue\\{closure}(Object(App\\Jobs\\VerifyPendingEmailDomainsJob))\n#20 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(App\\Jobs\\VerifyPendingEmailDomainsJob))\n#21 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\laravel\\framework\\src\\Illuminate\\Queue\\CallQueuedHandler.php(129): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))\n#22 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\laravel\\framework\\src\\Illuminate\\Queue\\CallQueuedHandler.php(70): Illuminate\\Queue\\CallQueuedHandler->dispatchThroughMiddleware(Object(Illuminate\\Queue\\Jobs\\DatabaseJob), Object(App\\Jobs\\VerifyPendingEmailDomainsJob))\n#23 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\laravel\\framework\\src\\Illuminate\\Queue\\Jobs\\Job.php(102): Illuminate\\Queue\\CallQueuedHandler->call(Object(Illuminate\\Queue\\Jobs\\DatabaseJob), Array)\n#24 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\laravel\\framework\\src\\Illuminate\\Queue\\Worker.php(485): Illuminate\\Queue\\Jobs\\Job->fire()\n#25 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\laravel\\framework\\src\\Illuminate\\Queue\\Worker.php(435): Illuminate\\Queue\\Worker->process(\'database\', Object(Illuminate\\Queue\\Jobs\\DatabaseJob), Object(Illuminate\\Queue\\WorkerOptions))\n#26 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\laravel\\framework\\src\\Illuminate\\Queue\\Worker.php(201): Illuminate\\Queue\\Worker->runJob(Object(Illuminate\\Queue\\Jobs\\DatabaseJob), \'database\', Object(Illuminate\\Queue\\WorkerOptions))\n#27 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\laravel\\framework\\src\\Illuminate\\Queue\\Console\\WorkCommand.php(148): Illuminate\\Queue\\Worker->daemon(\'database\', \'default\', Object(Illuminate\\Queue\\WorkerOptions))\n#28 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\laravel\\framework\\src\\Illuminate\\Queue\\Console\\WorkCommand.php(131): Illuminate\\Queue\\Console\\WorkCommand->runWorker(\'database\', \'default\')\n#29 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\laravel\\framework\\src\\Illuminate\\Container\\BoundMethod.php(36): Illuminate\\Queue\\Console\\WorkCommand->handle()\n#30 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\laravel\\framework\\src\\Illuminate\\Container\\Util.php(43): Illuminate\\Container\\BoundMethod::Illuminate\\Container\\{closure}()\n#31 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\laravel\\framework\\src\\Illuminate\\Container\\BoundMethod.php(96): Illuminate\\Container\\Util::unwrapIfClosure(Object(Closure))\n#32 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\laravel\\framework\\src\\Illuminate\\Container\\BoundMethod.php(35): Illuminate\\Container\\BoundMethod::callBoundMethod(Object(Illuminate\\Foundation\\Application), Array, Object(Closure))\n#33 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\laravel\\framework\\src\\Illuminate\\Container\\Container.php(799): Illuminate\\Container\\BoundMethod::call(Object(Illuminate\\Foundation\\Application), Array, Array, NULL)\n#34 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\laravel\\framework\\src\\Illuminate\\Console\\Command.php(211): Illuminate\\Container\\Container->call(Array)\n#35 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\symfony\\console\\Command\\Command.php(341): Illuminate\\Console\\Command->execute(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Illuminate\\Console\\OutputStyle))\n#36 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\laravel\\framework\\src\\Illuminate\\Console\\Command.php(180): Symfony\\Component\\Console\\Command\\Command->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Illuminate\\Console\\OutputStyle))\n#37 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\symfony\\console\\Application.php(1117): Illuminate\\Console\\Command->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))\n#38 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\symfony\\console\\Application.php(356): Symfony\\Component\\Console\\Application->doRunCommand(Object(Illuminate\\Queue\\Console\\WorkCommand), Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))\n#39 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\symfony\\console\\Application.php(195): Symfony\\Component\\Console\\Application->doRun(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))\n#40 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Console\\Kernel.php(198): Symfony\\Component\\Console\\Application->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))\n#41 C:\\xampp\\htdocs\\new_saas\\backend\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Application.php(1235): Illuminate\\Foundation\\Console\\Kernel->handle(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))\n#42 C:\\xampp\\htdocs\\new_saas\\backend\\artisan(16): Illuminate\\Foundation\\Application->handleCommand(Object(Symfony\\Component\\Console\\Input\\ArgvInput))\n#43 {main}', '2026-06-30 08:00:02');

-- --------------------------------------------------------

--
-- Table structure for table `funnels`
--

CREATE TABLE `funnels` (
  `id` bigint(20) UNSIGNED NOT NULL,
  `tenant_id` bigint(20) UNSIGNED NOT NULL,
  `name` varchar(255) NOT NULL,
  `description` text DEFAULT NULL,
  `status` enum('draft','active','paused') NOT NULL DEFAULT 'draft',
  `is_default` tinyint(1) NOT NULL DEFAULT 0,
  `triggers` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL CHECK (json_valid(`triggers`)),
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

-- --------------------------------------------------------

--
-- Table structure for table `funnel_edges`
--

CREATE TABLE `funnel_edges` (
  `id` bigint(20) UNSIGNED NOT NULL,
  `funnel_id` bigint(20) UNSIGNED NOT NULL,
  `edge_id` varchar(255) NOT NULL,
  `source_node_id` varchar(255) NOT NULL,
  `target_node_id` varchar(255) NOT NULL,
  `label` varchar(255) DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

-- --------------------------------------------------------

--
-- Table structure for table `funnel_executions`
--

CREATE TABLE `funnel_executions` (
  `id` bigint(20) UNSIGNED NOT NULL,
  `tenant_id` bigint(20) UNSIGNED NOT NULL,
  `funnel_id` bigint(20) UNSIGNED NOT NULL,
  `contact_id` bigint(20) UNSIGNED NOT NULL,
  `conversation_id` bigint(20) UNSIGNED DEFAULT NULL,
  `current_node_id` varchar(255) NOT NULL,
  `status` enum('running','waiting','completed','cancelled') NOT NULL DEFAULT 'running',
  `wait_until` timestamp NULL DEFAULT NULL,
  `last_message_id` bigint(20) UNSIGNED DEFAULT NULL,
  `metadata` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL CHECK (json_valid(`metadata`)),
  `started_at` timestamp NULL DEFAULT NULL,
  `completed_at` timestamp NULL DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

-- --------------------------------------------------------

--
-- Table structure for table `funnel_nodes`
--

CREATE TABLE `funnel_nodes` (
  `id` bigint(20) UNSIGNED NOT NULL,
  `funnel_id` bigint(20) UNSIGNED NOT NULL,
  `node_id` varchar(255) NOT NULL,
  `type` enum('start','message','wait','condition','tag','transfer_human','ai_reply') NOT NULL,
  `label` varchar(255) DEFAULT NULL,
  `config` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL CHECK (json_valid(`config`)),
  `position_x` double NOT NULL DEFAULT 0,
  `position_y` double NOT NULL DEFAULT 0,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

-- --------------------------------------------------------

--
-- Table structure for table `imports`
--

CREATE TABLE `imports` (
  `id` bigint(20) UNSIGNED NOT NULL,
  `tenant_id` bigint(20) UNSIGNED NOT NULL,
  `contact_list_id` bigint(20) UNSIGNED DEFAULT NULL,
  `file_path` varchar(255) NOT NULL,
  `status` enum('pending','processing','completed','failed') NOT NULL DEFAULT 'pending',
  `total_rows` int(10) UNSIGNED NOT NULL DEFAULT 0,
  `processed_rows` int(10) UNSIGNED NOT NULL DEFAULT 0,
  `error_message` text DEFAULT NULL,
  `mapping` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL CHECK (json_valid(`mapping`)),
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

-- --------------------------------------------------------

--
-- Table structure for table `infobip_whatsapp_numbers`
--

CREATE TABLE `infobip_whatsapp_numbers` (
  `id` bigint(20) UNSIGNED NOT NULL,
  `sender` varchar(255) NOT NULL,
  `number` varchar(255) NOT NULL,
  `display_name` varchar(255) DEFAULT NULL,
  `tenant_id` bigint(20) UNSIGNED DEFAULT NULL,
  `status` varchar(255) NOT NULL DEFAULT 'active',
  `synced_at` timestamp NULL DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

-- --------------------------------------------------------

--
-- Table structure for table `jobs`
--

CREATE TABLE `jobs` (
  `id` bigint(20) UNSIGNED NOT NULL,
  `queue` varchar(255) NOT NULL,
  `payload` longtext NOT NULL,
  `attempts` tinyint(3) UNSIGNED NOT NULL,
  `reserved_at` int(10) UNSIGNED DEFAULT NULL,
  `available_at` int(10) UNSIGNED NOT NULL,
  `created_at` int(10) UNSIGNED NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

-- --------------------------------------------------------

--
-- Table structure for table `job_batches`
--

CREATE TABLE `job_batches` (
  `id` varchar(255) NOT NULL,
  `name` varchar(255) NOT NULL,
  `total_jobs` int(11) NOT NULL,
  `pending_jobs` int(11) NOT NULL,
  `failed_jobs` int(11) NOT NULL,
  `failed_job_ids` longtext NOT NULL,
  `options` mediumtext DEFAULT NULL,
  `cancelled_at` int(11) DEFAULT NULL,
  `created_at` int(11) NOT NULL,
  `finished_at` int(11) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `job_batches`
--

INSERT INTO `job_batches` (`id`, `name`, `total_jobs`, `pending_jobs`, `failed_jobs`, `failed_job_ids`, `options`, `cancelled_at`, `created_at`, `finished_at`) VALUES
('a1ff75d8-4f03-4d44-a480-343e16a11271', 'campaign-1', 1, 0, 0, '[]', 'a:3:{s:5:\"queue\";s:9:\"campaigns\";s:4:\"then\";a:1:{i:0;O:47:\"Laravel\\SerializableClosure\\SerializableClosure\":1:{s:12:\"serializable\";O:46:\"Laravel\\SerializableClosure\\Serializers\\Signed\":2:{s:12:\"serializable\";s:3353:\"O:46:\"Laravel\\SerializableClosure\\Serializers\\Native\":5:{s:3:\"use\";a:3:{s:8:\"campaign\";O:45:\"Illuminate\\Contracts\\Database\\ModelIdentifier\":5:{s:5:\"class\";s:19:\"App\\Models\\Campaign\";s:2:\"id\";i:1;s:9:\"relations\";a:0:{}s:10:\"connection\";s:5:\"mysql\";s:15:\"collectionClass\";N;}s:7:\"machine\";O:33:\"App\\Services\\CampaignStateMachine\":0:{}s:7:\"billing\";O:35:\"App\\Services\\Billing\\BillingService\":1:{s:44:\"\0App\\Services\\Billing\\BillingService\0pricing\";O:35:\"App\\Services\\Billing\\PricingService\":0:{}}}s:8:\"function\";s:2723:\"function () use ($campaign, $machine, $billing) {\n                // P0R-07: refund calculation under pessimistic lock + idempotency key.\n                // Antes: lia sent_count fora de transação — race entre 2 callbacks\n                // (cancel + then ou retry de batch) podia liberar 2x.\n                // Agora: tudo numa transação curta, com refund_done flag em settings.\n                \\Illuminate\\Support\\Facades\\DB::transaction(function () use ($campaign, $billing) {\n                    $fresh = \\App\\Models\\Campaign::withoutGlobalScopes()\n                        ->where(\'id\', $campaign->id)\n                        ->lockForUpdate()\n                        ->first();\n                    if (! $fresh) return;\n                    $snapshot = $fresh->settings ?? [];\n                    if (! empty($snapshot[\'refund_done\'])) {\n                        return; // refund já feito por outra rota (cancel/catch)\n                    }\n                    $unitCents = (int) ($fresh->unit_cents_at_dispatch ?? $snapshot[\'unit_cents_at_dispatch\'] ?? 0);\n                    $reserved  = (int) ($fresh->reserved_cents ?? $snapshot[\'reserved_cents\'] ?? 0);\n                    $consumed  = $unitCents * max(0, (int) $fresh->sent_count);\n                    $refund    = max(0, $reserved - $consumed);\n                    if ($refund > 0) {\n                        $billing->release(\n                            $fresh->tenant_id,\n                            $refund,\n                            \'campaign_dispatch_refund\',\n                            $fresh->id\n                        );\n                    }\n                    $fresh->forceFill([\n                        \'settings\' => array_merge($snapshot, [\'refund_done\' => true]),\n                    ])->save();\n                });\n                $campaign->refresh();\n                $machine->transition($campaign, \'completed\');\n\n                // Notifications\n                try {\n                    $admin = \\App\\Models\\User::where(\'tenant_id\', $campaign->tenant_id)->first();\n                    if ($admin) {\n                        $admin->notify(new \\App\\Notifications\\CampaignCompletedNotification($campaign));\n\n                        $balanceCents = (int) ($campaign->tenant?->balance_cents ?? 0);\n                        if ($balanceCents > 0 && $balanceCents < 10000) {\n                            $admin->notify(new \\App\\Notifications\\LowCreditsNotification($balanceCents));\n                        }\n                    }\n                } catch (\\Throwable $e) {\n                    \\Illuminate\\Support\\Facades\\Log::channel(\'campaign\')->warning(\'notification.failed\', [\'error\' => $e->getMessage()]);\n                }\n            }\";s:5:\"scope\";s:27:\"App\\Jobs\\ProcessCampaignJob\";s:4:\"this\";N;s:4:\"self\";s:32:\"00000000000007ef0000000000000000\";}\";s:4:\"hash\";s:44:\"AIK1k2K30iArrXovgzTFwLIri92Xn/O+SJ85d3QDkEQ=\";}}}s:5:\"catch\";a:1:{i:0;O:47:\"Laravel\\SerializableClosure\\SerializableClosure\":1:{s:12:\"serializable\";O:46:\"Laravel\\SerializableClosure\\Serializers\\Signed\":2:{s:12:\"serializable\";s:2399:\"O:46:\"Laravel\\SerializableClosure\\Serializers\\Native\":5:{s:3:\"use\";a:3:{s:8:\"campaign\";O:45:\"Illuminate\\Contracts\\Database\\ModelIdentifier\":5:{s:5:\"class\";s:19:\"App\\Models\\Campaign\";s:2:\"id\";i:1;s:9:\"relations\";a:0:{}s:10:\"connection\";s:5:\"mysql\";s:15:\"collectionClass\";N;}s:7:\"machine\";O:33:\"App\\Services\\CampaignStateMachine\":0:{}s:7:\"billing\";O:35:\"App\\Services\\Billing\\BillingService\":1:{s:44:\"\0App\\Services\\Billing\\BillingService\0pricing\";O:35:\"App\\Services\\Billing\\PricingService\":0:{}}}s:8:\"function\";s:1769:\"function (\\Throwable $e) use ($campaign, $machine, $billing) {\n                // P0R-07: mesma lógica idempotente sob lock do then().\n                \\Illuminate\\Support\\Facades\\DB::transaction(function () use ($campaign, $billing) {\n                    $fresh = \\App\\Models\\Campaign::withoutGlobalScopes()\n                        ->where(\'id\', $campaign->id)\n                        ->lockForUpdate()\n                        ->first();\n                    if (! $fresh) return;\n                    $snapshot = $fresh->settings ?? [];\n                    if (! empty($snapshot[\'refund_done\'])) return;\n                    $unitCents = (int) ($fresh->unit_cents_at_dispatch ?? $snapshot[\'unit_cents_at_dispatch\'] ?? 0);\n                    $reserved  = (int) ($fresh->reserved_cents ?? $snapshot[\'reserved_cents\'] ?? 0);\n                    $consumed  = $unitCents * max(0, (int) $fresh->sent_count);\n                    $refund    = max(0, $reserved - $consumed);\n                    if ($refund > 0) {\n                        $billing->release(\n                            $fresh->tenant_id,\n                            $refund,\n                            \'campaign_dispatch_refund\',\n                            $fresh->id\n                        );\n                    }\n                    $fresh->forceFill([\n                        \'settings\' => array_merge($snapshot, [\'refund_done\' => true]),\n                    ])->save();\n                });\n                $campaign->refresh();\n                $machine->transition($campaign, \'failed\');\n                \\Illuminate\\Support\\Facades\\Log::channel(\'campaign\')->error(\'campaign.batch.failed\', [\n                    \'campaign_id\' => $campaign->id, \'error\' => $e->getMessage(),\n                ]);\n            }\";s:5:\"scope\";s:27:\"App\\Jobs\\ProcessCampaignJob\";s:4:\"this\";N;s:4:\"self\";s:32:\"00000000000007d10000000000000000\";}\";s:4:\"hash\";s:44:\"YPofkOomGklHleIskcCQik5EwtmH9xB04o4wdUg+aDI=\";}}}}', NULL, 1781185658, 1781185659);

-- --------------------------------------------------------

--
-- Table structure for table `message_dispatches`
--

CREATE TABLE `message_dispatches` (
  `id` bigint(20) UNSIGNED NOT NULL,
  `tenant_id` bigint(20) UNSIGNED NOT NULL,
  `user_id` bigint(20) UNSIGNED DEFAULT NULL,
  `channel` enum('sms','voice','email') NOT NULL,
  `source` enum('api','transactional','internal') NOT NULL DEFAULT 'api',
  `to` varchar(255) NOT NULL,
  `from` varchar(255) DEFAULT NULL,
  `from_name` varchar(100) DEFAULT NULL,
  `reply_to` varchar(255) DEFAULT NULL,
  `subject` varchar(255) DEFAULT NULL,
  `content` text NOT NULL,
  `audio_url` text DEFAULT NULL,
  `provider` varchar(50) NOT NULL,
  `external_message_id` varchar(120) DEFAULT NULL,
  `status` enum('queued','sending','sent','delivered','failed','rejected_opt_out','rejected_quiet_hours') NOT NULL DEFAULT 'queued',
  `idempotency_key` varchar(64) DEFAULT NULL,
  `idempotency_payload_hash` char(64) DEFAULT NULL,
  `unsubscribe_token` varchar(64) DEFAULT NULL,
  `unsubscribe_consumed_at` timestamp NULL DEFAULT NULL,
  `error_code` varchar(64) DEFAULT NULL,
  `error_message` varchar(500) DEFAULT NULL,
  `scheduled_for` timestamp NULL DEFAULT NULL,
  `sent_at` timestamp NULL DEFAULT NULL,
  `delivered_at` timestamp NULL DEFAULT NULL,
  `failed_at` timestamp NULL DEFAULT NULL,
  `answered_at` timestamp NULL DEFAULT NULL,
  `ended_at` timestamp NULL DEFAULT NULL,
  `call_duration_seconds` int(10) UNSIGNED DEFAULT NULL,
  `voice_status` varchar(64) DEFAULT NULL,
  `opened_at` timestamp NULL DEFAULT NULL,
  `first_clicked_at` timestamp NULL DEFAULT NULL,
  `bounced_at` timestamp NULL DEFAULT NULL,
  `bounce_type` varchar(32) DEFAULT NULL,
  `complaint_at` timestamp NULL DEFAULT NULL,
  `unsubscribed_at` timestamp NULL DEFAULT NULL,
  `meta` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL CHECK (json_valid(`meta`)),
  `variables` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL CHECK (json_valid(`variables`)),
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `cost_cents` int(10) UNSIGNED NOT NULL DEFAULT 0,
  `cost_micros` int(10) UNSIGNED NOT NULL DEFAULT 0,
  `sale_cents` int(10) UNSIGNED NOT NULL DEFAULT 0,
  `sale_micros` int(10) UNSIGNED NOT NULL DEFAULT 0,
  `charged_cents` int(10) UNSIGNED NOT NULL DEFAULT 0
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

-- --------------------------------------------------------

--
-- Table structure for table `message_opt_outs`
--

CREATE TABLE `message_opt_outs` (
  `id` bigint(20) UNSIGNED NOT NULL,
  `tenant_id` bigint(20) UNSIGNED NOT NULL,
  `channel` enum('sms','voice','email','all') NOT NULL,
  `identifier` varchar(255) NOT NULL,
  `identifier_hash` char(64) NOT NULL,
  `reason` varchar(50) NOT NULL,
  `source_dispatch_id` bigint(20) UNSIGNED DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

-- --------------------------------------------------------

--
-- Table structure for table `migrations`
--

CREATE TABLE `migrations` (
  `id` int(10) UNSIGNED NOT NULL,
  `migration` varchar(255) NOT NULL,
  `batch` int(11) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `migrations`
--

INSERT INTO `migrations` (`id`, `migration`, `batch`) VALUES
(1, '0001_01_01_000000_create_users_table', 1),
(2, '0001_01_01_000001_create_cache_table', 1),
(3, '0001_01_01_000002_create_jobs_table', 1),
(4, '2026_03_12_130844_create_personal_access_tokens_table', 1),
(5, '2026_03_12_131022_create_plans_table', 1),
(6, '2026_03_12_131030_create_tenants_table', 1),
(7, '2026_03_12_131033_alter_users_add_tenant_and_role', 1),
(8, '2026_03_12_131042_create_settings_table', 1),
(9, '2026_03_12_140000_create_elevenlabs_voices_table', 1),
(10, '2026_03_12_150000_create_contact_lists_table', 1),
(11, '2026_03_12_150010_create_contacts_table', 1),
(12, '2026_03_12_150020_create_imports_table', 1),
(13, '2026_03_12_150030_create_credit_transactions_table', 1),
(14, '2026_03_12_160000_create_campaigns_table', 1),
(15, '2026_03_12_160010_create_campaign_dispatches_table', 1),
(16, '2026_03_12_160020_alter_campaigns_add_constraints', 1),
(17, '2026_03_12_160030_alter_campaign_dispatches_add_fks', 1),
(18, '2026_03_13_100000_create_ai_prompts_table', 1),
(19, '2026_03_13_100010_create_ai_generations_table', 1),
(20, '2026_03_13_100020_create_ai_generation_sessions_table', 1),
(21, '2026_03_13_130100_create_audio_generations_table', 1),
(22, '2026_03_13_130200_create_ai_content_models_table', 1),
(23, '2026_03_22_100000_alter_campaigns_add_whatsapp_type', 1),
(24, '2026_03_22_100010_create_whatsapp_phone_numbers_table', 1),
(25, '2026_03_22_100020_create_conversations_table', 1),
(26, '2026_03_22_100030_create_conversation_messages_table', 1),
(27, '2026_03_22_200000_create_ai_personas_table', 1),
(28, '2026_03_22_300000_create_funnels_table', 1),
(29, '2026_03_22_300010_create_funnel_nodes_table', 1),
(30, '2026_03_22_300020_create_funnel_edges_table', 1),
(31, '2026_03_22_300030_create_funnel_executions_table', 1),
(32, '2026_03_23_100000_alter_funnel_nodes_add_types', 1),
(33, '2026_03_24_200000_create_outbound_webhooks_table', 1),
(34, '2026_03_24_300000_create_infobip_whatsapp_numbers_table', 1),
(35, '2026_03_25_100000_create_audit_logs_table', 1),
(36, '2026_03_25_200000_add_performance_indexes', 1),
(37, '2026_03_26_100000_create_tenant_channels_table', 1),
(38, '2026_04_01_000000_create_job_batches_table', 1),
(39, '2026_04_13_000001_create_coupons_table', 1),
(40, '2026_04_13_000002_create_subscriptions_table', 1),
(41, '2026_04_13_000003_create_payments_table', 1),
(42, '2026_04_13_100001_create_webhook_logs_table', 1),
(43, '2026_04_13_100002_create_coupon_usages_table', 1),
(44, '2026_04_13_100003_fix_subscriptions_plan_cascade', 1),
(45, '2026_04_18_000001_add_annual_cycle_to_plans_and_subscriptions', 1),
(46, '2026_04_18_000002_make_mp_payment_id_nullable', 1),
(47, '2026_04_18_000003_add_user_agent_to_audit_logs', 1),
(48, '2026_04_18_000004_add_lgpd_consent_to_users', 1),
(49, '2026_05_26_000001_create_message_dispatches_table', 1),
(50, '2026_05_26_000002_create_message_opt_outs_table', 1),
(51, '2026_05_26_000003_add_messaging_settings_to_plans', 1),
(52, '2026_05_26_000003_extend_credit_transactions_type_enum', 1),
(53, '2026_05_27_000001_create_service_prices_table', 1),
(54, '2026_05_27_000002_create_tenant_service_prices_table', 1),
(55, '2026_05_27_000003_alter_tenants_for_brl_billing', 1),
(56, '2026_05_27_000004_alter_plans_for_brl_billing', 1),
(57, '2026_05_27_000005_alter_message_dispatches_for_brl', 1),
(58, '2026_05_27_000006_rename_credit_transactions_to_balance_transactions', 1),
(59, '2026_05_27_000007_add_finance_role_to_users', 1),
(60, '2026_05_27_000008_preserve_balance_transactions_on_tenant_delete', 1),
(61, '2026_05_28_000001_add_monthly_cycle_key_to_balance_transactions', 1),
(62, '2026_05_28_000001_add_unsubscribe_to_campaign_dispatches', 1),
(63, '2026_05_28_000002_create_webhook_deliveries_table', 1),
(64, '2026_05_28_000003_add_voice_call_tracking_to_message_dispatches', 1),
(65, '2026_05_28_000004_create_email_sender_domains_table', 1),
(66, '2026_05_28_000005_add_from_name_reply_to_to_message_dispatches', 1),
(67, '2026_05_29_000001_add_pricing_snapshot_to_campaigns', 1),
(68, '2026_05_29_000001_add_variables_to_message_dispatches', 1),
(69, '2026_05_29_000002_add_unique_indexes_to_balance_transactions_and_dispatches', 1),
(70, '2026_05_29_000003_add_audit_logs_action_index', 1),
(71, '2026_05_30_000001_email_sender_domains_allow_admin_sync', 1),
(72, '2026_05_30_120000_add_micros_to_pricing_tables', 1),
(73, '2026_05_30_120001_add_whatsapp_fields_to_plans', 1),
(74, '2026_05_30_140000_add_admin_fields_to_users', 1),
(75, '2026_06_03_120000_add_executed_by_to_balance_transactions', 1),
(76, '2026_06_05_000001_add_email_tracking_to_message_dispatches', 1),
(77, '2026_06_05_000002_add_listed_to_plans', 1),
(78, '2026_06_09_000001_widen_audio_url_columns_to_text', 2),
(79, '2026_06_11_000001_backfill_tenant_channels_for_existing_tenants', 3);

-- --------------------------------------------------------

--
-- Table structure for table `outbound_webhooks`
--

CREATE TABLE `outbound_webhooks` (
  `id` bigint(20) UNSIGNED NOT NULL,
  `tenant_id` bigint(20) UNSIGNED NOT NULL,
  `url` varchar(1024) NOT NULL,
  `secret` varchar(255) DEFAULT NULL,
  `events` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NOT NULL CHECK (json_valid(`events`)),
  `is_active` tinyint(1) NOT NULL DEFAULT 1,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `outbound_webhooks`
--

INSERT INTO `outbound_webhooks` (`id`, `tenant_id`, `url`, `secret`, `events`, `is_active`, `created_at`, `updated_at`) VALUES
(1, 1, 'https://betleads.io/api/public/calls/businesscode-webhook', 'df69863c7d424bd7292456408e799c3e', '[\"message.queued\",\"message.rejected_opt_out\",\"message.sent\",\"message.delivered\",\"message.failed\",\"call.answered\",\"call.completed\",\"call.failed\",\"email.opened\",\"email.unsubscribed\",\"email.clicked\",\"email.bounced\",\"email.complaint\",\"billing.recharged\",\"billing.reactivated\",\"billing.charged\",\"billing.low_balance\",\"billing.suspended\",\"optout.removed\",\"optout.added\",\"webhook.test\"]', 1, '2026-06-11 20:44:57', '2026-06-11 20:44:57');

-- --------------------------------------------------------

--
-- Table structure for table `password_reset_tokens`
--

CREATE TABLE `password_reset_tokens` (
  `email` varchar(255) NOT NULL,
  `token` varchar(255) NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

-- --------------------------------------------------------

--
-- Table structure for table `payments`
--

CREATE TABLE `payments` (
  `id` bigint(20) UNSIGNED NOT NULL,
  `tenant_id` bigint(20) UNSIGNED NOT NULL,
  `subscription_id` bigint(20) UNSIGNED DEFAULT NULL,
  `mp_payment_id` varchar(255) DEFAULT NULL,
  `type` enum('subscription','credit_purchase') NOT NULL DEFAULT 'subscription',
  `status` enum('pending','approved','rejected','refunded','cancelled') NOT NULL DEFAULT 'pending',
  `payment_method` enum('credit_card','pix','boleto') NOT NULL DEFAULT 'credit_card',
  `amount` decimal(10,2) NOT NULL,
  `net_amount` decimal(10,2) DEFAULT NULL,
  `credits_purchased` int(10) UNSIGNED DEFAULT NULL,
  `pix_qr_code` text DEFAULT NULL,
  `pix_qr_code_base64` text DEFAULT NULL,
  `pix_expiration` timestamp NULL DEFAULT NULL,
  `boleto_url` varchar(255) DEFAULT NULL,
  `boleto_barcode` varchar(255) DEFAULT NULL,
  `paid_at` timestamp NULL DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `payments`
--

INSERT INTO `payments` (`id`, `tenant_id`, `subscription_id`, `mp_payment_id`, `type`, `status`, `payment_method`, `amount`, `net_amount`, `credits_purchased`, `pix_qr_code`, `pix_qr_code_base64`, `pix_expiration`, `boleto_url`, `boleto_barcode`, `paid_at`, `created_at`, `updated_at`) VALUES
(1, 1, NULL, '163303679934', 'credit_purchase', 'pending', 'pix', 100.00, NULL, 10000, '00020126580014br.gov.bcb.pix01363d837ead-c347-4ee5-b47f-3cb1ddd6b0b35204000053039865406100.005802BR5916BB202412100936216009Sao Paulo62250521mpqrinter163303679934630426A0', 'iVBORw0KGgoAAAANSUhEUgAABWQAAAVkAQMAAABpQ4TyAAAABlBMVEX///8AAABVwtN+AAAKm0lEQVR42uzdQXbiyLIG4PRhwJAlsBSWhpfGUliChx5w0DvllpQZoRSm2tWF3j3fP+FW3Ub66Fl0REYWEREREREREREREREREREREREREREREREREREREflvsx8WuZS38bOUcvj1v+5fn+/jV87DrZTjr7+/1YdcS6lP+Pz1l2/D8DF+TvkYv3yof/X1/eMSQUtLS0tLS0tLS0tLS0v7B7TX9OdL70XNC6cXTF9ZvmA//tQp4SfvqvpYtQF1oqWlpaWlpaWlpaWlpd2ytr4waMv4gubPZfmirzQ/Ofy00y9lqTXwWs1bq+9PWlpaWlpaWlpaWlpa2v+P2lOqdddfNCmbF51m7ZT7+OVbbcMeaWlpaWlpaWlpaWlpaf83tEOv9t2Fzukwz+F2R2ebnxweUqqalpaW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uQmCC', '2026-06-09 17:54:26', NULL, NULL, NULL, '2026-06-09 17:24:26', '2026-06-09 17:24:26'),
(2, 2, NULL, '163430003155', 'credit_purchase', 'pending', 'pix', 100.00, NULL, 10000, '00020126580014br.gov.bcb.pix01363d837ead-c347-4ee5-b47f-3cb1ddd6b0b35204000053039865406100.005802BR5916BB202412100936216009Sao Paulo62250521mpqrinter163430003155630476B8', 'iVBORw0KGgoAAAANSUhEUgAABWQAAAVkAQMAAABpQ4TyAAAABlBMVEX///8AAABVwtN+AAAKr0lEQVR42uzdQXLiyBIGYBEsWOoIHIWjwdE4CkfwkgVhvQgPoiqzSgY/9zSaiO/fEMwg6VPv0pWVNYiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIjIv5vd1OR8/1+H+j9+DMNxui3fZz9N6Waf9/+z+bp4TrnJ9utX88U5tLS0tLS0tLS0tLS0tLR/QHtJ38/3BxweD5wfNOf2bRk9Tdf64ko7TtOp/twXbbjDgZaWlpaWlpaWlpaWlnbN2lJpdrTHx4O399q3U5bODzyUz7ty8/Xj00PduUkomK+0tLS0tLS0tLS0tLS0/y3tXHnGsrVd9NzeL77WBfNc81bLsGO9krq963PNS0tLS0tLS0tLS0tLS/vf11aLnV8rpmHRcxsubltnx1JAh1eeb0ZLS0tLS0tLS0tLS0tL+69rU7fwUCrzeYm22ntauoJv7U0Ojwd+3lVTuEnpFt6Wi37X20xLS0tLS0tLS0tLS0v7N7Xt5KKqW3gsjb7HR80717q3Uq5eyvpu23L8wk1+MWeJlpaWlpaWlpaWlpaW9q9plzK2I2xzt3B40KUuV3dpmO6Y9pyG3Ibfh5aWlpaWlpaWlpaWlvavafflxukUlc/udtHQOtspnMvya37l6V7rfnMkSxDQ0tLS0tLS0tLS0tLSrkwb+2/vQ4jyKSrxIJS5TC2fU+q/DWdx/pPuEN28BTSMQaKlpaWlpaWlpaWlpaWl/bU2FNWh0Tc+OBfVoSJfavA9PPacDmkM0hRG/s5/K/j2ZrS0tLS0tLS0t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vTsS2bNLI2N/zOi5xLK6dTr3Aewsmhp0er8S29+o6WlpaWlpaWlpaWlpZ2zdqp3jYaat7P7oPyA75edd+colLVvB9l+TUvu4Yhuk/3ntLS0tLS0tLS0tLS0tK+V9vVx6FDQ7OieisTizq1brl4TFtBq8L5OC3lOrweWlpaWlpaWlpaWlpaWtof5p9iOmvDg/KwoUvqDi4jfzelW7i75/QW/lbQbTmmpaWlpaWlpaWlpaWlXYl2t9zge0jlajn0M34vte/1ftG1XDw1tW8+8yW3HF9paWlpaWlpaWlpaWlp16y9pO/nR82bH1gNGwoTi3ap5r0+aTmubhJq3uomtLS0tLS0tLS0tLS0tOvVltbZXa/m3XSP01xqoA1NvGXZ9TNpt9N3oaWlpaWlpaWlpaWlpaX9V7SxWzhP6w3bRXPX8PmxVFttXB3LmS/zqx6neGLoz858oaWlpaWlpaWlpaWlpV2XdirqoXfo536hPD30Jhd9pIdWtW/oFn46pZeWlpaWlpaWlpaWlpZ2Ddq2Wzhr5+Na5s9Le6u0cjp1W47bk0OrwvmpmpaWlpaWlpaWlpaWlvbt2qXJRUOqefPwoaKuhg6VV65uMpWV09P9lY9NwbzrCWhpaWlpaWlpaWlpaWlp/2+tiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIyKrzvwAAAP//ukS7x7IIjGIAAAAASUVORK5CYII=', '2026-06-15 18:20:44', NULL, NULL, NULL, '2026-06-15 17:50:44', '2026-06-15 17:50:44'),
(3, 1, NULL, '164247803680', 'credit_purchase', 'pending', 'pix', 1000.00, NULL, 100000, '00020126580014br.gov.bcb.pix01363d837ead-c347-4ee5-b47f-3cb1ddd6b0b352040000530398654071000.005802BR5916BB202412100936216009Sao Paulo62250521mpqrinter1642478036806304C98B', 'iVBORw0KGgoAAAANSUhEUgAABWQAAAVkAQMAAABpQ4TyAAAABlBMVEX///8AAABVwtN+AAAKwklEQVR42uzdQXIix7MH4CZYsOQIOgpHk47GUTiClloQqhejRysrswox/mts9UR8vw1Gdnd/zS6dVV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0alvu3av+PJ58bX8brS0tLS0tLS0tLS0tLRb18ae0+4UlTrBaOmX0D6NTc90k3uLeD8uPvad01barw92yNLS0tLS0tLS0tLS0tLSfke7ixZtt1o4bRddRyRd7mrrQTHdmS/Hvjlclb8zW5iWlpaWlpaWlpaWlpZ2c9rzMHC3LvT9rTNfdlEwr2OPjqXP+xSF8tebYWlpaWlpaWlpaWlpaWm3oJ2uFq7aNMHoi5p3unE1zb9dtU9l7NHye51TWlpaWlpaWlpaWlpa2h/U3nvQeOjnkpbOLrcHpsL5HMOH0sVjG7YVVb4JLS0tLS0tLS0tLS0tLe13tSIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiKbzv8FAAD//+ue9IoGkIfZAAAAAElFTkSuQmCC', '2026-06-15 19:01:32', NULL, NULL, NULL, '2026-06-15 18:31:32', '2026-06-15 18:31:32'),
(4, 1, NULL, '163744429391', 'credit_purchase', 'pending', 'pix', 1000.00, NULL, 100000, '00020126580014br.gov.bcb.pix01363d837ead-c347-4ee5-b47f-3cb1ddd6b0b352040000530398654071000.005802BR5916BB202412100936216009Sao Paulo62250521mpqrinter1637444293916304A78A', 'iVBORw0KGgoAAAANSUhEUgAABWQAAAVkAQMAAABpQ4TyAAAABlBMVEX///8AAABVwtN+AAAK5ElEQVR42uzdQXIiuRIGYDlYsPQROApHs4/mo3AEL71woBdDUygzS9hM94xhXnz/hvAMlL7qXYZSqSYiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIi/262fZW39tT7+/jKSz+29tz7619/nD43529+joccWuv9Iz45POT0o19/v/z1o+ex2On/79YIWlpaWlpaWlpaWlpaWtp/QHsof5+0J3VLD+6XhT5PCyw/GQucftzGjxd1P2v7+VWXt9gNbULtaWlpaWlpaWlpaWlpaR9ZWxb8VZ7u//ov7+vy9ZTTjz5HuXq4vGobb3d6yDHVwEvNuxTOQ7tU3x+0tLS0tLS0tLS0tLS0/03t8bxz2s8L9evl6vK5H59F20bBvGzD7mhpaWlpaWlp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2yhXW8sjbJdXq9pUQKd+28n2Ky0tLS0tLS0tLS0tLS3tH2hFREREREREREREREREREREREREREREREREREREHjr/CwAA//+F0jIQsuTABgAAAABJRU5ErkJggg==', '2026-06-17 18:04:45', NULL, NULL, NULL, '2026-06-17 17:34:45', '2026-06-17 17:34:45'),
(5, 1, NULL, '165068353726', 'credit_purchase', 'pending', 'pix', 1000.00, NULL, 100000, '00020126580014br.gov.bcb.pix01363d837ead-c347-4ee5-b47f-3cb1ddd6b0b352040000530398654071000.005802BR5916BB202412100936216009Sao Paulo62250521mpqrinter1650683537266304CA5B', 'iVBORw0KGgoAAAANSUhEUgAABWQAAAVkAQMAAABpQ4TyAAAABlBMVEX///8AAABVwtN+AAAK4ElEQVR42uzdQXIaSxIG4FKwYMkROApHQ0fjKBxBSy0IamL0aCqzuhrw2GP6RXz/RqNnQ3/tXU5mZRURERERERERERERERERERERERERERERERERERER+f9mW2c53f7oUK+l7G7/8auUY/x57r5nX2v3pdf058fb78d6uf2Xzc/3Th/uQ0tLS0tLS0tLS0tLS0v7B7Tn7vdT+Ugf/Lw/cMpluYBOr5q04ct2ty/ZN236ywdaWlpaWlpaWlpaWlraNWtbpTlpv/77hx+3Gnfw4J8PXVLNm8rVw61ALrdX/7x/6ab9rFE7Vd/ftLS0tLS0tLS0tLS0tP8ubWkPDA9qndOpXN3cPvydat7pgbc27KQsqWP6GWtdWlpaWlpaWlpaWlpa2n+5dhc7qNfW7Jzmcc+3B4cPz0dnw5e09us/X0JLS0tLS0tLS0tLS0tL+3e0w4HfMtPW1KJtfd7wJYf7A6cPTWdNr02ZXvm3Z5tpaWlpaWlpaWlpaWlp/6Z2vrnon9bs4f6Aj9bf/fl906aFp3L13Pq7aeT41S/5jT1LtLS0tLS0tLS0tLS0tH9Nu5Rdq3XTg/rsu/L1EJug4eBqiVPDk/bhGiRaWlpaWlpaWlpaWlraVWr37faU+S0qpZ01bR3TOu+cpnJ10H79jHO4fec0JAloaWlpaWlpaWlpaWlpV6kdTr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6mla0/H7oMbw69/bx2hXN45RoPrm7+txOytLS0tLS0tLS0tLS0tLQvadOdL6cSFu0OL/ssbVr4HK9rKfGVwwHWGl+5dKPG05fUhf9vgJaWlpaWlpaWlpaWlnY92tyqTeVquvxzd7vkM2zrnd/xMjgu2s6cfqQm8fF+Y+hl4d+NlpaWlpaWlpaWlpaWdn3avnM62Fw03H872HvbOqcPy9Z8/Whrv5bWhqWlpaWlpaWlpaWlpaVdr7bOjo32c7ehc7obbS7KaUO8X93PGg+uhjOntQ3xpqtYaGlpaWlpaWlpaWlpaVemXdJ/LVyjOXVQS3eKs8+pm7/th3iPdZDzbHiXlpaWlpaWlpaWlpaWlvaPaUsrqnvt/LqW0prD54Vp4aYNFXr4maaF67ObQ2lpaWlpaWlpaWlpaWnfq31Qrh5in7fv++7nl35O08Ldl+ZR4xIvjknTwtvuS2hpaWlpaWlpaWlpaWlXqT13v58WV9aWblp4qeadbg4trXBu2aQv7WteWlpaWlpaWlpaWlpa2vVr0xKiU1fj1u6BqVxdKpx7bT/E+xkL5lA4Pz0hS0tLS0tLS0tLS0tLS0v7O9qPZWV/XDQ9ID3oo23l3XV3vuxic3jwJU93C9PS0tLS0tLS0tLS0tKuTnuaLdzdzO98OT9t0WZ1jSt/B+uPHh+GpaWlpaWlpaWlpaWlpV2Ddjgt3GuP8djoOf7Mr7x8cHVwcUwaNS6vdU5paWlpaWlpaWlpaWlp36hd2lw0v/SzpNHZcj97Gi79PLXlQ+nD9T5/W4dLdNMrP+qc0tLS0tLS0tLS0tLS0tK+qBURERERERERERERERERERERERERERERERERERFZdf4TAAD//xdp9hAkCR6vAAAAAElFTkSuQmCC', '2026-06-20 20:47:38', NULL, NULL, NULL, '2026-06-20 20:17:38', '2026-06-20 20:17:38'),
(6, 1, NULL, '165344128720', 'credit_purchase', 'pending', 'pix', 1000.00, NULL, 100000, '00020126580014br.gov.bcb.pix01363d837ead-c347-4ee5-b47f-3cb1ddd6b0b352040000530398654071000.005802BR5916BB202412100936216009Sao Paulo62250521mpqrinter165344128720630484D6', 'iVBORw0KGgoAAAANSUhEUgAABWQAAAVkAQMAAABpQ4TyAAAABlBMVEX///8AAABVwtN+AAAKt0lEQVR42uzdQXYiORIGYPmxYMkROApHs4/mo3AEll7w0LzyIKSIFIbu6imy533/hqqaceaHd9ERChURERERERERERERERERERERERERERERERERERER+d9mWxf5/PXvu19/unz/X95//fF0/ay1fsyes681PfQS/vf328PO13/ZfD+s/XAOLS0tLS0tLS0tLS0tLe0/oD2mv3+Wt29dzvv4tOOdh31e/3hYaIev+v2rOPevuE+6Ay0tLS0tLS0tLS0tLe2atb3SHLTfL9yN5evmWvv+t2ytt/K1vXDby9XDtVAuvx72rWy/gk3/rKO2Vd9ftLS0tLS0tLS0tLS0tP8ubUt8Ue+gtnJ1c/3hr1Dzthde27C5gN702ndPS0tLS0tLS0tLS0tL+3+jPdzapJfe7NyNndNN+OHl6Ozuqh2Gdt+vD6GlpaWlpaWlpaWlpaWl/TPa6cBvq9C7toYWbe/zDg853F54SQdXL125SyPHvzfbTEtLS0tLS0tLS0tLS/sntcvNRXFauPd5W7naat1zL1ePvb87HTl+9JDf2LNES0tLS0tLS0tLS0tL+8e097LrtW54Uc4+la+HsQk6LNMNZ06HaeE6e+hfDi0tLS0tLS0tLS0tLe0f0+77g/sLhhW274uOaV12TkO5ul1exdIPsG6my3VbgoCWlpaWlpaWlpaWlpZ2Zdq4sjZNwV5SuVp603Nobnbn1/j3+V2cZaHdhKtZ+hokWlpaWlpaWlpaWlpaWtrf0w7qz/HFp35ty/utUj/3iv1YhmtbtrO1R5f2Kwg3hobPYeVv+G8FD6eFaWlpaWlpaWlpaWlpaV+u7bXvpa+uDdq6HPQNK2yHwrnfHBpHj3tzeFieeyzD+qMtLS0tLS0tLS0tLS0t7cq16fLPt1D79tW1m36D6I/Nzm26MXR35xaVMt7f8uRsMy0tLS0tLS0tLS0tLe1rtfux+fmduLq2ppq3K+uybP0c9aFwHg6q7uokX11CS0tLS0tLS0tLS0tL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l72ed96mV/T5qKwtXebVv7S0tLS0tLS0tLS0tLSrk+7XVaen+nFYf9tXfZ5Q7na99/WcINonY0ch2nhOHJMS0tLS0tLS0tLS0tLu1LtMf39c7Gydmh+tmnhfS9Xc80bnp8L57L4yuf0e6OlpaWlpaWlpaWlpaVdu7aPzg63qHRtSR3Uczpjeu/gahmHeCdLdCfztw9PyNLS0tLS0tLS0tLS0tLS/o72rbdos3I4Lhq29Ya0Pu9wUDUva1qOGm/T74uWlpaWlpaWlpaWlpb2X6X9XCzczYO+kzL10D/TDw9rj3apz9umhR9u6aWlpaWlpaWlpaWlpaVdg3Y6LZy14QbRYym55s2f1/VH8ezpcuS4LgX1b8w209LS0tLS0tLS0tLS0v4Z7b3NRctLP0sYnS2lpKVD7Ye3D/bfnsb266T6/qlzSktLS0tLS0tLS0tLS0v7pFZERERERERERERERERERERERERERERERERERERk1flPAAAA///Wm1/eBcX+8QAAAABJRU5ErkJggg==', '2026-06-22 20:46:40', NULL, NULL, NULL, '2026-06-22 20:16:40', '2026-06-22 20:16:40'),
(7, 1, NULL, '165615158070', 'credit_purchase', 'pending', 'pix', 1000.00, NULL, 100000, '00020126580014br.gov.bcb.pix01363d837ead-c347-4ee5-b47f-3cb1ddd6b0b352040000530398654071000.005802BR5916BB202412100936216009Sao Paulo62250521mpqrinter1656151580706304F91E', 'iVBORw0KGgoAAAANSUhEUgAABWQAAAVkAQMAAABpQ4TyAAAABlBMVEX///8AAABVwtN+AAAK3UlEQVR42uzdQZIiORIFUGEscskROApHI4/GUThCLllgaKzKEJJ7RJD0ZHURbfb+hq6ahnjROx93uYqIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiI/Lv5qJOcfv397tfnptavUo6//rJ91lo/535nX2v60Vv434/3Px/r9f43298/1r6cQ0tLS0tLS0tLS0tLS0v7B7Tn9OemPCRdf9CTAvp0/8fDRDv82O7XP137K+6T7kBLS0tLS0tLS0tLS0u7Zm2vNAdtLlfL/UFNX0f9/v7lVq4e7oV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lpaWlpaWlpaWlpaWnXoJ2dFs7a43hsNNe8NZ01zQdXw/7bpxfHfN85paWlpaWlpaWlpaWlpX2j9ukFKOHSzxJGZ0spoVxtXw5nTktqw7ZXPo7Durn6ftY5paWlpaWlpaWlpaWlpaV9USsiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiKy6vwvAAD//8Hw5kboXQV8AAAAAElFTkSuQmCC', '2026-06-24 17:26:02', NULL, NULL, NULL, '2026-06-24 16:56:02', '2026-06-24 16:56:02'),
(8, 1, NULL, '166100178204', 'credit_purchase', 'pending', 'pix', 1000.00, NULL, 100000, '00020126580014br.gov.bcb.pix01363d837ead-c347-4ee5-b47f-3cb1ddd6b0b352040000530398654071000.005802BR5916BB202412100936216009Sao Paulo62250521mpqrinter1661001782046304D30D', 'iVBORw0KGgoAAAANSUhEUgAABWQAAAVkAQMAAABpQ4TyAAAABlBMVEX///8AAABVwtN+AAAKyElEQVR42uzdQXIiOxIGYBEsvOQIHIWj4aNxFI7gpRcEmmgPhTJVKkw/9zT1Jr5/4/GLhvrKu5xMpYqIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiI/G/zVmc5df/k+Os/fvz6eWm/n7t/tK+1+9Jr9yXX28/L7b9svx42fbgPLS0tLS0tLS0tLS0tLe0f0J67309lkz743qkfFtDTqx5m2vBlu1//69Jecd/pDrS0tLS0tLS0tLS0tLRr1rZKM2ib+prK1HorW+u9fC2330O5eri/2uam3Nx+37afNWqn6vuTlpaWlpaWlpaWlpaW9t+lLe2B4UHHexU8lavb24c/U807PbC9ciqUt6323dPS0tLS0tLS0tLS0tL+f2h3Xc27a7Vum7/dpg/PR2fDl7T26+Xrv9PS0tLS0tLS0tLS0tLS/h3tcOC3zLQ1tWhbnzd8yeH+wOlD01nTa1NOXzZ96GezzbS0tLS0tLS0tLS0tLR/UzvfXPTf1uzh/oBN21z09ftU615auXpu/d02cvwbX/KDPUu0tLS0tLS0tLS0tLS0f027lF2rddOD+uy78vUQm6DT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lpaWlpaWlpadesfZsP+qaZ3XRz6FLnNIwc1+6Vj3FqeBd14ZXrE51TWlpaWlpaWlpaWlpa2hdq8+aiVPPWOHdbm7ZdfHJpK2vP7ebQhcI5vHKNB1e3/+DMKS0tLS0tLS0tLS0tLS1teXrP0lKFPrj0cz5q/NletcRLQEsJK39DkziNGk+v3l83SktLS0tLS0tLS0tLS7s+bag0a1eupss/d7dLPsO23jTgu3RctJ053aQm8fF+Y+hl4e9GS0tLS0tLS0tLS0tLuz5taHqWhc1FbdA3TAv3e29T5/Rh2bptndT97U+QNhfR0tLS0tLS0tLS0tLSrlpbZ8dG+7nbcQd1fuln6pxuuo1FmzTEe4xnTsMr9xPBtLS0tLS0tLS0tLS0tGvSLunTXZz90qHQ9NzHW1SGI7SbNHfbOqeDnGfDu7S0tLS0tLS0tLS0tLS0f0xbWlHda9PPc2zVht/nl35u2rRw7TYX1fbqqTI/PFuh09LS0tLS0tLS0tLS0v5d7YNy9TA7czpePpTK1cOsBg4fHo4cj5fo0tLS0tLS0tLS0tLS0q5Ue+5+P3Ura+ebi6bjoVk7f8XSCufSvWIbOb50fzdaWlpaWlpaWlpaWlratWvTEqLTfc42P7h0I7RLhXNStvbrtX14FzuntXvlb07I0tLS0tLS0tLS0tLS0tL+RLvplP11LWFF0rmUfkXS/NjorrvzZRebw73ymd3CtLS0tLS0tLS0tLS0tKvTnmYLdwd3vpy/bdFu5muPdl2fN6w/enwYlpaWlpaWlpaWlpaWlnYN2uG0cK9NN4g+rHkHB1fT/tswcpxGjctznVNaWlpaWlpaWlpaWlraF2qXNhfNL/0saXS2lDK/ReXUlg+lD9fRMt2kCtX3o84pLS0tLS0tLS0tLS0tLe2TWhEREREREREREREREREREREREREREREREREREZFV5z8BAAD//0WSRNl6FYyAAAAAAElFTkSuQmCC', '2026-06-27 20:19:34', NULL, NULL, NULL, '2026-06-27 19:49:34', '2026-06-27 19:49:34'),
(9, 1, NULL, '166274990608', 'credit_purchase', 'pending', 'pix', 1000.00, NULL, 100000, '00020126580014br.gov.bcb.pix01363d837ead-c347-4ee5-b47f-3cb1ddd6b0b352040000530398654071000.005802BR5916BB202412100936216009Sao Paulo62250521mpqrinter166274990608630428AF', 'iVBORw0KGgoAAAANSUhEUgAABWQAAAVkAQMAAABpQ4TyAAAABlBMVEX///8AAABVwtN+AAAK4UlEQVR42uzdQZLiyA4A0KxgwZIjcBSOBkfjKByhlrUgKn90BXZKsqlmunsa5sfThigG28+zU0spNSGEEEIIIYQQQgghhBBCCCGEEEIIIYQQQgghhBBCCCGEEEII8e/Gti/i3N56f7/9992Pbz6/Pk+3r47zL6/jJpfWev+Id843Od3+Pv64aDce9vXf90sELS0tLS0tLS0tLS0tLe0f0F7K35P28OOq96L7evAm3XA84OvidnvloO43bb9dPL3FfmgT6kBLS0tLS0tLS0tLS0v7ytrywLeRe74v09cp1/363C8S5pYuPvxImEMOfFx75f3tyV/xQUtLS0tLS0tLS0tLS/uf076Pnxzn3Pc6vqzp6r486LDQhledyrB7WlpaWlpaWlpaWlpa2v8PbSh+Htf6by93ct5RUQ3l11Q5bbS0tLS0tLS0tLS0tLS0f1FbuoXzWdMek+yv2Nwumj7DTQ63Bw7t550zqJtx0e/1NtPS0tLS0tLS0tLS0tL+Te29yUWHOdddafQNOW+aXHQoxeJHb/Lbc5ZoaWlpaWlpaWlpaWlp/4J2NfKDRu57HZXTelx0NecNr36cD7BO5ddJeW2/GbS0tLS0tLS0tLS0tLR/U5uOi25HpfRQ+m5bGV17L10d21R2o5n3NI9DCltUauL8SM5LS0tLS0tLS0tLS0tL+3RtSlcPs7aXdHWTtqq0eYRtfdA2JsrTTXLiPF1cX3l0ANPS0tLS0tLS0tLS0tLS/hnttjw47Xj5LA8IyXVbnjkdr9pLhh66hcdNejm4un0gQ6elpaWlpaWlpaWlpaV9jnZl6uwh1nnr/Nta9003rg/ajTFISZu6hfs4sJr+v9HS0tLS0tLS0tLS0tK+qjZ9nsvZ02Msi6YNops7XcKtbAxdWT96LDlv+qSlpaWlp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utHx5nTNnLecOa0rmShpaWlpaWlpaWlpaWlfSXtqv5zFD1r7Mr6zJrz9vj3e1sZexQWeu5LU+6DO19oaWlpaWlpaWlpaWlpaX9Fm0qy4bjoe0mu2+gWnkq0t8x8Jc1vy/Q+jfwN/1aQDqzS0tLS0tLS0tLS0tLSvph22xdxnuff9lSirTtfvp1cVG9Wc95ehuiOV6alpaWlpaWlpaWlpaV9ae2l/J3OmrZR/ExbVFqpnNacdyqznueLWzq4Oiqn1yL5SW8zLS0tLS0tLS0tLS0t7dO1qXV2GjpUM89U7Nyv9dv2OML27dtVLKdYfl0JWlpaWlpaWlpaWlpaWtp/RdtSZn68nUEd61ruNfq2sjl0d3/kbzpzurI4hpaWlpaWlpaWlpaWlvY/o83dwqNEmzeH1rUtZejQ25hclOI6cuDLbXFMu2n38ZVpaWlpaWlpaWlpaWlpX1VbuoXfyujaz6K9jnUtNV1NldP35QKZU2w53scy7Ef7edDS0tLS0tLS0tLS0tI+XbucXBQqp30UPcfo2mvZGPpRWmnDgw/x4GofldNlv+29g6u0tLS0tLS0tLS0tLS0tL+mFUIIIYQQQgghhBBCCCGEEEIIIYQQQgghhBBCCCGEEEIIIYR46fhfAAAA//9YEuvHXzZ9ugAAAABJRU5ErkJggg==', '2026-06-29 03:50:11', NULL, NULL, NULL, '2026-06-29 03:20:11', '2026-06-29 03:20:11');

-- --------------------------------------------------------

--
-- Table structure for table `personal_access_tokens`
--

CREATE TABLE `personal_access_tokens` (
  `id` bigint(20) UNSIGNED NOT NULL,
  `tokenable_type` varchar(255) NOT NULL,
  `tokenable_id` bigint(20) UNSIGNED NOT NULL,
  `name` text NOT NULL,
  `token` varchar(64) NOT NULL,
  `abilities` text DEFAULT NULL,
  `last_used_at` timestamp NULL DEFAULT NULL,
  `expires_at` timestamp NULL DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `personal_access_tokens`
--

INSERT INTO `personal_access_tokens` (`id`, `tokenable_type`, `tokenable_id`, `name`, `token`, `abilities`, `last_used_at`, `expires_at`, `created_at`, `updated_at`) VALUES
(1, 'App\\Models\\User', 1, 'auth', 'add9b8ab524791e226b825da26ae5162079b45d150c320f3c64392732e35dfe5', '[\"*\"]', NULL, NULL, '2026-06-09 12:08:10', '2026-06-09 12:08:10'),
(2, 'App\\Models\\User', 2, 'auth', 'bb3e132247baf267113e2147c0a004539b0efd5554e6faa1499aa828fa1acde1', '[\"*\"]', NULL, NULL, '2026-06-09 12:08:11', '2026-06-09 12:08:11'),
(4, 'App\\Models\\User', 1, 'auth', '2859acbf53ea83b7be8709b3d9e3811d19ccf353b05dc459bc3aa7beab9f1d3b', '[\"*\"]', '2026-06-09 21:23:01', NULL, '2026-06-09 14:28:59', '2026-06-09 21:23:01'),
(18, 'App\\Models\\User', 2, 'API Pedro (server-to-server, sem expiracao)', '5d405135aae73cee9de353a03aa6368f0e2c6735522eb20875134613d0fe551b', '[\"messaging:sms\",\"messaging:voice\",\"messaging:email\",\"messaging:read\",\"messaging:*\",\"__server-to-server\"]', '2026-07-02 16:26:03', NULL, '2026-06-09 14:47:51', '2026-07-02 16:26:03'),
(19, 'App\\Models\\User', 1, 'auth', '580bd756d9379b2741fff10d573386cbda736fa0bb91e111ab38e87a435a951a', '[\"*\"]', NULL, NULL, '2026-06-09 16:33:16', '2026-06-09 16:33:16'),
(20, 'App\\Models\\User', 2, 'auth', 'f7d73c8c47ccf443c1c055561c60f94cc0f6bdf544781dbcf410c1ec1cc74450', '[\"*\"]', '2026-06-09 21:22:42', NULL, '2026-06-09 17:22:53', '2026-06-09 21:22:42'),
(21, 'App\\Models\\User', 2, 'auth', '14e4288e8685b539a42ce965e61f4adcd6a746c8a14383bf913d100f6ca35a5d', '[\"*\"]', '2026-06-11 19:36:25', NULL, '2026-06-10 19:36:45', '2026-06-11 19:36:25'),
(22, 'App\\Models\\User', 1, 'auth', 'bc30cd3b54cb42261886e5d608f8b4250972b656cb2a3c891609254c64397eee', '[\"*\"]', '2026-06-11 00:16:02', NULL, '2026-06-10 19:58:40', '2026-06-11 00:16:02'),
(24, 'App\\Models\\User', 2, 'auth', '9889a326b36a2593e1caa70587540fd90521093e74d8b6c280699f18c28ac4cc', '[\"*\"]', '2026-06-11 21:41:47', NULL, '2026-06-11 20:44:28', '2026-06-11 21:41:47'),
(25, 'App\\Models\\User', 1, 'auth', '950918c07fa8ddc3f2c002f59fac81897e63cdb7f5114f7ba398201e55e939a9', '[\"*\"]', '2026-06-13 09:38:48', NULL, '2026-06-12 17:34:25', '2026-06-13 09:38:48'),
(26, 'App\\Models\\User', 1, 'auth', 'f9348147674233b243077dc3ac62a1d99ba4718a886475d259783011b1a9a11e', '[\"*\"]', NULL, NULL, '2026-06-14 20:49:00', '2026-06-14 20:49:00'),
(28, 'App\\Models\\User', 2, 'auth', '87a0daaf51a107c748d818765abdbcb22c002424ee094fb70921910266bb877e', '[\"*\"]', '2026-06-14 23:27:16', NULL, '2026-06-14 23:17:03', '2026-06-14 23:27:16'),
(29, 'App\\Models\\User', 2, 'auth', '40f2cec5ceb5146b7ed5a47984a7f95dfe32fb88fce5a8f4d5e1ed5b4082201c', '[\"*\"]', '2026-06-16 18:16:26', NULL, '2026-06-15 18:16:30', '2026-06-16 18:16:26'),
(30, 'App\\Models\\User', 2, 'auth', 'ad9719e0564316cbab83dec58d947cfb41cd50aa05d0c85f26a2a270bb32d018', '[\"*\"]', '2026-06-16 18:20:15', NULL, '2026-06-15 18:20:47', '2026-06-16 18:20:15'),
(32, 'App\\Models\\User', 1, 'auth', '35674734785e0361b1e1b1ec56394de60aad114fcfdeb9150af3250da9775fb7', '[\"*\"]', '2026-06-18 17:38:31', NULL, '2026-06-17 17:38:33', '2026-06-18 17:38:31'),
(33, 'App\\Models\\User', 2, 'auth', '6dafb4fe4e53665cd6905fadd1df9e5e4a0bf10d3cdda1a4152de68a4423cd51', '[\"*\"]', '2026-06-18 23:10:51', NULL, '2026-06-18 15:24:35', '2026-06-18 23:10:51'),
(34, 'App\\Models\\User', 1, 'auth', 'f4cd894775d27c832768696cbd2fa5dcef235944eb1312573a0427bf62566174', '[\"*\"]', '2026-06-20 20:41:30', NULL, '2026-06-19 20:41:38', '2026-06-20 20:41:30'),
(35, 'App\\Models\\User', 2, 'auth', '95ca3ee5597c20e7ac8e154d32a7261ac089dd0b7161ed9af9ac87552b615751', '[\"*\"]', '2026-06-21 20:16:52', NULL, '2026-06-20 20:17:23', '2026-06-21 20:16:52'),
(36, 'App\\Models\\User', 2, 'auth', '9b39a31553479af4324d7b54606e39f5378cbe2b2e0399d503ef90a30d579670', '[\"*\"]', '2026-06-23 19:02:46', NULL, '2026-06-22 19:03:13', '2026-06-23 19:02:46'),
(38, 'App\\Models\\User', 1, 'auth', '782af846b7e841af310fbbe3b8b49a211a101cfdd20ff39aec05d182db94ec64', '[\"*\"]', '2026-06-23 20:48:34', NULL, '2026-06-22 20:48:43', '2026-06-23 20:48:34'),
(39, 'App\\Models\\User', 2, 'auth', 'd269ef852e85c46e2599bbe722233c0d6768e35e211e7d30e3d7a2b7fdcc2c93', '[\"*\"]', '2026-06-24 20:21:01', NULL, '2026-06-23 20:22:14', '2026-06-24 20:21:01'),
(40, 'App\\Models\\User', 1, 'auth', '70dc04e4711a2d3de852e2038a5a0c58eb8e3d00b84e6d7c641d0d2417e2d100', '[\"*\"]', '2026-06-25 18:01:50', NULL, '2026-06-24 18:01:53', '2026-06-25 18:01:50'),
(41, 'App\\Models\\User', 1, 'auth', '40032c80eb35ddfa3a2bd7570f5273b2a2f80ede6565e380e1163bfbe787902a', '[\"*\"]', '2026-06-26 19:43:52', NULL, '2026-06-25 19:43:56', '2026-06-26 19:43:52'),
(42, 'App\\Models\\User', 1, 'auth', '468650abaa04ccbd7459b4ede8f1e76fbde3c32e283a423681e68b49ac70327b', '[\"*\"]', '2026-06-27 20:13:24', NULL, '2026-06-26 20:13:27', '2026-06-27 20:13:24'),
(43, 'App\\Models\\User', 2, 'auth', '38ead8d85b4abdc798fed0e1bc6f2de18e1cf4dfcbac0b9725adb2f0fff0a58b', '[\"*\"]', '2026-06-27 20:09:58', NULL, '2026-06-26 20:42:07', '2026-06-27 20:09:58'),
(44, 'App\\Models\\User', 2, 'auth', '1cde370c04cff0ea4fe0d040b33ec3c731fb6ee9c8b5d875fc9bdd8393620b02', '[\"*\"]', '2026-06-29 13:56:37', NULL, '2026-06-29 03:15:06', '2026-06-29 13:56:37'),
(45, 'App\\Models\\User', 1, 'auth', '8fc3340b187622fbf2480f4e8d77b2e8ec5c9ddab3c8380a8a96a7ee82e61db2', '[\"*\"]', '2026-06-30 12:54:50', NULL, '2026-06-29 12:54:59', '2026-06-30 12:54:50'),
(46, 'App\\Models\\User', 1, 'auth', '119b3ac9ac5dc0d5f2c28b4315bd895e366f5883e25c3e2688a1bab3c706bec2', '[\"*\"]', '2026-07-01 14:03:16', NULL, '2026-06-30 14:03:25', '2026-07-01 14:03:16'),
(47, 'App\\Models\\User', 1, 'auth', '1d9d1296ed8b3d3cc1948a48571e32aa98161b00db5ad45d3bb5cae1335a256d', '[\"*\"]', '2026-07-02 16:26:48', NULL, '2026-07-02 14:27:17', '2026-07-02 16:26:48');

-- --------------------------------------------------------

--
-- Table structure for table `plans`
--

CREATE TABLE `plans` (
  `id` bigint(20) UNSIGNED NOT NULL,
  `name` varchar(255) NOT NULL,
  `slug` varchar(255) NOT NULL,
  `listed` tinyint(1) NOT NULL DEFAULT 1,
  `price_monthly` decimal(10,2) NOT NULL,
  `price_annual` decimal(10,2) DEFAULT NULL,
  `max_contacts` int(10) UNSIGNED NOT NULL,
  `max_campaigns` int(10) UNSIGNED NOT NULL,
  `rate_limit_sms_per_min` int(10) UNSIGNED DEFAULT NULL,
  `rate_limit_voice_per_min` int(10) UNSIGNED DEFAULT NULL,
  `rate_limit_email_per_min` int(10) UNSIGNED DEFAULT NULL,
  `quiet_hours_enabled` tinyint(1) NOT NULL DEFAULT 1,
  `quiet_hours_start` time NOT NULL DEFAULT '22:00:00',
  `quiet_hours_end` time NOT NULL DEFAULT '08:00:00',
  `quiet_hours_timezone` varchar(50) NOT NULL DEFAULT 'America/Sao_Paulo',
  `features` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL CHECK (json_valid(`features`)),
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `included_balance_cents` bigint(20) NOT NULL DEFAULT 0,
  `whatsapp_setup_fee_cents` int(10) UNSIGNED NOT NULL DEFAULT 0,
  `whatsapp_billed_separately` tinyint(1) NOT NULL DEFAULT 1,
  `sale_cents_overrides` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL CHECK (json_valid(`sale_cents_overrides`))
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `plans`
--

INSERT INTO `plans` (`id`, `name`, `slug`, `listed`, `price_monthly`, `price_annual`, `max_contacts`, `max_campaigns`, `rate_limit_sms_per_min`, `rate_limit_voice_per_min`, `rate_limit_email_per_min`, `quiet_hours_enabled`, `quiet_hours_start`, `quiet_hours_end`, `quiet_hours_timezone`, `features`, `created_at`, `updated_at`, `included_balance_cents`, `whatsapp_setup_fee_cents`, `whatsapp_billed_separately`, `sale_cents_overrides`) VALUES
(1, 'Grátis', 'free', 1, 0.00, 0.00, 50, 3, NULL, NULL, NULL, 1, '22:00:00', '08:00:00', 'America/Sao_Paulo', '\"{\\\"support\\\":\\\"faq\\\",\\\"channels\\\":[\\\"sms\\\",\\\"email\\\",\\\"whatsapp\\\"],\\\"ai_generations_limit\\\":1,\\\"ai_chatbot_enabled\\\":false,\\\"funnels_enabled\\\":false,\\\"api_access\\\":false,\\\"max_contact_lists\\\":1,\\\"max_users\\\":1,\\\"max_funnels\\\":0,\\\"white_label\\\":false,\\\"credits_renew\\\":true}\"', '2026-06-08 21:41:14', '2026-06-09 16:41:56', 500, 49900, 1, NULL),
(2, 'Starter', 'starter', 1, 89.00, 854.40, 1000, 20, NULL, NULL, NULL, 1, '22:00:00', '08:00:00', 'America/Sao_Paulo', '\"{\\\"support\\\":\\\"email\\\",\\\"channels\\\":[\\\"sms\\\",\\\"email\\\",\\\"voice\\\",\\\"whatsapp\\\"],\\\"ai_generations_limit\\\":10,\\\"ai_chatbot_enabled\\\":true,\\\"ai_chatbot_conversations_limit\\\":100,\\\"funnels_enabled\\\":true,\\\"max_funnels\\\":2,\\\"api_access\\\":false,\\\"max_contact_lists\\\":5,\\\"max_users\\\":2,\\\"white_label\\\":false,\\\"credits_renew\\\":true}\"', '2026-06-08 21:41:14', '2026-06-08 21:41:14', 10000, 29900, 1, NULL),
(3, 'Pro', 'pro', 1, 219.00, 2102.40, 10000, 0, NULL, NULL, NULL, 1, '22:00:00', '08:00:00', 'America/Sao_Paulo', '\"{\\\"support\\\":\\\"priority\\\",\\\"channels\\\":[\\\"sms\\\",\\\"email\\\",\\\"voice\\\",\\\"whatsapp\\\"],\\\"ai_generations_limit\\\":0,\\\"ai_chatbot_enabled\\\":true,\\\"ai_chatbot_conversations_limit\\\":0,\\\"funnels_enabled\\\":true,\\\"max_funnels\\\":10,\\\"api_access\\\":\\\"read_only\\\",\\\"max_contact_lists\\\":20,\\\"max_users\\\":5,\\\"white_label\\\":false,\\\"credits_renew\\\":true}\"', '2026-06-08 21:41:14', '2026-06-08 21:41:14', 25000, 9900, 1, NULL),
(4, 'Business', 'business', 1, 699.00, 6710.40, 0, 0, NULL, NULL, NULL, 1, '22:00:00', '08:00:00', 'America/Sao_Paulo', '\"{\\\"support\\\":\\\"dedicated\\\",\\\"channels\\\":[\\\"sms\\\",\\\"email\\\",\\\"voice\\\",\\\"whatsapp\\\"],\\\"ai_generations_limit\\\":0,\\\"ai_chatbot_enabled\\\":true,\\\"ai_chatbot_conversations_limit\\\":0,\\\"funnels_enabled\\\":true,\\\"max_funnels\\\":0,\\\"api_access\\\":\\\"full\\\",\\\"max_contact_lists\\\":0,\\\"max_users\\\":20,\\\"white_label\\\":true,\\\"credits_renew\\\":true,\\\"sla\\\":\\\"business_hours\\\"}\"', '2026-06-08 21:41:14', '2026-06-08 21:41:14', 80000, 0, 1, NULL),
(5, 'Enterprise', 'enterprise', 1, 0.00, 0.00, 0, 0, NULL, NULL, NULL, 1, '22:00:00', '08:00:00', 'America/Sao_Paulo', '\"{\\\"support\\\":\\\"dedicated_24x7\\\",\\\"channels\\\":[\\\"sms\\\",\\\"email\\\",\\\"voice\\\",\\\"whatsapp\\\"],\\\"ai_generations_limit\\\":0,\\\"ai_chatbot_enabled\\\":true,\\\"ai_chatbot_conversations_limit\\\":0,\\\"funnels_enabled\\\":true,\\\"max_funnels\\\":0,\\\"api_access\\\":\\\"full\\\",\\\"max_contact_lists\\\":0,\\\"max_users\\\":0,\\\"white_label\\\":true,\\\"credits_renew\\\":true,\\\"sla\\\":\\\"24x7\\\",\\\"dedicated_ip\\\":true,\\\"sender_id\\\":true,\\\"multi_tenant\\\":true,\\\"sales_contact_only\\\":true}\"', '2026-06-08 21:41:14', '2026-06-08 21:41:14', 0, 0, 1, NULL),
(6, 'API', 'api', 0, 0.00, 0.00, 0, 0, NULL, NULL, NULL, 1, '22:00:00', '08:00:00', 'America/Sao_Paulo', '{\"support\":\"email\",\"channels\":[\"sms\",\"voice\",\"email\",\"whatsapp\"],\"ai_generations_limit\":0,\"ai_chatbot_enabled\":false,\"funnels_enabled\":false,\"api_access\":\"full\",\"max_contact_lists\":0,\"max_users\":0,\"max_funnels\":0,\"white_label\":false,\"credits_renew\":false,\"api_only\":true}', '2026-06-09 14:32:27', '2026-06-09 14:32:27', 0, 0, 1, NULL);

-- --------------------------------------------------------

--
-- Table structure for table `service_prices`
--

CREATE TABLE `service_prices` (
  `id` bigint(20) UNSIGNED NOT NULL,
  `service` varchar(50) NOT NULL,
  `cost_cents` int(10) UNSIGNED NOT NULL DEFAULT 0,
  `cost_micros` int(10) UNSIGNED NOT NULL DEFAULT 0,
  `sale_cents` int(10) UNSIGNED NOT NULL DEFAULT 0,
  `sale_micros` int(10) UNSIGNED NOT NULL DEFAULT 0,
  `updated_by` bigint(20) UNSIGNED DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `service_prices`
--

INSERT INTO `service_prices` (`id`, `service`, `cost_cents`, `cost_micros`, `sale_cents`, `sale_micros`, `updated_by`, `created_at`, `updated_at`) VALUES
(1, 'sms', 6, 6050, 8, 7500, NULL, '2026-06-09 15:59:53', '2026-06-09 15:59:53'),
(2, 'voice', 4, 3501, 6, 5500, NULL, '2026-06-09 15:59:53', '2026-06-09 15:59:53'),
(3, 'email', 0, 430, 2, 2000, NULL, '2026-06-09 15:59:53', '2026-06-09 15:59:53'),
(4, 'whatsapp_marketing', 8, 8000, 12, 12000, NULL, '2026-06-09 15:59:53', '2026-06-09 15:59:53'),
(5, 'whatsapp_utility', 4, 4000, 8, 8000, NULL, '2026-06-09 15:59:53', '2026-06-09 15:59:53'),
(6, 'whatsapp_auth', 2, 2000, 5, 5000, NULL, '2026-06-09 15:59:53', '2026-06-09 15:59:53'),
(7, 'ai_generation', 10, 10000, 25, 25000, NULL, '2026-06-09 15:59:53', '2026-06-09 15:59:53'),
(8, 'audio_tts', 30, 30000, 60, 60000, 1, '2026-06-09 15:59:53', '2026-06-09 15:59:53');

-- --------------------------------------------------------

--
-- Table structure for table `sessions`
--

CREATE TABLE `sessions` (
  `id` varchar(255) NOT NULL,
  `user_id` bigint(20) UNSIGNED DEFAULT NULL,
  `ip_address` varchar(45) DEFAULT NULL,
  `user_agent` text DEFAULT NULL,
  `payload` longtext NOT NULL,
  `last_activity` int(11) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `sessions`
--

INSERT INTO `sessions` (`id`, `user_id`, `ip_address`, `user_agent`, `payload`, `last_activity`) VALUES
('5q4afyiKjHOrL2ZEYxLcQAKHN3R4Rtk4KUGixiiM', NULL, '158.173.167.184', '', 'YTozOntzOjY6Il90b2tlbiI7czo0MDoiUjJvRFByM1g4OW5oOEUyV0ZNdUQ3RkpKVm01Qnc0akF6VWM4TkRXcSI7czo5OiJfcHJldmlvdXMiO2E6Mjp7czozOiJ1cmwiO3M6NDQ6Imh0dHA6Ly8xODQuMTY4LjMwLjM1L25ld19zYWFzL2JhY2tlbmQvcHVibGljIjtzOjU6InJvdXRlIjtOO31zOjY6Il9mbGFzaCI7YToyOntzOjM6Im9sZCI7YTowOnt9czozOiJuZXciO2E6MDp7fX19', 1781884919),
('667PI8itVhVa6TlNLn2yv4XijD5mq5ZumNIEtz6d', NULL, '158.173.167.97', '', 'YTozOntzOjY6Il90b2tlbiI7czo0MDoiSWhGOTFmNzNuV0NUeWpid3JMNEhGSWZ4a2dnVG5Dbk80bVYzbU1DeiI7czo5OiJfcHJldmlvdXMiO2E6MTp7czozOiJ1cmwiO3M6NDQ6Imh0dHA6Ly8xODQuMTY4LjMwLjM1L2EvYnVzaW5lc3Njb2RldjMvcHVibGljIjt9czo2OiJfZmxhc2giO2E6Mjp7czozOiJvbGQiO2E6MDp7fXM6MzoibmV3IjthOjA6e319fQ==', 1781884908),
('7fQW7vlzXgvYnbrynuZ5pADlOiLmKKqPGlKXnLsM', NULL, '158.173.167.107', '', 'YTo0OntzOjY6Il90b2tlbiI7czo0MDoiQnk2QnJ6MnhteW5CRzlHcU5TUnh2M21obW02enZmanBsUXZCd2pXdCI7czoyMjoiUEhQREVCVUdCQVJfU1RBQ0tfREFUQSI7YTowOnt9czo5OiJfcHJldmlvdXMiO2E6MTp7czozOiJ1cmwiO3M6MzU6Imh0dHA6Ly8xODQuMTY4LjMwLjM1L21lbmV6ZXMvcHVibGljIjt9czo2OiJfZmxhc2giO2E6Mjp7czozOiJvbGQiO2E6MDp7fXM6MzoibmV3IjthOjA6e319fQ==', 1781884920),
('7TGYmcBTwGfhXD49oHUMzhRZkikpaVvlAXkORKSn', NULL, '35.241.130.26', 'Mozilla/5.0 (Windows NT 10.0; rv:78.0) Gecko/20100101 Firefox/78.0', 'YTozOntzOjY6Il90b2tlbiI7czo0MDoiWlluOGlsWTVQR0ZaMnRjODVnOU5FM2FKcTI0QjlFVVg1eDBDRDVqYiI7czo5OiJfcHJldmlvdXMiO2E6Mjp7czozOiJ1cmwiO3M6NDQ6Imh0dHA6Ly8xODQuMTY4LjMwLjM1L25ld19zYWFzL2JhY2tlbmQvcHVibGljIjtzOjU6InJvdXRlIjtOO31zOjY6Il9mbGFzaCI7YToyOntzOjM6Im9sZCI7YTowOnt9czozOiJuZXciO2E6MDp7fX19', 1782385426),
('gOCZEb6emDlFmibEZYyKqAY8TJm78BllsJr0AjtQ', NULL, '91.65.123.43', 'Mozilla/5.0 (compatible; MJ12bot/v1.4.8; http://mj12bot.com/)', 'YTozOntzOjY6Il90b2tlbiI7czo0MDoiTVZNQVZlV0wzZmxONUlod1lZTVdWcXVSVUZ6aXNlMFh5RHc2Zk5WUyI7czo5OiJfcHJldmlvdXMiO2E6Mjp7czozOiJ1cmwiO3M6Njc6Imh0dHA6Ly90cmFja3BpeGVsLmJ1c2luZXNzY29kZS5jb20uYnIvbmV3X3NhYXMvYmFja2VuZC9wdWJsaWMvbG9naW4iO3M6NToicm91dGUiO3M6NToibG9naW4iO31zOjY6Il9mbGFzaCI7YToyOntzOjM6Im9sZCI7YTowOnt9czozOiJuZXciO2E6MDp7fX19', 1781226734),
('JKOe8YsmexmsAqQwTq4oDNBVXkFksOxVNePW5eWh', NULL, '107.189.31.187', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/135.0.0.0 Safari/537.36', 'YTozOntzOjY6Il90b2tlbiI7czo0MDoiQWFjNFV0UzB6TVo1TnhCdnBGNU95cVRzVm10Qm1sZFpDekd2ZUhOaSI7czo5OiJfcHJldmlvdXMiO2E6Mjp7czozOiJ1cmwiO3M6NDQ6Imh0dHA6Ly8xODQuMTY4LjMwLjM1L25ld19zYWFzL2JhY2tlbmQvcHVibGljIjtzOjU6InJvdXRlIjtOO31zOjY6Il9mbGFzaCI7YToyOntzOjM6Im9sZCI7YTowOnt9czozOiJuZXciO2E6MDp7fX19', 1782865274),
('mdwtC7aaIUet4Z3haOKAV35SpX3rEfkptlbBzbMe', NULL, '147.90.234.118', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/135.0.0.0 Safari/537.36', 'YTozOntzOjY6Il90b2tlbiI7czo0MDoiTDBjV0lKQ3VuZVBGcVhEOG1IUWhDcHdxd0NOOFhiT3JmSDFBWVM2MSI7czo5OiJfcHJldmlvdXMiO2E6Mjp7czozOiJ1cmwiO3M6NDQ6Imh0dHA6Ly8xODQuMTY4LjMwLjM1L25ld19zYWFzL2JhY2tlbmQvcHVibGljIjtzOjU6InJvdXRlIjtOO31zOjY6Il9mbGFzaCI7YToyOntzOjM6Im9sZCI7YTowOnt9czozOiJuZXciO2E6MDp7fX19', 1782865273),
('nPsqlvVd3VLKSxfxLTTc7h7bzBC8WFlZwhDi4y5S', NULL, '158.173.167.246', '', 'YTozOntzOjY6Il90b2tlbiI7czo0MDoiYkZmVDRHdnZtd0NxWTNkbk5NNGt1SWpkanZwTTR5NHZyRWVXZFpITyI7czo5OiJfcHJldmlvdXMiO2E6Mjp7czozOiJ1cmwiO3M6NDk6Imh0dHA6Ly8xODQuMTY4LjMwLjM1L2J1c2luZXNzX3NhYXMvYmFja2VuZC9wdWJsaWMiO3M6NToicm91dGUiO047fXM6NjoiX2ZsYXNoIjthOjI6e3M6Mzoib2xkIjthOjA6e31zOjM6Im5ldyI7YTowOnt9fX0=', 1781884881),
('v06TmHqWptBoMR4XjMRjezySlnfIQB1qaT3ILvkD', NULL, '82.153.138.57', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/135.0.0.0 Safari/537.36', 'YTozOntzOjY6Il90b2tlbiI7czo0MDoicWNPdWRKNFJIZzRDV1BzTXZWVmRLVTUwb1doMzlqTzZCNjRWcklVcCI7czo5OiJfcHJldmlvdXMiO2E6Mjp7czozOiJ1cmwiO3M6NDQ6Imh0dHA6Ly8xODQuMTY4LjMwLjM1L25ld19zYWFzL2JhY2tlbmQvcHVibGljIjtzOjU6InJvdXRlIjtOO31zOjY6Il9mbGFzaCI7YToyOntzOjM6Im9sZCI7YTowOnt9czozOiJuZXciO2E6MDp7fX19', 1782865275),
('vT85rrcwbqZZ3UddUIYE7Vzbh7RIuy795peFHHyS', NULL, '135.181.213.219', 'Mozilla/5.0 (compatible; MJ12bot/v1.4.8; http://mj12bot.com/)', 'YTozOntzOjY6Il90b2tlbiI7czo0MDoia2hBemJXSkJsWGtCMHdWTzNlSzJ6d2pxVjBzNU1URTA1N1ZLaEl5RCI7czo5OiJfcHJldmlvdXMiO2E6Mjp7czozOiJ1cmwiO3M6NjE6Imh0dHA6Ly90cmFja3BpeGVsLmJ1c2luZXNzY29kZS5jb20uYnIvbmV3X3NhYXMvYmFja2VuZC9wdWJsaWMiO3M6NToicm91dGUiO047fXM6NjoiX2ZsYXNoIjthOjI6e3M6Mzoib2xkIjthOjA6e31zOjM6Im5ldyI7YTowOnt9fX0=', 1781109324),
('wIxJGXd0yJpiKYkwNml8folFcTNswTe5nAwAkRtZ', NULL, '104.199.4.112', 'Mozilla/5.0 (Windows NT 10.0; rv:78.0) Gecko/20100101 Firefox/78.0', 'YTozOntzOjY6Il90b2tlbiI7czo0MDoiN1htTkF5clFBTWtPbFIyckphWVhtOWtEQXpJUnJLMnY3N0lsbTR6ZSI7czo5OiJfcHJldmlvdXMiO2E6Mjp7czozOiJ1cmwiO3M6NDQ6Imh0dHA6Ly8xODQuMTY4LjMwLjM1L25ld19zYWFzL2JhY2tlbmQvcHVibGljIjtzOjU6InJvdXRlIjtOO31zOjY6Il9mbGFzaCI7YToyOntzOjM6Im9sZCI7YTowOnt9czozOiJuZXciO2E6MDp7fX19', 1781251108);

-- --------------------------------------------------------

--
-- Table structure for table `settings`
--

CREATE TABLE `settings` (
  `id` bigint(20) UNSIGNED NOT NULL,
  `tenant_id` bigint(20) UNSIGNED DEFAULT NULL,
  `group` varchar(50) NOT NULL,
  `key` varchar(100) NOT NULL,
  `value` text DEFAULT NULL,
  `type` enum('string','encrypted','json','boolean') NOT NULL DEFAULT 'string',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `settings`
--

INSERT INTO `settings` (`id`, `tenant_id`, `group`, `key`, `value`, `type`, `created_at`, `updated_at`) VALUES
(1, NULL, 'infobip', 'api_key', 'eyJpdiI6InVFbkJKd2RHZXN3dThJNFJxVkRKYXc9PSIsInZhbHVlIjoiY1FhWkVRSStnYkNtSzYvbHBpWmYrMklYUkFTZVJwVWNWOHRwTThJejFOV3MxVE5jQjFxajlLTHg3Z0hhcklMekJuYloyVEVQY1VtdFVXR3lXK1E4Z0U5d281bXB5TXBQeXNFSS9xMGhzZnc9IiwibWFjIjoiMjEwZWE5MDU4M2MxZWU0ZGUwNzU3YTFiNGVlZDMwNmJmYjMxNTM2ZWRhYmM0MmRhNWU1ZjcyZjNhNTVjYTEwNyIsInRhZyI6IiJ9', 'encrypted', '2026-06-08 21:41:15', '2026-06-09 16:50:40'),
(2, NULL, 'infobip', 'base_url', 'https://nm9ne5.api-us.infobip.com', 'string', '2026-06-08 21:41:15', '2026-06-09 16:50:40'),
(3, NULL, 'infobip', 'sender_sms', 'BusinessCode', 'string', '2026-06-08 21:41:15', '2026-06-08 21:41:15'),
(4, NULL, 'infobip', 'sender_voice', '', 'string', '2026-06-08 21:41:15', '2026-06-08 21:41:15'),
(5, NULL, 'infobip', 'sender_email', '', 'string', '2026-06-08 21:41:15', '2026-06-08 21:41:15'),
(6, NULL, 'ai', 'grok_api_key', '', 'encrypted', '2026-06-08 21:41:15', '2026-06-08 21:41:15'),
(7, NULL, 'ai', 'grok_model', 'grok-3-mini', 'string', '2026-06-08 21:41:15', '2026-06-08 21:41:15'),
(8, NULL, 'elevenlabs', 'api_key', '', 'encrypted', '2026-06-08 21:41:15', '2026-06-08 21:41:15'),
(9, NULL, 'elevenlabs', 'model_id', 'eleven_multilingual_v2', 'string', '2026-06-08 21:41:15', '2026-06-08 21:41:15'),
(10, NULL, 'elevenlabs', 'cost_per_char', '0.000133', 'string', '2026-06-08 21:41:15', '2026-06-08 21:41:15'),
(11, NULL, 'elevenlabs', 'sale_per_char', '0.000667', 'string', '2026-06-08 21:41:15', '2026-06-08 21:41:15'),
(12, NULL, 'elevenlabs', 'credits_per_char', '1', 'string', '2026-06-08 21:41:15', '2026-06-08 21:41:15'),
(13, NULL, 'billing', 'credits_per_sms', '1', 'string', '2026-06-08 21:41:15', '2026-06-08 21:41:15'),
(14, NULL, 'billing', 'credits_per_voice', '3', 'string', '2026-06-08 21:41:15', '2026-06-08 21:41:15'),
(15, NULL, 'billing', 'credits_per_email', '1', 'string', '2026-06-08 21:41:15', '2026-06-08 21:41:15'),
(16, NULL, 'billing', 'credits_per_whatsapp', '4', 'string', '2026-06-08 21:41:15', '2026-06-08 21:41:15'),
(17, NULL, 'billing', 'credits_per_whatsapp_infobip', '6', 'string', '2026-06-08 21:41:15', '2026-06-08 21:41:15'),
(18, NULL, 'billing', 'credits_per_ai_generation', '8', 'string', '2026-06-08 21:41:15', '2026-06-08 21:41:15'),
(19, NULL, 'billing', 'credits_per_ai_chat', '1', 'string', '2026-06-08 21:41:15', '2026-06-08 21:41:15'),
(20, NULL, 'costs', 'sms_cost_brl', '0.0605', 'string', '2026-06-08 21:41:15', '2026-06-08 21:41:15'),
(21, NULL, 'costs', 'email_cost_brl', '0.0043', 'string', '2026-06-08 21:41:15', '2026-06-08 21:41:15'),
(22, NULL, 'costs', 'voice_second_cost_brl', '0.001167', 'string', '2026-06-08 21:41:15', '2026-06-08 21:41:15'),
(23, NULL, 'costs', 'elevenlabs_450chars_brl', '0.06', 'string', '2026-06-08 21:41:15', '2026-06-08 21:41:15'),
(24, NULL, 'costs', 'whatsapp_meta_cost_brl', '0.34', 'string', '2026-06-08 21:41:15', '2026-06-08 21:41:15'),
(25, NULL, 'costs', 'whatsapp_infobip_cost_brl', '0.55', 'string', '2026-06-08 21:41:15', '2026-06-08 21:41:15'),
(26, NULL, 'costs', 'grok_generation_cost_brl', '0.003', 'string', '2026-06-08 21:41:15', '2026-06-08 21:41:15'),
(27, NULL, 'costs', 'grok_chat_cost_brl', '0.002', 'string', '2026-06-08 21:41:15', '2026-06-08 21:41:15'),
(28, NULL, 'infobip', 'api_key', 'eyJpdiI6InVFbkJKd2RHZXN3dThJNFJxVkRKYXc9PSIsInZhbHVlIjoiY1FhWkVRSStnYkNtSzYvbHBpWmYrMklYUkFTZVJwVWNWOHRwTThJejFOV3MxVE5jQjFxajlLTHg3Z0hhcklMekJuYloyVEVQY1VtdFVXR3lXK1E4Z0U5d281bXB5TXBQeXNFSS9xMGhzZnc9IiwibWFjIjoiMjEwZWE5MDU4M2MxZWU0ZGUwNzU3YTFiNGVlZDMwNmJmYjMxNTM2ZWRhYmM0MmRhNWU1ZjcyZjNhNTVjYTEwNyIsInRhZyI6IiJ9', 'encrypted', '2026-06-09 15:59:52', '2026-06-09 16:50:40'),
(29, NULL, 'infobip', 'base_url', 'https://nm9ne5.api-us.infobip.com', 'string', '2026-06-09 15:59:52', '2026-06-09 16:50:40'),
(30, NULL, 'infobip', 'sender_sms', 'BusinessCode', 'string', '2026-06-09 15:59:52', '2026-06-09 15:59:52'),
(31, NULL, 'infobip', 'sender_voice', '', 'string', '2026-06-09 15:59:52', '2026-06-09 15:59:52'),
(32, NULL, 'infobip', 'sender_email', '', 'string', '2026-06-09 15:59:52', '2026-06-09 15:59:52'),
(33, NULL, 'ai', 'grok_api_key', '', 'encrypted', '2026-06-09 15:59:52', '2026-06-09 15:59:52'),
(34, NULL, 'ai', 'grok_model', 'grok-3-mini', 'string', '2026-06-09 15:59:52', '2026-06-09 15:59:52'),
(35, NULL, 'elevenlabs', 'api_key', '', 'encrypted', '2026-06-09 15:59:52', '2026-06-09 15:59:52'),
(36, NULL, 'elevenlabs', 'model_id', 'eleven_multilingual_v2', 'string', '2026-06-09 15:59:52', '2026-06-09 15:59:52'),
(37, NULL, 'elevenlabs', 'cost_per_char', '0.000133', 'string', '2026-06-09 15:59:52', '2026-06-09 15:59:52'),
(38, NULL, 'elevenlabs', 'sale_per_char', '0.000667', 'string', '2026-06-09 15:59:52', '2026-06-09 15:59:52'),
(39, NULL, 'elevenlabs', 'credits_per_char', '1', 'string', '2026-06-09 15:59:52', '2026-06-09 15:59:52'),
(40, NULL, 'billing', 'credits_per_sms', '1', 'string', '2026-06-09 15:59:52', '2026-06-09 15:59:52'),
(41, NULL, 'billing', 'credits_per_voice', '3', 'string', '2026-06-09 15:59:52', '2026-06-09 15:59:52'),
(42, NULL, 'billing', 'credits_per_email', '1', 'string', '2026-06-09 15:59:52', '2026-06-09 15:59:52'),
(43, NULL, 'billing', 'credits_per_whatsapp', '4', 'string', '2026-06-09 15:59:52', '2026-06-09 15:59:52'),
(44, NULL, 'billing', 'credits_per_whatsapp_infobip', '6', 'string', '2026-06-09 15:59:52', '2026-06-09 15:59:52'),
(45, NULL, 'billing', 'credits_per_ai_generation', '8', 'string', '2026-06-09 15:59:52', '2026-06-09 15:59:52'),
(46, NULL, 'billing', 'credits_per_ai_chat', '1', 'string', '2026-06-09 15:59:52', '2026-06-09 15:59:52'),
(47, NULL, 'costs', 'sms_cost_brl', '0.0605', 'string', '2026-06-09 15:59:52', '2026-06-09 15:59:52'),
(48, NULL, 'costs', 'email_cost_brl', '0.0043', 'string', '2026-06-09 15:59:52', '2026-06-09 15:59:52'),
(49, NULL, 'costs', 'voice_second_cost_brl', '0.001167', 'string', '2026-06-09 15:59:52', '2026-06-09 15:59:52'),
(50, NULL, 'costs', 'elevenlabs_450chars_brl', '0.06', 'string', '2026-06-09 15:59:52', '2026-06-09 15:59:52'),
(51, NULL, 'costs', 'whatsapp_meta_cost_brl', '0.34', 'string', '2026-06-09 15:59:52', '2026-06-09 15:59:52'),
(52, NULL, 'costs', 'whatsapp_infobip_cost_brl', '0.55', 'string', '2026-06-09 15:59:52', '2026-06-09 15:59:52'),
(53, NULL, 'costs', 'grok_generation_cost_brl', '0.003', 'string', '2026-06-09 15:59:52', '2026-06-09 15:59:52'),
(54, NULL, 'costs', 'grok_chat_cost_brl', '0.002', 'string', '2026-06-09 15:59:52', '2026-06-09 15:59:52'),
(55, 1, 'email', 'provider', 'infobip', 'string', '2026-06-09 16:56:51', '2026-06-14 20:51:31'),
(59, NULL, 'infobip', 'webhook_secret', 'zbGJI4ktKtSh99nEBvipJYAMBlRqqd2feZVMJ1K4', 'string', '2026-06-10 19:10:07', '2026-06-10 19:10:07'),
(60, NULL, 'infobip', 'webhook_base_url', 'https://dash.businesscode.com.br', 'string', '2026-06-10 19:10:07', '2026-06-10 19:10:07'),
(61, NULL, 'infobip', 'voice_language', 'pt-br', 'string', '2026-06-13 18:09:07', '2026-06-13 18:09:07');

-- --------------------------------------------------------

--
-- Table structure for table `subscriptions`
--

CREATE TABLE `subscriptions` (
  `id` bigint(20) UNSIGNED NOT NULL,
  `tenant_id` bigint(20) UNSIGNED NOT NULL,
  `plan_id` bigint(20) UNSIGNED DEFAULT NULL,
  `billing_cycle` enum('monthly','annual') NOT NULL DEFAULT 'monthly',
  `mp_subscription_id` varchar(255) DEFAULT NULL,
  `mp_payer_id` varchar(255) DEFAULT NULL,
  `status` enum('pending','authorized','active','paused','cancelled') NOT NULL DEFAULT 'pending',
  `payment_method` enum('credit_card','pix','boleto') NOT NULL DEFAULT 'credit_card',
  `current_period_start` date DEFAULT NULL,
  `current_period_end` date DEFAULT NULL,
  `price` decimal(10,2) NOT NULL,
  `discount_amount` decimal(10,2) NOT NULL DEFAULT 0.00,
  `coupon_id` bigint(20) UNSIGNED DEFAULT NULL,
  `cancelled_at` timestamp NULL DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

-- --------------------------------------------------------

--
-- Table structure for table `tenants`
--

CREATE TABLE `tenants` (
  `id` bigint(20) UNSIGNED NOT NULL,
  `name` varchar(255) NOT NULL,
  `slug` varchar(255) NOT NULL,
  `plan_id` bigint(20) UNSIGNED DEFAULT NULL,
  `status` enum('active','suspended','trial') NOT NULL DEFAULT 'trial',
  `trial_ends_at` timestamp NULL DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `balance_cents` bigint(20) NOT NULL DEFAULT 0,
  `credit_limit_cents` bigint(20) NOT NULL DEFAULT 0,
  `billing_status` enum('active','grace','suspended','blocked') NOT NULL DEFAULT 'active',
  `billing_cycle_day` tinyint(3) UNSIGNED DEFAULT NULL,
  `last_billing_at` timestamp NULL DEFAULT NULL,
  `overdue_since` timestamp NULL DEFAULT NULL,
  `overdue_attempts` tinyint(3) UNSIGNED NOT NULL DEFAULT 0,
  `mp_customer_id` varchar(64) DEFAULT NULL,
  `mp_default_card_id` varchar(64) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `tenants`
--

INSERT INTO `tenants` (`id`, `name`, `slug`, `plan_id`, `status`, `trial_ends_at`, `created_at`, `updated_at`, `balance_cents`, `credit_limit_cents`, `billing_status`, `billing_cycle_day`, `last_billing_at`, `overdue_since`, `overdue_attempts`, `mp_customer_id`, `mp_default_card_id`) VALUES
(1, 'pgf', 'pgf', 6, 'active', NULL, '2026-06-09 12:07:46', '2026-07-02 11:00:06', 99640, 0, 'active', NULL, NULL, NULL, 0, NULL, NULL),
(2, 'Administração', 'admin', 1, 'active', NULL, '2026-06-09 16:33:15', '2026-06-11 13:47:38', 99999892, 0, 'active', NULL, NULL, NULL, 0, NULL, NULL);

-- --------------------------------------------------------

--
-- Table structure for table `tenant_channels`
--

CREATE TABLE `tenant_channels` (
  `id` bigint(20) UNSIGNED NOT NULL,
  `tenant_id` bigint(20) UNSIGNED NOT NULL,
  `channel` varchar(20) NOT NULL,
  `status` enum('disabled','enabled','pending_setup') NOT NULL DEFAULT 'disabled',
  `config` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL CHECK (json_valid(`config`)),
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `tenant_channels`
--

INSERT INTO `tenant_channels` (`id`, `tenant_id`, `channel`, `status`, `config`, `created_at`, `updated_at`) VALUES
(1, 1, 'sms', 'enabled', '[]', '2026-06-11 13:44:05', '2026-06-11 13:44:05'),
(2, 1, 'voice', 'enabled', '[]', '2026-06-11 13:44:05', '2026-06-11 13:44:05'),
(3, 1, 'email', 'disabled', '[]', '2026-06-11 13:44:05', '2026-06-11 13:44:05'),
(4, 1, 'whatsapp', 'disabled', '[]', '2026-06-11 13:44:05', '2026-06-11 13:44:05'),
(5, 2, 'sms', 'enabled', '[]', '2026-06-11 13:44:05', '2026-06-11 13:44:05'),
(6, 2, 'voice', 'enabled', '[]', '2026-06-11 13:44:05', '2026-06-11 13:44:05'),
(7, 2, 'email', 'disabled', '[]', '2026-06-11 13:44:05', '2026-06-11 13:44:05'),
(8, 2, 'whatsapp', 'disabled', '[]', '2026-06-11 13:44:05', '2026-06-11 13:44:05');

-- --------------------------------------------------------

--
-- Table structure for table `tenant_service_prices`
--

CREATE TABLE `tenant_service_prices` (
  `id` bigint(20) UNSIGNED NOT NULL,
  `tenant_id` bigint(20) UNSIGNED NOT NULL,
  `service` varchar(50) NOT NULL,
  `sale_cents` int(10) UNSIGNED NOT NULL,
  `sale_micros` int(10) UNSIGNED NOT NULL DEFAULT 0,
  `reason` varchar(200) DEFAULT NULL,
  `created_by` bigint(20) UNSIGNED DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

-- --------------------------------------------------------

--
-- Table structure for table `users`
--

CREATE TABLE `users` (
  `id` bigint(20) UNSIGNED NOT NULL,
  `tenant_id` bigint(20) UNSIGNED DEFAULT NULL,
  `name` varchar(255) NOT NULL,
  `email` varchar(255) NOT NULL,
  `role` enum('user','admin','superadmin','finance') NOT NULL DEFAULT 'user',
  `email_verified_at` timestamp NULL DEFAULT NULL,
  `password` varchar(255) NOT NULL,
  `force_password_reset` tinyint(1) NOT NULL DEFAULT 0,
  `status` varchar(20) NOT NULL DEFAULT 'active',
  `remember_token` varchar(100) DEFAULT NULL,
  `lgpd_consented_at` timestamp NULL DEFAULT NULL,
  `lgpd_consent_version` varchar(20) DEFAULT NULL,
  `lgpd_consent_ip` varchar(45) DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `users`
--

INSERT INTO `users` (`id`, `tenant_id`, `name`, `email`, `role`, `email_verified_at`, `password`, `force_password_reset`, `status`, `remember_token`, `lgpd_consented_at`, `lgpd_consent_version`, `lgpd_consent_ip`, `created_at`, `updated_at`) VALUES
(1, 2, 'Super Admin', 'admin@businesscode.com.br', 'superadmin', '2026-06-09 12:07:46', '$2y$12$/tcptJsIUOHgHaRFk.XrneEcJFee1NsRmZm.54MEs6A71FcTfGHdy', 0, 'active', NULL, NULL, NULL, NULL, '2026-06-09 12:07:46', '2026-06-09 16:33:15'),
(2, 1, 'Pedro', 'parceriapedro@businesscode.com.br', 'admin', '2026-06-09 12:07:46', '$2y$12$1QZkpqywBiIFAhAWrLZxBOZTYcYmFLkMMFC6uzI0a2AtSCclX.WYi', 0, 'active', NULL, NULL, NULL, NULL, '2026-06-09 12:07:46', '2026-06-09 12:07:46');

-- --------------------------------------------------------

--
-- Table structure for table `webhook_deliveries`
--

CREATE TABLE `webhook_deliveries` (
  `id` bigint(20) UNSIGNED NOT NULL,
  `outbound_webhook_id` bigint(20) UNSIGNED NOT NULL,
  `tenant_id` bigint(20) UNSIGNED NOT NULL,
  `event` varchar(80) NOT NULL,
  `request_body` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NOT NULL CHECK (json_valid(`request_body`)),
  `response_status` smallint(6) DEFAULT NULL,
  `response_body` text DEFAULT NULL,
  `duration_ms` int(11) DEFAULT NULL,
  `attempt_number` tinyint(3) UNSIGNED NOT NULL DEFAULT 1,
  `error_message` varchar(500) DEFAULT NULL,
  `fired_at` timestamp NOT NULL DEFAULT current_timestamp()
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

-- --------------------------------------------------------

--
-- Table structure for table `webhook_logs`
--

CREATE TABLE `webhook_logs` (
  `id` bigint(20) UNSIGNED NOT NULL,
  `request_id` varchar(255) NOT NULL,
  `type` varchar(255) NOT NULL,
  `data_id` varchar(255) NOT NULL,
  `status` enum('processed','failed','ignored') NOT NULL DEFAULT 'processed',
  `created_at` timestamp NOT NULL DEFAULT current_timestamp()
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

-- --------------------------------------------------------

--
-- Table structure for table `whatsapp_phone_numbers`
--

CREATE TABLE `whatsapp_phone_numbers` (
  `id` bigint(20) UNSIGNED NOT NULL,
  `phone_number_id` varchar(255) NOT NULL,
  `tenant_id` bigint(20) UNSIGNED NOT NULL,
  `phone_display` varchar(255) DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Indexes for dumped tables
--

--
-- Indexes for table `ai_content_models`
--
ALTER TABLE `ai_content_models`
  ADD PRIMARY KEY (`id`),
  ADD KEY `ai_content_models_tenant_id_channel_index` (`tenant_id`,`channel`);

--
-- Indexes for table `ai_generations`
--
ALTER TABLE `ai_generations`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `ai_generations_generation_id_unique` (`generation_id`),
  ADD KEY `ai_generations_tenant_id_service_status_index` (`tenant_id`,`service`,`status`),
  ADD KEY `ai_generations_tenant_id_generation_id_index` (`tenant_id`,`generation_id`);

--
-- Indexes for table `ai_generation_sessions`
--
ALTER TABLE `ai_generation_sessions`
  ADD PRIMARY KEY (`id`),
  ADD KEY `ai_generation_sessions_campaign_id_foreign` (`campaign_id`),
  ADD KEY `ai_generation_sessions_tenant_id_channel_status_index` (`tenant_id`,`channel`,`status`);

--
-- Indexes for table `ai_personas`
--
ALTER TABLE `ai_personas`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `ai_personas_tenant_id_unique` (`tenant_id`),
  ADD KEY `ai_personas_status_index` (`status`),
  ADD KEY `ai_personas_approved_by_foreign` (`approved_by`);

--
-- Indexes for table `ai_prompts`
--
ALTER TABLE `ai_prompts`
  ADD PRIMARY KEY (`id`),
  ADD KEY `ai_prompts_service_is_active_index` (`service`,`is_active`);

--
-- Indexes for table `audio_generations`
--
ALTER TABLE `audio_generations`
  ADD PRIMARY KEY (`id`),
  ADD KEY `audio_generations_campaign_id_foreign` (`campaign_id`),
  ADD KEY `audio_generations_tenant_id_campaign_id_status_index` (`tenant_id`,`campaign_id`,`status`);

--
-- Indexes for table `audit_logs`
--
ALTER TABLE `audit_logs`
  ADD PRIMARY KEY (`id`),
  ADD KEY `audit_logs_tenant_id_created_at_index` (`tenant_id`,`created_at`),
  ADD KEY `audit_logs_user_id_action_index` (`user_id`,`action`),
  ADD KEY `audit_logs_tenant_created_idx` (`tenant_id`,`created_at`),
  ADD KEY `audit_logs_tenant_action_created_idx` (`tenant_id`,`action`,`created_at`);

--
-- Indexes for table `balance_transactions`
--
ALTER TABLE `balance_transactions`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `bt_monthly_unique` (`tenant_id`,`reference_type`,`monthly_cycle_key`),
  ADD UNIQUE KEY `bt_idempotency_unique` (`tenant_id`,`type`,`reference_type`,`reference_id`),
  ADD KEY `credit_transactions_tenant_id_reference_type_reference_id_index` (`tenant_id`,`reference_type`,`reference_id`),
  ADD KEY `credit_tx_tenant_type_created_idx` (`tenant_id`,`type`,`created_at`),
  ADD KEY `balance_transactions_executed_by_user_id_foreign` (`executed_by_user_id`);

--
-- Indexes for table `cache`
--
ALTER TABLE `cache`
  ADD PRIMARY KEY (`key`),
  ADD KEY `cache_expiration_index` (`expiration`);

--
-- Indexes for table `cache_locks`
--
ALTER TABLE `cache_locks`
  ADD PRIMARY KEY (`key`),
  ADD KEY `cache_locks_expiration_index` (`expiration`);

--
-- Indexes for table `campaigns`
--
ALTER TABLE `campaigns`
  ADD PRIMARY KEY (`id`),
  ADD KEY `campaigns_tenant_id_type_index` (`tenant_id`,`type`),
  ADD KEY `campaigns_status_index` (`status`),
  ADD KEY `campaigns_contact_list_id_foreign` (`contact_list_id`),
  ADD KEY `campaigns_scheduled_at_index` (`scheduled_at`);

--
-- Indexes for table `campaign_dispatches`
--
ALTER TABLE `campaign_dispatches`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `cd_unsub_token_unique` (`unsubscribe_token`),
  ADD UNIQUE KEY `cd_campaign_contact_unique` (`campaign_id`,`contact_id`),
  ADD UNIQUE KEY `cd_campaign_phone_unique` (`campaign_id`,`phone`),
  ADD KEY `campaign_dispatches_tenant_id_campaign_id_index` (`tenant_id`,`campaign_id`),
  ADD KEY `campaign_dispatches_status_index` (`status`),
  ADD KEY `campaign_dispatches_contact_id_foreign` (`contact_id`),
  ADD KEY `campaign_dispatches_campaign_status_idx` (`campaign_id`,`status`),
  ADD KEY `campaign_dispatches_external_msg_idx` (`external_message_id`);

--
-- Indexes for table `contacts`
--
ALTER TABLE `contacts`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `contacts_tenant_id_contact_list_id_phone_unique` (`tenant_id`,`contact_list_id`,`phone`),
  ADD KEY `contacts_contact_list_id_foreign` (`contact_list_id`),
  ADD KEY `contacts_tenant_id_index` (`tenant_id`),
  ADD KEY `contacts_tenant_id_contact_list_id_index` (`tenant_id`,`contact_list_id`),
  ADD KEY `contacts_tenant_id_phone_index` (`tenant_id`,`phone`),
  ADD KEY `contacts_tenant_id_email_index` (`tenant_id`,`email`),
  ADD KEY `contacts_status_index` (`status`),
  ADD KEY `contacts_phone_idx` (`phone`);

--
-- Indexes for table `contact_lists`
--
ALTER TABLE `contact_lists`
  ADD PRIMARY KEY (`id`),
  ADD KEY `contact_lists_tenant_id_index` (`tenant_id`),
  ADD KEY `contact_lists_tenant_id_name_index` (`tenant_id`,`name`);

--
-- Indexes for table `conversations`
--
ALTER TABLE `conversations`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `conversations_tenant_id_phone_unique` (`tenant_id`,`phone`),
  ADD KEY `conversations_tenant_id_status_index` (`tenant_id`,`status`),
  ADD KEY `conversations_tenant_id_last_message_at_index` (`tenant_id`,`last_message_at`),
  ADD KEY `conversations_contact_id_foreign` (`contact_id`),
  ADD KEY `conversations_assigned_to_foreign` (`assigned_to`),
  ADD KEY `conversations_tenant_last_msg_idx` (`tenant_id`,`last_message_at`);

--
-- Indexes for table `conversation_messages`
--
ALTER TABLE `conversation_messages`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `conversation_messages_external_message_id_unique` (`external_message_id`),
  ADD KEY `conversation_messages_conversation_id_created_at_index` (`conversation_id`,`created_at`),
  ADD KEY `conversation_messages_tenant_id_foreign` (`tenant_id`),
  ADD KEY `conversation_messages_sender_id_foreign` (`sender_id`),
  ADD KEY `conv_msgs_conv_created_idx` (`conversation_id`,`created_at`);

--
-- Indexes for table `coupons`
--
ALTER TABLE `coupons`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `coupons_code_unique` (`code`);

--
-- Indexes for table `coupon_usages`
--
ALTER TABLE `coupon_usages`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `coupon_usages_coupon_id_tenant_id_unique` (`coupon_id`,`tenant_id`),
  ADD KEY `coupon_usages_tenant_id_foreign` (`tenant_id`);

--
-- Indexes for table `elevenlabs_voices`
--
ALTER TABLE `elevenlabs_voices`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `elevenlabs_voices_voice_id_unique` (`voice_id`),
  ADD KEY `elevenlabs_voices_name_index` (`name`);

--
-- Indexes for table `email_sender_domains`
--
ALTER TABLE `email_sender_domains`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `esd_domain_unique` (`domain`),
  ADD KEY `email_sender_domains_created_by_foreign` (`created_by`),
  ADD KEY `email_sender_domains_status_index` (`status`),
  ADD KEY `email_sender_domains_tenant_id_foreign` (`tenant_id`);

--
-- Indexes for table `failed_jobs`
--
ALTER TABLE `failed_jobs`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `failed_jobs_uuid_unique` (`uuid`);

--
-- Indexes for table `funnels`
--
ALTER TABLE `funnels`
  ADD PRIMARY KEY (`id`),
  ADD KEY `funnels_tenant_id_status_index` (`tenant_id`,`status`);

--
-- Indexes for table `funnel_edges`
--
ALTER TABLE `funnel_edges`
  ADD PRIMARY KEY (`id`),
  ADD KEY `funnel_edges_funnel_id_foreign` (`funnel_id`);

--
-- Indexes for table `funnel_executions`
--
ALTER TABLE `funnel_executions`
  ADD PRIMARY KEY (`id`),
  ADD KEY `funnel_executions_tenant_id_foreign` (`tenant_id`),
  ADD KEY `funnel_executions_funnel_id_foreign` (`funnel_id`),
  ADD KEY `funnel_executions_status_wait_until_index` (`status`,`wait_until`),
  ADD KEY `funnel_executions_contact_id_status_index` (`contact_id`,`status`);

--
-- Indexes for table `funnel_nodes`
--
ALTER TABLE `funnel_nodes`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `funnel_nodes_funnel_id_node_id_unique` (`funnel_id`,`node_id`);

--
-- Indexes for table `imports`
--
ALTER TABLE `imports`
  ADD PRIMARY KEY (`id`),
  ADD KEY `imports_contact_list_id_foreign` (`contact_list_id`),
  ADD KEY `imports_tenant_id_status_index` (`tenant_id`,`status`),
  ADD KEY `imports_status_index` (`status`);

--
-- Indexes for table `infobip_whatsapp_numbers`
--
ALTER TABLE `infobip_whatsapp_numbers`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `infobip_whatsapp_numbers_sender_unique` (`sender`),
  ADD KEY `infobip_whatsapp_numbers_tenant_id_foreign` (`tenant_id`);

--
-- Indexes for table `jobs`
--
ALTER TABLE `jobs`
  ADD PRIMARY KEY (`id`),
  ADD KEY `jobs_queue_reserved_at_available_at_index` (`queue`,`reserved_at`,`available_at`);

--
-- Indexes for table `job_batches`
--
ALTER TABLE `job_batches`
  ADD PRIMARY KEY (`id`);

--
-- Indexes for table `message_dispatches`
--
ALTER TABLE `message_dispatches`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `msg_disp_tenant_idem_unique` (`tenant_id`,`idempotency_key`),
  ADD UNIQUE KEY `msg_disp_unsub_unique` (`unsubscribe_token`),
  ADD KEY `message_dispatches_user_id_foreign` (`user_id`),
  ADD KEY `msg_disp_tenant_channel_idx` (`tenant_id`,`channel`,`created_at`),
  ADD KEY `msg_disp_external_idx` (`external_message_id`),
  ADD KEY `msg_disp_status_sched_idx` (`status`,`scheduled_for`);

--
-- Indexes for table `message_opt_outs`
--
ALTER TABLE `message_opt_outs`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `msg_opt_tenant_chan_id_unique` (`tenant_id`,`channel`,`identifier_hash`),
  ADD KEY `message_opt_outs_source_dispatch_id_foreign` (`source_dispatch_id`),
  ADD KEY `msg_opt_tenant_id_idx` (`tenant_id`,`identifier_hash`);

--
-- Indexes for table `migrations`
--
ALTER TABLE `migrations`
  ADD PRIMARY KEY (`id`);

--
-- Indexes for table `outbound_webhooks`
--
ALTER TABLE `outbound_webhooks`
  ADD PRIMARY KEY (`id`),
  ADD KEY `outbound_webhooks_tenant_id_foreign` (`tenant_id`);

--
-- Indexes for table `password_reset_tokens`
--
ALTER TABLE `password_reset_tokens`
  ADD PRIMARY KEY (`email`);

--
-- Indexes for table `payments`
--
ALTER TABLE `payments`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `payments_mp_payment_id_unique` (`mp_payment_id`),
  ADD KEY `payments_subscription_id_foreign` (`subscription_id`),
  ADD KEY `payments_tenant_id_type_index` (`tenant_id`,`type`),
  ADD KEY `payments_status_index` (`status`);

--
-- Indexes for table `personal_access_tokens`
--
ALTER TABLE `personal_access_tokens`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `personal_access_tokens_token_unique` (`token`),
  ADD KEY `personal_access_tokens_tokenable_type_tokenable_id_index` (`tokenable_type`,`tokenable_id`),
  ADD KEY `personal_access_tokens_expires_at_index` (`expires_at`);

--
-- Indexes for table `plans`
--
ALTER TABLE `plans`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `plans_slug_unique` (`slug`),
  ADD KEY `plans_name_index` (`name`);

--
-- Indexes for table `service_prices`
--
ALTER TABLE `service_prices`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `service_prices_service_unique` (`service`),
  ADD KEY `service_prices_updated_by_foreign` (`updated_by`);

--
-- Indexes for table `sessions`
--
ALTER TABLE `sessions`
  ADD PRIMARY KEY (`id`),
  ADD KEY `sessions_user_id_index` (`user_id`),
  ADD KEY `sessions_last_activity_index` (`last_activity`);

--
-- Indexes for table `settings`
--
ALTER TABLE `settings`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `settings_tenant_id_group_key_unique` (`tenant_id`,`group`,`key`),
  ADD KEY `settings_group_key_index` (`group`,`key`);

--
-- Indexes for table `subscriptions`
--
ALTER TABLE `subscriptions`
  ADD PRIMARY KEY (`id`),
  ADD KEY `subscriptions_coupon_id_foreign` (`coupon_id`),
  ADD KEY `subscriptions_tenant_id_status_index` (`tenant_id`,`status`),
  ADD KEY `subscriptions_mp_subscription_id_index` (`mp_subscription_id`),
  ADD KEY `subscriptions_status_index` (`status`),
  ADD KEY `subscriptions_plan_id_foreign` (`plan_id`),
  ADD KEY `subscriptions_billing_cycle_index` (`billing_cycle`);

--
-- Indexes for table `tenants`
--
ALTER TABLE `tenants`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `tenants_slug_unique` (`slug`),
  ADD KEY `tenants_plan_id_foreign` (`plan_id`),
  ADD KEY `tenants_name_index` (`name`),
  ADD KEY `tenants_status_index` (`status`);

--
-- Indexes for table `tenant_channels`
--
ALTER TABLE `tenant_channels`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `tenant_channels_tenant_id_channel_unique` (`tenant_id`,`channel`);

--
-- Indexes for table `tenant_service_prices`
--
ALTER TABLE `tenant_service_prices`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `tsp_tenant_service_unique` (`tenant_id`,`service`),
  ADD KEY `tenant_service_prices_created_by_foreign` (`created_by`),
  ADD KEY `tsp_tenant_idx` (`tenant_id`);

--
-- Indexes for table `users`
--
ALTER TABLE `users`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `users_email_unique` (`email`),
  ADD KEY `users_tenant_id_foreign` (`tenant_id`),
  ADD KEY `users_role_index` (`role`),
  ADD KEY `users_status_index` (`status`);

--
-- Indexes for table `webhook_deliveries`
--
ALTER TABLE `webhook_deliveries`
  ADD PRIMARY KEY (`id`),
  ADD KEY `webhook_deliveries_outbound_webhook_id_fired_at_index` (`outbound_webhook_id`,`fired_at`),
  ADD KEY `webhook_deliveries_tenant_id_fired_at_index` (`tenant_id`,`fired_at`);

--
-- Indexes for table `webhook_logs`
--
ALTER TABLE `webhook_logs`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `webhook_logs_request_id_unique` (`request_id`);

--
-- Indexes for table `whatsapp_phone_numbers`
--
ALTER TABLE `whatsapp_phone_numbers`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `whatsapp_phone_numbers_phone_number_id_unique` (`phone_number_id`),
  ADD KEY `whatsapp_phone_numbers_tenant_id_foreign` (`tenant_id`);

--
-- AUTO_INCREMENT for dumped tables
--

--
-- AUTO_INCREMENT for table `ai_content_models`
--
ALTER TABLE `ai_content_models`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=2;

--
-- AUTO_INCREMENT for table `ai_generations`
--
ALTER TABLE `ai_generations`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `ai_generation_sessions`
--
ALTER TABLE `ai_generation_sessions`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `ai_personas`
--
ALTER TABLE `ai_personas`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `ai_prompts`
--
ALTER TABLE `ai_prompts`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=10;

--
-- AUTO_INCREMENT for table `audio_generations`
--
ALTER TABLE `audio_generations`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `audit_logs`
--
ALTER TABLE `audit_logs`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `balance_transactions`
--
ALTER TABLE `balance_transactions`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `campaigns`
--
ALTER TABLE `campaigns`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=2;

--
-- AUTO_INCREMENT for table `campaign_dispatches`
--
ALTER TABLE `campaign_dispatches`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=2;

--
-- AUTO_INCREMENT for table `contacts`
--
ALTER TABLE `contacts`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `contact_lists`
--
ALTER TABLE `contact_lists`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `conversations`
--
ALTER TABLE `conversations`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `conversation_messages`
--
ALTER TABLE `conversation_messages`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `coupons`
--
ALTER TABLE `coupons`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `coupon_usages`
--
ALTER TABLE `coupon_usages`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `elevenlabs_voices`
--
ALTER TABLE `elevenlabs_voices`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `email_sender_domains`
--
ALTER TABLE `email_sender_domains`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=8;

--
-- AUTO_INCREMENT for table `failed_jobs`
--
ALTER TABLE `failed_jobs`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=17;

--
-- AUTO_INCREMENT for table `funnels`
--
ALTER TABLE `funnels`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `funnel_edges`
--
ALTER TABLE `funnel_edges`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `funnel_executions`
--
ALTER TABLE `funnel_executions`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `funnel_nodes`
--
ALTER TABLE `funnel_nodes`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `imports`
--
ALTER TABLE `imports`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `infobip_whatsapp_numbers`
--
ALTER TABLE `infobip_whatsapp_numbers`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `jobs`
--
ALTER TABLE `jobs`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=406836;

--
-- AUTO_INCREMENT for table `message_dispatches`
--
ALTER TABLE `message_dispatches`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `message_opt_outs`
--
ALTER TABLE `message_opt_outs`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `migrations`
--
ALTER TABLE `migrations`
  MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=80;

--
-- AUTO_INCREMENT for table `outbound_webhooks`
--
ALTER TABLE `outbound_webhooks`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=2;

--
-- AUTO_INCREMENT for table `payments`
--
ALTER TABLE `payments`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=10;

--
-- AUTO_INCREMENT for table `personal_access_tokens`
--
ALTER TABLE `personal_access_tokens`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=48;

--
-- AUTO_INCREMENT for table `plans`
--
ALTER TABLE `plans`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=7;

--
-- AUTO_INCREMENT for table `service_prices`
--
ALTER TABLE `service_prices`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=9;

--
-- AUTO_INCREMENT for table `settings`
--
ALTER TABLE `settings`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=62;

--
-- AUTO_INCREMENT for table `subscriptions`
--
ALTER TABLE `subscriptions`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `tenants`
--
ALTER TABLE `tenants`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=3;

--
-- AUTO_INCREMENT for table `tenant_channels`
--
ALTER TABLE `tenant_channels`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=9;

--
-- AUTO_INCREMENT for table `tenant_service_prices`
--
ALTER TABLE `tenant_service_prices`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `users`
--
ALTER TABLE `users`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=3;

--
-- AUTO_INCREMENT for table `webhook_deliveries`
--
ALTER TABLE `webhook_deliveries`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `webhook_logs`
--
ALTER TABLE `webhook_logs`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `whatsapp_phone_numbers`
--
ALTER TABLE `whatsapp_phone_numbers`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT;

--
-- Constraints for dumped tables
--

--
-- Constraints for table `ai_content_models`
--
ALTER TABLE `ai_content_models`
  ADD CONSTRAINT `ai_content_models_tenant_id_foreign` FOREIGN KEY (`tenant_id`) REFERENCES `tenants` (`id`) ON DELETE CASCADE;

--
-- Constraints for table `ai_generations`
--
ALTER TABLE `ai_generations`
  ADD CONSTRAINT `ai_generations_tenant_id_foreign` FOREIGN KEY (`tenant_id`) REFERENCES `tenants` (`id`) ON DELETE CASCADE;

--
-- Constraints for table `ai_generation_sessions`
--
ALTER TABLE `ai_generation_sessions`
  ADD CONSTRAINT `ai_generation_sessions_campaign_id_foreign` FOREIGN KEY (`campaign_id`) REFERENCES `campaigns` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `ai_generation_sessions_tenant_id_foreign` FOREIGN KEY (`tenant_id`) REFERENCES `tenants` (`id`) ON DELETE CASCADE;

--
-- Constraints for table `ai_personas`
--
ALTER TABLE `ai_personas`
  ADD CONSTRAINT `ai_personas_approved_by_foreign` FOREIGN KEY (`approved_by`) REFERENCES `users` (`id`) ON DELETE SET NULL,
  ADD CONSTRAINT `ai_personas_tenant_id_foreign` FOREIGN KEY (`tenant_id`) REFERENCES `tenants` (`id`) ON DELETE CASCADE;

--
-- Constraints for table `audio_generations`
--
ALTER TABLE `audio_generations`
  ADD CONSTRAINT `audio_generations_campaign_id_foreign` FOREIGN KEY (`campaign_id`) REFERENCES `campaigns` (`id`) ON DELETE SET NULL,
  ADD CONSTRAINT `audio_generations_tenant_id_foreign` FOREIGN KEY (`tenant_id`) REFERENCES `tenants` (`id`) ON DELETE CASCADE;

--
-- Constraints for table `balance_transactions`
--
ALTER TABLE `balance_transactions`
  ADD CONSTRAINT `balance_transactions_executed_by_user_id_foreign` FOREIGN KEY (`executed_by_user_id`) REFERENCES `users` (`id`) ON DELETE SET NULL,
  ADD CONSTRAINT `balance_transactions_tenant_id_foreign` FOREIGN KEY (`tenant_id`) REFERENCES `tenants` (`id`) ON DELETE SET NULL;

--
-- Constraints for table `campaigns`
--
ALTER TABLE `campaigns`
  ADD CONSTRAINT `campaigns_contact_list_id_foreign` FOREIGN KEY (`contact_list_id`) REFERENCES `contact_lists` (`id`) ON DELETE SET NULL,
  ADD CONSTRAINT `campaigns_tenant_id_foreign` FOREIGN KEY (`tenant_id`) REFERENCES `tenants` (`id`) ON DELETE CASCADE;

--
-- Constraints for table `campaign_dispatches`
--
ALTER TABLE `campaign_dispatches`
  ADD CONSTRAINT `campaign_dispatches_campaign_id_foreign` FOREIGN KEY (`campaign_id`) REFERENCES `campaigns` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `campaign_dispatches_contact_id_foreign` FOREIGN KEY (`contact_id`) REFERENCES `contacts` (`id`) ON DELETE SET NULL,
  ADD CONSTRAINT `campaign_dispatches_tenant_id_foreign` FOREIGN KEY (`tenant_id`) REFERENCES `tenants` (`id`) ON DELETE CASCADE;

--
-- Constraints for table `contacts`
--
ALTER TABLE `contacts`
  ADD CONSTRAINT `contacts_contact_list_id_foreign` FOREIGN KEY (`contact_list_id`) REFERENCES `contact_lists` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `contacts_tenant_id_foreign` FOREIGN KEY (`tenant_id`) REFERENCES `tenants` (`id`) ON DELETE CASCADE;

--
-- Constraints for table `contact_lists`
--
ALTER TABLE `contact_lists`
  ADD CONSTRAINT `contact_lists_tenant_id_foreign` FOREIGN KEY (`tenant_id`) REFERENCES `tenants` (`id`) ON DELETE CASCADE;

--
-- Constraints for table `conversations`
--
ALTER TABLE `conversations`
  ADD CONSTRAINT `conversations_assigned_to_foreign` FOREIGN KEY (`assigned_to`) REFERENCES `users` (`id`) ON DELETE SET NULL,
  ADD CONSTRAINT `conversations_contact_id_foreign` FOREIGN KEY (`contact_id`) REFERENCES `contacts` (`id`) ON DELETE SET NULL,
  ADD CONSTRAINT `conversations_tenant_id_foreign` FOREIGN KEY (`tenant_id`) REFERENCES `tenants` (`id`) ON DELETE CASCADE;

--
-- Constraints for table `conversation_messages`
--
ALTER TABLE `conversation_messages`
  ADD CONSTRAINT `conversation_messages_conversation_id_foreign` FOREIGN KEY (`conversation_id`) REFERENCES `conversations` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `conversation_messages_sender_id_foreign` FOREIGN KEY (`sender_id`) REFERENCES `users` (`id`) ON DELETE SET NULL,
  ADD CONSTRAINT `conversation_messages_tenant_id_foreign` FOREIGN KEY (`tenant_id`) REFERENCES `tenants` (`id`) ON DELETE CASCADE;

--
-- Constraints for table `coupon_usages`
--
ALTER TABLE `coupon_usages`
  ADD CONSTRAINT `coupon_usages_coupon_id_foreign` FOREIGN KEY (`coupon_id`) REFERENCES `coupons` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `coupon_usages_tenant_id_foreign` FOREIGN KEY (`tenant_id`) REFERENCES `tenants` (`id`) ON DELETE CASCADE;

--
-- Constraints for table `email_sender_domains`
--
ALTER TABLE `email_sender_domains`
  ADD CONSTRAINT `email_sender_domains_created_by_foreign` FOREIGN KEY (`created_by`) REFERENCES `users` (`id`) ON DELETE SET NULL,
  ADD CONSTRAINT `email_sender_domains_tenant_id_foreign` FOREIGN KEY (`tenant_id`) REFERENCES `tenants` (`id`) ON DELETE SET NULL;

--
-- Constraints for table `funnels`
--
ALTER TABLE `funnels`
  ADD CONSTRAINT `funnels_tenant_id_foreign` FOREIGN KEY (`tenant_id`) REFERENCES `tenants` (`id`) ON DELETE CASCADE;

--
-- Constraints for table `funnel_edges`
--
ALTER TABLE `funnel_edges`
  ADD CONSTRAINT `funnel_edges_funnel_id_foreign` FOREIGN KEY (`funnel_id`) REFERENCES `funnels` (`id`) ON DELETE CASCADE;

--
-- Constraints for table `funnel_executions`
--
ALTER TABLE `funnel_executions`
  ADD CONSTRAINT `funnel_executions_contact_id_foreign` FOREIGN KEY (`contact_id`) REFERENCES `contacts` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `funnel_executions_funnel_id_foreign` FOREIGN KEY (`funnel_id`) REFERENCES `funnels` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `funnel_executions_tenant_id_foreign` FOREIGN KEY (`tenant_id`) REFERENCES `tenants` (`id`) ON DELETE CASCADE;

--
-- Constraints for table `funnel_nodes`
--
ALTER TABLE `funnel_nodes`
  ADD CONSTRAINT `funnel_nodes_funnel_id_foreign` FOREIGN KEY (`funnel_id`) REFERENCES `funnels` (`id`) ON DELETE CASCADE;

--
-- Constraints for table `imports`
--
ALTER TABLE `imports`
  ADD CONSTRAINT `imports_contact_list_id_foreign` FOREIGN KEY (`contact_list_id`) REFERENCES `contact_lists` (`id`) ON DELETE SET NULL,
  ADD CONSTRAINT `imports_tenant_id_foreign` FOREIGN KEY (`tenant_id`) REFERENCES `tenants` (`id`) ON DELETE CASCADE;

--
-- Constraints for table `infobip_whatsapp_numbers`
--
ALTER TABLE `infobip_whatsapp_numbers`
  ADD CONSTRAINT `infobip_whatsapp_numbers_tenant_id_foreign` FOREIGN KEY (`tenant_id`) REFERENCES `tenants` (`id`) ON DELETE SET NULL;

--
-- Constraints for table `message_dispatches`
--
ALTER TABLE `message_dispatches`
  ADD CONSTRAINT `message_dispatches_tenant_id_foreign` FOREIGN KEY (`tenant_id`) REFERENCES `tenants` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `message_dispatches_user_id_foreign` FOREIGN KEY (`user_id`) REFERENCES `users` (`id`) ON DELETE SET NULL;

--
-- Constraints for table `message_opt_outs`
--
ALTER TABLE `message_opt_outs`
  ADD CONSTRAINT `message_opt_outs_source_dispatch_id_foreign` FOREIGN KEY (`source_dispatch_id`) REFERENCES `message_dispatches` (`id`) ON DELETE SET NULL,
  ADD CONSTRAINT `message_opt_outs_tenant_id_foreign` FOREIGN KEY (`tenant_id`) REFERENCES `tenants` (`id`) ON DELETE CASCADE;

--
-- Constraints for table `outbound_webhooks`
--
ALTER TABLE `outbound_webhooks`
  ADD CONSTRAINT `outbound_webhooks_tenant_id_foreign` FOREIGN KEY (`tenant_id`) REFERENCES `tenants` (`id`) ON DELETE CASCADE;

--
-- Constraints for table `payments`
--
ALTER TABLE `payments`
  ADD CONSTRAINT `payments_subscription_id_foreign` FOREIGN KEY (`subscription_id`) REFERENCES `subscriptions` (`id`) ON DELETE SET NULL,
  ADD CONSTRAINT `payments_tenant_id_foreign` FOREIGN KEY (`tenant_id`) REFERENCES `tenants` (`id`) ON DELETE CASCADE;

--
-- Constraints for table `service_prices`
--
ALTER TABLE `service_prices`
  ADD CONSTRAINT `service_prices_updated_by_foreign` FOREIGN KEY (`updated_by`) REFERENCES `users` (`id`) ON DELETE SET NULL;

--
-- Constraints for table `settings`
--
ALTER TABLE `settings`
  ADD CONSTRAINT `settings_tenant_id_foreign` FOREIGN KEY (`tenant_id`) REFERENCES `tenants` (`id`) ON DELETE SET NULL;

--
-- Constraints for table `subscriptions`
--
ALTER TABLE `subscriptions`
  ADD CONSTRAINT `subscriptions_coupon_id_foreign` FOREIGN KEY (`coupon_id`) REFERENCES `coupons` (`id`) ON DELETE SET NULL,
  ADD CONSTRAINT `subscriptions_plan_id_foreign` FOREIGN KEY (`plan_id`) REFERENCES `plans` (`id`) ON DELETE SET NULL,
  ADD CONSTRAINT `subscriptions_tenant_id_foreign` FOREIGN KEY (`tenant_id`) REFERENCES `tenants` (`id`) ON DELETE CASCADE;

--
-- Constraints for table `tenants`
--
ALTER TABLE `tenants`
  ADD CONSTRAINT `tenants_plan_id_foreign` FOREIGN KEY (`plan_id`) REFERENCES `plans` (`id`) ON DELETE SET NULL;

--
-- Constraints for table `tenant_channels`
--
ALTER TABLE `tenant_channels`
  ADD CONSTRAINT `tenant_channels_tenant_id_foreign` FOREIGN KEY (`tenant_id`) REFERENCES `tenants` (`id`) ON DELETE CASCADE;

--
-- Constraints for table `tenant_service_prices`
--
ALTER TABLE `tenant_service_prices`
  ADD CONSTRAINT `tenant_service_prices_created_by_foreign` FOREIGN KEY (`created_by`) REFERENCES `users` (`id`) ON DELETE SET NULL,
  ADD CONSTRAINT `tenant_service_prices_tenant_id_foreign` FOREIGN KEY (`tenant_id`) REFERENCES `tenants` (`id`) ON DELETE CASCADE;

--
-- Constraints for table `users`
--
ALTER TABLE `users`
  ADD CONSTRAINT `users_tenant_id_foreign` FOREIGN KEY (`tenant_id`) REFERENCES `tenants` (`id`) ON DELETE SET NULL;

--
-- Constraints for table `webhook_deliveries`
--
ALTER TABLE `webhook_deliveries`
  ADD CONSTRAINT `webhook_deliveries_outbound_webhook_id_foreign` FOREIGN KEY (`outbound_webhook_id`) REFERENCES `outbound_webhooks` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `webhook_deliveries_tenant_id_foreign` FOREIGN KEY (`tenant_id`) REFERENCES `tenants` (`id`) ON DELETE CASCADE;

--
-- Constraints for table `whatsapp_phone_numbers`
--
ALTER TABLE `whatsapp_phone_numbers`
  ADD CONSTRAINT `whatsapp_phone_numbers_tenant_id_foreign` FOREIGN KEY (`tenant_id`) REFERENCES `tenants` (`id`) ON DELETE CASCADE;
COMMIT;

