#
# TABLE STRUCTURE FOR: whatsapp
#

DROP TABLE IF EXISTS `whatsapp`;

CREATE TABLE `whatsapp` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `is_active` int(11) NOT NULL,
  `api_key` text NOT NULL,
  `token` text NOT NULL,
  `domain_api` text NOT NULL,
  `username` varchar(50) NOT NULL,
  `vendor` varchar(128) NOT NULL,
  `createinvoice` int(11) NOT NULL,
  `paymentinvoice` int(11) NOT NULL,
  `duedateinvoice` int(11) NOT NULL,
  `interval_message` int(11) NOT NULL,
  `sender` varchar(128) NOT NULL,
  `reminderinvoice` int(11) NOT NULL,
  `version` int(11) NOT NULL,
  `period` int(11) NOT NULL,
  `create_help` text NOT NULL,
  `update_help` text NOT NULL,
  `get_help` text NOT NULL,
  `create_help_customer` int(11) NOT NULL,
  `create_help_admin` int(11) NOT NULL,
  `text_help_customer` int(11) NOT NULL,
  `send_help_customer` int(11) NOT NULL,
  `id_devices` int(11) NOT NULL,
  `official` int(11) NOT NULL,
  `count_blast` int(11) NOT NULL,
  `last_excute` text NOT NULL,
  `time_start` text NOT NULL,
  `time_end` text NOT NULL,
  `send_isolir` int(11) NOT NULL,
  `send_ticket_done` int(11) NOT NULL,
  `template` text NOT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;

INSERT INTO `whatsapp` (`id`, `is_active`, `api_key`, `token`, `domain_api`, `username`, `vendor`, `createinvoice`, `paymentinvoice`, `duedateinvoice`, `interval_message`, `sender`, `reminderinvoice`, `version`, `period`, `create_help`, `update_help`, `get_help`, `create_help_customer`, `create_help_admin`, `text_help_customer`, `send_help_customer`, `id_devices`, `official`, `count_blast`, `last_excute`, `time_start`, `time_end`, `send_isolir`, `send_ticket_done`, `template`) VALUES (1, 1, 'e88bb38e-ba85-42a7-8eb5-c2a75743b8bc', '6zn1j3lD5EaQV4s5oeSqPg1bJ878T8ihJbEX299tE07CMHnVPVcMaQZl9PbcsgLr', 'https://us.wablas.com', '', 'Starsender', 1, 1, 1, 10, '', 1, 3, 1, '1', '', '', 0, 1, 0, 1, 0, 0, 3, '2026-01-07 06:32:27', '00:54', '23:54', 0, 0, '');


