-- MySQL dump 10.13  Distrib 8.0.41, for Linux (x86_64)
--
-- Host: localhost    Database: deshiserver_chat_bot
-- ------------------------------------------------------
-- Server version	8.0.41

/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
/*!50503 SET NAMES utf8mb4 */;
/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
/*!40103 SET TIME_ZONE='+00:00' */;
/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */;
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;

--
-- Current Database: `deshiserver_chat_bot`
--


--
-- Table structure for table `ad_config`
--

DROP TABLE IF EXISTS `ad_config`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `ad_config` (
  `id` int NOT NULL AUTO_INCREMENT,
  `section1_html` longtext,
  `section1_html_mobile` longtext,
  `section2_html` longtext,
  `section3_html` longtext,
  `section4_html` longtext,
  `status` enum('0','1') NOT NULL DEFAULT '1',
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `ad_config`
--

LOCK TABLES `ad_config` WRITE;
/*!40000 ALTER TABLE `ad_config` DISABLE KEYS */;
/*!40000 ALTER TABLE `ad_config` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `add_ons`
--

DROP TABLE IF EXISTS `add_ons`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `add_ons` (
  `id` int NOT NULL AUTO_INCREMENT,
  `add_on_name` varchar(255) NOT NULL,
  `unique_name` varchar(255) NOT NULL,
  `version` varchar(255) NOT NULL,
  `installed_at` datetime NOT NULL,
  `update_at` datetime NOT NULL,
  `purchase_code` varchar(100) NOT NULL,
  `module_folder_name` varchar(255) NOT NULL,
  `project_id` int NOT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `unique_name` (`unique_name`),
  KEY `project_id` (`project_id`)
) ENGINE=InnoDB AUTO_INCREMENT=5 DEFAULT CHARSET=utf8mb3;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `add_ons`
--

LOCK TABLES `add_ons` WRITE;
/*!40000 ALTER TABLE `add_ons` DISABLE KEYS */;
INSERT INTO `add_ons` (`id`, `add_on_name`, `unique_name`, `version`, `installed_at`, `update_at`, `purchase_code`, `module_folder_name`, `project_id`) VALUES (1,'Facebook Poster','ultrapost','1.0','0000-00-00 00:00:00','0000-00-00 00:00:00','','ultrapost',19),(2,'Visual Flow Builder','visual_flow_builder','1.0','2022-01-19 12:00:00','2022-01-19 12:00:00','','visual_flow_builder',59),(3,'Instagram Bot & Private Reply','instagram_bot','1.0','2022-01-19 12:00:00','2022-01-19 12:00:00','','instagram_bot',62),(4,'AI Integration','ai_reply','1.0','2024-01-15 12:00:00','2024-01-15 12:00:00','','ai_reply',67);
/*!40000 ALTER TABLE `add_ons` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `announcement`
--

DROP TABLE IF EXISTS `announcement`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `announcement` (
  `id` int NOT NULL AUTO_INCREMENT,
  `title` varchar(255) NOT NULL,
  `description` text NOT NULL,
  `created_at` datetime NOT NULL,
  `user_id` int NOT NULL DEFAULT '0' COMMENT '0 means all',
  `team_member_id` int DEFAULT NULL,
  `is_seen` enum('0','1') NOT NULL DEFAULT '0',
  `seen_by` text NOT NULL COMMENT 'if user_id = 0 then comma seperated user_ids',
  `last_seen_at` datetime DEFAULT NULL,
  `color_class` varchar(50) NOT NULL DEFAULT 'primary',
  `icon` varchar(50) NOT NULL DEFAULT 'fas fa-bell',
  `status` enum('published','draft') NOT NULL DEFAULT 'draft',
  PRIMARY KEY (`id`),
  KEY `status` (`status`),
  KEY `user_id` (`user_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `announcement`
--

LOCK TABLES `announcement` WRITE;
/*!40000 ALTER TABLE `announcement` DISABLE KEYS */;
/*!40000 ALTER TABLE `announcement` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `auto_comment_reply_info`
--

DROP TABLE IF EXISTS `auto_comment_reply_info`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `auto_comment_reply_info` (
  `id` int NOT NULL AUTO_INCREMENT,
  `user_id` int NOT NULL,
  `auto_comment_template_id` int NOT NULL,
  `time_zone` varchar(255) NOT NULL,
  `schedule_time` datetime NOT NULL,
  `campaign_name` varchar(255) NOT NULL,
  `post_id` varchar(200) NOT NULL,
  `page_info_table_id` int NOT NULL,
  `page_name` mediumtext NOT NULL,
  `post_created_at` varchar(255) NOT NULL,
  `last_reply_time` datetime NOT NULL,
  `last_updated_at` datetime NOT NULL,
  `auto_comment_count` int NOT NULL,
  `periodic_time` varchar(255) NOT NULL,
  `schedule_type` varchar(255) NOT NULL,
  `auto_comment_type` varchar(255) NOT NULL,
  `campaign_start_time` datetime NOT NULL,
  `campaign_end_time` datetime NOT NULL,
  `comment_start_time` time NOT NULL,
  `comment_end_time` time NOT NULL,
  `auto_private_reply_status` enum('0','1','2') NOT NULL DEFAULT '0',
  `auto_reply_done_info` longtext NOT NULL,
  `periodic_serial_reply_count` int NOT NULL,
  `error_message` mediumtext NOT NULL,
  `post_description` longtext NOT NULL,
  `post_thumb` text NOT NULL,
  `deleted` enum('0','1') NOT NULL,
  `social_media_type` enum('Facebook','Instagram') NOT NULL DEFAULT 'Facebook',
  `insta_media_url` varchar(50) NOT NULL,
  PRIMARY KEY (`id`),
  KEY `auto_comment_template_id` (`auto_comment_template_id`),
  KEY `auto_private_reply_status` (`auto_private_reply_status`),
  KEY `user_id` (`user_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `auto_comment_reply_info`
--

LOCK TABLES `auto_comment_reply_info` WRITE;
/*!40000 ALTER TABLE `auto_comment_reply_info` DISABLE KEYS */;
/*!40000 ALTER TABLE `auto_comment_reply_info` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `auto_comment_reply_tb`
--

DROP TABLE IF EXISTS `auto_comment_reply_tb`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `auto_comment_reply_tb` (
  `id` int NOT NULL AUTO_INCREMENT,
  `user_id` int NOT NULL,
  `template_name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `auto_reply_comment_text` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `auto_comment_reply_tb`
--

LOCK TABLES `auto_comment_reply_tb` WRITE;
/*!40000 ALTER TABLE `auto_comment_reply_tb` DISABLE KEYS */;
/*!40000 ALTER TABLE `auto_comment_reply_tb` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `autoposting`
--

DROP TABLE IF EXISTS `autoposting`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `autoposting` (
  `id` int NOT NULL AUTO_INCREMENT,
  `user_id` int NOT NULL,
  `feed_name` varchar(100) NOT NULL,
  `feed_type` enum('rss','youtube','twitter','wordpress') NOT NULL DEFAULT 'rss',
  `feed_url` text NOT NULL,
  `youtube_channel_id` varchar(50) NOT NULL,
  `youtube_api_called_at` datetime DEFAULT NULL,
  `wordpress_blog_url` text,
  `page_ids` text NOT NULL COMMENT 'auto ids',
  `page_names` text NOT NULL COMMENT 'page names',
  `facebook_rx_fb_user_info_ids` text NOT NULL COMMENT 'page id => fb rx user id json',
  `twitter_accounts` text NOT NULL,
  `linkedin_accounts` text NOT NULL,
  `reddit_accounts` text NOT NULL,
  `subreddits` text NOT NULL,
  `posting_message` text CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NOT NULL,
  `posting_start_time` varchar(25) NOT NULL,
  `posting_end_time` varchar(25) NOT NULL,
  `posting_timezone` varchar(75) NOT NULL,
  `page_id` int NOT NULL COMMENT 'broadcast',
  `fb_page_id` varchar(75) NOT NULL COMMENT 'broadcast',
  `page_name` text NOT NULL COMMENT 'broadcast',
  `label_ids` text NOT NULL COMMENT 'broadcast',
  `excluded_label_ids` text NOT NULL COMMENT 'broadcast',
  `broadcast_start_time` varchar(50) NOT NULL,
  `broadcast_end_time` varchar(50) NOT NULL,
  `broadcast_timezone` varchar(50) NOT NULL,
  `broadcast_notification_type` varchar(100) NOT NULL DEFAULT 'REGULAR',
  `broadcast_display_unsubscribe` enum('0','1') NOT NULL DEFAULT '0',
  `last_pub_date` datetime NOT NULL,
  `last_pub_title` text NOT NULL,
  `last_pub_url` text NOT NULL,
  `status` enum('0','1','2') NOT NULL DEFAULT '1' COMMENT 'pending, processing, abandoned',
  `last_updated_at` datetime NOT NULL,
  `cron_status` enum('0','1') NOT NULL DEFAULT '0',
  `error_message` longtext NOT NULL,
  PRIMARY KEY (`id`),
  KEY `user_id` (`user_id`),
  KEY `status` (`status`,`cron_status`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `autoposting`
--

LOCK TABLES `autoposting` WRITE;
/*!40000 ALTER TABLE `autoposting` DISABLE KEYS */;
/*!40000 ALTER TABLE `autoposting` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `blog_post_categories`
--

DROP TABLE IF EXISTS `blog_post_categories`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `blog_post_categories` (
  `id` int NOT NULL AUTO_INCREMENT,
  `name` varchar(255) NOT NULL,
  `slug` varchar(255) DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `name` (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `blog_post_categories`
--

LOCK TABLES `blog_post_categories` WRITE;
/*!40000 ALTER TABLE `blog_post_categories` DISABLE KEYS */;
/*!40000 ALTER TABLE `blog_post_categories` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `blog_post_comments`
--

DROP TABLE IF EXISTS `blog_post_comments`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `blog_post_comments` (
  `id` int NOT NULL AUTO_INCREMENT,
  `parent_id` int DEFAULT NULL,
  `post_id` int NOT NULL,
  `comment` text NOT NULL,
  `status` tinyint(1) NOT NULL DEFAULT '1',
  `user_id` int NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `parent_id` (`parent_id`),
  KEY `post_id` (`post_id`),
  CONSTRAINT `fk_comments` FOREIGN KEY (`parent_id`) REFERENCES `blog_post_comments` (`id`) ON DELETE CASCADE,
  CONSTRAINT `fk_post_comments` FOREIGN KEY (`post_id`) REFERENCES `blog_posts` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `blog_post_comments`
--

LOCK TABLES `blog_post_comments` WRITE;
/*!40000 ALTER TABLE `blog_post_comments` DISABLE KEYS */;
/*!40000 ALTER TABLE `blog_post_comments` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `blog_post_tags`
--

DROP TABLE IF EXISTS `blog_post_tags`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `blog_post_tags` (
  `id` int NOT NULL AUTO_INCREMENT,
  `name` varchar(255) NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `name` (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `blog_post_tags`
--

LOCK TABLES `blog_post_tags` WRITE;
/*!40000 ALTER TABLE `blog_post_tags` DISABLE KEYS */;
/*!40000 ALTER TABLE `blog_post_tags` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `blog_posts`
--

DROP TABLE IF EXISTS `blog_posts`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `blog_posts` (
  `id` int NOT NULL AUTO_INCREMENT,
  `title` varchar(255) NOT NULL,
  `slug` varchar(255) DEFAULT NULL,
  `keywords` varchar(255) DEFAULT NULL,
  `thumbnail` varchar(255) DEFAULT NULL,
  `body` longtext NOT NULL,
  `category_id` int NOT NULL,
  `tags` text,
  `status` enum('0','1','2') NOT NULL DEFAULT '0',
  `views` int DEFAULT '0',
  `user_id` int NOT NULL,
  `published_at` timestamp NULL DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `category_id` (`category_id`),
  KEY `tags` (`tags`(255)),
  KEY `user_id` (`user_id`),
  KEY `status` (`status`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `blog_posts`
--

LOCK TABLES `blog_posts` WRITE;
/*!40000 ALTER TABLE `blog_posts` DISABLE KEYS */;
/*!40000 ALTER TABLE `blog_posts` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `canned_response`
--

DROP TABLE IF EXISTS `canned_response`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `canned_response` (
  `id` int NOT NULL AUTO_INCREMENT,
  `user_id` int NOT NULL,
  `page_id` int NOT NULL,
  `media_type` enum('fb','ig') CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'fb',
  `name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `message` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `canned_response`
--

LOCK TABLES `canned_response` WRITE;
/*!40000 ALTER TABLE `canned_response` DISABLE KEYS */;
/*!40000 ALTER TABLE `canned_response` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `ci_sessions`
--

DROP TABLE IF EXISTS `ci_sessions`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `ci_sessions` (
  `id` varchar(128) NOT NULL,
  `ip_address` varchar(45) NOT NULL,
  `timestamp` int unsigned NOT NULL DEFAULT '0',
  `data` blob NOT NULL,
  KEY `ci_sessions_timestamp` (`timestamp`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `ci_sessions`
--

LOCK TABLES `ci_sessions` WRITE;
/*!40000 ALTER TABLE `ci_sessions` DISABLE KEYS */;
/*!40000 ALTER TABLE `ci_sessions` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `custom_page_builder`
--

DROP TABLE IF EXISTS `custom_page_builder`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `custom_page_builder` (
  `id` int NOT NULL AUTO_INCREMENT,
  `user_id` int NOT NULL,
  `page_name` varchar(255) NOT NULL,
  `slug` varchar(255) NOT NULL,
  `page_description` longtext NOT NULL,
  `url` int NOT NULL,
  `created_at` datetime NOT NULL,
  PRIMARY KEY (`id`),
  KEY `FX_USER_ID` (`user_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `custom_page_builder`
--

LOCK TABLES `custom_page_builder` WRITE;
/*!40000 ALTER TABLE `custom_page_builder` DISABLE KEYS */;
/*!40000 ALTER TABLE `custom_page_builder` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `ecommerce_attribute`
--

DROP TABLE IF EXISTS `ecommerce_attribute`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `ecommerce_attribute` (
  `id` int NOT NULL AUTO_INCREMENT,
  `user_id` int NOT NULL,
  `store_id` int NOT NULL,
  `woocommerce_config_id` int DEFAULT NULL,
  `woocommerce_attribute_id` int DEFAULT NULL,
  `woocommerce_attribute_slug` text NOT NULL,
  `attribute_name` varchar(255) NOT NULL,
  `attribute_values` text NOT NULL,
  `optional` enum('0','1') NOT NULL DEFAULT '0',
  `multiselect` enum('0','1') NOT NULL DEFAULT '0',
  `status` enum('0','1') NOT NULL DEFAULT '1',
  `updated_at` datetime NOT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `woocommerce_attribute_id` (`woocommerce_attribute_id`,`store_id`),
  KEY `store_id` (`store_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `ecommerce_attribute`
--

LOCK TABLES `ecommerce_attribute` WRITE;
/*!40000 ALTER TABLE `ecommerce_attribute` DISABLE KEYS */;
/*!40000 ALTER TABLE `ecommerce_attribute` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `ecommerce_cart`
--

DROP TABLE IF EXISTS `ecommerce_cart`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `ecommerce_cart` (
  `id` int NOT NULL AUTO_INCREMENT,
  `user_id` int NOT NULL,
  `store_id` int NOT NULL,
  `subscriber_id` varchar(50) NOT NULL COMMENT 'messenger_bot_subscriber.subscribe_id',
  `subtotal` float NOT NULL,
  `tax` float NOT NULL,
  `shipping` float NOT NULL,
  `coupon_code` varchar(50) NOT NULL,
  `coupon_type` varchar(50) NOT NULL,
  `discount` float NOT NULL,
  `payment_amount` float NOT NULL,
  `currency` varchar(20) NOT NULL,
  `ordered_at` datetime NOT NULL,
  `buyer_first_name` varchar(150) NOT NULL,
  `buyer_last_name` varchar(150) NOT NULL,
  `buyer_email` varchar(75) NOT NULL,
  `buyer_mobile` varchar(50) NOT NULL,
  `buyer_country` varchar(20) NOT NULL,
  `buyer_city` varchar(50) NOT NULL,
  `buyer_state` varchar(50) NOT NULL,
  `buyer_address` text NOT NULL,
  `buyer_zip` varchar(10) NOT NULL,
  `bill_first_name` varchar(100) NOT NULL,
  `bill_last_name` varchar(150) NOT NULL,
  `bill_email` varchar(75) NOT NULL,
  `bill_mobile` varchar(20) NOT NULL,
  `bill_country` varchar(20) NOT NULL,
  `bill_city` varchar(50) NOT NULL,
  `bill_state` varchar(50) NOT NULL,
  `bill_address` text NOT NULL,
  `bill_zip` varchar(10) NOT NULL,
  `delivery_note` text NOT NULL,
  `store_pickup` enum('0','1') NOT NULL DEFAULT '0',
  `pickup_point_details` text NOT NULL,
  `transaction_id` varchar(25) NOT NULL,
  `card_ending` varchar(10) NOT NULL,
  `payment_method` varchar(100) NOT NULL,
  `checkout_account_email` varchar(100) NOT NULL,
  `checkout_account_receiver_email` varchar(100) NOT NULL,
  `checkout_account_country` varchar(100) NOT NULL,
  `checkout_account_first_name` varchar(100) NOT NULL,
  `checkout_account_last_name` varchar(100) NOT NULL,
  `checkout_amount` varchar(20) NOT NULL,
  `checkout_currency` varchar(20) NOT NULL,
  `checkout_verify_status` varchar(100) NOT NULL,
  `checkout_timestamp` varchar(50) NOT NULL,
  `checkout_source_json` text NOT NULL,
  `manual_additional_info` longtext NOT NULL,
  `manual_filename` varchar(150) NOT NULL,
  `manual_currency` varchar(20) NOT NULL,
  `manual_amount` float NOT NULL,
  `paid_at` datetime NOT NULL,
  `status` enum('pending','approved','rejected','shipped','delivered','completed') NOT NULL COMMENT 'payment_status',
  `status_changed_at` datetime NOT NULL,
  `status_changed_note` text NOT NULL,
  `updated_at` datetime NOT NULL,
  `action_type` enum('add','remove','checkout') NOT NULL DEFAULT 'add',
  `confirmation_response` text NOT NULL,
  `last_completed_hour` int NOT NULL,
  `is_totally_completed` enum('0','1') NOT NULL DEFAULT '0',
  `last_sent_at` datetime NOT NULL,
  `initial_date` datetime NOT NULL,
  `last_processing_started_at` datetime NOT NULL,
  `processing_status` enum('0','1') NOT NULL DEFAULT '0',
  `payment_temp_session` text NOT NULL,
  `delivery_time` datetime NOT NULL,
  PRIMARY KEY (`id`),
  KEY `subscriber_id` (`subscriber_id`),
  KEY `user_id` (`user_id`,`store_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `ecommerce_cart`
--

LOCK TABLES `ecommerce_cart` WRITE;
/*!40000 ALTER TABLE `ecommerce_cart` DISABLE KEYS */;
/*!40000 ALTER TABLE `ecommerce_cart` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `ecommerce_cart_address_saved`
--

DROP TABLE IF EXISTS `ecommerce_cart_address_saved`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `ecommerce_cart_address_saved` (
  `id` int NOT NULL AUTO_INCREMENT,
  `subscriber_id` varchar(50) NOT NULL,
  `title` varchar(255) NOT NULL,
  `first_name` varchar(255) NOT NULL,
  `last_name` varchar(255) NOT NULL,
  `email` varchar(255) NOT NULL,
  `mobile` varchar(50) NOT NULL,
  `country` varchar(20) NOT NULL,
  `city` varchar(100) NOT NULL,
  `state` varchar(100) NOT NULL,
  `address` text NOT NULL,
  `zip` varchar(10) NOT NULL,
  `is_default` enum('0','1') NOT NULL DEFAULT '0',
  `profile_address` enum('0','1') NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  KEY `subscriber_id` (`subscriber_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `ecommerce_cart_address_saved`
--

LOCK TABLES `ecommerce_cart_address_saved` WRITE;
/*!40000 ALTER TABLE `ecommerce_cart_address_saved` DISABLE KEYS */;
/*!40000 ALTER TABLE `ecommerce_cart_address_saved` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `ecommerce_cart_item`
--

DROP TABLE IF EXISTS `ecommerce_cart_item`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `ecommerce_cart_item` (
  `id` int NOT NULL AUTO_INCREMENT,
  `store_id` int NOT NULL,
  `cart_id` int NOT NULL,
  `product_id` int NOT NULL,
  `unit_price` float NOT NULL,
  `coupon_info` varchar(255) NOT NULL,
  `quantity` float NOT NULL,
  `attribute_info` varchar(255) NOT NULL,
  `updated_at` datetime NOT NULL,
  `is_downloaded` enum('0','1') NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  UNIQUE KEY `cart_id` (`cart_id`,`product_id`,`attribute_info`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `ecommerce_cart_item`
--

LOCK TABLES `ecommerce_cart_item` WRITE;
/*!40000 ALTER TABLE `ecommerce_cart_item` DISABLE KEYS */;
/*!40000 ALTER TABLE `ecommerce_cart_item` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `ecommerce_cart_pickup_points`
--

DROP TABLE IF EXISTS `ecommerce_cart_pickup_points`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `ecommerce_cart_pickup_points` (
  `id` int NOT NULL AUTO_INCREMENT,
  `store_id` int NOT NULL,
  `point_name` varchar(255) NOT NULL,
  `point_details` text NOT NULL,
  `status` enum('0','1') NOT NULL DEFAULT '1',
  PRIMARY KEY (`id`),
  KEY `store_id` (`store_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `ecommerce_cart_pickup_points`
--

LOCK TABLES `ecommerce_cart_pickup_points` WRITE;
/*!40000 ALTER TABLE `ecommerce_cart_pickup_points` DISABLE KEYS */;
/*!40000 ALTER TABLE `ecommerce_cart_pickup_points` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `ecommerce_category`
--

DROP TABLE IF EXISTS `ecommerce_category`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `ecommerce_category` (
  `id` int NOT NULL AUTO_INCREMENT,
  `user_id` int NOT NULL,
  `store_id` int NOT NULL,
  `thumbnail` varchar(100) NOT NULL,
  `serial` int NOT NULL,
  `woocommerce_config_id` int DEFAULT NULL,
  `woocommerce_category_id` int DEFAULT NULL,
  `woocommerce_category_slug` text NOT NULL,
  `category_name` varchar(255) NOT NULL,
  `status` enum('0','1') NOT NULL DEFAULT '1',
  `updated_at` datetime NOT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `woocommerce_category_id` (`woocommerce_category_id`,`store_id`),
  KEY `store_id` (`store_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `ecommerce_category`
--

LOCK TABLES `ecommerce_category` WRITE;
/*!40000 ALTER TABLE `ecommerce_category` DISABLE KEYS */;
/*!40000 ALTER TABLE `ecommerce_category` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `ecommerce_config`
--

DROP TABLE IF EXISTS `ecommerce_config`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `ecommerce_config` (
  `id` int NOT NULL AUTO_INCREMENT,
  `user_id` int NOT NULL,
  `store_id` int NOT NULL,
  `paypal_email` varchar(100) NOT NULL,
  `paypal_mode` enum('live','sandbox') NOT NULL DEFAULT 'live',
  `stripe_billing_address` enum('0','1') NOT NULL DEFAULT '0',
  `stripe_secret_key` text NOT NULL,
  `stripe_publishable_key` text NOT NULL,
  `paystack_secret_key` text NOT NULL,
  `paystack_public_key` text NOT NULL,
  `razorpay_key_id` text NOT NULL,
  `razorpay_key_secret` text NOT NULL,
  `mollie_api_key` text NOT NULL,
  `mercadopago_public_key` text NOT NULL,
  `mercadopago_access_token` text NOT NULL,
  `marcadopago_country` varchar(5) NOT NULL,
  `sslcommerz_store_id` text NOT NULL,
  `sslcommerz_store_password` text NOT NULL,
  `sslcommerz_mode` enum('sandbox','live') NOT NULL DEFAULT 'live',
  `senangpay_merchent_id` text NOT NULL,
  `senangpay_secret_key` text NOT NULL,
  `senangpay_mode` enum('sandbox','live') NOT NULL DEFAULT 'live',
  `instamojo_api_key` text NOT NULL,
  `instamojo_auth_token` text NOT NULL,
  `instamojo_mode` enum('sandbox','live') NOT NULL DEFAULT 'live',
  `xendit_secret_api_key` text NOT NULL,
  `manual_payment` enum('0','1') NOT NULL DEFAULT '0',
  `manual_payment_instruction` text NOT NULL,
  `currency` varchar(10) NOT NULL DEFAULT 'USD',
  `currency_position` enum('left','right') NOT NULL DEFAULT 'left',
  `decimal_point` tinyint NOT NULL DEFAULT '2',
  `thousand_comma` enum('0','1') NOT NULL DEFAULT '0',
  `store_pickup_title` varchar(100) NOT NULL DEFAULT 'Store Pickup',
  `buy_button_title` varchar(100) NOT NULL DEFAULT 'Buy Now',
  `is_store_pickup` enum('0','1') NOT NULL DEFAULT '0',
  `is_home_delivery` enum('0','1') NOT NULL DEFAULT '1',
  `is_checkout_country` enum('0','1') NOT NULL DEFAULT '1',
  `is_checkout_state` enum('0','1') NOT NULL DEFAULT '1',
  `is_checkout_city` enum('0','1') NOT NULL DEFAULT '1',
  `is_checkout_zip` enum('0','1') NOT NULL DEFAULT '1',
  `is_checkout_email` enum('0','1') NOT NULL DEFAULT '1',
  `is_checkout_phone` enum('0','1') NOT NULL DEFAULT '1',
  `is_delivery_note` enum('0','1') NOT NULL DEFAULT '1',
  `is_preparation_time` enum('0','1') NOT NULL DEFAULT '0',
  `preparation_time` varchar(20) NOT NULL,
  `preparation_time_unit` enum('minutes','hours','days') NOT NULL,
  `is_order_schedule` enum('0','1') NOT NULL DEFAULT '0',
  `order_schedule` enum('today','tomorrow','week','any') NOT NULL DEFAULT 'any',
  `font` text NOT NULL,
  `is_category_wise_product_view` enum('0','1') NOT NULL DEFAULT '0',
  `product_sort` enum('name','new','price','sale','random') NOT NULL DEFAULT 'name',
  `product_sort_order` enum('asc','desc') NOT NULL DEFAULT 'asc',
  `product_listing` enum('list','grid') NOT NULL DEFAULT 'list',
  `theme_color` varchar(10) NOT NULL DEFAULT '#ff8342',
  `hide_add_to_cart` enum('0','1') NOT NULL DEFAULT '0',
  `hide_buy_now` enum('0','1') NOT NULL DEFAULT '0',
  `whatsapp_send_order_button` enum('0','1') NOT NULL DEFAULT '0',
  `whatsapp_phone_number` varchar(30) NOT NULL,
  `whatsapp_send_order_text` text NOT NULL,
  `is_guest_login` enum('0','1') NOT NULL DEFAULT '0',
  `updated_at` datetime NOT NULL,
  `paymaya_public_key` text NOT NULL,
  `myfatoorah_api_key` text NOT NULL,
  `myfatoorah_mode` varchar(30) NOT NULL,
  `toyyibpay_secret_key` text NOT NULL,
  `paymaya_secret_key` varchar(100) NOT NULL,
  `paymaya_mode` varchar(30) NOT NULL,
  `toyyibpay_category_code` varchar(100) NOT NULL,
  `toyyibpay_mode` varchar(30) NOT NULL,
  PRIMARY KEY (`id`),
  KEY `store_id` (`store_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `ecommerce_config`
--

LOCK TABLES `ecommerce_config` WRITE;
/*!40000 ALTER TABLE `ecommerce_config` DISABLE KEYS */;
/*!40000 ALTER TABLE `ecommerce_config` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `ecommerce_coupon`
--

DROP TABLE IF EXISTS `ecommerce_coupon`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `ecommerce_coupon` (
  `id` int NOT NULL AUTO_INCREMENT,
  `user_id` int NOT NULL,
  `store_id` int NOT NULL,
  `coupon_type` enum('percent','fixed cart','fixed product') NOT NULL DEFAULT 'percent',
  `coupon_code` varchar(50) NOT NULL,
  `coupon_amount` float NOT NULL DEFAULT '0',
  `free_shipping_enabled` enum('0','1') NOT NULL DEFAULT '0',
  `expiry_date` datetime NOT NULL,
  `updated_at` datetime NOT NULL,
  `product_ids` text NOT NULL COMMENT 'comma separated ',
  `max_usage_limit` int NOT NULL,
  `used` int NOT NULL,
  `status` enum('0','1') NOT NULL DEFAULT '1',
  PRIMARY KEY (`id`),
  UNIQUE KEY `store_id_2` (`store_id`,`coupon_code`),
  KEY `store_id` (`store_id`),
  KEY `user_id` (`user_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `ecommerce_coupon`
--

LOCK TABLES `ecommerce_coupon` WRITE;
/*!40000 ALTER TABLE `ecommerce_coupon` DISABLE KEYS */;
/*!40000 ALTER TABLE `ecommerce_coupon` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `ecommerce_product`
--

DROP TABLE IF EXISTS `ecommerce_product`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `ecommerce_product` (
  `id` int NOT NULL AUTO_INCREMENT,
  `user_id` int NOT NULL,
  `store_id` int NOT NULL,
  `product_name` varchar(255) NOT NULL,
  `product_description` text NOT NULL,
  `product_video_id` varchar(100) NOT NULL,
  `original_price` float NOT NULL,
  `sell_price` float NOT NULL,
  `taxable` enum('0','1') NOT NULL DEFAULT '0',
  `stock_item` int NOT NULL,
  `stock_display` enum('0','1') NOT NULL DEFAULT '0',
  `stock_prevent_purchase` enum('0','1') NOT NULL DEFAULT '0',
  `attribute_ids` varchar(255) NOT NULL,
  `preparation_time` varchar(20) NOT NULL,
  `preparation_time_unit` enum('minutes','hours','days') NOT NULL,
  `purchase_note` text NOT NULL,
  `thumbnail` text NOT NULL,
  `featured_images` text NOT NULL,
  `digital_product_file` text NOT NULL,
  `category_id` int NOT NULL,
  `sales_count` int NOT NULL,
  `visit_count` int NOT NULL,
  `updated_at` datetime NOT NULL,
  `status` enum('0','1') NOT NULL DEFAULT '1',
  `deleted` enum('0','1') NOT NULL DEFAULT '0',
  `woocommerce_product_id` int DEFAULT NULL,
  `woocommerce_price_html` text NOT NULL,
  `related_product_ids` varchar(255) NOT NULL,
  `upsell_product_id` int NOT NULL,
  `downsell_product_id` int NOT NULL,
  `is_featured` enum('0','1') NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  UNIQUE KEY `woocommerce_product_id` (`store_id`,`woocommerce_product_id`),
  KEY `store_id` (`store_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `ecommerce_product`
--

LOCK TABLES `ecommerce_product` WRITE;
/*!40000 ALTER TABLE `ecommerce_product` DISABLE KEYS */;
/*!40000 ALTER TABLE `ecommerce_product` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `ecommerce_reminder_report`
--

DROP TABLE IF EXISTS `ecommerce_reminder_report`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `ecommerce_reminder_report` (
  `id` int NOT NULL AUTO_INCREMENT,
  `store_id` int NOT NULL,
  `cart_id` int NOT NULL,
  `user_id` int NOT NULL,
  `subscriber_id` varchar(250) NOT NULL,
  `first_name` varchar(250) NOT NULL,
  `email` varchar(255) NOT NULL,
  `last_name` varchar(250) NOT NULL,
  `last_completed_hour` int NOT NULL,
  `is_sent` enum('0','1') NOT NULL DEFAULT '1',
  `is_opened` enum('0','1') NOT NULL DEFAULT '0',
  `is_delivered` enum('0','1') NOT NULL DEFAULT '0',
  `sent_at` datetime NOT NULL,
  `delivered_at` datetime NOT NULL,
  `opened_at` datetime NOT NULL,
  `sent_response` text NOT NULL,
  `delivered_response` tinytext NOT NULL,
  `last_updated_at` datetime NOT NULL,
  PRIMARY KEY (`id`),
  KEY `store_id` (`store_id`,`user_id`),
  KEY `subscriber_id` (`subscriber_id`),
  KEY `cart_id` (`cart_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `ecommerce_reminder_report`
--

LOCK TABLES `ecommerce_reminder_report` WRITE;
/*!40000 ALTER TABLE `ecommerce_reminder_report` DISABLE KEYS */;
/*!40000 ALTER TABLE `ecommerce_reminder_report` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `ecommerce_store`
--

DROP TABLE IF EXISTS `ecommerce_store`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `ecommerce_store` (
  `id` int NOT NULL AUTO_INCREMENT,
  `store_unique_id` varchar(50) NOT NULL,
  `user_id` int NOT NULL,
  `page_id` int NOT NULL,
  `store_type` enum('physical','digital','service') NOT NULL DEFAULT 'physical',
  `store_name` text NOT NULL,
  `store_logo` varchar(50) NOT NULL,
  `store_favicon` varchar(50) NOT NULL,
  `store_email` varchar(75) NOT NULL,
  `store_phone` varchar(25) NOT NULL,
  `store_country` varchar(20) NOT NULL,
  `store_city` varchar(50) NOT NULL,
  `store_state` varchar(50) NOT NULL,
  `store_zip` varchar(20) NOT NULL,
  `store_address` text NOT NULL,
  `tax_percentage` float NOT NULL,
  `shipping_charge` float NOT NULL,
  `paypal_enabled` enum('0','1') DEFAULT '0',
  `stripe_enabled` enum('0','1') DEFAULT '0',
  `razorpay_enabled` enum('0','1') NOT NULL DEFAULT '0',
  `paystack_enabled` enum('0','1') NOT NULL DEFAULT '0',
  `mollie_enabled` enum('0','1') NOT NULL DEFAULT '0',
  `mercadopago_enabled` enum('0','1') NOT NULL DEFAULT '0',
  `sslcommerz_enabled` enum('0','1') NOT NULL DEFAULT '0',
  `senangpay_enabled` enum('0','1') NOT NULL DEFAULT '0',
  `instamojo_enabled` enum('0','1') NOT NULL DEFAULT '0',
  `xendit_enabled` enum('0','1') NOT NULL DEFAULT '0',
  `manual_enabled` enum('0','1') NOT NULL DEFAULT '1',
  `cod_enabled` enum('0','1') NOT NULL DEFAULT '0',
  `messenger_content` text NOT NULL,
  `sms_content` text NOT NULL,
  `sms_api_id` int NOT NULL,
  `email_content` longtext NOT NULL,
  `email_api_id` int NOT NULL,
  `email_subject` text NOT NULL,
  `configure_email_table` varchar(100) NOT NULL,
  `notification_sms_api_id` int NOT NULL,
  `notification_email_api_id` int NOT NULL,
  `notification_email_subject` text NOT NULL,
  `notification_configure_email_table` varchar(100) NOT NULL,
  `notification_message` text NOT NULL,
  `label_ids` text NOT NULL,
  `last_sent_at` datetime NOT NULL,
  `created_at` datetime NOT NULL,
  `terms_use_link` text NOT NULL,
  `refund_policy_link` text NOT NULL,
  `store_locale` varchar(50) NOT NULL,
  `is_rtl` enum('0','1') NOT NULL DEFAULT '0',
  `pixel_id` varchar(50) NOT NULL,
  `google_id` varchar(50) NOT NULL,
  `qr_code` text NOT NULL,
  `status` enum('0','1') NOT NULL DEFAULT '1',
  `paymaya_enabled` enum('0','1') NOT NULL DEFAULT '0',
  `myfatoorah_enabled` enum('0','1') NOT NULL DEFAULT '0',
  `toyyibpay_enabled` enum('0','1') NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  UNIQUE KEY `store_unique_id` (`store_unique_id`),
  KEY `user_id` (`user_id`),
  KEY `page_id` (`page_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `ecommerce_store`
--

LOCK TABLES `ecommerce_store` WRITE;
/*!40000 ALTER TABLE `ecommerce_store` DISABLE KEYS */;
/*!40000 ALTER TABLE `ecommerce_store` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `ecommerce_store_business_hours`
--

DROP TABLE IF EXISTS `ecommerce_store_business_hours`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `ecommerce_store_business_hours` (
  `id` int NOT NULL AUTO_INCREMENT,
  `user_id` int NOT NULL,
  `store_id` int NOT NULL,
  `schedule_day` varchar(20) NOT NULL,
  `off_day` enum('0','1') NOT NULL DEFAULT '0',
  `start_time` varchar(20) NOT NULL,
  `end_time` varchar(20) NOT NULL,
  `always_open` enum('0','1') NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  KEY `store_id` (`store_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `ecommerce_store_business_hours`
--

LOCK TABLES `ecommerce_store_business_hours` WRITE;
/*!40000 ALTER TABLE `ecommerce_store_business_hours` DISABLE KEYS */;
/*!40000 ALTER TABLE `ecommerce_store_business_hours` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `email_clickrate_links_backup`
--

DROP TABLE IF EXISTS `email_clickrate_links_backup`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `email_clickrate_links_backup` (
  `id` int NOT NULL AUTO_INCREMENT,
  `user_id` int NOT NULL,
  `campaign_id` int NOT NULL,
  `links` text NOT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `email_clickrate_links_backup`
--

LOCK TABLES `email_clickrate_links_backup` WRITE;
/*!40000 ALTER TABLE `email_clickrate_links_backup` DISABLE KEYS */;
/*!40000 ALTER TABLE `email_clickrate_links_backup` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `email_config`
--

DROP TABLE IF EXISTS `email_config`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `email_config` (
  `id` int NOT NULL AUTO_INCREMENT,
  `user_id` int NOT NULL,
  `email_address` varchar(100) NOT NULL,
  `smtp_host` varchar(100) NOT NULL,
  `smtp_port` varchar(100) NOT NULL,
  `smtp_user` varchar(100) NOT NULL,
  `smtp_type` enum('Default','tls','ssl') NOT NULL DEFAULT 'Default',
  `smtp_password` varchar(100) NOT NULL,
  `status` enum('0','1') NOT NULL,
  `deleted` enum('0','1') NOT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `email_config`
--

LOCK TABLES `email_config` WRITE;
/*!40000 ALTER TABLE `email_config` DISABLE KEYS */;
/*!40000 ALTER TABLE `email_config` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `email_mailgun_config`
--

DROP TABLE IF EXISTS `email_mailgun_config`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `email_mailgun_config` (
  `id` int NOT NULL AUTO_INCREMENT,
  `user_id` int NOT NULL,
  `email_address` varchar(200) NOT NULL,
  `domain_name` varchar(200) NOT NULL,
  `api_key` varchar(100) NOT NULL,
  `status` enum('0','1') NOT NULL DEFAULT '1',
  `deleted` enum('0','1') NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8mb3;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `email_mailgun_config`
--

LOCK TABLES `email_mailgun_config` WRITE;
/*!40000 ALTER TABLE `email_mailgun_config` DISABLE KEYS */;
/*!40000 ALTER TABLE `email_mailgun_config` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `email_mandrill_config`
--

DROP TABLE IF EXISTS `email_mandrill_config`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `email_mandrill_config` (
  `id` int NOT NULL AUTO_INCREMENT,
  `user_id` int NOT NULL,
  `your_name` varchar(200) NOT NULL,
  `email_address` varchar(200) NOT NULL,
  `api_key` varchar(200) NOT NULL,
  `status` enum('0','1') NOT NULL DEFAULT '1',
  `deleted` enum('0','1') NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8mb3;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `email_mandrill_config`
--

LOCK TABLES `email_mandrill_config` WRITE;
/*!40000 ALTER TABLE `email_mandrill_config` DISABLE KEYS */;
/*!40000 ALTER TABLE `email_mandrill_config` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `email_sendgrid_config`
--

DROP TABLE IF EXISTS `email_sendgrid_config`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `email_sendgrid_config` (
  `id` int NOT NULL AUTO_INCREMENT,
  `user_id` int NOT NULL,
  `email_address` varchar(200) NOT NULL,
  `username` varchar(200) NOT NULL,
  `password` varchar(100) NOT NULL,
  `status` enum('0','1') NOT NULL,
  `deleted` enum('0','1') NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8mb3;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `email_sendgrid_config`
--

LOCK TABLES `email_sendgrid_config` WRITE;
/*!40000 ALTER TABLE `email_sendgrid_config` DISABLE KEYS */;
/*!40000 ALTER TABLE `email_sendgrid_config` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `email_sending_campaign`
--

DROP TABLE IF EXISTS `email_sending_campaign`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `email_sending_campaign` (
  `id` int NOT NULL AUTO_INCREMENT,
  `user_id` int NOT NULL,
  `configure_email_table` varchar(255) NOT NULL,
  `api_id` int NOT NULL COMMENT 'configure_email_table_id',
  `page_id` int NOT NULL,
  `fb_page_id` varchar(255) NOT NULL,
  `page_name` varchar(255) NOT NULL,
  `label_ids` text NOT NULL,
  `excluded_label_ids` text NOT NULL,
  `label_names` text NOT NULL,
  `user_gender` varchar(20) NOT NULL,
  `user_time_zone` varchar(20) NOT NULL,
  `user_locale` varchar(50) NOT NULL,
  `contact_ids` mediumtext NOT NULL,
  `contact_type_id` mediumtext NOT NULL COMMENT 'contact_group_table_id',
  `campaign_name` mediumtext NOT NULL,
  `email_subject` mediumtext NOT NULL,
  `email_message` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NOT NULL,
  `email_template_id` int DEFAULT NULL,
  `email_attachment` text NOT NULL,
  `posting_status` enum('0','1','2','3') NOT NULL,
  `schedule_time` datetime NOT NULL,
  `time_zone` mediumtext NOT NULL,
  `total_thread` int NOT NULL,
  `successfully_sent` int NOT NULL,
  `created_at` datetime NOT NULL,
  `completed_at` datetime NOT NULL,
  `is_try_again` enum('0','1') NOT NULL DEFAULT '1',
  `number_of_unique_open` int NOT NULL,
  `number_of_total_open` int NOT NULL,
  `number_of_unique_click` int NOT NULL,
  `number_of_total_click` int NOT NULL,
  `number_of_unique_clickers` int NOT NULL,
  `last_opened_at` datetime NOT NULL,
  `last_clicked_at` datetime NOT NULL,
  `total_unsubscribed` int NOT NULL,
  `last_unsubscribed_at` datetime NOT NULL,
  PRIMARY KEY (`id`),
  KEY `user_id` (`user_id`),
  KEY `status` (`posting_status`),
  KEY `user_id_2` (`user_id`,`posting_status`),
  KEY `user_id_3` (`user_id`,`completed_at`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `email_sending_campaign`
--

LOCK TABLES `email_sending_campaign` WRITE;
/*!40000 ALTER TABLE `email_sending_campaign` DISABLE KEYS */;
/*!40000 ALTER TABLE `email_sending_campaign` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `email_sending_campaign_send`
--

DROP TABLE IF EXISTS `email_sending_campaign_send`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `email_sending_campaign_send` (
  `id` int NOT NULL AUTO_INCREMENT,
  `user_id` int NOT NULL,
  `email_table_name` varchar(255) NOT NULL COMMENT 'configure_email_table_name',
  `email_api_id` int NOT NULL COMMENT 'configure_email_table_id',
  `campaign_id` int NOT NULL,
  `contact_id` int NOT NULL,
  `subscriber_id` int NOT NULL,
  `contact_first_name` varchar(255) NOT NULL,
  `contact_last_name` varchar(255) NOT NULL,
  `contact_email` varchar(255) NOT NULL,
  `contact_phone` varchar(255) NOT NULL,
  `is_open` int NOT NULL,
  `number_of_time_open` int NOT NULL,
  `number_of_clicked` int NOT NULL,
  `delivery_id` varchar(255) NOT NULL,
  `sent_time` datetime NOT NULL,
  `processed` enum('0','1') NOT NULL DEFAULT '0',
  `is_clicked` enum('0','1') NOT NULL DEFAULT '0',
  `is_unsubscribed` enum('0','1') NOT NULL DEFAULT '0',
  `email_opened_at` datetime NOT NULL,
  `unsubscribed_at` datetime NOT NULL,
  `last_clicked_at` datetime NOT NULL,
  PRIMARY KEY (`id`),
  KEY `campaign_id` (`campaign_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `email_sending_campaign_send`
--

LOCK TABLES `email_sending_campaign_send` WRITE;
/*!40000 ALTER TABLE `email_sending_campaign_send` DISABLE KEYS */;
/*!40000 ALTER TABLE `email_sending_campaign_send` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `email_sms_template`
--

DROP TABLE IF EXISTS `email_sms_template`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `email_sms_template` (
  `id` int NOT NULL AUTO_INCREMENT,
  `user_id` int NOT NULL,
  `template_type` enum('sms','email') NOT NULL,
  `editor_type` enum('rich_text_editor','drag_and_drop') DEFAULT 'rich_text_editor',
  `location_hash` varchar(50) DEFAULT NULL,
  `template_name` varchar(255) NOT NULL,
  `subject` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NOT NULL,
  `content` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NOT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `id` (`id`),
  KEY `user_id` (`user_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `email_sms_template`
--

LOCK TABLES `email_sms_template` WRITE;
/*!40000 ALTER TABLE `email_sms_template` DISABLE KEYS */;
/*!40000 ALTER TABLE `email_sms_template` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `email_smtp_config`
--

DROP TABLE IF EXISTS `email_smtp_config`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `email_smtp_config` (
  `id` int NOT NULL AUTO_INCREMENT,
  `user_id` int NOT NULL,
  `sender_name` varchar(255) NOT NULL,
  `email_address` varchar(200) CHARACTER SET latin1 COLLATE latin1_swedish_ci NOT NULL,
  `smtp_host` varchar(200) CHARACTER SET latin1 COLLATE latin1_swedish_ci NOT NULL,
  `smtp_port` varchar(100) CHARACTER SET latin1 COLLATE latin1_swedish_ci NOT NULL,
  `smtp_user` varchar(100) CHARACTER SET latin1 COLLATE latin1_swedish_ci NOT NULL,
  `smtp_password` varchar(100) CHARACTER SET latin1 COLLATE latin1_swedish_ci NOT NULL,
  `smtp_type` enum('Default','tls','ssl') CHARACTER SET latin1 COLLATE latin1_swedish_ci NOT NULL DEFAULT 'Default',
  `status` enum('0','1') CHARACTER SET latin1 COLLATE latin1_swedish_ci NOT NULL DEFAULT '0',
  `deleted` enum('0','1') CHARACTER SET latin1 COLLATE latin1_swedish_ci NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `email_smtp_config`
--

LOCK TABLES `email_smtp_config` WRITE;
/*!40000 ALTER TABLE `email_smtp_config` DISABLE KEYS */;
/*!40000 ALTER TABLE `email_smtp_config` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `email_template_management`
--

DROP TABLE IF EXISTS `email_template_management`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `email_template_management` (
  `id` int NOT NULL AUTO_INCREMENT,
  `title` varchar(255) NOT NULL,
  `template_type` varchar(255) NOT NULL,
  `subject` text NOT NULL,
  `message` text NOT NULL,
  `icon` varchar(255) NOT NULL DEFAULT 'fas fa-folder-open',
  `tooltip` text NOT NULL,
  `info` text NOT NULL,
  PRIMARY KEY (`id`),
  KEY `template_type` (`template_type`)
) ENGINE=InnoDB AUTO_INCREMENT=14 DEFAULT CHARSET=utf8mb3;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `email_template_management`
--

LOCK TABLES `email_template_management` WRITE;
/*!40000 ALTER TABLE `email_template_management` DISABLE KEYS */;
INSERT INTO `email_template_management` (`id`, `title`, `template_type`, `subject`, `message`, `icon`, `tooltip`, `info`) VALUES (1,'Signup Activation','signup_activation','#APP_NAME# | Account Activation','<p>To activate your account please perform the following steps :</p>\r\n<ol>\r\n<li>Go to this url : #ACTIVATION_URL#</li>\r\n<li>Enter this code : #ACCOUNT_ACTIVATION_CODE#</li>\r\n<li>Activate your account</li>\r\n</ol>','fas fa-skating','#APP_NAME#,#ACTIVATION_URL#,#ACCOUNT_ACTIVATION_CODE#','When a new user open an account'),(2,'Reset Password','reset_password','#APP_NAME# | Password Recovery','<p>To reset your password please perform the following steps :</p>\r\n<ol>\r\n<li>Go to this url : #PASSWORD_RESET_URL#</li>\r\n<li>Enter this code : #PASSWORD_RESET_CODE#</li>\r\n<li>reset your password.</li>\r\n</ol>\r\n<h4>Link and code will be expired after 24 hours.</h4>','fas fa-retweet','#APP_NAME#,#PASSWORD_RESET_URL#,#PASSWORD_RESET_CODE#','When a user forget login password'),(3,'Change Password','change_password','Change Password Notification','Dear #USERNAME#,<br/> \r\nYour <a href=\"#APP_URL#\">#APP_NAME#</a> password has been changed.<br>\r\nYour new password is: #NEW_PASSWORD#.<br/><br/> \r\nThank you,<br/>\r\n<a href=\"#APP_URL#\">#APP_NAME#</a> Team','fas fa-key','#APP_NAME#,#APP_URL#,#USERNAME#,#NEW_PASSWORD#','When admin reset password of any user'),(4,'Subscription Expiring Soon','membership_expiration_10_days_before','Payment Alert','Dear #USERNAME#,\r\n<br/> Your account will expire after 10 days, Please pay your fees.<br/><br/>\r\nThank you,<br/>\r\n<a href=\"#APP_URL#\">#APP_NAME#</a> Team','fas fa-clock','#APP_NAME#,#APP_URL#,#USERNAME#','10 days before user subscription expires'),(5,'Subscription Expiring Tomorrow','membership_expiration_1_day_before','Payment Alert','Dear #USERNAME#,<br/>\r\nYour account will expire tomorrow, Please pay your fees.<br/><br/>\r\nThank you,<br/>\r\n<a href=\"#APP_URL#\">#APP_NAME#</a> Team','fas fa-stopwatch','#APP_NAME#,#APP_URL#,#USERNAME#','1 day before user subscription expires'),(6,'Subscription Expired','membership_expiration_1_day_after','Subscription Expired','Dear #USERNAME#,<br/>\r\nYour account has been expired, Please pay your fees for continuity.<br/><br/>\r\nThank you,<br/>\r\n<a href=\"#APP_URL#\">#APP_NAME#</a> Team','fas fa-user-clock','#APP_NAME#,#APP_URL#,#USERNAME#','Subscription is already expired of a user'),(7,'Paypal Payment Confirmation','paypal_payment','Payment Confirmation','Congratulations,<br/> \r\nWe have received your payment successfully.<br/>\r\nNow you are able to use #PRODUCT_SHORT_NAME# system till #CYCLE_EXPIRED_DATE#.<br/><br/>\r\nThank you,<br/>\r\n<a href=\"#SITE_URL#\">#APP_NAME#</a> Team','fab fa-paypal','#APP_NAME#,#CYCLE_EXPIRED_DATE#,#PRODUCT_SHORT_NAME#,#SITE_URL#','User pay through Paypal & gets confirmation'),(8,'Paypal New Payment','paypal_new_payment_made','New Payment Made','New payment has been made by #PAID_USER_NAME#','fab fa-cc-paypal','#PAID_USER_NAME#','User pay through Paypal & admin gets notified'),(9,'Stripe Payment Confirmation','stripe_payment','Payment Confirmation','Congratulations,<br/>\r\nWe have received your payment successfully.<br/>\r\nNow you are able to use #APP_SHORT_NAME# system till #CYCLE_EXPIRED_DATE#.<br/><br/>\r\nThank you,<br/>\r\n<a href=\"#APP_URL#\">#APP_NAME#</a> Team','fab fa-stripe-s','#APP_NAME#,#CYCLE_EXPIRED_DATE#,#PRODUCT_SHORT_NAME#,#SITE_URL#','User pay through Stripe & gets confirmation'),(10,'Stripe New Payment','stripe_new_payment_made','New Payment Made','New payment has been made by #PAID_USER_NAME#','fab fa-cc-stripe','#PAID_USER_NAME#','User pay through Stripe & admin gets notified'),(11,'Ecommerce Order Received','emcommerce_sale_admin','#STORE_NAME# | A New Order Has Been Submitted','Congratulations,<br/>\r\nYou have got an new order on your store #STORE_NAME#.<br>\r\nInvoice : #INVOICE_URL# <br/><br/>\r\n\r\nThank you,<br/>\r\n<a href=\"#APP_URL#\">#APP_NAME#</a> Team','fas fa-dollar-sign','#STORE_NAME#,#APP_URL#,#APP_NAME#,#INVOICE_URL#','You have got an new order on your store'),(13,'New Webview Form Submission Alert','webview_form_submit_admin','#FORM_TITLE# | #SUBSCRIBER_NAME# Has Submitted Form','#SUBSCRIBER_NAME# has just submitted your form #FORM_TITLE# with below data. <br/><br/>\r\n#FORM_DATA#\r\n<br/><br/>\r\nThank you,<br/>\r\n<a href=\"#APP_URL#\">#APP_NAME#</a> Team','fas fa-digital-tachograph','#FORM_TITLE#,#SUBSCRIBER_NAME#,#SUBSCRIBER_NAME#,#FORM_TITLE#,#APP_URL#,#APP_NAME#','Subscriber information received');
/*!40000 ALTER TABLE `email_template_management` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `facebook_ex_autoreply`
--

DROP TABLE IF EXISTS `facebook_ex_autoreply`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `facebook_ex_autoreply` (
  `id` int NOT NULL AUTO_INCREMENT,
  `facebook_rx_fb_user_info_id` int NOT NULL,
  `auto_reply_campaign_name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `user_id` int NOT NULL,
  `page_info_table_id` int NOT NULL,
  `page_name` mediumtext CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci,
  `post_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `post_permalink` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `post_created_at` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `post_description` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci,
  `post_thumb` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `reply_type` varchar(200) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `auto_like_comment` enum('no','yes') CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `multiple_reply` enum('no','yes') CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `comment_reply_enabled` enum('no','yes') CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `nofilter_word_found_text` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `auto_reply_text` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `auto_private_reply_status` enum('0','1','2') CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '0',
  `auto_private_reply_count` int NOT NULL,
  `last_updated_at` datetime NOT NULL,
  `last_reply_time` datetime NOT NULL,
  `error_message` mediumtext CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `hide_comment_after_comment_reply` enum('no','yes') CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `is_delete_offensive` enum('hide','delete') CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `offensive_words` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `private_message_offensive_words` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `hidden_comment_count` int NOT NULL,
  `deleted_comment_count` int NOT NULL,
  `auto_comment_reply_count` int NOT NULL,
  `template_manager_table_id` int NOT NULL,
  `broadcaster_labels` varchar(150) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL COMMENT 'auto_id of labels comma separated',
  `structured_message` enum('no','yes') CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'no',
  `trigger_matching_type` enum('exact','string') CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'exact' COMMENT 'exact keyword or string match',
  `ai_reply_enabled` enum('0','1') CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '0',
  `ai_training_data` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci,
  PRIMARY KEY (`id`),
  UNIQUE KEY `user_id` (`user_id`,`page_info_table_id`,`post_id`),
  KEY `post_id` (`post_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `facebook_ex_autoreply`
--

LOCK TABLES `facebook_ex_autoreply` WRITE;
/*!40000 ALTER TABLE `facebook_ex_autoreply` DISABLE KEYS */;
/*!40000 ALTER TABLE `facebook_ex_autoreply` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `facebook_ex_autoreply_report`
--

DROP TABLE IF EXISTS `facebook_ex_autoreply_report`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `facebook_ex_autoreply_report` (
  `id` int NOT NULL AUTO_INCREMENT,
  `user_id` int NOT NULL,
  `autoreply_table_id` int NOT NULL,
  `comment_id` varchar(50) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NOT NULL,
  `comment_text` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `commenter_name` varchar(120) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NOT NULL,
  `commenter_id` varchar(50) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NOT NULL,
  `comment_time` datetime NOT NULL,
  `reply_time` datetime NOT NULL,
  `comment_reply_text` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `reply_text` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `reply_status_comment` text CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NOT NULL,
  `reply_status` text CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NOT NULL,
  `reply_id` varchar(200) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NOT NULL,
  `comment_reply_id` varchar(150) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL COMMENT 'comment reply id',
  `is_deleted` enum('0','1') CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NOT NULL DEFAULT '0',
  `is_hidden` enum('0','1') CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NOT NULL DEFAULT '0',
  `reply_type` enum('post_by_id','full_page_response') CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'post_by_id',
  PRIMARY KEY (`id`),
  UNIQUE KEY `comment_id` (`comment_id`),
  KEY `Autoreply_teable_id` (`autoreply_table_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `facebook_ex_autoreply_report`
--

LOCK TABLES `facebook_ex_autoreply_report` WRITE;
/*!40000 ALTER TABLE `facebook_ex_autoreply_report` DISABLE KEYS */;
/*!40000 ALTER TABLE `facebook_ex_autoreply_report` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `facebook_ex_conversation_campaign`
--

DROP TABLE IF EXISTS `facebook_ex_conversation_campaign`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `facebook_ex_conversation_campaign` (
  `id` int NOT NULL AUTO_INCREMENT,
  `user_id` int NOT NULL,
  `page_id` int NOT NULL,
  `fb_page_id` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `page_name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `label_ids` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `excluded_label_ids` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `label_names` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `user_gender` varchar(20) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `user_time_zone` varchar(20) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `user_locale` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `campaign_name` varchar(200) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `campaign_type` enum('page-wise','lead-wise','group-wise') CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'page-wise',
  `campaign_message` mediumtext CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `schedule_time` datetime NOT NULL,
  `time_zone` mediumtext CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `posting_status` enum('0','1','2','3','4') CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL COMMENT '4=hold(Stopped for Error count >)',
  `is_try_again` enum('0','1') CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '1',
  `last_try_error_count` int NOT NULL,
  `is_spam_caught` enum('0','1') CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '0',
  `error_message` varchar(200) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `total_thread` int NOT NULL,
  `successfully_sent` int NOT NULL,
  `added_at` datetime NOT NULL,
  `completed_at` datetime NOT NULL,
  `delay_time` int NOT NULL DEFAULT '0' COMMENT '0 means random',
  PRIMARY KEY (`id`),
  KEY `status` (`posting_status`),
  KEY `dashboard` (`user_id`),
  KEY `dashboard2` (`user_id`,`completed_at`),
  KEY `dashboard3` (`user_id`,`posting_status`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `facebook_ex_conversation_campaign`
--

LOCK TABLES `facebook_ex_conversation_campaign` WRITE;
/*!40000 ALTER TABLE `facebook_ex_conversation_campaign` DISABLE KEYS */;
/*!40000 ALTER TABLE `facebook_ex_conversation_campaign` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `facebook_ex_conversation_campaign_send`
--

DROP TABLE IF EXISTS `facebook_ex_conversation_campaign_send`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `facebook_ex_conversation_campaign_send` (
  `id` int NOT NULL AUTO_INCREMENT,
  `campaign_id` int NOT NULL,
  `user_id` int NOT NULL,
  `page_id` int NOT NULL,
  `page_name` varchar(255) NOT NULL,
  `client_thread_id` varchar(255) NOT NULL,
  `client_username` varchar(255) NOT NULL,
  `first_name` varchar(255) NOT NULL,
  `last_name` varchar(255) NOT NULL,
  `client_id` varchar(255) NOT NULL,
  `message_sent_id` varchar(255) NOT NULL,
  `sent_time` datetime NOT NULL,
  `lead_id` int NOT NULL,
  `processed` enum('0','1') NOT NULL DEFAULT '0',
  `link` text NOT NULL,
  PRIMARY KEY (`id`),
  KEY `campaign_id` (`campaign_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `facebook_ex_conversation_campaign_send`
--

LOCK TABLES `facebook_ex_conversation_campaign_send` WRITE;
/*!40000 ALTER TABLE `facebook_ex_conversation_campaign_send` DISABLE KEYS */;
/*!40000 ALTER TABLE `facebook_ex_conversation_campaign_send` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `facebook_rx_auto_post`
--

DROP TABLE IF EXISTS `facebook_rx_auto_post`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `facebook_rx_auto_post` (
  `id` int NOT NULL AUTO_INCREMENT,
  `user_id` int NOT NULL,
  `facebook_rx_fb_user_info_id` int NOT NULL,
  `post_type` enum('text_submit','link_submit','image_submit','video_submit') CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'text_submit',
  `campaign_name` varchar(200) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `page_group_user_id` varchar(200) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `page_or_group_or_user` enum('page','group','user') CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `page_or_group_or_user_name` varchar(200) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `message` mediumtext CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `link` mediumtext CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `link_preview_image` mediumtext CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `link_caption` varchar(200) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `link_description` mediumtext CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `image_url` mediumtext CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `video_title` varchar(200) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `video_url` mediumtext CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `video_thumb_url` mediumtext CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `og_action_type_id` varchar(25) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `og_object_id` varchar(25) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `auto_share_post` enum('0','1') CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '0',
  `auto_share_this_post_by_pages` mediumtext CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `auto_share_to_profile` enum('0','1') CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '0',
  `auto_like_post` enum('0','1') CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '0',
  `auto_private_reply` enum('0','1') CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '0',
  `auto_private_reply_text` mediumtext CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `auto_private_reply_status` enum('0','1') CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '0' COMMENT 'taken by cronjob or not',
  `auto_private_reply_count` int NOT NULL,
  `auto_private_reply_done_ids` mediumtext CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `auto_comment` enum('0','1') CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '0',
  `auto_comment_text` varchar(200) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `posting_status` enum('0','1','2') CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '0' COMMENT 'pending,processing,completed',
  `post_id` varchar(200) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL COMMENT 'fb post id',
  `post_url` mediumtext CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `last_updated_at` datetime NOT NULL,
  `schedule_time` datetime NOT NULL,
  `time_zone` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `post_auto_comment_cron_jon_status` enum('0','1') CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '0' COMMENT 'post''s auto comment is done by cron job',
  `post_auto_like_cron_jon_status` enum('0','1') CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '0' COMMENT 'post''s auto like is done by cron job',
  `post_auto_share_cron_jon_status` enum('0','1') CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '0' COMMENT 'post''s auto share is done by cron job',
  `error_mesage` mediumtext CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `is_child` enum('0','1') CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '0',
  `parent_campaign_id` int NOT NULL,
  `page_ids` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `group_ids` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `ig_page_ids` mediumtext CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `ultrapost_auto_reply_table_id` int NOT NULL,
  `instagram_reply_template_id` int NOT NULL,
  `is_autopost` enum('0','1') CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '0',
  `repeat_times` int NOT NULL,
  `time_interval` int NOT NULL,
  `full_complete` enum('0','1') CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `schedule_type` enum('now','later') CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `media_type` enum('facebook','instagram') CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'facebook',
  `reels_post` enum('yes','no') CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'no',
  PRIMARY KEY (`id`),
  KEY `user_id` (`user_id`,`facebook_rx_fb_user_info_id`),
  KEY `posting_status` (`posting_status`),
  KEY `dashboard` (`user_id`,`last_updated_at`),
  KEY `parent_campaign_id` (`parent_campaign_id`),
  KEY `page_group_user_id` (`page_group_user_id`),
  KEY `is_child` (`is_child`),
  KEY `schedule_type` (`schedule_type`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `facebook_rx_auto_post`
--

LOCK TABLES `facebook_rx_auto_post` WRITE;
/*!40000 ALTER TABLE `facebook_rx_auto_post` DISABLE KEYS */;
/*!40000 ALTER TABLE `facebook_rx_auto_post` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `facebook_rx_config`
--

DROP TABLE IF EXISTS `facebook_rx_config`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `facebook_rx_config` (
  `id` int NOT NULL AUTO_INCREMENT,
  `app_name` varchar(100) DEFAULT NULL,
  `api_id` varchar(250) DEFAULT NULL,
  `api_secret` varchar(250) DEFAULT NULL,
  `numeric_id` varchar(250) NOT NULL,
  `user_access_token` varchar(500) DEFAULT NULL,
  `status` enum('0','1') NOT NULL DEFAULT '1',
  `deleted` enum('0','1') NOT NULL DEFAULT '0',
  `user_id` int NOT NULL,
  `use_by` enum('only_me','everyone') NOT NULL DEFAULT 'only_me',
  `developer_access` enum('0','1') NOT NULL DEFAULT '0',
  `facebook_id` varchar(50) NOT NULL,
  `secret_code` varchar(50) NOT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8mb3;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `facebook_rx_config`
--

LOCK TABLES `facebook_rx_config` WRITE;
/*!40000 ALTER TABLE `facebook_rx_config` DISABLE KEYS */;
INSERT INTO `facebook_rx_config` (`id`, `app_name`, `api_id`, `api_secret`, `numeric_id`, `user_access_token`, `status`, `deleted`, `user_id`, `use_by`, `developer_access`, `facebook_id`, `secret_code`) VALUES (1,'Ghost-Reply','799095811059548','a42bb300d23cb4443d318b505f395cc1','',NULL,'1','0',1,'everyone','0','','');
/*!40000 ALTER TABLE `facebook_rx_config` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `facebook_rx_cta_post`
--

DROP TABLE IF EXISTS `facebook_rx_cta_post`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `facebook_rx_cta_post` (
  `id` int NOT NULL AUTO_INCREMENT,
  `user_id` int NOT NULL,
  `facebook_rx_fb_user_info_id` int NOT NULL,
  `campaign_name` varchar(200) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `page_group_user_id` varchar(200) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL COMMENT 'auto_like_post_comment',
  `page_or_group_or_user` enum('page') CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL COMMENT 'cta post is only available for page',
  `page_or_group_or_user_name` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `cta_type` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `cta_value` mediumtext CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `message` mediumtext CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `link` mediumtext CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `link_preview_image` mediumtext CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `link_caption` varchar(200) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `link_description` mediumtext CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `og_action_type_id` varchar(25) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `og_object_id` varchar(25) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `auto_share_post` enum('0','1') CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '0',
  `auto_share_this_post_by_pages` mediumtext CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `auto_share_to_profile` enum('0','1') CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '0',
  `auto_like_post` enum('0','1') CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '0',
  `auto_private_reply` enum('0','1') CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '0',
  `auto_private_reply_text` mediumtext CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `auto_private_reply_status` enum('0','1') CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '0' COMMENT 'taken by cronjob or not',
  `auto_private_reply_count` int NOT NULL,
  `auto_private_reply_done_ids` mediumtext CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `auto_comment` enum('0','1') CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '0',
  `auto_comment_text` varchar(200) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `posting_status` enum('0','1','2') CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '0' COMMENT 'pending,processing,completed',
  `post_id` varchar(200) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL COMMENT 'fb post id',
  `post_url` mediumtext CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `last_updated_at` datetime NOT NULL,
  `schedule_time` datetime NOT NULL,
  `time_zone` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `post_auto_comment_cron_jon_status` enum('0','1') CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '0' COMMENT 'post''s auto comment is done by cron job',
  `post_auto_like_cron_jon_status` enum('0','1') CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '0' COMMENT 'post''s auto like is done by cron job',
  `post_auto_share_cron_jon_status` enum('0','1') CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '0' COMMENT 'post''s auto share is done by cron job',
  `error_mesage` mediumtext CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `is_child` enum('0','1') CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '0',
  `parent_campaign_id` int NOT NULL,
  `page_ids` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `ultrapost_auto_reply_table_id` int NOT NULL,
  `repeat_times` int NOT NULL,
  `time_interval` int NOT NULL,
  `schedule_type` enum('now','later') CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `full_complete` enum('0','1') CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  PRIMARY KEY (`id`),
  KEY `user_id` (`user_id`,`facebook_rx_fb_user_info_id`),
  KEY `posting_status` (`posting_status`),
  KEY `dashboard` (`user_id`,`last_updated_at`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `facebook_rx_cta_post`
--

LOCK TABLES `facebook_rx_cta_post` WRITE;
/*!40000 ALTER TABLE `facebook_rx_cta_post` DISABLE KEYS */;
/*!40000 ALTER TABLE `facebook_rx_cta_post` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `facebook_rx_fb_group_info`
--

DROP TABLE IF EXISTS `facebook_rx_fb_group_info`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `facebook_rx_fb_group_info` (
  `id` int NOT NULL AUTO_INCREMENT,
  `user_id` int NOT NULL,
  `facebook_rx_fb_user_info_id` int NOT NULL,
  `group_id` varchar(200) NOT NULL,
  `group_cover` text,
  `group_profile` text,
  `group_name` varchar(200) DEFAULT NULL,
  `group_access_token` text NOT NULL,
  `add_date` date NOT NULL,
  `deleted` enum('0','1') NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  KEY `rx_fb_user_info_group` (`facebook_rx_fb_user_info_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `facebook_rx_fb_group_info`
--

LOCK TABLES `facebook_rx_fb_group_info` WRITE;
/*!40000 ALTER TABLE `facebook_rx_fb_group_info` DISABLE KEYS */;
/*!40000 ALTER TABLE `facebook_rx_fb_group_info` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `facebook_rx_fb_page_info`
--

DROP TABLE IF EXISTS `facebook_rx_fb_page_info`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `facebook_rx_fb_page_info` (
  `id` int NOT NULL AUTO_INCREMENT,
  `user_id` int NOT NULL,
  `facebook_rx_fb_user_info_id` int NOT NULL,
  `page_id` varchar(200) NOT NULL,
  `page_cover` text,
  `page_profile` text,
  `page_name` text,
  `username` varchar(255) NOT NULL,
  `page_access_token` text NOT NULL,
  `page_email` varchar(200) DEFAULT NULL,
  `add_date` date NOT NULL,
  `deleted` enum('0','1') NOT NULL DEFAULT '0',
  `auto_sync_lead` enum('0','1','2','3') NOT NULL DEFAULT '0' COMMENT '0=disabled,1=enabled,2=processing,3=completed',
  `last_lead_sync` datetime NOT NULL,
  `next_scan_url` text NOT NULL,
  `current_lead_count` int NOT NULL,
  `current_subscribed_lead_count` int NOT NULL,
  `current_unsubscribed_lead_count` int NOT NULL,
  `msg_manager` enum('0','1') NOT NULL DEFAULT '0',
  `bot_enabled` enum('0','1','2') NOT NULL DEFAULT '0',
  `started_button_enabled` enum('0','1') NOT NULL DEFAULT '0',
  `welcome_message` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `chat_human_email` varchar(250) NOT NULL,
  `no_match_found_reply` enum('enabled','disabled') NOT NULL DEFAULT 'disabled',
  `persistent_enabled` enum('0','1') NOT NULL DEFAULT '0',
  `ig_persistent_enabled` enum('0','1') NOT NULL DEFAULT '0',
  `enable_mark_seen` enum('0','1') NOT NULL DEFAULT '0',
  `enbale_type_on` enum('0','1') NOT NULL DEFAULT '0',
  `estimated_reach` varchar(50) NOT NULL,
  `last_estimaed_at` datetime NOT NULL,
  `review_status` enum('NOT SUBMITTED','PENDING','REJECTED','APPROVED','LIMITED') NOT NULL DEFAULT 'NOT SUBMITTED',
  `review_status_last_checked` datetime NOT NULL,
  `reply_delay_time` int NOT NULL,
  `mail_service_id` text NOT NULL,
  `sms_api_id` int NOT NULL,
  `sms_reply_message` text NOT NULL,
  `ice_breaker_status` enum('0','1') NOT NULL DEFAULT '0',
  `ice_breaker_questions` text NOT NULL,
  `email_api_id` varchar(100) NOT NULL,
  `email_reply_message` text NOT NULL,
  `email_reply_subject` text NOT NULL,
  `sequence_sms_api_id` int NOT NULL,
  `sequence_sms_campaign_id` int NOT NULL,
  `sequence_email_api_id` varchar(100) NOT NULL,
  `sequence_email_campaign_id` int NOT NULL,
  `has_instagram` enum('0','1') NOT NULL DEFAULT '0',
  `instagram_business_account_id` varchar(100) NOT NULL,
  `insta_username` varchar(200) NOT NULL,
  `insta_followers_count` int NOT NULL,
  `insta_media_count` int NOT NULL,
  `insta_website` varchar(250) NOT NULL,
  `insta_biography` tinytext NOT NULL,
  `insta_current_subscribed_lead_count` int NOT NULL,
  `insta_current_unsubscribed_lead_count` int NOT NULL,
  `insta_current_lead_count` int NOT NULL,
  `ig_ice_breaker_status` enum('0','1') NOT NULL DEFAULT '0',
  `ig_ice_breaker_questions` text NOT NULL,
  `ig_no_match_found_reply` enum('enabled','disabled') NOT NULL DEFAULT 'disabled',
  `ig_chat_human_email` varchar(250) NOT NULL,
  `enable_random_delay` enum('0','1') NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  KEY `page_id` (`page_id`),
  KEY `rx_fb_user_info` (`facebook_rx_fb_user_info_id`),
  KEY `user_id` (`user_id`,`page_id`) USING BTREE
) ENGINE=InnoDB AUTO_INCREMENT=4 DEFAULT CHARSET=utf8mb3;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `facebook_rx_fb_page_info`
--

LOCK TABLES `facebook_rx_fb_page_info` WRITE;
/*!40000 ALTER TABLE `facebook_rx_fb_page_info` DISABLE KEYS */;
INSERT INTO `facebook_rx_fb_page_info` (`id`, `user_id`, `facebook_rx_fb_user_info_id`, `page_id`, `page_cover`, `page_profile`, `page_name`, `username`, `page_access_token`, `page_email`, `add_date`, `deleted`, `auto_sync_lead`, `last_lead_sync`, `next_scan_url`, `current_lead_count`, `current_subscribed_lead_count`, `current_unsubscribed_lead_count`, `msg_manager`, `bot_enabled`, `started_button_enabled`, `welcome_message`, `chat_human_email`, `no_match_found_reply`, `persistent_enabled`, `ig_persistent_enabled`, `enable_mark_seen`, `enbale_type_on`, `estimated_reach`, `last_estimaed_at`, `review_status`, `review_status_last_checked`, `reply_delay_time`, `mail_service_id`, `sms_api_id`, `sms_reply_message`, `ice_breaker_status`, `ice_breaker_questions`, `email_api_id`, `email_reply_message`, `email_reply_subject`, `sequence_sms_api_id`, `sequence_sms_campaign_id`, `sequence_email_api_id`, `sequence_email_campaign_id`, `has_instagram`, `instagram_business_account_id`, `insta_username`, `insta_followers_count`, `insta_media_count`, `insta_website`, `insta_biography`, `insta_current_subscribed_lead_count`, `insta_current_unsubscribed_lead_count`, `insta_current_lead_count`, `ig_ice_breaker_status`, `ig_ice_breaker_questions`, `ig_no_match_found_reply`, `ig_chat_human_email`, `enable_random_delay`) VALUES (1,1,1,'447532628432343','https://scontent-lga3-2.xx.fbcdn.net/v/t39.30808-6/481191879_619661014552836_2997455683087314800_n.jpg?_nc_cat=109&ccb=1-7&_nc_sid=dc4938&_nc_eui2=AeGgQEZTkSkyrnez1uGJG_VSD6yqWYUV13IPrKpZhRXXchPVNyxiGqJgHeeVZUxviEYy3FLdUgM91VGbZ43VCe-J&_nc_ohc=Fx16nWHp8l0Q7kNvgH82vUZ&_nc_oc=AdjVNC4JBziteuz1Lh42KiNmEDvkbkRoMojKFXptMkewXEfD0C-oxAcuS99HPkqw73o&_nc_zt=23&_nc_ht=scontent-lga3-2.xx&edm=AGaHXAAEAAAA&_nc_gid=AEJ5iFtDa7DhV4EcnL-fYAF&oh=00_AYD30XgYSYOW6JYE58Uw05mNjQG4xT21nEe4B0qC_5ceyA&oe=67CE0D0A','https://scontent-lga3-1.xx.fbcdn.net/v/t39.30808-1/458739260_122096153864520509_2848430412956331101_n.jpg?stp=c213.213.1667.1667a_cp0_dst-jpg_s50x50_tt6&_nc_cat=1&ccb=1-7&_nc_sid=fe756c&_nc_eui2=AeFip-eGWKd4t7ZdNuMnV0Fyo_-ufzOKQeyj_65_M4pB7C0T1-fYZGPf2TorYXvH8HRwGKY1kkucvwpaWsMtZC3q&_nc_ohc=M_OwljqX8rYQ7kNvgFqERDi&_nc_oc=Adhnc8ro09A56S6IcQAQ_-jvgueciAihAYPk7uS5eRzQ_AmZlAs8Lxkz5_-YVMizi24&_nc_zt=24&_nc_ht=scontent-lga3-1.xx&edm=AGaHXAAEAAAA&_nc_gid=AEJ5iFtDa7DhV4EcnL-fYAF&oh=00_AYCkdeEvyaYYHieNekcCL2XXH9dwNyTQk8mKnog-TwAiQA&oe=67CDFAA6','Zii Zii Island','ziiziiisland','EAALWxf31r1wBO9mPyg0NZBYqhaOQPlcGVk4XmQOvvZA6zJaQxZAZAVsOKh3hgqKJ5RjqWzLNa5ydAMd3V2JcnZCXomepZA4U8iG7luloN4Jt9CSp6iHfaaFJp8q2sbYOXYRcDcNYKwZAYSVePZAWz4MPB7iKMrdGV2sifMc1kUNUcP1EmgZAbQ7GqhsurWihjhmrC','info@ziiziiisland.com','2025-03-05','0','0','0000-00-00 00:00:00','',0,0,0,'0','1','1','','','disabled','0','0','0','0','','0000-00-00 00:00:00','NOT SUBMITTED','2025-03-05 10:11:45',0,'',0,'','0','','','','',0,0,'',0,'0','','',0,0,'','',0,0,0,'0','','disabled','','0'),(2,1,1,'873133372697800','https://scontent-lga3-1.xx.fbcdn.net/v/t39.30808-6/405505838_732329788920339_8100797691503908948_n.png?_nc_cat=1&ccb=1-7&_nc_sid=dc4938&_nc_eui2=AeF6CKnG3f6oncQ96W43c7t4KrR_ErGjoQ0qtH8SsaOhDUYB2qqn7XixIYeMcUaHkT4J7RBuFIo2MFoG3BrFrUR5&_nc_ohc=QYapIKGCv_0Q7kNvgHS1p6C&_nc_oc=Adh8x78wc--WzwdsI5py0WM4aMKQcQ63dqZ03ZgP4O8jOk43ZX2PUAhNqy9gcjqYFQw&_nc_zt=23&_nc_ht=scontent-lga3-1.xx&edm=AGaHXAAEAAAA&_nc_gid=AEJ5iFtDa7DhV4EcnL-fYAF&oh=00_AYA6z0K1icz_l-f3xkfNjd0mzEEP2czlSpao2_Bw9nD5WA&oe=67CE0CC2','https://scontent-lga3-1.xx.fbcdn.net/v/t39.30808-1/452648391_880221937464456_31120534678748930_n.jpg?stp=cp0_dst-jpg_s50x50_tt6&_nc_cat=1&ccb=1-7&_nc_sid=fe756c&_nc_eui2=AeFm5ML-vqB_nGG99_GLuIXRVFEuKu-ZIJlUUS4q75kgmR3ghBiDiBXhasAhm4WfRMbUrf-M2E1wWVNunvtWVjMf&_nc_ohc=wKeFOmtHWdQQ7kNvgGC1Qx1&_nc_oc=AdgWsc-AujrNVtYlrlXCqLKtP_HdfdQvOdR2qR4UezrpXuhTvj3OtI83rDK3sbgcyUQ&_nc_zt=24&_nc_ht=scontent-lga3-1.xx&edm=AGaHXAAEAAAA&_nc_gid=AEJ5iFtDa7DhV4EcnL-fYAF&oh=00_AYCxmKDmknSQ7fJReY3vR0jUz2vV9Dd01Bn4zsVE2Dv5qA&oe=67CDF9A1','Oasis Outfit','oasisoutfit','EAALWxf31r1wBOZCQo7GG9YHPUQxTNnZCiFUrmd0kbqFyYcAFM79HEjo6EAibG8asKN75YJv6FdcinauTKjasnugj392JqxBjk7bCQpMEkpvY7pob1e7AZBzZAeKOF1czUjCpE4VRNXlMbUxtJRawPdBCo7YI1x1QjRZCDwdiFKn3XZBMdxcVXUdrDKihbbbLFy','oasisoutfit@gmail.com','2025-03-05','0','0','0000-00-00 00:00:00','',0,0,0,'0','1','1','','','disabled','0','0','0','0','','0000-00-00 00:00:00','APPROVED','2025-03-05 10:11:39',0,'',0,'','0','','','','',0,0,'',0,'1','17841452767383226','oasisoutfit7',8964,2209,'http://oasisoutfit.com','Welcome to Oasisoutfit  where tradition meets modern elegance.',0,0,0,'0','','disabled','','0'),(3,1,1,'567507857087603','https://scontent-lga3-3.xx.fbcdn.net/v/t39.30808-6/428618011_407312498494973_2236923269667750939_n.png?_nc_cat=104&ccb=1-7&_nc_sid=dc4938&_nc_eui2=AeEwsBobSRtjH4sVUeDq5reTQd8ZPfCDzrJB3xk98IPOsiwPZJ6V2JgWM6ETiteB7ffDkfTBlKMCU8eds8PL7_b6&_nc_ohc=gc4Ny_lbS3kQ7kNvgEMyO93&_nc_oc=Adh5JxZnDsrslhTpKiHYE_9K4necFfOIWw7mNq3TLZLCAC4X41MXdtmi2_abZVnwvwY&_nc_zt=23&_nc_ht=scontent-lga3-3.xx&edm=AGaHXAAEAAAA&_nc_gid=AEJ5iFtDa7DhV4EcnL-fYAF&oh=00_AYARJSAsE6OU2QlT0VhFg4pNrTqafYg6Bcp1fJnnAdGc6A&oe=67CDF154','https://scontent-lga3-1.xx.fbcdn.net/v/t39.30808-1/427967270_407309268495296_6930273617594144009_n.jpg?stp=c353.0.1082.1082a_cp0_dst-jpg_s50x50_tt6&_nc_cat=103&ccb=1-7&_nc_sid=fe756c&_nc_eui2=AeGiUYPj3axNwOWTM2SCg0lCpux61pD_mXim7HrWkP-ZeNKKoCe2eYpnPwMUZKuJgwfsuRzHCdglU8Wk-U9jfQGn&_nc_ohc=shsne7UvFzAQ7kNvgHritAF&_nc_oc=AdiVhzxF0zn8SkVJYXA7-75YwiDoLCKVl9GWI_NIQu8jdvTgpZCyrzkz7B91ruMw-Zs&_nc_zt=24&_nc_ht=scontent-lga3-1.xx&edm=AGaHXAAEAAAA&_nc_gid=AEJ5iFtDa7DhV4EcnL-fYAF&oh=00_AYCt8I0dVrmqfCTLI6QrbhD_KwHqx4XtLlQo_bX_4roVng&oe=67CDDE44','Shalo','','EAALWxf31r1wBO0aFUotbErjnsRiZBM1FV8Lsh2mmGF0OYED28OcOYdmixcYZAaSKKt6KWGArU51l7J7oCrwtngQxIg1sogWmaOy0s6rnoi7eEaOIFmOEjqMDtmCZCP2Qe6bzNTCXEQhuNVXHyILwos3QZCwu8ZBiM6303486ZAdCh9eNcZApdzgKTuZCzBDKiYsI','','2025-03-05','0','0','0000-00-00 00:00:00','',0,0,0,'0','0','0','','','disabled','0','0','0','0','','0000-00-00 00:00:00','NOT SUBMITTED','0000-00-00 00:00:00',0,'',0,'','0','','','','',0,0,'',0,'0','','',0,0,'','',0,0,0,'0','','disabled','','0');
/*!40000 ALTER TABLE `facebook_rx_fb_page_info` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `facebook_rx_fb_user_info`
--

DROP TABLE IF EXISTS `facebook_rx_fb_user_info`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `facebook_rx_fb_user_info` (
  `id` int NOT NULL AUTO_INCREMENT,
  `facebook_rx_config_id` int NOT NULL,
  `user_id` int NOT NULL,
  `access_token` text NOT NULL,
  `name` varchar(200) DEFAULT NULL,
  `email` varchar(200) DEFAULT NULL,
  `fb_id` varchar(200) NOT NULL,
  `add_date` date NOT NULL,
  `deleted` enum('0','1') NOT NULL,
  `need_to_delete` enum('0','1') NOT NULL,
  PRIMARY KEY (`id`),
  KEY `user_id` (`user_id`)
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8mb3;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `facebook_rx_fb_user_info`
--

LOCK TABLES `facebook_rx_fb_user_info` WRITE;
/*!40000 ALTER TABLE `facebook_rx_fb_user_info` DISABLE KEYS */;
INSERT INTO `facebook_rx_fb_user_info` (`id`, `facebook_rx_config_id`, `user_id`, `access_token`, `name`, `email`, `fb_id`, `add_date`, `deleted`, `need_to_delete`) VALUES (1,1,1,'EAALWxf31r1wBO3koXJGsaoUgP3YpbyYLqaAbkVW4wZC7BfvuXWgPvDfTm3oxZACyQe8MRml1eGhUIf1uteaRjzKLTw6gJh5aN438ZB7Dbd0bFjpNFwLTtVEeqsHghhG6rQnSDhykgC3s5ypT6sWq9VvmZCkSm1ZCIULgIkdSgpl449M9Q2EkjLCzi','Mohammad Ismail Emon',NULL,'1157196361666493','2025-03-05','0','0');
/*!40000 ALTER TABLE `facebook_rx_fb_user_info` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `facebook_rx_slider_post`
--

DROP TABLE IF EXISTS `facebook_rx_slider_post`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `facebook_rx_slider_post` (
  `id` int NOT NULL AUTO_INCREMENT,
  `user_id` int NOT NULL,
  `facebook_rx_fb_user_info_id` int NOT NULL,
  `post_type` enum('slider_post','carousel_post') CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'slider_post',
  `message` mediumtext CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `carousel_content` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci,
  `carousel_link` mediumtext CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci,
  `slider_images` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci,
  `slider_image_duration` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `slider_transition_duration` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `campaign_name` varchar(200) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `page_group_user_id` varchar(200) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `page_or_group_or_user` enum('page','group','user') CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `page_or_group_or_user_name` varchar(250) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `auto_share_post` enum('0','1') CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '0',
  `auto_share_this_post_by_pages` mediumtext CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `auto_share_to_profile` enum('0','1') CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '0',
  `auto_like_post` enum('0','1') CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '0',
  `auto_private_reply` enum('0','1') CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '0',
  `auto_private_reply_text` mediumtext CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `auto_private_reply_status` enum('0','1') CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '0' COMMENT 'taken by cronjob or not',
  `auto_private_reply_count` int NOT NULL,
  `auto_private_reply_done_ids` mediumtext CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `auto_comment` enum('0','1') CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `auto_comment_text` mediumtext CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci,
  `posting_status` enum('0','1','2') CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL COMMENT 'pending,processing,completed',
  `post_id` varchar(200) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `post_url` mediumtext CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `last_updated_at` datetime NOT NULL,
  `schedule_time` datetime NOT NULL,
  `time_zone` varchar(200) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `post_auto_comment_cron_jon_status` enum('0','1') CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '0',
  `post_auto_like_cron_jon_status` enum('0','1') CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '0',
  `post_auto_share_cron_jon_status` enum('0','1') CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '0',
  `error_mesage` mediumtext CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `is_child` enum('0','1') CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '0',
  `parent_campaign_id` int NOT NULL,
  `page_ids` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `ultrapost_auto_reply_table_id` int NOT NULL,
  `repeat_times` int NOT NULL,
  `time_interval` int NOT NULL,
  `schedule_type` enum('now','later') CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `full_complete` enum('0','1') CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  PRIMARY KEY (`id`),
  KEY `user_id` (`user_id`,`facebook_rx_fb_user_info_id`),
  KEY `posting_status` (`posting_status`),
  KEY `dashboard` (`user_id`,`last_updated_at`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `facebook_rx_slider_post`
--

LOCK TABLES `facebook_rx_slider_post` WRITE;
/*!40000 ALTER TABLE `facebook_rx_slider_post` DISABLE KEYS */;
/*!40000 ALTER TABLE `facebook_rx_slider_post` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `fb_simple_support_desk`
--

DROP TABLE IF EXISTS `fb_simple_support_desk`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `fb_simple_support_desk` (
  `id` int NOT NULL AUTO_INCREMENT,
  `user_id` int NOT NULL,
  `ticket_title` text NOT NULL,
  `ticket_text` longtext NOT NULL,
  `ticket_status` enum('1','2','3') CHARACTER SET latin1 COLLATE latin1_swedish_ci NOT NULL DEFAULT '1' COMMENT '1=> Open. 2 => Closed, 3 => Resolved',
  `display` enum('0','1') NOT NULL DEFAULT '1',
  `support_category` int NOT NULL,
  `last_replied_by` int NOT NULL,
  `last_replied_at` datetime NOT NULL,
  `last_action_at` datetime NOT NULL COMMENT 'close resolve reopen etc',
  `ticket_open_time` datetime NOT NULL,
  PRIMARY KEY (`id`),
  KEY `user_id` (`user_id`),
  KEY `support_category` (`support_category`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `fb_simple_support_desk`
--

LOCK TABLES `fb_simple_support_desk` WRITE;
/*!40000 ALTER TABLE `fb_simple_support_desk` DISABLE KEYS */;
/*!40000 ALTER TABLE `fb_simple_support_desk` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `fb_support_category`
--

DROP TABLE IF EXISTS `fb_support_category`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `fb_support_category` (
  `id` int NOT NULL AUTO_INCREMENT,
  `category_name` varchar(255) NOT NULL,
  `user_id` int NOT NULL,
  `deleted` enum('0','1') NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=4 DEFAULT CHARSET=utf8mb3;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `fb_support_category`
--

LOCK TABLES `fb_support_category` WRITE;
/*!40000 ALTER TABLE `fb_support_category` DISABLE KEYS */;
INSERT INTO `fb_support_category` (`id`, `category_name`, `user_id`, `deleted`) VALUES (1,'Billing',1,'0'),(2,'Technical',1,'0'),(3,'Query',1,'0');
/*!40000 ALTER TABLE `fb_support_category` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `fb_support_desk_reply`
--

DROP TABLE IF EXISTS `fb_support_desk_reply`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `fb_support_desk_reply` (
  `id` int NOT NULL AUTO_INCREMENT,
  `ticket_reply_text` longtext NOT NULL,
  `ticket_reply_time` datetime NOT NULL,
  `reply_id` int NOT NULL COMMENT 'ticket_id',
  `user_id` int NOT NULL,
  `team_member_id` int DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `user_id` (`user_id`),
  KEY `team_member_id` (`team_member_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `fb_support_desk_reply`
--

LOCK TABLES `fb_support_desk_reply` WRITE;
/*!40000 ALTER TABLE `fb_support_desk_reply` DISABLE KEYS */;
/*!40000 ALTER TABLE `fb_support_desk_reply` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `forget_password`
--

DROP TABLE IF EXISTS `forget_password`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `forget_password` (
  `id` int NOT NULL AUTO_INCREMENT,
  `confirmation_code` varchar(15) NOT NULL,
  `email` varchar(100) NOT NULL,
  `success` int NOT NULL DEFAULT '0',
  `expiration` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `forget_password`
--

LOCK TABLES `forget_password` WRITE;
/*!40000 ALTER TABLE `forget_password` DISABLE KEYS */;
/*!40000 ALTER TABLE `forget_password` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `instagram_autoreply_report`
--

DROP TABLE IF EXISTS `instagram_autoreply_report`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `instagram_autoreply_report` (
  `id` int NOT NULL AUTO_INCREMENT,
  `user_id` int NOT NULL,
  `autoreply_table_id` int NOT NULL,
  `post_id` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `reply_type` enum('post','full','mention') CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'post',
  `comment_id` varchar(50) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NOT NULL,
  `comment_text` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `commenter_name` varchar(120) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NOT NULL,
  `commenter_id` varchar(50) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NOT NULL,
  `comment_time` datetime NOT NULL,
  `reply_time` datetime NOT NULL,
  `comment_reply_text` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `reply_status_comment` text CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NOT NULL,
  `reply_status` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `post_url` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `media_url` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `media_type` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `is_deleted` enum('0','1') CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NOT NULL DEFAULT '0',
  `is_hidden` enum('0','1') CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NOT NULL DEFAULT '0',
  `error_message` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `hidden_comment_count` int NOT NULL,
  `deleted_comment_count` int NOT NULL,
  `auto_comment_reply_count` int NOT NULL,
  `auto_private_reply_count` int NOT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `comment_id` (`comment_id`),
  KEY `Autoreply_teable_id` (`autoreply_table_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `instagram_autoreply_report`
--

LOCK TABLES `instagram_autoreply_report` WRITE;
/*!40000 ALTER TABLE `instagram_autoreply_report` DISABLE KEYS */;
/*!40000 ALTER TABLE `instagram_autoreply_report` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `instagram_reply_autoreply`
--

DROP TABLE IF EXISTS `instagram_reply_autoreply`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `instagram_reply_autoreply` (
  `id` int NOT NULL AUTO_INCREMENT,
  `facebook_rx_fb_user_info_id` int NOT NULL,
  `autoreply_type` enum('post_autoreply','account_autoreply','mentions_autoreply') NOT NULL DEFAULT 'post_autoreply',
  `post_pause_play` enum('play','pause') NOT NULL DEFAULT 'play',
  `full_pause_play` enum('play','pause') NOT NULL,
  `mentions_pause_play` enum('play','pause') NOT NULL DEFAULT 'play',
  `auto_reply_campaign_name` varchar(255) DEFAULT NULL,
  `user_id` int NOT NULL,
  `page_info_table_id` int NOT NULL,
  `page_name` text,
  `post_id` varchar(200) NOT NULL,
  `post_url` text NOT NULL,
  `media_url` text NOT NULL,
  `media_type` varchar(50) NOT NULL,
  `post_created_at` varchar(255) DEFAULT NULL,
  `post_description` longtext,
  `reply_type` varchar(200) NOT NULL,
  `report_type` enum('full','mention','post') NOT NULL DEFAULT 'post',
  `multiple_reply` enum('no','yes') NOT NULL,
  `nofilter_word_found_text` longtext NOT NULL,
  `auto_reply_text` longtext NOT NULL,
  `last_updated_at` datetime NOT NULL,
  `last_reply_time` datetime NOT NULL,
  `error_message` text NOT NULL,
  `hide_comment_after_comment_reply` enum('no','yes') NOT NULL,
  `is_delete_offensive` enum('hide','delete') NOT NULL,
  `offensive_words` longtext NOT NULL,
  `private_message_offensive_words` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `hidden_comment_count` int NOT NULL,
  `deleted_comment_count` int NOT NULL,
  `auto_comment_reply_count` int NOT NULL,
  `trigger_matching_type` enum('exact','string') NOT NULL DEFAULT 'exact' COMMENT 'exact keyword or string match',
  `ai_reply_enabled` enum('0','1') NOT NULL DEFAULT '0',
  `ai_training_data` text,
  PRIMARY KEY (`id`),
  KEY `user_id` (`user_id`,`page_info_table_id`,`post_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `instagram_reply_autoreply`
--

LOCK TABLES `instagram_reply_autoreply` WRITE;
/*!40000 ALTER TABLE `instagram_reply_autoreply` DISABLE KEYS */;
/*!40000 ALTER TABLE `instagram_reply_autoreply` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `instagram_reply_template`
--

DROP TABLE IF EXISTS `instagram_reply_template`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `instagram_reply_template` (
  `id` int NOT NULL AUTO_INCREMENT,
  `auto_reply_campaign_name` varchar(255) DEFAULT NULL,
  `user_id` int NOT NULL,
  `reply_type` varchar(200) NOT NULL,
  `multiple_reply` enum('no','yes') NOT NULL,
  `nofilter_word_found_text` longtext NOT NULL,
  `auto_reply_text` longtext NOT NULL,
  `last_updated_at` datetime NOT NULL,
  `error_message` text NOT NULL,
  `hide_comment_after_comment_reply` enum('no','yes') NOT NULL,
  `is_delete_offensive` enum('hide','delete') NOT NULL,
  `offensive_words` longtext NOT NULL,
  `private_message_offensive_words` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `page_id` int NOT NULL,
  `ig_username` varchar(200) NOT NULL,
  `trigger_matching_type` enum('exact','string') NOT NULL DEFAULT 'exact' COMMENT 'exact keyword or string match',
  PRIMARY KEY (`id`),
  KEY `user_id` (`user_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `instagram_reply_template`
--

LOCK TABLES `instagram_reply_template` WRITE;
/*!40000 ALTER TABLE `instagram_reply_template` DISABLE KEYS */;
/*!40000 ALTER TABLE `instagram_reply_template` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `livechat_messages`
--

DROP TABLE IF EXISTS `livechat_messages`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `livechat_messages` (
  `id` bigint unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int DEFAULT NULL,
  `subscriber_id` varchar(36) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `page_table_id` int DEFAULT NULL,
  `fb_page_id` varchar(200) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `sender` enum('user','bot','system') CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'user',
  `platform` enum('fb','ig') CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT 'fb',
  `agent_name` varchar(99) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `message_content` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci,
  `conversation_time` datetime DEFAULT NULL,
  `fb_message_id` varchar(200) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `message_status` varchar(20) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `delivery_status_updated_at` datetime DEFAULT NULL,
  `from_business_suite` enum('0','1') CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  KEY `subscriber_id` (`subscriber_id`),
  KEY `conversation_time` (`conversation_time`),
  KEY `fb_message_id` (`fb_message_id`)
) ENGINE=InnoDB AUTO_INCREMENT=13 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `livechat_messages`
--

LOCK TABLES `livechat_messages` WRITE;
/*!40000 ALTER TABLE `livechat_messages` DISABLE KEYS */;
INSERT INTO `livechat_messages` (`id`, `user_id`, `subscriber_id`, `page_table_id`, `fb_page_id`, `sender`, `platform`, `agent_name`, `message_content`, `conversation_time`, `fb_message_id`, `message_status`, `delivery_status_updated_at`, `from_business_suite`) VALUES (1,1,'8952540734857064',1,'873133372697800','user','fb',NULL,'{\"object\":\"page\",\"entry\":[{\"time\":1741170075875,\"id\":\"873133372697800\",\"messaging\":[{\"sender\":{\"id\":\"8952540734857064\"},\"recipient\":{\"id\":\"873133372697800\"},\"timestamp\":1741084037727,\"message\":{\"mid\":\"m_Twxxq-lf4BCXVpb3wwP_tmhPFVDN8crzh913P-FH7C0VUNpwcWt3Fj7J135Zc_g2y5Tz9-_9o7wL503PS1LHpQ\",\"text\":\"2, 1 din er moddhe apdate dean\"}}]}]}','2025-03-05 10:21:16','m_Twxxq-lf4BCXVpb3wwP_tmhPFVDN8crzh913P-FH7C0VUNpwcWt3Fj7J135Zc_g2y5Tz9-_9o7wL503PS1LHpQ','read','2025-03-05 10:21:16','0'),(2,1,'8816579891779321',1,'873133372697800','user','fb',NULL,'{\"object\":\"page\",\"entry\":[{\"time\":1741170076151,\"id\":\"873133372697800\",\"messaging\":[{\"sender\":{\"id\":\"8816579891779321\"},\"recipient\":{\"id\":\"873133372697800\"},\"timestamp\":1741166534553,\"message\":{\"mid\":\"m_Ew3Ud-lyubH5M7ESLpSpnoMZJOoIURmpfc8pUyrqiURgJFi1ITRmENvJ96NrXrZBXwHpsJpNoPQZTKne3RefSg\",\"text\":\"Price\"}}]}]}','2025-03-05 10:21:17','m_Ew3Ud-lyubH5M7ESLpSpnoMZJOoIURmpfc8pUyrqiURgJFi1ITRmENvJ96NrXrZBXwHpsJpNoPQZTKne3RefSg','read','2025-03-05 10:21:17','0'),(3,1,'6378414502186244',1,'873133372697800','user','fb',NULL,'{\"object\":\"page\",\"entry\":[{\"time\":1741170075946,\"id\":\"873133372697800\",\"messaging\":[{\"sender\":{\"id\":\"6378414502186244\"},\"recipient\":{\"id\":\"873133372697800\"},\"timestamp\":1741169972817,\"message\":{\"mid\":\"m_6tXgk_YoSJkV7wYAml1lnBCU_-bXIV-4v-suI29jDWaS_w8lW77yqVFAQJdeRzUueJ1H-DwFFHUhjytCababug\",\"text\":\".\"}}]}]}','2025-03-05 10:21:18','m_6tXgk_YoSJkV7wYAml1lnBCU_-bXIV-4v-suI29jDWaS_w8lW77yqVFAQJdeRzUueJ1H-DwFFHUhjytCababug','read','2025-03-05 10:21:18','0'),(4,1,'6203407966402693',1,'873133372697800','user','fb',NULL,'{\"object\":\"page\",\"entry\":[{\"time\":1741170076233,\"id\":\"873133372697800\",\"messaging\":[{\"sender\":{\"id\":\"6203407966402693\"},\"recipient\":{\"id\":\"873133372697800\"},\"timestamp\":1741166836924,\"message\":{\"mid\":\"m_7fh40lJ_G13aE-obkj5on4g9cXJw5cydyiszltUQ3Yq9RX109oJUCT9CDCJfIYDJs0odehVFmKcOhV25w3EeIQ\",\"attachments\":[{\"type\":\"image\",\"payload\":{\"url\":\"https:\\/\\/scontent.xx.fbcdn.net\\/v\\/t1.15752-9\\/482711834_2006061316568035_3859194017686060779_n.jpg?_nc_cat=107&ccb=1-7&_nc_sid=fc17b8&_nc_ohc=UFRgAQTESo4Q7kNvgHs118D&_nc_oc=AdjwBvbyQ9AiArV3eDANOg5bTc3JmnD3GC9zz0bzGzzSr7V2aryl9ER61iQDQjKFRh99PDB3CRVpXE-Dw4wfuC7c&_nc_ad=z-m&_nc_cid=0&_nc_zt=23&_nc_ht=scontent.xx&oh=03_Q7cD1gG2XzmkP-WYeOI9fuiyX-RtsRpIP4BqouEPVZWgVyfmMw&oe=67EF7C6F\"}}]}}]}]}','2025-03-05 10:21:18','m_7fh40lJ_G13aE-obkj5on4g9cXJw5cydyiszltUQ3Yq9RX109oJUCT9CDCJfIYDJs0odehVFmKcOhV25w3EeIQ','read','2025-03-05 10:21:18','0'),(5,1,'27228003303510142',1,'873133372697800','user','fb',NULL,'{\"object\":\"page\",\"entry\":[{\"time\":1741170076574,\"id\":\"873133372697800\",\"messaging\":[{\"sender\":{\"id\":\"27228003303510142\"},\"recipient\":{\"id\":\"873133372697800\"},\"timestamp\":1741165213006,\"message\":{\"mid\":\"m_j6kpygOLRbXY5XRXF6irsyJHglBPKizulbvw561-VPw7v6ad3ti65NpZAlv-A4OeuVENzLIC2mf4DDjeEDfSfw\",\"text\":\"Price\"}}]}]}','2025-03-05 10:21:28','m_j6kpygOLRbXY5XRXF6irsyJHglBPKizulbvw561-VPw7v6ad3ti65NpZAlv-A4OeuVENzLIC2mf4DDjeEDfSfw','read','2025-03-05 10:21:28','0'),(6,1,'9147069338734361',1,'873133372697800','user','fb',NULL,'{\"object\":\"page\",\"entry\":[{\"time\":1741170076893,\"id\":\"873133372697800\",\"messaging\":[{\"sender\":{\"id\":\"9147069338734361\"},\"recipient\":{\"id\":\"873133372697800\"},\"timestamp\":1741156609661,\"message\":{\"mid\":\"m_o4RnYbejzXFWvM_1ejPRhgEkWq4R5jc4n_BCLQJWALUvIL-RlDbGuF0_16iIqpKJLF_RsqwM6kgYUiVXGGVpHw\",\"attachments\":[{\"type\":\"image\",\"payload\":{\"url\":\"https:\\/\\/scontent.xx.fbcdn.net\\/v\\/t39.1997-6\\/39178562_1505197616293642_5411344281094848512_n.png?stp=cp0_dst-png&_nc_cat=1&ccb=1-7&_nc_sid=23dd7b&_nc_ohc=FH3bURIv_fMQ7kNvgE-gG3D&_nc_oc=AdjD3o-9zxW4AouHnMyr3Z6n0c80qS676oqSNECO-2mGRXIQeI6SaHflhWkcj9enz0a1QqEY9OkfSiCNLyJpkvSw&_nc_ad=z-m&_nc_cid=0&_nc_zt=26&_nc_ht=scontent.xx&_nc_gid=AoYkcZ81arHJ2KXmo5JhEb-&oh=00_AYArYybwgYHbFWohGfFj2qsUUXtUApKE-toScQWftMyc7g&oe=67CDE04B\",\"sticker_id\":369239263222822}}]}}]}]}','2025-03-05 10:21:29','m_o4RnYbejzXFWvM_1ejPRhgEkWq4R5jc4n_BCLQJWALUvIL-RlDbGuF0_16iIqpKJLF_RsqwM6kgYUiVXGGVpHw','read','2025-03-05 10:21:29','0'),(7,1,'9406047349431717',1,'873133372697800','user','fb',NULL,'{\"object\":\"page\",\"entry\":[{\"time\":1741170076505,\"id\":\"873133372697800\",\"messaging\":[{\"sender\":{\"id\":\"9406047349431717\"},\"recipient\":{\"id\":\"873133372697800\"},\"timestamp\":1741169436453,\"message\":{\"mid\":\"m_zdu1DBSHUOHcLvBVicOurrllQVok2AiRlx6hdVSNmFMFVh0xSq1tcZtSiSH8sFEBoC9CPTZYDn5W-rEhM0ESXA\",\"attachments\":[{\"type\":\"image\",\"payload\":{\"url\":\"https:\\/\\/scontent.xx.fbcdn.net\\/v\\/t39.1997-6\\/39178562_1505197616293642_5411344281094848512_n.png?stp=cp0_dst-png&_nc_cat=1&ccb=1-7&_nc_sid=23dd7b&_nc_ohc=FH3bURIv_fMQ7kNvgG3L2Dj&_nc_oc=Adi2BdpMzNe9RhVxVPUR8_RDmna9HYwrujB755JdgEM56wBNzlCuo_DaRCCccncsqz-MAv4biwy7L8Das1HyN7GX&_nc_ad=z-m&_nc_cid=0&_nc_zt=26&_nc_ht=scontent.xx&_nc_gid=AxI2CIrsQGgA8iQ1fEbry06&oh=00_AYCjQ79dZjkEWqG4ZL5pcCJkFtYTFmtTKIJ7zuwVlhc73A&oe=67CDE04B\",\"sticker_id\":369239263222822}}]}}]}]}','2025-03-05 10:21:30','m_zdu1DBSHUOHcLvBVicOurrllQVok2AiRlx6hdVSNmFMFVh0xSq1tcZtSiSH8sFEBoC9CPTZYDn5W-rEhM0ESXA','read','2025-03-05 10:21:30','0'),(8,1,'9393347317447996',1,'873133372697800','user','fb',NULL,'{\"object\":\"page\",\"entry\":[{\"time\":1741170076856,\"id\":\"873133372697800\",\"messaging\":[{\"sender\":{\"id\":\"9393347317447996\"},\"recipient\":{\"id\":\"873133372697800\"},\"timestamp\":1741161160271,\"message\":{\"mid\":\"m_Um_7njG3Vwlol-A6qzb4W06hWCZRtC6Ve03h8GzLiqLhAmTRHvF2a0DetJA5fENZCaF7xEn-P2LiJLAudhnjfA\",\"attachments\":[{\"type\":\"image\",\"payload\":{\"url\":\"https:\\/\\/scontent.xx.fbcdn.net\\/v\\/t1.15752-9\\/481763247_974922307608553_4696742880570786621_n.jpg?_nc_cat=103&ccb=1-7&_nc_sid=fc17b8&_nc_ohc=eK8bgcEni9wQ7kNvgGkZNvu&_nc_oc=AdgxSd59nJmuUyL30Ew3RTRy-tAKzN6gnvsm-obXREEJ_ubWGyB3j_4Rlcu0OUsRiBrLWnuYJPAOTY0_7gc8-vOa&_nc_ad=z-m&_nc_cid=0&_nc_zt=23&_nc_ht=scontent.xx&oh=03_Q7cD1gHJ7QuzzkChFM_CTBHeXrNoUrsuA0apv4k0d_-vf4Dthg&oe=67EF9C18\"}},{\"type\":\"image\",\"payload\":{\"url\":\"https:\\/\\/scontent.xx.fbcdn.net\\/v\\/t1.15752-9\\/482424851_586396767727527_2479511784764222193_n.jpg?_nc_cat=106&ccb=1-7&_nc_sid=fc17b8&_nc_ohc=lIoBvl5O4_0Q7kNvgHc1VFb&_nc_oc=AdideKyPKhvPzijnLjcff8rs42ithFnvVdhu98Vw8V0SiI-zQr3iS6bYLu-u4bllo6p06TgmbKgCScJG9f8umE4Q&_nc_ad=z-m&_nc_cid=0&_nc_zt=23&_nc_ht=scontent.xx&oh=03_Q7cD1gFF8AJfyrJ0n3OBWDgtoczBonc273hVVYE-P9I27EBi5g&oe=67EF974F\"}}]}}]}]}','2025-03-05 10:21:36','m_Um_7njG3Vwlol-A6qzb4W06hWCZRtC6Ve03h8GzLiqLhAmTRHvF2a0DetJA5fENZCaF7xEn-P2LiJLAudhnjfA','read','2025-03-05 10:21:36','0'),(9,1,'5498568140162282',1,'873133372697800','user','fb',NULL,'{\"object\":\"page\",\"entry\":[{\"time\":1741170076945,\"id\":\"873133372697800\",\"messaging\":[{\"sender\":{\"id\":\"5498568140162282\"},\"recipient\":{\"id\":\"873133372697800\"},\"timestamp\":1741152875017,\"message\":{\"mid\":\"m_8U7JNmjcwohO2g7i5pfWV51zbXDHPomeuKkWchbK6GznYApC4pkNkP4y5U8x_lwhQLNVICKQc98DwUpSUrtZhg\",\"text\":\"\\u09ac\\u09b0\\u09bf\\u09b6\\u09be\\u09b2 \\u09b8\\u09a6\\u09b0 \\u09ad\\u09be\\u099f\\u09bf\\u0996\\u09be\\u09a8\\u09be 01724876486\"}}]}]}','2025-03-05 10:21:36','m_8U7JNmjcwohO2g7i5pfWV51zbXDHPomeuKkWchbK6GznYApC4pkNkP4y5U8x_lwhQLNVICKQc98DwUpSUrtZhg','read','2025-03-05 10:21:36','0'),(10,1,'7197111887068693',1,'873133372697800','bot','fb',NULL,'{\"object\":\"page\",\"entry\":[{\"time\":1741170076843,\"id\":\"873133372697800\",\"messaging\":[{\"sender\":{\"id\":\"873133372697800\"},\"recipient\":{\"id\":\"7197111887068693\"},\"timestamp\":1741158799150,\"message\":{\"mid\":\"m_KtVzmfrO4j1HDQdI4Bxn1_qSlawP5MoiHW7i62p9jhNjZzjSinhXKbsHWa4ZN3L4burSGr3Jal6oLQRikEj2Gw\",\"is_echo\":true,\"text\":\"Name-\\nAddress -\\nThana-\\nPhone number -\\nSize-\\nDress photo\",\"app_id\":263902037430900}}]}]}','2025-03-05 10:22:33','m_KtVzmfrO4j1HDQdI4Bxn1_qSlawP5MoiHW7i62p9jhNjZzjSinhXKbsHWa4ZN3L4burSGr3Jal6oLQRikEj2Gw',NULL,'2025-03-05 10:22:33','1'),(11,1,'5240758442635939',1,'873133372697800','bot','fb',NULL,'{\"object\":\"page\",\"entry\":[{\"time\":1741170077007,\"id\":\"873133372697800\",\"messaging\":[{\"sender\":{\"id\":\"873133372697800\"},\"recipient\":{\"id\":\"5240758442635939\"},\"timestamp\":1741164724547,\"message\":{\"mid\":\"m_3q4dyxY6Dnvq-IlFj_x79LjqfUBtZl5YoRbMbafP-osUhi_B7YwdmEQi0nKfJLB2YxeM4OraTZWpwLUmgOkzAQ\",\"is_echo\":true,\"text\":\"Name\\nAddress\\nNumber\\nSize\\n\\nInside Chittagong 100tk dc\\nOutside Chattogram 150tk dc\\ud83d\\udc9c\",\"app_id\":263902037430900}}]}]}','2025-03-05 10:22:55','m_3q4dyxY6Dnvq-IlFj_x79LjqfUBtZl5YoRbMbafP-osUhi_B7YwdmEQi0nKfJLB2YxeM4OraTZWpwLUmgOkzAQ',NULL,'2025-03-05 10:22:55','1'),(12,1,'4740893592683794',1,'873133372697800','user','fb',NULL,'{\"object\":\"page\",\"entry\":[{\"time\":1741170076795,\"id\":\"873133372697800\",\"messaging\":[{\"sender\":{\"id\":\"4740893592683794\"},\"recipient\":{\"id\":\"873133372697800\"},\"timestamp\":1741166497261,\"message\":{\"mid\":\"m_jWgCgAiDMdEra4QL8Cc-7WAex5TGaz9yeLT_LHzD6om0go5Dx71-pIDXlfLs49U9UgrZqFqsysQ7v6Y7pHswtA\",\"text\":\"Pp\"}}]}]}','2025-03-05 10:22:59','m_jWgCgAiDMdEra4QL8Cc-7WAex5TGaz9yeLT_LHzD6om0go5Dx71-pIDXlfLs49U9UgrZqFqsysQ7v6Y7pHswtA','read','2025-03-05 10:22:59','0');
/*!40000 ALTER TABLE `livechat_messages` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `login_config`
--

DROP TABLE IF EXISTS `login_config`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `login_config` (
  `id` int NOT NULL AUTO_INCREMENT,
  `app_name` varchar(100) DEFAULT NULL,
  `api_key` varchar(250) DEFAULT NULL,
  `google_client_id` text,
  `google_client_secret` varchar(250) DEFAULT NULL,
  `status` enum('0','1') NOT NULL DEFAULT '1',
  `deleted` enum('0','1') NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `login_config`
--

LOCK TABLES `login_config` WRITE;
/*!40000 ALTER TABLE `login_config` DISABLE KEYS */;
/*!40000 ALTER TABLE `login_config` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `mailchimp_config`
--

DROP TABLE IF EXISTS `mailchimp_config`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `mailchimp_config` (
  `id` int NOT NULL AUTO_INCREMENT,
  `user_id` int NOT NULL,
  `tracking_name` varchar(200) NOT NULL,
  `service_type` enum('mailchimp','sendinblue','activecampaign','mautic','acelle') NOT NULL DEFAULT 'mailchimp',
  `api_url` text NOT NULL,
  `api_key` varchar(200) NOT NULL,
  `updated_at` datetime DEFAULT NULL,
  `inserted_at` datetime NOT NULL,
  PRIMARY KEY (`id`),
  KEY `FX_USER_ID` (`user_id`),
  CONSTRAINT `FX_USER_ID` FOREIGN KEY (`user_id`) REFERENCES `users` (`id`) ON DELETE CASCADE ON UPDATE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `mailchimp_config`
--

LOCK TABLES `mailchimp_config` WRITE;
/*!40000 ALTER TABLE `mailchimp_config` DISABLE KEYS */;
/*!40000 ALTER TABLE `mailchimp_config` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `mailchimp_list`
--

DROP TABLE IF EXISTS `mailchimp_list`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `mailchimp_list` (
  `id` int NOT NULL AUTO_INCREMENT,
  `mailchimp_config_id` int NOT NULL,
  `list_name` varchar(255) NOT NULL,
  `list_id` varchar(255) NOT NULL,
  `string_id` varchar(255) NOT NULL,
  `list_folder_id` int NOT NULL,
  `list_total_subscribers` int NOT NULL,
  `list_total_blacklisted` int NOT NULL,
  `updated_at` datetime DEFAULT NULL,
  `inserted_at` datetime NOT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `list` (`mailchimp_config_id`,`list_id`),
  CONSTRAINT `FK_MAILCHIMP_CONFIG_ID` FOREIGN KEY (`mailchimp_config_id`) REFERENCES `mailchimp_config` (`id`) ON DELETE CASCADE ON UPDATE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `mailchimp_list`
--

LOCK TABLES `mailchimp_list` WRITE;
/*!40000 ALTER TABLE `mailchimp_list` DISABLE KEYS */;
/*!40000 ALTER TABLE `mailchimp_list` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `menu`
--

DROP TABLE IF EXISTS `menu`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `menu` (
  `id` int NOT NULL AUTO_INCREMENT,
  `name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `icon` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `color` varchar(20) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `url` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `serial` int NOT NULL,
  `module_access` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `have_child` enum('1','0') CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '0',
  `only_admin` enum('1','0') CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '1',
  `only_member` enum('1','0') CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '0',
  `add_ons_id` int NOT NULL,
  `is_external` enum('0','1') CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '0',
  `header_text` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `is_menu_manager` enum('0','1') CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '0',
  `custom_page_id` int NOT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=55 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `menu`
--

LOCK TABLES `menu` WRITE;
/*!40000 ALTER TABLE `menu` DISABLE KEYS */;
INSERT INTO `menu` (`id`, `name`, `icon`, `color`, `url`, `serial`, `module_access`, `have_child`, `only_admin`, `only_member`, `add_ons_id`, `is_external`, `header_text`, `is_menu_manager`, `custom_page_id`) VALUES (35,'Dashboard','fa fa-fire','#FD1D1D','dashboard',1,'','0','0','0',0,'0','','0',0),(36,'Connect Accounts','fas fa-link','#32ff7e','social_accounts/index',5,'65','0','0','0',0,'0','Integrations','0',0),(37,'API Channels','fas fa-wifi','#32ff7e','integration',9,'','0','0','0',0,'0','','0',0),(38,'Comment Manager','fas fa-reply-all','','comment_automation/comment_growth_tools/fb',26,'80,204,206,220,222,223,251,256,278,279','0','0','0',0,'0','','0',0),(39,'Subscriber Manager','fas fa-user-circle','','subscriber_manager/bot_subscribers?media_type=fb',17,'66','0','0','0',0,'0','Facebook Tools','0',0),(40,'Live Chat','fas fa-headset','','livechat/load_livechat?media_type=fb',21,'82','0','0','0',0,'0','','0',0),(41,'Bot Manager','fas fa-robot','','messenger_bot/bot_list?media_type=fb',25,'199','0','0','0',0,'0','','0',0),(42,'Broadcasting','fas fa-paper-plane','','messenger_bot_broadcast?media_type=fb',29,'79,210,211,262,263,264','0','0','0',0,'0','','0',0),(43,'Ecommerce Store','fas fa-store-alt','#FD1D1D','ecommerce',37,'268','0','0','0',0,'0','Ecommerce Features','0',0),(44,'Social Posting','fa fa-share-square','#32ff7e','ultrapost',35,'100','0','0','0',0,'0','Posting Tools','0',0),(47,'System','fas fa-cogs','#FFC0CB','',49,'','1','1','0',0,'0','Administrations','0',0),(48,'Subscription','fas fa-credit-card','#FFC0CB','',53,'','1','1','0',0,'0','','0',0),(50,'Subscriber Manager','fas fa-user-circle','','subscriber_manager/bot_subscribers?media_type=ig',30,'66','0','0','0',0,'0','Instagram Tools','0',0),(51,'Live Chat','fas fa-headset','','livechat/load_livechat?media_type=ig',31,'82','0','0','0',0,'0','','0',0),(52,'Bot Manager','fas fa-robot','','messenger_bot/bot_list?media_type=ig',32,'320','0','0','0',0,'0','','0',0),(53,'Comment Manager','fas fa-reply-all','','comment_automation/comment_growth_tools/ig',33,'80,204,206,220,222,223,251,256,278,279','0','0','0',0,'0','','0',0);
/*!40000 ALTER TABLE `menu` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `menu_child_1`
--

DROP TABLE IF EXISTS `menu_child_1`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `menu_child_1` (
  `id` int NOT NULL AUTO_INCREMENT,
  `name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `url` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `serial` int NOT NULL,
  `icon` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `module_access` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `parent_id` int NOT NULL,
  `have_child` enum('1','0') CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '0',
  `only_admin` enum('1','0') CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '1',
  `only_member` enum('1','0') CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '0',
  `is_external` enum('0','1') CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '0',
  `is_menu_manager` enum('0','1') CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '0',
  `custom_page_id` int NOT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=102 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `menu_child_1`
--

LOCK TABLES `menu_child_1` WRITE;
/*!40000 ALTER TABLE `menu_child_1` DISABLE KEYS */;
INSERT INTO `menu_child_1` (`id`, `name`, `url`, `serial`, `icon`, `module_access`, `parent_id`, `have_child`, `only_admin`, `only_member`, `is_external`, `is_menu_manager`, `custom_page_id`) VALUES (84,'Settings','admin/settings',1,'fas fa-sliders-h','',47,'0','1','0','0','0',0),(85,'Cron Job','cron_job/index',5,'fas fa-clipboard-list','',47,'0','1','0','0','0',0),(86,'Language Editor','multi_language/index',9,'fas fa-language','',47,'0','1','0','0','0',0),(87,'Add-on Manager','addons/lists',13,'fas fa-plug','',47,'0','1','0','0','0',0),(88,'Theme Manager','themes/lists',17,'fas fa-palette','',47,'0','1','0','0','0',0),(89,'Blog Manager','blog/posts',21,'fas fa-newspaper','',47,'0','1','0','0','0',0),(90,'Menu Manager','menu_manager/index',25,'fas fa-bars','',47,'0','1','0','0','0',0),(91,'Check Update','update_system/update_list_v2',29,'fas fa-leaf','',47,'0','1','0','0','0',0),(92,'Package Manager','payment/package_manager',1,'fas fa-shopping-bag','',48,'0','1','0','0','0',0),(93,'User Manager','admin/user_manager',5,'fas fa-users','',48,'0','1','0','0','0',0),(94,'Announcement','announcement/full_list',9,'far fa-bell','',48,'0','1','0','0','0',0),(95,'Earning Summary','payment/earning_summary',13,'fas fa-tachometer-alt','',48,'0','1','0','0','0',0),(96,'Transaction Log','payment/transaction_log',17,'fas fa-history','',48,'0','1','0','0','0',0),(97,'Affiliate Users','affiliate_system/affiliate_users',1,'fas fa-users','',49,'0','1','0','0','0',0),(98,'Commission Settings','affiliate_system/affiliate_payment_settings',5,'fas fa-money-check-alt','',49,'0','1','0','0','0',0),(99,'Withdrawal Requests','affiliate_system/all_withdrawal_requests',9,'fas fa-hands-helping','',49,'0','1','0','0','0',0);
/*!40000 ALTER TABLE `menu_child_1` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `menu_child_2`
--

DROP TABLE IF EXISTS `menu_child_2`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `menu_child_2` (
  `id` int NOT NULL AUTO_INCREMENT,
  `name` varchar(255) NOT NULL,
  `url` varchar(255) NOT NULL,
  `serial` int NOT NULL,
  `icon` varchar(255) NOT NULL,
  `module_access` varchar(255) NOT NULL,
  `parent_child` int NOT NULL,
  `only_admin` enum('1','0') NOT NULL DEFAULT '1',
  `only_member` enum('1','0') NOT NULL DEFAULT '0',
  `is_external` enum('0','1') NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `menu_child_2`
--

LOCK TABLES `menu_child_2` WRITE;
/*!40000 ALTER TABLE `menu_child_2` DISABLE KEYS */;
/*!40000 ALTER TABLE `menu_child_2` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `messenger_bot`
--

DROP TABLE IF EXISTS `messenger_bot`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `messenger_bot` (
  `id` int NOT NULL AUTO_INCREMENT,
  `user_id` int NOT NULL,
  `page_id` int NOT NULL,
  `fb_page_id` varchar(200) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `template_type` enum('text','image','audio','video','file','quick reply','text with buttons','generic template','carousel','media','One Time Notification','User Input Flow','Ecommerce') CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'text',
  `bot_type` enum('generic','keyword') CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'generic',
  `keyword_type` enum('reply','post-back','no match','get-started','email-quick-reply','phone-quick-reply','location-quick-reply','birthday-quick-reply','story-mention','story-private-reply','message-unsend-private-reply') CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'reply',
  `keywords` mediumtext CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `message` mediumtext CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `conditions` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `message_condition_false` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `buttons` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `images` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `audio` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `video` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `file` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `status` enum('0','1') CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '1',
  `bot_name` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `postback_id` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `last_replied_at` datetime DEFAULT NULL,
  `is_template` enum('0','1') CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `broadcaster_labels` tinytext CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL COMMENT 'comma separated',
  `drip_campaign_id` int NOT NULL,
  `remove_label_ids` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `remove_sequence_campaign_id` int NOT NULL,
  `team_assign_role_id` int NOT NULL,
  `team_assign_user_id` int NOT NULL,
  `visual_flow_type` enum('flow','general') CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'general',
  `media_type` enum('fb','ig') CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'fb',
  `visual_flow_campaign_id` int NOT NULL,
  `trigger_matching_type` enum('exact','string') CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'exact' COMMENT 'exact keyword or string match',
  PRIMARY KEY (`id`),
  KEY `user_id` (`user_id`,`page_id`),
  KEY `xbot_query` (`fb_page_id`(191),`keyword_type`,`postback_id`(191))
) ENGINE=InnoDB AUTO_INCREMENT=31 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `messenger_bot`
--

LOCK TABLES `messenger_bot` WRITE;
/*!40000 ALTER TABLE `messenger_bot` DISABLE KEYS */;
INSERT INTO `messenger_bot` (`id`, `user_id`, `page_id`, `fb_page_id`, `template_type`, `bot_type`, `keyword_type`, `keywords`, `message`, `conditions`, `message_condition_false`, `buttons`, `images`, `audio`, `video`, `file`, `status`, `bot_name`, `postback_id`, `last_replied_at`, `is_template`, `broadcaster_labels`, `drip_campaign_id`, `remove_label_ids`, `remove_sequence_campaign_id`, `team_assign_role_id`, `team_assign_user_id`, `visual_flow_type`, `media_type`, `visual_flow_campaign_id`, `trigger_matching_type`) VALUES (1,1,2,'873133372697800','text','generic','post-back','','{\"1\":{\"recipient\":{\"id\":\"replace_id\"},\"message\":{\"typing_on_settings\":\"off\",\"delay_in_reply\":\"0\",\"text_reply_unique_id\":\"EKp6WxW7lHlVDBK\",\"template_type\":\"text_with_buttons\",\"attachment\":{\"type\":\"template\",\"payload\":{\"template_type\":\"button\",\"text\":\"You have been successfully unsubscribed from our list. It is sad to see you go. It is not the same without you! You can join back by clicking the button below.\",\"buttons\":[{\"type\":\"postback\",\"payload\":\"RESUBSCRIBE_QUICK_BOXER\",\"title\":\"Resubscribe\"}]}}}}}','','','','','','','','1','UNSUBSCRIBE BOT','UNSUBSCRIBE_QUICK_BOXER','0000-00-00 00:00:00','1','',0,'',0,0,0,'flow','fb',1,'exact'),(2,1,2,'873133372697800','text','generic','post-back','','{\"1\":{\"recipient\":{\"id\":\"replace_id\"},\"message\":{\"typing_on_settings\":\"off\",\"delay_in_reply\":\"0\",\"text_reply_unique_id\":\"EKp6WxW7lHlVDBK\",\"template_type\":\"text_with_buttons\",\"attachment\":{\"type\":\"template\",\"payload\":{\"template_type\":\"button\",\"text\":\"Welcome back! We have not seen you for a while. You will no longer miss our important updates.\",\"buttons\":[{\"type\":\"postback\",\"payload\":\"UNSUBSCRIBE_QUICK_BOXER\",\"title\":\"Unsubscribe\"}]}}}}}','','','','','','','','1','RESUBSCRIBE BOT','RESUBSCRIBE_QUICK_BOXER','0000-00-00 00:00:00','1','',0,'',0,0,0,'flow','fb',2,'exact'),(3,1,2,'873133372697800','text','generic','email-quick-reply','','{\"1\":{\"recipient\":{\"id\":\"replace_id\"},\"message\":{\"typing_on_settings\":\"off\",\"delay_in_reply\":\"0\",\"text_reply_unique_id\":\"EKp6WxW7lHlVDBK\",\"template_type\":\"text\",\"text\":\"Thanks, we have received your email. We will keep you updated. Thank you for being with us.\"}}}','','','','','','','','1','QUICK REPLY EMAIL REPLY','QUICK_REPLY_EMAIL_REPLY_BOT','0000-00-00 00:00:00','0','',0,'',0,0,0,'flow','fb',3,'exact'),(4,1,2,'873133372697800','text','generic','phone-quick-reply','','{\"1\":{\"recipient\":{\"id\":\"replace_id\"},\"message\":{\"typing_on_settings\":\"off\",\"delay_in_reply\":\"0\",\"text_reply_unique_id\":\"EKp6WxW7lHlVDBK\",\"template_type\":\"text\",\"text\":\"Thanks, we have received your phone number. We will keep you updated. Thank you for being with us.\"}}}','','','','','','','','1','QUICK REPLY PHONE REPLY','QUICK_REPLY_PHONE_REPLY_BOT','0000-00-00 00:00:00','0','',0,'',0,0,0,'flow','fb',4,'exact'),(5,1,2,'873133372697800','text','generic','location-quick-reply','','{\"1\":{\"recipient\":{\"id\":\"replace_id\"},\"message\":{\"typing_on_settings\":\"off\",\"delay_in_reply\":\"0\",\"text_reply_unique_id\":\"EKp6WxW7lHlVDBK\",\"template_type\":\"text\",\"text\":\"Thanks, we have received your location. Thank you for being with us.\"}}}','','','','','','','','1','QUICK REPLY LOCATION REPLY','QUICK_REPLY_LOCATION_REPLY_BOT','0000-00-00 00:00:00','0','',0,'',0,0,0,'flow','fb',5,'exact'),(6,1,2,'873133372697800','text','generic','birthday-quick-reply','','{\"1\":{\"recipient\":{\"id\":\"replace_id\"},\"message\":{\"typing_on_settings\":\"off\",\"delay_in_reply\":\"0\",\"text_reply_unique_id\":\"EKp6WxW7lHlVDBK\",\"template_type\":\"text\",\"text\":\"Thanks, we have received your birthday. Thank you for being with us.\"}}}','','','','','','','','1','QUICK REPLY BIRTHDAY REPLY','QUICK_REPLY_BIRTHDAY_REPLY_BOT','0000-00-00 00:00:00','0','',0,'',0,0,0,'flow','fb',6,'exact'),(7,1,2,'873133372697800','text','generic','post-back','','{\"1\":{\"recipient\":{\"id\":\"replace_id\"},\"message\":{\"typing_on_settings\":\"off\",\"delay_in_reply\":\"0\",\"text_reply_unique_id\":\"EKp6WxW7lHlVDBK\",\"template_type\":\"text_with_buttons\",\"attachment\":{\"type\":\"template\",\"payload\":{\"template_type\":\"button\",\"text\":\"Thanks! It is a pleasure talking to you. One of our team members will reply to you soon. If you want to chat with me again, just click the button below.\",\"buttons\":[{\"type\":\"postback\",\"payload\":\"YES_START_CHAT_WITH_BOT\",\"title\":\"Resume Chat with Bot\"}]}}}}}','','','','','','','','1','CHAT WITH HUMAN','YES_START_CHAT_WITH_HUMAN','0000-00-00 00:00:00','1','',0,'',0,0,0,'flow','fb',7,'exact'),(8,1,2,'873133372697800','text','generic','post-back','','{\"1\":{\"recipient\":{\"id\":\"replace_id\"},\"message\":{\"typing_on_settings\":\"off\",\"delay_in_reply\":\"0\",\"text_reply_unique_id\":\"EKp6WxW7lHlVDBK\",\"template_type\":\"text_with_buttons\",\"attachment\":{\"type\":\"template\",\"payload\":{\"template_type\":\"button\",\"text\":\"I am glad to have you back. I will try my best to answer all questions. If you want to start chatting with humans again you can simply click the button below.\",\"buttons\":[{\"type\":\"postback\",\"payload\":\"YES_START_CHAT_WITH_HUMAN\",\"title\":\"Chat with human\"}]}}}}}','','','','','','','','1','CHAT WITH BOT','YES_START_CHAT_WITH_BOT','0000-00-00 00:00:00','1','',0,'',0,0,0,'flow','fb',8,'exact'),(9,1,2,'873133372697800','text','generic','get-started','','{\"out\":[{\"reply\":{\"webhook_response\":[{\"recipient\":{\"id\":\"replace_id\"},\"message\":{\"typing_on_settings\":\"off\",\"delay_in_reply\":\"0\",\"text_reply_unique_id\":\"EKp6WxW7lHlVDBK\",\"template_type\":\"text\",\"text\":\"{{user_first_name}}  {{user_last_name}},\\n\\u0986\\u09ae\\u09be\\u09a6\\u09c7\\u09b0 \\u09aa\\u09c7\\u0987\\u099c\\u09c7 \\u09b8\\u09cd\\u09ac\\u09be\\u0997\\u09a4\\u09ae, \\u09a8\\u09bf\\u099a\\u09c7\\u09b0 \\u09ae\\u09c7\\u09a8\\u09cd\\u09af\\u09c1 \\u09a5\\u09c7\\u0995\\u09c7 \\u09ac\\u09be\\u099b\\u09be\\u0987 \\u0995\\u09b0\\u09c1\\u09a8 \\u0985\\u09a5\\u09ac\\u09be \\u09a1\\u09cd\\u09b0\\u09c7\\u09b8\\u09c7\\u09b0 \\u0989\\u09aa\\u09b0 \\u09a5\\u09be\\u0995\\u09be \\u0995\\u09cb\\u09a1 (Example: ABC1234) \\u099f\\u09bf \\u09b2\\u09bf\\u0996\\u09c1\\u09a8\\u0964\\n\\u0995\\u09cb\\u09a1 \\u099c\\u09be\\u09a8\\u09be \\u09a8\\u09be \\u09a5\\u09be\\u0995\\u09b2\\u09c7 \\u0986\\u09ae\\u09be\\u09a6\\u09c7\\u09b0 \\u0993\\u09df\\u09c7\\u09ac\\u09b8\\u09be\\u0987\\u099f \\u09ad\\u09bf\\u099c\\u09bf\\u099f \\u0995\\u09b0\\u09c1\\u09a8 https:\\/\\/oasisoutfit.com\\/catalog\\n\\n\\n\\n\"}}]}}]}','','','','','','','','1','GET STARTED','','0000-00-00 00:00:00','0','',0,'',0,0,0,'flow','fb',9,'exact'),(10,1,2,'873133372697800','text','generic','no match','','{\"1\":{\"recipient\":{\"id\":\"replace_id\"},\"message\":{\"typing_on_settings\":\"off\",\"delay_in_reply\":\"0\",\"text_reply_unique_id\":\"EKp6WxW7lHlVDBK\",\"template_type\":\"text\",\"text\":\"Sorry, we could not find any content to show. One of our team members will reply to you soon.\"}}}','','','','','','','','1','NO MATCH FOUND','','0000-00-00 00:00:00','0','',0,'',0,0,0,'flow','fb',10,'exact'),(11,1,2,'873133372697800','text','generic','no match','','{\"1\":{\"recipient\":{\"id\":\"replace_id\"},\"message\":{\"typing_on_settings\":\"off\",\"delay_in_reply\":\"0\",\"text_reply_unique_id\":\"EKp6WxW7lHlVDBK\",\"template_type\":\"text\",\"text\":\"Sorry, we could not find any content to show. One of our team members will reply to you soon.\"}}}','','','','','','','','1','NO MATCH FOUND','','0000-00-00 00:00:00','0','',0,'',0,0,0,'flow','ig',11,'exact'),(12,1,2,'873133372697800','text','generic','story-mention','','{\"1\":{\"recipient\":{\"id\":\"replace_id\"},\"message\":{\"typing_on_settings\":\"off\",\"delay_in_reply\":0,\"text_reply_unique_id\":\"HjKksxHRQtGc7hq\",\"template_type\":\"text\",\"text\":\"Thanks for mentioning me.\"}}}','','','','','','','','1','STORY MENTION','STORY_MENTION','0000-00-00 00:00:00','0','',0,'',0,0,0,'flow','ig',12,'exact'),(13,1,2,'873133372697800','text','generic','story-private-reply','','{\"1\":{\"recipient\":{\"id\":\"replace_id\"},\"message\":{\"typing_on_settings\":\"off\",\"delay_in_reply\":0,\"text_reply_unique_id\":\"HjKksxHRQtGc7hq\",\"template_type\":\"text\",\"text\":\"Thanks for your comment on my story.\"}}}','','','','','','','','1','STORY PRIVATE REPLY','STORY_PRIVATE_REPLY','0000-00-00 00:00:00','0','',0,'',0,0,0,'flow','ig',13,'exact'),(14,1,2,'873133372697800','text','generic','message-unsend-private-reply','','{\"1\":{\"recipient\":{\"id\":\"replace_id\"},\"message\":{\"typing_on_settings\":\"off\",\"delay_in_reply\":0,\"text_reply_unique_id\":\"HjKksxHRQtGc7hq\",\"template_type\":\"text\",\"text\":\"As you have deleted your message, we want to ensure you that our bot does not save any of your messages. So it will not be saved in our bot. Thanks\"}}}','','','','','','','','1','MESSAGE UNSEND PRIVATE REPLY','MESSAGE_UNSEND_PRIVATE_REPLY','0000-00-00 00:00:00','0','',0,'',0,0,0,'flow','ig',14,'exact'),(15,1,1,'447532628432343','text','generic','post-back','','{\"1\":{\"recipient\":{\"id\":\"replace_id\"},\"message\":{\"typing_on_settings\":\"off\",\"delay_in_reply\":\"0\",\"text_reply_unique_id\":\"EKp6WxW7lHlVDBK\",\"template_type\":\"text_with_buttons\",\"attachment\":{\"type\":\"template\",\"payload\":{\"template_type\":\"button\",\"text\":\"You have been successfully unsubscribed from our list. It is sad to see you go. It is not the same without you! You can join back by clicking the button below.\",\"buttons\":[{\"type\":\"postback\",\"payload\":\"RESUBSCRIBE_QUICK_BOXER\",\"title\":\"Resubscribe\"}]}}}}}','','','','','','','','1','UNSUBSCRIBE BOT','UNSUBSCRIBE_QUICK_BOXER','0000-00-00 00:00:00','1','',0,'',0,0,0,'flow','fb',15,'exact'),(16,1,1,'447532628432343','text','generic','post-back','','{\"1\":{\"recipient\":{\"id\":\"replace_id\"},\"message\":{\"typing_on_settings\":\"off\",\"delay_in_reply\":\"0\",\"text_reply_unique_id\":\"EKp6WxW7lHlVDBK\",\"template_type\":\"text_with_buttons\",\"attachment\":{\"type\":\"template\",\"payload\":{\"template_type\":\"button\",\"text\":\"Welcome back! We have not seen you for a while. You will no longer miss our important updates.\",\"buttons\":[{\"type\":\"postback\",\"payload\":\"UNSUBSCRIBE_QUICK_BOXER\",\"title\":\"Unsubscribe\"}]}}}}}','','','','','','','','1','RESUBSCRIBE BOT','RESUBSCRIBE_QUICK_BOXER','0000-00-00 00:00:00','1','',0,'',0,0,0,'flow','fb',16,'exact'),(17,1,1,'447532628432343','text','generic','email-quick-reply','','{\"1\":{\"recipient\":{\"id\":\"replace_id\"},\"message\":{\"typing_on_settings\":\"off\",\"delay_in_reply\":\"0\",\"text_reply_unique_id\":\"EKp6WxW7lHlVDBK\",\"template_type\":\"text\",\"text\":\"Thanks, we have received your email. We will keep you updated. Thank you for being with us.\"}}}','','','','','','','','1','QUICK REPLY EMAIL REPLY','QUICK_REPLY_EMAIL_REPLY_BOT','0000-00-00 00:00:00','0','',0,'',0,0,0,'flow','fb',17,'exact'),(18,1,1,'447532628432343','text','generic','phone-quick-reply','','{\"1\":{\"recipient\":{\"id\":\"replace_id\"},\"message\":{\"typing_on_settings\":\"off\",\"delay_in_reply\":\"0\",\"text_reply_unique_id\":\"EKp6WxW7lHlVDBK\",\"template_type\":\"text\",\"text\":\"Thanks, we have received your phone number. We will keep you updated. Thank you for being with us.\"}}}','','','','','','','','1','QUICK REPLY PHONE REPLY','QUICK_REPLY_PHONE_REPLY_BOT','0000-00-00 00:00:00','0','',0,'',0,0,0,'flow','fb',18,'exact'),(19,1,1,'447532628432343','text','generic','location-quick-reply','','{\"1\":{\"recipient\":{\"id\":\"replace_id\"},\"message\":{\"typing_on_settings\":\"off\",\"delay_in_reply\":\"0\",\"text_reply_unique_id\":\"EKp6WxW7lHlVDBK\",\"template_type\":\"text\",\"text\":\"Thanks, we have received your location. Thank you for being with us.\"}}}','','','','','','','','1','QUICK REPLY LOCATION REPLY','QUICK_REPLY_LOCATION_REPLY_BOT','0000-00-00 00:00:00','0','',0,'',0,0,0,'flow','fb',19,'exact'),(20,1,1,'447532628432343','text','generic','birthday-quick-reply','','{\"1\":{\"recipient\":{\"id\":\"replace_id\"},\"message\":{\"typing_on_settings\":\"off\",\"delay_in_reply\":\"0\",\"text_reply_unique_id\":\"EKp6WxW7lHlVDBK\",\"template_type\":\"text\",\"text\":\"Thanks, we have received your birthday. Thank you for being with us.\"}}}','','','','','','','','1','QUICK REPLY BIRTHDAY REPLY','QUICK_REPLY_BIRTHDAY_REPLY_BOT','0000-00-00 00:00:00','0','',0,'',0,0,0,'flow','fb',20,'exact'),(21,1,1,'447532628432343','text','generic','post-back','','{\"1\":{\"recipient\":{\"id\":\"replace_id\"},\"message\":{\"typing_on_settings\":\"off\",\"delay_in_reply\":\"0\",\"text_reply_unique_id\":\"EKp6WxW7lHlVDBK\",\"template_type\":\"text_with_buttons\",\"attachment\":{\"type\":\"template\",\"payload\":{\"template_type\":\"button\",\"text\":\"Thanks! It is a pleasure talking to you. One of our team members will reply to you soon. If you want to chat with me again, just click the button below.\",\"buttons\":[{\"type\":\"postback\",\"payload\":\"YES_START_CHAT_WITH_BOT\",\"title\":\"Resume Chat with Bot\"}]}}}}}','','','','','','','','1','CHAT WITH HUMAN','YES_START_CHAT_WITH_HUMAN','0000-00-00 00:00:00','1','',0,'',0,0,0,'flow','fb',21,'exact'),(22,1,1,'447532628432343','text','generic','post-back','','{\"1\":{\"recipient\":{\"id\":\"replace_id\"},\"message\":{\"typing_on_settings\":\"off\",\"delay_in_reply\":\"0\",\"text_reply_unique_id\":\"EKp6WxW7lHlVDBK\",\"template_type\":\"text_with_buttons\",\"attachment\":{\"type\":\"template\",\"payload\":{\"template_type\":\"button\",\"text\":\"I am glad to have you back. I will try my best to answer all questions. If you want to start chatting with humans again you can simply click the button below.\",\"buttons\":[{\"type\":\"postback\",\"payload\":\"YES_START_CHAT_WITH_HUMAN\",\"title\":\"Chat with human\"}]}}}}}','','','','','','','','1','CHAT WITH BOT','YES_START_CHAT_WITH_BOT','0000-00-00 00:00:00','1','',0,'',0,0,0,'flow','fb',22,'exact'),(23,1,1,'447532628432343','text','generic','get-started','','{\"out\":[{\"reply\":{\"webhook_response\":[{\"recipient\":{\"id\":\"replace_id\"},\"message\":{\"typing_on_settings\":\"off\",\"delay_in_reply\":\"0\",\"text_reply_unique_id\":\"EKp6WxW7lHlVDBK\",\"template_type\":\"text\",\"text\":\"{{user_first_name}}  {{user_last_name}},\\n\\u0986\\u09ae\\u09be\\u09a6\\u09c7\\u09b0 \\u09aa\\u09c7\\u0987\\u099c\\u09c7 \\u09b8\\u09cd\\u09ac\\u09be\\u0997\\u09a4\\u09ae, \\u09a8\\u09bf\\u099a\\u09c7\\u09b0 \\u09ae\\u09c7\\u09a8\\u09cd\\u09af\\u09c1 \\u09a5\\u09c7\\u0995\\u09c7 \\u09ac\\u09be\\u099b\\u09be\\u0987 \\u0995\\u09b0\\u09c1\\u09a8 \\u0985\\u09a5\\u09ac\\u09be \\u09a1\\u09cd\\u09b0\\u09c7\\u09b8\\u09c7\\u09b0 \\u0989\\u09aa\\u09b0 \\u09a5\\u09be\\u0995\\u09be \\u0995\\u09cb\\u09a1 (Example: ABC1234) \\u099f\\u09bf \\u09b2\\u09bf\\u0996\\u09c1\\u09a8\\u0964\\n\\u0995\\u09cb\\u09a1 \\u099c\\u09be\\u09a8\\u09be \\u09a8\\u09be \\u09a5\\u09be\\u0995\\u09b2\\u09c7 \\u0986\\u09ae\\u09be\\u09a6\\u09c7\\u09b0 \\u0993\\u09df\\u09c7\\u09ac\\u09b8\\u09be\\u0987\\u099f \\u09ad\\u09bf\\u099c\\u09bf\\u099f \\u0995\\u09b0\\u09c1\\u09a8 https:\\/\\/oasisoutfit.com\\/catalog\\n\\n\\n\\n\"}}]}}]}','','','','','','','','1','GET STARTED','','0000-00-00 00:00:00','0','',0,'',0,0,0,'flow','fb',23,'exact'),(24,1,1,'447532628432343','text','generic','no match','','{\"1\":{\"recipient\":{\"id\":\"replace_id\"},\"message\":{\"typing_on_settings\":\"off\",\"delay_in_reply\":\"0\",\"text_reply_unique_id\":\"EKp6WxW7lHlVDBK\",\"template_type\":\"text\",\"text\":\"Sorry, we could not find any content to show. One of our team members will reply to you soon.\"}}}','','','','','','','','1','NO MATCH FOUND','','0000-00-00 00:00:00','0','',0,'',0,0,0,'flow','fb',24,'exact'),(25,1,1,'447532628432343','text','generic','no match','','{\"1\":{\"recipient\":{\"id\":\"replace_id\"},\"message\":{\"typing_on_settings\":\"off\",\"delay_in_reply\":\"0\",\"text_reply_unique_id\":\"EKp6WxW7lHlVDBK\",\"template_type\":\"text\",\"text\":\"Sorry, we could not find any content to show. One of our team members will reply to you soon.\"}}}','','','','','','','','1','NO MATCH FOUND','','0000-00-00 00:00:00','0','',0,'',0,0,0,'flow','ig',25,'exact'),(26,1,1,'447532628432343','text','generic','story-mention','','{\"1\":{\"recipient\":{\"id\":\"replace_id\"},\"message\":{\"typing_on_settings\":\"off\",\"delay_in_reply\":0,\"text_reply_unique_id\":\"HjKksxHRQtGc7hq\",\"template_type\":\"text\",\"text\":\"Thanks for mentioning me.\"}}}','','','','','','','','1','STORY MENTION','STORY_MENTION','0000-00-00 00:00:00','0','',0,'',0,0,0,'flow','ig',26,'exact'),(27,1,1,'447532628432343','text','generic','story-private-reply','','{\"1\":{\"recipient\":{\"id\":\"replace_id\"},\"message\":{\"typing_on_settings\":\"off\",\"delay_in_reply\":0,\"text_reply_unique_id\":\"HjKksxHRQtGc7hq\",\"template_type\":\"text\",\"text\":\"Thanks for your comment on my story.\"}}}','','','','','','','','1','STORY PRIVATE REPLY','STORY_PRIVATE_REPLY','0000-00-00 00:00:00','0','',0,'',0,0,0,'flow','ig',27,'exact'),(28,1,1,'447532628432343','text','generic','message-unsend-private-reply','','{\"1\":{\"recipient\":{\"id\":\"replace_id\"},\"message\":{\"typing_on_settings\":\"off\",\"delay_in_reply\":0,\"text_reply_unique_id\":\"HjKksxHRQtGc7hq\",\"template_type\":\"text\",\"text\":\"As you have deleted your message, we want to ensure you that our bot does not save any of your messages. So it will not be saved in our bot. Thanks\"}}}','','','','','','','','1','MESSAGE UNSEND PRIVATE REPLY','MESSAGE_UNSEND_PRIVATE_REPLY','0000-00-00 00:00:00','0','',0,'',0,0,0,'flow','ig',28,'exact'),(29,1,1,'447532628432343','text','generic','reply','','{\"out\":[{\"reply\":{\"webhook_response\":[{\"recipient\":{\"id\":\"replace_id\"},\"message\":{\"typing_on_settings\":\"off\",\"delay_in_reply\":\"0\",\"text_reply_unique_id\":\"EKp6WxW7lHlVDBK\",\"template_type\":\"text\",\"text\":\"{{user_first_name}}  {{user_last_name}},\\n\\u0986\\u09ae\\u09be\\u09a6\\u09c7\\u09b0 \\u09aa\\u09c7\\u0987\\u099c\\u09c7 \\u09b8\\u09cd\\u09ac\\u09be\\u0997\\u09a4\\u09ae, \\u09a8\\u09bf\\u099a\\u09c7\\u09b0 \\u09ae\\u09c7\\u09a8\\u09cd\\u09af\\u09c1 \\u09a5\\u09c7\\u0995\\u09c7 \\u09ac\\u09be\\u099b\\u09be\\u0987 \\u0995\\u09b0\\u09c1\\u09a8 \\u0985\\u09a5\\u09ac\\u09be \\u09a1\\u09cd\\u09b0\\u09c7\\u09b8\\u09c7\\u09b0 \\u0989\\u09aa\\u09b0 \\u09a5\\u09be\\u0995\\u09be \\u0995\\u09cb\\u09a1 (Example: ABC1234) \\u099f\\u09bf \\u09b2\\u09bf\\u0996\\u09c1\\u09a8\\u0964\\n\\u0995\\u09cb\\u09a1 \\u099c\\u09be\\u09a8\\u09be \\u09a8\\u09be \\u09a5\\u09be\\u0995\\u09b2\\u09c7 \\u0986\\u09ae\\u09be\\u09a6\\u09c7\\u09b0 \\u0993\\u09df\\u09c7\\u09ac\\u09b8\\u09be\\u0987\\u099f \\u09ad\\u09bf\\u099c\\u09bf\\u099f \\u0995\\u09b0\\u09c1\\u09a8 https:\\/\\/oasisoutfit.com\\/catalog\\n\\n\\n\\n\"}}]}}]}','','','','','','','','1','Get Started Template','3NYSXhmp_yz-Jvt9',NULL,'1','',0,'',0,0,0,'flow','fb',23,'exact'),(30,1,2,'873133372697800','text','generic','reply','','{\"out\":[{\"reply\":{\"webhook_response\":[{\"recipient\":{\"id\":\"replace_id\"},\"message\":{\"typing_on_settings\":\"off\",\"delay_in_reply\":\"0\",\"text_reply_unique_id\":\"EKp6WxW7lHlVDBK\",\"template_type\":\"text\",\"text\":\"{{user_first_name}}  {{user_last_name}},\\n\\u0986\\u09ae\\u09be\\u09a6\\u09c7\\u09b0 \\u09aa\\u09c7\\u0987\\u099c\\u09c7 \\u09b8\\u09cd\\u09ac\\u09be\\u0997\\u09a4\\u09ae, \\u09a8\\u09bf\\u099a\\u09c7\\u09b0 \\u09ae\\u09c7\\u09a8\\u09cd\\u09af\\u09c1 \\u09a5\\u09c7\\u0995\\u09c7 \\u09ac\\u09be\\u099b\\u09be\\u0987 \\u0995\\u09b0\\u09c1\\u09a8 \\u0985\\u09a5\\u09ac\\u09be \\u09a1\\u09cd\\u09b0\\u09c7\\u09b8\\u09c7\\u09b0 \\u0989\\u09aa\\u09b0 \\u09a5\\u09be\\u0995\\u09be \\u0995\\u09cb\\u09a1 (Example: ABC1234) \\u099f\\u09bf \\u09b2\\u09bf\\u0996\\u09c1\\u09a8\\u0964\\n\\u0995\\u09cb\\u09a1 \\u099c\\u09be\\u09a8\\u09be \\u09a8\\u09be \\u09a5\\u09be\\u0995\\u09b2\\u09c7 \\u0986\\u09ae\\u09be\\u09a6\\u09c7\\u09b0 \\u0993\\u09df\\u09c7\\u09ac\\u09b8\\u09be\\u0987\\u099f \\u09ad\\u09bf\\u099c\\u09bf\\u099f \\u0995\\u09b0\\u09c1\\u09a8 https:\\/\\/oasisoutfit.com\\/catalog\\n\\n\\n\\n\"}}]}}]}','','','','','','','','1','Get Started Template','3NYSXhmp_yz-Jvt9',NULL,'1','',0,'',0,0,0,'flow','fb',9,'exact');
/*!40000 ALTER TABLE `messenger_bot` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `messenger_bot_broadcast_contact_group`
--

DROP TABLE IF EXISTS `messenger_bot_broadcast_contact_group`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `messenger_bot_broadcast_contact_group` (
  `id` int NOT NULL AUTO_INCREMENT,
  `page_id` int NOT NULL,
  `group_name` varchar(255) NOT NULL,
  `user_id` int NOT NULL,
  `label_id` varchar(250) DEFAULT NULL,
  `social_media` enum('fb','ig') NOT NULL DEFAULT 'fb',
  `deleted` enum('0','1') DEFAULT '0',
  `unsubscribe` enum('0','1') NOT NULL DEFAULT '0',
  `invisible` enum('0','1') NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  UNIQUE KEY `page_id` (`page_id`,`group_name`,`social_media`)
) ENGINE=InnoDB AUTO_INCREMENT=5 DEFAULT CHARSET=utf8mb3;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `messenger_bot_broadcast_contact_group`
--

LOCK TABLES `messenger_bot_broadcast_contact_group` WRITE;
/*!40000 ALTER TABLE `messenger_bot_broadcast_contact_group` DISABLE KEYS */;
INSERT INTO `messenger_bot_broadcast_contact_group` (`id`, `page_id`, `group_name`, `user_id`, `label_id`, `social_media`, `deleted`, `unsubscribe`, `invisible`) VALUES (1,2,'Unsubscribe',1,'','fb','0','1','0'),(2,2,'SystemInvisible01',1,'','fb','0','0','1'),(3,1,'Unsubscribe',1,'','fb','0','1','0'),(4,1,'SystemInvisible01',1,'','fb','0','0','1');
/*!40000 ALTER TABLE `messenger_bot_broadcast_contact_group` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `messenger_bot_broadcast_serial`
--

DROP TABLE IF EXISTS `messenger_bot_broadcast_serial`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `messenger_bot_broadcast_serial` (
  `id` int NOT NULL AUTO_INCREMENT,
  `user_id` int NOT NULL,
  `broadcast_type` enum('Non Promo','24H Promo','OTN','Recurring') CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'Non Promo',
  `message_tag` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'NON_PROMOTIONAL_SUBSCRIPTION',
  `page_id` int NOT NULL,
  `fb_page_id` varchar(200) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `page_name` varchar(200) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `label_ids` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `excluded_label_ids` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `label_names` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `user_gender` varchar(20) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `user_time_zone` varchar(20) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `user_locale` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `template_type` enum('text','image','audio','video','file','quick reply','text with buttons','generic template','carousel','list','media') CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'text',
  `message` mediumtext CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `buttons` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `images` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `audio` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `video` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `file` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `campaign_name` varchar(200) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `postback_id` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `otn_postback_id` varchar(191) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL COMMENT 'otn_postback table id',
  `created_at` datetime NOT NULL,
  `schedule_type` enum('now','later') CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `schedule_time` datetime NOT NULL,
  `timezone` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `error_message` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `sent_count` int NOT NULL,
  `posting_status` enum('0','1','2','3','4') CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `is_try_again` enum('0','1') CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '1',
  `last_try_error_count` int NOT NULL,
  `total_thread` int NOT NULL,
  `successfully_sent` int NOT NULL,
  `successfully_delivered` int NOT NULL,
  `successfully_opened` int NOT NULL,
  `successfully_clicked` int NOT NULL,
  `completed_at` datetime NOT NULL,
  `social_media` enum('fb','ig') CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'fb',
  PRIMARY KEY (`id`),
  KEY `user_id` (`user_id`,`page_id`),
  KEY `posting_status` (`posting_status`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `messenger_bot_broadcast_serial`
--

LOCK TABLES `messenger_bot_broadcast_serial` WRITE;
/*!40000 ALTER TABLE `messenger_bot_broadcast_serial` DISABLE KEYS */;
/*!40000 ALTER TABLE `messenger_bot_broadcast_serial` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `messenger_bot_broadcast_serial_send`
--

DROP TABLE IF EXISTS `messenger_bot_broadcast_serial_send`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `messenger_bot_broadcast_serial_send` (
  `id` int NOT NULL AUTO_INCREMENT,
  `campaign_id` int NOT NULL,
  `user_id` int NOT NULL,
  `page_id` int NOT NULL,
  `subscribe_id` varchar(255) NOT NULL,
  `otn_token` varchar(255) NOT NULL,
  `subscriber_auto_id` int NOT NULL,
  `subscriber_name` varchar(255) NOT NULL,
  `subscriber_lastname` varchar(200) NOT NULL,
  `sent_time` datetime NOT NULL,
  `delivered` enum('0','1') NOT NULL DEFAULT '0',
  `delivery_time` datetime NOT NULL,
  `opened` enum('0','1') NOT NULL DEFAULT '0',
  `open_time` datetime NOT NULL,
  `clicked` enum('0','1') NOT NULL DEFAULT '0',
  `click_ref` varchar(200) NOT NULL,
  `click_time` datetime NOT NULL,
  `processed` enum('0','1') NOT NULL DEFAULT '0',
  `error_message` tinytext NOT NULL,
  `message_sent_id` varchar(200) NOT NULL,
  PRIMARY KEY (`id`),
  KEY `campaign_id` (`campaign_id`,`processed`) USING BTREE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `messenger_bot_broadcast_serial_send`
--

LOCK TABLES `messenger_bot_broadcast_serial_send` WRITE;
/*!40000 ALTER TABLE `messenger_bot_broadcast_serial_send` DISABLE KEYS */;
/*!40000 ALTER TABLE `messenger_bot_broadcast_serial_send` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `messenger_bot_domain_whitelist`
--

DROP TABLE IF EXISTS `messenger_bot_domain_whitelist`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `messenger_bot_domain_whitelist` (
  `id` int NOT NULL AUTO_INCREMENT,
  `user_id` int NOT NULL,
  `messenger_bot_user_info_id` int NOT NULL,
  `page_id` int NOT NULL,
  `domain` tinytext NOT NULL,
  `created_at` datetime NOT NULL,
  PRIMARY KEY (`id`),
  KEY `user_id` (`user_id`,`page_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `messenger_bot_domain_whitelist`
--

LOCK TABLES `messenger_bot_domain_whitelist` WRITE;
/*!40000 ALTER TABLE `messenger_bot_domain_whitelist` DISABLE KEYS */;
/*!40000 ALTER TABLE `messenger_bot_domain_whitelist` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `messenger_bot_drip_campaign`
--

DROP TABLE IF EXISTS `messenger_bot_drip_campaign`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `messenger_bot_drip_campaign` (
  `id` int NOT NULL AUTO_INCREMENT,
  `campaign_name` varchar(250) NOT NULL,
  `page_id` int NOT NULL,
  `user_id` int NOT NULL,
  `message_content` text NOT NULL,
  `message_content_hourly` text NOT NULL,
  `created_at` datetime NOT NULL,
  `last_sent_at` datetime NOT NULL,
  `drip_type` enum('default','messenger_bot_engagement_checkbox','messenger_bot_engagement_send_to_msg','messenger_bot_engagement_mme','messenger_bot_engagement_messenger_codes','messenger_bot_engagement_2way_chat_plugin','custom') NOT NULL DEFAULT 'default',
  `campaign_type` enum('messenger','email','sms') NOT NULL DEFAULT 'messenger',
  `engagement_table_id` int NOT NULL,
  `between_start` varchar(50) NOT NULL DEFAULT '00:00',
  `between_end` varchar(50) NOT NULL DEFAULT '23:59',
  `timezone` varchar(250) NOT NULL,
  `message_tag` varchar(255) NOT NULL,
  `total_unsubscribed` int NOT NULL,
  `last_unsubscribed_at` datetime NOT NULL,
  `external_sequence_sms_api_id` varchar(50) NOT NULL,
  `external_sequence_email_api_id` varchar(50) NOT NULL,
  `media_type` enum('fb','ig') NOT NULL DEFAULT 'fb',
  `visual_flow_campaign_id` int NOT NULL,
  `visual_flow_sequence_id` varchar(50) NOT NULL,
  PRIMARY KEY (`id`),
  KEY `page_id` (`page_id`,`user_id`),
  KEY `xengagementtable_type` (`engagement_table_id`,`drip_type`) USING BTREE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `messenger_bot_drip_campaign`
--

LOCK TABLES `messenger_bot_drip_campaign` WRITE;
/*!40000 ALTER TABLE `messenger_bot_drip_campaign` DISABLE KEYS */;
/*!40000 ALTER TABLE `messenger_bot_drip_campaign` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `messenger_bot_drip_campaign_assign`
--

DROP TABLE IF EXISTS `messenger_bot_drip_campaign_assign`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `messenger_bot_drip_campaign_assign` (
  `id` int NOT NULL AUTO_INCREMENT,
  `user_id` int NOT NULL,
  `page_table_id` int NOT NULL,
  `subscribe_id` varchar(30) NOT NULL COMMENT 'fb id',
  `messenger_bot_drip_campaign_id` int NOT NULL,
  `drip_type` enum('default','messenger_bot_engagement_checkbox','messenger_bot_engagement_send_to_msg','messenger_bot_engagement_mme','messenger_bot_engagement_messenger_codes','messenger_bot_engagement_2way_chat_plugin','custom') NOT NULL DEFAULT 'default',
  `messenger_bot_drip_last_completed_day` int NOT NULL,
  `messenger_bot_drip_last_completed_hour` float NOT NULL,
  `messenger_bot_drip_is_toatally_complete` enum('0','1') NOT NULL DEFAULT '0',
  `messenger_bot_drip_is_toatally_complete_hourly` enum('0','1') NOT NULL DEFAULT '0',
  `messenger_bot_drip_last_sent_at` datetime NOT NULL,
  `messenger_bot_drip_initial_date` datetime NOT NULL,
  `last_processing_started_at` datetime NOT NULL,
  `last_processing_started_at_hourly` datetime NOT NULL,
  `messenger_bot_drip_processing_status` enum('0','1') NOT NULL DEFAULT '0',
  `messenger_bot_drip_processing_status_hourly` enum('0','1') NOT NULL DEFAULT '0',
  `is_unsubscribed` enum('0','1') NOT NULL DEFAULT '0',
  `unsubscribed_at` datetime NOT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `subscribe_id` (`subscribe_id`,`messenger_bot_drip_campaign_id`),
  KEY `xis_completed_hour` (`messenger_bot_drip_is_toatally_complete_hourly`),
  KEY `xis_completed_day` (`messenger_bot_drip_is_toatally_complete`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `messenger_bot_drip_campaign_assign`
--

LOCK TABLES `messenger_bot_drip_campaign_assign` WRITE;
/*!40000 ALTER TABLE `messenger_bot_drip_campaign_assign` DISABLE KEYS */;
/*!40000 ALTER TABLE `messenger_bot_drip_campaign_assign` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `messenger_bot_drip_report`
--

DROP TABLE IF EXISTS `messenger_bot_drip_report`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `messenger_bot_drip_report` (
  `id` int NOT NULL AUTO_INCREMENT,
  `messenger_bot_drip_campaign_id` int NOT NULL,
  `messenger_bot_subscriber_id` int NOT NULL,
  `page_id` int NOT NULL,
  `user_id` int NOT NULL,
  `subscribe_id` varchar(250) NOT NULL,
  `first_name` varchar(250) NOT NULL,
  `last_name` varchar(250) NOT NULL,
  `last_completed_day` int NOT NULL,
  `last_completed_hour` int NOT NULL,
  `is_sent` enum('0','1') NOT NULL DEFAULT '1',
  `is_opened` enum('0','1') NOT NULL DEFAULT '0',
  `is_delivered` enum('0','1') NOT NULL DEFAULT '0',
  `sent_at` datetime NOT NULL,
  `delivered_at` datetime NOT NULL,
  `opened_at` datetime NOT NULL,
  `sent_response` tinytext NOT NULL,
  `delivered_response` tinytext NOT NULL,
  `last_updated_at` datetime NOT NULL,
  PRIMARY KEY (`id`),
  KEY `messenger_bot_drip_campaign_id` (`messenger_bot_drip_campaign_id`),
  KEY `user_id` (`user_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `messenger_bot_drip_report`
--

LOCK TABLES `messenger_bot_drip_report` WRITE;
/*!40000 ALTER TABLE `messenger_bot_drip_report` DISABLE KEYS */;
/*!40000 ALTER TABLE `messenger_bot_drip_report` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `messenger_bot_engagement_checkbox`
--

DROP TABLE IF EXISTS `messenger_bot_engagement_checkbox`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `messenger_bot_engagement_checkbox` (
  `id` int NOT NULL AUTO_INCREMENT,
  `domain_code` varchar(100) NOT NULL,
  `user_id` int NOT NULL,
  `page_id` int NOT NULL COMMENT 'auto id',
  `domain_name` varchar(255) NOT NULL,
  `btn_size` enum('small','medium','large','xlarge') NOT NULL DEFAULT 'medium',
  `skin` enum('light','dark') NOT NULL DEFAULT 'light' COMMENT 'light=black, dark=white',
  `center_align` enum('true','false') NOT NULL DEFAULT 'true',
  `button_click_success_message` tinytext NOT NULL,
  `validation_error` tinytext NOT NULL,
  `label_ids` varchar(250) NOT NULL COMMENT 'comma seperated,messenger_bot_broadcast_contact_group.id',
  `reference` varchar(250) NOT NULL,
  `template_id` int NOT NULL COMMENT 'messenger_bot_postback.id',
  `language` varchar(200) NOT NULL DEFAULT 'en_US',
  `created_at` datetime NOT NULL,
  `redirect` enum('0','1') NOT NULL DEFAULT '0',
  `add_button_with_message` enum('0','1') NOT NULL DEFAULT '0',
  `button_with_message_content` tinytext NOT NULL COMMENT 'json',
  `success_redirect_url` tinytext NOT NULL,
  `for_woocommerce` enum('0','1') NOT NULL DEFAULT '0',
  `visual_flow_campaign_id` int NOT NULL,
  `visual_flow_type` enum('flow','general') NOT NULL DEFAULT 'general',
  PRIMARY KEY (`id`),
  UNIQUE KEY `domain_code` (`domain_code`),
  KEY `user_id` (`user_id`,`page_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `messenger_bot_engagement_checkbox`
--

LOCK TABLES `messenger_bot_engagement_checkbox` WRITE;
/*!40000 ALTER TABLE `messenger_bot_engagement_checkbox` DISABLE KEYS */;
/*!40000 ALTER TABLE `messenger_bot_engagement_checkbox` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `messenger_bot_engagement_checkbox_reply`
--

DROP TABLE IF EXISTS `messenger_bot_engagement_checkbox_reply`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `messenger_bot_engagement_checkbox_reply` (
  `id` int NOT NULL AUTO_INCREMENT,
  `user_ref` varchar(20) NOT NULL,
  `checkbox_plugin_id` int NOT NULL,
  `reference` varchar(200) NOT NULL,
  `optin_time` datetime NOT NULL,
  `for_woocommerce` enum('0','1') NOT NULL DEFAULT '0',
  `wc_session_unique_id` varchar(255) NOT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `messenger_bot_engagement_checkbox_reply`
--

LOCK TABLES `messenger_bot_engagement_checkbox_reply` WRITE;
/*!40000 ALTER TABLE `messenger_bot_engagement_checkbox_reply` DISABLE KEYS */;
/*!40000 ALTER TABLE `messenger_bot_engagement_checkbox_reply` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `messenger_bot_message_sent_stat`
--

DROP TABLE IF EXISTS `messenger_bot_message_sent_stat`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `messenger_bot_message_sent_stat` (
  `id` int NOT NULL AUTO_INCREMENT,
  `subscriber_id` varchar(30) NOT NULL,
  `page_table_id` int NOT NULL,
  `message_unique_id` varchar(100) NOT NULL,
  `message_type` enum('message','postback') NOT NULL DEFAULT 'message',
  `no_sent_click` int NOT NULL,
  `error_count` int NOT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `subscriber_id` (`subscriber_id`,`message_unique_id`,`page_table_id`),
  KEY `message_unique_id` (`message_unique_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `messenger_bot_message_sent_stat`
--

LOCK TABLES `messenger_bot_message_sent_stat` WRITE;
/*!40000 ALTER TABLE `messenger_bot_message_sent_stat` DISABLE KEYS */;
/*!40000 ALTER TABLE `messenger_bot_message_sent_stat` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `messenger_bot_persistent_menu`
--

DROP TABLE IF EXISTS `messenger_bot_persistent_menu`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `messenger_bot_persistent_menu` (
  `id` int NOT NULL AUTO_INCREMENT,
  `user_id` int NOT NULL,
  `page_id` varchar(100) NOT NULL,
  `locale` varchar(20) NOT NULL DEFAULT 'default',
  `item_json` longtext NOT NULL,
  `composer_input_disabled` enum('0','1') NOT NULL DEFAULT '0',
  `poskback_id_json` text NOT NULL,
  `media_type` enum('fb','ig') NOT NULL DEFAULT 'fb',
  PRIMARY KEY (`id`),
  UNIQUE KEY `page_id` (`page_id`,`locale`,`media_type`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `messenger_bot_persistent_menu`
--

LOCK TABLES `messenger_bot_persistent_menu` WRITE;
/*!40000 ALTER TABLE `messenger_bot_persistent_menu` DISABLE KEYS */;
/*!40000 ALTER TABLE `messenger_bot_persistent_menu` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `messenger_bot_postback`
--

DROP TABLE IF EXISTS `messenger_bot_postback`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `messenger_bot_postback` (
  `id` int NOT NULL AUTO_INCREMENT,
  `user_id` int NOT NULL,
  `postback_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `page_id` int NOT NULL,
  `use_status` enum('0','1') CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '0',
  `status` enum('0','1') CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '1',
  `messenger_bot_table_id` int NOT NULL,
  `bot_name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `is_template` enum('0','1') CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `template_jsoncode` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `template_name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `template_for` enum('reply_message','unsubscribe','resubscribe','email-quick-reply','phone-quick-reply','location-quick-reply','birthday-quick-reply','chat-with-human','chat-with-bot') CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `template_id` int NOT NULL,
  `inherit_from_template` enum('0','1') CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `broadcaster_labels` tinytext CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL COMMENT 'comma separated',
  `drip_campaign_id` int NOT NULL,
  `remove_label_ids` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `remove_sequence_campaign_id` int NOT NULL,
  `team_assign_role_id` int NOT NULL,
  `team_assign_user_id` int NOT NULL,
  `visual_flow_type` enum('flow','general') CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'general',
  `postback_type` enum('main','sub') CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'sub',
  `media_type` enum('fb','ig') CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'fb',
  `visual_flow_campaign_id` int NOT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `user_id` (`user_id`,`postback_id`,`page_id`) USING BTREE
) ENGINE=InnoDB AUTO_INCREMENT=19 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `messenger_bot_postback`
--

LOCK TABLES `messenger_bot_postback` WRITE;
/*!40000 ALTER TABLE `messenger_bot_postback` DISABLE KEYS */;
INSERT INTO `messenger_bot_postback` (`id`, `user_id`, `postback_id`, `page_id`, `use_status`, `status`, `messenger_bot_table_id`, `bot_name`, `is_template`, `template_jsoncode`, `template_name`, `template_for`, `template_id`, `inherit_from_template`, `broadcaster_labels`, `drip_campaign_id`, `remove_label_ids`, `remove_sequence_campaign_id`, `team_assign_role_id`, `team_assign_user_id`, `visual_flow_type`, `postback_type`, `media_type`, `visual_flow_campaign_id`) VALUES (1,1,'UNSUBSCRIBE_QUICK_BOXER',2,'0','1',1,'UNSUBSCRIBE BOT','1','{\"1\":{\"recipient\":{\"id\":\"replace_id\"},\"message\":{\"typing_on_settings\":\"off\",\"delay_in_reply\":\"0\",\"text_reply_unique_id\":\"EKp6WxW7lHlVDBK\",\"template_type\":\"text_with_buttons\",\"attachment\":{\"type\":\"template\",\"payload\":{\"template_type\":\"button\",\"text\":\"You have been successfully unsubscribed from our list. It is sad to see you go. It is not the same without you! You can join back by clicking the button below.\",\"buttons\":[{\"type\":\"postback\",\"payload\":\"RESUBSCRIBE_QUICK_BOXER\",\"title\":\"Resubscribe\"}]}}}}}','UNSUBSCRIBE TEMPLATE','unsubscribe',0,'0','',0,'',0,0,0,'flow','sub','fb',1),(2,1,'RESUBSCRIBE_QUICK_BOXER',2,'0','1',2,'RESUBSCRIBE BOT','1','{\"1\":{\"recipient\":{\"id\":\"replace_id\"},\"message\":{\"typing_on_settings\":\"off\",\"delay_in_reply\":\"0\",\"text_reply_unique_id\":\"EKp6WxW7lHlVDBK\",\"template_type\":\"text_with_buttons\",\"attachment\":{\"type\":\"template\",\"payload\":{\"template_type\":\"button\",\"text\":\"Welcome back! We have not seen you for a while. You will no longer miss our important updates.\",\"buttons\":[{\"type\":\"postback\",\"payload\":\"UNSUBSCRIBE_QUICK_BOXER\",\"title\":\"Unsubscribe\"}]}}}}}','RESUBSCRIBE TEMPLATE','resubscribe',0,'0','',0,'',0,0,0,'flow','sub','fb',2),(3,1,'QUICK_REPLY_EMAIL_REPLY_BOT',2,'0','1',3,'QUICK REPLY EMAIL REPLY','1','{\"1\":{\"recipient\":{\"id\":\"replace_id\"},\"message\":{\"typing_on_settings\":\"off\",\"delay_in_reply\":\"0\",\"text_reply_unique_id\":\"EKp6WxW7lHlVDBK\",\"template_type\":\"text\",\"text\":\"Thanks, we have received your email. We will keep you updated. Thank you for being with us.\"}}}','QUICK REPLY EMAIL REPLY','email-quick-reply',0,'0','',0,'',0,0,0,'flow','sub','fb',3),(4,1,'QUICK_REPLY_PHONE_REPLY_BOT',2,'0','1',4,'QUICK REPLY PHONE REPLY','1','{\"1\":{\"recipient\":{\"id\":\"replace_id\"},\"message\":{\"typing_on_settings\":\"off\",\"delay_in_reply\":\"0\",\"text_reply_unique_id\":\"EKp6WxW7lHlVDBK\",\"template_type\":\"text\",\"text\":\"Thanks, we have received your phone number. We will keep you updated. Thank you for being with us.\"}}}','QUICK REPLY PHONE REPLY','phone-quick-reply',0,'0','',0,'',0,0,0,'flow','sub','fb',4),(5,1,'QUICK_REPLY_LOCATION_REPLY_BOT',2,'0','1',5,'QUICK REPLY LOCATION REPLY','1','{\"1\":{\"recipient\":{\"id\":\"replace_id\"},\"message\":{\"typing_on_settings\":\"off\",\"delay_in_reply\":\"0\",\"text_reply_unique_id\":\"EKp6WxW7lHlVDBK\",\"template_type\":\"text\",\"text\":\"Thanks, we have received your location. Thank you for being with us.\"}}}','QUICK REPLY LOCATION REPLY','location-quick-reply',0,'0','',0,'',0,0,0,'flow','sub','fb',5),(6,1,'QUICK_REPLY_BIRTHDAY_REPLY_BOT',2,'0','1',6,'QUICK REPLY BIRTHDAY REPLY','1','{\"1\":{\"recipient\":{\"id\":\"replace_id\"},\"message\":{\"typing_on_settings\":\"off\",\"delay_in_reply\":\"0\",\"text_reply_unique_id\":\"EKp6WxW7lHlVDBK\",\"template_type\":\"text\",\"text\":\"Thanks, we have received your birthday. Thank you for being with us.\"}}}','QUICK REPLY BIRTHDAY REPLY','birthday-quick-reply',0,'0','',0,'',0,0,0,'flow','sub','fb',6),(7,1,'YES_START_CHAT_WITH_HUMAN',2,'0','1',7,'CHAT WITH HUMAN','1','{\"1\":{\"recipient\":{\"id\":\"replace_id\"},\"message\":{\"typing_on_settings\":\"off\",\"delay_in_reply\":\"0\",\"text_reply_unique_id\":\"EKp6WxW7lHlVDBK\",\"template_type\":\"text_with_buttons\",\"attachment\":{\"type\":\"template\",\"payload\":{\"template_type\":\"button\",\"text\":\"Thanks! It is a pleasure talking to you. One of our team members will reply to you soon. If you want to chat with me again, just click the button below.\",\"buttons\":[{\"type\":\"postback\",\"payload\":\"YES_START_CHAT_WITH_BOT\",\"title\":\"Resume Chat with Bot\"}]}}}}}','CHAT WITH HUMAN TEMPLATE','chat-with-human',0,'0','',0,'',0,0,0,'flow','sub','fb',7),(8,1,'YES_START_CHAT_WITH_BOT',2,'0','1',8,'RESUBSCRIBE BOT','1','{\"1\":{\"recipient\":{\"id\":\"replace_id\"},\"message\":{\"typing_on_settings\":\"off\",\"delay_in_reply\":\"0\",\"text_reply_unique_id\":\"EKp6WxW7lHlVDBK\",\"template_type\":\"text_with_buttons\",\"attachment\":{\"type\":\"template\",\"payload\":{\"template_type\":\"button\",\"text\":\"I am glad to have you back. I will try my best to answer all questions. If you want to start chatting with humans again you can simply click the button below.\",\"buttons\":[{\"type\":\"postback\",\"payload\":\"YES_START_CHAT_WITH_HUMAN\",\"title\":\"Chat with human\"}]}}}}}','CHAT WITH BOT TEMPLATE','chat-with-bot',0,'0','',0,'',0,0,0,'flow','sub','fb',8),(9,1,'UNSUBSCRIBE_QUICK_BOXER',1,'0','1',15,'UNSUBSCRIBE BOT','1','{\"1\":{\"recipient\":{\"id\":\"replace_id\"},\"message\":{\"typing_on_settings\":\"off\",\"delay_in_reply\":\"0\",\"text_reply_unique_id\":\"EKp6WxW7lHlVDBK\",\"template_type\":\"text_with_buttons\",\"attachment\":{\"type\":\"template\",\"payload\":{\"template_type\":\"button\",\"text\":\"You have been successfully unsubscribed from our list. It is sad to see you go. It is not the same without you! You can join back by clicking the button below.\",\"buttons\":[{\"type\":\"postback\",\"payload\":\"RESUBSCRIBE_QUICK_BOXER\",\"title\":\"Resubscribe\"}]}}}}}','UNSUBSCRIBE TEMPLATE','unsubscribe',0,'0','',0,'',0,0,0,'flow','sub','fb',15),(10,1,'RESUBSCRIBE_QUICK_BOXER',1,'0','1',16,'RESUBSCRIBE BOT','1','{\"1\":{\"recipient\":{\"id\":\"replace_id\"},\"message\":{\"typing_on_settings\":\"off\",\"delay_in_reply\":\"0\",\"text_reply_unique_id\":\"EKp6WxW7lHlVDBK\",\"template_type\":\"text_with_buttons\",\"attachment\":{\"type\":\"template\",\"payload\":{\"template_type\":\"button\",\"text\":\"Welcome back! We have not seen you for a while. You will no longer miss our important updates.\",\"buttons\":[{\"type\":\"postback\",\"payload\":\"UNSUBSCRIBE_QUICK_BOXER\",\"title\":\"Unsubscribe\"}]}}}}}','RESUBSCRIBE TEMPLATE','resubscribe',0,'0','',0,'',0,0,0,'flow','sub','fb',16),(11,1,'QUICK_REPLY_EMAIL_REPLY_BOT',1,'0','1',17,'QUICK REPLY EMAIL REPLY','1','{\"1\":{\"recipient\":{\"id\":\"replace_id\"},\"message\":{\"typing_on_settings\":\"off\",\"delay_in_reply\":\"0\",\"text_reply_unique_id\":\"EKp6WxW7lHlVDBK\",\"template_type\":\"text\",\"text\":\"Thanks, we have received your email. We will keep you updated. Thank you for being with us.\"}}}','QUICK REPLY EMAIL REPLY','email-quick-reply',0,'0','',0,'',0,0,0,'flow','sub','fb',17),(12,1,'QUICK_REPLY_PHONE_REPLY_BOT',1,'0','1',18,'QUICK REPLY PHONE REPLY','1','{\"1\":{\"recipient\":{\"id\":\"replace_id\"},\"message\":{\"typing_on_settings\":\"off\",\"delay_in_reply\":\"0\",\"text_reply_unique_id\":\"EKp6WxW7lHlVDBK\",\"template_type\":\"text\",\"text\":\"Thanks, we have received your phone number. We will keep you updated. Thank you for being with us.\"}}}','QUICK REPLY PHONE REPLY','phone-quick-reply',0,'0','',0,'',0,0,0,'flow','sub','fb',18),(13,1,'QUICK_REPLY_LOCATION_REPLY_BOT',1,'0','1',19,'QUICK REPLY LOCATION REPLY','1','{\"1\":{\"recipient\":{\"id\":\"replace_id\"},\"message\":{\"typing_on_settings\":\"off\",\"delay_in_reply\":\"0\",\"text_reply_unique_id\":\"EKp6WxW7lHlVDBK\",\"template_type\":\"text\",\"text\":\"Thanks, we have received your location. Thank you for being with us.\"}}}','QUICK REPLY LOCATION REPLY','location-quick-reply',0,'0','',0,'',0,0,0,'flow','sub','fb',19),(14,1,'QUICK_REPLY_BIRTHDAY_REPLY_BOT',1,'0','1',20,'QUICK REPLY BIRTHDAY REPLY','1','{\"1\":{\"recipient\":{\"id\":\"replace_id\"},\"message\":{\"typing_on_settings\":\"off\",\"delay_in_reply\":\"0\",\"text_reply_unique_id\":\"EKp6WxW7lHlVDBK\",\"template_type\":\"text\",\"text\":\"Thanks, we have received your birthday. Thank you for being with us.\"}}}','QUICK REPLY BIRTHDAY REPLY','birthday-quick-reply',0,'0','',0,'',0,0,0,'flow','sub','fb',20),(15,1,'YES_START_CHAT_WITH_HUMAN',1,'0','1',21,'CHAT WITH HUMAN','1','{\"1\":{\"recipient\":{\"id\":\"replace_id\"},\"message\":{\"typing_on_settings\":\"off\",\"delay_in_reply\":\"0\",\"text_reply_unique_id\":\"EKp6WxW7lHlVDBK\",\"template_type\":\"text_with_buttons\",\"attachment\":{\"type\":\"template\",\"payload\":{\"template_type\":\"button\",\"text\":\"Thanks! It is a pleasure talking to you. One of our team members will reply to you soon. If you want to chat with me again, just click the button below.\",\"buttons\":[{\"type\":\"postback\",\"payload\":\"YES_START_CHAT_WITH_BOT\",\"title\":\"Resume Chat with Bot\"}]}}}}}','CHAT WITH HUMAN TEMPLATE','chat-with-human',0,'0','',0,'',0,0,0,'flow','sub','fb',21),(16,1,'YES_START_CHAT_WITH_BOT',1,'0','1',22,'RESUBSCRIBE BOT','1','{\"1\":{\"recipient\":{\"id\":\"replace_id\"},\"message\":{\"typing_on_settings\":\"off\",\"delay_in_reply\":\"0\",\"text_reply_unique_id\":\"EKp6WxW7lHlVDBK\",\"template_type\":\"text_with_buttons\",\"attachment\":{\"type\":\"template\",\"payload\":{\"template_type\":\"button\",\"text\":\"I am glad to have you back. I will try my best to answer all questions. If you want to start chatting with humans again you can simply click the button below.\",\"buttons\":[{\"type\":\"postback\",\"payload\":\"YES_START_CHAT_WITH_HUMAN\",\"title\":\"Chat with human\"}]}}}}}','CHAT WITH BOT TEMPLATE','chat-with-bot',0,'0','',0,'',0,0,0,'flow','sub','fb',22),(17,1,'3NYSXhmp_yz-Jvt9',1,'1','1',29,'Get Started Template','1','{\"out\":[{\"reply\":{\"webhook_response\":[{\"recipient\":{\"id\":\"replace_id\"},\"message\":{\"typing_on_settings\":\"off\",\"delay_in_reply\":\"0\",\"text_reply_unique_id\":\"EKp6WxW7lHlVDBK\",\"template_type\":\"text\",\"text\":\"{{user_first_name}}  {{user_last_name}},\\n\\u0986\\u09ae\\u09be\\u09a6\\u09c7\\u09b0 \\u09aa\\u09c7\\u0987\\u099c\\u09c7 \\u09b8\\u09cd\\u09ac\\u09be\\u0997\\u09a4\\u09ae, \\u09a8\\u09bf\\u099a\\u09c7\\u09b0 \\u09ae\\u09c7\\u09a8\\u09cd\\u09af\\u09c1 \\u09a5\\u09c7\\u0995\\u09c7 \\u09ac\\u09be\\u099b\\u09be\\u0987 \\u0995\\u09b0\\u09c1\\u09a8 \\u0985\\u09a5\\u09ac\\u09be \\u09a1\\u09cd\\u09b0\\u09c7\\u09b8\\u09c7\\u09b0 \\u0989\\u09aa\\u09b0 \\u09a5\\u09be\\u0995\\u09be \\u0995\\u09cb\\u09a1 (Example: ABC1234) \\u099f\\u09bf \\u09b2\\u09bf\\u0996\\u09c1\\u09a8\\u0964\\n\\u0995\\u09cb\\u09a1 \\u099c\\u09be\\u09a8\\u09be \\u09a8\\u09be \\u09a5\\u09be\\u0995\\u09b2\\u09c7 \\u0986\\u09ae\\u09be\\u09a6\\u09c7\\u09b0 \\u0993\\u09df\\u09c7\\u09ac\\u09b8\\u09be\\u0987\\u099f \\u09ad\\u09bf\\u099c\\u09bf\\u099f \\u0995\\u09b0\\u09c1\\u09a8 https:\\/\\/oasisoutfit.com\\/catalog\\n\\n\\n\\n\"}}]}}]}','Get Started Template','reply_message',0,'0','',0,'',0,0,0,'flow','main','fb',23),(18,1,'3NYSXhmp_yz-Jvt9',2,'1','1',30,'Get Started Template','1','{\"out\":[{\"reply\":{\"webhook_response\":[{\"recipient\":{\"id\":\"replace_id\"},\"message\":{\"typing_on_settings\":\"off\",\"delay_in_reply\":\"0\",\"text_reply_unique_id\":\"EKp6WxW7lHlVDBK\",\"template_type\":\"text\",\"text\":\"{{user_first_name}}  {{user_last_name}},\\n\\u0986\\u09ae\\u09be\\u09a6\\u09c7\\u09b0 \\u09aa\\u09c7\\u0987\\u099c\\u09c7 \\u09b8\\u09cd\\u09ac\\u09be\\u0997\\u09a4\\u09ae, \\u09a8\\u09bf\\u099a\\u09c7\\u09b0 \\u09ae\\u09c7\\u09a8\\u09cd\\u09af\\u09c1 \\u09a5\\u09c7\\u0995\\u09c7 \\u09ac\\u09be\\u099b\\u09be\\u0987 \\u0995\\u09b0\\u09c1\\u09a8 \\u0985\\u09a5\\u09ac\\u09be \\u09a1\\u09cd\\u09b0\\u09c7\\u09b8\\u09c7\\u09b0 \\u0989\\u09aa\\u09b0 \\u09a5\\u09be\\u0995\\u09be \\u0995\\u09cb\\u09a1 (Example: ABC1234) \\u099f\\u09bf \\u09b2\\u09bf\\u0996\\u09c1\\u09a8\\u0964\\n\\u0995\\u09cb\\u09a1 \\u099c\\u09be\\u09a8\\u09be \\u09a8\\u09be \\u09a5\\u09be\\u0995\\u09b2\\u09c7 \\u0986\\u09ae\\u09be\\u09a6\\u09c7\\u09b0 \\u0993\\u09df\\u09c7\\u09ac\\u09b8\\u09be\\u0987\\u099f \\u09ad\\u09bf\\u099c\\u09bf\\u099f \\u0995\\u09b0\\u09c1\\u09a8 https:\\/\\/oasisoutfit.com\\/catalog\\n\\n\\n\\n\"}}]}}]}','Get Started Template','reply_message',0,'0','',0,'',0,0,0,'flow','main','fb',9);
/*!40000 ALTER TABLE `messenger_bot_postback` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `messenger_bot_reply_error_log`
--

DROP TABLE IF EXISTS `messenger_bot_reply_error_log`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `messenger_bot_reply_error_log` (
  `id` int NOT NULL AUTO_INCREMENT,
  `page_id` int NOT NULL,
  `fb_page_id` varchar(200) NOT NULL,
  `user_id` int NOT NULL,
  `error_message` varchar(250) NOT NULL,
  `bot_settings_id` int NOT NULL,
  `error_time` datetime NOT NULL,
  `media_type` enum('fb','ig') NOT NULL DEFAULT 'fb',
  PRIMARY KEY (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8mb3;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `messenger_bot_reply_error_log`
--

LOCK TABLES `messenger_bot_reply_error_log` WRITE;
/*!40000 ALTER TABLE `messenger_bot_reply_error_log` DISABLE KEYS */;
/*!40000 ALTER TABLE `messenger_bot_reply_error_log` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `messenger_bot_saved_templates`
--

DROP TABLE IF EXISTS `messenger_bot_saved_templates`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `messenger_bot_saved_templates` (
  `id` int NOT NULL AUTO_INCREMENT,
  `template_name` varchar(250) NOT NULL,
  `savedata` longtext NOT NULL,
  `saved_at` datetime NOT NULL,
  `user_id` int NOT NULL,
  `template_access` enum('private','public') NOT NULL DEFAULT 'private',
  `preview_image` varchar(255) NOT NULL,
  `description` longtext NOT NULL,
  `allowed_package_ids` varchar(255) NOT NULL COMMENT 'comma seperated',
  `template_category_id` int NOT NULL,
  `media_type` enum('fb','ig') NOT NULL DEFAULT 'fb',
  PRIMARY KEY (`id`),
  KEY `user_id` (`user_id`),
  KEY `user_id_2` (`user_id`,`template_access`,`allowed_package_ids`(191))
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `messenger_bot_saved_templates`
--

LOCK TABLES `messenger_bot_saved_templates` WRITE;
/*!40000 ALTER TABLE `messenger_bot_saved_templates` DISABLE KEYS */;
/*!40000 ALTER TABLE `messenger_bot_saved_templates` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `messenger_bot_subscriber`
--

DROP TABLE IF EXISTS `messenger_bot_subscriber`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `messenger_bot_subscriber` (
  `id` int NOT NULL AUTO_INCREMENT,
  `user_id` int NOT NULL,
  `page_table_id` int NOT NULL,
  `page_id` varchar(100) NOT NULL,
  `permission` enum('0','1') NOT NULL DEFAULT '1',
  `subscribe_id` varchar(36) NOT NULL,
  `client_thread_id` varchar(255) NOT NULL,
  `contact_group_id` varchar(255) NOT NULL,
  `first_name` varchar(150) NOT NULL,
  `last_name` varchar(150) NOT NULL,
  `full_name` varchar(255) NOT NULL,
  `profile_pic` text NOT NULL,
  `gender` varchar(15) NOT NULL,
  `locale` varchar(15) NOT NULL,
  `timezone` varchar(15) NOT NULL,
  `unavailable` enum('0','1') NOT NULL DEFAULT '0',
  `last_error_message` text NOT NULL,
  `refferer_id` varchar(100) NOT NULL COMMENT 'get started refference number from ref parameter of chat plugin',
  `refferer_source` varchar(50) NOT NULL COMMENT 'checkbox_plugin or CUSTOMER_CHAT_PLUGIN or MESSENGER_CODE or SHORTLINK or FB PAGE or COMMENT PRIVATE REPLY',
  `refferer_uri` tinytext NOT NULL COMMENT 'CUSTOMER_CHAT_PLUGIN URL',
  `subscribed_at` datetime NOT NULL,
  `unsubscribed_at` datetime NOT NULL,
  `link` varchar(255) NOT NULL,
  `is_image_download` enum('0','1') NOT NULL DEFAULT '0',
  `image_path` varchar(250) NOT NULL,
  `status` enum('0','1') NOT NULL DEFAULT '1',
  `is_bot_subscriber` enum('0','1') NOT NULL DEFAULT '1',
  `is_email_unsubscriber` enum('0','1') NOT NULL DEFAULT '0',
  `is_imported` enum('0','1') NOT NULL DEFAULT '0',
  `is_updated_name` enum('0','1') NOT NULL DEFAULT '1',
  `last_name_update_time` datetime NOT NULL,
  `email` varchar(75) NOT NULL,
  `phone_number` varchar(30) NOT NULL,
  `user_location` text NOT NULL,
  `birthdate` date NOT NULL,
  `last_subscriber_interaction_time` datetime NOT NULL COMMENT 'UTC Time - When user last sent message',
  `last_conversation_message` text,
  `last_communicated_at` datetime DEFAULT NULL,
  `unseen_count` int NOT NULL,
  `is_archived` enum('0','1') CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '0',
  `is_24h_1_sent` enum('0','1') NOT NULL DEFAULT '0' COMMENT '24H+1 message Broadcasting created or not',
  `woocommerce_drip_campaign_id` int NOT NULL,
  `wc_user_id` int NOT NULL,
  `password` text NOT NULL,
  `subscriber_type` enum('messenger','system') NOT NULL DEFAULT 'messenger',
  `store_id` int NOT NULL,
  `social_media` enum('fb','ig') NOT NULL DEFAULT 'fb',
  `cron_lock` enum('0','1') NOT NULL DEFAULT '0' COMMENT '1 means it is being processed by cron job',
  `assigned_used_id` int DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `user_id` (`user_id`,`page_id`,`subscribe_id`) USING BTREE,
  KEY `contact_group_id` (`contact_group_id`),
  KEY `email` (`email`),
  KEY `store_id` (`store_id`),
  KEY `idx_subscriber_id` (`subscribe_id`),
  KEY `subscribed_at` (`user_id`,`subscribed_at`),
  KEY `assigned_used_id` (`assigned_used_id`)
) ENGINE=InnoDB AUTO_INCREMENT=13 DEFAULT CHARSET=utf8mb3;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `messenger_bot_subscriber`
--

LOCK TABLES `messenger_bot_subscriber` WRITE;
/*!40000 ALTER TABLE `messenger_bot_subscriber` DISABLE KEYS */;
INSERT INTO `messenger_bot_subscriber` (`id`, `user_id`, `page_table_id`, `page_id`, `permission`, `subscribe_id`, `client_thread_id`, `contact_group_id`, `first_name`, `last_name`, `full_name`, `profile_pic`, `gender`, `locale`, `timezone`, `unavailable`, `last_error_message`, `refferer_id`, `refferer_source`, `refferer_uri`, `subscribed_at`, `unsubscribed_at`, `link`, `is_image_download`, `image_path`, `status`, `is_bot_subscriber`, `is_email_unsubscriber`, `is_imported`, `is_updated_name`, `last_name_update_time`, `email`, `phone_number`, `user_location`, `birthdate`, `last_subscriber_interaction_time`, `last_conversation_message`, `last_communicated_at`, `unseen_count`, `is_archived`, `is_24h_1_sent`, `woocommerce_drip_campaign_id`, `wc_user_id`, `password`, `subscriber_type`, `store_id`, `social_media`, `cron_lock`, `assigned_used_id`) VALUES (1,1,2,'873133372697800','1','8952540734857064','','','Arafa','Tamanna','','https://platform-lookaside.fbsbx.com/platform/profilepic/?eai=AXHgmqTd0prK8bvAn-iGBuOOnIabu9o15V1GRV3YM29PVHWW96x7sQoxQV0e7xM9p4CsvvWM-qQu&psid=8952540734857064&width=1024&ext=1743762076&hash=AbYKu-Dbc3VMEXSwzz8GvS7_','female','en_US','6','0','','','','','2025-03-05 10:21:16','0000-00-00 00:00:00','','0','','1','1','0','0','1','0000-00-00 00:00:00','','','','0000-00-00','2025-03-05 10:21:16','2, 1 din er moddhe apdate dean','2025-03-05 10:21:16',1,'0','0',0,0,'','messenger',0,'fb','0',NULL),(2,1,2,'873133372697800','1','8816579891779321','','','Fitba Binte','Afra','','https://platform-lookaside.fbsbx.com/platform/profilepic/?eai=AXHxVEgbioTzIjVw24q8uzWFY0T_OBguohtILOBcCzr4shuK9G2BPGvt3_1ORZJEcut9po-5aN8F&psid=8816579891779321&width=1024&ext=1743762077&hash=AbZ5uuN-2U97NMS8GUsbR-Wo','female','en_GB','6','0','','','','','2025-03-05 10:21:17','0000-00-00 00:00:00','','0','','1','1','0','0','1','0000-00-00 00:00:00','','','','0000-00-00','2025-03-05 10:21:17','Price','2025-03-05 10:21:17',1,'0','0',0,0,'','messenger',0,'fb','0',NULL),(3,1,2,'873133372697800','1','6378414502186244','','','Mohammad','Emon','','https://platform-lookaside.fbsbx.com/platform/profilepic/?eai=AXEM9_2W8X2TjMjcf5LxvDHdJIuEQsApHlvaAgeEZN_DU6_j-j_Ss9nXc31CaJmuGCT5amuLrPlk&psid=6378414502186244&width=1024&ext=1743762078&hash=AbbyGGEjz8v8qYA_ODzz58R1','male','en_GB','6','0','','','','','2025-03-05 10:21:18','0000-00-00 00:00:00','','0','','1','1','0','0','1','0000-00-00 00:00:00','','','','0000-00-00','2025-03-05 10:21:18','.','2025-03-05 10:21:18',1,'0','0',0,0,'','messenger',0,'fb','0',NULL),(4,1,2,'873133372697800','1','6203407966402693','','','Choya','Hoque','','https://platform-lookaside.fbsbx.com/platform/profilepic/?eai=AXHF3wcUzR0jXYgj1NdO6L6fxEaWho6LKj1Upha0Q25D02Bgphfh3BccgGCeRgKtJyIvcwEi417s&psid=6203407966402693&width=1024&ext=1743762078&hash=AbYWCpy0AUJ01TyIq7QMXdYw','female','en_US','6','0','','','','','2025-03-05 10:21:18','0000-00-00 00:00:00','','0','','1','1','0','0','1','0000-00-00 00:00:00','','','','0000-00-00','2025-03-05 10:21:18','#ATTACHMENT:image#','2025-03-05 10:21:18',1,'0','0',0,0,'','messenger',0,'fb','0',NULL),(5,1,2,'873133372697800','1','27228003303510142','','','Zabia','Hadees','','https://platform-lookaside.fbsbx.com/platform/profilepic/?eai=AXEhBgnCYBGSjxpYciA58ErMZlwsfvY3sxOo8WndfNPR1n8eUKK03rJEDmx_zWk8lTQwFrWSlCNC&psid=27228003303510142&width=1024&ext=1743762088&hash=Aba4fY7zQGG0F32AhWF1Dzh3','male','en_US','6','0','','','','','2025-03-05 10:21:28','0000-00-00 00:00:00','','0','','1','1','0','0','1','0000-00-00 00:00:00','','','','0000-00-00','2025-03-05 10:21:28','Price','2025-03-05 10:21:28',1,'0','0',0,0,'','messenger',0,'fb','0',NULL),(6,1,2,'873133372697800','1','9147069338734361','','','Md.','Mojibur','','https://platform-lookaside.fbsbx.com/platform/profilepic/?eai=AXE1Tw0ehr99F7tWjrkNl1sMcaZE730uay4scFiuPbtbSCLjdi7rQK_pcK65nGvhzYXYl8UlS7iK&psid=9147069338734361&width=1024&ext=1743762089&hash=Aba4dAriJfwGMrKtkHlV-TBI','male','en_US','0','0','','','','','2025-03-05 10:21:29','0000-00-00 00:00:00','','0','','1','1','0','0','1','0000-00-00 00:00:00','','','','0000-00-00','2025-03-05 10:21:29','#ATTACHMENT:image#','2025-03-05 10:21:29',1,'0','0',0,0,'','messenger',0,'fb','0',NULL),(7,1,2,'873133372697800','1','9406047349431717','','','Mehu','Afrin','','https://platform-lookaside.fbsbx.com/platform/profilepic/?eai=AXE496pDnnC2_no5Vtp1AGNbjxGjiEScWcxQ4aj3orpUwwrSFjDxMPY7v1J_aVgI7JJ_fjANR4dO&psid=9406047349431717&width=1024&ext=1743762089&hash=AbblaaQXOwrS36kOxirisaFp','female','en_GB','6','0','','','','','2025-03-05 10:21:30','0000-00-00 00:00:00','','0','','1','1','0','0','1','0000-00-00 00:00:00','','','','0000-00-00','2025-03-05 10:21:30','#ATTACHMENT:image#','2025-03-05 10:21:30',1,'0','0',0,0,'','messenger',0,'fb','0',NULL),(8,1,2,'873133372697800','1','9393347317447996','','','Sadia','Tasu','','https://platform-lookaside.fbsbx.com/platform/profilepic/?eai=AXE7zjrqTPSCHzA2JeL-rTNMoKhgX1ZYXM6xDJMJnzYGm0kTZWYLj22Jc2WfMvEZO5l99V_li_-Y&psid=9393347317447996&width=1024&ext=1743762096&hash=Abb2FOcTG54apuHNeA0T2s1V','female','en_US','6','0','','','','','2025-03-05 10:21:36','0000-00-00 00:00:00','','0','','1','1','0','0','1','0000-00-00 00:00:00','','','','0000-00-00','2025-03-05 10:21:36','#ATTACHMENT:image#','2025-03-05 10:21:36',1,'0','0',0,0,'','messenger',0,'fb','0',NULL),(9,1,2,'873133372697800','1','5498568140162282','','','Sania','Khan','','https://platform-lookaside.fbsbx.com/platform/profilepic/?eai=AXF-qnGtu9BXwSLhOkBhYGFRRkf_3LftV_TGnBv-19pxTm9LQdNbkn_BT5uuy-r64sbYIv6AlgHX&psid=5498568140162282&width=1024&ext=1743762096&hash=AbYl9xsfqa_5Vd56i0ztEQ2F','female','en_US','6','0','','','','','2025-03-05 10:21:36','0000-00-00 00:00:00','','0','','1','1','0','0','1','0000-00-00 00:00:00','','','','0000-00-00','2025-03-05 10:21:36','বরিশাল সদর ভাটিখানা 01724876486','2025-03-05 10:21:36',1,'0','0',0,0,'','messenger',0,'fb','0',NULL),(10,1,2,'873133372697800','1','7197111887068693','','','মিসেস','নাজমুল','','https://platform-lookaside.fbsbx.com/platform/profilepic/?eai=AXFEOdctpQBv7nbzykBcz6OJ3s0yZb14-dTPc41WXIF01o0FOOdT53l64Q3n5LV6g2IllPIsh087&psid=7197111887068693&width=1024&ext=1743762153&hash=AbYPkEOYsPo1dJWxMP4KIWeO','female','bn_IN','6','0','','','','','2025-03-05 10:22:33','0000-00-00 00:00:00','','0','','1','1','0','0','1','0000-00-00 00:00:00','','','','0000-00-00','0000-00-00 00:00:00','Name-\nAddress -\nThana-\nPhone number -\nSize-\nDress photo','2025-03-05 10:22:33',0,'0','0',0,0,'','messenger',0,'fb','0',NULL),(11,1,2,'873133372697800','1','5240758442635939','','','Sanjida','Shompa','','https://platform-lookaside.fbsbx.com/platform/profilepic/?eai=AXGZg4zXV2c7TYvDU_BpqEk8uyh_atWqlRI5y3NX8d4X0cEYz7gE3DfhqQnv7eLR5DyZWrp5sdU5&psid=5240758442635939&width=1024&ext=1743762175&hash=AbYrRLmSCOtFFFxfFBNL6o_O','female','en_US','6','0','','','','','2025-03-05 10:22:55','0000-00-00 00:00:00','','0','','1','1','0','0','1','0000-00-00 00:00:00','','','','0000-00-00','0000-00-00 00:00:00','Name\nAddress\nNumber\nSize\n\nInside Chittagong 100tk dc\nOutside Chattogram 150tk dc?','2025-03-05 10:22:55',0,'0','0',0,0,'','messenger',0,'fb','0',NULL),(12,1,2,'873133372697800','1','4740893592683794','','','Munia','Islam','','https://platform-lookaside.fbsbx.com/platform/profilepic/?eai=AXE82StVURAWConRTdYhxEVtMeDqRQ22YcBXmhuTNHmlqWz4PhPosTocbUbFldZWs9AeYT1LPyyH&psid=4740893592683794&width=1024&ext=1743762179&hash=AbZkhkW4m-wIpgkuA19lR1zM','female','en_US','6','0','','','','','2025-03-05 10:22:59','0000-00-00 00:00:00','','0','','1','1','0','0','1','0000-00-00 00:00:00','','','','0000-00-00','2025-03-05 10:22:59','Pp','2025-03-05 10:22:59',1,'0','0',0,0,'','messenger',0,'fb','0',NULL);
/*!40000 ALTER TABLE `messenger_bot_subscriber` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `messenger_bot_subscriber_extra_info`
--

DROP TABLE IF EXISTS `messenger_bot_subscriber_extra_info`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `messenger_bot_subscriber_extra_info` (
  `id` int NOT NULL AUTO_INCREMENT,
  `subscriber_id` varchar(50) NOT NULL,
  `page_id` varchar(50) NOT NULL,
  `input_flow_campaign_id` int NOT NULL,
  `last_question_sent_id` int NOT NULL,
  `last_question_sent_time` datetime NOT NULL,
  `email_quick_reply_button_id` varchar(30) NOT NULL,
  `phone_quick_reply_button_id` varchar(30) NOT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `subscriber_id` (`subscriber_id`,`page_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `messenger_bot_subscriber_extra_info`
--

LOCK TABLES `messenger_bot_subscriber_extra_info` WRITE;
/*!40000 ALTER TABLE `messenger_bot_subscriber_extra_info` DISABLE KEYS */;
/*!40000 ALTER TABLE `messenger_bot_subscriber_extra_info` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `messenger_bot_subscribers_label`
--

DROP TABLE IF EXISTS `messenger_bot_subscribers_label`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `messenger_bot_subscribers_label` (
  `id` int NOT NULL AUTO_INCREMENT,
  `contact_group_id` int NOT NULL,
  `subscriber_table_id` int NOT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `contact_group_id_2` (`contact_group_id`,`subscriber_table_id`),
  KEY `contact_group_id` (`contact_group_id`),
  KEY `subscriber_table_id` (`subscriber_table_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `messenger_bot_subscribers_label`
--

LOCK TABLES `messenger_bot_subscribers_label` WRITE;
/*!40000 ALTER TABLE `messenger_bot_subscribers_label` DISABLE KEYS */;
/*!40000 ALTER TABLE `messenger_bot_subscribers_label` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `messenger_bot_template_category`
--

DROP TABLE IF EXISTS `messenger_bot_template_category`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `messenger_bot_template_category` (
  `id` int NOT NULL AUTO_INCREMENT,
  `user_id` int NOT NULL,
  `category_name` varchar(255) NOT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `messenger_bot_template_category`
--

LOCK TABLES `messenger_bot_template_category` WRITE;
/*!40000 ALTER TABLE `messenger_bot_template_category` DISABLE KEYS */;
/*!40000 ALTER TABLE `messenger_bot_template_category` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `modules`
--

DROP TABLE IF EXISTS `modules`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `modules` (
  `id` int NOT NULL AUTO_INCREMENT,
  `module_name` varchar(250) DEFAULT NULL,
  `add_ons_id` int NOT NULL,
  `extra_text` varchar(50) NOT NULL DEFAULT 'month',
  `limit_enabled` enum('0','1') NOT NULL DEFAULT '1',
  `bulk_limit_enabled` enum('0','1') NOT NULL DEFAULT '0',
  `deleted` enum('0','1') NOT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=341 DEFAULT CHARSET=utf8mb3;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `modules`
--

LOCK TABLES `modules` WRITE;
/*!40000 ALTER TABLE `modules` DISABLE KEYS */;
INSERT INTO `modules` (`id`, `module_name`, `add_ons_id`, `extra_text`, `limit_enabled`, `bulk_limit_enabled`, `deleted`) VALUES (65,'Facebook Accounts',0,'','1','0','0'),(66,'Facebook Pages - Subscribers/Page',0,'','1','0','0'),(80,'Comment Automation : Auto Reply Posts',0,'month','1','0','0'),(82,'Live Chat',0,'','0','0','0'),(100,'Social Poster - Access',0,'','0','0','0'),(109,'Social Posting - Account Import :  WordPress (Self hosted)',0,'','1','0','0'),(197,'Bot - Persistent Menu',0,'','0','0','0'),(198,'Bot - Persistent Menu : Copyright Enabled',0,'','0','0','0'),(199,'Bot',0,'','0','0','0'),(200,'Facebook Pages',0,'','1','0','0'),(220,'Social Posting : Facebook CTA Post',0,'month','1','0','0'),(222,'Social Posting : Facebook Carousel/Slider Post',0,'month','1','0','0'),(223,'Social Posting : Facebook Text/Image/Link/Video Post',0,'month','1','0','0'),(251,'Comment Automation : Auto Comment Campaign',0,'','1','0','0'),(256,'Social Posting - RSS Auto Post',0,'','1','0','0'),(257,'Bot - Connectivity : Export, Import & Tree View',0,'','1','','0'),(263,'Email Broadcast - Email Send',0,'month','1','0','0'),(264,'SMS Broadcast - SMS Send',0,'month','1','0','0'),(265,'Bot - Email Auto Responder',0,'','1','0','0'),(268,'E-commerce',0,'','1','0','0'),(275,'Broadcast - One Time Notification Send',0,'month','1','0','0'),(279,'Comment Automation : Instagram Auto Comment Reply',0,'month','1','0','0'),(296,'Social Posting : Instagram Image/Video Post',0,'month','1','1','0'),(315,'Bot - Visual Flow Builder Access',0,'','1','0','0'),(320,'Bot - Instagram Bot',0,'month','1','0','0'),(340,'Bot - AI Reply',0,'','1','0','0');
/*!40000 ALTER TABLE `modules` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `native_api`
--

DROP TABLE IF EXISTS `native_api`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `native_api` (
  `id` int NOT NULL AUTO_INCREMENT,
  `user_id` int NOT NULL,
  `api_key` varchar(50) NOT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `native_api`
--

LOCK TABLES `native_api` WRITE;
/*!40000 ALTER TABLE `native_api` DISABLE KEYS */;
/*!40000 ALTER TABLE `native_api` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `open_ai_config`
--

DROP TABLE IF EXISTS `open_ai_config`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `open_ai_config` (
  `id` int NOT NULL AUTO_INCREMENT,
  `user_id` int NOT NULL,
  `open_ai_secret_key` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `instruction_to_ai` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `models` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `maximum_token` int NOT NULL DEFAULT '1500',
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `open_ai_config`
--

LOCK TABLES `open_ai_config` WRITE;
/*!40000 ALTER TABLE `open_ai_config` DISABLE KEYS */;
/*!40000 ALTER TABLE `open_ai_config` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `otn_optin_subscriber`
--

DROP TABLE IF EXISTS `otn_optin_subscriber`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `otn_optin_subscriber` (
  `id` int NOT NULL AUTO_INCREMENT,
  `otn_id` int NOT NULL,
  `subscriber_id` varchar(255) NOT NULL,
  `page_table_id` int NOT NULL,
  `otn_token` varchar(255) NOT NULL,
  `optin_time` datetime NOT NULL,
  `is_sent` enum('0','1') NOT NULL DEFAULT '0',
  `sent_time` datetime NOT NULL,
  `sent_response` text NOT NULL,
  `deleted` enum('0','1') NOT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `otn_id_subscriber_id` (`otn_id`,`subscriber_id`) USING BTREE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `otn_optin_subscriber`
--

LOCK TABLES `otn_optin_subscriber` WRITE;
/*!40000 ALTER TABLE `otn_optin_subscriber` DISABLE KEYS */;
/*!40000 ALTER TABLE `otn_optin_subscriber` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `otn_postback`
--

DROP TABLE IF EXISTS `otn_postback`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `otn_postback` (
  `id` int NOT NULL AUTO_INCREMENT,
  `template_name` varchar(255) NOT NULL,
  `user_id` int NOT NULL,
  `page_id` int NOT NULL,
  `otn_postback_id` varchar(191) NOT NULL,
  `reply_postback_id` varchar(255) NOT NULL,
  `label_id` varchar(191) NOT NULL,
  `drip_campaign_id` varchar(191) NOT NULL,
  `visual_flow_campaign_id` int NOT NULL,
  `flow_type` enum('general','flow') NOT NULL DEFAULT 'flow',
  `media_type` enum('fb','ig') NOT NULL DEFAULT 'fb',
  `notification_type` enum('otn','daily','weekly','monthly') NOT NULL DEFAULT 'otn',
  `rcn_last_sent_time` datetime NOT NULL,
  `deleted` enum('0','1') NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  KEY `user_id` (`user_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `otn_postback`
--

LOCK TABLES `otn_postback` WRITE;
/*!40000 ALTER TABLE `otn_postback` DISABLE KEYS */;
/*!40000 ALTER TABLE `otn_postback` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `package`
--

DROP TABLE IF EXISTS `package`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `package` (
  `id` int NOT NULL AUTO_INCREMENT,
  `package_name` varchar(250) NOT NULL,
  `module_ids` text NOT NULL,
  `monthly_limit` text,
  `bulk_limit` text,
  `price` varchar(20) NOT NULL DEFAULT '0',
  `validity` int NOT NULL,
  `validity_extra_info` varchar(255) NOT NULL DEFAULT '1,M',
  `is_default` enum('0','1') NOT NULL DEFAULT '0',
  `visible` enum('0','1') NOT NULL DEFAULT '1',
  `highlight` enum('0','1') NOT NULL DEFAULT '0',
  `deleted` enum('0','1') NOT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8mb3;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `package`
--

LOCK TABLES `package` WRITE;
/*!40000 ALTER TABLE `package` DISABLE KEYS */;
INSERT INTO `package` (`id`, `package_name`, `module_ids`, `monthly_limit`, `bulk_limit`, `price`, `validity`, `validity_extra_info`, `is_default`, `visible`, `highlight`, `deleted`) VALUES (1,'Trial','251,80,79,263,65,200,66,223,222,220,279,320,296,82,199,265,197,198,268,275,256,264,100,103,277,108,109,107,101,105,102,33,114,111,113,110,112,78,267,315,340','{\"251\":\"10\",\"80\":\"10\",\"79\":\"30\",\"263\":\"10\",\"65\":\"2\",\"200\":\"10\",\"66\":\"0\",\"223\":\"10\",\"222\":\"10\",\"220\":\"10\",\"279\":\"0\",\"320\":\"0\",\"296\":\"0\",\"82\":\"0\",\"199\":\"0\",\"265\":\"5\",\"197\":\"0\",\"198\":\"0\",\"268\":\"0\",\"275\":\"100\",\"256\":\"5\",\"264\":\"10\",\"100\":\"0\",\"103\":\"2\",\"277\":\"0\",\"108\":\"2\",\"109\":\"0\",\"107\":\"2\",\"101\":\"2\",\"105\":\"2\",\"102\":\"2\",\"33\":\"2\",\"114\":\"10\",\"111\":\"10\",\"113\":\"10\",\"110\":\"10\",\"112\":\"10\",\"78\":\"0\",\"267\":\"30\",\"315\":\"0\",\"340\":\"0\"}','{\"251\":\"0\",\"80\":\"0\",\"79\":\"50\",\"263\":\"0\",\"65\":\"0\",\"200\":\"0\",\"66\":\"0\",\"223\":\"0\",\"222\":\"0\",\"220\":\"0\",\"279\":\"0\",\"320\":\"0\",\"296\":\"0\",\"82\":\"0\",\"199\":\"0\",\"265\":\"0\",\"197\":\"0\",\"198\":\"0\",\"268\":\"0\",\"275\":\"0\",\"256\":\"0\",\"264\":\"0\",\"100\":\"0\",\"103\":\"0\",\"277\":\"0\",\"108\":\"0\",\"109\":\"0\",\"107\":\"0\",\"101\":\"0\",\"105\":\"0\",\"102\":\"0\",\"33\":\"0\",\"114\":\"5\",\"111\":\"5\",\"113\":\"5\",\"110\":\"5\",\"112\":\"5\",\"78\":\"0\",\"267\":\"0\",\"315\":\"0\",\"340\":\"0\"}','Trial',7,'1,W','1','0','0','0');
/*!40000 ALTER TABLE `package` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `page_response_auto_like_report`
--

DROP TABLE IF EXISTS `page_response_auto_like_report`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `page_response_auto_like_report` (
  `id` int NOT NULL AUTO_INCREMENT,
  `page_response_auto_like_share_report_id` int NOT NULL,
  `user_id` int NOT NULL,
  `auto_like_page_table_id` text NOT NULL,
  `status` enum('0','1') NOT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `page_response_auto_like_report`
--

LOCK TABLES `page_response_auto_like_report` WRITE;
/*!40000 ALTER TABLE `page_response_auto_like_report` DISABLE KEYS */;
/*!40000 ALTER TABLE `page_response_auto_like_report` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `page_response_auto_like_share`
--

DROP TABLE IF EXISTS `page_response_auto_like_share`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `page_response_auto_like_share` (
  `id` int NOT NULL AUTO_INCREMENT,
  `page_response_user_info_id` int NOT NULL,
  `user_id` int NOT NULL,
  `page_info_table_id` int NOT NULL,
  `page_name` text,
  `page_id` varchar(200) NOT NULL,
  `auto_share_post` enum('0','1') NOT NULL DEFAULT '0',
  `auto_share_this_post_by_pages` text NOT NULL,
  `delay_time` varchar(20) NOT NULL,
  `auto_like_post` enum('0','1') NOT NULL DEFAULT '0',
  `auto_like_this_post_by_pages` text NOT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `user_id` (`user_id`,`page_info_table_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `page_response_auto_like_share`
--

LOCK TABLES `page_response_auto_like_share` WRITE;
/*!40000 ALTER TABLE `page_response_auto_like_share` DISABLE KEYS */;
/*!40000 ALTER TABLE `page_response_auto_like_share` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `page_response_auto_like_share_report`
--

DROP TABLE IF EXISTS `page_response_auto_like_share_report`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `page_response_auto_like_share_report` (
  `id` int NOT NULL AUTO_INCREMENT,
  `page_response_auto_like_share_id` int NOT NULL,
  `page_response_user_info_id` int NOT NULL,
  `user_id` int NOT NULL,
  `page_info_table_id` int NOT NULL,
  `page_name` text,
  `page_id` varchar(200) NOT NULL,
  `post_id` varchar(200) NOT NULL,
  `auto_share_post` enum('0','1','2','3') NOT NULL DEFAULT '0' COMMENT '0 = no, 1 = yes, 2 = processing, 3=completed',
  `share_count` int NOT NULL,
  `share_done` int NOT NULL,
  `share_last_tried` datetime NOT NULL,
  `auto_share_this_post_by_pages` text NOT NULL,
  `auto_share_report` longtext,
  `delay_time` varchar(20) NOT NULL,
  `auto_like_post` enum('0','1','2','3') NOT NULL DEFAULT '0' COMMENT '0 = no, 1 = yes, 2 = processing, 3=completed',
  `like_count` int NOT NULL,
  `like_done` int NOT NULL,
  `like_last_tried` datetime NOT NULL,
  `auto_like_this_post_by_pages` text NOT NULL,
  `auto_like_report` longtext,
  PRIMARY KEY (`id`),
  UNIQUE KEY `post_id` (`post_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `page_response_auto_like_share_report`
--

LOCK TABLES `page_response_auto_like_share_report` WRITE;
/*!40000 ALTER TABLE `page_response_auto_like_share_report` DISABLE KEYS */;
/*!40000 ALTER TABLE `page_response_auto_like_share_report` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `page_response_auto_share_report`
--

DROP TABLE IF EXISTS `page_response_auto_share_report`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `page_response_auto_share_report` (
  `id` int NOT NULL AUTO_INCREMENT,
  `page_response_auto_like_share_report_id` int NOT NULL,
  `user_id` int NOT NULL,
  `auto_share_page_table_id` text NOT NULL,
  `status` enum('0','1') NOT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `page_response_auto_share_report`
--

LOCK TABLES `page_response_auto_share_report` WRITE;
/*!40000 ALTER TABLE `page_response_auto_share_report` DISABLE KEYS */;
/*!40000 ALTER TABLE `page_response_auto_share_report` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `page_response_autoreply`
--

DROP TABLE IF EXISTS `page_response_autoreply`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `page_response_autoreply` (
  `id` int NOT NULL AUTO_INCREMENT,
  `page_response_user_info_id` int NOT NULL,
  `auto_reply_campaign_name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `user_id` int NOT NULL,
  `page_info_table_id` int NOT NULL,
  `page_name` mediumtext CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci,
  `post_id` varchar(200) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `post_created_at` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `post_description` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci,
  `reply_type` varchar(200) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `auto_like_comment` enum('no','yes') CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `multiple_reply` enum('no','yes') CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `comment_reply_enabled` enum('no','yes') CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `nofilter_word_found_text` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `auto_reply_text` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `auto_private_reply_status` enum('0','1','2') CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '0',
  `auto_private_reply_count` int NOT NULL,
  `last_updated_at` datetime NOT NULL,
  `last_reply_time` datetime NOT NULL,
  `error_message` mediumtext CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `hide_comment_after_comment_reply` enum('no','yes') CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `is_delete_offensive` enum('hide','delete') CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `offensive_words` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `private_message_offensive_words` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `hidden_comment_count` int NOT NULL,
  `deleted_comment_count` int NOT NULL,
  `auto_comment_reply_count` int NOT NULL,
  `pause_play` enum('play','pause') CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `structured_message` enum('no','yes') CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'no',
  `trigger_matching_type` enum('exact','string') CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'exact' COMMENT 'exact keyword or string match',
  `ai_reply_enabled` enum('0','1') CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '0',
  `ai_training_data` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci,
  PRIMARY KEY (`id`),
  UNIQUE KEY `user_id` (`user_id`,`page_info_table_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `page_response_autoreply`
--

LOCK TABLES `page_response_autoreply` WRITE;
/*!40000 ALTER TABLE `page_response_autoreply` DISABLE KEYS */;
/*!40000 ALTER TABLE `page_response_autoreply` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `page_response_report`
--

DROP TABLE IF EXISTS `page_response_report`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `page_response_report` (
  `id` int NOT NULL AUTO_INCREMENT,
  `page_response_autoreply_id` int NOT NULL,
  `auto_reply_campaign_name` varchar(255) DEFAULT NULL,
  `user_id` int NOT NULL,
  `page_info_table_id` int NOT NULL,
  `page_name` text,
  `post_id` varchar(200) NOT NULL,
  `post_created_at` varchar(255) DEFAULT NULL,
  `post_description` longtext,
  `reply_type` varchar(200) NOT NULL,
  `auto_like_comment` enum('no','yes') NOT NULL,
  `multiple_reply` enum('no','yes') NOT NULL,
  `comment_reply_enabled` enum('no','yes') NOT NULL,
  `nofilter_word_found_text` longtext NOT NULL,
  `auto_reply_text` longtext NOT NULL,
  `auto_private_reply_status` enum('0','1','2') NOT NULL DEFAULT '0',
  `auto_private_reply_count` int NOT NULL,
  `last_updated_at` datetime NOT NULL,
  `last_reply_time` datetime NOT NULL,
  `error_message` text NOT NULL,
  `hide_comment_after_comment_reply` enum('no','yes') NOT NULL,
  `is_delete_offensive` enum('hide','delete') NOT NULL,
  `offensive_words` longtext NOT NULL,
  `private_message_offensive_words` longtext NOT NULL,
  `hidden_comment_count` int NOT NULL,
  `deleted_comment_count` int NOT NULL,
  `auto_comment_reply_count` int NOT NULL,
  `already_replied_comment_ids` longtext NOT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `page_response_autoreply_id` (`page_response_autoreply_id`,`post_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `page_response_report`
--

LOCK TABLES `page_response_report` WRITE;
/*!40000 ALTER TABLE `page_response_report` DISABLE KEYS */;
/*!40000 ALTER TABLE `page_response_report` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `payment_config`
--

DROP TABLE IF EXISTS `payment_config`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `payment_config` (
  `id` int NOT NULL AUTO_INCREMENT,
  `paypal_email` varchar(250) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `paypal_payment_type` enum('manual','recurring') CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'manual',
  `paypal_mode` enum('live','sandbox') CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'live',
  `stripe_secret_key` varchar(150) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `stripe_publishable_key` varchar(150) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `razorpay_key_id` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `razorpay_key_secret` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `paystack_secret_key` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `paystack_public_key` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `mercadopago_public_key` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `mercadopago_access_token` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `marcadopago_country` varchar(20) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `mercadopago_mode` varchar(30) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `mollie_api_key` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `currency` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'USD',
  `manual_payment` enum('no','yes') CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'no',
  `manual_payment_instruction` mediumtext CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci,
  `deleted` enum('0','1') CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '0',
  `sslcommerz_store_id` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `sslcommerz_store_password` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `sslcommers_mode` varchar(30) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `senangpay_merchent_id` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `senangpay_secret_key` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `senangpay_mode` varchar(30) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `instamojo_api_key` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `instamojo_auth_token` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `instamojo_mode` varchar(30) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `toyyibpay_secret_key` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `toyyibpay_category_code` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `toyyibpay_mode` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `xendit_secret_api_key` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `myfatoorah_api_key` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `myfatoorah_mode` varchar(30) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `paymaya_public_key` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `paymaya_secret_key` varchar(256) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `paymaya_mode` varchar(30) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `payment_config`
--

LOCK TABLES `payment_config` WRITE;
/*!40000 ALTER TABLE `payment_config` DISABLE KEYS */;
/*!40000 ALTER TABLE `payment_config` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `paypal_error_log`
--

DROP TABLE IF EXISTS `paypal_error_log`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `paypal_error_log` (
  `id` int NOT NULL AUTO_INCREMENT,
  `call_time` datetime DEFAULT NULL,
  `ipn_value` text,
  `error_log` varchar(255) DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `paypal_error_log`
--

LOCK TABLES `paypal_error_log` WRITE;
/*!40000 ALTER TABLE `paypal_error_log` DISABLE KEYS */;
/*!40000 ALTER TABLE `paypal_error_log` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `send_email_to_autoresponder_log`
--

DROP TABLE IF EXISTS `send_email_to_autoresponder_log`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `send_email_to_autoresponder_log` (
  `id` int NOT NULL AUTO_INCREMENT,
  `user_id` int NOT NULL,
  `mailchimp_config_id` int NOT NULL,
  `settings_type` varchar(50) NOT NULL COMMENT 'admin settings, member settings',
  `status` varchar(20) NOT NULL,
  `email` varchar(50) NOT NULL,
  `auto_responder_type` varchar(30) NOT NULL COMMENT 'mailchimp,aweber etc',
  `api_name` varchar(100) NOT NULL,
  `response` text NOT NULL,
  `insert_time` datetime NOT NULL,
  PRIMARY KEY (`id`),
  KEY `user_id` (`user_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `send_email_to_autoresponder_log`
--

LOCK TABLES `send_email_to_autoresponder_log` WRITE;
/*!40000 ALTER TABLE `send_email_to_autoresponder_log` DISABLE KEYS */;
/*!40000 ALTER TABLE `send_email_to_autoresponder_log` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `sms_api_config`
--

DROP TABLE IF EXISTS `sms_api_config`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `sms_api_config` (
  `id` int NOT NULL AUTO_INCREMENT,
  `user_id` int NOT NULL,
  `gateway_name` enum('planet','plivo','twilio','clickatell','clickatell-platform','nexmo','msg91.com','textlocal.in','sms4connect.com','telnor.com','mvaayoo.com','routesms.com','trio-mobile.com','sms40.com','africastalking.com','infobip.com','smsgatewayme','semysms.net','custom','custom_post') CHARACTER SET latin1 COLLATE latin1_swedish_ci NOT NULL,
  `custom_name` varchar(255) CHARACTER SET latin1 COLLATE latin1_swedish_ci NOT NULL,
  `username_auth_id` tinytext CHARACTER SET latin1 COLLATE latin1_swedish_ci NOT NULL,
  `password_auth_token` tinytext CHARACTER SET latin1 COLLATE latin1_swedish_ci NOT NULL,
  `routesms_host_name` varchar(255) CHARACTER SET latin1 COLLATE latin1_swedish_ci NOT NULL,
  `api_id` tinytext CHARACTER SET latin1 COLLATE latin1_swedish_ci NOT NULL,
  `input_http_url` varchar(255) CHARACTER SET latin1 COLLATE latin1_swedish_ci NOT NULL,
  `final_http_url` varchar(255) CHARACTER SET latin1 COLLATE latin1_swedish_ci NOT NULL,
  `phone_number` varchar(100) CHARACTER SET latin1 COLLATE latin1_swedish_ci NOT NULL,
  `shortcode` varchar(100) CHARACTER SET latin1 COLLATE latin1_swedish_ci NOT NULL,
  `base_url` varchar(255) NOT NULL COMMENT 'for custom post method',
  `post_data` text NOT NULL COMMENT 'post data for custom post method',
  `status` enum('0','1') CHARACTER SET latin1 COLLATE latin1_swedish_ci NOT NULL DEFAULT '1',
  `deleted` enum('0','1') CHARACTER SET latin1 COLLATE latin1_swedish_ci NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  KEY `user_id` (`user_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `sms_api_config`
--

LOCK TABLES `sms_api_config` WRITE;
/*!40000 ALTER TABLE `sms_api_config` DISABLE KEYS */;
/*!40000 ALTER TABLE `sms_api_config` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `sms_email_contact_group`
--

DROP TABLE IF EXISTS `sms_email_contact_group`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `sms_email_contact_group` (
  `id` int NOT NULL AUTO_INCREMENT,
  `user_id` int NOT NULL,
  `type` varchar(100) NOT NULL,
  `created_at` datetime NOT NULL,
  `deleted` enum('0','1') NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  KEY `user_id` (`user_id`,`type`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `sms_email_contact_group`
--

LOCK TABLES `sms_email_contact_group` WRITE;
/*!40000 ALTER TABLE `sms_email_contact_group` DISABLE KEYS */;
/*!40000 ALTER TABLE `sms_email_contact_group` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `sms_email_contacts`
--

DROP TABLE IF EXISTS `sms_email_contacts`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `sms_email_contacts` (
  `id` int NOT NULL AUTO_INCREMENT,
  `user_id` int NOT NULL,
  `contact_type_id` text CHARACTER SET latin1 COLLATE latin1_swedish_ci NOT NULL,
  `first_name` varchar(100) NOT NULL,
  `last_name` varchar(100) NOT NULL,
  `phone_number` varchar(50) CHARACTER SET latin1 COLLATE latin1_swedish_ci DEFAULT NULL,
  `email` varchar(100) DEFAULT NULL,
  `notes` text NOT NULL,
  `unsubscribed` enum('0','1') CHARACTER SET latin1 COLLATE latin1_swedish_ci NOT NULL DEFAULT '0',
  `status` enum('0','1') NOT NULL DEFAULT '1',
  `sms_email_sequence_campaign_ids` text NOT NULL,
  `deleted` enum('0','1') CHARACTER SET latin1 COLLATE latin1_swedish_ci NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `sms_email_contacts`
--

LOCK TABLES `sms_email_contacts` WRITE;
/*!40000 ALTER TABLE `sms_email_contacts` DISABLE KEYS */;
/*!40000 ALTER TABLE `sms_email_contacts` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `sms_sending_campaign`
--

DROP TABLE IF EXISTS `sms_sending_campaign`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `sms_sending_campaign` (
  `id` int NOT NULL AUTO_INCREMENT,
  `user_id` int NOT NULL,
  `api_id` int NOT NULL,
  `page_id` int NOT NULL,
  `fb_page_id` varchar(255) NOT NULL,
  `page_name` varchar(255) NOT NULL,
  `label_ids` text NOT NULL,
  `excluded_label_ids` text NOT NULL,
  `label_names` text NOT NULL,
  `user_gender` varchar(20) NOT NULL,
  `user_time_zone` varchar(20) NOT NULL,
  `user_locale` varchar(50) NOT NULL,
  `contact_ids` mediumtext NOT NULL,
  `google_contacts_id` text,
  `contact_type_id` mediumtext NOT NULL,
  `google_contact_type_id` mediumtext,
  `campaign_name` varchar(255) NOT NULL,
  `campaign_message` mediumtext CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `manual_phone` varchar(255) NOT NULL,
  `posting_status` enum('0','1','2','3') NOT NULL,
  `schedule_time` datetime NOT NULL,
  `time_zone` mediumtext NOT NULL,
  `total_thread` int NOT NULL,
  `successfully_sent` int NOT NULL,
  `created_at` datetime NOT NULL,
  `completed_at` datetime NOT NULL,
  `is_try_again` enum('0','1') NOT NULL DEFAULT '1',
  `campaign_delay` varchar(50) NOT NULL,
  PRIMARY KEY (`id`),
  KEY `user_id` (`user_id`),
  KEY `status` (`posting_status`),
  KEY `userId_completed` (`user_id`,`completed_at`) USING BTREE,
  KEY `userid_postingstatus` (`user_id`,`posting_status`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `sms_sending_campaign`
--

LOCK TABLES `sms_sending_campaign` WRITE;
/*!40000 ALTER TABLE `sms_sending_campaign` DISABLE KEYS */;
/*!40000 ALTER TABLE `sms_sending_campaign` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `sms_sending_campaign_send`
--

DROP TABLE IF EXISTS `sms_sending_campaign_send`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `sms_sending_campaign_send` (
  `id` int NOT NULL AUTO_INCREMENT,
  `user_id` int NOT NULL,
  `sms_api_id` int NOT NULL,
  `campaign_id` int NOT NULL,
  `contact_id` int NOT NULL,
  `subscriber_id` int NOT NULL,
  `contact_first_name` varchar(255) NOT NULL,
  `contact_last_name` varchar(255) NOT NULL,
  `contact_email` varchar(255) NOT NULL,
  `contact_phone_number` varchar(255) NOT NULL,
  `delivery_id` varchar(250) NOT NULL,
  `sent_time` datetime NOT NULL,
  `processed` enum('0','1') NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  KEY `campaign_id` (`campaign_id`,`processed`) USING BTREE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `sms_sending_campaign_send`
--

LOCK TABLES `sms_sending_campaign_send` WRITE;
/*!40000 ALTER TABLE `sms_sending_campaign_send` DISABLE KEYS */;
/*!40000 ALTER TABLE `sms_sending_campaign_send` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `tag_machine_bulk_reply`
--

DROP TABLE IF EXISTS `tag_machine_bulk_reply`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `tag_machine_bulk_reply` (
  `id` int NOT NULL AUTO_INCREMENT,
  `campaign_name` varchar(255) NOT NULL,
  `reply_content` text NOT NULL,
  `uploaded_image_video` varchar(255) NOT NULL,
  `reply_multiple` enum('0','1') DEFAULT '0',
  `report` longtext NOT NULL,
  `campaign_created` datetime NOT NULL,
  `posting_status` enum('0','1','2') NOT NULL DEFAULT '0',
  `delay_time` int NOT NULL,
  `is_try_again` enum('0','1') NOT NULL DEFAULT '1',
  `total_reply` int NOT NULL,
  `schedule_type` enum('now','later') NOT NULL DEFAULT 'now',
  `schedule_time` datetime NOT NULL,
  `time_zone` varchar(255) NOT NULL,
  `successfully_sent` int NOT NULL,
  `last_try_error_count` int NOT NULL,
  `last_updated_at` datetime NOT NULL,
  `tag_machine_enabled_post_list_id` int NOT NULL,
  `facebook_rx_fb_user_info_id` int NOT NULL,
  `user_id` int NOT NULL,
  `page_info_table_id` int NOT NULL,
  `page_id` varchar(255) NOT NULL COMMENT 'facebook page id',
  `page_name` varchar(255) DEFAULT NULL,
  `page_profile` text NOT NULL,
  `post_id` varchar(200) NOT NULL,
  `post_created_at` varchar(255) DEFAULT NULL,
  `post_description` text,
  `error_message` text NOT NULL,
  PRIMARY KEY (`id`),
  KEY `posting_status` (`posting_status`,`is_try_again`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `tag_machine_bulk_reply`
--

LOCK TABLES `tag_machine_bulk_reply` WRITE;
/*!40000 ALTER TABLE `tag_machine_bulk_reply` DISABLE KEYS */;
/*!40000 ALTER TABLE `tag_machine_bulk_reply` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `tag_machine_bulk_reply_send`
--

DROP TABLE IF EXISTS `tag_machine_bulk_reply_send`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `tag_machine_bulk_reply_send` (
  `id` int NOT NULL AUTO_INCREMENT,
  `campaign_id` int NOT NULL COMMENT 'tag_machine_bulk_reply.id',
  `comment_id` varchar(255) NOT NULL,
  `commenter_fb_id` varchar(255) NOT NULL,
  `commenter_name` varchar(255) NOT NULL,
  `comment_time` datetime NOT NULL,
  `sent_time` datetime NOT NULL,
  `response` varchar(255) NOT NULL,
  `processed` enum('0','1') NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  KEY `campaign_id` (`campaign_id`,`processed`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `tag_machine_bulk_reply_send`
--

LOCK TABLES `tag_machine_bulk_reply_send` WRITE;
/*!40000 ALTER TABLE `tag_machine_bulk_reply_send` DISABLE KEYS */;
/*!40000 ALTER TABLE `tag_machine_bulk_reply_send` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `tag_machine_bulk_tag`
--

DROP TABLE IF EXISTS `tag_machine_bulk_tag`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `tag_machine_bulk_tag` (
  `id` int NOT NULL AUTO_INCREMENT,
  `campaign_name` varchar(255) NOT NULL,
  `tag_database` longtext NOT NULL,
  `tag_exclude` longtext NOT NULL,
  `tag_content` text NOT NULL,
  `uploaded_image_video` varchar(255) NOT NULL,
  `error_message` text NOT NULL,
  `tag_response` text NOT NULL,
  `schedule_type` enum('now','later') NOT NULL DEFAULT 'now',
  `schedule_time` datetime NOT NULL,
  `time_zone` varchar(255) NOT NULL,
  `campaign_created` datetime NOT NULL,
  `posting_status` enum('0','1','2') NOT NULL DEFAULT '0',
  `last_updated_at` datetime NOT NULL,
  `tag_machine_enabled_post_list_id` int NOT NULL,
  `facebook_rx_fb_user_info_id` int NOT NULL,
  `user_id` int NOT NULL,
  `page_info_table_id` int NOT NULL,
  `page_id` varchar(255) NOT NULL COMMENT 'facebook page id',
  `page_name` varchar(255) DEFAULT NULL,
  `page_profile` text NOT NULL,
  `post_id` varchar(200) NOT NULL,
  `post_created_at` varchar(255) DEFAULT NULL,
  `post_description` text,
  `commenter_count` int NOT NULL,
  PRIMARY KEY (`id`),
  KEY `posting_status` (`posting_status`),
  KEY `facebook_rx_fb_user_info_id` (`facebook_rx_fb_user_info_id`,`page_info_table_id`,`post_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `tag_machine_bulk_tag`
--

LOCK TABLES `tag_machine_bulk_tag` WRITE;
/*!40000 ALTER TABLE `tag_machine_bulk_tag` DISABLE KEYS */;
/*!40000 ALTER TABLE `tag_machine_bulk_tag` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `tag_machine_comment_info`
--

DROP TABLE IF EXISTS `tag_machine_comment_info`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `tag_machine_comment_info` (
  `id` int NOT NULL AUTO_INCREMENT,
  `tag_machine_enabled_post_list_id` int NOT NULL,
  `facebook_rx_fb_user_info_id` int NOT NULL,
  `user_id` int NOT NULL,
  `page_info_table_id` int NOT NULL,
  `page_id` varchar(255) NOT NULL COMMENT 'facebook page id',
  `page_name` varchar(255) DEFAULT NULL,
  `post_id` varchar(200) NOT NULL,
  `comment_id` varchar(255) NOT NULL,
  `comment_text` text NOT NULL,
  `commenter_fb_id` varchar(255) NOT NULL,
  `commenter_name` varchar(255) NOT NULL,
  `comment_time` varchar(255) NOT NULL,
  `subscribed` enum('0','1') NOT NULL DEFAULT '1',
  PRIMARY KEY (`id`),
  UNIQUE KEY `tag_machine_enabled_post_list_id` (`tag_machine_enabled_post_list_id`,`comment_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `tag_machine_comment_info`
--

LOCK TABLES `tag_machine_comment_info` WRITE;
/*!40000 ALTER TABLE `tag_machine_comment_info` DISABLE KEYS */;
/*!40000 ALTER TABLE `tag_machine_comment_info` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `tag_machine_commenter_info`
--

DROP TABLE IF EXISTS `tag_machine_commenter_info`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `tag_machine_commenter_info` (
  `id` int NOT NULL AUTO_INCREMENT,
  `tag_machine_enabled_post_list_id` int NOT NULL,
  `facebook_rx_fb_user_info_id` int NOT NULL,
  `user_id` int NOT NULL,
  `page_info_table_id` int NOT NULL,
  `page_id` varchar(255) NOT NULL COMMENT 'facebook page id',
  `page_name` varchar(255) DEFAULT NULL,
  `post_id` varchar(200) NOT NULL,
  `last_comment_id` varchar(255) NOT NULL,
  `last_comment_time` varchar(255) NOT NULL,
  `commenter_fb_id` varchar(255) NOT NULL,
  `commenter_name` varchar(255) NOT NULL,
  `subscribed` enum('0','1') NOT NULL DEFAULT '1',
  PRIMARY KEY (`id`),
  UNIQUE KEY `tag_machine_enabled_post_list_id` (`tag_machine_enabled_post_list_id`,`commenter_fb_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `tag_machine_commenter_info`
--

LOCK TABLES `tag_machine_commenter_info` WRITE;
/*!40000 ALTER TABLE `tag_machine_commenter_info` DISABLE KEYS */;
/*!40000 ALTER TABLE `tag_machine_commenter_info` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `tag_machine_enabled_post_list`
--

DROP TABLE IF EXISTS `tag_machine_enabled_post_list`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `tag_machine_enabled_post_list` (
  `id` int NOT NULL AUTO_INCREMENT,
  `facebook_rx_fb_user_info_id` int NOT NULL,
  `user_id` int NOT NULL,
  `page_info_table_id` int NOT NULL,
  `page_id` varchar(255) NOT NULL COMMENT 'facebook page id',
  `page_name` varchar(255) DEFAULT NULL,
  `page_profile` text NOT NULL,
  `post_id` varchar(200) NOT NULL,
  `post_created_at` varchar(255) DEFAULT NULL,
  `post_description` text,
  `last_updated_at` datetime NOT NULL,
  `commenter_count` int NOT NULL,
  `comment_count` int NOT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `facebook_rx_fb_user_info_id` (`facebook_rx_fb_user_info_id`,`page_info_table_id`,`post_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `tag_machine_enabled_post_list`
--

LOCK TABLES `tag_machine_enabled_post_list` WRITE;
/*!40000 ALTER TABLE `tag_machine_enabled_post_list` DISABLE KEYS */;
/*!40000 ALTER TABLE `tag_machine_enabled_post_list` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `transaction_history`
--

DROP TABLE IF EXISTS `transaction_history`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `transaction_history` (
  `id` int NOT NULL AUTO_INCREMENT,
  `verify_status` varchar(200) NOT NULL,
  `first_name` varchar(250) NOT NULL,
  `last_name` varchar(250) NOT NULL,
  `paypal_email` varchar(200) NOT NULL,
  `receiver_email` varchar(200) NOT NULL,
  `country` varchar(100) NOT NULL,
  `payment_date` varchar(100) NOT NULL,
  `payment_type` varchar(100) NOT NULL,
  `transaction_id` varchar(150) NOT NULL,
  `paid_amount` float NOT NULL,
  `user_id` int NOT NULL,
  `cycle_start_date` date NOT NULL,
  `cycle_expired_date` date NOT NULL,
  `package_id` int NOT NULL,
  `stripe_card_source` text NOT NULL,
  `paypal_txn_type` varchar(100) NOT NULL,
  PRIMARY KEY (`id`),
  KEY `user_id` (`user_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `transaction_history`
--

LOCK TABLES `transaction_history` WRITE;
/*!40000 ALTER TABLE `transaction_history` DISABLE KEYS */;
/*!40000 ALTER TABLE `transaction_history` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `transaction_history_manual`
--

DROP TABLE IF EXISTS `transaction_history_manual`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `transaction_history_manual` (
  `id` int NOT NULL AUTO_INCREMENT,
  `user_id` int NOT NULL,
  `package_id` int NOT NULL,
  `transaction_id` varchar(150) NOT NULL,
  `paid_amount` varchar(255) NOT NULL,
  `paid_currency` char(4) NOT NULL,
  `additional_info` longtext NOT NULL,
  `filename` varchar(255) NOT NULL,
  `status` enum('0','1','2') NOT NULL DEFAULT '0',
  `updated_at` datetime DEFAULT NULL,
  `created_at` datetime DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `thm_user_id` (`user_id`),
  CONSTRAINT `thm_user_id` FOREIGN KEY (`user_id`) REFERENCES `users` (`id`) ON DELETE CASCADE ON UPDATE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `transaction_history_manual`
--

LOCK TABLES `transaction_history_manual` WRITE;
/*!40000 ALTER TABLE `transaction_history_manual` DISABLE KEYS */;
/*!40000 ALTER TABLE `transaction_history_manual` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `ultrapost_auto_reply`
--

DROP TABLE IF EXISTS `ultrapost_auto_reply`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `ultrapost_auto_reply` (
  `id` int NOT NULL AUTO_INCREMENT,
  `ultrapost_campaign_name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `user_id` int NOT NULL,
  `reply_type` varchar(200) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `auto_like_comment` enum('no','yes') CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `multiple_reply` enum('no','yes') CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `comment_reply_enabled` enum('no','yes') CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `nofilter_word_found_text` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `auto_reply_text` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `hide_comment_after_comment_reply` enum('no','yes') CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `is_delete_offensive` enum('hide','delete') CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `offensive_words` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `private_message_offensive_words` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `page_ids` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `structured_message` enum('no','yes') CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'no',
  `trigger_matching_type` enum('exact','string') CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'exact' COMMENT 'exact keyword or string match',
  `page_name` varchar(200) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NOT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `ultrapost_auto_reply`
--

LOCK TABLES `ultrapost_auto_reply` WRITE;
/*!40000 ALTER TABLE `ultrapost_auto_reply` DISABLE KEYS */;
/*!40000 ALTER TABLE `ultrapost_auto_reply` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `update_list`
--

DROP TABLE IF EXISTS `update_list`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `update_list` (
  `id` int NOT NULL AUTO_INCREMENT,
  `files` text NOT NULL,
  `sql_query` text NOT NULL,
  `update_id` int NOT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `update_list`
--

LOCK TABLES `update_list` WRITE;
/*!40000 ALTER TABLE `update_list` DISABLE KEYS */;
/*!40000 ALTER TABLE `update_list` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `usage_log`
--

DROP TABLE IF EXISTS `usage_log`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `usage_log` (
  `id` bigint NOT NULL AUTO_INCREMENT,
  `module_id` int NOT NULL,
  `user_id` int NOT NULL,
  `usage_month` int NOT NULL,
  `usage_year` year NOT NULL,
  `usage_count` int NOT NULL,
  PRIMARY KEY (`id`),
  KEY `module_id` (`module_id`,`user_id`)
) ENGINE=InnoDB AUTO_INCREMENT=3 DEFAULT CHARSET=utf8mb3;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `usage_log`
--

LOCK TABLES `usage_log` WRITE;
/*!40000 ALTER TABLE `usage_log` DISABLE KEYS */;
INSERT INTO `usage_log` (`id`, `module_id`, `user_id`, `usage_month`, `usage_year`, `usage_count`) VALUES (1,65,1,3,2025,1),(2,200,1,3,2025,2);
/*!40000 ALTER TABLE `usage_log` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `user_input_custom_fields`
--

DROP TABLE IF EXISTS `user_input_custom_fields`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `user_input_custom_fields` (
  `id` int NOT NULL AUTO_INCREMENT,
  `user_id` int NOT NULL,
  `name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `reply_type` varchar(20) NOT NULL,
  `media_type` enum('fb','ig') NOT NULL DEFAULT 'fb',
  `create_time` datetime NOT NULL,
  PRIMARY KEY (`id`),
  KEY `custom field` (`user_id`,`reply_type`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `user_input_custom_fields`
--

LOCK TABLES `user_input_custom_fields` WRITE;
/*!40000 ALTER TABLE `user_input_custom_fields` DISABLE KEYS */;
/*!40000 ALTER TABLE `user_input_custom_fields` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `user_input_custom_fields_assaign`
--

DROP TABLE IF EXISTS `user_input_custom_fields_assaign`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `user_input_custom_fields_assaign` (
  `id` int NOT NULL AUTO_INCREMENT,
  `subscriber_id` varchar(50) NOT NULL,
  `page_id` varchar(50) NOT NULL,
  `custom_field_id` int NOT NULL,
  `custom_field_value` text NOT NULL,
  `assaign_time` datetime NOT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `subscriber_id` (`subscriber_id`,`page_id`,`custom_field_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `user_input_custom_fields_assaign`
--

LOCK TABLES `user_input_custom_fields_assaign` WRITE;
/*!40000 ALTER TABLE `user_input_custom_fields_assaign` DISABLE KEYS */;
/*!40000 ALTER TABLE `user_input_custom_fields_assaign` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `user_login_info`
--

DROP TABLE IF EXISTS `user_login_info`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `user_login_info` (
  `id` int NOT NULL AUTO_INCREMENT,
  `user_id` int NOT NULL,
  `user_name` varchar(100) NOT NULL,
  `user_email` varchar(150) NOT NULL,
  `login_time` datetime NOT NULL,
  `login_ip` varchar(25) NOT NULL,
  PRIMARY KEY (`id`)
) ENGINE=MyISAM AUTO_INCREMENT=4 DEFAULT CHARSET=utf8mb3;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `user_login_info`
--

LOCK TABLES `user_login_info` WRITE;
/*!40000 ALTER TABLE `user_login_info` DISABLE KEYS */;
INSERT INTO `user_login_info` (`id`, `user_id`, `user_name`, `user_email`, `login_time`, `login_ip`) VALUES (1,1,'DeshiServer','super@panel.com','2025-03-05 09:31:44','45.125.223.81'),(2,1,'DeshiServer','super@panel.com','2025-03-05 09:35:20','45.125.223.81'),(3,1,'DeshiServer','super@panel.com','2025-03-05 09:35:32','103.115.24.75');
/*!40000 ALTER TABLE `user_login_info` ENABLE KEYS */;
UNLOCK TABLES;

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

DROP TABLE IF EXISTS `users`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `users` (
  `id` int NOT NULL AUTO_INCREMENT,
  `name` varchar(99) NOT NULL,
  `email` varchar(99) NOT NULL,
  `fb_id` varchar(50) NOT NULL,
  `mobile` varchar(100) NOT NULL,
  `password` varchar(99) NOT NULL,
  `address` text NOT NULL,
  `user_type` enum('Member','Admin') NOT NULL,
  `status` enum('1','0') NOT NULL,
  `add_date` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `purchase_date` datetime NOT NULL,
  `last_login_at` datetime NOT NULL,
  `activation_code` varchar(20) DEFAULT NULL,
  `expired_date` datetime NOT NULL,
  `bot_status` enum('0','1') NOT NULL DEFAULT '1',
  `package_id` int NOT NULL,
  `deleted` enum('0','1') NOT NULL,
  `brand_logo` text,
  `brand_url` text,
  `vat_no` varchar(100) DEFAULT NULL,
  `currency` enum('USD','AUD','CAD','EUR','ILS','NZD','RUB','SGD','SEK','BRL') NOT NULL DEFAULT 'USD',
  `time_zone` varchar(255) DEFAULT NULL,
  `company_email` varchar(200) DEFAULT NULL,
  `paypal_email` varchar(100) NOT NULL,
  `paypal_subscription_enabled` enum('0','1') NOT NULL DEFAULT '0',
  `last_payment_method` varchar(50) NOT NULL,
  `last_login_ip` varchar(25) NOT NULL,
  `browser_notification_enabled` enum('0','1') CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '0',
  `affiliate_id` int NOT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8mb3;
/*!40101 SET character_set_client = @saved_cs_client */;

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

LOCK TABLES `users` WRITE;
/*!40000 ALTER TABLE `users` DISABLE KEYS */;
INSERT INTO `users` (`id`, `name`, `email`, `fb_id`, `mobile`, `password`, `address`, `user_type`, `status`, `add_date`, `purchase_date`, `last_login_at`, `activation_code`, `expired_date`, `bot_status`, `package_id`, `deleted`, `brand_logo`, `brand_url`, `vat_no`, `currency`, `time_zone`, `company_email`, `paypal_email`, `paypal_subscription_enabled`, `last_payment_method`, `last_login_ip`, `browser_notification_enabled`, `affiliate_id`) VALUES (1,'DeshiServer','super@panel.com','','+8801843664888','d82c26114b63eae52056a7309a82e5a8','Chowmuhuni Gayebi Mashjid, Pathantuli School ar Pashe.','Admin','1','2019-08-25 12:00:00','0000-00-00 00:00:00','2025-03-05 09:35:32',NULL,'0000-00-00 00:00:00','1',0,'0','',NULL,NULL,'USD','',NULL,'','0','','103.115.24.75','0',0);
/*!40000 ALTER TABLE `users` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `version`
--

DROP TABLE IF EXISTS `version`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `version` (
  `id` int NOT NULL AUTO_INCREMENT,
  `version` varchar(255) NOT NULL,
  `current` enum('1','0') NOT NULL DEFAULT '1',
  `date` datetime NOT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `version` (`version`),
  KEY `Current` (`current`)
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8mb3;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `version`
--

LOCK TABLES `version` WRITE;
/*!40000 ALTER TABLE `version` DISABLE KEYS */;
INSERT INTO `version` (`id`, `version`, `current`, `date`) VALUES (1,'9.4.3','1','2025-03-05 09:31:35');
/*!40000 ALTER TABLE `version` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `visual_flow_builder_campaign`
--

DROP TABLE IF EXISTS `visual_flow_builder_campaign`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `visual_flow_builder_campaign` (
  `id` int NOT NULL AUTO_INCREMENT,
  `user_id` int NOT NULL,
  `page_id` int NOT NULL,
  `unique_id` varchar(50) NOT NULL,
  `reference_name` text NOT NULL,
  `media_type` enum('fb','ig') NOT NULL DEFAULT 'fb',
  `json_data` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `is_system` enum('0','1') NOT NULL DEFAULT '0' COMMENT 'system defined template or not',
  `action_type` enum('reply','UNSUBSCRIBE_QUICK_BOXER','RESUBSCRIBE_QUICK_BOXER','YES_START_CHAT_WITH_BOT','YES_START_CHAT_WITH_HUMAN','QUICK_REPLY_BIRTHDAY_REPLY_BOT','QUICK_REPLY_LOCATION_REPLY_BOT','QUICK_REPLY_PHONE_REPLY_BOT','QUICK_REPLY_EMAIL_REPLY_BOT','get-started','no match','STORY_MENTION','STORY_PRIVATE_REPLY','MESSAGE_UNSEND_PRIVATE_REPLY') NOT NULL DEFAULT 'reply',
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=41 DEFAULT CHARSET=utf8mb3;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `visual_flow_builder_campaign`
--

LOCK TABLES `visual_flow_builder_campaign` WRITE;
/*!40000 ALTER TABLE `visual_flow_builder_campaign` DISABLE KEYS */;
INSERT INTO `visual_flow_builder_campaign` (`id`, `user_id`, `page_id`, `unique_id`, `reference_name`, `media_type`, `json_data`, `is_system`, `action_type`) VALUES (1,1,2,'67c8235b129341-2-729-67c8235b12952','Un-Subscribe Template','fb','{\"id\":\"xitFB@0.0.1\",\"nodes\":{\"1\":{\"id\":1,\"data\":{\"title\":\"Un-Subscribe Template\",\"postbackId\":\"3NYSXhmp_yz-Jvt1\",\"xitFbpostbackId\":\"67c8235b129341-2-729-67c8235b12952\",\"labelIds\":[],\"labelIdTextsArray\":[],\"sequenceIdValue\":\"\",\"sequenceIdText\":\"Select a sequence\"},\"inputs\":{\"referenceInput\":{\"connections\":[]},\"referenceInputActionButton\":{\"connections\":[{\"node\":2,\"output\":\"actionButtonOutput\",\"data\":{}}]}},\"outputs\":{\"referenceOutput\":{\"connections\":[{\"node\":3,\"input\":\"textInput\",\"data\":{}}]},\"referenceOutputSequence\":{\"connections\":[]}},\"position\":[-212,-73],\"name\":\"Start Bot Flow\"},\"2\":{\"id\":2,\"data\":{\"uniqueId\":\"d0SDPeFm3qQNxVU\",\"actionType\":\"UNSUBSCRIBE_QUICK_BOXER\",\"actionTypeText\":\"Un-subscribe template\",\"pluginType\":\"\",\"pluginTypeText\":\"Select\",\"domain\":\"\",\"language\":\"en_US\",\"languageText\":\"English (US)\",\"ctaButtonType\":\"\",\"ctaButtonTypeText\":\"Default\",\"pluginSkin\":\"light\",\"pluginCenterAlign\":\"true\",\"pluginSize\":\"medium\",\"redirectionStatus\":\"0\",\"optInSuccessMessage\":\"You have been subscribed successfully, thank you.\",\"addingButtonInSuccessMessage\":\"0\",\"buttonText\":\"Send Message\",\"buttonUrl\":\"\",\"buttonBgColor\":\"\",\"buttonTextColor\":\"\",\"buttonHoverBgColor\":\"\",\"buttonHoverTextColor\":\"\",\"buttonSize\":\"medium\",\"redirectionUrlForSuccessfulOptin\":\"\",\"checkboxValidationErrorMessage\":\"\",\"chatPluginLoadingStatus\":\"show\",\"chatPluginLoadingDelayInSeconds\":\"\",\"chatPluginThemeColor\":\"#FFFFFF\",\"hideChatPluginIfNotLoggedIn\":\"0\",\"greetingTextIfLoggedIn\":\"\",\"greetingTextIfNotLoggedIn\":\"\",\"reference\":\"\",\"labelIds\":[],\"labelIdTextsArray\":[]},\"inputs\":{},\"outputs\":{\"actionButtonOutput\":{\"connections\":[{\"node\":1,\"input\":\"referenceInputActionButton\",\"data\":{}}]}},\"position\":[-450,-66],\"name\":\"Action Button\"},\"3\":{\"id\":3,\"data\":{\"uniqueId\":\"EKp6WxW7lHlVDBK\",\"textMessage\":\"You have been successfully unsubscribed from our list. It is sad to see you go. It is not the same without you! You can join back by clicking the button below.\",\"delayReplyFor\":\"0\",\"IsTypingOnDisplayChecked\":false},\"inputs\":{\"textInput\":{\"connections\":[{\"node\":1,\"output\":\"referenceOutput\",\"data\":{}}]}},\"outputs\":{\"textOutput\":{\"connections\":[]},\"textOutputButton\":{\"connections\":[{\"node\":4,\"input\":\"buttonInput\",\"data\":{}}]},\"textOutputQuickreply\":{\"connections\":[]}},\"position\":[23,-70],\"name\":\"Text\"},\"4\":{\"id\":4,\"data\":{\"postbackId\":\"80q2orNMIqn5Q8n\",\"buttonText\":\"Resubscribe\",\"buttonType\":\"RESUBSCRIBE_QUICK_BOXER\",\"text\":\"Re-subscribe\"},\"inputs\":{\"buttonInput\":{\"connections\":[{\"node\":3,\"output\":\"textOutputButton\",\"data\":{}}]}},\"outputs\":{\"buttonOutput\":{\"connections\":[]}},\"position\":[332.5217603600544,59.82610287873642],\"name\":\"Button\"}}}','1','UNSUBSCRIBE_QUICK_BOXER'),(2,1,2,'67c8235b1926f1-2-1322-67c8235b19275','Re-Subscribe Template','fb','{\"id\":\"xitFB@0.0.1\",\"nodes\":{\"1\":{\"id\":1,\"data\":{\"title\":\"Re-Subscribe Template\",\"postbackId\":\"3NYSXhmp_yz-Jvt2\",\"xitFbpostbackId\":\"67c8235b1926f1-2-1322-67c8235b19275\",\"labelIds\":[],\"labelIdTextsArray\":[],\"sequenceIdValue\":\"\",\"sequenceIdText\":\"Select a sequence\"},\"inputs\":{\"referenceInput\":{\"connections\":[]},\"referenceInputActionButton\":{\"connections\":[{\"node\":2,\"output\":\"actionButtonOutput\",\"data\":{}}]}},\"outputs\":{\"referenceOutput\":{\"connections\":[{\"node\":3,\"input\":\"textInput\",\"data\":{}}]},\"referenceOutputSequence\":{\"connections\":[]}},\"position\":[-212.69564155910325,-73],\"name\":\"Start Bot Flow\"},\"2\":{\"id\":2,\"data\":{\"uniqueId\":\"d0SDPeFm3qQNxVU\",\"actionType\":\"RESUBSCRIBE_QUICK_BOXER\",\"actionTypeText\":\"Re-subscribe template\",\"pluginType\":\"\",\"pluginTypeText\":\"Select\",\"domain\":\"\",\"language\":\"en_US\",\"languageText\":\"English (US)\",\"ctaButtonType\":\"\",\"ctaButtonTypeText\":\"Default\",\"pluginSkin\":\"light\",\"pluginCenterAlign\":\"true\",\"pluginSize\":\"medium\",\"redirectionStatus\":\"0\",\"optInSuccessMessage\":\"You have been subscribed successfully, thank you.\",\"addingButtonInSuccessMessage\":\"0\",\"buttonText\":\"Send Message\",\"buttonUrl\":\"\",\"buttonBgColor\":\"\",\"buttonTextColor\":\"\",\"buttonHoverBgColor\":\"\",\"buttonHoverTextColor\":\"\",\"buttonSize\":\"medium\",\"redirectionUrlForSuccessfulOptin\":\"\",\"checkboxValidationErrorMessage\":\"\",\"chatPluginLoadingStatus\":\"show\",\"chatPluginLoadingDelayInSeconds\":\"\",\"chatPluginThemeColor\":\"#FFFFFF\",\"hideChatPluginIfNotLoggedIn\":\"0\",\"greetingTextIfLoggedIn\":\"\",\"greetingTextIfNotLoggedIn\":\"\",\"reference\":\"\",\"labelIds\":[],\"labelIdTextsArray\":[]},\"inputs\":{},\"outputs\":{\"actionButtonOutput\":{\"connections\":[{\"node\":1,\"input\":\"referenceInputActionButton\",\"data\":{}}]}},\"position\":[-450,-66],\"name\":\"Action Button\"},\"3\":{\"id\":3,\"data\":{\"uniqueId\":\"EKp6WxW7lHlVDBK\",\"textMessage\":\"Welcome back! We have not seen you for a while. You will no longer miss our important updates.\",\"delayReplyFor\":\"0\",\"IsTypingOnDisplayChecked\":false},\"inputs\":{\"textInput\":{\"connections\":[{\"node\":1,\"output\":\"referenceOutput\",\"data\":{}}]}},\"outputs\":{\"textOutput\":{\"connections\":[]},\"textOutputButton\":{\"connections\":[{\"node\":4,\"input\":\"buttonInput\",\"data\":{}}]},\"textOutputQuickreply\":{\"connections\":[]}},\"position\":[23,-70],\"name\":\"Text\"},\"4\":{\"id\":4,\"data\":{\"postbackId\":\"80q2orNMIqn5Q8n\",\"buttonText\":\"Unsubscribe\",\"buttonType\":\"UNSUBSCRIBE_QUICK_BOXER\",\"text\":\"Unsubscribe\"},\"inputs\":{\"buttonInput\":{\"connections\":[{\"node\":3,\"output\":\"textOutputButton\",\"data\":{}}]}},\"outputs\":{\"buttonOutput\":{\"connections\":[]}},\"position\":[332.5217603600544,60.52037621914542],\"name\":\"Button\"}}}','1','RESUBSCRIBE_QUICK_BOXER'),(3,1,2,'67c8235b19d2a1-2-9458-67c8235b19d31','Email Quick Reply Template','fb','{\"id\":\"xitFB@0.0.1\",\"nodes\":{\"1\":{\"id\":1,\"data\":{\"title\":\"Email Quick Reply Template\",\"postbackId\":\"3NYSXhmp_yz-Jvt3\",\"xitFbpostbackId\":\"67c8235b19d2a1-2-9458-67c8235b19d31\",\"labelIds\":[],\"labelIdTextsArray\":[],\"sequenceIdValue\":\"\",\"sequenceIdText\":\"Select a sequence\"},\"inputs\":{\"referenceInput\":{\"connections\":[]},\"referenceInputActionButton\":{\"connections\":[{\"node\":2,\"output\":\"actionButtonOutput\",\"data\":{}}]}},\"outputs\":{\"referenceOutput\":{\"connections\":[{\"node\":3,\"input\":\"textInput\",\"data\":{}}]},\"referenceOutputSequence\":{\"connections\":[]}},\"position\":[-212.69564155910325,-73],\"name\":\"Start Bot Flow\"},\"2\":{\"id\":2,\"data\":{\"uniqueId\":\"d0SDPeFm3qQNxVU\",\"actionType\":\"QUICK_REPLY_EMAIL_REPLY_BOT\",\"actionTypeText\":\"Email quick reply template\",\"pluginType\":\"\",\"pluginTypeText\":\"Select\",\"domain\":\"\",\"language\":\"en_US\",\"languageText\":\"English (US)\",\"ctaButtonType\":\"\",\"ctaButtonTypeText\":\"Default\",\"pluginSkin\":\"light\",\"pluginCenterAlign\":\"true\",\"pluginSize\":\"medium\",\"redirectionStatus\":\"0\",\"optInSuccessMessage\":\"You have been subscribed successfully, thank you.\",\"addingButtonInSuccessMessage\":\"0\",\"buttonText\":\"Send Message\",\"buttonUrl\":\"\",\"buttonBgColor\":\"\",\"buttonTextColor\":\"\",\"buttonHoverBgColor\":\"\",\"buttonHoverTextColor\":\"\",\"buttonSize\":\"medium\",\"redirectionUrlForSuccessfulOptin\":\"\",\"checkboxValidationErrorMessage\":\"\",\"chatPluginLoadingStatus\":\"show\",\"chatPluginLoadingDelayInSeconds\":\"\",\"chatPluginThemeColor\":\"#FFFFFF\",\"hideChatPluginIfNotLoggedIn\":\"0\",\"greetingTextIfLoggedIn\":\"\",\"greetingTextIfNotLoggedIn\":\"\",\"reference\":\"\",\"labelIds\":[],\"labelIdTextsArray\":[]},\"inputs\":{},\"outputs\":{\"actionButtonOutput\":{\"connections\":[{\"node\":1,\"input\":\"referenceInputActionButton\",\"data\":{}}]}},\"position\":[-450.69564156892255,-66.69564156892255],\"name\":\"Action Button\"},\"3\":{\"id\":3,\"data\":{\"uniqueId\":\"EKp6WxW7lHlVDBK\",\"textMessage\":\"Thanks, we have received your email. We will keep you updated. Thank you for being with us.\",\"delayReplyFor\":\"0\",\"IsTypingOnDisplayChecked\":false},\"inputs\":{\"textInput\":{\"connections\":[{\"node\":1,\"output\":\"referenceOutput\",\"data\":{}}]}},\"outputs\":{\"textOutput\":{\"connections\":[]},\"textOutputButton\":{\"connections\":[]},\"textOutputQuickreply\":{\"connections\":[]}},\"position\":[23,-70],\"name\":\"Text\"}}}','1','QUICK_REPLY_EMAIL_REPLY_BOT'),(4,1,2,'67c8235b1a7311-2-5329-67c8235b1a738','Phone Quick Reply Template','fb','{\"id\":\"xitFB@0.0.1\",\"nodes\":{\"1\":{\"id\":1,\"data\":{\"title\":\"Phone Quick Reply Template\",\"postbackId\":\"3NYSXhmp_yz-Jvt4\",\"xitFbpostbackId\":\"67c8235b1a7311-2-5329-67c8235b1a738\",\"labelIds\":[],\"labelIdTextsArray\":[],\"sequenceIdValue\":\"\",\"sequenceIdText\":\"Select a sequence\"},\"inputs\":{\"referenceInput\":{\"connections\":[]},\"referenceInputActionButton\":{\"connections\":[{\"node\":2,\"output\":\"actionButtonOutput\",\"data\":{}}]}},\"outputs\":{\"referenceOutput\":{\"connections\":[{\"node\":3,\"input\":\"textInput\",\"data\":{}}]},\"referenceOutputSequence\":{\"connections\":[]}},\"position\":[-212.69564155910325,-72.30229529177778],\"name\":\"Start Bot Flow\"},\"2\":{\"id\":2,\"data\":{\"uniqueId\":\"d0SDPeFm3qQNxVU\",\"actionType\":\"QUICK_REPLY_PHONE_REPLY_BOT\",\"actionTypeText\":\"Phone quick reply template\",\"pluginType\":\"\",\"pluginTypeText\":\"Select\",\"domain\":\"\",\"language\":\"en_US\",\"languageText\":\"English (US)\",\"ctaButtonType\":\"\",\"ctaButtonTypeText\":\"Default\",\"pluginSkin\":\"light\",\"pluginCenterAlign\":\"true\",\"pluginSize\":\"medium\",\"redirectionStatus\":\"0\",\"optInSuccessMessage\":\"You have been subscribed successfully, thank you.\",\"addingButtonInSuccessMessage\":\"0\",\"buttonText\":\"Send Message\",\"buttonUrl\":\"\",\"buttonBgColor\":\"\",\"buttonTextColor\":\"\",\"buttonHoverBgColor\":\"\",\"buttonHoverTextColor\":\"\",\"buttonSize\":\"medium\",\"redirectionUrlForSuccessfulOptin\":\"\",\"checkboxValidationErrorMessage\":\"\",\"chatPluginLoadingStatus\":\"show\",\"chatPluginLoadingDelayInSeconds\":\"\",\"chatPluginThemeColor\":\"#FFFFFF\",\"hideChatPluginIfNotLoggedIn\":\"0\",\"greetingTextIfLoggedIn\":\"\",\"greetingTextIfNotLoggedIn\":\"\",\"reference\":\"\",\"labelIds\":[],\"labelIdTextsArray\":[]},\"inputs\":{},\"outputs\":{\"actionButtonOutput\":{\"connections\":[{\"node\":1,\"input\":\"referenceInputActionButton\",\"data\":{}}]}},\"position\":[-450.69564156892255,-66.69564156892255],\"name\":\"Action Button\"},\"3\":{\"id\":3,\"data\":{\"uniqueId\":\"EKp6WxW7lHlVDBK\",\"textMessage\":\"Thanks, we have received your phone number. We will keep you updated. Thank you for being with us.\",\"delayReplyFor\":\"0\",\"IsTypingOnDisplayChecked\":false},\"inputs\":{\"textInput\":{\"connections\":[{\"node\":1,\"output\":\"referenceOutput\",\"data\":{}}]}},\"outputs\":{\"textOutput\":{\"connections\":[]},\"textOutputButton\":{\"connections\":[]},\"textOutputQuickreply\":{\"connections\":[]}},\"position\":[23,-70],\"name\":\"Text\"}}}','1','QUICK_REPLY_PHONE_REPLY_BOT'),(5,1,2,'67c8235b1b1261-2-7198-67c8235b1b12d','Location Quick Reply Template','fb','{\"id\":\"xitFB@0.0.1\",\"nodes\":{\"1\":{\"id\":1,\"data\":{\"title\":\"Location Quick Reply Template\",\"postbackId\":\"3NYSXhmp_yz-Jvt5\",\"xitFbpostbackId\":\"67c8235b1b1261-2-7198-67c8235b1b12d\",\"labelIds\":[],\"labelIdTextsArray\":[],\"sequenceIdValue\":\"\",\"sequenceIdText\":\"Select a sequence\"},\"inputs\":{\"referenceInput\":{\"connections\":[]},\"referenceInputActionButton\":{\"connections\":[{\"node\":2,\"output\":\"actionButtonOutput\",\"data\":{}}]}},\"outputs\":{\"referenceOutput\":{\"connections\":[{\"node\":3,\"input\":\"textInput\",\"data\":{}}]},\"referenceOutputSequence\":{\"connections\":[]}},\"position\":[-194,-73],\"name\":\"Start Bot Flow\"},\"2\":{\"id\":2,\"data\":{\"uniqueId\":\"d0SDPeFm3qQNxVU\",\"actionType\":\"QUICK_REPLY_LOCATION_REPLY_BOT\",\"actionTypeText\":\"Location quick reply template\",\"pluginType\":\"\",\"pluginTypeText\":\"Select\",\"domain\":\"\",\"language\":\"en_US\",\"languageText\":\"English (US)\",\"ctaButtonType\":\"\",\"ctaButtonTypeText\":\"Default\",\"pluginSkin\":\"light\",\"pluginCenterAlign\":\"true\",\"pluginSize\":\"medium\",\"redirectionStatus\":\"0\",\"optInSuccessMessage\":\"You have been subscribed successfully, thank you.\",\"addingButtonInSuccessMessage\":\"0\",\"buttonText\":\"Send Message\",\"buttonUrl\":\"\",\"buttonBgColor\":\"\",\"buttonTextColor\":\"\",\"buttonHoverBgColor\":\"\",\"buttonHoverTextColor\":\"\",\"buttonSize\":\"medium\",\"redirectionUrlForSuccessfulOptin\":\"\",\"checkboxValidationErrorMessage\":\"\",\"chatPluginLoadingStatus\":\"show\",\"chatPluginLoadingDelayInSeconds\":\"\",\"chatPluginThemeColor\":\"#FFFFFF\",\"hideChatPluginIfNotLoggedIn\":\"0\",\"greetingTextIfLoggedIn\":\"\",\"greetingTextIfNotLoggedIn\":\"\",\"reference\":\"\",\"labelIds\":[],\"labelIdTextsArray\":[]},\"inputs\":{},\"outputs\":{\"actionButtonOutput\":{\"connections\":[{\"node\":1,\"input\":\"referenceInputActionButton\",\"data\":{}}]}},\"position\":[-450,-66],\"name\":\"Action Button\"},\"3\":{\"id\":3,\"data\":{\"uniqueId\":\"EKp6WxW7lHlVDBK\",\"textMessage\":\"Thanks, we have received your location. Thank you for being with us.\",\"delayReplyFor\":\"0\",\"IsTypingOnDisplayChecked\":false},\"inputs\":{\"textInput\":{\"connections\":[{\"node\":1,\"output\":\"referenceOutput\",\"data\":{}}]}},\"outputs\":{\"textOutput\":{\"connections\":[]},\"textOutputButton\":{\"connections\":[]},\"textOutputQuickreply\":{\"connections\":[]}},\"position\":[58,-103],\"name\":\"Text\"}}}','1','QUICK_REPLY_LOCATION_REPLY_BOT'),(6,1,2,'67c8235b1bab41-2-9400-67c8235b1babb','Birthday Quick Reply Template','fb','{\"id\":\"xitFB@0.0.1\",\"nodes\":{\"1\":{\"id\":1,\"data\":{\"title\":\"Birthday Quick Reply Template\",\"postbackId\":\"3NYSXhmp_yz-Jvt6\",\"xitFbpostbackId\":\"67c8235b1bab41-2-9400-67c8235b1babb\",\"labelIds\":[],\"labelIdTextsArray\":[],\"sequenceIdValue\":\"\",\"sequenceIdText\":\"Select a sequence\"},\"inputs\":{\"referenceInput\":{\"connections\":[]},\"referenceInputActionButton\":{\"connections\":[{\"node\":2,\"output\":\"actionButtonOutput\",\"data\":{}}]}},\"outputs\":{\"referenceOutput\":{\"connections\":[{\"node\":3,\"input\":\"textInput\",\"data\":{}}]},\"referenceOutputSequence\":{\"connections\":[]}},\"position\":[-194,-73],\"name\":\"Start Bot Flow\"},\"2\":{\"id\":2,\"data\":{\"uniqueId\":\"d0SDPeFm3qQNxVU\",\"actionType\":\"QUICK_REPLY_BIRTHDAY_REPLY_BOT\",\"actionTypeText\":\"Birthday quick reply template\",\"pluginType\":\"\",\"pluginTypeText\":\"Select\",\"domain\":\"\",\"language\":\"en_US\",\"languageText\":\"English (US)\",\"ctaButtonType\":\"\",\"ctaButtonTypeText\":\"Default\",\"pluginSkin\":\"light\",\"pluginCenterAlign\":\"true\",\"pluginSize\":\"medium\",\"redirectionStatus\":\"0\",\"optInSuccessMessage\":\"You have been subscribed successfully, thank you.\",\"addingButtonInSuccessMessage\":\"0\",\"buttonText\":\"Send Message\",\"buttonUrl\":\"\",\"buttonBgColor\":\"\",\"buttonTextColor\":\"\",\"buttonHoverBgColor\":\"\",\"buttonHoverTextColor\":\"\",\"buttonSize\":\"medium\",\"redirectionUrlForSuccessfulOptin\":\"\",\"checkboxValidationErrorMessage\":\"\",\"chatPluginLoadingStatus\":\"show\",\"chatPluginLoadingDelayInSeconds\":\"\",\"chatPluginThemeColor\":\"#FFFFFF\",\"hideChatPluginIfNotLoggedIn\":\"0\",\"greetingTextIfLoggedIn\":\"\",\"greetingTextIfNotLoggedIn\":\"\",\"reference\":\"\",\"labelIds\":[],\"labelIdTextsArray\":[]},\"inputs\":{},\"outputs\":{\"actionButtonOutput\":{\"connections\":[{\"node\":1,\"input\":\"referenceInputActionButton\",\"data\":{}}]}},\"position\":[-450,-66],\"name\":\"Action Button\"},\"3\":{\"id\":3,\"data\":{\"uniqueId\":\"EKp6WxW7lHlVDBK\",\"textMessage\":\"Thanks, we have received your birthday. Thank you for being with us.\",\"delayReplyFor\":\"0\",\"IsTypingOnDisplayChecked\":false},\"inputs\":{\"textInput\":{\"connections\":[{\"node\":1,\"output\":\"referenceOutput\",\"data\":{}}]}},\"outputs\":{\"textOutput\":{\"connections\":[]},\"textOutputButton\":{\"connections\":[]},\"textOutputQuickreply\":{\"connections\":[]}},\"position\":[58,-103],\"name\":\"Text\"}}}','1','QUICK_REPLY_BIRTHDAY_REPLY_BOT'),(7,1,2,'67c8235b1c4081-2-8260-67c8235b1c40e','Chat With Human Template','fb','{\"id\":\"xitFB@0.0.1\",\"nodes\":{\"1\":{\"id\":1,\"data\":{\"title\":\"Chat With Human Template\",\"postbackId\":\"3NYSXhmp_yz-Jvt7\",\"xitFbpostbackId\":\"67c8235b1c4081-2-8260-67c8235b1c40e\",\"labelIds\":[],\"labelIdTextsArray\":[],\"sequenceIdValue\":\"\",\"sequenceIdText\":\"Select a sequence\"},\"inputs\":{\"referenceInput\":{\"connections\":[]},\"referenceInputActionButton\":{\"connections\":[{\"node\":2,\"output\":\"actionButtonOutput\",\"data\":{}}]}},\"outputs\":{\"referenceOutput\":{\"connections\":[{\"node\":3,\"input\":\"textInput\",\"data\":{}}]},\"referenceOutputSequence\":{\"connections\":[]}},\"position\":[-194,-73.69594455863344],\"name\":\"Start Bot Flow\"},\"2\":{\"id\":2,\"data\":{\"uniqueId\":\"d0SDPeFm3qQNxVU\",\"actionType\":\"YES_START_CHAT_WITH_HUMAN\",\"actionTypeText\":\"Chat with human template\",\"pluginType\":\"\",\"pluginTypeText\":\"Select\",\"domain\":\"\",\"language\":\"en_US\",\"languageText\":\"English (US)\",\"ctaButtonType\":\"\",\"ctaButtonTypeText\":\"Default\",\"pluginSkin\":\"light\",\"pluginCenterAlign\":\"true\",\"pluginSize\":\"medium\",\"redirectionStatus\":\"0\",\"optInSuccessMessage\":\"You have been subscribed successfully, thank you.\",\"addingButtonInSuccessMessage\":\"0\",\"buttonText\":\"Send Message\",\"buttonUrl\":\"\",\"buttonBgColor\":\"\",\"buttonTextColor\":\"\",\"buttonHoverBgColor\":\"\",\"buttonHoverTextColor\":\"\",\"buttonSize\":\"medium\",\"redirectionUrlForSuccessfulOptin\":\"\",\"checkboxValidationErrorMessage\":\"\",\"chatPluginLoadingStatus\":\"show\",\"chatPluginLoadingDelayInSeconds\":\"\",\"chatPluginThemeColor\":\"#FFFFFF\",\"hideChatPluginIfNotLoggedIn\":\"0\",\"greetingTextIfLoggedIn\":\"\",\"greetingTextIfNotLoggedIn\":\"\",\"reference\":\"\",\"labelIds\":[],\"labelIdTextsArray\":[]},\"inputs\":{},\"outputs\":{\"actionButtonOutput\":{\"connections\":[{\"node\":1,\"input\":\"referenceInputActionButton\",\"data\":{}}]}},\"position\":[-450,-66],\"name\":\"Action Button\"},\"3\":{\"id\":3,\"data\":{\"uniqueId\":\"EKp6WxW7lHlVDBK\",\"textMessage\":\"Thanks! It is a pleasure talking to you. One of our team members will reply to you soon. If you want to chat with me again, just click the button below.\",\"delayReplyFor\":\"0\",\"IsTypingOnDisplayChecked\":false},\"inputs\":{\"textInput\":{\"connections\":[{\"node\":1,\"output\":\"referenceOutput\",\"data\":{}}]}},\"outputs\":{\"textOutput\":{\"connections\":[]},\"textOutputButton\":{\"connections\":[{\"node\":5,\"input\":\"buttonInput\",\"data\":{}}]},\"textOutputQuickreply\":{\"connections\":[]}},\"position\":[58,-103],\"name\":\"Text\"},\"5\":{\"id\":5,\"data\":{\"postbackId\":\"Om4PDFz9pk_kwts\",\"buttonText\":\"Resume Chat with Bot\",\"buttonType\":\"YES_START_CHAT_WITH_BOT\",\"text\":\"Chat with robot\"},\"inputs\":{\"buttonInput\":{\"connections\":[{\"node\":3,\"output\":\"textOutputButton\",\"data\":{}}]}},\"outputs\":{\"buttonOutput\":{\"connections\":[]}},\"position\":[375.6521739130435,41.043541949728265],\"name\":\"Button\"}}}','1','YES_START_CHAT_WITH_HUMAN'),(8,1,2,'67c8235b1d0741-2-7859-67c8235b1d07a','Chat With Robot Template','fb','{\"id\":\"xitFB@0.0.1\",\"nodes\":{\"1\":{\"id\":1,\"data\":{\"title\":\"Chat With Robot Template\",\"postbackId\":\"3NYSXhmp_yz-Jvt8\",\"xitFbpostbackId\":\"67c8235b1d0741-2-7859-67c8235b1d07a\",\"labelIds\":[],\"labelIdTextsArray\":[],\"sequenceIdValue\":\"\",\"sequenceIdText\":\"Select a sequence\"},\"inputs\":{\"referenceInput\":{\"connections\":[]},\"referenceInputActionButton\":{\"connections\":[{\"node\":2,\"output\":\"actionButtonOutput\",\"data\":{}}]}},\"outputs\":{\"referenceOutput\":{\"connections\":[{\"node\":3,\"input\":\"textInput\",\"data\":{}}]},\"referenceOutputSequence\":{\"connections\":[]}},\"position\":[-194,-73.69594455863344],\"name\":\"Start Bot Flow\"},\"2\":{\"id\":2,\"data\":{\"uniqueId\":\"d0SDPeFm3qQNxVU\",\"actionType\":\"YES_START_CHAT_WITH_BOT\",\"actionTypeText\":\"Chat with robot template\",\"pluginType\":\"\",\"pluginTypeText\":\"Select\",\"domain\":\"\",\"language\":\"en_US\",\"languageText\":\"English (US)\",\"ctaButtonType\":\"\",\"ctaButtonTypeText\":\"Default\",\"pluginSkin\":\"light\",\"pluginCenterAlign\":\"true\",\"pluginSize\":\"medium\",\"redirectionStatus\":\"0\",\"optInSuccessMessage\":\"You have been subscribed successfully, thank you.\",\"addingButtonInSuccessMessage\":\"0\",\"buttonText\":\"Send Message\",\"buttonUrl\":\"\",\"buttonBgColor\":\"\",\"buttonTextColor\":\"\",\"buttonHoverBgColor\":\"\",\"buttonHoverTextColor\":\"\",\"buttonSize\":\"medium\",\"redirectionUrlForSuccessfulOptin\":\"\",\"checkboxValidationErrorMessage\":\"\",\"chatPluginLoadingStatus\":\"show\",\"chatPluginLoadingDelayInSeconds\":\"\",\"chatPluginThemeColor\":\"#FFFFFF\",\"hideChatPluginIfNotLoggedIn\":\"0\",\"greetingTextIfLoggedIn\":\"\",\"greetingTextIfNotLoggedIn\":\"\",\"reference\":\"\",\"labelIds\":[],\"labelIdTextsArray\":[]},\"inputs\":{},\"outputs\":{\"actionButtonOutput\":{\"connections\":[{\"node\":1,\"input\":\"referenceInputActionButton\",\"data\":{}}]}},\"position\":[-450,-66],\"name\":\"Action Button\"},\"3\":{\"id\":3,\"data\":{\"uniqueId\":\"EKp6WxW7lHlVDBK\",\"textMessage\":\"I am glad to have you back. I will try my best to answer all questions. If you want to start chatting with humans again you can simply click the button below.\",\"delayReplyFor\":\"0\",\"IsTypingOnDisplayChecked\":false},\"inputs\":{\"textInput\":{\"connections\":[{\"node\":1,\"output\":\"referenceOutput\",\"data\":{}}]}},\"outputs\":{\"textOutput\":{\"connections\":[]},\"textOutputButton\":{\"connections\":[{\"node\":5,\"input\":\"buttonInput\",\"data\":{}}]},\"textOutputQuickreply\":{\"connections\":[]}},\"position\":[58,-103],\"name\":\"Text\"},\"5\":{\"id\":5,\"data\":{\"postbackId\":\"Om4PDFz9pk_kwts\",\"buttonText\":\"Chat with human\",\"buttonType\":\"YES_START_CHAT_WITH_HUMAN\",\"text\":\"Chat with human\"},\"inputs\":{\"buttonInput\":{\"connections\":[{\"node\":3,\"output\":\"textOutputButton\",\"data\":{}}]}},\"outputs\":{\"buttonOutput\":{\"connections\":[]}},\"position\":[375.6521739130435,41.043541949728265],\"name\":\"Button\"}}}','1','YES_START_CHAT_WITH_BOT'),(9,1,2,'67c8235b1da811-2-8045-67c8235b1da87','Get Started Template','fb','{\"id\":\"xitFB@0.0.1\",\"nodes\":{\"1\":{\"id\":1,\"data\":{\"title\":\"Get Started Template\",\"postbackId\":\"3NYSXhmp_yz-Jvt9\",\"xitFbpostbackId\":\"67c8235b1da811-2-8045-67c8235b1da87\",\"labelIds\":[],\"labelIdTextsArray\":[],\"sequenceIdValue\":\"\",\"sequenceIdText\":\"Select a sequence\"},\"inputs\":{\"referenceInputActionButton\":{\"connections\":[{\"node\":2,\"output\":\"actionButtonOutput\",\"data\":{}}]}},\"outputs\":{\"referenceOutput\":{\"connections\":[{\"node\":3,\"input\":\"textInput\",\"data\":{}}]}},\"position\":[-212,-73],\"name\":\"Start Bot Flow\"},\"2\":{\"id\":2,\"data\":{\"uniqueId\":\"d0SDPeFm3qQNxVU\",\"actionType\":\"get-started\",\"actionTypeText\":\"Get-started template\",\"pluginType\":\"\",\"pluginTypeText\":\"Select\",\"domain\":\"\",\"language\":\"en_US\",\"languageText\":\"English (US)\",\"ctaButtonType\":\"\",\"ctaButtonTypeText\":\"Default\",\"pluginSkin\":\"light\",\"pluginCenterAlign\":\"true\",\"pluginSize\":\"medium\",\"redirectionStatus\":\"0\",\"optInSuccessMessage\":\"You have been subscribed successfully, thank you.\",\"addingButtonInSuccessMessage\":\"0\",\"buttonText\":\"Send Message\",\"buttonUrl\":\"\",\"buttonBgColor\":\"\",\"buttonTextColor\":\"\",\"buttonHoverBgColor\":\"\",\"buttonHoverTextColor\":\"\",\"buttonSize\":\"medium\",\"redirectionUrlForSuccessfulOptin\":\"\",\"checkboxValidationErrorMessage\":\"\",\"chatPluginLoadingStatus\":\"show\",\"chatPluginLoadingDelayInSeconds\":\"\",\"chatPluginThemeColor\":\"#FFFFFF\",\"hideChatPluginIfNotLoggedIn\":\"0\",\"greetingTextIfLoggedIn\":\"\",\"greetingTextIfNotLoggedIn\":\"\",\"reference\":\"\",\"labelIds\":[],\"labelIdTextsArray\":[]},\"inputs\":{},\"outputs\":{\"actionButtonOutput\":{\"connections\":[{\"node\":1,\"input\":\"referenceInputActionButton\",\"data\":{}}]}},\"position\":[-450,-66],\"name\":\"Action Button\"},\"3\":{\"id\":3,\"data\":{\"uniqueId\":\"EKp6WxW7lHlVDBK\",\"textMessage\":\"{{user_first_name}}  {{user_last_name}},\\nআমাদের পেইজে স্বাগতম, নিচের মেন্যু থেকে বাছাই করুন অথবা ড্রেসের উপর থাকা কোড (Example: ABC1234) টি লিখুন।\\nকোড জানা না থাকলে আমাদের ওয়েবসাইট ভিজিট করুন https://oasisoutfit.com/catalog\\n\\n\\n\\n\",\"delayReplyFor\":\"0\",\"IsTypingOnDisplayChecked\":false},\"inputs\":{\"textInput\":{\"connections\":[{\"node\":1,\"output\":\"referenceOutput\",\"data\":{}}]}},\"outputs\":{\"textOutput\":{\"connections\":[]},\"textOutputButton\":{\"connections\":[]},\"textOutputQuickreply\":{\"connections\":[]}},\"position\":[114.4570248488518,-139.72854618602358],\"name\":\"Text\"}}}','1','get-started'),(10,1,2,'67c8235b1dff81-2-3333-67c8235b1dffe','No Match Template','fb','{\"id\":\"xitFB@0.0.1\",\"nodes\":{\"1\":{\"id\":1,\"data\":{\"title\":\"No Match Template\",\"postbackId\":\"3NYSXhmp_yz-Jvt10\",\"xitFbpostbackId\":\"67c8235b1dff81-2-3333-67c8235b1dffe\",\"labelIds\":[],\"labelIdTextsArray\":[],\"sequenceIdValue\":\"\",\"sequenceIdText\":\"Select a sequence\"},\"inputs\":{\"referenceInput\":{\"connections\":[]},\"referenceInputActionButton\":{\"connections\":[{\"node\":2,\"output\":\"actionButtonOutput\",\"data\":{}}]}},\"outputs\":{\"referenceOutput\":{\"connections\":[{\"node\":3,\"input\":\"textInput\",\"data\":{}}]},\"referenceOutputSequence\":{\"connections\":[]}},\"position\":[-212,-73],\"name\":\"Start Bot Flow\"},\"2\":{\"id\":2,\"data\":{\"uniqueId\":\"d0SDPeFm3qQNxVU\",\"actionType\":\"no match\",\"actionTypeText\":\"No match template\",\"pluginType\":\"\",\"pluginTypeText\":\"Select\",\"domain\":\"\",\"language\":\"en_US\",\"languageText\":\"English (US)\",\"ctaButtonType\":\"\",\"ctaButtonTypeText\":\"Default\",\"pluginSkin\":\"light\",\"pluginCenterAlign\":\"true\",\"pluginSize\":\"medium\",\"redirectionStatus\":\"0\",\"optInSuccessMessage\":\"You have been subscribed successfully, thank you.\",\"addingButtonInSuccessMessage\":\"0\",\"buttonText\":\"Send Message\",\"buttonUrl\":\"\",\"buttonBgColor\":\"\",\"buttonTextColor\":\"\",\"buttonHoverBgColor\":\"\",\"buttonHoverTextColor\":\"\",\"buttonSize\":\"medium\",\"redirectionUrlForSuccessfulOptin\":\"\",\"checkboxValidationErrorMessage\":\"\",\"chatPluginLoadingStatus\":\"show\",\"chatPluginLoadingDelayInSeconds\":\"\",\"chatPluginThemeColor\":\"#FFFFFF\",\"hideChatPluginIfNotLoggedIn\":\"0\",\"greetingTextIfLoggedIn\":\"\",\"greetingTextIfNotLoggedIn\":\"\",\"reference\":\"\",\"labelIds\":[],\"labelIdTextsArray\":[]},\"inputs\":{},\"outputs\":{\"actionButtonOutput\":{\"connections\":[{\"node\":1,\"input\":\"referenceInputActionButton\",\"data\":{}}]}},\"position\":[-450,-66],\"name\":\"Action Button\"},\"3\":{\"id\":3,\"data\":{\"uniqueId\":\"EKp6WxW7lHlVDBK\",\"textMessage\":\"Sorry, we could not find any content to show. One of our team members will reply to you soon.\",\"delayReplyFor\":\"0\",\"IsTypingOnDisplayChecked\":false},\"inputs\":{\"textInput\":{\"connections\":[{\"node\":1,\"output\":\"referenceOutput\",\"data\":{}}]}},\"outputs\":{\"textOutput\":{\"connections\":[]},\"textOutputButton\":{\"connections\":[]},\"textOutputQuickreply\":{\"connections\":[]}},\"position\":[23,-94],\"name\":\"Text\"}}}','1','no match'),(11,1,2,'67c8235b1e9051-2-6302-67c8235b1e90b','No Match Template','ig','{\"id\":\"xitFB@0.0.1\",\"nodes\":{\"1\":{\"id\":1,\"data\":{\"title\":\"No Match Template\",\"postbackId\":\"3NYSXhmp_yz-Jvt10ig\",\"xitFbpostbackId\":\"67c8235b1dff81-2-3333-67c8235b1dffe\",\"labelIds\":[],\"labelIdTextsArray\":[],\"sequenceIdValue\":\"\",\"sequenceIdText\":\"Select a sequence\"},\"inputs\":{\"referenceInput\":{\"connections\":[]},\"referenceInputActionButton\":{\"connections\":[{\"node\":2,\"output\":\"actionButtonOutput\",\"data\":{}}]}},\"outputs\":{\"referenceOutput\":{\"connections\":[{\"node\":3,\"input\":\"textInput\",\"data\":{}}]},\"referenceOutputSequence\":{\"connections\":[]}},\"position\":[-212,-73],\"name\":\"Start Bot Flow\"},\"2\":{\"id\":2,\"data\":{\"uniqueId\":\"d0SDPeFm3qQNxVU\",\"actionType\":\"no match\",\"actionTypeText\":\"No match template\",\"pluginType\":\"\",\"pluginTypeText\":\"Select\",\"domain\":\"\",\"language\":\"en_US\",\"languageText\":\"English (US)\",\"ctaButtonType\":\"\",\"ctaButtonTypeText\":\"Default\",\"pluginSkin\":\"light\",\"pluginCenterAlign\":\"true\",\"pluginSize\":\"medium\",\"redirectionStatus\":\"0\",\"optInSuccessMessage\":\"You have been subscribed successfully, thank you.\",\"addingButtonInSuccessMessage\":\"0\",\"buttonText\":\"Send Message\",\"buttonUrl\":\"\",\"buttonBgColor\":\"\",\"buttonTextColor\":\"\",\"buttonHoverBgColor\":\"\",\"buttonHoverTextColor\":\"\",\"buttonSize\":\"medium\",\"redirectionUrlForSuccessfulOptin\":\"\",\"checkboxValidationErrorMessage\":\"\",\"chatPluginLoadingStatus\":\"show\",\"chatPluginLoadingDelayInSeconds\":\"\",\"chatPluginThemeColor\":\"#FFFFFF\",\"hideChatPluginIfNotLoggedIn\":\"0\",\"greetingTextIfLoggedIn\":\"\",\"greetingTextIfNotLoggedIn\":\"\",\"reference\":\"\",\"labelIds\":[],\"labelIdTextsArray\":[]},\"inputs\":{},\"outputs\":{\"actionButtonOutput\":{\"connections\":[{\"node\":1,\"input\":\"referenceInputActionButton\",\"data\":{}}]}},\"position\":[-450,-66],\"name\":\"Action Button\"},\"3\":{\"id\":3,\"data\":{\"uniqueId\":\"EKp6WxW7lHlVDBK\",\"textMessage\":\"Sorry, we could not find any content to show. One of our team members will reply to you soon.\",\"delayReplyFor\":\"0\",\"IsTypingOnDisplayChecked\":false},\"inputs\":{\"textInput\":{\"connections\":[{\"node\":1,\"output\":\"referenceOutput\",\"data\":{}}]}},\"outputs\":{\"textOutput\":{\"connections\":[]},\"textOutputButton\":{\"connections\":[]},\"textOutputQuickreply\":{\"connections\":[]}},\"position\":[23,-94],\"name\":\"Text\"}}}','1','no match'),(12,1,2,'67c8235b1f29a1-2-6041-67c8235b1f2a1','Story Mention Template','ig','{\"id\":\"xitFB@0.0.1\",\"nodes\":{\"1\":{\"id\":1,\"data\":{\"title\":\"Story Mention Template\",\"postbackId\":\"mvs_sYC31zTb1H61\",\"xitFbpostbackId\":\"67c8235b1f29a1-2-6041-67c8235b1f2a1\",\"labelIds\":[],\"labelIdTextsArray\":[],\"sequenceIdValue\":\"\",\"sequenceIdText\":\"Select a sequence\"},\"inputs\":{\"referenceInput\":{\"connections\":[]},\"referenceInputActionButton\":{\"connections\":[{\"node\":2,\"output\":\"actionButtonOutput\",\"data\":{}}]}},\"outputs\":{\"referenceOutput\":{\"connections\":[{\"node\":3,\"input\":\"textInput\",\"data\":{}}]},\"referenceOutputSequence\":{\"connections\":[]}},\"position\":[-212,-73],\"name\":\"Start Bot Flow\"},\"2\":{\"id\":2,\"data\":{\"uniqueId\":\"QEY1J4O3de3NxAN\",\"actionType\":\"STORY_MENTION\",\"actionTypeText\":\"Story mention\",\"pluginType\":\"\",\"pluginTypeText\":\"Select\",\"domain\":\"\",\"language\":\"en_US\",\"languageText\":\"English (US)\",\"ctaButtonType\":\"\",\"ctaButtonTypeText\":\"Default\",\"pluginSkin\":\"light\",\"pluginCenterAlign\":\"true\",\"pluginSize\":\"medium\",\"redirectionStatus\":\"0\",\"optInSuccessMessage\":\"You have been subscribed successfully, thank you.\",\"addingButtonInSuccessMessage\":\"0\",\"buttonText\":\"Send Message\",\"buttonUrl\":\"\",\"buttonBgColor\":\"\",\"buttonTextColor\":\"\",\"buttonHoverBgColor\":\"\",\"buttonHoverTextColor\":\"\",\"buttonSize\":\"medium\",\"redirectionUrlForSuccessfulOptin\":\"\",\"checkboxValidationErrorMessage\":\"\",\"chatPluginLoadingStatus\":\"show\",\"chatPluginLoadingDelayInSeconds\":\"\",\"chatPluginThemeColor\":\"#FFFFFF\",\"hideChatPluginIfNotLoggedIn\":\"0\",\"greetingTextIfLoggedIn\":\"\",\"greetingTextIfNotLoggedIn\":\"\",\"reference\":\"\",\"labelIds\":[],\"labelIdTextsArray\":[]},\"inputs\":{},\"outputs\":{\"actionButtonOutput\":{\"connections\":[{\"node\":1,\"input\":\"referenceInputActionButton\",\"data\":{}}]}},\"position\":[-450,-66],\"name\":\"Action Button\"},\"3\":{\"id\":3,\"data\":{\"uniqueId\":\"HjKksxHRQtGc7hq\",\"textMessage\":\"Thanks for mentioning me.\"},\"inputs\":{\"textInput\":{\"connections\":[{\"node\":1,\"output\":\"referenceOutput\",\"data\":{}}]}},\"outputs\":{\"textOutput\":{\"connections\":[]},\"textOutputQuickreply\":{\"connections\":[]}},\"position\":[23.695641568922547,-70],\"name\":\"Text\"}}}','1','STORY_MENTION'),(13,1,2,'67c8235b1fa9c1-2-6206-67c8235b1faa2','Story Private Reply Template','ig','{\"id\":\"xitFB@0.0.1\",\"nodes\":{\"1\":{\"id\":1,\"data\":{\"title\":\"Story Private Reply Template\",\"postbackId\":\"mvs_sYC31zTb1H62\",\"xitFbpostbackId\":\"67c8235b1fa9c1-2-6206-67c8235b1faa2\",\"labelIds\":[],\"labelIdTextsArray\":[],\"sequenceIdValue\":\"\",\"sequenceIdText\":\"Select a sequence\"},\"inputs\":{\"referenceInput\":{\"connections\":[]},\"referenceInputActionButton\":{\"connections\":[{\"node\":2,\"output\":\"actionButtonOutput\",\"data\":{}}]}},\"outputs\":{\"referenceOutput\":{\"connections\":[{\"node\":3,\"input\":\"textInput\",\"data\":{}}]},\"referenceOutputSequence\":{\"connections\":[]}},\"position\":[-212,-73],\"name\":\"Start Bot Flow\"},\"2\":{\"id\":2,\"data\":{\"uniqueId\":\"QEY1J4O3de3NxAN\",\"actionType\":\"STORY_PRIVATE_REPLY\",\"actionTypeText\":\"Story private reply\",\"pluginType\":\"\",\"pluginTypeText\":\"Select\",\"domain\":\"\",\"language\":\"en_US\",\"languageText\":\"English (US)\",\"ctaButtonType\":\"\",\"ctaButtonTypeText\":\"Default\",\"pluginSkin\":\"light\",\"pluginCenterAlign\":\"true\",\"pluginSize\":\"medium\",\"redirectionStatus\":\"0\",\"optInSuccessMessage\":\"You have been subscribed successfully, thank you.\",\"addingButtonInSuccessMessage\":\"0\",\"buttonText\":\"Send Message\",\"buttonUrl\":\"\",\"buttonBgColor\":\"\",\"buttonTextColor\":\"\",\"buttonHoverBgColor\":\"\",\"buttonHoverTextColor\":\"\",\"buttonSize\":\"medium\",\"redirectionUrlForSuccessfulOptin\":\"\",\"checkboxValidationErrorMessage\":\"\",\"chatPluginLoadingStatus\":\"show\",\"chatPluginLoadingDelayInSeconds\":\"\",\"chatPluginThemeColor\":\"#FFFFFF\",\"hideChatPluginIfNotLoggedIn\":\"0\",\"greetingTextIfLoggedIn\":\"\",\"greetingTextIfNotLoggedIn\":\"\",\"reference\":\"\",\"labelIds\":[],\"labelIdTextsArray\":[]},\"inputs\":{},\"outputs\":{\"actionButtonOutput\":{\"connections\":[{\"node\":1,\"input\":\"referenceInputActionButton\",\"data\":{}}]}},\"position\":[-450,-66],\"name\":\"Action Button\"},\"3\":{\"id\":3,\"data\":{\"uniqueId\":\"HjKksxHRQtGc7hq\",\"textMessage\":\"Thanks for your comment on my story.\"},\"inputs\":{\"textInput\":{\"connections\":[{\"node\":1,\"output\":\"referenceOutput\",\"data\":{}}]}},\"outputs\":{\"textOutput\":{\"connections\":[]},\"textOutputQuickreply\":{\"connections\":[]}},\"position\":[28,-85],\"name\":\"Text\"}}}','1','STORY_PRIVATE_REPLY'),(14,1,2,'67c8235b202251-2-8683-67c8235b2022b','Message Unsend Private Reply Template','ig','{\"id\":\"xitFB@0.0.1\",\"nodes\":{\"1\":{\"id\":1,\"data\":{\"title\":\"Message Unsend Private Reply Template\",\"postbackId\":\"mvs_sYC31zTb1H63\",\"xitFbpostbackId\":\"67c8235b202251-2-8683-67c8235b2022b\",\"labelIds\":[],\"labelIdTextsArray\":[],\"sequenceIdValue\":\"\",\"sequenceIdText\":\"Select a sequence\"},\"inputs\":{\"referenceInput\":{\"connections\":[]},\"referenceInputActionButton\":{\"connections\":[{\"node\":2,\"output\":\"actionButtonOutput\",\"data\":{}}]}},\"outputs\":{\"referenceOutput\":{\"connections\":[{\"node\":3,\"input\":\"textInput\",\"data\":{}}]},\"referenceOutputSequence\":{\"connections\":[]}},\"position\":[-195,-73],\"name\":\"Start Bot Flow\"},\"2\":{\"id\":2,\"data\":{\"uniqueId\":\"QEY1J4O3de3NxAN\",\"actionType\":\"MESSAGE_UNSEND_PRIVATE_REPLY\",\"actionTypeText\":\"Message unsend private reply\",\"pluginType\":\"\",\"pluginTypeText\":\"Select\",\"domain\":\"\",\"language\":\"en_US\",\"languageText\":\"English (US)\",\"ctaButtonType\":\"\",\"ctaButtonTypeText\":\"Default\",\"pluginSkin\":\"light\",\"pluginCenterAlign\":\"true\",\"pluginSize\":\"medium\",\"redirectionStatus\":\"0\",\"optInSuccessMessage\":\"You have been subscribed successfully, thank you.\",\"addingButtonInSuccessMessage\":\"0\",\"buttonText\":\"Send Message\",\"buttonUrl\":\"\",\"buttonBgColor\":\"\",\"buttonTextColor\":\"\",\"buttonHoverBgColor\":\"\",\"buttonHoverTextColor\":\"\",\"buttonSize\":\"medium\",\"redirectionUrlForSuccessfulOptin\":\"\",\"checkboxValidationErrorMessage\":\"\",\"chatPluginLoadingStatus\":\"show\",\"chatPluginLoadingDelayInSeconds\":\"\",\"chatPluginThemeColor\":\"#FFFFFF\",\"hideChatPluginIfNotLoggedIn\":\"0\",\"greetingTextIfLoggedIn\":\"\",\"greetingTextIfNotLoggedIn\":\"\",\"reference\":\"\",\"labelIds\":[],\"labelIdTextsArray\":[]},\"inputs\":{},\"outputs\":{\"actionButtonOutput\":{\"connections\":[{\"node\":1,\"input\":\"referenceInputActionButton\",\"data\":{}}]}},\"position\":[-450,-66],\"name\":\"Action Button\"},\"3\":{\"id\":3,\"data\":{\"uniqueId\":\"HjKksxHRQtGc7hq\",\"textMessage\":\"As you have deleted your message, we want to ensure you that our bot does not save any of your messages. So it will not be saved in our bot. Thanks\"},\"inputs\":{\"textInput\":{\"connections\":[{\"node\":1,\"output\":\"referenceOutput\",\"data\":{}}]}},\"outputs\":{\"textOutput\":{\"connections\":[]},\"textOutputQuickreply\":{\"connections\":[]}},\"position\":[108,-112],\"name\":\"Text\"}}}','1','MESSAGE_UNSEND_PRIVATE_REPLY'),(15,1,1,'67c82361e1b561-1-435-67c82361e1b68','Un-Subscribe Template','fb','{\"id\":\"xitFB@0.0.1\",\"nodes\":{\"1\":{\"id\":1,\"data\":{\"title\":\"Un-Subscribe Template\",\"postbackId\":\"3NYSXhmp_yz-Jvt1\",\"xitFbpostbackId\":\"67c82361e1b561-1-435-67c82361e1b68\",\"labelIds\":[],\"labelIdTextsArray\":[],\"sequenceIdValue\":\"\",\"sequenceIdText\":\"Select a sequence\"},\"inputs\":{\"referenceInput\":{\"connections\":[]},\"referenceInputActionButton\":{\"connections\":[{\"node\":2,\"output\":\"actionButtonOutput\",\"data\":{}}]}},\"outputs\":{\"referenceOutput\":{\"connections\":[{\"node\":3,\"input\":\"textInput\",\"data\":{}}]},\"referenceOutputSequence\":{\"connections\":[]}},\"position\":[-212,-73],\"name\":\"Start Bot Flow\"},\"2\":{\"id\":2,\"data\":{\"uniqueId\":\"d0SDPeFm3qQNxVU\",\"actionType\":\"UNSUBSCRIBE_QUICK_BOXER\",\"actionTypeText\":\"Un-subscribe template\",\"pluginType\":\"\",\"pluginTypeText\":\"Select\",\"domain\":\"\",\"language\":\"en_US\",\"languageText\":\"English (US)\",\"ctaButtonType\":\"\",\"ctaButtonTypeText\":\"Default\",\"pluginSkin\":\"light\",\"pluginCenterAlign\":\"true\",\"pluginSize\":\"medium\",\"redirectionStatus\":\"0\",\"optInSuccessMessage\":\"You have been subscribed successfully, thank you.\",\"addingButtonInSuccessMessage\":\"0\",\"buttonText\":\"Send Message\",\"buttonUrl\":\"\",\"buttonBgColor\":\"\",\"buttonTextColor\":\"\",\"buttonHoverBgColor\":\"\",\"buttonHoverTextColor\":\"\",\"buttonSize\":\"medium\",\"redirectionUrlForSuccessfulOptin\":\"\",\"checkboxValidationErrorMessage\":\"\",\"chatPluginLoadingStatus\":\"show\",\"chatPluginLoadingDelayInSeconds\":\"\",\"chatPluginThemeColor\":\"#FFFFFF\",\"hideChatPluginIfNotLoggedIn\":\"0\",\"greetingTextIfLoggedIn\":\"\",\"greetingTextIfNotLoggedIn\":\"\",\"reference\":\"\",\"labelIds\":[],\"labelIdTextsArray\":[]},\"inputs\":{},\"outputs\":{\"actionButtonOutput\":{\"connections\":[{\"node\":1,\"input\":\"referenceInputActionButton\",\"data\":{}}]}},\"position\":[-450,-66],\"name\":\"Action Button\"},\"3\":{\"id\":3,\"data\":{\"uniqueId\":\"EKp6WxW7lHlVDBK\",\"textMessage\":\"You have been successfully unsubscribed from our list. It is sad to see you go. It is not the same without you! You can join back by clicking the button below.\",\"delayReplyFor\":\"0\",\"IsTypingOnDisplayChecked\":false},\"inputs\":{\"textInput\":{\"connections\":[{\"node\":1,\"output\":\"referenceOutput\",\"data\":{}}]}},\"outputs\":{\"textOutput\":{\"connections\":[]},\"textOutputButton\":{\"connections\":[{\"node\":4,\"input\":\"buttonInput\",\"data\":{}}]},\"textOutputQuickreply\":{\"connections\":[]}},\"position\":[23,-70],\"name\":\"Text\"},\"4\":{\"id\":4,\"data\":{\"postbackId\":\"80q2orNMIqn5Q8n\",\"buttonText\":\"Resubscribe\",\"buttonType\":\"RESUBSCRIBE_QUICK_BOXER\",\"text\":\"Re-subscribe\"},\"inputs\":{\"buttonInput\":{\"connections\":[{\"node\":3,\"output\":\"textOutputButton\",\"data\":{}}]}},\"outputs\":{\"buttonOutput\":{\"connections\":[]}},\"position\":[332.5217603600544,59.82610287873642],\"name\":\"Button\"}}}','1','UNSUBSCRIBE_QUICK_BOXER'),(16,1,1,'67c82361e25281-1-2623-67c82361e252f','Re-Subscribe Template','fb','{\"id\":\"xitFB@0.0.1\",\"nodes\":{\"1\":{\"id\":1,\"data\":{\"title\":\"Re-Subscribe Template\",\"postbackId\":\"3NYSXhmp_yz-Jvt2\",\"xitFbpostbackId\":\"67c82361e25281-1-2623-67c82361e252f\",\"labelIds\":[],\"labelIdTextsArray\":[],\"sequenceIdValue\":\"\",\"sequenceIdText\":\"Select a sequence\"},\"inputs\":{\"referenceInput\":{\"connections\":[]},\"referenceInputActionButton\":{\"connections\":[{\"node\":2,\"output\":\"actionButtonOutput\",\"data\":{}}]}},\"outputs\":{\"referenceOutput\":{\"connections\":[{\"node\":3,\"input\":\"textInput\",\"data\":{}}]},\"referenceOutputSequence\":{\"connections\":[]}},\"position\":[-212.69564155910325,-73],\"name\":\"Start Bot Flow\"},\"2\":{\"id\":2,\"data\":{\"uniqueId\":\"d0SDPeFm3qQNxVU\",\"actionType\":\"RESUBSCRIBE_QUICK_BOXER\",\"actionTypeText\":\"Re-subscribe template\",\"pluginType\":\"\",\"pluginTypeText\":\"Select\",\"domain\":\"\",\"language\":\"en_US\",\"languageText\":\"English (US)\",\"ctaButtonType\":\"\",\"ctaButtonTypeText\":\"Default\",\"pluginSkin\":\"light\",\"pluginCenterAlign\":\"true\",\"pluginSize\":\"medium\",\"redirectionStatus\":\"0\",\"optInSuccessMessage\":\"You have been subscribed successfully, thank you.\",\"addingButtonInSuccessMessage\":\"0\",\"buttonText\":\"Send Message\",\"buttonUrl\":\"\",\"buttonBgColor\":\"\",\"buttonTextColor\":\"\",\"buttonHoverBgColor\":\"\",\"buttonHoverTextColor\":\"\",\"buttonSize\":\"medium\",\"redirectionUrlForSuccessfulOptin\":\"\",\"checkboxValidationErrorMessage\":\"\",\"chatPluginLoadingStatus\":\"show\",\"chatPluginLoadingDelayInSeconds\":\"\",\"chatPluginThemeColor\":\"#FFFFFF\",\"hideChatPluginIfNotLoggedIn\":\"0\",\"greetingTextIfLoggedIn\":\"\",\"greetingTextIfNotLoggedIn\":\"\",\"reference\":\"\",\"labelIds\":[],\"labelIdTextsArray\":[]},\"inputs\":{},\"outputs\":{\"actionButtonOutput\":{\"connections\":[{\"node\":1,\"input\":\"referenceInputActionButton\",\"data\":{}}]}},\"position\":[-450,-66],\"name\":\"Action Button\"},\"3\":{\"id\":3,\"data\":{\"uniqueId\":\"EKp6WxW7lHlVDBK\",\"textMessage\":\"Welcome back! We have not seen you for a while. You will no longer miss our important updates.\",\"delayReplyFor\":\"0\",\"IsTypingOnDisplayChecked\":false},\"inputs\":{\"textInput\":{\"connections\":[{\"node\":1,\"output\":\"referenceOutput\",\"data\":{}}]}},\"outputs\":{\"textOutput\":{\"connections\":[]},\"textOutputButton\":{\"connections\":[{\"node\":4,\"input\":\"buttonInput\",\"data\":{}}]},\"textOutputQuickreply\":{\"connections\":[]}},\"position\":[23,-70],\"name\":\"Text\"},\"4\":{\"id\":4,\"data\":{\"postbackId\":\"80q2orNMIqn5Q8n\",\"buttonText\":\"Unsubscribe\",\"buttonType\":\"UNSUBSCRIBE_QUICK_BOXER\",\"text\":\"Unsubscribe\"},\"inputs\":{\"buttonInput\":{\"connections\":[{\"node\":3,\"output\":\"textOutputButton\",\"data\":{}}]}},\"outputs\":{\"buttonOutput\":{\"connections\":[]}},\"position\":[332.5217603600544,60.52037621914542],\"name\":\"Button\"}}}','1','RESUBSCRIBE_QUICK_BOXER'),(17,1,1,'67c82361e2cd81-1-8501-67c82361e2cde','Email Quick Reply Template','fb','{\"id\":\"xitFB@0.0.1\",\"nodes\":{\"1\":{\"id\":1,\"data\":{\"title\":\"Email Quick Reply Template\",\"postbackId\":\"3NYSXhmp_yz-Jvt3\",\"xitFbpostbackId\":\"67c82361e2cd81-1-8501-67c82361e2cde\",\"labelIds\":[],\"labelIdTextsArray\":[],\"sequenceIdValue\":\"\",\"sequenceIdText\":\"Select a sequence\"},\"inputs\":{\"referenceInput\":{\"connections\":[]},\"referenceInputActionButton\":{\"connections\":[{\"node\":2,\"output\":\"actionButtonOutput\",\"data\":{}}]}},\"outputs\":{\"referenceOutput\":{\"connections\":[{\"node\":3,\"input\":\"textInput\",\"data\":{}}]},\"referenceOutputSequence\":{\"connections\":[]}},\"position\":[-212.69564155910325,-73],\"name\":\"Start Bot Flow\"},\"2\":{\"id\":2,\"data\":{\"uniqueId\":\"d0SDPeFm3qQNxVU\",\"actionType\":\"QUICK_REPLY_EMAIL_REPLY_BOT\",\"actionTypeText\":\"Email quick reply template\",\"pluginType\":\"\",\"pluginTypeText\":\"Select\",\"domain\":\"\",\"language\":\"en_US\",\"languageText\":\"English (US)\",\"ctaButtonType\":\"\",\"ctaButtonTypeText\":\"Default\",\"pluginSkin\":\"light\",\"pluginCenterAlign\":\"true\",\"pluginSize\":\"medium\",\"redirectionStatus\":\"0\",\"optInSuccessMessage\":\"You have been subscribed successfully, thank you.\",\"addingButtonInSuccessMessage\":\"0\",\"buttonText\":\"Send Message\",\"buttonUrl\":\"\",\"buttonBgColor\":\"\",\"buttonTextColor\":\"\",\"buttonHoverBgColor\":\"\",\"buttonHoverTextColor\":\"\",\"buttonSize\":\"medium\",\"redirectionUrlForSuccessfulOptin\":\"\",\"checkboxValidationErrorMessage\":\"\",\"chatPluginLoadingStatus\":\"show\",\"chatPluginLoadingDelayInSeconds\":\"\",\"chatPluginThemeColor\":\"#FFFFFF\",\"hideChatPluginIfNotLoggedIn\":\"0\",\"greetingTextIfLoggedIn\":\"\",\"greetingTextIfNotLoggedIn\":\"\",\"reference\":\"\",\"labelIds\":[],\"labelIdTextsArray\":[]},\"inputs\":{},\"outputs\":{\"actionButtonOutput\":{\"connections\":[{\"node\":1,\"input\":\"referenceInputActionButton\",\"data\":{}}]}},\"position\":[-450.69564156892255,-66.69564156892255],\"name\":\"Action Button\"},\"3\":{\"id\":3,\"data\":{\"uniqueId\":\"EKp6WxW7lHlVDBK\",\"textMessage\":\"Thanks, we have received your email. We will keep you updated. Thank you for being with us.\",\"delayReplyFor\":\"0\",\"IsTypingOnDisplayChecked\":false},\"inputs\":{\"textInput\":{\"connections\":[{\"node\":1,\"output\":\"referenceOutput\",\"data\":{}}]}},\"outputs\":{\"textOutput\":{\"connections\":[]},\"textOutputButton\":{\"connections\":[]},\"textOutputQuickreply\":{\"connections\":[]}},\"position\":[23,-70],\"name\":\"Text\"}}}','1','QUICK_REPLY_EMAIL_REPLY_BOT'),(18,1,1,'67c82361e33d21-1-4534-67c82361e33d8','Phone Quick Reply Template','fb','{\"id\":\"xitFB@0.0.1\",\"nodes\":{\"1\":{\"id\":1,\"data\":{\"title\":\"Phone Quick Reply Template\",\"postbackId\":\"3NYSXhmp_yz-Jvt4\",\"xitFbpostbackId\":\"67c82361e33d21-1-4534-67c82361e33d8\",\"labelIds\":[],\"labelIdTextsArray\":[],\"sequenceIdValue\":\"\",\"sequenceIdText\":\"Select a sequence\"},\"inputs\":{\"referenceInput\":{\"connections\":[]},\"referenceInputActionButton\":{\"connections\":[{\"node\":2,\"output\":\"actionButtonOutput\",\"data\":{}}]}},\"outputs\":{\"referenceOutput\":{\"connections\":[{\"node\":3,\"input\":\"textInput\",\"data\":{}}]},\"referenceOutputSequence\":{\"connections\":[]}},\"position\":[-212.69564155910325,-72.30229529177778],\"name\":\"Start Bot Flow\"},\"2\":{\"id\":2,\"data\":{\"uniqueId\":\"d0SDPeFm3qQNxVU\",\"actionType\":\"QUICK_REPLY_PHONE_REPLY_BOT\",\"actionTypeText\":\"Phone quick reply template\",\"pluginType\":\"\",\"pluginTypeText\":\"Select\",\"domain\":\"\",\"language\":\"en_US\",\"languageText\":\"English (US)\",\"ctaButtonType\":\"\",\"ctaButtonTypeText\":\"Default\",\"pluginSkin\":\"light\",\"pluginCenterAlign\":\"true\",\"pluginSize\":\"medium\",\"redirectionStatus\":\"0\",\"optInSuccessMessage\":\"You have been subscribed successfully, thank you.\",\"addingButtonInSuccessMessage\":\"0\",\"buttonText\":\"Send Message\",\"buttonUrl\":\"\",\"buttonBgColor\":\"\",\"buttonTextColor\":\"\",\"buttonHoverBgColor\":\"\",\"buttonHoverTextColor\":\"\",\"buttonSize\":\"medium\",\"redirectionUrlForSuccessfulOptin\":\"\",\"checkboxValidationErrorMessage\":\"\",\"chatPluginLoadingStatus\":\"show\",\"chatPluginLoadingDelayInSeconds\":\"\",\"chatPluginThemeColor\":\"#FFFFFF\",\"hideChatPluginIfNotLoggedIn\":\"0\",\"greetingTextIfLoggedIn\":\"\",\"greetingTextIfNotLoggedIn\":\"\",\"reference\":\"\",\"labelIds\":[],\"labelIdTextsArray\":[]},\"inputs\":{},\"outputs\":{\"actionButtonOutput\":{\"connections\":[{\"node\":1,\"input\":\"referenceInputActionButton\",\"data\":{}}]}},\"position\":[-450.69564156892255,-66.69564156892255],\"name\":\"Action Button\"},\"3\":{\"id\":3,\"data\":{\"uniqueId\":\"EKp6WxW7lHlVDBK\",\"textMessage\":\"Thanks, we have received your phone number. We will keep you updated. Thank you for being with us.\",\"delayReplyFor\":\"0\",\"IsTypingOnDisplayChecked\":false},\"inputs\":{\"textInput\":{\"connections\":[{\"node\":1,\"output\":\"referenceOutput\",\"data\":{}}]}},\"outputs\":{\"textOutput\":{\"connections\":[]},\"textOutputButton\":{\"connections\":[]},\"textOutputQuickreply\":{\"connections\":[]}},\"position\":[23,-70],\"name\":\"Text\"}}}','1','QUICK_REPLY_PHONE_REPLY_BOT'),(19,1,1,'67c82361e3b331-1-8556-67c82361e3b39','Location Quick Reply Template','fb','{\"id\":\"xitFB@0.0.1\",\"nodes\":{\"1\":{\"id\":1,\"data\":{\"title\":\"Location Quick Reply Template\",\"postbackId\":\"3NYSXhmp_yz-Jvt5\",\"xitFbpostbackId\":\"67c82361e3b331-1-8556-67c82361e3b39\",\"labelIds\":[],\"labelIdTextsArray\":[],\"sequenceIdValue\":\"\",\"sequenceIdText\":\"Select a sequence\"},\"inputs\":{\"referenceInput\":{\"connections\":[]},\"referenceInputActionButton\":{\"connections\":[{\"node\":2,\"output\":\"actionButtonOutput\",\"data\":{}}]}},\"outputs\":{\"referenceOutput\":{\"connections\":[{\"node\":3,\"input\":\"textInput\",\"data\":{}}]},\"referenceOutputSequence\":{\"connections\":[]}},\"position\":[-194,-73],\"name\":\"Start Bot Flow\"},\"2\":{\"id\":2,\"data\":{\"uniqueId\":\"d0SDPeFm3qQNxVU\",\"actionType\":\"QUICK_REPLY_LOCATION_REPLY_BOT\",\"actionTypeText\":\"Location quick reply template\",\"pluginType\":\"\",\"pluginTypeText\":\"Select\",\"domain\":\"\",\"language\":\"en_US\",\"languageText\":\"English (US)\",\"ctaButtonType\":\"\",\"ctaButtonTypeText\":\"Default\",\"pluginSkin\":\"light\",\"pluginCenterAlign\":\"true\",\"pluginSize\":\"medium\",\"redirectionStatus\":\"0\",\"optInSuccessMessage\":\"You have been subscribed successfully, thank you.\",\"addingButtonInSuccessMessage\":\"0\",\"buttonText\":\"Send Message\",\"buttonUrl\":\"\",\"buttonBgColor\":\"\",\"buttonTextColor\":\"\",\"buttonHoverBgColor\":\"\",\"buttonHoverTextColor\":\"\",\"buttonSize\":\"medium\",\"redirectionUrlForSuccessfulOptin\":\"\",\"checkboxValidationErrorMessage\":\"\",\"chatPluginLoadingStatus\":\"show\",\"chatPluginLoadingDelayInSeconds\":\"\",\"chatPluginThemeColor\":\"#FFFFFF\",\"hideChatPluginIfNotLoggedIn\":\"0\",\"greetingTextIfLoggedIn\":\"\",\"greetingTextIfNotLoggedIn\":\"\",\"reference\":\"\",\"labelIds\":[],\"labelIdTextsArray\":[]},\"inputs\":{},\"outputs\":{\"actionButtonOutput\":{\"connections\":[{\"node\":1,\"input\":\"referenceInputActionButton\",\"data\":{}}]}},\"position\":[-450,-66],\"name\":\"Action Button\"},\"3\":{\"id\":3,\"data\":{\"uniqueId\":\"EKp6WxW7lHlVDBK\",\"textMessage\":\"Thanks, we have received your location. Thank you for being with us.\",\"delayReplyFor\":\"0\",\"IsTypingOnDisplayChecked\":false},\"inputs\":{\"textInput\":{\"connections\":[{\"node\":1,\"output\":\"referenceOutput\",\"data\":{}}]}},\"outputs\":{\"textOutput\":{\"connections\":[]},\"textOutputButton\":{\"connections\":[]},\"textOutputQuickreply\":{\"connections\":[]}},\"position\":[58,-103],\"name\":\"Text\"}}}','1','QUICK_REPLY_LOCATION_REPLY_BOT'),(20,1,1,'67c82361e42011-1-7357-67c82361e4207','Birthday Quick Reply Template','fb','{\"id\":\"xitFB@0.0.1\",\"nodes\":{\"1\":{\"id\":1,\"data\":{\"title\":\"Birthday Quick Reply Template\",\"postbackId\":\"3NYSXhmp_yz-Jvt6\",\"xitFbpostbackId\":\"67c82361e42011-1-7357-67c82361e4207\",\"labelIds\":[],\"labelIdTextsArray\":[],\"sequenceIdValue\":\"\",\"sequenceIdText\":\"Select a sequence\"},\"inputs\":{\"referenceInput\":{\"connections\":[]},\"referenceInputActionButton\":{\"connections\":[{\"node\":2,\"output\":\"actionButtonOutput\",\"data\":{}}]}},\"outputs\":{\"referenceOutput\":{\"connections\":[{\"node\":3,\"input\":\"textInput\",\"data\":{}}]},\"referenceOutputSequence\":{\"connections\":[]}},\"position\":[-194,-73],\"name\":\"Start Bot Flow\"},\"2\":{\"id\":2,\"data\":{\"uniqueId\":\"d0SDPeFm3qQNxVU\",\"actionType\":\"QUICK_REPLY_BIRTHDAY_REPLY_BOT\",\"actionTypeText\":\"Birthday quick reply template\",\"pluginType\":\"\",\"pluginTypeText\":\"Select\",\"domain\":\"\",\"language\":\"en_US\",\"languageText\":\"English (US)\",\"ctaButtonType\":\"\",\"ctaButtonTypeText\":\"Default\",\"pluginSkin\":\"light\",\"pluginCenterAlign\":\"true\",\"pluginSize\":\"medium\",\"redirectionStatus\":\"0\",\"optInSuccessMessage\":\"You have been subscribed successfully, thank you.\",\"addingButtonInSuccessMessage\":\"0\",\"buttonText\":\"Send Message\",\"buttonUrl\":\"\",\"buttonBgColor\":\"\",\"buttonTextColor\":\"\",\"buttonHoverBgColor\":\"\",\"buttonHoverTextColor\":\"\",\"buttonSize\":\"medium\",\"redirectionUrlForSuccessfulOptin\":\"\",\"checkboxValidationErrorMessage\":\"\",\"chatPluginLoadingStatus\":\"show\",\"chatPluginLoadingDelayInSeconds\":\"\",\"chatPluginThemeColor\":\"#FFFFFF\",\"hideChatPluginIfNotLoggedIn\":\"0\",\"greetingTextIfLoggedIn\":\"\",\"greetingTextIfNotLoggedIn\":\"\",\"reference\":\"\",\"labelIds\":[],\"labelIdTextsArray\":[]},\"inputs\":{},\"outputs\":{\"actionButtonOutput\":{\"connections\":[{\"node\":1,\"input\":\"referenceInputActionButton\",\"data\":{}}]}},\"position\":[-450,-66],\"name\":\"Action Button\"},\"3\":{\"id\":3,\"data\":{\"uniqueId\":\"EKp6WxW7lHlVDBK\",\"textMessage\":\"Thanks, we have received your birthday. Thank you for being with us.\",\"delayReplyFor\":\"0\",\"IsTypingOnDisplayChecked\":false},\"inputs\":{\"textInput\":{\"connections\":[{\"node\":1,\"output\":\"referenceOutput\",\"data\":{}}]}},\"outputs\":{\"textOutput\":{\"connections\":[]},\"textOutputButton\":{\"connections\":[]},\"textOutputQuickreply\":{\"connections\":[]}},\"position\":[58,-103],\"name\":\"Text\"}}}','1','QUICK_REPLY_BIRTHDAY_REPLY_BOT'),(21,1,1,'67c82361e49611-1-9123-67c82361e4967','Chat With Human Template','fb','{\"id\":\"xitFB@0.0.1\",\"nodes\":{\"1\":{\"id\":1,\"data\":{\"title\":\"Chat With Human Template\",\"postbackId\":\"3NYSXhmp_yz-Jvt7\",\"xitFbpostbackId\":\"67c82361e49611-1-9123-67c82361e4967\",\"labelIds\":[],\"labelIdTextsArray\":[],\"sequenceIdValue\":\"\",\"sequenceIdText\":\"Select a sequence\"},\"inputs\":{\"referenceInput\":{\"connections\":[]},\"referenceInputActionButton\":{\"connections\":[{\"node\":2,\"output\":\"actionButtonOutput\",\"data\":{}}]}},\"outputs\":{\"referenceOutput\":{\"connections\":[{\"node\":3,\"input\":\"textInput\",\"data\":{}}]},\"referenceOutputSequence\":{\"connections\":[]}},\"position\":[-194,-73.69594455863344],\"name\":\"Start Bot Flow\"},\"2\":{\"id\":2,\"data\":{\"uniqueId\":\"d0SDPeFm3qQNxVU\",\"actionType\":\"YES_START_CHAT_WITH_HUMAN\",\"actionTypeText\":\"Chat with human template\",\"pluginType\":\"\",\"pluginTypeText\":\"Select\",\"domain\":\"\",\"language\":\"en_US\",\"languageText\":\"English (US)\",\"ctaButtonType\":\"\",\"ctaButtonTypeText\":\"Default\",\"pluginSkin\":\"light\",\"pluginCenterAlign\":\"true\",\"pluginSize\":\"medium\",\"redirectionStatus\":\"0\",\"optInSuccessMessage\":\"You have been subscribed successfully, thank you.\",\"addingButtonInSuccessMessage\":\"0\",\"buttonText\":\"Send Message\",\"buttonUrl\":\"\",\"buttonBgColor\":\"\",\"buttonTextColor\":\"\",\"buttonHoverBgColor\":\"\",\"buttonHoverTextColor\":\"\",\"buttonSize\":\"medium\",\"redirectionUrlForSuccessfulOptin\":\"\",\"checkboxValidationErrorMessage\":\"\",\"chatPluginLoadingStatus\":\"show\",\"chatPluginLoadingDelayInSeconds\":\"\",\"chatPluginThemeColor\":\"#FFFFFF\",\"hideChatPluginIfNotLoggedIn\":\"0\",\"greetingTextIfLoggedIn\":\"\",\"greetingTextIfNotLoggedIn\":\"\",\"reference\":\"\",\"labelIds\":[],\"labelIdTextsArray\":[]},\"inputs\":{},\"outputs\":{\"actionButtonOutput\":{\"connections\":[{\"node\":1,\"input\":\"referenceInputActionButton\",\"data\":{}}]}},\"position\":[-450,-66],\"name\":\"Action Button\"},\"3\":{\"id\":3,\"data\":{\"uniqueId\":\"EKp6WxW7lHlVDBK\",\"textMessage\":\"Thanks! It is a pleasure talking to you. One of our team members will reply to you soon. If you want to chat with me again, just click the button below.\",\"delayReplyFor\":\"0\",\"IsTypingOnDisplayChecked\":false},\"inputs\":{\"textInput\":{\"connections\":[{\"node\":1,\"output\":\"referenceOutput\",\"data\":{}}]}},\"outputs\":{\"textOutput\":{\"connections\":[]},\"textOutputButton\":{\"connections\":[{\"node\":5,\"input\":\"buttonInput\",\"data\":{}}]},\"textOutputQuickreply\":{\"connections\":[]}},\"position\":[58,-103],\"name\":\"Text\"},\"5\":{\"id\":5,\"data\":{\"postbackId\":\"Om4PDFz9pk_kwts\",\"buttonText\":\"Resume Chat with Bot\",\"buttonType\":\"YES_START_CHAT_WITH_BOT\",\"text\":\"Chat with robot\"},\"inputs\":{\"buttonInput\":{\"connections\":[{\"node\":3,\"output\":\"textOutputButton\",\"data\":{}}]}},\"outputs\":{\"buttonOutput\":{\"connections\":[]}},\"position\":[375.6521739130435,41.043541949728265],\"name\":\"Button\"}}}','1','YES_START_CHAT_WITH_HUMAN'),(22,1,1,'67c82361e50f91-1-7661-67c82361e50ff','Chat With Robot Template','fb','{\"id\":\"xitFB@0.0.1\",\"nodes\":{\"1\":{\"id\":1,\"data\":{\"title\":\"Chat With Robot Template\",\"postbackId\":\"3NYSXhmp_yz-Jvt8\",\"xitFbpostbackId\":\"67c82361e50f91-1-7661-67c82361e50ff\",\"labelIds\":[],\"labelIdTextsArray\":[],\"sequenceIdValue\":\"\",\"sequenceIdText\":\"Select a sequence\"},\"inputs\":{\"referenceInput\":{\"connections\":[]},\"referenceInputActionButton\":{\"connections\":[{\"node\":2,\"output\":\"actionButtonOutput\",\"data\":{}}]}},\"outputs\":{\"referenceOutput\":{\"connections\":[{\"node\":3,\"input\":\"textInput\",\"data\":{}}]},\"referenceOutputSequence\":{\"connections\":[]}},\"position\":[-194,-73.69594455863344],\"name\":\"Start Bot Flow\"},\"2\":{\"id\":2,\"data\":{\"uniqueId\":\"d0SDPeFm3qQNxVU\",\"actionType\":\"YES_START_CHAT_WITH_BOT\",\"actionTypeText\":\"Chat with robot template\",\"pluginType\":\"\",\"pluginTypeText\":\"Select\",\"domain\":\"\",\"language\":\"en_US\",\"languageText\":\"English (US)\",\"ctaButtonType\":\"\",\"ctaButtonTypeText\":\"Default\",\"pluginSkin\":\"light\",\"pluginCenterAlign\":\"true\",\"pluginSize\":\"medium\",\"redirectionStatus\":\"0\",\"optInSuccessMessage\":\"You have been subscribed successfully, thank you.\",\"addingButtonInSuccessMessage\":\"0\",\"buttonText\":\"Send Message\",\"buttonUrl\":\"\",\"buttonBgColor\":\"\",\"buttonTextColor\":\"\",\"buttonHoverBgColor\":\"\",\"buttonHoverTextColor\":\"\",\"buttonSize\":\"medium\",\"redirectionUrlForSuccessfulOptin\":\"\",\"checkboxValidationErrorMessage\":\"\",\"chatPluginLoadingStatus\":\"show\",\"chatPluginLoadingDelayInSeconds\":\"\",\"chatPluginThemeColor\":\"#FFFFFF\",\"hideChatPluginIfNotLoggedIn\":\"0\",\"greetingTextIfLoggedIn\":\"\",\"greetingTextIfNotLoggedIn\":\"\",\"reference\":\"\",\"labelIds\":[],\"labelIdTextsArray\":[]},\"inputs\":{},\"outputs\":{\"actionButtonOutput\":{\"connections\":[{\"node\":1,\"input\":\"referenceInputActionButton\",\"data\":{}}]}},\"position\":[-450,-66],\"name\":\"Action Button\"},\"3\":{\"id\":3,\"data\":{\"uniqueId\":\"EKp6WxW7lHlVDBK\",\"textMessage\":\"I am glad to have you back. I will try my best to answer all questions. If you want to start chatting with humans again you can simply click the button below.\",\"delayReplyFor\":\"0\",\"IsTypingOnDisplayChecked\":false},\"inputs\":{\"textInput\":{\"connections\":[{\"node\":1,\"output\":\"referenceOutput\",\"data\":{}}]}},\"outputs\":{\"textOutput\":{\"connections\":[]},\"textOutputButton\":{\"connections\":[{\"node\":5,\"input\":\"buttonInput\",\"data\":{}}]},\"textOutputQuickreply\":{\"connections\":[]}},\"position\":[58,-103],\"name\":\"Text\"},\"5\":{\"id\":5,\"data\":{\"postbackId\":\"Om4PDFz9pk_kwts\",\"buttonText\":\"Chat with human\",\"buttonType\":\"YES_START_CHAT_WITH_HUMAN\",\"text\":\"Chat with human\"},\"inputs\":{\"buttonInput\":{\"connections\":[{\"node\":3,\"output\":\"textOutputButton\",\"data\":{}}]}},\"outputs\":{\"buttonOutput\":{\"connections\":[]}},\"position\":[375.6521739130435,41.043541949728265],\"name\":\"Button\"}}}','1','YES_START_CHAT_WITH_BOT'),(23,1,1,'67c82361e59521-1-8865-67c82361e5958','Get Started Template','fb','{\"id\":\"xitFB@0.0.1\",\"nodes\":{\"1\":{\"id\":1,\"data\":{\"title\":\"Get Started Template\",\"postbackId\":\"3NYSXhmp_yz-Jvt9\",\"xitFbpostbackId\":\"67c82361e59521-1-8865-67c82361e5958\",\"labelIds\":[],\"labelIdTextsArray\":[],\"sequenceIdValue\":\"\",\"sequenceIdText\":\"Select a sequence\"},\"inputs\":{\"referenceInputActionButton\":{\"connections\":[{\"node\":2,\"output\":\"actionButtonOutput\",\"data\":{}}]}},\"outputs\":{\"referenceOutput\":{\"connections\":[{\"node\":3,\"input\":\"textInput\",\"data\":{}}]}},\"position\":[-212,-73],\"name\":\"Start Bot Flow\"},\"2\":{\"id\":2,\"data\":{\"uniqueId\":\"d0SDPeFm3qQNxVU\",\"actionType\":\"get-started\",\"actionTypeText\":\"Get-started template\",\"pluginType\":\"\",\"pluginTypeText\":\"Select\",\"domain\":\"\",\"language\":\"en_US\",\"languageText\":\"English (US)\",\"ctaButtonType\":\"\",\"ctaButtonTypeText\":\"Default\",\"pluginSkin\":\"light\",\"pluginCenterAlign\":\"true\",\"pluginSize\":\"medium\",\"redirectionStatus\":\"0\",\"optInSuccessMessage\":\"You have been subscribed successfully, thank you.\",\"addingButtonInSuccessMessage\":\"0\",\"buttonText\":\"Send Message\",\"buttonUrl\":\"\",\"buttonBgColor\":\"\",\"buttonTextColor\":\"\",\"buttonHoverBgColor\":\"\",\"buttonHoverTextColor\":\"\",\"buttonSize\":\"medium\",\"redirectionUrlForSuccessfulOptin\":\"\",\"checkboxValidationErrorMessage\":\"\",\"chatPluginLoadingStatus\":\"show\",\"chatPluginLoadingDelayInSeconds\":\"\",\"chatPluginThemeColor\":\"#FFFFFF\",\"hideChatPluginIfNotLoggedIn\":\"0\",\"greetingTextIfLoggedIn\":\"\",\"greetingTextIfNotLoggedIn\":\"\",\"reference\":\"\",\"labelIds\":[],\"labelIdTextsArray\":[]},\"inputs\":{},\"outputs\":{\"actionButtonOutput\":{\"connections\":[{\"node\":1,\"input\":\"referenceInputActionButton\",\"data\":{}}]}},\"position\":[-450,-66],\"name\":\"Action Button\"},\"3\":{\"id\":3,\"data\":{\"uniqueId\":\"EKp6WxW7lHlVDBK\",\"textMessage\":\"{{user_first_name}}  {{user_last_name}},\\nআমাদের পেইজে স্বাগতম, নিচের মেন্যু থেকে বাছাই করুন অথবা ড্রেসের উপর থাকা কোড (Example: ABC1234) টি লিখুন।\\nকোড জানা না থাকলে আমাদের ওয়েবসাইট ভিজিট করুন https://oasisoutfit.com/catalog\\n\\n\\n\\n\",\"delayReplyFor\":\"0\",\"IsTypingOnDisplayChecked\":false},\"inputs\":{\"textInput\":{\"connections\":[{\"node\":1,\"output\":\"referenceOutput\",\"data\":{}}]}},\"outputs\":{\"textOutput\":{\"connections\":[]},\"textOutputButton\":{\"connections\":[]},\"textOutputQuickreply\":{\"connections\":[]}},\"position\":[229.26491948180097,-90.1082237555225],\"name\":\"Text\"}}}','1','get-started'),(24,1,1,'67c82361e5d411-1-2510-67c82361e5d48','No Match Template','fb','{\"id\":\"xitFB@0.0.1\",\"nodes\":{\"1\":{\"id\":1,\"data\":{\"title\":\"No Match Template\",\"postbackId\":\"3NYSXhmp_yz-Jvt10\",\"xitFbpostbackId\":\"67c82361e5d411-1-2510-67c82361e5d48\",\"labelIds\":[],\"labelIdTextsArray\":[],\"sequenceIdValue\":\"\",\"sequenceIdText\":\"Select a sequence\"},\"inputs\":{\"referenceInput\":{\"connections\":[]},\"referenceInputActionButton\":{\"connections\":[{\"node\":2,\"output\":\"actionButtonOutput\",\"data\":{}}]}},\"outputs\":{\"referenceOutput\":{\"connections\":[{\"node\":3,\"input\":\"textInput\",\"data\":{}}]},\"referenceOutputSequence\":{\"connections\":[]}},\"position\":[-212,-73],\"name\":\"Start Bot Flow\"},\"2\":{\"id\":2,\"data\":{\"uniqueId\":\"d0SDPeFm3qQNxVU\",\"actionType\":\"no match\",\"actionTypeText\":\"No match template\",\"pluginType\":\"\",\"pluginTypeText\":\"Select\",\"domain\":\"\",\"language\":\"en_US\",\"languageText\":\"English (US)\",\"ctaButtonType\":\"\",\"ctaButtonTypeText\":\"Default\",\"pluginSkin\":\"light\",\"pluginCenterAlign\":\"true\",\"pluginSize\":\"medium\",\"redirectionStatus\":\"0\",\"optInSuccessMessage\":\"You have been subscribed successfully, thank you.\",\"addingButtonInSuccessMessage\":\"0\",\"buttonText\":\"Send Message\",\"buttonUrl\":\"\",\"buttonBgColor\":\"\",\"buttonTextColor\":\"\",\"buttonHoverBgColor\":\"\",\"buttonHoverTextColor\":\"\",\"buttonSize\":\"medium\",\"redirectionUrlForSuccessfulOptin\":\"\",\"checkboxValidationErrorMessage\":\"\",\"chatPluginLoadingStatus\":\"show\",\"chatPluginLoadingDelayInSeconds\":\"\",\"chatPluginThemeColor\":\"#FFFFFF\",\"hideChatPluginIfNotLoggedIn\":\"0\",\"greetingTextIfLoggedIn\":\"\",\"greetingTextIfNotLoggedIn\":\"\",\"reference\":\"\",\"labelIds\":[],\"labelIdTextsArray\":[]},\"inputs\":{},\"outputs\":{\"actionButtonOutput\":{\"connections\":[{\"node\":1,\"input\":\"referenceInputActionButton\",\"data\":{}}]}},\"position\":[-450,-66],\"name\":\"Action Button\"},\"3\":{\"id\":3,\"data\":{\"uniqueId\":\"EKp6WxW7lHlVDBK\",\"textMessage\":\"Sorry, we could not find any content to show. One of our team members will reply to you soon.\",\"delayReplyFor\":\"0\",\"IsTypingOnDisplayChecked\":false},\"inputs\":{\"textInput\":{\"connections\":[{\"node\":1,\"output\":\"referenceOutput\",\"data\":{}}]}},\"outputs\":{\"textOutput\":{\"connections\":[]},\"textOutputButton\":{\"connections\":[]},\"textOutputQuickreply\":{\"connections\":[]}},\"position\":[23,-94],\"name\":\"Text\"}}}','1','no match'),(25,1,1,'67c82361e637f1-1-6764-67c82361e6385','No Match Template','ig','{\"id\":\"xitFB@0.0.1\",\"nodes\":{\"1\":{\"id\":1,\"data\":{\"title\":\"No Match Template\",\"postbackId\":\"3NYSXhmp_yz-Jvt10ig\",\"xitFbpostbackId\":\"67c82361e5d411-1-2510-67c82361e5d48\",\"labelIds\":[],\"labelIdTextsArray\":[],\"sequenceIdValue\":\"\",\"sequenceIdText\":\"Select a sequence\"},\"inputs\":{\"referenceInput\":{\"connections\":[]},\"referenceInputActionButton\":{\"connections\":[{\"node\":2,\"output\":\"actionButtonOutput\",\"data\":{}}]}},\"outputs\":{\"referenceOutput\":{\"connections\":[{\"node\":3,\"input\":\"textInput\",\"data\":{}}]},\"referenceOutputSequence\":{\"connections\":[]}},\"position\":[-212,-73],\"name\":\"Start Bot Flow\"},\"2\":{\"id\":2,\"data\":{\"uniqueId\":\"d0SDPeFm3qQNxVU\",\"actionType\":\"no match\",\"actionTypeText\":\"No match template\",\"pluginType\":\"\",\"pluginTypeText\":\"Select\",\"domain\":\"\",\"language\":\"en_US\",\"languageText\":\"English (US)\",\"ctaButtonType\":\"\",\"ctaButtonTypeText\":\"Default\",\"pluginSkin\":\"light\",\"pluginCenterAlign\":\"true\",\"pluginSize\":\"medium\",\"redirectionStatus\":\"0\",\"optInSuccessMessage\":\"You have been subscribed successfully, thank you.\",\"addingButtonInSuccessMessage\":\"0\",\"buttonText\":\"Send Message\",\"buttonUrl\":\"\",\"buttonBgColor\":\"\",\"buttonTextColor\":\"\",\"buttonHoverBgColor\":\"\",\"buttonHoverTextColor\":\"\",\"buttonSize\":\"medium\",\"redirectionUrlForSuccessfulOptin\":\"\",\"checkboxValidationErrorMessage\":\"\",\"chatPluginLoadingStatus\":\"show\",\"chatPluginLoadingDelayInSeconds\":\"\",\"chatPluginThemeColor\":\"#FFFFFF\",\"hideChatPluginIfNotLoggedIn\":\"0\",\"greetingTextIfLoggedIn\":\"\",\"greetingTextIfNotLoggedIn\":\"\",\"reference\":\"\",\"labelIds\":[],\"labelIdTextsArray\":[]},\"inputs\":{},\"outputs\":{\"actionButtonOutput\":{\"connections\":[{\"node\":1,\"input\":\"referenceInputActionButton\",\"data\":{}}]}},\"position\":[-450,-66],\"name\":\"Action Button\"},\"3\":{\"id\":3,\"data\":{\"uniqueId\":\"EKp6WxW7lHlVDBK\",\"textMessage\":\"Sorry, we could not find any content to show. One of our team members will reply to you soon.\",\"delayReplyFor\":\"0\",\"IsTypingOnDisplayChecked\":false},\"inputs\":{\"textInput\":{\"connections\":[{\"node\":1,\"output\":\"referenceOutput\",\"data\":{}}]}},\"outputs\":{\"textOutput\":{\"connections\":[]},\"textOutputButton\":{\"connections\":[]},\"textOutputQuickreply\":{\"connections\":[]}},\"position\":[23,-94],\"name\":\"Text\"}}}','1','no match'),(26,1,1,'67c82361e6b391-1-9255-67c82361e6b40','Story Mention Template','ig','{\"id\":\"xitFB@0.0.1\",\"nodes\":{\"1\":{\"id\":1,\"data\":{\"title\":\"Story Mention Template\",\"postbackId\":\"mvs_sYC31zTb1H61\",\"xitFbpostbackId\":\"67c82361e6b391-1-9255-67c82361e6b40\",\"labelIds\":[],\"labelIdTextsArray\":[],\"sequenceIdValue\":\"\",\"sequenceIdText\":\"Select a sequence\"},\"inputs\":{\"referenceInput\":{\"connections\":[]},\"referenceInputActionButton\":{\"connections\":[{\"node\":2,\"output\":\"actionButtonOutput\",\"data\":{}}]}},\"outputs\":{\"referenceOutput\":{\"connections\":[{\"node\":3,\"input\":\"textInput\",\"data\":{}}]},\"referenceOutputSequence\":{\"connections\":[]}},\"position\":[-212,-73],\"name\":\"Start Bot Flow\"},\"2\":{\"id\":2,\"data\":{\"uniqueId\":\"QEY1J4O3de3NxAN\",\"actionType\":\"STORY_MENTION\",\"actionTypeText\":\"Story mention\",\"pluginType\":\"\",\"pluginTypeText\":\"Select\",\"domain\":\"\",\"language\":\"en_US\",\"languageText\":\"English (US)\",\"ctaButtonType\":\"\",\"ctaButtonTypeText\":\"Default\",\"pluginSkin\":\"light\",\"pluginCenterAlign\":\"true\",\"pluginSize\":\"medium\",\"redirectionStatus\":\"0\",\"optInSuccessMessage\":\"You have been subscribed successfully, thank you.\",\"addingButtonInSuccessMessage\":\"0\",\"buttonText\":\"Send Message\",\"buttonUrl\":\"\",\"buttonBgColor\":\"\",\"buttonTextColor\":\"\",\"buttonHoverBgColor\":\"\",\"buttonHoverTextColor\":\"\",\"buttonSize\":\"medium\",\"redirectionUrlForSuccessfulOptin\":\"\",\"checkboxValidationErrorMessage\":\"\",\"chatPluginLoadingStatus\":\"show\",\"chatPluginLoadingDelayInSeconds\":\"\",\"chatPluginThemeColor\":\"#FFFFFF\",\"hideChatPluginIfNotLoggedIn\":\"0\",\"greetingTextIfLoggedIn\":\"\",\"greetingTextIfNotLoggedIn\":\"\",\"reference\":\"\",\"labelIds\":[],\"labelIdTextsArray\":[]},\"inputs\":{},\"outputs\":{\"actionButtonOutput\":{\"connections\":[{\"node\":1,\"input\":\"referenceInputActionButton\",\"data\":{}}]}},\"position\":[-450,-66],\"name\":\"Action Button\"},\"3\":{\"id\":3,\"data\":{\"uniqueId\":\"HjKksxHRQtGc7hq\",\"textMessage\":\"Thanks for mentioning me.\"},\"inputs\":{\"textInput\":{\"connections\":[{\"node\":1,\"output\":\"referenceOutput\",\"data\":{}}]}},\"outputs\":{\"textOutput\":{\"connections\":[]},\"textOutputQuickreply\":{\"connections\":[]}},\"position\":[23.695641568922547,-70],\"name\":\"Text\"}}}','1','STORY_MENTION'),(27,1,1,'67c82361e72711-1-6234-67c82361e7278','Story Private Reply Template','ig','{\"id\":\"xitFB@0.0.1\",\"nodes\":{\"1\":{\"id\":1,\"data\":{\"title\":\"Story Private Reply Template\",\"postbackId\":\"mvs_sYC31zTb1H62\",\"xitFbpostbackId\":\"67c82361e72711-1-6234-67c82361e7278\",\"labelIds\":[],\"labelIdTextsArray\":[],\"sequenceIdValue\":\"\",\"sequenceIdText\":\"Select a sequence\"},\"inputs\":{\"referenceInput\":{\"connections\":[]},\"referenceInputActionButton\":{\"connections\":[{\"node\":2,\"output\":\"actionButtonOutput\",\"data\":{}}]}},\"outputs\":{\"referenceOutput\":{\"connections\":[{\"node\":3,\"input\":\"textInput\",\"data\":{}}]},\"referenceOutputSequence\":{\"connections\":[]}},\"position\":[-212,-73],\"name\":\"Start Bot Flow\"},\"2\":{\"id\":2,\"data\":{\"uniqueId\":\"QEY1J4O3de3NxAN\",\"actionType\":\"STORY_PRIVATE_REPLY\",\"actionTypeText\":\"Story private reply\",\"pluginType\":\"\",\"pluginTypeText\":\"Select\",\"domain\":\"\",\"language\":\"en_US\",\"languageText\":\"English (US)\",\"ctaButtonType\":\"\",\"ctaButtonTypeText\":\"Default\",\"pluginSkin\":\"light\",\"pluginCenterAlign\":\"true\",\"pluginSize\":\"medium\",\"redirectionStatus\":\"0\",\"optInSuccessMessage\":\"You have been subscribed successfully, thank you.\",\"addingButtonInSuccessMessage\":\"0\",\"buttonText\":\"Send Message\",\"buttonUrl\":\"\",\"buttonBgColor\":\"\",\"buttonTextColor\":\"\",\"buttonHoverBgColor\":\"\",\"buttonHoverTextColor\":\"\",\"buttonSize\":\"medium\",\"redirectionUrlForSuccessfulOptin\":\"\",\"checkboxValidationErrorMessage\":\"\",\"chatPluginLoadingStatus\":\"show\",\"chatPluginLoadingDelayInSeconds\":\"\",\"chatPluginThemeColor\":\"#FFFFFF\",\"hideChatPluginIfNotLoggedIn\":\"0\",\"greetingTextIfLoggedIn\":\"\",\"greetingTextIfNotLoggedIn\":\"\",\"reference\":\"\",\"labelIds\":[],\"labelIdTextsArray\":[]},\"inputs\":{},\"outputs\":{\"actionButtonOutput\":{\"connections\":[{\"node\":1,\"input\":\"referenceInputActionButton\",\"data\":{}}]}},\"position\":[-450,-66],\"name\":\"Action Button\"},\"3\":{\"id\":3,\"data\":{\"uniqueId\":\"HjKksxHRQtGc7hq\",\"textMessage\":\"Thanks for your comment on my story.\"},\"inputs\":{\"textInput\":{\"connections\":[{\"node\":1,\"output\":\"referenceOutput\",\"data\":{}}]}},\"outputs\":{\"textOutput\":{\"connections\":[]},\"textOutputQuickreply\":{\"connections\":[]}},\"position\":[28,-85],\"name\":\"Text\"}}}','1','STORY_PRIVATE_REPLY'),(28,1,1,'67c82361e78e01-1-7670-67c82361e78e6','Message Unsend Private Reply Template','ig','{\"id\":\"xitFB@0.0.1\",\"nodes\":{\"1\":{\"id\":1,\"data\":{\"title\":\"Message Unsend Private Reply Template\",\"postbackId\":\"mvs_sYC31zTb1H63\",\"xitFbpostbackId\":\"67c82361e78e01-1-7670-67c82361e78e6\",\"labelIds\":[],\"labelIdTextsArray\":[],\"sequenceIdValue\":\"\",\"sequenceIdText\":\"Select a sequence\"},\"inputs\":{\"referenceInput\":{\"connections\":[]},\"referenceInputActionButton\":{\"connections\":[{\"node\":2,\"output\":\"actionButtonOutput\",\"data\":{}}]}},\"outputs\":{\"referenceOutput\":{\"connections\":[{\"node\":3,\"input\":\"textInput\",\"data\":{}}]},\"referenceOutputSequence\":{\"connections\":[]}},\"position\":[-195,-73],\"name\":\"Start Bot Flow\"},\"2\":{\"id\":2,\"data\":{\"uniqueId\":\"QEY1J4O3de3NxAN\",\"actionType\":\"MESSAGE_UNSEND_PRIVATE_REPLY\",\"actionTypeText\":\"Message unsend private reply\",\"pluginType\":\"\",\"pluginTypeText\":\"Select\",\"domain\":\"\",\"language\":\"en_US\",\"languageText\":\"English (US)\",\"ctaButtonType\":\"\",\"ctaButtonTypeText\":\"Default\",\"pluginSkin\":\"light\",\"pluginCenterAlign\":\"true\",\"pluginSize\":\"medium\",\"redirectionStatus\":\"0\",\"optInSuccessMessage\":\"You have been subscribed successfully, thank you.\",\"addingButtonInSuccessMessage\":\"0\",\"buttonText\":\"Send Message\",\"buttonUrl\":\"\",\"buttonBgColor\":\"\",\"buttonTextColor\":\"\",\"buttonHoverBgColor\":\"\",\"buttonHoverTextColor\":\"\",\"buttonSize\":\"medium\",\"redirectionUrlForSuccessfulOptin\":\"\",\"checkboxValidationErrorMessage\":\"\",\"chatPluginLoadingStatus\":\"show\",\"chatPluginLoadingDelayInSeconds\":\"\",\"chatPluginThemeColor\":\"#FFFFFF\",\"hideChatPluginIfNotLoggedIn\":\"0\",\"greetingTextIfLoggedIn\":\"\",\"greetingTextIfNotLoggedIn\":\"\",\"reference\":\"\",\"labelIds\":[],\"labelIdTextsArray\":[]},\"inputs\":{},\"outputs\":{\"actionButtonOutput\":{\"connections\":[{\"node\":1,\"input\":\"referenceInputActionButton\",\"data\":{}}]}},\"position\":[-450,-66],\"name\":\"Action Button\"},\"3\":{\"id\":3,\"data\":{\"uniqueId\":\"HjKksxHRQtGc7hq\",\"textMessage\":\"As you have deleted your message, we want to ensure you that our bot does not save any of your messages. So it will not be saved in our bot. Thanks\"},\"inputs\":{\"textInput\":{\"connections\":[{\"node\":1,\"output\":\"referenceOutput\",\"data\":{}}]}},\"outputs\":{\"textOutput\":{\"connections\":[]},\"textOutputQuickreply\":{\"connections\":[]}},\"position\":[108,-112],\"name\":\"Text\"}}}','1','MESSAGE_UNSEND_PRIVATE_REPLY');
/*!40000 ALTER TABLE `visual_flow_builder_campaign` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `visual_flow_campaign_unique_ids`
--

DROP TABLE IF EXISTS `visual_flow_campaign_unique_ids`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `visual_flow_campaign_unique_ids` (
  `id` int NOT NULL AUTO_INCREMENT,
  `page_table_id` int NOT NULL,
  `visual_flow_campaign_id` int NOT NULL,
  `element_unique_id` varchar(60) NOT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `page_table_id` (`page_table_id`,`visual_flow_campaign_id`,`element_unique_id`),
  KEY `visual_flow_campaign_id` (`visual_flow_campaign_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `visual_flow_campaign_unique_ids`
--

LOCK TABLES `visual_flow_campaign_unique_ids` WRITE;
/*!40000 ALTER TABLE `visual_flow_campaign_unique_ids` DISABLE KEYS */;
/*!40000 ALTER TABLE `visual_flow_campaign_unique_ids` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `wordpress_config_self_hosted`
--

DROP TABLE IF EXISTS `wordpress_config_self_hosted`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `wordpress_config_self_hosted` (
  `id` int NOT NULL AUTO_INCREMENT,
  `user_id` int NOT NULL,
  `domain_name` varchar(191) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `user_key` varchar(191) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `authentication_key` varchar(191) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `blog_category` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci,
  `status` enum('1','0') CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '1',
  `deleted` enum('0','1') CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '0',
  `updated_at` datetime DEFAULT NULL,
  `created_at` datetime DEFAULT NULL,
  `error_message` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci,
  PRIMARY KEY (`id`),
  KEY `ct_user_id` (`user_id`),
  CONSTRAINT `ct_user_id` FOREIGN KEY (`user_id`) REFERENCES `users` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `wordpress_config_self_hosted`
--

LOCK TABLES `wordpress_config_self_hosted` WRITE;
/*!40000 ALTER TABLE `wordpress_config_self_hosted` DISABLE KEYS */;
/*!40000 ALTER TABLE `wordpress_config_self_hosted` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Dumping events for database 'deshiserver_chat_bot'
--

--
-- Dumping routines for database 'deshiserver_chat_bot'
--
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;

/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */;
/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;
/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */;
/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;

-- Dump completed on 2025-03-24 14:40:39
