-- Table structure for table `company_router_interfaces`
--

CREATE TABLE `company_router_interfaces` (
  `id` bigint unsigned NOT NULL AUTO_INCREMENT,
  `company_router_id` bigint unsigned NOT NULL,
  `name` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
  `status` int NOT NULL DEFAULT '1' COMMENT '0=inactive, 1=active',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `company_router_interfaces_company_router_id_foreign` (`company_router_id`),
  CONSTRAINT `company_router_interfaces_company_router_id_foreign` FOREIGN KEY (`company_router_id`) REFERENCES `company_routers` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB AUTO_INCREMENT=62 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `company_router_interfaces`
--

INSERT INTO `company_router_interfaces` VALUES (9,2,'ether1',1,'2025-08-05 17:44:20','2025-08-05 17:44:20',NULL),(10,2,'ether3',1,'2025-08-05 17:44:20','2025-08-05 17:44:20',NULL),(11,2,'ether4',1,'2025-08-05 17:44:20','2025-08-05 17:44:20',NULL),(12,2,'ether5',1,'2025-08-05 17:44:20','2025-08-05 17:44:20',NULL),(13,2,'bridge',1,'2025-08-05 17:44:20','2025-08-05 17:44:20',NULL),(14,2,'lo',1,'2025-08-05 17:44:20','2025-08-05 17:44:20',NULL),(15,2,'ovpn-out1',1,'2025-08-05 17:44:20','2025-08-05 17:44:20',NULL),(25,5,'ether1',1,'2025-08-26 18:11:46','2025-08-26 18:11:46',NULL),(26,5,'ether3',1,'2025-08-26 18:11:46','2025-08-26 18:11:46',NULL),(27,5,'ether4',1,'2025-08-26 18:11:46','2025-08-26 18:11:46',NULL),(28,5,'ether5',1,'2025-08-26 18:11:46','2025-08-26 18:11:46',NULL),(29,5,'bridge',1,'2025-08-26 18:11:46','2025-08-26 18:11:46',NULL),(30,5,'ovpn-out1',1,'2025-08-26 18:11:46','2025-08-26 18:11:46',NULL),(31,7,'ether1',1,'2025-08-29 20:13:38','2025-08-29 20:13:38',NULL),(32,7,'ether2',1,'2025-08-29 20:13:38','2025-08-29 20:13:38',NULL),(33,7,'ether3',1,'2025-08-29 20:13:38','2025-08-29 20:13:38',NULL),(34,7,'ether5',1,'2025-08-29 20:13:38','2025-08-29 20:13:38',NULL),(35,7,'ether6',1,'2025-08-29 20:13:38','2025-08-29 20:13:38',NULL),(36,7,'ether7',1,'2025-08-29 20:13:38','2025-08-29 20:13:38',NULL),(37,7,'ether8',1,'2025-08-29 20:13:38','2025-08-29 20:13:38',NULL),(38,7,'sfp1',1,'2025-08-29 20:13:38','2025-08-29 20:13:38',NULL),(39,7,'bridge',1,'2025-08-29 20:13:38','2025-08-29 20:13:38',NULL),(40,7,'lo',1,'2025-08-29 20:13:38','2025-08-29 20:13:38',NULL),(41,7,'ovpn-out1',1,'2025-08-29 20:13:38','2025-08-29 20:13:38',NULL),(42,7,'wifi1',1,'2025-08-29 20:13:38','2025-08-29 20:13:38',NULL),(43,10,'ether1',1,'2025-09-09 10:51:17','2025-09-09 10:51:17',NULL),(44,10,'ether2',1,'2025-09-09 10:51:17','2025-09-09 10:51:17',NULL),(45,10,'ether3',1,'2025-09-09 10:51:17','2025-09-09 10:51:17',NULL),(46,10,'RS',1,'2025-09-09 10:51:17','2025-09-09 10:51:17',NULL),(47,10,'R',1,'2025-09-09 10:51:17','2025-09-09 10:51:17',NULL),(48,10,'ovpn-out1',1,'2025-09-09 10:51:17','2025-09-09 10:51:17',NULL),(49,13,'ether1',1,'2025-09-26 13:47:49','2025-09-26 13:47:49',NULL),(50,13,'ether2',1,'2025-09-26 13:47:49','2025-09-26 13:47:49',NULL),(51,13,'ether3',1,'2025-09-26 13:47:49','2025-09-26 13:47:49',NULL),(52,13,'RS',1,'2025-09-26 13:47:49','2025-09-26 13:47:49',NULL),(53,13,'ether5',1,'2025-09-26 13:47:49','2025-09-26 13:47:49',NULL),(54,13,'ether6',1,'2025-09-26 13:47:49','2025-09-26 13:47:49',NULL),(55,13,'ether7',1,'2025-09-26 13:47:49','2025-09-26 13:47:49',NULL),(56,13,'ether8',1,'2025-09-26 13:47:49','2025-09-26 13:47:49',NULL),(57,13,'ether10',1,'2025-09-26 13:47:49','2025-09-26 13:47:49',NULL),(58,13,'sfp1',1,'2025-09-26 13:47:49','2025-09-26 13:47:49',NULL),(59,13,'wlan1',1,'2025-09-26 13:47:49','2025-09-26 13:47:49',NULL),(60,13,'R',1,'2025-09-26 13:47:49','2025-09-26 13:47:49',NULL),(61,13,'ovpn-out1',1,'2025-09-26 13:47:49','2025-09-26 13:47:49',NULL);

--
-- Table structure for table `company_router_invoice_payments`
--

CREATE TABLE `company_router_invoice_payments` (
  `id` bigint unsigned NOT NULL AUTO_INCREMENT,
  `router_invoice_id` int NOT NULL,
  `grouped_transaction_id` bigint unsigned NOT NULL,
  `amount` decimal(8,2) NOT NULL DEFAULT '0.00',
  `commission_amount` decimal(8,2) NOT NULL DEFAULT '0.00',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `company_router_invoice_payments_grouped_transaction_id_foreign` (`grouped_transaction_id`),
  CONSTRAINT `company_router_invoice_payments_grouped_transaction_id_foreign` FOREIGN KEY (`grouped_transaction_id`) REFERENCES `grouped_transactions` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB AUTO_INCREMENT=4 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `company_router_invoice_payments`
--

INSERT INTO `company_router_invoice_payments` VALUES (1,6,1,21000.00,0.00,'2025-08-28 06:42:22','2025-08-28 06:42:22',NULL),(2,10,2,21000.00,0.00,'2025-09-10 17:38:47','2025-09-10 17:38:47',NULL),(3,11,3,21000.00,0.00,'2025-09-18 14:40:49','2025-09-18 14:40:49',NULL);

--
-- Table structure for table `company_router_invoices`
--

CREATE TABLE `company_router_invoices` (
  `id` bigint unsigned NOT NULL AUTO_INCREMENT,
  `ref_no` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
  `company_router_id` bigint unsigned NOT NULL,
  `from_date` timestamp NOT NULL,
  `to_date` timestamp NOT NULL,
  `amount` decimal(8,2) NOT NULL DEFAULT '0.00',
  `status` int NOT NULL DEFAULT '0' COMMENT '0=pending, 1=paid',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `company_router_invoices_company_router_id_foreign` (`company_router_id`),
  CONSTRAINT `company_router_invoices_company_router_id_foreign` FOREIGN KEY (`company_router_id`) REFERENCES `company_routers` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB AUTO_INCREMENT=14 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `company_router_invoices`
--

INSERT INTO `company_router_invoices` VALUES (2,'1052P9',2,'2025-08-04 22:00:00','2025-09-04 22:00:00',1000.00,0,'2025-08-05 16:56:56','2025-08-28 13:27:33','2025-08-28 13:27:33'),(5,'L3POA9',5,'2025-08-17 22:00:00','2025-09-17 22:00:00',21000.00,0,'2025-08-18 17:15:11','2025-08-28 06:45:33',NULL),(6,'UMORD7',6,'2025-08-25 22:00:00','2025-09-25 22:00:00',21000.00,1,'2025-08-26 13:06:13','2025-08-28 06:42:22',NULL),(7,'LIM5SR',7,'2025-08-28 22:00:00','2025-09-28 22:00:00',21000.00,0,'2025-08-29 19:10:58','2025-08-29 19:10:58',NULL),(8,'UA4N6X',8,'2025-08-29 22:00:00','2025-09-29 22:00:00',21000.00,0,'2025-08-30 06:58:45','2025-08-30 06:58:45',NULL),(9,'XKAGB1',9,'2025-09-05 22:00:00','2025-10-05 22:00:00',21000.00,0,'2025-09-06 06:09:37','2025-09-25 06:34:59',NULL),(10,'IFBS2J',10,'2025-09-08 22:00:00','2025-10-08 22:00:00',21000.00,1,'2025-09-09 09:33:08','2025-09-10 17:38:47',NULL),(11,'O2YFSQ',11,'2025-09-17 22:00:00','2025-10-17 22:00:00',21000.00,1,'2025-09-18 14:24:23','2025-09-18 14:40:49',NULL),(12,'YXDQ1H',12,'2025-09-24 22:00:00','2025-10-24 22:00:00',21000.00,0,'2025-09-25 11:55:26','2025-09-25 11:55:26',NULL),(13,'2IS8WQ',13,'2025-09-25 22:00:00','2025-10-25 22:00:00',21000.00,0,'2025-09-26 08:35:02','2025-09-26 08:35:02',NULL);

--
-- Table structure for table `company_routers`
--

CREATE TABLE `company_routers` (
  `id` bigint unsigned NOT NULL AUTO_INCREMENT,
  `ref_no` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
  `company_id` bigint unsigned NOT NULL,
  `name` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
  `ip_address` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
  `public_ip` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `username` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
  `api_port` int NOT NULL DEFAULT '8728',
  `password` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
  `subscription_amount` decimal(8,2) NOT NULL DEFAULT '0.00',
  `expiry_date` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
  `customer_care_phone` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `online_status` int NOT NULL DEFAULT '1' COMMENT '0=offline, 1=online',
  `online_status_counter` int NOT NULL DEFAULT '0',
  `file_location` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `transaction_frequency_id` bigint unsigned DEFAULT NULL,
  `next_transaction_date` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `hotspot_anti_sharing_enabled` int NOT NULL DEFAULT '0' COMMENT '0=no, 1=yes',
  `status` int NOT NULL DEFAULT '1' COMMENT '0=inactive, 1=active, 2=expired',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `company_routers_ip_address_unique` (`ip_address`),
  UNIQUE KEY `company_routers_public_ip_unique` (`public_ip`),
  KEY `company_routers_company_id_foreign` (`company_id`),
  KEY `company_routers_transaction_frequency_id_foreign` (`transaction_frequency_id`),
  CONSTRAINT `company_routers_company_id_foreign` FOREIGN KEY (`company_id`) REFERENCES `companies` (`id`) ON DELETE CASCADE,
  CONSTRAINT `company_routers_transaction_frequency_id_foreign` FOREIGN KEY (`transaction_frequency_id`) REFERENCES `transaction_frequencies` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB AUTO_INCREMENT=14 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `company_routers`
--

INSERT INTO `company_routers` VALUES (2,'GI6BYT',8,'Ngoni Net 1','50.50.50.2','161.97.174.20:16758','ngoni',8728,'48DWVF',0.00,'2025-09-30','0716583413',1,0,NULL,1,'2025-08-05',1,1,'2025-08-05 16:56:56','2025-09-26 11:05:22',NULL),(5,'YE6B2O',8,'Machinga Complex','50.50.50.5','161.97.174.20:11566','heritage',8728,'0HAWV2',21000.00,'2025-08-26','0763752350',1,0,NULL,NULL,NULL,1,1,'2025-08-18 17:15:11','2025-09-26 21:10:22',NULL),(6,'83WYM2',11,'Mwamba','50.50.50.6','161.97.174.20:18680','heritage',8728,'5ZISPW',21000.00,'2025-09-28','0786000803',0,0,'flash',NULL,NULL,1,1,'2025-08-26 13:06:13','2025-09-01 11:16:09',NULL),(7,'O37YGC',13,'La Zungu','50.50.50.7','161.97.174.20:18875','heritage',8728,'6ZNHLJ',21000.00,'2025-08-29','0754578434',1,1,NULL,NULL,NULL,1,2,'2025-08-29 19:10:58','2025-09-26 20:26:28',NULL),(8,'9N2EL1',14,'MwendoKasi','50.50.50.8',NULL,'heritage',8728,'heritage@2025',21000.00,'2025-08-30','0696849400',0,3,NULL,NULL,NULL,0,2,'2025-08-30 06:58:45','2025-08-30 08:39:34',NULL),(9,'D2WHM9',16,'Street Mesh','50.50.50.9','161.97.174.20:10194','heritage',8728,'X71WBR',21000.00,'2025-10-25','0747777710',1,1,'flash',NULL,NULL,1,2,'2025-09-06 06:09:37','2025-09-26 17:31:28',NULL),(10,'31DRYJ',17,'Mr Bando Internet Services','50.50.50.10','161.97.174.20:18997','heritage',8728,'L7BDGY',21000.00,'2025-10-10','0780601042',0,0,'flash',NULL,NULL,1,0,'2025-09-09 09:33:08','2025-09-11 06:52:45',NULL),(11,'43ORCJ',18,'G NJARO','50.50.50.11','161.97.174.20:10200','heritage',8728,'3R02DL',21000.00,'2025-10-18','0769932392',1,0,'flash',NULL,NULL,1,1,'2025-09-18 14:24:23','2025-09-26 15:55:27',NULL),(12,'9TGQOX',19,'Router12','50.50.50.12',NULL,'heritage',8728,'heritage@2025',21000.00,'2025-09-25','07577006671',0,3,NULL,NULL,NULL,0,2,'2025-09-25 11:55:26','2025-09-25 11:58:04',NULL),(13,'XH6WF3',20,'Mkiwa','50.50.50.13',NULL,'heritage',8728,'heritage@2025',21000.00,'2025-09-30','0788443614',1,0,NULL,NULL,NULL,0,2,'2025-09-26 08:35:02','2025-09-26 22:03:29',NULL);

--
-- Table structure for table `company_service_plans`
--

CREATE TABLE `company_service_plans` (
  `id` bigint unsigned NOT NULL AUTO_INCREMENT,
  `ref_no` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
  `company_id` bigint unsigned NOT NULL,
  `service_plan_id` bigint unsigned NOT NULL,
  `company_router_id` bigint unsigned DEFAULT NULL,
  `company_ip_pool_id` int DEFAULT NULL,
  `name` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
  `download_limit` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `download_scale` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `upload_limit` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `upload_scale` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `burst_download_limit` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `burst_download_scale` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `burst_time` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `shared_users` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '1',
  `valid_for` decimal(8,2) NOT NULL DEFAULT '1.00',
  `plan_validity_type_id` int DEFAULT NULL,
  `cost` decimal(8,2) NOT NULL DEFAULT '0.00',
  `status` int NOT NULL DEFAULT '1' COMMENT '0=inactive, 1=active',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `company_service_plans_company_id_foreign` (`company_id`),
  KEY `company_service_plans_service_plan_id_foreign` (`service_plan_id`),
  KEY `company_service_plans_company_router_id_foreign` (`company_router_id`),
  CONSTRAINT `company_service_plans_company_id_foreign` FOREIGN KEY (`company_id`) REFERENCES `companies` (`id`) ON DELETE CASCADE,
  CONSTRAINT `company_service_plans_company_router_id_foreign` FOREIGN KEY (`company_router_id`) REFERENCES `company_routers` (`id`) ON DELETE CASCADE,
  CONSTRAINT `company_service_plans_service_plan_id_foreign` FOREIGN KEY (`service_plan_id`) REFERENCES `service_plans` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB AUTO_INCREMENT=74 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `company_service_plans`
--

INSERT INTO `company_service_plans` VALUES (6,'F3L651',8,1,2,3,'1 Hour','5','M','5','M',NULL,NULL,NULL,'1',1.00,2,210.00,1,'2025-08-05 17:49:04','2025-08-15 23:19:41',NULL),(7,'YPH8AG',8,1,2,3,'3 Hours','3','M','2','M',NULL,NULL,NULL,'1',3.00,2,300.00,1,'2025-08-05 17:49:42','2025-08-31 19:13:23',NULL),(8,'RN5IOU',8,1,2,3,'12 Hours','3','M','3','M',NULL,NULL,NULL,'1',12.00,2,500.00,1,'2025-08-05 17:50:05','2025-08-28 22:28:21',NULL),(9,'SHZN7L',8,1,2,3,'24 Hours','3','M','3','M',NULL,NULL,NULL,'1',24.00,2,1000.00,1,'2025-08-05 17:50:21','2025-08-28 22:30:53',NULL),(10,'ICA7K6',8,1,2,3,'7 Day','3','M','3','M',NULL,NULL,NULL,'1',7.00,3,5000.00,1,'2025-08-08 19:52:48','2025-08-18 21:00:20',NULL),(22,'X8D2C0',8,2,2,4,'Kiboko','10','M','10','M',NULL,NULL,NULL,'1',30.00,3,40000.00,1,'2025-08-11 10:11:00','2025-08-11 10:11:00',NULL),(23,'Q3R0VS',8,1,2,3,'Mwezi','3','M','3','M',NULL,NULL,NULL,'1',30.00,3,15000.00,1,'2025-08-14 20:43:56','2025-08-15 18:44:13',NULL),(24,'48IY1U',8,1,2,3,'3 days','03','M','03','M',NULL,NULL,NULL,'1',3.00,3,2500.00,1,'2025-08-14 20:45:13','2025-08-14 20:45:13',NULL),(25,'OP0VN1',8,3,2,NULL,'6mbps/6mbps','3','M','3','M',NULL,NULL,NULL,'1',1.00,3,2000.00,1,'2025-08-19 20:17:59','2025-08-19 20:17:59',NULL),(26,'S3H0WT',8,1,2,3,'2 week','03','M','03','M',NULL,NULL,NULL,'1',14.00,3,7000.00,1,'2025-08-20 11:02:58','2025-08-20 11:02:58',NULL),(27,'0X5KNQ',11,1,6,6,'Ndovu','3','M','3','M',NULL,NULL,NULL,'50',30.00,1,500.00,1,'2025-08-26 17:07:49','2025-08-26 18:55:14','2025-08-26 18:55:14'),(28,'6KXBQV',11,1,6,6,'Chui','5','M','5','M',NULL,NULL,NULL,'1',24.00,2,10000.00,1,'2025-08-26 17:14:36','2025-08-26 18:55:46','2025-08-26 18:55:46'),(29,'X1OSK4',11,1,6,6,'Chui','5','M','5','M',NULL,NULL,NULL,'1',24.00,2,10000.00,1,'2025-08-26 17:14:44','2025-08-26 17:15:12','2025-08-26 17:15:12'),(30,'LTR62D',11,2,6,7,'5 Mbps','5','M','5','M',NULL,NULL,NULL,'1',30.00,3,10000.00,1,'2025-08-26 17:24:27','2025-08-26 21:41:08','2025-08-26 21:41:08'),(31,'R6Z9YE',8,1,5,8,'saa 1','3','M','3','M',NULL,NULL,NULL,'1',1.00,2,210.00,1,'2025-08-26 18:34:22','2025-08-26 18:35:41',NULL),(32,'LHSBZ6',8,1,5,8,'12h','3','M','3','M',NULL,NULL,NULL,'1',12.00,2,500.00,1,'2025-08-26 18:35:06','2025-08-26 18:35:06',NULL),(33,'Z1QWMR',8,1,5,8,'3 days','3','M','3','M',NULL,NULL,NULL,'1',3.00,3,2500.00,1,'2025-08-26 18:36:38','2025-08-26 18:36:38',NULL),(34,'PDSZU1',8,1,5,8,'24hs','3','M','3','M',NULL,NULL,NULL,'1',24.00,2,1000.00,1,'2025-08-26 18:37:51','2025-08-26 18:37:51',NULL),(35,'Y2XKDT',8,1,5,8,'7days','03','M','05','M',NULL,NULL,NULL,'1',7.00,3,5000.00,1,'2025-08-26 18:38:54','2025-08-26 18:38:54',NULL),(36,'LOYQE0',8,1,5,8,'2 weeks','3','M','3','M',NULL,NULL,NULL,'1',14.00,3,8000.00,1,'2025-08-26 18:40:14','2025-08-26 18:40:14',NULL),(37,'04YOGN',8,1,5,8,'30 days','3','M','5','M',NULL,NULL,NULL,'1',30.00,3,20000.00,1,'2025-08-26 18:41:01','2025-08-26 18:41:01',NULL),(38,'YEW603',11,1,6,6,'Masaa 6','100','M','100','M',NULL,NULL,NULL,'1',6.00,2,500.00,1,'2025-08-26 18:56:38','2025-08-28 12:57:08',NULL),(39,'F21X6R',11,1,6,6,'Masaa 24','150','M','150','M',NULL,NULL,NULL,'1',24.00,2,1000.00,1,'2025-08-26 18:58:52','2025-08-28 12:57:25',NULL),(40,'2PGTOV',11,1,6,6,'Siku 7','100','M','100','M',NULL,NULL,NULL,'1',7.00,3,5000.00,1,'2025-08-26 19:00:05','2025-08-28 12:57:46',NULL),(41,'BT1SFP',8,2,5,9,'flash','10','M','10','M',NULL,NULL,NULL,'1',30.00,3,40000.00,1,'2025-08-26 19:37:31','2025-08-26 19:37:31',NULL),(42,'C7SJTZ',8,2,5,9,'swala','5','M','5','M',NULL,NULL,NULL,'1',30.00,3,20000.00,1,'2025-08-26 19:38:42','2025-08-26 19:38:42',NULL),(43,'R4CLS6',13,1,7,10,'Pipi','2','M','5','M',NULL,NULL,NULL,'1',30.00,1,200.00,1,'2025-08-29 20:46:28','2025-08-31 07:25:31','2025-08-31 07:25:31'),(44,'4KDB2L',13,1,7,10,'30 | Nusu saa |','5','M','5','M',NULL,NULL,NULL,'1',30.00,1,200.00,1,'2025-08-31 07:28:52','2025-08-31 07:28:52',NULL),(45,'9ZH6DY',13,1,7,10,'1 Hour','5','M','5','M',NULL,NULL,NULL,'1',1.00,2,300.00,1,'2025-08-31 07:30:35','2025-08-31 07:30:35',NULL),(46,'5IR041',13,1,7,10,'2 Hours','5','M','5','M',NULL,NULL,NULL,'1',2.00,2,400.00,1,'2025-08-31 07:31:43','2025-08-31 07:31:43',NULL),(47,'8SOLGK',13,1,7,10,'4 Hours','8','M','8','M',NULL,NULL,NULL,'1',4.00,2,500.00,1,'2025-08-31 07:33:48','2025-08-31 07:33:48',NULL),(48,'8T6PNO',13,1,7,10,'7 Hours','8','M','8','M',NULL,NULL,NULL,'1',7.00,2,600.00,1,'2025-08-31 07:36:47','2025-08-31 07:36:47',NULL),(49,'25GC3H',13,1,7,10,'8 Hours','8','M','8','M',NULL,NULL,NULL,'1',8.00,2,700.00,1,'2025-08-31 07:38:26','2025-08-31 07:38:26',NULL),(50,'QPVI49',13,1,7,10,'9 Hours','8','M','8','M',NULL,NULL,NULL,'1',9.00,2,800.00,1,'2025-08-31 07:39:40','2025-08-31 07:39:40',NULL),(51,'CM5IHB',13,1,7,10,'12 Hours','8','M','8','M',NULL,NULL,NULL,'1',12.00,2,900.00,1,'2025-08-31 07:44:12','2025-08-31 07:44:12',NULL),(52,'3JX0O4',13,1,7,10,'1 Day','10','M','10','M',NULL,NULL,NULL,'1',1.00,3,1000.00,1,'2025-08-31 07:52:54','2025-08-31 07:52:54',NULL),(53,'3PV8ZA',13,1,7,10,'SIKU MOJA NA NUSU','10','M','10','M',NULL,NULL,NULL,'1',30.00,2,1500.00,1,'2025-08-31 08:13:23','2025-08-31 08:13:23',NULL),(54,'Z7RLWI',13,1,7,10,'3 Days','10','M','10','M',NULL,NULL,NULL,'1',3.00,3,2000.00,1,'2025-08-31 08:14:54','2025-08-31 08:14:54',NULL),(55,'M5FICZ',13,1,7,10,'1 Week','15','M','15','M',NULL,NULL,NULL,'1',7.00,3,4000.00,1,'2025-08-31 08:16:26','2025-08-31 08:16:26',NULL),(56,'VZ2NXP',13,1,7,10,'2 Weeks','15','M','15','M',NULL,NULL,NULL,'1',14.00,3,7500.00,1,'2025-08-31 08:19:55','2025-08-31 08:19:55',NULL),(57,'RMXA0W',13,1,7,10,'3 Weeks','15','M','15','M',NULL,NULL,NULL,'1',21.00,3,12000.00,1,'2025-08-31 08:32:43','2025-08-31 08:32:43',NULL),(58,'BE0OKR',13,1,7,10,'1 Month | Mwezi |','18','M','18','M',NULL,NULL,NULL,'1',28.00,3,15000.00,1,'2025-08-31 08:38:11','2025-08-31 08:38:11',NULL),(59,'CQHY58',16,1,9,12,'Nusu siku Unlimited 12hrs','3','M','3','M',NULL,NULL,NULL,'1',12.00,2,1000.00,1,'2025-09-06 06:53:48','2025-09-23 16:21:45',NULL),(60,'8ZXKH7',16,2,9,13,'Mwezi','10','M','10','M',NULL,NULL,NULL,'1',30.00,3,15000.00,1,'2025-09-06 06:55:07','2025-09-06 06:55:07',NULL),(61,'85EDC4',16,1,9,12,'Mselekeko Spenko','10','M','10','M',NULL,NULL,NULL,'3',30.00,3,30000.00,1,'2025-09-06 18:36:04','2025-09-06 18:36:04',NULL),(62,'3HA74Q',17,1,10,14,'SIKU','10','M','10','M',NULL,NULL,NULL,'1',24.00,2,1000.00,1,'2025-09-09 11:03:43','2025-09-09 11:03:43',NULL),(63,'TQM92W',17,2,10,15,'MWEZI','10','M','10','M',NULL,NULL,NULL,'1',30.00,3,25000.00,1,'2025-09-09 11:05:23','2025-09-09 11:05:23',NULL),(64,'CH17FV',18,1,11,16,'SIKU','10','M','10','M',NULL,NULL,NULL,'1',1.00,3,1000.00,1,'2025-09-18 14:59:05','2025-09-18 14:59:05',NULL),(65,'7JZES1',18,1,11,16,'VOCHA ZA MASAA 500/=','3','M','3','M',NULL,NULL,NULL,'1',5.00,2,500.00,1,'2025-09-18 15:37:39','2025-09-18 15:37:39',NULL),(66,'8V5GCZ',18,1,11,16,'MWEZI','10','M','10','M',NULL,NULL,NULL,'1',30.00,3,26000.00,1,'2025-09-18 18:29:05','2025-09-18 18:29:05',NULL),(67,'B2N8DJ',18,1,11,16,'WIKI','5','M','5','M',NULL,NULL,NULL,'1',7.00,3,6000.00,1,'2025-09-18 18:30:47','2025-09-18 18:30:47',NULL),(68,'BPG4NY',16,1,9,12,'Jiachie Park Unlimited 24Hrs','3','M','3','M',NULL,NULL,NULL,'1',24.00,2,1500.00,1,'2025-09-22 21:35:08','2025-09-23 16:20:52',NULL),(69,'W0F76Z',16,1,9,12,'Mtu Kazi Siku 2','3','M','0','M',NULL,NULL,NULL,'1',2.00,3,3000.00,1,'2025-09-23 16:23:46','2025-09-23 16:23:46',NULL),(70,'RVJX80',20,1,13,18,'12 Hours','3','M','3','M',NULL,NULL,NULL,'1',12.00,2,1000.00,1,'2025-09-26 13:52:52','2025-09-26 15:21:03',NULL),(71,'FUJ5C1',20,1,13,18,'Siku 1','3','M','3','M',NULL,NULL,NULL,'1',1.00,3,1750.00,1,'2025-09-26 14:49:07','2025-09-26 15:12:30',NULL),(72,'L51RS7',20,1,13,18,'Endless 7 Days','3','M','3','M',NULL,NULL,NULL,'1',7.00,3,5500.00,1,'2025-09-26 15:01:08','2025-09-26 15:14:04',NULL),(73,'SQU2YH',20,1,13,18,'Siku 3','3','M','3','M',NULL,NULL,NULL,'1',3.00,3,3500.00,1,'2025-09-26 15:11:27','2025-09-26 15:11:27',NULL);

--
-- Table structure for table `company_sms`
--

CREATE TABLE `company_sms` (
  `id` bigint unsigned NOT NULL AUTO_INCREMENT,
  `company_id` bigint unsigned NOT NULL,
  `sms_units` int NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `company_sms_company_id_foreign` (`company_id`),
  CONSTRAINT `company_sms_company_id_foreign` FOREIGN KEY (`company_id`) REFERENCES `companies` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `company_sms`
--


--
-- Table structure for table `company_sms_provider_entities`
--

CREATE TABLE `company_sms_provider_entities` (
  `id` bigint unsigned NOT NULL AUTO_INCREMENT,
  `company_sms_provider_id` bigint unsigned NOT NULL,
  `requirement_id` int NOT NULL,
  `name` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `company_sms_provider_entities_company_sms_provider_id_foreign` (`company_sms_provider_id`),
  CONSTRAINT `company_sms_provider_entities_company_sms_provider_id_foreign` FOREIGN KEY (`company_sms_provider_id`) REFERENCES `company_sms_providers` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB AUTO_INCREMENT=7 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `company_sms_provider_entities`
--

INSERT INTO `company_sms_provider_entities` VALUES (1,1,7,'La Zungu','2025-09-01 06:07:22','2025-09-01 06:07:22',NULL),(2,1,8,'1152|z0RRuHr8EQLxtqTMo5WPUNrXJIYYbl5Q2BJpWKiN43a0aece','2025-09-01 06:07:22','2025-09-01 06:07:22',NULL),(3,2,7,'La Zungu','2025-09-01 06:15:21','2025-09-01 06:15:21',NULL),(4,2,8,'1152|z0RRuHr8EQLxtqTMo5WPUNrXJIYYbl5Q2BJpWKiN43a0aece','2025-09-01 06:15:21','2025-09-01 06:15:21',NULL),(5,3,7,'La Zungu','2025-09-01 06:16:04','2025-09-01 06:16:04',NULL),(6,3,8,'1152|z0RRuHr8EQLxtqTMo5WPUNrXJIYYbl5Q2BJpWKiN43a0aece','2025-09-01 06:16:04','2025-09-01 06:16:04',NULL);

--
-- Table structure for table `company_sms_providers`
--

CREATE TABLE `company_sms_providers` (
  `id` bigint unsigned NOT NULL AUTO_INCREMENT,
  `company_id` bigint unsigned NOT NULL,
  `sms_provider_id` bigint unsigned NOT NULL,
  `status` int NOT NULL DEFAULT '1' COMMENT '0=inactive, 1=active',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `company_sms_providers_company_id_foreign` (`company_id`),
  KEY `company_sms_providers_sms_provider_id_foreign` (`sms_provider_id`),
  CONSTRAINT `company_sms_providers_company_id_foreign` FOREIGN KEY (`company_id`) REFERENCES `companies` (`id`) ON DELETE CASCADE,
  CONSTRAINT `company_sms_providers_sms_provider_id_foreign` FOREIGN KEY (`sms_provider_id`) REFERENCES `sms_providers` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB AUTO_INCREMENT=4 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `company_sms_providers`
--

INSERT INTO `company_sms_providers` VALUES (1,13,4,1,'2025-09-01 06:06:35','2025-09-01 06:14:22','2025-09-01 06:14:22'),(2,13,4,1,'2025-09-01 06:15:21','2025-09-01 06:15:34','2025-09-01 06:15:34'),(3,13,4,1,'2025-09-01 06:16:04','2025-09-01 06:16:04',NULL);

--
-- Table structure for table `company_sms_templates`
--

CREATE TABLE `company_sms_templates` (
  `id` bigint unsigned NOT NULL AUTO_INCREMENT,
  `company_id` int DEFAULT NULL,
  `sms_template_type_id` bigint unsigned NOT NULL,
  `content` longtext COLLATE utf8mb4_unicode_ci NOT NULL,
  `status` int NOT NULL DEFAULT '0' COMMENT '0=inactive, 1=active',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `company_sms_templates_sms_template_type_id_foreign` (`sms_template_type_id`),
  CONSTRAINT `company_sms_templates_sms_template_type_id_foreign` FOREIGN KEY (`sms_template_type_id`) REFERENCES `sms_template_types` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB AUTO_INCREMENT=30 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `company_sms_templates`
--

INSERT INTO `company_sms_templates` VALUES (1,0,1,'Dear [name], your internet plan is expiring in [expiry_days] day(s). Kindly make the payment at your earliest convenience to avoid service interruptions. Pay via paybill - [paybill] and account number [account_number]',1,'2025-08-03 19:10:09','2025-08-03 19:10:09',NULL),(2,0,2,'Dear [name], your invoice for [month] amounting to Ksh [balance] has been generated. Please pay via paybill - [paybill] and account number [account_number]',1,'2025-08-03 19:10:09','2025-08-03 19:10:09',NULL),(3,0,3,'Hello [name], this is to confirm that we have received your payment of Ksh [amount] for [month]. Your current balance as of now is Ksh [balance]',1,'2025-08-03 19:10:09','2025-08-03 19:10:09',NULL),(4,0,4,'Dear [name], this is a reminder that your payment of Tsh [balance] for [month] is due. Kindly make the payment at your earliest convenience to avoid service interruptions. Pay via paybill - [paybill] and account number [account_number]',1,'2025-08-03 19:10:09','2025-09-23 09:01:32',NULL),(5,0,5,'Dear [name], your payment of Ksh [balance] for [month] is overdue. Please settle the outstanding amount immediately to avoid service disruption. Pay via paybill - [paybill] and account number [account_number]',1,'2025-08-03 19:10:09','2025-08-03 19:10:09',NULL),(6,0,6,'Hello [name], due to an overdue balance of [balance], your service has been disconnected. To restore the services, please pay Ksh [balance] to paybill - [paybill] using account number [account_number]',1,'2025-08-03 19:10:09','2025-08-03 19:10:09',NULL),(7,0,7,'Hello [name], we are excited to have you on board! Your subscription to [internet_plan] is now active. If you have any questions, feel free to contact us. Thank you',1,'2025-08-03 19:10:09','2025-08-03 19:10:09',NULL),(8,0,8,'Hello [name], we are excited to have you on board! Your subscription to [internet_plan] is now active. If you have any questions, feel free to contact us.',1,'2025-08-03 19:10:09','2025-08-03 19:10:09',NULL),(9,0,9,'Dear [name], your request to change your plan to [internet_plan] has been processed successfully. Your new plan is now active. Contact us if you need assistance.',1,'2025-08-03 19:10:09','2025-08-03 19:10:09',NULL),(10,0,10,'Dear [name], we will be performing maintenance on 1st Jan 2025 from 09:30am to 11:30am. Service may be temporarily affected. Thank you for your patience.',1,'2025-08-03 19:10:09','2025-08-03 19:10:09',NULL),(11,0,11,'Dear [name], we are aware of an ongoing service disruption in your area. Our team is investigating and will restore service as soon as possible.',1,'2025-08-03 19:10:09','2025-08-03 19:10:09',NULL),(12,0,12,'Greetings, thank you for purchasing [plan] plan worthy [amount]. Please use [username] as the username and [password] as your password to reconnect yourself. Your subscription expires at [expiry_date].',1,'2025-08-03 19:10:09','2025-08-03 19:10:09',NULL),(13,8,11,'Dear [name], we are aware of an ongoing service disruption in your area. Our team is investigating and will restore service as soon as possible.',1,'2025-08-22 21:17:08','2025-08-22 21:17:08',NULL),(14,8,12,'Greetings, thank you for purchasing [plan] plan worthy [amount]. Please use [username] as the username and [password] as your password to reconnect yourself. Your subscription expires at [expiry_date].',1,'2025-08-22 21:20:09','2025-08-22 21:20:09',NULL),(15,11,1,'Dear [name], your internet plan is expiring in [expiry_days] day(s). Kindly make the payment at your earliest convenience to avoid service interruptions. Pay via paybill - [paybill] and account number [account_number]',1,'2025-08-26 17:26:06','2025-08-26 17:26:06',NULL),(16,13,12,'Greetings, thank you for purchasing [plan] plan worthy [amount]. Please use [username] as the username and [password] as your password to reconnect yourself. Your subscription expires at [expiry_date].',1,'2025-08-29 22:04:52','2025-08-29 22:04:52',NULL),(17,13,11,'Dear [name], we are aware of an ongoing service disruption in your area. Our team is investigating and will restore service as soon as possible.',1,'2025-08-29 22:05:13','2025-08-29 22:05:13',NULL),(18,13,10,'Dear [name], we will be performing maintenance on 1st Jan 2025 from 09:30am to 11:30am. Service may be temporarily affected. Thank you for your patience.',1,'2025-08-29 22:05:34','2025-08-29 22:05:34',NULL),(19,13,9,'Dear [name], your request to change your plan to [internet_plan] has been processed successfully. Your new plan is now active. Contact us if you need assistance.',1,'2025-08-29 22:06:16','2025-08-29 22:06:16',NULL),(20,13,8,'Hello [name], we are excited to have you on board! Your subscription to [internet_plan] is now active. If you have any questions, feel free to contact us.',1,'2025-08-29 22:06:24','2025-08-29 22:06:24',NULL),(21,13,7,'Hello [name], we are excited to have you on board! Your subscription to [internet_plan] is now active. If you have any questions, feel free to contact us. Thank you',1,'2025-08-29 22:06:29','2025-08-29 22:06:29',NULL),(22,13,6,'Hello [name], due to an overdue balance of [balance], your service has been disconnected. To restore the services, please pay Ksh [balance] to paybill - [paybill] using account number [account_number]',1,'2025-08-29 22:06:35','2025-08-29 22:06:35',NULL),(23,13,5,'Dear [name], your payment of Ksh [balance] for [month] is overdue. Please settle the outstanding amount immediately to avoid service disruption. Pay via paybill - [paybill] and account number [account_number]',1,'2025-08-29 22:06:40','2025-08-29 22:06:40',NULL),(24,13,4,'Dear [name], this is a reminder that your payment of Ksh [balance] for [month] is due. Kindly make the payment at your earliest convenience to avoid service interruptions. Pay via paybill - [paybill] and account number [account_number]',1,'2025-08-29 22:06:46','2025-08-29 22:06:46',NULL),(25,13,3,'Hello [name], this is to confirm that we have received your payment of Ksh [amount] for [month]. Your current balance as of now is Ksh [balance]',1,'2025-08-29 22:06:51','2025-08-29 22:06:51',NULL),(26,13,2,'Dear [name], your invoice for [month] amounting to Ksh [balance] has been generated. Please pay via paybill - [paybill] and account number [account_number]',1,'2025-08-29 22:07:00','2025-08-29 22:07:00',NULL),(27,13,1,'Dear [name], your internet plan is expiring in [expiry_days] day(s). Kindly make the payment at your earliest convenience to avoid service interruptions. Pay via paybill - [paybill] and account number [account_number]',1,'2025-08-29 22:07:07','2025-08-29 22:07:07',NULL),(28,16,9,'Dear [name], your request to change your plan to [internet_plan] has been processed successfully. Your new plan is now active. Contact us if you need assistance.',0,'2025-09-06 06:57:59','2025-09-06 06:58:07',NULL),(29,20,8,'Hello [name], we are excited to have you on board! Your subscription to [internet_plan] is now active. If you have any questions, feel free to contact us.',1,'2025-09-26 14:33:20','2025-09-26 14:33:20',NULL);

--
-- Table structure for table `company_sms_usages`
--

CREATE TABLE `company_sms_usages` (
  `id` bigint unsigned NOT NULL AUTO_INCREMENT,
  `company_id` bigint unsigned NOT NULL,
  `sms_units` int NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `company_sms_usages_company_id_foreign` (`company_id`),
  CONSTRAINT `company_sms_usages_company_id_foreign` FOREIGN KEY (`company_id`) REFERENCES `companies` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `company_sms_usages`
--


--
-- Table structure for table `company_static_pages`
--

CREATE TABLE `company_static_pages` (
  `id` bigint unsigned NOT NULL AUTO_INCREMENT,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `company_static_pages`
--


--
-- Table structure for table `company_users`
--

CREATE TABLE `company_users` (
  `id` bigint unsigned NOT NULL AUTO_INCREMENT,
  `company_id` bigint unsigned NOT NULL,
  `user_id` bigint unsigned NOT NULL,
  `status` int NOT NULL DEFAULT '1' COMMENT '0=inactive, 1=active',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `company_users_company_id_foreign` (`company_id`),
  KEY `company_users_user_id_foreign` (`user_id`),
  CONSTRAINT `company_users_company_id_foreign` FOREIGN KEY (`company_id`) REFERENCES `companies` (`id`) ON DELETE CASCADE,
  CONSTRAINT `company_users_user_id_foreign` FOREIGN KEY (`user_id`) REFERENCES `users` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB AUTO_INCREMENT=24 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `company_users`
--

INSERT INTO `company_users` VALUES (8,8,15,1,'2025-08-05 16:56:56','2025-08-05 16:56:56',NULL),(11,11,20,1,'2025-08-26 13:06:13','2025-08-26 13:06:13',NULL),(14,13,22,1,'2025-08-29 19:10:58','2025-08-29 19:10:58',NULL),(15,14,23,1,'2025-08-30 06:58:45','2025-08-30 06:58:45',NULL),(16,8,24,1,'2025-08-31 22:17:44','2025-08-31 22:17:44',NULL),(17,15,15,1,'2025-09-03 20:05:20','2025-09-03 20:05:20',NULL),(18,16,25,1,'2025-09-06 06:09:37','2025-09-06 06:09:37',NULL),(19,16,26,1,'2025-09-06 13:01:40','2025-09-06 13:01:40',NULL),(20,17,27,0,'2025-09-09 09:33:08','2025-09-11 06:52:45',NULL),(21,18,28,1,'2025-09-18 14:24:23','2025-09-18 14:24:23',NULL),(22,19,29,1,'2025-09-25 11:55:26','2025-09-25 11:55:26',NULL),(23,20,30,1,'2025-09-26 08:35:02','2025-09-26 08:35:02',NULL);

--
-- Table structure for table `company_whatsapp_scans`
--

CREATE TABLE `company_whatsapp_scans` (
  `id` bigint unsigned NOT NULL AUTO_INCREMENT,
  `company_id` int DEFAULT NULL,
  `phone` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=5 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `company_whatsapp_scans`
--

INSERT INTO `company_whatsapp_scans` VALUES (1,0,'+254716100572','2025-09-10 08:04:10','2025-09-10 08:04:10',NULL),(2,0,'254716100572','2025-09-10 08:04:22','2025-09-10 08:04:22',NULL),(3,13,'+255754578434','2025-09-10 13:00:13','2025-09-10 13:00:13',NULL),(4,0,'+254796230626','2025-09-23 08:59:43','2025-09-23 08:59:43',NULL);

--
-- Table structure for table `customers`
--

CREATE TABLE `customers` (
  `id` bigint unsigned NOT NULL AUTO_INCREMENT,
  `phone` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `first_name` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `last_name` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `email` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `status` int NOT NULL DEFAULT '0' COMMENT '0=pending, 1=sent',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=3 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `customers`
--

INSERT INTO `customers` VALUES (1,'+2547222222222',NULL,NULL,NULL,0,'2025-08-11 23:41:45','2025-08-11 23:41:59','2025-08-11 23:41:59'),(2,NULL,NULL,NULL,NULL,0,'2025-08-11 23:43:58','2025-08-26 13:45:45',NULL);

--
-- Table structure for table `director_share_incomes`
--

CREATE TABLE `director_share_incomes` (
  `id` bigint unsigned NOT NULL AUTO_INCREMENT,
  `director_share_id` bigint unsigned NOT NULL,
  `grouped_transaction_id` bigint unsigned NOT NULL,
  `percentage_amount` decimal(8,2) NOT NULL DEFAULT '0.00',
  `amount` decimal(8,2) NOT NULL DEFAULT '0.00',
  `settled_status` int NOT NULL DEFAULT '0' COMMENT '0=pending, 1=sent',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `director_share_incomes_director_share_id_foreign` (`director_share_id`),
  KEY `director_share_incomes_grouped_transaction_id_foreign` (`grouped_transaction_id`),
  CONSTRAINT `director_share_incomes_director_share_id_foreign` FOREIGN KEY (`director_share_id`) REFERENCES `director_shares` (`id`) ON DELETE CASCADE,
  CONSTRAINT `director_share_incomes_grouped_transaction_id_foreign` FOREIGN KEY (`grouped_transaction_id`) REFERENCES `grouped_transactions` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB AUTO_INCREMENT=4 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `director_share_incomes`
--

INSERT INTO `director_share_incomes` VALUES (1,1,1,50.00,10500.00,0,'2025-08-28 06:42:22','2025-08-28 06:42:22',NULL),(2,1,2,50.00,10500.00,0,'2025-09-10 17:38:47','2025-09-10 17:38:47',NULL),(3,1,3,50.00,10500.00,0,'2025-09-18 14:40:49','2025-09-18 14:40:49',NULL);

--
-- Table structure for table `director_share_payment_accounts`
--

CREATE TABLE `director_share_payment_accounts` (
  `id` bigint unsigned NOT NULL AUTO_INCREMENT,
  `ref_no` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
  `director_share_id` bigint unsigned NOT NULL,
  `payment_method_id` bigint unsigned NOT NULL,
  `bank_id` bigint unsigned DEFAULT NULL,
  `phone_account_number` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `status` int NOT NULL DEFAULT '1' COMMENT '0=inactive, 1=active',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `director_share_payment_accounts_director_share_id_foreign` (`director_share_id`),
  KEY `director_share_payment_accounts_payment_method_id_foreign` (`payment_method_id`),
  KEY `director_share_payment_accounts_bank_id_foreign` (`bank_id`),
  CONSTRAINT `director_share_payment_accounts_bank_id_foreign` FOREIGN KEY (`bank_id`) REFERENCES `banks` (`id`) ON DELETE CASCADE,
  CONSTRAINT `director_share_payment_accounts_director_share_id_foreign` FOREIGN KEY (`director_share_id`) REFERENCES `director_shares` (`id`) ON DELETE CASCADE,
  CONSTRAINT `director_share_payment_accounts_payment_method_id_foreign` FOREIGN KEY (`payment_method_id`) REFERENCES `payment_methods` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `director_share_payment_accounts`
--


--
-- Table structure for table `director_shares`
--

CREATE TABLE `director_shares` (
  `id` bigint unsigned NOT NULL AUTO_INCREMENT,
  `ref_no` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
  `names` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
  `phone` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `email` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `percentage_amount` decimal(8,2) NOT NULL DEFAULT '0.00',
  `status` int NOT NULL DEFAULT '1',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=4 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `director_shares`
--

INSERT INTO `director_shares` VALUES (1,'DS001','Jared Maera','+254716100572','maerajared12@gmail.com',50.00,1,'2025-08-03 19:10:08','2025-08-03 19:10:08',NULL),(2,'DS002','Dennis Bogonko','+254720579706','bogonkomokaya92@gmail.com',30.00,1,'2025-08-03 19:10:08','2025-08-03 19:10:08',NULL),(3,'DS003','Jaem Net','0716327828','info@jaemnet.com',20.00,1,'2025-08-03 19:10:08','2025-08-03 19:10:08',NULL);

--
-- Table structure for table `escrow_transactions`
--

CREATE TABLE `escrow_transactions` (
  `id` bigint unsigned NOT NULL AUTO_INCREMENT,
  `ref_no` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
  `company_id` int DEFAULT NULL,
  `company_router_id` int DEFAULT NULL,
  `payment_mode_id` bigint unsigned NOT NULL,
  `phone_used` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `transaction_code` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `amount` decimal(8,2) NOT NULL DEFAULT '0.00',
  `checkout_id` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `account_number` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `escrow_transactions_payment_mode_id_foreign` (`payment_mode_id`),
  CONSTRAINT `escrow_transactions_payment_mode_id_foreign` FOREIGN KEY (`payment_mode_id`) REFERENCES `payment_modes` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `escrow_transactions`
--


--
-- Table structure for table `expenses`
--

CREATE TABLE `expenses` (
  `id` bigint unsigned NOT NULL AUTO_INCREMENT,
  `ref_no` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
  `description` longtext COLLATE utf8mb4_unicode_ci NOT NULL,
  `amount` decimal(8,2) NOT NULL DEFAULT '0.00',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `expenses`
--


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

CREATE TABLE `failed_jobs` (
  `id` bigint unsigned NOT NULL AUTO_INCREMENT,
  `uuid` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
  `connection` text COLLATE utf8mb4_unicode_ci NOT NULL,
  `queue` text COLLATE utf8mb4_unicode_ci NOT NULL,
  `payload` longtext COLLATE utf8mb4_unicode_ci NOT NULL,
  `exception` longtext COLLATE utf8mb4_unicode_ci NOT NULL,
  `failed_at` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
  PRIMARY KEY (`id`),
  UNIQUE KEY `failed_jobs_uuid_unique` (`uuid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

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


--
-- Table structure for table `failed_transactions`
--

CREATE TABLE `failed_transactions` (
  `id` bigint unsigned NOT NULL AUTO_INCREMENT,
  `payment_mode_id` bigint unsigned NOT NULL,
  `checkout_id` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
  `description` longtext COLLATE utf8mb4_unicode_ci NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `failed_transactions_payment_mode_id_foreign` (`payment_mode_id`),
  CONSTRAINT `failed_transactions_payment_mode_id_foreign` FOREIGN KEY (`payment_mode_id`) REFERENCES `payment_modes` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `failed_transactions`
--


--
-- Table structure for table `grouped_transactions`
--

CREATE TABLE `grouped_transactions` (
  `id` bigint unsigned NOT NULL AUTO_INCREMENT,
  `ref_no` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
  `transaction_type` int NOT NULL DEFAULT '1' COMMENT '1=invoice, 2=sms',
  `unit_sms_price` decimal(8,2) NOT NULL DEFAULT '0.00',
  `provider_sms_price` decimal(8,2) NOT NULL DEFAULT '0.00',
  `company_id` bigint unsigned NOT NULL,
  `company_router_id` int DEFAULT NULL,
  `user_id` int DEFAULT NULL,
  `payment_mode_id` bigint unsigned NOT NULL,
  `phone_used` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `transaction_code` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `amount` decimal(8,2) NOT NULL DEFAULT '0.00',
  `checkout_id` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `account_number` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `grouped_transactions_company_id_foreign` (`company_id`),
  KEY `grouped_transactions_payment_mode_id_foreign` (`payment_mode_id`),
  CONSTRAINT `grouped_transactions_company_id_foreign` FOREIGN KEY (`company_id`) REFERENCES `companies` (`id`) ON DELETE CASCADE,
  CONSTRAINT `grouped_transactions_payment_mode_id_foreign` FOREIGN KEY (`payment_mode_id`) REFERENCES `payment_modes` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB AUTO_INCREMENT=4 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `grouped_transactions`
--

INSERT INTO `grouped_transactions` VALUES (1,'8I42E6',1,0.00,0.00,11,6,1,2,NULL,'THR178AWB',21000.00,NULL,NULL,'2025-08-28 06:42:22','2025-08-28 06:42:22',NULL),(2,'8RSZVT',1,0.00,0.00,17,10,1,2,NULL,'TI62NA5R2A',21000.00,NULL,NULL,'2025-09-10 17:38:47','2025-09-10 17:38:47',NULL),(3,'8BHOI7',1,0.00,0.00,18,11,1,2,NULL,'',21000.00,NULL,NULL,'2025-09-18 14:40:49','2025-09-18 14:40:49',NULL);

--
-- Table structure for table `ip_prefix_lengths`
--

CREATE TABLE `ip_prefix_lengths` (
  `id` bigint unsigned NOT NULL AUTO_INCREMENT,
  `name` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
  `prefix` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=9 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `ip_prefix_lengths`
--

INSERT INTO `ip_prefix_lengths` VALUES (1,'8 (16,777,214 IPs)','8','2025-08-03 19:10:09','2025-08-03 19:10:09',NULL),(2,'12 (1,048,574 IPs)','12','2025-08-03 19:10:09','2025-08-03 19:10:09',NULL),(3,'16 (65,534 IPs)','16','2025-08-03 19:10:09','2025-08-03 19:10:09',NULL),(4,'20 (4,094 IPs)','20','2025-08-03 19:10:09','2025-08-03 19:10:09',NULL),(5,'24 (254 IPs)','24','2025-08-03 19:10:09','2025-08-03 19:10:09',NULL),(6,'28 (14 IPs)','28','2025-08-03 19:10:09','2025-08-03 19:10:09',NULL),(7,'30 (2 IPs)','30','2025-08-03 19:10:09','2025-08-03 19:10:09',NULL),(8,'32 (1 IP)','32','2025-08-03 19:10:09','2025-08-03 19:10:09',NULL);

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

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

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


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

CREATE TABLE `jobs` (
  `id` bigint unsigned NOT NULL AUTO_INCREMENT,
  `queue` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
  `payload` longtext COLLATE utf8mb4_unicode_ci NOT NULL,
  `attempts` tinyint unsigned NOT NULL,
  `reserved_at` int unsigned DEFAULT NULL,
  `available_at` int unsigned NOT NULL,
  `created_at` int unsigned NOT NULL,
  PRIMARY KEY (`id`),
  KEY `jobs_queue_index` (`queue`)
) ENGINE=InnoDB AUTO_INCREMENT=21 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `jobs`
--


--
-- Table structure for table `message_modes`
--

CREATE TABLE `message_modes` (
  `id` bigint unsigned NOT NULL AUTO_INCREMENT,
  `name` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
  `status` int NOT NULL DEFAULT '1' COMMENT '0=inactive, 1=active',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=4 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `message_modes`
--

INSERT INTO `message_modes` VALUES (1,'SMS',1,'2025-08-03 19:10:04','2025-08-03 19:10:04',NULL),(2,'Email',1,'2025-08-03 19:10:04','2025-08-03 19:10:04',NULL),(3,'WhatsApp',1,'2025-08-03 19:10:04','2025-08-03 19:10:04',NULL);

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

CREATE TABLE `migrations` (
  `id` int unsigned NOT NULL AUTO_INCREMENT,
  `migration` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
  `batch` int NOT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=79 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

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

INSERT INTO `migrations` 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,'2024_12_31_100452_create_permission_tables',1),(5,'2024_12_31_100952_create_companies_table',1),(6,'2024_12_31_100953_create_payment_types_table',1),(7,'2024_12_31_100954_create_transaction_frequencies_table',1),(8,'2024_12_31_101150_create_company_users_table',1),(9,'2024_12_31_101616_create_service_plans_table',1),(10,'2024_12_31_101618_create_plan_validity_types_table',1),(11,'2024_12_31_101619_create_company_routers_table',1),(12,'2024_12_31_101857_create_company_ip_pools_table',1),(13,'2024_12_31_101858_create_company_service_plans_table',1),(14,'2024_12_31_174557_create_user_verification_codes_table',1),(15,'2024_12_31_181637_create_notifications_table',1),(16,'2024_12_31_213650_create_message_modes_table',1),(17,'2024_12_31_221743_create_sms_providers_table',1),(18,'2024_12_31_221919_create_sms_requirements_table',1),(19,'2024_12_31_221940_create_sms_provider_requirements_table',1),(20,'2024_12_31_221957_create_company_sms_providers_table',1),(21,'2024_12_31_222005_create_company_sms_provider_entities_table',1),(22,'2025_01_01_122817_create_company_email_configurations_table',1),(23,'2025_01_01_173315_create_company_customers_table',1),(24,'2025_01_02_125417_create_company_prepaid_vouchers_table',1),(25,'2025_01_03_162401_create_company_prepaid_users_table',1),(26,'2025_01_03_162402_create_payment_modes_table',1),(27,'2025_01_03_163433_create_company_grouped_transactions_table',1),(28,'2025_01_08_121255_create_company_bulk_messages_table',1),(29,'2025_01_08_213530_create_banks_table',1),(30,'2025_01_08_213531_create_payment_methods_table',1),(32,'2025_01_21_025009_create_company_static_pages_table',1),(33,'2025_01_22_020910_create_personal_access_tokens_table',1),(34,'2025_01_22_021305_create_failed_transactions_table',1),(35,'2025_01_22_022710_create_company_customer_service_plans_table',1),(36,'2025_01_22_151114_create_company_customer_invoices_table',1),(37,'2025_01_22_151543_create_company_customer_invoice_payments_table',1),(38,'2025_01_22_230339_create_grouped_transactions_table',1),(39,'2025_01_22_233047_create_company_router_invoices_table',1),(40,'2025_01_22_233054_create_company_router_invoice_payments_table',1),(41,'2025_01_24_174649_create_company_customer_service_plan_previous_debt_payments_table',1),(42,'2025_01_27_232712_create_company_referrals_table',1),(43,'2025_01_28_001754_create_company_referral_payments_table',1),(44,'2025_02_04_180817_create_company_escrow_transactions_table',1),(45,'2025_02_12_105715_create_paid_users_table',1),(46,'2025_02_16_144236_create_company_sms_table',1),(47,'2025_02_16_144254_create_company_sms_usages_table',1),(48,'2025_02_16_144918_create_expenses_table',1),(49,'2025_02_23_220746_create_customers_table',1),(50,'2025_02_24_231040_create_out_messages_table',1),(51,'2025_03_04_160220_create_company_router_interfaces_table',1),(52,'2025_03_08_213801_create_escrow_transactions_table',1),(53,'2025_03_08_213802_create_director_shares_table',1),(54,'2025_03_11_190100_create_outgoing_transactions_table',1),(55,'2025_03_13_115203_create_sms_template_types_table',1),(56,'2025_03_13_115729_create_company_sms_templates_table',1),(57,'2025_03_18_003524_create_company_customer_invoice_notify_rates_table',1),(58,'2025_03_20_010357_create_company_inventories_table',1),(59,'2025_03_20_124540_create_company_whatsapp_scans_table',1),(60,'2025_03_30_212850_create_potential_customers_table',1),(61,'2025_04_02_002642_create_paybill_transactions_table',1),(62,'2025_04_04_041618_create_director_share_incomes_table',1),(63,'2025_05_04_131513_create_b2b_outgoing_transaction_charges_table',1),(64,'2025_05_04_210449_create_outgoing_transaction_entities_table',1),(65,'2025_05_05_120828_create_temporary_grouped_transactions_table',1),(66,'2025_05_06_214708_create_b2c_outgoing_transaction_charges_table',1),(67,'2025_05_22_121943_create_tickets_table',1),(68,'2025_05_23_090344_create_ip_prefix_lengths_table',1),(69,'2025_05_25_122209_add_group_to_permissions_table',1),(70,'2025_06_02_232726_create_director_share_payment_accounts_table',1),(71,'2025_06_08_143800_create_company_router_customers_table',1),(72,'2025_07_04_013141_create_company_customer_service_plan_installation_items_table',1),(73,'2025_07_04_013148_create_company_customer_service_plan_installation_item_payments_table',1),(74,'2025_07_09_032524_create_client_to_be_disconnecteds_table',1),(77,'2025_08_01_223540_create_temporary_transaction_checks_table',2),(78,'2025_01_08_213816_create_company_payment_accounts_table',3);

--
-- Table structure for table `model_has_permissions`
--

CREATE TABLE `model_has_permissions` (
  `permission_id` bigint unsigned NOT NULL,
  `model_type` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
  `model_id` bigint unsigned NOT NULL,
  PRIMARY KEY (`permission_id`,`model_id`,`model_type`),
  KEY `model_has_permissions_model_id_model_type_index` (`model_id`,`model_type`),
  CONSTRAINT `model_has_permissions_permission_id_foreign` FOREIGN KEY (`permission_id`) REFERENCES `permissions` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `model_has_permissions`
--

INSERT INTO `model_has_permissions` VALUES (1,'App\\Models\\User',2),(1,'App\\Models\\User',3),(1,'App\\Models\\User',4),(1,'App\\Models\\User',5),(1,'App\\Models\\User',6),(1,'App\\Models\\User',7),(1,'App\\Models\\User',8),(1,'App\\Models\\User',9),(1,'App\\Models\\User',10),(1,'App\\Models\\User',11),(1,'App\\Models\\User',12),(1,'App\\Models\\User',13),(1,'App\\Models\\User',14),(1,'App\\Models\\User',15),(1,'App\\Models\\User',16),(1,'App\\Models\\User',17),(1,'App\\Models\\User',18),(1,'App\\Models\\User',19),(1,'App\\Models\\User',20),(1,'App\\Models\\User',21),(1,'App\\Models\\User',22),(1,'App\\Models\\User',23),(1,'App\\Models\\User',24),(1,'App\\Models\\User',25),(1,'App\\Models\\User',26),(1,'App\\Models\\User',27),(1,'App\\Models\\User',28),(1,'App\\Models\\User',29),(1,'App\\Models\\User',30);

--
-- Table structure for table `model_has_roles`
--

CREATE TABLE `model_has_roles` (
  `role_id` bigint unsigned NOT NULL,
  `model_type` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
  `model_id` bigint unsigned NOT NULL,
  PRIMARY KEY (`role_id`,`model_id`,`model_type`),
  KEY `model_has_roles_model_id_model_type_index` (`model_id`,`model_type`),
  CONSTRAINT `model_has_roles_role_id_foreign` FOREIGN KEY (`role_id`) REFERENCES `roles` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `model_has_roles`
--

INSERT INTO `model_has_roles` VALUES (1,'App\\Models\\User',1),(2,'App\\Models\\User',2),(2,'App\\Models\\User',3),(2,'App\\Models\\User',4),(2,'App\\Models\\User',5),(2,'App\\Models\\User',6),(2,'App\\Models\\User',7),(2,'App\\Models\\User',8),(2,'App\\Models\\User',9),(2,'App\\Models\\User',10),(2,'App\\Models\\User',11),(2,'App\\Models\\User',12),(2,'App\\Models\\User',13),(2,'App\\Models\\User',14),(2,'App\\Models\\User',15),(2,'App\\Models\\User',16),(1,'App\\Models\\User',17),(1,'App\\Models\\User',18),(1,'App\\Models\\User',19),(2,'App\\Models\\User',20),(2,'App\\Models\\User',21),(2,'App\\Models\\User',22),(2,'App\\Models\\User',23),(2,'App\\Models\\User',24),(2,'App\\Models\\User',25),(2,'App\\Models\\User',26),(2,'App\\Models\\User',27),(2,'App\\Models\\User',28),(2,'App\\Models\\User',29),(2,'App\\Models\\User',30);

--
-- Table structure for table `notifications`
--

CREATE TABLE `notifications` (
  `id` bigint unsigned NOT NULL AUTO_INCREMENT,
  `company_id` int DEFAULT NULL,
  `user_id` int DEFAULT NULL,
  `title` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
  `content` longtext COLLATE utf8mb4_unicode_ci NOT NULL,
  `status` int NOT NULL DEFAULT '0' COMMENT '0=pending, 1=read',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=14330 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `notifications`
--

INSERT INTO `notifications` VALUES (14268,8,NULL,'Mikrotik Router Down','⚠️ Hi Erick, your mikrotik router - Ngoni Net 1 is offline. Please check it out.',1,'2025-09-24 22:07:26','2025-09-26 06:39:56'),(14269,8,NULL,'Mikrotik Router Down','⚠️ Hi Erick, your mikrotik router - Machinga Complex is offline. Please check it out.',1,'2025-09-25 00:35:31','2025-09-26 06:39:56'),(14270,8,NULL,'Mikrotik Router Up','✅ Hi Erick, your mikrotik router - Machinga Complex is back online.',1,'2025-09-25 00:38:28','2025-09-26 06:39:56'),(14271,8,NULL,'Mikrotik Router Down','⚠️ Hi Erick, your mikrotik router - Machinga Complex is offline. Please check it out.',1,'2025-09-25 02:32:34','2025-09-26 06:39:56'),(14272,8,NULL,'Mikrotik Router Up','✅ Hi Erick, your mikrotik router - Machinga Complex is back online.',1,'2025-09-25 03:30:30','2025-09-26 06:39:56'),(14273,8,NULL,'Mikrotik Router Down','⚠️ Hi Erick, your mikrotik router - Machinga Complex is offline. Please check it out.',1,'2025-09-25 05:24:35','2025-09-26 06:39:56'),(14274,8,NULL,'Mikrotik Router Up','✅ Hi Erick, your mikrotik router - Machinga Complex is back online.',1,'2025-09-25 05:28:31','2025-09-26 06:39:56'),(14275,8,NULL,'Mikrotik Router Down','⚠️ Hi Erick, your mikrotik router - Machinga Complex is offline. Please check it out.',1,'2025-09-25 06:27:39','2025-09-26 06:39:56'),(14276,8,NULL,'Mikrotik Router Up','✅ Hi Erick, your mikrotik router - Machinga Complex is back online.',1,'2025-09-25 06:30:36','2025-09-26 06:39:56'),(14277,18,NULL,'Mikrotik Router Down','⚠️ Hi Gilbert mushi, your mikrotik router - G NJARO is offline. Please check it out.',0,'2025-09-25 06:59:42','2025-09-25 06:59:42'),(14278,18,NULL,'Mikrotik Router Up','✅ Hi Gilbert mushi, your mikrotik router - G NJARO is back online.',0,'2025-09-25 07:11:40','2025-09-25 07:11:40'),(14279,8,NULL,'Mikrotik Router Down','⚠️ Hi Erick, your mikrotik router - Machinga Complex is offline. Please check it out.',1,'2025-09-25 11:15:00','2025-09-26 06:39:56'),(14280,8,NULL,'Mikrotik Router Up','✅ Hi Erick, your mikrotik router - Machinga Complex is back online.',1,'2025-09-25 11:17:57','2025-09-26 06:39:56'),(14281,19,NULL,'Mikrotik Router Down','⚠️ Hi Emmanuel Mwazembe, your mikrotik router - Router12 is offline. Please check it out.',0,'2025-09-25 11:58:04','2025-09-25 11:58:04'),(14282,8,NULL,'Mikrotik Router Down','⚠️ Hi Erick, your mikrotik router - Machinga Complex is offline. Please check it out.',1,'2025-09-25 12:33:59','2025-09-26 06:39:56'),(14283,8,NULL,'Mikrotik Router Up','✅ Hi Erick, your mikrotik router - Machinga Complex is back online.',1,'2025-09-25 12:42:58','2025-09-26 06:39:56'),(14284,8,NULL,'Mikrotik Router Up','✅ Hi Erick, your mikrotik router - Ngoni Net 1 is back online.',1,'2025-09-25 14:38:21','2025-09-26 06:39:56'),(14285,8,NULL,'Mikrotik Router Down','⚠️ Hi Erick, your mikrotik router - Ngoni Net 1 is offline. Please check it out.',1,'2025-09-25 14:45:25','2025-09-26 06:39:56'),(14286,8,NULL,'Mikrotik Router Up','✅ Hi Erick, your mikrotik router - Ngoni Net 1 is back online.',1,'2025-09-25 18:32:21','2025-09-26 06:39:56'),(14287,8,NULL,'Mikrotik Router Down','⚠️ Hi Erick, your mikrotik router - Machinga Complex is offline. Please check it out.',1,'2025-09-25 19:25:24','2025-09-26 06:39:56'),(14288,8,NULL,'Mikrotik Router Up','✅ Hi Erick, your mikrotik router - Machinga Complex is back online.',1,'2025-09-25 19:29:22','2025-09-26 06:39:56'),(14289,16,NULL,'Mikrotik Router Down','⚠️ Hi Emmanuel, your mikrotik router - Street Mesh is offline. Please check it out.',0,'2025-09-25 19:46:28','2025-09-25 19:46:28'),(14290,16,NULL,'Mikrotik Router Up','✅ Hi Emmanuel, your mikrotik router - Street Mesh is back online.',0,'2025-09-25 19:49:26','2025-09-25 19:49:26'),(14291,13,NULL,'Mikrotik Router Down','⚠️ Hi Kazungu, your mikrotik router - La Zungu is offline. Please check it out.',0,'2025-09-25 19:57:26','2025-09-25 19:57:26'),(14292,13,NULL,'Mikrotik Router Up','✅ Hi Kazungu, your mikrotik router - La Zungu is back online.',0,'2025-09-25 20:00:24','2025-09-25 20:00:24'),(14293,8,NULL,'Mikrotik Router Down','⚠️ Hi Erick, your mikrotik router - Machinga Complex is offline. Please check it out.',1,'2025-09-26 01:03:23','2025-09-26 06:39:56'),(14294,8,NULL,'Mikrotik Router Up','✅ Hi Erick, your mikrotik router - Machinga Complex is back online.',1,'2025-09-26 04:49:21','2025-09-26 06:39:56'),(14295,16,NULL,'Mikrotik Router Down','⚠️ Hi Emmanuel, your mikrotik router - Street Mesh is offline. Please check it out.',0,'2025-09-26 06:13:28','2025-09-26 06:13:28'),(14296,16,NULL,'Mikrotik Router Up','✅ Hi Emmanuel, your mikrotik router - Street Mesh is back online.',0,'2025-09-26 06:18:26','2025-09-26 06:18:26'),(14297,8,NULL,'Mikrotik Router Down','⚠️ Hi Erick, your mikrotik router - Ngoni Net 1 is offline. Please check it out.',1,'2025-09-26 06:26:25','2025-09-26 06:39:56'),(14298,8,NULL,'Mikrotik Router Up','✅ Hi Erick, your mikrotik router - Ngoni Net 1 is back online.',1,'2025-09-26 06:29:21','2025-09-26 06:39:56'),(14299,8,NULL,'Mikrotik Router Down','⚠️ Hi Erick, your mikrotik router - Machinga Complex is offline. Please check it out.',1,'2025-09-26 06:48:24','2025-09-26 08:54:12'),(14300,8,NULL,'Mikrotik Router Up','✅ Hi Erick, your mikrotik router - Machinga Complex is back online.',1,'2025-09-26 06:51:21','2025-09-26 08:54:12'),(14301,20,NULL,'Mikrotik Router Down','⚠️ Hi Idd Mussa Salum, your mikrotik router - Router13 is offline. Please check it out.',0,'2025-09-26 08:37:30','2025-09-26 08:37:30'),(14302,8,NULL,'Mikrotik Router Down','⚠️ Hi Erick, your mikrotik router - Machinga Complex is offline. Please check it out.',1,'2025-09-26 09:45:23','2025-09-26 18:53:13'),(14303,8,NULL,'Mikrotik Router Up','✅ Hi Erick, your mikrotik router - Machinga Complex is back online.',0,'2025-09-26 09:48:21','2025-09-26 09:48:21'),(14304,8,NULL,'Mikrotik Router Down','⚠️ Hi Erick, your mikrotik router - Machinga Complex is offline. Please check it out.',0,'2025-09-26 10:43:23','2025-09-26 10:43:23'),(14305,8,NULL,'Mikrotik Router Up','✅ Hi Erick, your mikrotik router - Machinga Complex is back online.',0,'2025-09-26 10:51:22','2025-09-26 10:51:22'),(14306,8,NULL,'Mikrotik Router Down','⚠️ Hi Erick, your mikrotik router - Ngoni Net 1 is offline. Please check it out.',0,'2025-09-26 11:02:26','2025-09-26 11:02:26'),(14307,8,NULL,'Mikrotik Router Up','✅ Hi Erick, your mikrotik router - Ngoni Net 1 is back online.',0,'2025-09-26 11:05:22','2025-09-26 11:05:22'),(14308,8,NULL,'Mikrotik Router Down','⚠️ Hi Erick, your mikrotik router - Machinga Complex is offline. Please check it out.',0,'2025-09-26 11:14:29','2025-09-26 11:14:29'),(14309,18,NULL,'Mikrotik Router Down','⚠️ Hi Gilbert mushi, your mikrotik router - G NJARO is offline. Please check it out.',0,'2025-09-26 12:29:30','2025-09-26 12:29:30'),(14310,18,NULL,'Mikrotik Router Up','✅ Hi Gilbert mushi, your mikrotik router - G NJARO is back online.',0,'2025-09-26 12:43:28','2025-09-26 12:43:28'),(14311,8,NULL,'Mikrotik Router Up','✅ Hi Erick, your mikrotik router - Machinga Complex is back online.',0,'2025-09-26 13:35:22','2025-09-26 13:35:22'),(14312,18,NULL,'Mikrotik Router Down','⚠️ Hi Gilbert mushi, your mikrotik router - G NJARO is offline. Please check it out.',0,'2025-09-26 15:38:28','2025-09-26 15:38:28'),(14313,18,NULL,'Mikrotik Router Up','✅ Hi Gilbert mushi, your mikrotik router - G NJARO is back online.',0,'2025-09-26 15:55:27','2025-09-26 15:55:27'),(14314,20,NULL,'Mikrotik Router Down','⚠️ Hi Idd Mussa Salum, your mikrotik router - Mkiwa is offline. Please check it out.',0,'2025-09-26 16:00:31','2025-09-26 16:00:31'),(14315,20,NULL,'Mikrotik Router Up','✅ Hi Idd Mussa Salum, your mikrotik router - Mkiwa is back online.',0,'2025-09-26 16:03:29','2025-09-26 16:03:29'),(14316,8,NULL,'Mikrotik Router Down','⚠️ Hi Erick, your mikrotik router - Machinga Complex is offline. Please check it out.',0,'2025-09-26 16:15:23','2025-09-26 16:15:23'),(14317,8,NULL,'Mikrotik Router Up','✅ Hi Erick, your mikrotik router - Machinga Complex is back online.',0,'2025-09-26 16:19:21','2025-09-26 16:19:21'),(14318,8,NULL,'Mikrotik Router Down','⚠️ Hi Erick, your mikrotik router - Machinga Complex is offline. Please check it out.',0,'2025-09-26 17:13:23','2025-09-26 17:13:23'),(14319,8,NULL,'Mikrotik Router Up','✅ Hi Erick, your mikrotik router - Machinga Complex is back online.',0,'2025-09-26 17:16:22','2025-09-26 17:16:22'),(14320,20,NULL,'Mikrotik Router Down','⚠️ Hi Idd Mussa Salum, your mikrotik router - Mkiwa is offline. Please check it out.',0,'2025-09-26 18:42:30','2025-09-26 18:42:30'),(14321,20,NULL,'Mikrotik Router Up','✅ Hi Idd Mussa Salum, your mikrotik router - Mkiwa is back online.',0,'2025-09-26 18:45:28','2025-09-26 18:45:28'),(14322,8,NULL,'Mikrotik Router Down','⚠️ Hi Erick, your mikrotik router - Machinga Complex is offline. Please check it out.',0,'2025-09-26 19:12:24','2025-09-26 19:12:24'),(14323,8,NULL,'Mikrotik Router Up','✅ Hi Erick, your mikrotik router - Machinga Complex is back online.',0,'2025-09-26 19:15:22','2025-09-26 19:15:22'),(14324,13,NULL,'Mikrotik Router Down','⚠️ Hi Kazungu, your mikrotik router - La Zungu is offline. Please check it out.',0,'2025-09-26 19:17:27','2025-09-26 19:17:27'),(14325,13,NULL,'Mikrotik Router Up','✅ Hi Kazungu, your mikrotik router - La Zungu is back online.',0,'2025-09-26 19:20:24','2025-09-26 19:20:24'),(14326,8,NULL,'Mikrotik Router Down','⚠️ Hi Erick, your mikrotik router - Machinga Complex is offline. Please check it out.',0,'2025-09-26 20:10:24','2025-09-26 20:10:24'),(14327,8,NULL,'Mikrotik Router Up','✅ Hi Erick, your mikrotik router - Machinga Complex is back online.',0,'2025-09-26 21:10:22','2025-09-26 21:10:22'),(14328,20,NULL,'Mikrotik Router Down','⚠️ Hi Idd Mussa Salum, your mikrotik router - Mkiwa is offline. Please check it out.',0,'2025-09-26 21:59:30','2025-09-26 21:59:30'),(14329,20,NULL,'Mikrotik Router Up','✅ Hi Idd Mussa Salum, your mikrotik router - Mkiwa is back online.',0,'2025-09-26 22:03:29','2025-09-26 22:03:29');

--
-- Table structure for table `out_messages`
--

CREATE TABLE `out_messages` (
  `id` bigint unsigned NOT NULL AUTO_INCREMENT,
  `message_mode_id` bigint unsigned NOT NULL,
  `phone` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `email` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `title` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `content` longtext COLLATE utf8mb4_unicode_ci NOT NULL,
  `filename` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `out_messages_message_mode_id_foreign` (`message_mode_id`),
  CONSTRAINT `out_messages_message_mode_id_foreign` FOREIGN KEY (`message_mode_id`) REFERENCES `message_modes` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB AUTO_INCREMENT=18 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `out_messages`
--


--
-- Table structure for table `outgoing_transaction_entities`
--

CREATE TABLE `outgoing_transaction_entities` (
  `id` bigint unsigned NOT NULL AUTO_INCREMENT,
  `outgoing_transaction_id` int NOT NULL,
  `company_grouped_transaction_id` int NOT NULL,
  `amount` decimal(8,2) NOT NULL DEFAULT '0.00',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=13 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `outgoing_transaction_entities`
--

INSERT INTO `outgoing_transaction_entities` VALUES (1,1,3,210.00,'2025-08-05 19:03:36','2025-08-05 19:03:36',NULL),(2,2,4,210.00,'2025-08-06 20:02:48','2025-08-06 20:02:48',NULL),(3,3,5,1000.00,'2025-08-07 18:53:54','2025-08-07 18:53:54',NULL),(4,4,6,500.00,'2025-08-08 15:56:03','2025-08-08 15:56:03',NULL),(5,5,7,1000.00,'2025-08-09 11:05:18','2025-08-09 11:05:18',NULL),(6,6,8,500.00,'2025-08-09 13:37:14','2025-08-09 13:37:14',NULL),(7,7,9,1000.00,'2025-08-09 15:21:56','2025-08-09 15:21:56',NULL),(8,8,10,1000.00,'2025-08-10 19:09:47','2025-08-10 19:09:47',NULL),(9,9,11,1000.00,'2025-08-11 18:56:22','2025-08-11 18:56:22',NULL),(10,10,12,1000.00,'2025-08-11 19:33:37','2025-08-11 19:33:37',NULL),(11,11,13,210.00,'2025-08-14 20:20:46','2025-08-14 20:20:46',NULL),(12,12,14,1000.00,'2025-08-16 06:35:15','2025-08-16 06:35:15',NULL);

--
-- Table structure for table `outgoing_transactions`
--

CREATE TABLE `outgoing_transactions` (
  `id` bigint unsigned NOT NULL AUTO_INCREMENT,
  `ref_no` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
  `company_router_id` int DEFAULT NULL,
  `director_share_id` int DEFAULT NULL,
  `company_customer_invocie_id` int DEFAULT NULL,
  `user_id` int DEFAULT NULL,
  `transaction_code` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
  `amount` decimal(8,2) NOT NULL DEFAULT '0.00',
  `recipient` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
  `description` longtext COLLATE utf8mb4_unicode_ci,
  `checkout_id` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=13 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `outgoing_transactions`
--

INSERT INTO `outgoing_transactions` VALUES (1,'GA8S5U',2,NULL,NULL,NULL,'0964383972',210.00,'123456','Money sent to 123456 on account number 123456 ','514066','2025-08-05 19:03:36','2025-08-05 19:03:36',NULL),(2,'7YL9KT',2,NULL,NULL,NULL,'0964774233',210.00,'123456','Money sent to 123456 on account number 123456 ','151783','2025-08-06 20:02:48','2025-08-06 20:02:48',NULL),(3,'K9BH8E',2,NULL,NULL,NULL,'1307377571',1000.00,'123456','Money sent to 123456 on account number 123456 ','788624','2025-08-07 18:53:54','2025-08-07 18:53:54',NULL),(4,'8EPQ27',2,NULL,NULL,NULL,'1308639764',500.00,'123456','Money sent to 123456 on account number 123456 ','762516','2025-08-08 15:56:03','2025-08-08 15:56:03',NULL),(5,'OZP260',2,NULL,NULL,NULL,'1309788641',1000.00,'123456','Money sent to 123456 on account number 123456 ','465166','2025-08-09 11:05:18','2025-08-09 11:05:18',NULL),(6,'0ME2JD',2,NULL,NULL,NULL,'1309940132',500.00,'123456','Money sent to 123456 on account number 123456 ','320618','2025-08-09 13:37:14','2025-08-09 13:37:14',NULL),(7,'JU3FQ6',2,NULL,NULL,NULL,'1310045490',1000.00,'123456','Money sent to 123456 on account number 123456 ','184295','2025-08-09 15:21:56','2025-08-09 15:21:56',NULL),(8,'R0PHAV',2,NULL,NULL,NULL,'1311713416',1000.00,'123456','Money sent to 123456 on account number 123456 ','792168','2025-08-10 19:09:47','2025-08-10 19:09:47',NULL),(9,'Y4CP6J',2,NULL,NULL,NULL,'1313139026',1000.00,'123456','Money sent to 123456 on account number 123456 ','431003','2025-08-11 18:56:22','2025-08-11 18:56:22',NULL),(10,'58RHPU',2,NULL,NULL,NULL,'1313175196',1000.00,'123456','Money sent to 123456 on account number 123456 ','021868','2025-08-11 19:33:37','2025-08-11 19:33:37',NULL),(11,'E4FVO2',2,NULL,NULL,NULL,'0967592079',210.00,'123456','Money sent to 123456 on account number 123456 ','118106','2025-08-14 20:20:46','2025-08-14 20:20:46',NULL),(12,'1CKLJO',2,NULL,NULL,NULL,'1319598138',1000.00,'123456','Money sent to 123456 on account number 123456 ','580259','2025-08-16 06:35:15','2025-08-16 06:35:15',NULL);

--
-- Table structure for table `paid_users`
--

CREATE TABLE `paid_users` (
  `id` bigint unsigned NOT NULL AUTO_INCREMENT,
  `company_router_id` bigint unsigned DEFAULT NULL,
  `company_grouped_transaction_id` int DEFAULT NULL,
  `mac_address` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
  `username` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
  `password` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
  `phone` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `message` longtext COLLATE utf8mb4_unicode_ci,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `paid_users_company_router_id_foreign` (`company_router_id`),
  CONSTRAINT `paid_users_company_router_id_foreign` FOREIGN KEY (`company_router_id`) REFERENCES `company_routers` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB AUTO_INCREMENT=731 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `paid_users`
--

INSERT INTO `paid_users` VALUES (129,7,140,'DE:FE:99:B9:7F:F5','749353','4130','255785581266','Greetings, thank you for purchasing [plan] plan worthy 200.00. Please use [username] as the username and 4130 as your password to reconnect yourself. Your subscription expires at [expiry_date].','2025-09-01 10:47:58','2025-09-01 10:47:58'),(174,2,185,'FE:02:BF:6C:60:89','702460','7336','255611299495','Greetings, thank you for purchasing [plan] plan worthy 210.00. Please use [username] as the username and 7336 as your password to reconnect yourself. Your subscription expires at [expiry_date].','2025-09-02 23:31:28','2025-09-02 23:31:28'),(726,2,742,'F2:65:ED:BF:19:CD','168868','7383','255785162610','Greetings, thank you for purchasing [plan] plan worthy 500.00. Please use [username] as the username and 7383 as your password to reconnect yourself. Your subscription expires at [expiry_date].','2025-09-26 20:09:24','2025-09-26 20:09:24');

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

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

--
-- Dumping data for table `password_reset_tokens`
--


--
-- Table structure for table `paybill_transactions`
--

CREATE TABLE `paybill_transactions` (
  `id` bigint unsigned NOT NULL AUTO_INCREMENT,
  `ref_no` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
  `payment_mode_id` bigint unsigned NOT NULL,
  `phone_used` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `transaction_code` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `amount` decimal(8,2) NOT NULL DEFAULT '0.00',
  `checkout_id` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `account_number` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `paybill_transactions_payment_mode_id_foreign` (`payment_mode_id`),
  CONSTRAINT `paybill_transactions_payment_mode_id_foreign` FOREIGN KEY (`payment_mode_id`) REFERENCES `payment_modes` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `paybill_transactions`
--


--
-- Table structure for table `payment_methods`
--

CREATE TABLE `payment_methods` (
  `id` bigint unsigned NOT NULL AUTO_INCREMENT,
  `ref_no` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
  `name` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
  `status` int NOT NULL DEFAULT '1' COMMENT '0=inactive, 1=active',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=3 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `payment_methods`
--

INSERT INTO `payment_methods` VALUES (1,'0001','Selcom',1,'2025-08-03 19:10:06','2025-08-03 19:10:06',NULL);

--
-- Table structure for table `payment_modes`
--

CREATE TABLE `payment_modes` (
  `id` bigint unsigned NOT NULL AUTO_INCREMENT,
  `ref_no` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
  `name` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
  `status` int NOT NULL DEFAULT '1' COMMENT '0=inactive, 1=active',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=4 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `payment_modes`
--

INSERT INTO `payment_modes` VALUES (1,'0001','M-PESA',1,'2025-08-03 19:10:05','2025-08-03 19:10:05',NULL),(2,'0002','M-PESA (Manually)',1,'2025-08-03 19:10:05','2025-08-03 19:10:05',NULL),(3,'0003','Cash',1,'2025-08-03 19:10:05','2025-08-03 19:10:05',NULL);

--
-- Table structure for table `payment_types`
--

CREATE TABLE `payment_types` (
  `id` bigint unsigned NOT NULL AUTO_INCREMENT,
  `name` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=3 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `payment_types`
--

INSERT INTO `payment_types` VALUES (1,'Fixed Amount','2025-08-03 19:10:01','2025-08-03 19:10:01',NULL),(2,'Commission Based','2025-08-03 19:10:01','2025-08-03 19:10:01',NULL);

--
-- Table structure for table `permissions`
--

CREATE TABLE `permissions` (
  `id` bigint unsigned NOT NULL AUTO_INCREMENT,
  `name` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
  `group` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `guard_name` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `permissions_name_guard_name_unique` (`name`,`guard_name`)
) ENGINE=InnoDB AUTO_INCREMENT=3 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `permissions`
--

INSERT INTO `permissions` VALUES (1,'Administer Company',NULL,'web','2025-08-03 19:10:01','2025-08-03 19:10:01'),(2,'Staff',NULL,'web','2025-08-03 19:10:01','2025-08-03 19:10:01');

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

CREATE TABLE `personal_access_tokens` (
  `id` bigint unsigned NOT NULL AUTO_INCREMENT,
  `tokenable_type` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
  `tokenable_id` bigint unsigned NOT NULL,
  `name` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
  `token` varchar(64) COLLATE utf8mb4_unicode_ci NOT NULL,
  `abilities` text COLLATE utf8mb4_unicode_ci,
  `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,
  PRIMARY KEY (`id`),
  UNIQUE KEY `personal_access_tokens_token_unique` (`token`),
  KEY `personal_access_tokens_tokenable_type_tokenable_id_index` (`tokenable_type`,`tokenable_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

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


--
-- Table structure for table `plan_validity_types`
--

CREATE TABLE `plan_validity_types` (
  `id` bigint unsigned NOT NULL AUTO_INCREMENT,
  `ref_no` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
  `name` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
  `entity` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=4 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `plan_validity_types`
--

INSERT INTO `plan_validity_types` VALUES (1,'0001','Minutes','m','2025-08-03 19:10:02','2025-08-03 19:10:02',NULL),(2,'0002','Hours','h','2025-08-03 19:10:02','2025-08-03 19:10:02',NULL),(3,'0003','Days','d','2025-08-03 19:10:02','2025-08-03 19:10:02',NULL);

--
-- Table structure for table `potential_customers`
--

CREATE TABLE `potential_customers` (
  `id` bigint unsigned NOT NULL AUTO_INCREMENT,
  `company_id` int DEFAULT NULL,
  `names` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `phone` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
  `description` longtext COLLATE utf8mb4_unicode_ci,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `potential_customers`
--


--
-- Table structure for table `role_has_permissions`
--

CREATE TABLE `role_has_permissions` (
  `permission_id` bigint unsigned NOT NULL,
  `role_id` bigint unsigned NOT NULL,
  PRIMARY KEY (`permission_id`,`role_id`),
  KEY `role_has_permissions_role_id_foreign` (`role_id`),
  CONSTRAINT `role_has_permissions_permission_id_foreign` FOREIGN KEY (`permission_id`) REFERENCES `permissions` (`id`) ON DELETE CASCADE,
  CONSTRAINT `role_has_permissions_role_id_foreign` FOREIGN KEY (`role_id`) REFERENCES `roles` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `role_has_permissions`
--


--
-- Table structure for table `roles`
--

CREATE TABLE `roles` (
  `id` bigint unsigned NOT NULL AUTO_INCREMENT,
  `name` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
  `guard_name` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `roles_name_guard_name_unique` (`name`,`guard_name`)
) ENGINE=InnoDB AUTO_INCREMENT=4 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `roles`
--

INSERT INTO `roles` VALUES (1,'Administrator','web','2025-08-03 19:10:01','2025-08-03 19:10:01'),(2,'Client','web','2025-08-03 19:10:01','2025-08-03 19:10:01'),(3,'Referrer','web','2025-08-03 19:10:01','2025-08-03 19:10:01');

--
-- Table structure for table `service_plans`
--

CREATE TABLE `service_plans` (
  `id` bigint unsigned NOT NULL AUTO_INCREMENT,
  `ref_no` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
  `name` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
  `status` int NOT NULL DEFAULT '1' COMMENT '0=inactive, 1=active',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=4 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `service_plans`
--

INSERT INTO `service_plans` VALUES (1,'0001','Hotspot Plans',1,'2025-08-03 19:10:02','2025-08-03 19:10:02',NULL),(2,'0002','PPPoE Plans',1,'2025-08-03 19:10:02','2025-08-03 19:10:02',NULL),(3,'0003','Static Plans',1,'2025-08-03 19:10:02','2025-08-03 19:10:02',NULL);

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

CREATE TABLE `sessions` (
  `id` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
  `user_id` bigint unsigned DEFAULT NULL,
  `ip_address` varchar(45) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `user_agent` text COLLATE utf8mb4_unicode_ci,
  `payload` longtext COLLATE utf8mb4_unicode_ci NOT NULL,
  `last_activity` int NOT NULL,
  PRIMARY KEY (`id`),
  KEY `sessions_user_id_index` (`user_id`),
  KEY `sessions_last_activity_index` (`last_activity`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

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

INSERT INTO `sessions` VALUES ('0ZozMQrmMHbr2BszXmAStU6xv9xszC2xy5GQMwGE',NULL,'40.77.167.50','Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; bingbot/2.0; +http://www.bing.com/bingbot.htm) Chrome/116.0.1938.76 Safari/537.36','YTozOntzOjY6Il90b2tlbiI7czo0MDoieXV6aHF0d1d4YWNEMEQ0TE14Z3VodGJUNUxOYk85cFlHSFlyMlg3MSI7czo5OiJfcHJldmlvdXMiO2E6MTp7czozOiJ1cmwiO3M6NDE6Imh0dHA6Ly9oZXJpdGFnZWdyb3VwLmNvLmtlL3ByaXZhY3ktcG9saWN5Ijt9czo2OiJfZmxhc2giO2E6Mjp7czozOiJvbGQiO2E6MDp7fXM6MzoibmV3IjthOjA6e319fQ==',1758913405),('11uUsl9yhdKLQFDrDJIB0nahhoFZ5W3j4yTgaPbL',NULL,'66.249.75.162','Mozilla/5.0 (Linux; Android 6.0.1; Nexus 5X Build/MMB29P) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/139.0.7258.127 Mobile Safari/537.36 (compatible; Googlebot/2.1; +http://www.google.com/bot.html)','YTozOntzOjY6Il90b2tlbiI7czo0MDoiWDJuTVBtaFhPOFNFMFdKQ01rQXNZU1FKcmh5ZmRUbnR5dm9hR2JtZCI7czo5OiJfcHJldmlvdXMiO2E6MTp7czozOiJ1cmwiO3M6MzY6Imh0dHA6Ly93d3cuaGVyaXRhZ2Vncm91cC5jby5rZS9sb2dpbiI7fXM6NjoiX2ZsYXNoIjthOjI6e3M6Mzoib2xkIjthOjA6e31zOjM6Im5ldyI7YTowOnt9fX0=',1758908323),('5kJGkbXAy4LjxAqFMRxaPc1DaM4OZLcIllmsgHSk',NULL,'208.66.246.228','Mozilla/5.0 (Linux; Android 10; K) AppleWebKit/537.36 (KHTML, like Gecko) SamsungBrowser/28.0 Chrome/130.0.0.0 Mobile Safari/537.36','YTozOntzOjY6Il90b2tlbiI7czo0MDoiQ3QyTjFlRElZYVVxdDlWUlhCWDdmZVFsUnV2eTBkS0JxaTlwZGNPcCI7czo5OiJfcHJldmlvdXMiO2E6MTp7czozOiJ1cmwiO3M6NDA6Imh0dHBzOi8vd3d3Lmhlcml0YWdlZ3JvdXAuY28ua2UvcmVnaXN0ZXIiO31zOjY6Il9mbGFzaCI7YToyOntzOjM6Im9sZCI7YTowOnt9czozOiJuZXciO2E6MDp7fX19',1758920019),('8A85G0cF3DnHPUQcpvamh87xf9LKRP6wVLhQLnTh',NULL,'197.155.95.4','Mozilla/5.0 (Linux; Android 10; K) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/140.0.7339.52 Mobile Safari/537.36','YTozOntzOjY6Il90b2tlbiI7czo0MDoiQkVOMEt0cndiWEg4aWFPUGM1Z2ZWVzBDdXFFbW82WFlLOTU0eGU1VSI7czo5OiJfcHJldmlvdXMiO2E6MTp7czozOiJ1cmwiO3M6MzE6Imh0dHBzOi8vd3d3Lmhlcml0YWdlZ3JvdXAuY28ua2UiO31zOjY6Il9mbGFzaCI7YToyOntzOjM6Im9sZCI7YTowOnt9czozOiJuZXciO2E6MDp7fX19',1758912158),('aSiW1CjaqzVfoPJgzH9BTS1WwITofDIpHYvd1Flm',NULL,'44.193.254.10','Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/135.0.0.0 Safari/537.36','YTozOntzOjY6Il90b2tlbiI7czo0MDoiRVhEcVIzeERsbUwwdk9ZcUl0UnliejZzVHBLdmVFWkRJdjcyc0x2ayI7czo5OiJfcHJldmlvdXMiO2E6MTp7czozOiJ1cmwiO3M6MzE6Imh0dHBzOi8vd3d3Lmhlcml0YWdlZ3JvdXAuY28ua2UiO31zOjY6Il9mbGFzaCI7YToyOntzOjM6Im9sZCI7YTowOnt9czozOiJuZXciO2E6MDp7fX19',1758908196),('BJatdB9aEgV01L8lbhbaRXa3fsSsiQlmgElHW0Fd',NULL,'66.249.69.132','Mozilla/5.0 (Linux; Android 6.0.1; Nexus 5X Build/MMB29P) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/139.0.7258.127 Mobile Safari/537.36 (compatible; Googlebot/2.1; +http://www.google.com/bot.html)','YTozOntzOjY6Il90b2tlbiI7czo0MDoiUUZRTWJNdGxadGRuWlQ4bUJMZUxkbTBkYW1mZ25FTnpjM21RNXltOCI7czo5OiJfcHJldmlvdXMiO2E6MTp7czozOiJ1cmwiO3M6MzY6Imh0dHBzOi8vaGVyaXRhZ2Vncm91cC5jby5rZS9hYm91dC11cyI7fXM6NjoiX2ZsYXNoIjthOjI6e3M6Mzoib2xkIjthOjA6e31zOjM6Im5ldyI7YTowOnt9fX0=',1758919123),('CFnPpDXYGw5eoS0m7vNWpQ0xZbizMXyIkPMSWFtB',NULL,'88.202.99.142','Mozilla/5.0 (Linux; Android 10; K) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/140.0.0.0 Mobile Safari/537.36','YTozOntzOjY6Il90b2tlbiI7czo0MDoiYWIxMzBFTGtnajBZYTFhV1RpN2dLWmk2TFlUOTU1ZFZZWkltYkVXbiI7czo5OiJfcHJldmlvdXMiO2E6MTp7czozOiJ1cmwiO3M6NDA6Imh0dHBzOi8vd3d3Lmhlcml0YWdlZ3JvdXAuY28ua2UvcmVnaXN0ZXIiO31zOjY6Il9mbGFzaCI7YToyOntzOjM6Im9sZCI7YTowOnt9czozOiJuZXciO2E6MDp7fX19',1758914074),('CsGBeI8886sj5yL0wxWd3oFFAKy3anldf527T2eL',NULL,'41.79.11.150','Mozilla/5.0 (Linux; Android 10; K) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/140.0.0.0 Mobile Safari/537.36','YTozOntzOjY6Il90b2tlbiI7czo0MDoiVmQ2WmsyczBLczJjOWgyVjB1MGVjRjR1a1BOVVpkc2pTeTlXaTNmZCI7czo5OiJfcHJldmlvdXMiO2E6MTp7czozOiJ1cmwiO3M6NDA6Imh0dHBzOi8vd3d3Lmhlcml0YWdlZ3JvdXAuY28ua2UvcmVnaXN0ZXIiO31zOjY6Il9mbGFzaCI7YToyOntzOjM6Im9sZCI7YTowOnt9czozOiJuZXciO2E6MDp7fX19',1758917741),('cx2GuQ9iqerWTGxriWpOn1Pu59gYWnw3vzg6bX5m',30,'41.59.25.134','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/140.0.0.0 Safari/537.36','[encoded data, 11384 characters]',1758921943),('DAeV9vrasV7WtejmGZWPgPj1VQi2IUeSEGSCLKpm',NULL,'15.235.98.135','Mozilla/5.0 (compatible; AhrefsBot/7.0; +http://ahrefs.com/robot/)','YTozOntzOjY6Il90b2tlbiI7czo0MDoiRnJXeElRdmVkWWlwYlc5WXpZQ1NvRlVXUkt4OURFZTZ3Zm9ZSUNYayI7czo5OiJfcHJldmlvdXMiO2E6MTp7czozOiJ1cmwiO3M6MzU6Imh0dHA6Ly9oZXJpdGFnZWdyb3VwLmNvLmtlL3JlZ2lzdGVyIjt9czo2OiJfZmxhc2giO2E6Mjp7czozOiJvbGQiO2E6MDp7fXM6MzoibmV3IjthOjA6e319fQ==',1758914623),('Hk0uXaJnvg6UxoVnAEGS218RuVtKQFRrB4BPjCEp',NULL,'41.90.43.243','Mozilla/5.0 (Linux; Android 10; K) AppleWebKit/537.36 (KHTML, like Gecko) SamsungBrowser/27.0 Chrome/125.0.0.0 Mobile Safari/537.36','YTozOntzOjY6Il90b2tlbiI7czo0MDoiQmk3S0dMUGg4eW00NGlja1JNZ2h2SXhldUhNeER2aFlUYllmUlVtZyI7czo5OiJfcHJldmlvdXMiO2E6MTp7czozOiJ1cmwiO3M6NDI6Imh0dHBzOi8vd3d3Lmhlcml0YWdlZ3JvdXAuY28ua2UvY29udGFjdC11cyI7fXM6NjoiX2ZsYXNoIjthOjI6e3M6Mzoib2xkIjthOjA6e31zOjM6Im5ldyI7YTowOnt9fX0=',1758916496),('iP9YA9ia6k64JewdJxRTsbGmWqolHYhPEWCPsH09',NULL,'66.171.92.68','Mozilla/5.0 (Linux; Android 11; Pixel 5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/140.0.7339.16 Mobile Safari/537.36','YTozOntzOjY6Il90b2tlbiI7czo0MDoiMHlmOEl6ZFZJT05yZk4zelNvMWtER2JiVnBKUkNRaldjaFdPbk5rMSI7czo5OiJfcHJldmlvdXMiO2E6MTp7czozOiJ1cmwiO3M6Mzc6Imh0dHBzOi8vd3d3Lmhlcml0YWdlZ3JvdXAuY28ua2UvbG9naW4iO31zOjY6Il9mbGFzaCI7YToyOntzOjM6Im9sZCI7YTowOnt9czozOiJuZXciO2E6MDp7fX19',1758920091),('iRpY6wSkfgUa2jCN21yr25R690tx3TclYhK7QtjH',NULL,'66.249.69.140','Mozilla/5.0 (Linux; Android 6.0.1; Nexus 5X Build/MMB29P) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/139.0.7258.127 Mobile Safari/537.36 (compatible; Googlebot/2.1; +http://www.google.com/bot.html)','YTozOntzOjY6Il90b2tlbiI7czo0MDoiSDhjVnJUdFVxaHpvR1NCeWNtMFVVbWRwV2wwTmRXSGVSU1RGb2t1OSI7czo5OiJfcHJldmlvdXMiO2E6MTp7czozOiJ1cmwiO3M6MjY6Imh0dHA6Ly9oZXJpdGFnZWdyb3VwLmNvLmtlIjt9czo2OiJfZmxhc2giO2E6Mjp7czozOiJvbGQiO2E6MDp7fXM6MzoibmV3IjthOjA6e319fQ==',1758912249),('j4N2BDoJCp9lIl1gnwFkt6vP5l2UpVWm0f1zIQHi',NULL,'154.159.252.164','Mozilla/5.0 (Linux; Android 10; K) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/140.0.0.0 Mobile Safari/537.36','YTozOntzOjY6Il90b2tlbiI7czo0MDoid0I5MlpqR3Z6dUxBMFYySmlhR2NROUxodEQ0a0E2bWllSjNBc1hhaCI7czo2OiJfZmxhc2giO2E6Mjp7czozOiJvbGQiO2E6MDp7fXM6MzoibmV3IjthOjA6e319czo5OiJfcHJldmlvdXMiO2E6MTp7czozOiJ1cmwiO3M6MzE6Imh0dHBzOi8vd3d3Lmhlcml0YWdlZ3JvdXAuY28ua2UiO319',1758912246),('JanwjZkMK5lbAFnoVeixnIcyjZ2Hxp4lsRseVQpL',15,'41.59.136.219','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/140.0.0.0 Safari/537.36','[encoded data, 254404 characters]',1758913535),('L3qjCdUIIvZUrtKeD6wlKNhQgqS9GrJlCfDWen9C',NULL,'102.222.61.235','Mozilla/5.0 (Linux; Android 10; K) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/140.0.0.0 Mobile Safari/537.36','YTozOntzOjY6Il90b2tlbiI7czo0MDoidVdnZGNROGxSUVRxZjhuTUpPZks4aHljdUowYVVpaUsxZ2NRS0wwSCI7czo5OiJfcHJldmlvdXMiO2E6MTp7czozOiJ1cmwiO3M6NDA6Imh0dHBzOi8vd3d3Lmhlcml0YWdlZ3JvdXAuY28ua2UvcmVnaXN0ZXIiO31zOjY6Il9mbGFzaCI7YToyOntzOjM6Im9sZCI7YTowOnt9czozOiJuZXciO2E6MDp7fX19',1758920088),('rdK3tsdnWNZMN3CDiXy3DBx2IjtTI72nWwQUlmcN',NULL,'44.193.254.10','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/139.0.0.0 Safari/537.36','YTozOntzOjY6Il90b2tlbiI7czo0MDoiTkNESlY4b3JmSnlUQmVES3NpOXpEWFNKZldicjBHbUhWczdXTlgwSSI7czo5OiJfcHJldmlvdXMiO2E6MTp7czozOiJ1cmwiO3M6MzA6Imh0dHA6Ly93d3cuaGVyaXRhZ2Vncm91cC5jby5rZSI7fXM6NjoiX2ZsYXNoIjthOjI6e3M6Mzoib2xkIjthOjA6e31zOjM6Im5ldyI7YTowOnt9fX0=',1758908196),('rT3PBOk6WcL3pnBkpXr0RChGqtIFFR573Hsttvzo',15,'41.59.136.219','Mozilla/5.0 (Linux; U; Android 13; en-us; Infinix X6528 Build/TP1A.220624.014) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/124.0.6367.123 Mobile Safari/537.36 PHX/19.4','[encoded data, 147220 characters]