
> carg-backend@1.0.0 dev
> nodemon --exec ts-node-esm src/server.js

[33m[nodemon] 3.1.14[39m
[33m[nodemon] to restart at any time, enter `rs`[39m
[33m[nodemon] watching path(s): *.*[39m
[33m[nodemon] watching extensions: js,mjs,cjs,json[39m
[32m[nodemon] starting `ts-node-esm src/server.js`[39m
prisma:info Starting a mysql pool with 9 connections.
[2026-06-24T11:31:24.343Z] [INFO]: Successfully connected to the MySQL Database via Prisma!
--------------------------------------------------

prisma:query SELECT `thecarg_db`.`cg_tbl_business_settings`.`id`, `thecarg_db`.`cg_tbl_business_settings`.`key`, `thecarg_db`.`cg_tbl_business_settings`.`value`, `thecarg_db`.`cg_tbl_business_settings`.`created_at`, `thecarg_db`.`cg_tbl_business_settings`.`updated_at` FROM `thecarg_db`.`cg_tbl_business_settings` WHERE `thecarg_db`.`cg_tbl_business_settings`.`key` = ? LIMIT ? OFFSET ?
prisma:query SELECT `thecarg_db`.`cg_tbl_business_settings`.`id`, `thecarg_db`.`cg_tbl_business_settings`.`key`, `thecarg_db`.`cg_tbl_business_settings`.`value`, `thecarg_db`.`cg_tbl_business_settings`.`created_at`, `thecarg_db`.`cg_tbl_business_settings`.`updated_at` FROM `thecarg_db`.`cg_tbl_business_settings` WHERE `thecarg_db`.`cg_tbl_business_settings`.`key` = ? LIMIT ? OFFSET ?
Firebase initialized successfully
[2026-06-24T11:31:24.393Z] [INFO]: Server is running in development mode on port 5000
--------------------------------------------------

[2026-06-24T11:31:24.395Z] [INFO]: Endpoint: http://localhost:5000
--------------------------------------------------

prisma:query SELECT `thecarg_db`.`cg_tbl_categories`.`id`, `thecarg_db`.`cg_tbl_categories`.`category_name`, `thecarg_db`.`cg_tbl_categories`.`category_image`, `thecarg_db`.`cg_tbl_categories`.`is_accident` FROM `thecarg_db`.`cg_tbl_categories` WHERE (`thecarg_db`.`cg_tbl_categories`.`status` = ? AND (`thecarg_db`.`cg_tbl_categories`.`is_accident` = ? OR (`thecarg_db`.`cg_tbl_categories`.`id`) IN (SELECT `t1`.`category_id` FROM `thecarg_db`.`cg_tbl_category_sub_category_setup` AS `t1` LEFT JOIN `thecarg_db`.`cg_tbl_sub_categories` AS `j2` ON (`j2`.`id`) = (`t1`.`sub_category_id`) WHERE (`t1`.`status` = ? AND (`j2`.`status` = ? AND (`j2`.`id` IS NOT NULL)) AND `t1`.`category_id` IS NOT NULL)))) ORDER BY `thecarg_db`.`cg_tbl_categories`.`id` ASC LIMIT ? OFFSET ?
prisma:query SELECT COUNT(*) FROM (SELECT `thecarg_db`.`cg_tbl_categories`.`id` FROM `thecarg_db`.`cg_tbl_categories` WHERE (`thecarg_db`.`cg_tbl_categories`.`status` = ? AND (`thecarg_db`.`cg_tbl_categories`.`is_accident` = ? OR (`thecarg_db`.`cg_tbl_categories`.`id`) IN (SELECT `t1`.`category_id` FROM `thecarg_db`.`cg_tbl_category_sub_category_setup` AS `t1` LEFT JOIN `thecarg_db`.`cg_tbl_sub_categories` AS `j2` ON (`j2`.`id`) = (`t1`.`sub_category_id`) WHERE (`t1`.`status` = ? AND (`j2`.`status` = ? AND (`j2`.`id` IS NOT NULL)) AND `t1`.`category_id` IS NOT NULL))))) AS `sub`
prisma:query SELECT `thecarg_db`.`cg_tbl_category_sub_category_setup`.`id`, `thecarg_db`.`cg_tbl_category_sub_category_setup`.`sub_category_id`, `thecarg_db`.`cg_tbl_category_sub_category_setup`.`category_id` FROM `thecarg_db`.`cg_tbl_category_sub_category_setup` LEFT JOIN `thecarg_db`.`cg_tbl_sub_categories` AS `j1` ON (`j1`.`id`) = (`thecarg_db`.`cg_tbl_category_sub_category_setup`.`sub_category_id`) WHERE ((`thecarg_db`.`cg_tbl_category_sub_category_setup`.`status` = ? AND (`j1`.`status` = ? AND (`j1`.`id` IS NOT NULL))) AND `thecarg_db`.`cg_tbl_category_sub_category_setup`.`category_id` IN (?,?,?,?,?,?,?,?))
prisma:query SELECT `thecarg_db`.`cg_tbl_zones`.`id` FROM `thecarg_db`.`cg_tbl_zones` WHERE (`thecarg_db`.`cg_tbl_zones`.`id` IN (?,?) AND `thecarg_db`.`cg_tbl_zones`.`status` = ?)
prisma:query SELECT `thecarg_db`.`cg_tbl_sellers`.`id`, `thecarg_db`.`cg_tbl_sellers`.`status`, `thecarg_db`.`cg_tbl_sellers`.`operating_hours`, `thecarg_db`.`cg_tbl_sellers`.`zone` FROM `thecarg_db`.`cg_tbl_sellers` WHERE `thecarg_db`.`cg_tbl_sellers`.`status` = ?
prisma:query SELECT `thecarg_db`.`cg_tbl_products`.`id`, `thecarg_db`.`cg_tbl_products`.`article_number` FROM `thecarg_db`.`cg_tbl_products` WHERE (`thecarg_db`.`cg_tbl_products`.`status` = ? AND (`thecarg_db`.`cg_tbl_products`.`id`) IN (SELECT `t1`.`product_id` FROM `thecarg_db`.`cg_tbl_seller_products` AS `t1` WHERE (`t1`.`status` = ? AND `t1`.`seller_id` IN (?) AND `t1`.`product_id` IS NOT NULL))) ORDER BY `thecarg_db`.`cg_tbl_products`.`id` ASC
prisma:query SELECT `thecarg_db`.`cg_tbl_products`.`article_number` FROM `thecarg_db`.`cg_tbl_products` WHERE `thecarg_db`.`cg_tbl_products`.`id` IN (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?) GROUP BY `thecarg_db`.`cg_tbl_products`.`article_number`
prisma:query SELECT MIN(`thecarg_db`.`cg_tbl_products`.`id`), `thecarg_db`.`cg_tbl_products`.`article_number` FROM `thecarg_db`.`cg_tbl_products` WHERE `thecarg_db`.`cg_tbl_products`.`id` IN (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?) GROUP BY `thecarg_db`.`cg_tbl_products`.`article_number` ORDER BY MIN(`thecarg_db`.`cg_tbl_products`.`id`) ASC LIMIT ? OFFSET ?
prisma:query SELECT `thecarg_db`.`cg_tbl_products`.`id`, `thecarg_db`.`cg_tbl_products`.`techdoc_article_id`, `thecarg_db`.`cg_tbl_products`.`techdoc_brand_id`, `thecarg_db`.`cg_tbl_products`.`article_number`, `thecarg_db`.`cg_tbl_products`.`brand_name`, `thecarg_db`.`cg_tbl_products`.`status`, `thecarg_db`.`cg_tbl_products`.`created_at`, `thecarg_db`.`cg_tbl_products`.`updated_at`, `thecarg_db`.`cg_tbl_products`.`assembly_group_node_id`, `thecarg_db`.`cg_tbl_products`.`generic_article_id` FROM `thecarg_db`.`cg_tbl_products` WHERE `thecarg_db`.`cg_tbl_products`.`id` IN (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?) ORDER BY `thecarg_db`.`cg_tbl_products`.`id` ASC
prisma:query SELECT `thecarg_db`.`cg_tbl_business_settings`.`id`, `thecarg_db`.`cg_tbl_business_settings`.`key`, `thecarg_db`.`cg_tbl_business_settings`.`value`, `thecarg_db`.`cg_tbl_business_settings`.`created_at`, `thecarg_db`.`cg_tbl_business_settings`.`updated_at` FROM `thecarg_db`.`cg_tbl_business_settings` WHERE `thecarg_db`.`cg_tbl_business_settings`.`key` = ? LIMIT ? OFFSET ?
prisma:query SELECT `thecarg_db`.`cg_tbl_business_settings`.`id`, `thecarg_db`.`cg_tbl_business_settings`.`key`, `thecarg_db`.`cg_tbl_business_settings`.`value`, `thecarg_db`.`cg_tbl_business_settings`.`created_at`, `thecarg_db`.`cg_tbl_business_settings`.`updated_at` FROM `thecarg_db`.`cg_tbl_business_settings` WHERE `thecarg_db`.`cg_tbl_business_settings`.`key` = ? LIMIT ? OFFSET ?
prisma:query SELECT `thecarg_db`.`cg_tbl_business_settings`.`id`, `thecarg_db`.`cg_tbl_business_settings`.`key`, `thecarg_db`.`cg_tbl_business_settings`.`value`, `thecarg_db`.`cg_tbl_business_settings`.`created_at`, `thecarg_db`.`cg_tbl_business_settings`.`updated_at` FROM `thecarg_db`.`cg_tbl_business_settings` WHERE `thecarg_db`.`cg_tbl_business_settings`.`key` = ? LIMIT ? OFFSET ?
prisma:query SELECT `thecarg_db`.`cg_tbl_business_settings`.`id`, `thecarg_db`.`cg_tbl_business_settings`.`key`, `thecarg_db`.`cg_tbl_business_settings`.`value`, `thecarg_db`.`cg_tbl_business_settings`.`created_at`, `thecarg_db`.`cg_tbl_business_settings`.`updated_at` FROM `thecarg_db`.`cg_tbl_business_settings` WHERE `thecarg_db`.`cg_tbl_business_settings`.`key` = ? LIMIT ? OFFSET ?
prisma:query SELECT `thecarg_db`.`cg_tbl_business_settings`.`id`, `thecarg_db`.`cg_tbl_business_settings`.`key`, `thecarg_db`.`cg_tbl_business_settings`.`value`, `thecarg_db`.`cg_tbl_business_settings`.`created_at`, `thecarg_db`.`cg_tbl_business_settings`.`updated_at` FROM `thecarg_db`.`cg_tbl_business_settings` WHERE `thecarg_db`.`cg_tbl_business_settings`.`key` = ? LIMIT ? OFFSET ?
prisma:query SELECT `thecarg_db`.`cg_tbl_business_settings`.`id`, `thecarg_db`.`cg_tbl_business_settings`.`key`, `thecarg_db`.`cg_tbl_business_settings`.`value`, `thecarg_db`.`cg_tbl_business_settings`.`created_at`, `thecarg_db`.`cg_tbl_business_settings`.`updated_at` FROM `thecarg_db`.`cg_tbl_business_settings` WHERE `thecarg_db`.`cg_tbl_business_settings`.`key` = ? LIMIT ? OFFSET ?
prisma:query SELECT `thecarg_db`.`cg_tbl_business_settings`.`id`, `thecarg_db`.`cg_tbl_business_settings`.`key`, `thecarg_db`.`cg_tbl_business_settings`.`value`, `thecarg_db`.`cg_tbl_business_settings`.`created_at`, `thecarg_db`.`cg_tbl_business_settings`.`updated_at` FROM `thecarg_db`.`cg_tbl_business_settings` WHERE `thecarg_db`.`cg_tbl_business_settings`.`key` = ? LIMIT ? OFFSET ?
prisma:query SELECT `thecarg_db`.`cg_tbl_business_settings`.`id`, `thecarg_db`.`cg_tbl_business_settings`.`key`, `thecarg_db`.`cg_tbl_business_settings`.`value`, `thecarg_db`.`cg_tbl_business_settings`.`created_at`, `thecarg_db`.`cg_tbl_business_settings`.`updated_at` FROM `thecarg_db`.`cg_tbl_business_settings` WHERE `thecarg_db`.`cg_tbl_business_settings`.`key` = ? LIMIT ? OFFSET ?
prisma:query SELECT `thecarg_db`.`cg_tbl_business_settings`.`id`, `thecarg_db`.`cg_tbl_business_settings`.`key`, `thecarg_db`.`cg_tbl_business_settings`.`value`, `thecarg_db`.`cg_tbl_business_settings`.`created_at`, `thecarg_db`.`cg_tbl_business_settings`.`updated_at` FROM `thecarg_db`.`cg_tbl_business_settings` WHERE `thecarg_db`.`cg_tbl_business_settings`.`key` = ? LIMIT ? OFFSET ?
prisma:query SELECT `thecarg_db`.`cg_tbl_business_settings`.`id`, `thecarg_db`.`cg_tbl_business_settings`.`key`, `thecarg_db`.`cg_tbl_business_settings`.`value`, `thecarg_db`.`cg_tbl_business_settings`.`created_at`, `thecarg_db`.`cg_tbl_business_settings`.`updated_at` FROM `thecarg_db`.`cg_tbl_business_settings` WHERE `thecarg_db`.`cg_tbl_business_settings`.`key` = ? LIMIT ? OFFSET ?
prisma:query SELECT `thecarg_db`.`cg_tbl_business_settings`.`id`, `thecarg_db`.`cg_tbl_business_settings`.`key`, `thecarg_db`.`cg_tbl_business_settings`.`value`, `thecarg_db`.`cg_tbl_business_settings`.`created_at`, `thecarg_db`.`cg_tbl_business_settings`.`updated_at` FROM `thecarg_db`.`cg_tbl_business_settings` WHERE `thecarg_db`.`cg_tbl_business_settings`.`key` = ? LIMIT ? OFFSET ?
prisma:query SELECT `thecarg_db`.`cg_tbl_business_settings`.`id`, `thecarg_db`.`cg_tbl_business_settings`.`key`, `thecarg_db`.`cg_tbl_business_settings`.`value`, `thecarg_db`.`cg_tbl_business_settings`.`created_at`, `thecarg_db`.`cg_tbl_business_settings`.`updated_at` FROM `thecarg_db`.`cg_tbl_business_settings` WHERE `thecarg_db`.`cg_tbl_business_settings`.`key` = ? LIMIT ? OFFSET ?
prisma:query SELECT `thecarg_db`.`cg_tbl_business_settings`.`id`, `thecarg_db`.`cg_tbl_business_settings`.`key`, `thecarg_db`.`cg_tbl_business_settings`.`value`, `thecarg_db`.`cg_tbl_business_settings`.`created_at`, `thecarg_db`.`cg_tbl_business_settings`.`updated_at` FROM `thecarg_db`.`cg_tbl_business_settings` WHERE `thecarg_db`.`cg_tbl_business_settings`.`key` = ? LIMIT ? OFFSET ?
prisma:query SELECT `thecarg_db`.`cg_tbl_business_settings`.`id`, `thecarg_db`.`cg_tbl_business_settings`.`key`, `thecarg_db`.`cg_tbl_business_settings`.`value`, `thecarg_db`.`cg_tbl_business_settings`.`created_at`, `thecarg_db`.`cg_tbl_business_settings`.`updated_at` FROM `thecarg_db`.`cg_tbl_business_settings` WHERE `thecarg_db`.`cg_tbl_business_settings`.`key` = ? LIMIT ? OFFSET ?
prisma:query SELECT `thecarg_db`.`cg_tbl_business_settings`.`id`, `thecarg_db`.`cg_tbl_business_settings`.`key`, `thecarg_db`.`cg_tbl_business_settings`.`value`, `thecarg_db`.`cg_tbl_business_settings`.`created_at`, `thecarg_db`.`cg_tbl_business_settings`.`updated_at` FROM `thecarg_db`.`cg_tbl_business_settings` WHERE `thecarg_db`.`cg_tbl_business_settings`.`key` = ? LIMIT ? OFFSET ?
prisma:query SELECT `thecarg_db`.`cg_tbl_business_settings`.`id`, `thecarg_db`.`cg_tbl_business_settings`.`key`, `thecarg_db`.`cg_tbl_business_settings`.`value`, `thecarg_db`.`cg_tbl_business_settings`.`created_at`, `thecarg_db`.`cg_tbl_business_settings`.`updated_at` FROM `thecarg_db`.`cg_tbl_business_settings` WHERE `thecarg_db`.`cg_tbl_business_settings`.`key` = ? LIMIT ? OFFSET ?
prisma:query SELECT `thecarg_db`.`cg_tbl_business_settings`.`id`, `thecarg_db`.`cg_tbl_business_settings`.`key`, `thecarg_db`.`cg_tbl_business_settings`.`value`, `thecarg_db`.`cg_tbl_business_settings`.`created_at`, `thecarg_db`.`cg_tbl_business_settings`.`updated_at` FROM `thecarg_db`.`cg_tbl_business_settings` WHERE `thecarg_db`.`cg_tbl_business_settings`.`key` = ? LIMIT ? OFFSET ?
prisma:query SELECT `thecarg_db`.`cg_tbl_business_settings`.`id`, `thecarg_db`.`cg_tbl_business_settings`.`key`, `thecarg_db`.`cg_tbl_business_settings`.`value`, `thecarg_db`.`cg_tbl_business_settings`.`created_at`, `thecarg_db`.`cg_tbl_business_settings`.`updated_at` FROM `thecarg_db`.`cg_tbl_business_settings` WHERE `thecarg_db`.`cg_tbl_business_settings`.`key` = ? LIMIT ? OFFSET ?
prisma:query SELECT `thecarg_db`.`cg_tbl_business_settings`.`id`, `thecarg_db`.`cg_tbl_business_settings`.`key`, `thecarg_db`.`cg_tbl_business_settings`.`value`, `thecarg_db`.`cg_tbl_business_settings`.`created_at`, `thecarg_db`.`cg_tbl_business_settings`.`updated_at` FROM `thecarg_db`.`cg_tbl_business_settings` WHERE `thecarg_db`.`cg_tbl_business_settings`.`key` = ? LIMIT ? OFFSET ?
prisma:query SELECT `thecarg_db`.`cg_tbl_business_settings`.`id`, `thecarg_db`.`cg_tbl_business_settings`.`key`, `thecarg_db`.`cg_tbl_business_settings`.`value`, `thecarg_db`.`cg_tbl_business_settings`.`created_at`, `thecarg_db`.`cg_tbl_business_settings`.`updated_at` FROM `thecarg_db`.`cg_tbl_business_settings` WHERE `thecarg_db`.`cg_tbl_business_settings`.`key` = ? LIMIT ? OFFSET ?
prisma:query SELECT `thecarg_db`.`cg_tbl_business_settings`.`id`, `thecarg_db`.`cg_tbl_business_settings`.`key`, `thecarg_db`.`cg_tbl_business_settings`.`value`, `thecarg_db`.`cg_tbl_business_settings`.`created_at`, `thecarg_db`.`cg_tbl_business_settings`.`updated_at` FROM `thecarg_db`.`cg_tbl_business_settings` WHERE `thecarg_db`.`cg_tbl_business_settings`.`key` = ? LIMIT ? OFFSET ?
prisma:query SELECT `thecarg_db`.`cg_tbl_business_settings`.`id`, `thecarg_db`.`cg_tbl_business_settings`.`key`, `thecarg_db`.`cg_tbl_business_settings`.`value`, `thecarg_db`.`cg_tbl_business_settings`.`created_at`, `thecarg_db`.`cg_tbl_business_settings`.`updated_at` FROM `thecarg_db`.`cg_tbl_business_settings` WHERE `thecarg_db`.`cg_tbl_business_settings`.`key` = ? LIMIT ? OFFSET ?
prisma:query SELECT `thecarg_db`.`cg_tbl_business_settings`.`id`, `thecarg_db`.`cg_tbl_business_settings`.`key`, `thecarg_db`.`cg_tbl_business_settings`.`value`, `thecarg_db`.`cg_tbl_business_settings`.`created_at`, `thecarg_db`.`cg_tbl_business_settings`.`updated_at` FROM `thecarg_db`.`cg_tbl_business_settings` WHERE `thecarg_db`.`cg_tbl_business_settings`.`key` = ? LIMIT ? OFFSET ?
prisma:query SELECT `thecarg_db`.`cg_tbl_business_settings`.`id`, `thecarg_db`.`cg_tbl_business_settings`.`key`, `thecarg_db`.`cg_tbl_business_settings`.`value`, `thecarg_db`.`cg_tbl_business_settings`.`created_at`, `thecarg_db`.`cg_tbl_business_settings`.`updated_at` FROM `thecarg_db`.`cg_tbl_business_settings` WHERE `thecarg_db`.`cg_tbl_business_settings`.`key` = ? LIMIT ? OFFSET ?
prisma:query SELECT `thecarg_db`.`cg_tbl_business_settings`.`id`, `thecarg_db`.`cg_tbl_business_settings`.`key`, `thecarg_db`.`cg_tbl_business_settings`.`value`, `thecarg_db`.`cg_tbl_business_settings`.`created_at`, `thecarg_db`.`cg_tbl_business_settings`.`updated_at` FROM `thecarg_db`.`cg_tbl_business_settings` WHERE `thecarg_db`.`cg_tbl_business_settings`.`key` = ? LIMIT ? OFFSET ?
prisma:query SELECT `thecarg_db`.`cg_tbl_business_settings`.`id`, `thecarg_db`.`cg_tbl_business_settings`.`key`, `thecarg_db`.`cg_tbl_business_settings`.`value`, `thecarg_db`.`cg_tbl_business_settings`.`created_at`, `thecarg_db`.`cg_tbl_business_settings`.`updated_at` FROM `thecarg_db`.`cg_tbl_business_settings` WHERE `thecarg_db`.`cg_tbl_business_settings`.`key` = ? LIMIT ? OFFSET ?
prisma:query SELECT `thecarg_db`.`cg_tbl_business_settings`.`id`, `thecarg_db`.`cg_tbl_business_settings`.`key`, `thecarg_db`.`cg_tbl_business_settings`.`value`, `thecarg_db`.`cg_tbl_business_settings`.`created_at`, `thecarg_db`.`cg_tbl_business_settings`.`updated_at` FROM `thecarg_db`.`cg_tbl_business_settings` WHERE `thecarg_db`.`cg_tbl_business_settings`.`key` = ? LIMIT ? OFFSET ?
prisma:query SELECT `thecarg_db`.`cg_tbl_business_settings`.`id`, `thecarg_db`.`cg_tbl_business_settings`.`key`, `thecarg_db`.`cg_tbl_business_settings`.`value`, `thecarg_db`.`cg_tbl_business_settings`.`created_at`, `thecarg_db`.`cg_tbl_business_settings`.`updated_at` FROM `thecarg_db`.`cg_tbl_business_settings` WHERE `thecarg_db`.`cg_tbl_business_settings`.`key` = ? LIMIT ? OFFSET ?
prisma:query SELECT `thecarg_db`.`cg_tbl_business_settings`.`id`, `thecarg_db`.`cg_tbl_business_settings`.`key`, `thecarg_db`.`cg_tbl_business_settings`.`value`, `thecarg_db`.`cg_tbl_business_settings`.`created_at`, `thecarg_db`.`cg_tbl_business_settings`.`updated_at` FROM `thecarg_db`.`cg_tbl_business_settings` WHERE `thecarg_db`.`cg_tbl_business_settings`.`key` = ? LIMIT ? OFFSET ?
prisma:query SELECT `thecarg_db`.`cg_tbl_business_settings`.`id`, `thecarg_db`.`cg_tbl_business_settings`.`key`, `thecarg_db`.`cg_tbl_business_settings`.`value`, `thecarg_db`.`cg_tbl_business_settings`.`created_at`, `thecarg_db`.`cg_tbl_business_settings`.`updated_at` FROM `thecarg_db`.`cg_tbl_business_settings` WHERE `thecarg_db`.`cg_tbl_business_settings`.`key` = ? LIMIT ? OFFSET ?
prisma:query SELECT `thecarg_db`.`cg_tbl_business_settings`.`id`, `thecarg_db`.`cg_tbl_business_settings`.`key`, `thecarg_db`.`cg_tbl_business_settings`.`value`, `thecarg_db`.`cg_tbl_business_settings`.`created_at`, `thecarg_db`.`cg_tbl_business_settings`.`updated_at` FROM `thecarg_db`.`cg_tbl_business_settings` WHERE `thecarg_db`.`cg_tbl_business_settings`.`key` = ? LIMIT ? OFFSET ?
prisma:query SELECT `thecarg_db`.`cg_tbl_business_settings`.`id`, `thecarg_db`.`cg_tbl_business_settings`.`key`, `thecarg_db`.`cg_tbl_business_settings`.`value`, `thecarg_db`.`cg_tbl_business_settings`.`created_at`, `thecarg_db`.`cg_tbl_business_settings`.`updated_at` FROM `thecarg_db`.`cg_tbl_business_settings` WHERE `thecarg_db`.`cg_tbl_business_settings`.`key` = ? LIMIT ? OFFSET ?
prisma:query SELECT `thecarg_db`.`cg_tbl_business_settings`.`id`, `thecarg_db`.`cg_tbl_business_settings`.`key`, `thecarg_db`.`cg_tbl_business_settings`.`value`, `thecarg_db`.`cg_tbl_business_settings`.`created_at`, `thecarg_db`.`cg_tbl_business_settings`.`updated_at` FROM `thecarg_db`.`cg_tbl_business_settings` WHERE `thecarg_db`.`cg_tbl_business_settings`.`key` = ? LIMIT ? OFFSET ?
prisma:query SELECT `thecarg_db`.`cg_tbl_business_settings`.`id`, `thecarg_db`.`cg_tbl_business_settings`.`key`, `thecarg_db`.`cg_tbl_business_settings`.`value`, `thecarg_db`.`cg_tbl_business_settings`.`created_at`, `thecarg_db`.`cg_tbl_business_settings`.`updated_at` FROM `thecarg_db`.`cg_tbl_business_settings` WHERE `thecarg_db`.`cg_tbl_business_settings`.`key` = ? LIMIT ? OFFSET ?
prisma:query SELECT `thecarg_db`.`cg_tbl_business_settings`.`id`, `thecarg_db`.`cg_tbl_business_settings`.`key`, `thecarg_db`.`cg_tbl_business_settings`.`value`, `thecarg_db`.`cg_tbl_business_settings`.`created_at`, `thecarg_db`.`cg_tbl_business_settings`.`updated_at` FROM `thecarg_db`.`cg_tbl_business_settings` WHERE `thecarg_db`.`cg_tbl_business_settings`.`key` = ? LIMIT ? OFFSET ?
prisma:query SELECT `thecarg_db`.`cg_tbl_business_settings`.`id`, `thecarg_db`.`cg_tbl_business_settings`.`key`, `thecarg_db`.`cg_tbl_business_settings`.`value`, `thecarg_db`.`cg_tbl_business_settings`.`created_at`, `thecarg_db`.`cg_tbl_business_settings`.`updated_at` FROM `thecarg_db`.`cg_tbl_business_settings` WHERE `thecarg_db`.`cg_tbl_business_settings`.`key` = ? LIMIT ? OFFSET ?
prisma:query SELECT `thecarg_db`.`cg_tbl_business_settings`.`id`, `thecarg_db`.`cg_tbl_business_settings`.`key`, `thecarg_db`.`cg_tbl_business_settings`.`value`, `thecarg_db`.`cg_tbl_business_settings`.`created_at`, `thecarg_db`.`cg_tbl_business_settings`.`updated_at` FROM `thecarg_db`.`cg_tbl_business_settings` WHERE `thecarg_db`.`cg_tbl_business_settings`.`key` = ? LIMIT ? OFFSET ?
prisma:query SELECT `thecarg_db`.`cg_tbl_business_settings`.`id`, `thecarg_db`.`cg_tbl_business_settings`.`key`, `thecarg_db`.`cg_tbl_business_settings`.`value`, `thecarg_db`.`cg_tbl_business_settings`.`created_at`, `thecarg_db`.`cg_tbl_business_settings`.`updated_at` FROM `thecarg_db`.`cg_tbl_business_settings` WHERE `thecarg_db`.`cg_tbl_business_settings`.`key` = ? LIMIT ? OFFSET ?
prisma:query SELECT `thecarg_db`.`cg_tbl_business_settings`.`id`, `thecarg_db`.`cg_tbl_business_settings`.`key`, `thecarg_db`.`cg_tbl_business_settings`.`value`, `thecarg_db`.`cg_tbl_business_settings`.`created_at`, `thecarg_db`.`cg_tbl_business_settings`.`updated_at` FROM `thecarg_db`.`cg_tbl_business_settings` WHERE `thecarg_db`.`cg_tbl_business_settings`.`key` = ? LIMIT ? OFFSET ?
prisma:query SELECT `thecarg_db`.`cg_tbl_business_settings`.`id`, `thecarg_db`.`cg_tbl_business_settings`.`key`, `thecarg_db`.`cg_tbl_business_settings`.`value`, `thecarg_db`.`cg_tbl_business_settings`.`created_at`, `thecarg_db`.`cg_tbl_business_settings`.`updated_at` FROM `thecarg_db`.`cg_tbl_business_settings` WHERE `thecarg_db`.`cg_tbl_business_settings`.`key` = ? LIMIT ? OFFSET ?
prisma:query SELECT `thecarg_db`.`cg_tbl_business_settings`.`id`, `thecarg_db`.`cg_tbl_business_settings`.`key`, `thecarg_db`.`cg_tbl_business_settings`.`value`, `thecarg_db`.`cg_tbl_business_settings`.`created_at`, `thecarg_db`.`cg_tbl_business_settings`.`updated_at` FROM `thecarg_db`.`cg_tbl_business_settings` WHERE `thecarg_db`.`cg_tbl_business_settings`.`key` = ? LIMIT ? OFFSET ?
prisma:query SELECT `thecarg_db`.`cg_tbl_business_settings`.`id`, `thecarg_db`.`cg_tbl_business_settings`.`key`, `thecarg_db`.`cg_tbl_business_settings`.`value`, `thecarg_db`.`cg_tbl_business_settings`.`created_at`, `thecarg_db`.`cg_tbl_business_settings`.`updated_at` FROM `thecarg_db`.`cg_tbl_business_settings` WHERE `thecarg_db`.`cg_tbl_business_settings`.`key` = ? LIMIT ? OFFSET ?
prisma:query SELECT `thecarg_db`.`cg_tbl_business_settings`.`id`, `thecarg_db`.`cg_tbl_business_settings`.`key`, `thecarg_db`.`cg_tbl_business_settings`.`value`, `thecarg_db`.`cg_tbl_business_settings`.`created_at`, `thecarg_db`.`cg_tbl_business_settings`.`updated_at` FROM `thecarg_db`.`cg_tbl_business_settings` WHERE `thecarg_db`.`cg_tbl_business_settings`.`key` = ? LIMIT ? OFFSET ?
prisma:query SELECT `thecarg_db`.`cg_tbl_business_settings`.`id`, `thecarg_db`.`cg_tbl_business_settings`.`key`, `thecarg_db`.`cg_tbl_business_settings`.`value`, `thecarg_db`.`cg_tbl_business_settings`.`created_at`, `thecarg_db`.`cg_tbl_business_settings`.`updated_at` FROM `thecarg_db`.`cg_tbl_business_settings` WHERE `thecarg_db`.`cg_tbl_business_settings`.`key` = ? LIMIT ? OFFSET ?
prisma:query SELECT `thecarg_db`.`cg_tbl_business_settings`.`id`, `thecarg_db`.`cg_tbl_business_settings`.`key`, `thecarg_db`.`cg_tbl_business_settings`.`value`, `thecarg_db`.`cg_tbl_business_settings`.`created_at`, `thecarg_db`.`cg_tbl_business_settings`.`updated_at` FROM `thecarg_db`.`cg_tbl_business_settings` WHERE `thecarg_db`.`cg_tbl_business_settings`.`key` = ? LIMIT ? OFFSET ?
prisma:query SELECT `thecarg_db`.`cg_tbl_business_settings`.`id`, `thecarg_db`.`cg_tbl_business_settings`.`key`, `thecarg_db`.`cg_tbl_business_settings`.`value`, `thecarg_db`.`cg_tbl_business_settings`.`created_at`, `thecarg_db`.`cg_tbl_business_settings`.`updated_at` FROM `thecarg_db`.`cg_tbl_business_settings` WHERE `thecarg_db`.`cg_tbl_business_settings`.`key` = ? LIMIT ? OFFSET ?
prisma:query SELECT `thecarg_db`.`cg_tbl_business_settings`.`id`, `thecarg_db`.`cg_tbl_business_settings`.`key`, `thecarg_db`.`cg_tbl_business_settings`.`value`, `thecarg_db`.`cg_tbl_business_settings`.`created_at`, `thecarg_db`.`cg_tbl_business_settings`.`updated_at` FROM `thecarg_db`.`cg_tbl_business_settings` WHERE `thecarg_db`.`cg_tbl_business_settings`.`key` = ? LIMIT ? OFFSET ?
prisma:query SELECT `thecarg_db`.`cg_tbl_business_settings`.`id`, `thecarg_db`.`cg_tbl_business_settings`.`key`, `thecarg_db`.`cg_tbl_business_settings`.`value`, `thecarg_db`.`cg_tbl_business_settings`.`created_at`, `thecarg_db`.`cg_tbl_business_settings`.`updated_at` FROM `thecarg_db`.`cg_tbl_business_settings` WHERE `thecarg_db`.`cg_tbl_business_settings`.`key` = ? LIMIT ? OFFSET ?
prisma:query SELECT `thecarg_db`.`cg_tbl_business_settings`.`id`, `thecarg_db`.`cg_tbl_business_settings`.`key`, `thecarg_db`.`cg_tbl_business_settings`.`value`, `thecarg_db`.`cg_tbl_business_settings`.`created_at`, `thecarg_db`.`cg_tbl_business_settings`.`updated_at` FROM `thecarg_db`.`cg_tbl_business_settings` WHERE `thecarg_db`.`cg_tbl_business_settings`.`key` = ? LIMIT ? OFFSET ?
prisma:query SELECT `thecarg_db`.`cg_tbl_business_settings`.`id`, `thecarg_db`.`cg_tbl_business_settings`.`key`, `thecarg_db`.`cg_tbl_business_settings`.`value`, `thecarg_db`.`cg_tbl_business_settings`.`created_at`, `thecarg_db`.`cg_tbl_business_settings`.`updated_at` FROM `thecarg_db`.`cg_tbl_business_settings` WHERE `thecarg_db`.`cg_tbl_business_settings`.`key` = ? LIMIT ? OFFSET ?
prisma:query SELECT `thecarg_db`.`cg_tbl_business_settings`.`id`, `thecarg_db`.`cg_tbl_business_settings`.`key`, `thecarg_db`.`cg_tbl_business_settings`.`value`, `thecarg_db`.`cg_tbl_business_settings`.`created_at`, `thecarg_db`.`cg_tbl_business_settings`.`updated_at` FROM `thecarg_db`.`cg_tbl_business_settings` WHERE `thecarg_db`.`cg_tbl_business_settings`.`key` = ? LIMIT ? OFFSET ?
prisma:query SELECT `thecarg_db`.`cg_tbl_business_settings`.`id`, `thecarg_db`.`cg_tbl_business_settings`.`key`, `thecarg_db`.`cg_tbl_business_settings`.`value`, `thecarg_db`.`cg_tbl_business_settings`.`created_at`, `thecarg_db`.`cg_tbl_business_settings`.`updated_at` FROM `thecarg_db`.`cg_tbl_business_settings` WHERE `thecarg_db`.`cg_tbl_business_settings`.`key` = ? LIMIT ? OFFSET ?
prisma:query SELECT `thecarg_db`.`cg_tbl_business_settings`.`id`, `thecarg_db`.`cg_tbl_business_settings`.`key`, `thecarg_db`.`cg_tbl_business_settings`.`value`, `thecarg_db`.`cg_tbl_business_settings`.`created_at`, `thecarg_db`.`cg_tbl_business_settings`.`updated_at` FROM `thecarg_db`.`cg_tbl_business_settings` WHERE `thecarg_db`.`cg_tbl_business_settings`.`key` = ? LIMIT ? OFFSET ?
prisma:query SELECT `thecarg_db`.`cg_tbl_business_settings`.`id`, `thecarg_db`.`cg_tbl_business_settings`.`key`, `thecarg_db`.`cg_tbl_business_settings`.`value`, `thecarg_db`.`cg_tbl_business_settings`.`created_at`, `thecarg_db`.`cg_tbl_business_settings`.`updated_at` FROM `thecarg_db`.`cg_tbl_business_settings` WHERE `thecarg_db`.`cg_tbl_business_settings`.`key` = ? LIMIT ? OFFSET ?
prisma:query SELECT `thecarg_db`.`cg_tbl_business_settings`.`id`, `thecarg_db`.`cg_tbl_business_settings`.`key`, `thecarg_db`.`cg_tbl_business_settings`.`value`, `thecarg_db`.`cg_tbl_business_settings`.`created_at`, `thecarg_db`.`cg_tbl_business_settings`.`updated_at` FROM `thecarg_db`.`cg_tbl_business_settings` WHERE `thecarg_db`.`cg_tbl_business_settings`.`key` = ? LIMIT ? OFFSET ?
prisma:query SELECT `thecarg_db`.`cg_tbl_business_settings`.`id`, `thecarg_db`.`cg_tbl_business_settings`.`key`, `thecarg_db`.`cg_tbl_business_settings`.`value`, `thecarg_db`.`cg_tbl_business_settings`.`created_at`, `thecarg_db`.`cg_tbl_business_settings`.`updated_at` FROM `thecarg_db`.`cg_tbl_business_settings` WHERE `thecarg_db`.`cg_tbl_business_settings`.`key` = ? LIMIT ? OFFSET ?
prisma:query SELECT `thecarg_db`.`cg_tbl_business_settings`.`id`, `thecarg_db`.`cg_tbl_business_settings`.`key`, `thecarg_db`.`cg_tbl_business_settings`.`value`, `thecarg_db`.`cg_tbl_business_settings`.`created_at`, `thecarg_db`.`cg_tbl_business_settings`.`updated_at` FROM `thecarg_db`.`cg_tbl_business_settings` WHERE `thecarg_db`.`cg_tbl_business_settings`.`key` = ? LIMIT ? OFFSET ?
prisma:query SELECT `thecarg_db`.`cg_tbl_business_settings`.`id`, `thecarg_db`.`cg_tbl_business_settings`.`key`, `thecarg_db`.`cg_tbl_business_settings`.`value`, `thecarg_db`.`cg_tbl_business_settings`.`created_at`, `thecarg_db`.`cg_tbl_business_settings`.`updated_at` FROM `thecarg_db`.`cg_tbl_business_settings` WHERE `thecarg_db`.`cg_tbl_business_settings`.`key` = ? LIMIT ? OFFSET ?
prisma:query SELECT `thecarg_db`.`cg_tbl_business_settings`.`id`, `thecarg_db`.`cg_tbl_business_settings`.`key`, `thecarg_db`.`cg_tbl_business_settings`.`value`, `thecarg_db`.`cg_tbl_business_settings`.`created_at`, `thecarg_db`.`cg_tbl_business_settings`.`updated_at` FROM `thecarg_db`.`cg_tbl_business_settings` WHERE `thecarg_db`.`cg_tbl_business_settings`.`key` = ? LIMIT ? OFFSET ?
prisma:query SELECT `thecarg_db`.`cg_tbl_business_settings`.`id`, `thecarg_db`.`cg_tbl_business_settings`.`key`, `thecarg_db`.`cg_tbl_business_settings`.`value`, `thecarg_db`.`cg_tbl_business_settings`.`created_at`, `thecarg_db`.`cg_tbl_business_settings`.`updated_at` FROM `thecarg_db`.`cg_tbl_business_settings` WHERE `thecarg_db`.`cg_tbl_business_settings`.`key` = ? LIMIT ? OFFSET ?
prisma:query SELECT `thecarg_db`.`cg_tbl_business_settings`.`id`, `thecarg_db`.`cg_tbl_business_settings`.`key`, `thecarg_db`.`cg_tbl_business_settings`.`value`, `thecarg_db`.`cg_tbl_business_settings`.`created_at`, `thecarg_db`.`cg_tbl_business_settings`.`updated_at` FROM `thecarg_db`.`cg_tbl_business_settings` WHERE `thecarg_db`.`cg_tbl_business_settings`.`key` = ? LIMIT ? OFFSET ?
prisma:query SELECT `thecarg_db`.`cg_tbl_business_settings`.`id`, `thecarg_db`.`cg_tbl_business_settings`.`key`, `thecarg_db`.`cg_tbl_business_settings`.`value`, `thecarg_db`.`cg_tbl_business_settings`.`created_at`, `thecarg_db`.`cg_tbl_business_settings`.`updated_at` FROM `thecarg_db`.`cg_tbl_business_settings` WHERE `thecarg_db`.`cg_tbl_business_settings`.`key` = ? LIMIT ? OFFSET ?
prisma:query SELECT `thecarg_db`.`cg_tbl_business_settings`.`id`, `thecarg_db`.`cg_tbl_business_settings`.`key`, `thecarg_db`.`cg_tbl_business_settings`.`value`, `thecarg_db`.`cg_tbl_business_settings`.`created_at`, `thecarg_db`.`cg_tbl_business_settings`.`updated_at` FROM `thecarg_db`.`cg_tbl_business_settings` WHERE `thecarg_db`.`cg_tbl_business_settings`.`key` = ? LIMIT ? OFFSET ?
prisma:query SELECT `thecarg_db`.`cg_tbl_business_settings`.`id`, `thecarg_db`.`cg_tbl_business_settings`.`key`, `thecarg_db`.`cg_tbl_business_settings`.`value`, `thecarg_db`.`cg_tbl_business_settings`.`created_at`, `thecarg_db`.`cg_tbl_business_settings`.`updated_at` FROM `thecarg_db`.`cg_tbl_business_settings` WHERE `thecarg_db`.`cg_tbl_business_settings`.`key` = ? LIMIT ? OFFSET ?
prisma:query SELECT `thecarg_db`.`cg_tbl_business_settings`.`id`, `thecarg_db`.`cg_tbl_business_settings`.`key`, `thecarg_db`.`cg_tbl_business_settings`.`value`, `thecarg_db`.`cg_tbl_business_settings`.`created_at`, `thecarg_db`.`cg_tbl_business_settings`.`updated_at` FROM `thecarg_db`.`cg_tbl_business_settings` WHERE `thecarg_db`.`cg_tbl_business_settings`.`key` = ? LIMIT ? OFFSET ?
prisma:query SELECT `thecarg_db`.`cg_tbl_business_settings`.`id`, `thecarg_db`.`cg_tbl_business_settings`.`key`, `thecarg_db`.`cg_tbl_business_settings`.`value`, `thecarg_db`.`cg_tbl_business_settings`.`created_at`, `thecarg_db`.`cg_tbl_business_settings`.`updated_at` FROM `thecarg_db`.`cg_tbl_business_settings` WHERE `thecarg_db`.`cg_tbl_business_settings`.`key` = ? LIMIT ? OFFSET ?
prisma:query SELECT `thecarg_db`.`cg_tbl_business_settings`.`id`, `thecarg_db`.`cg_tbl_business_settings`.`key`, `thecarg_db`.`cg_tbl_business_settings`.`value`, `thecarg_db`.`cg_tbl_business_settings`.`created_at`, `thecarg_db`.`cg_tbl_business_settings`.`updated_at` FROM `thecarg_db`.`cg_tbl_business_settings` WHERE `thecarg_db`.`cg_tbl_business_settings`.`key` = ? LIMIT ? OFFSET ?
prisma:query SELECT `thecarg_db`.`cg_tbl_business_settings`.`id`, `thecarg_db`.`cg_tbl_business_settings`.`key`, `thecarg_db`.`cg_tbl_business_settings`.`value`, `thecarg_db`.`cg_tbl_business_settings`.`created_at`, `thecarg_db`.`cg_tbl_business_settings`.`updated_at` FROM `thecarg_db`.`cg_tbl_business_settings` WHERE `thecarg_db`.`cg_tbl_business_settings`.`key` = ? LIMIT ? OFFSET ?
prisma:query SELECT `thecarg_db`.`cg_tbl_business_settings`.`id`, `thecarg_db`.`cg_tbl_business_settings`.`key`, `thecarg_db`.`cg_tbl_business_settings`.`value`, `thecarg_db`.`cg_tbl_business_settings`.`created_at`, `thecarg_db`.`cg_tbl_business_settings`.`updated_at` FROM `thecarg_db`.`cg_tbl_business_settings` WHERE `thecarg_db`.`cg_tbl_business_settings`.`key` = ? LIMIT ? OFFSET ?
prisma:query SELECT `thecarg_db`.`cg_tbl_business_settings`.`id`, `thecarg_db`.`cg_tbl_business_settings`.`key`, `thecarg_db`.`cg_tbl_business_settings`.`value`, `thecarg_db`.`cg_tbl_business_settings`.`created_at`, `thecarg_db`.`cg_tbl_business_settings`.`updated_at` FROM `thecarg_db`.`cg_tbl_business_settings` WHERE `thecarg_db`.`cg_tbl_business_settings`.`key` = ? LIMIT ? OFFSET ?
prisma:query SELECT `thecarg_db`.`cg_tbl_business_settings`.`id`, `thecarg_db`.`cg_tbl_business_settings`.`key`, `thecarg_db`.`cg_tbl_business_settings`.`value`, `thecarg_db`.`cg_tbl_business_settings`.`created_at`, `thecarg_db`.`cg_tbl_business_settings`.`updated_at` FROM `thecarg_db`.`cg_tbl_business_settings` WHERE `thecarg_db`.`cg_tbl_business_settings`.`key` = ? LIMIT ? OFFSET ?
prisma:query SELECT `thecarg_db`.`cg_tbl_business_settings`.`id`, `thecarg_db`.`cg_tbl_business_settings`.`key`, `thecarg_db`.`cg_tbl_business_settings`.`value`, `thecarg_db`.`cg_tbl_business_settings`.`created_at`, `thecarg_db`.`cg_tbl_business_settings`.`updated_at` FROM `thecarg_db`.`cg_tbl_business_settings` WHERE `thecarg_db`.`cg_tbl_business_settings`.`key` = ? LIMIT ? OFFSET ?
[2026-06-24T11:31:31.083Z] [INFO]: TecDoc → getArticles | provider: 25791 | country: IN | url: https://webservice.tecalliance.services/pegasus-3-0/services/TecdocToCatDLB.jsonEndpoint
--------------------------------------------------

[2026-06-24T11:31:31.136Z] [INFO]: TecDoc → getArticles | provider: 25791 | country: IN | url: https://webservice.tecalliance.services/pegasus-3-0/services/TecdocToCatDLB.jsonEndpoint
--------------------------------------------------

[2026-06-24T11:31:31.141Z] [INFO]: TecDoc → getArticles | provider: 25791 | country: IN | url: https://webservice.tecalliance.services/pegasus-3-0/services/TecdocToCatDLB.jsonEndpoint
--------------------------------------------------

[2026-06-24T11:31:31.144Z] [INFO]: TecDoc → getArticles | provider: 25791 | country: IN | url: https://webservice.tecalliance.services/pegasus-3-0/services/TecdocToCatDLB.jsonEndpoint
--------------------------------------------------

[2026-06-24T11:31:31.148Z] [INFO]: TecDoc → getArticles | provider: 25791 | country: IN | url: https://webservice.tecalliance.services/pegasus-3-0/services/TecdocToCatDLB.jsonEndpoint
--------------------------------------------------

[2026-06-24T11:31:31.152Z] [INFO]: TecDoc → getArticles | provider: 25791 | country: IN | url: https://webservice.tecalliance.services/pegasus-3-0/services/TecdocToCatDLB.jsonEndpoint
--------------------------------------------------

[2026-06-24T11:31:31.157Z] [INFO]: TecDoc → getArticles | provider: 25791 | country: IN | url: https://webservice.tecalliance.services/pegasus-3-0/services/TecdocToCatDLB.jsonEndpoint
--------------------------------------------------

[2026-06-24T11:31:31.160Z] [INFO]: TecDoc → getArticles | provider: 25791 | country: IN | url: https://webservice.tecalliance.services/pegasus-3-0/services/TecdocToCatDLB.jsonEndpoint
--------------------------------------------------

[2026-06-24T11:31:31.165Z] [INFO]: TecDoc → getArticles | provider: 25791 | country: IN | url: https://webservice.tecalliance.services/pegasus-3-0/services/TecdocToCatDLB.jsonEndpoint
--------------------------------------------------

[2026-06-24T11:31:31.168Z] [INFO]: TecDoc → getArticles | provider: 25791 | country: IN | url: https://webservice.tecalliance.services/pegasus-3-0/services/TecdocToCatDLB.jsonEndpoint
--------------------------------------------------

[2026-06-24T11:31:31.173Z] [INFO]: TecDoc → getArticles | provider: 25791 | country: IN | url: https://webservice.tecalliance.services/pegasus-3-0/services/TecdocToCatDLB.jsonEndpoint
--------------------------------------------------

[2026-06-24T11:31:31.177Z] [INFO]: TecDoc → getArticles | provider: 25791 | country: IN | url: https://webservice.tecalliance.services/pegasus-3-0/services/TecdocToCatDLB.jsonEndpoint
--------------------------------------------------

[2026-06-24T11:31:31.180Z] [INFO]: TecDoc → getArticles | provider: 25791 | country: IN | url: https://webservice.tecalliance.services/pegasus-3-0/services/TecdocToCatDLB.jsonEndpoint
--------------------------------------------------

[2026-06-24T11:31:31.183Z] [INFO]: TecDoc → getArticles | provider: 25791 | country: IN | url: https://webservice.tecalliance.services/pegasus-3-0/services/TecdocToCatDLB.jsonEndpoint
--------------------------------------------------

[2026-06-24T11:31:31.185Z] [INFO]: TecDoc → getArticles | provider: 25791 | country: IN | url: https://webservice.tecalliance.services/pegasus-3-0/services/TecdocToCatDLB.jsonEndpoint
--------------------------------------------------

[2026-06-24T11:31:31.189Z] [INFO]: TecDoc → getArticles | provider: 25791 | country: IN | url: https://webservice.tecalliance.services/pegasus-3-0/services/TecdocToCatDLB.jsonEndpoint
--------------------------------------------------

[2026-06-24T11:31:31.192Z] [INFO]: TecDoc → getArticles | provider: 25791 | country: IN | url: https://webservice.tecalliance.services/pegasus-3-0/services/TecdocToCatDLB.jsonEndpoint
--------------------------------------------------

[2026-06-24T11:31:31.194Z] [INFO]: TecDoc → getArticles | provider: 25791 | country: IN | url: https://webservice.tecalliance.services/pegasus-3-0/services/TecdocToCatDLB.jsonEndpoint
--------------------------------------------------

prisma:query BEGIN
prisma:query BEGIN
prisma:query BEGIN
prisma:query BEGIN
prisma:query BEGIN
prisma:query BEGIN
prisma:query SELECT `thecarg_db`.`cg_tbl_products`.`id` FROM `thecarg_db`.`cg_tbl_products` WHERE (`thecarg_db`.`cg_tbl_products`.`id` = ? AND 1=1)
prisma:query SELECT `thecarg_db`.`cg_tbl_products`.`id` FROM `thecarg_db`.`cg_tbl_products` WHERE (`thecarg_db`.`cg_tbl_products`.`id` = ? AND 1=1)
prisma:query SELECT `thecarg_db`.`cg_tbl_products`.`id` FROM `thecarg_db`.`cg_tbl_products` WHERE (`thecarg_db`.`cg_tbl_products`.`id` = ? AND 1=1)
prisma:query SELECT `thecarg_db`.`cg_tbl_products`.`id` FROM `thecarg_db`.`cg_tbl_products` WHERE (`thecarg_db`.`cg_tbl_products`.`id` = ? AND 1=1)
prisma:query BEGIN
prisma:query BEGIN
prisma:query SELECT `thecarg_db`.`cg_tbl_products`.`id` FROM `thecarg_db`.`cg_tbl_products` WHERE (`thecarg_db`.`cg_tbl_products`.`id` = ? AND 1=1)
prisma:query SELECT `thecarg_db`.`cg_tbl_products`.`id` FROM `thecarg_db`.`cg_tbl_products` WHERE (`thecarg_db`.`cg_tbl_products`.`id` = ? AND 1=1)
prisma:query SELECT `thecarg_db`.`cg_tbl_products`.`id` FROM `thecarg_db`.`cg_tbl_products` WHERE (`thecarg_db`.`cg_tbl_products`.`id` = ? AND 1=1)
prisma:query SELECT `thecarg_db`.`cg_tbl_products`.`id` FROM `thecarg_db`.`cg_tbl_products` WHERE (`thecarg_db`.`cg_tbl_products`.`id` = ? AND 1=1)
prisma:query UPDATE `thecarg_db`.`cg_tbl_products` SET `generic_article_id` = ?, `updated_at` = ? WHERE (`thecarg_db`.`cg_tbl_products`.`id` IN (?) AND (`thecarg_db`.`cg_tbl_products`.`id` = ? AND 1=1))
prisma:query UPDATE `thecarg_db`.`cg_tbl_products` SET `generic_article_id` = ?, `updated_at` = ? WHERE (`thecarg_db`.`cg_tbl_products`.`id` IN (?) AND (`thecarg_db`.`cg_tbl_products`.`id` = ? AND 1=1))
prisma:query UPDATE `thecarg_db`.`cg_tbl_products` SET `generic_article_id` = ?, `updated_at` = ? WHERE (`thecarg_db`.`cg_tbl_products`.`id` IN (?) AND (`thecarg_db`.`cg_tbl_products`.`id` = ? AND 1=1))
prisma:query SELECT `thecarg_db`.`cg_tbl_products`.`id`, `thecarg_db`.`cg_tbl_products`.`techdoc_article_id`, `thecarg_db`.`cg_tbl_products`.`techdoc_brand_id`, `thecarg_db`.`cg_tbl_products`.`article_number`, `thecarg_db`.`cg_tbl_products`.`brand_name`, `thecarg_db`.`cg_tbl_products`.`status`, `thecarg_db`.`cg_tbl_products`.`created_at`, `thecarg_db`.`cg_tbl_products`.`updated_at`, `thecarg_db`.`cg_tbl_products`.`assembly_group_node_id`, `thecarg_db`.`cg_tbl_products`.`generic_article_id` FROM `thecarg_db`.`cg_tbl_products` WHERE `thecarg_db`.`cg_tbl_products`.`id` = ? LIMIT ? OFFSET ?
prisma:query UPDATE `thecarg_db`.`cg_tbl_products` SET `generic_article_id` = ?, `updated_at` = ? WHERE (`thecarg_db`.`cg_tbl_products`.`id` IN (?) AND (`thecarg_db`.`cg_tbl_products`.`id` = ? AND 1=1))
prisma:query SELECT `thecarg_db`.`cg_tbl_products`.`id`, `thecarg_db`.`cg_tbl_products`.`techdoc_article_id`, `thecarg_db`.`cg_tbl_products`.`techdoc_brand_id`, `thecarg_db`.`cg_tbl_products`.`article_number`, `thecarg_db`.`cg_tbl_products`.`brand_name`, `thecarg_db`.`cg_tbl_products`.`status`, `thecarg_db`.`cg_tbl_products`.`created_at`, `thecarg_db`.`cg_tbl_products`.`updated_at`, `thecarg_db`.`cg_tbl_products`.`assembly_group_node_id`, `thecarg_db`.`cg_tbl_products`.`generic_article_id` FROM `thecarg_db`.`cg_tbl_products` WHERE `thecarg_db`.`cg_tbl_products`.`id` = ? LIMIT ? OFFSET ?
prisma:query COMMIT
prisma:query COMMIT
prisma:query SELECT `thecarg_db`.`cg_tbl_products`.`id`, `thecarg_db`.`cg_tbl_products`.`techdoc_article_id`, `thecarg_db`.`cg_tbl_products`.`techdoc_brand_id`, `thecarg_db`.`cg_tbl_products`.`article_number`, `thecarg_db`.`cg_tbl_products`.`brand_name`, `thecarg_db`.`cg_tbl_products`.`status`, `thecarg_db`.`cg_tbl_products`.`created_at`, `thecarg_db`.`cg_tbl_products`.`updated_at`, `thecarg_db`.`cg_tbl_products`.`assembly_group_node_id`, `thecarg_db`.`cg_tbl_products`.`generic_article_id` FROM `thecarg_db`.`cg_tbl_products` WHERE `thecarg_db`.`cg_tbl_products`.`id` = ? LIMIT ? OFFSET ?
prisma:query SELECT `thecarg_db`.`cg_tbl_products`.`id`, `thecarg_db`.`cg_tbl_products`.`techdoc_article_id`, `thecarg_db`.`cg_tbl_products`.`techdoc_brand_id`, `thecarg_db`.`cg_tbl_products`.`article_number`, `thecarg_db`.`cg_tbl_products`.`brand_name`, `thecarg_db`.`cg_tbl_products`.`status`, `thecarg_db`.`cg_tbl_products`.`created_at`, `thecarg_db`.`cg_tbl_products`.`updated_at`, `thecarg_db`.`cg_tbl_products`.`assembly_group_node_id`, `thecarg_db`.`cg_tbl_products`.`generic_article_id` FROM `thecarg_db`.`cg_tbl_products` WHERE `thecarg_db`.`cg_tbl_products`.`id` = ? LIMIT ? OFFSET ?
prisma:query UPDATE `thecarg_db`.`cg_tbl_products` SET `generic_article_id` = ?, `updated_at` = ? WHERE (`thecarg_db`.`cg_tbl_products`.`id` IN (?) AND (`thecarg_db`.`cg_tbl_products`.`id` = ? AND 1=1))
prisma:query UPDATE `thecarg_db`.`cg_tbl_products` SET `generic_article_id` = ?, `assembly_group_node_id` = ?, `updated_at` = ? WHERE (`thecarg_db`.`cg_tbl_products`.`id` IN (?) AND (`thecarg_db`.`cg_tbl_products`.`id` = ? AND 1=1))
prisma:query UPDATE `thecarg_db`.`cg_tbl_products` SET `generic_article_id` = ?, `updated_at` = ? WHERE (`thecarg_db`.`cg_tbl_products`.`id` IN (?) AND (`thecarg_db`.`cg_tbl_products`.`id` = ? AND 1=1))
prisma:query SELECT `thecarg_db`.`cg_tbl_products`.`id`, `thecarg_db`.`cg_tbl_products`.`techdoc_article_id`, `thecarg_db`.`cg_tbl_products`.`techdoc_brand_id`, `thecarg_db`.`cg_tbl_products`.`article_number`, `thecarg_db`.`cg_tbl_products`.`brand_name`, `thecarg_db`.`cg_tbl_products`.`status`, `thecarg_db`.`cg_tbl_products`.`created_at`, `thecarg_db`.`cg_tbl_products`.`updated_at`, `thecarg_db`.`cg_tbl_products`.`assembly_group_node_id`, `thecarg_db`.`cg_tbl_products`.`generic_article_id` FROM `thecarg_db`.`cg_tbl_products` WHERE `thecarg_db`.`cg_tbl_products`.`id` = ? LIMIT ? OFFSET ?
prisma:query SELECT `thecarg_db`.`cg_tbl_products`.`id`, `thecarg_db`.`cg_tbl_products`.`techdoc_article_id`, `thecarg_db`.`cg_tbl_products`.`techdoc_brand_id`, `thecarg_db`.`cg_tbl_products`.`article_number`, `thecarg_db`.`cg_tbl_products`.`brand_name`, `thecarg_db`.`cg_tbl_products`.`status`, `thecarg_db`.`cg_tbl_products`.`created_at`, `thecarg_db`.`cg_tbl_products`.`updated_at`, `thecarg_db`.`cg_tbl_products`.`assembly_group_node_id`, `thecarg_db`.`cg_tbl_products`.`generic_article_id` FROM `thecarg_db`.`cg_tbl_products` WHERE `thecarg_db`.`cg_tbl_products`.`id` = ? LIMIT ? OFFSET ?
prisma:query SELECT `thecarg_db`.`cg_tbl_products`.`id`, `thecarg_db`.`cg_tbl_products`.`techdoc_article_id`, `thecarg_db`.`cg_tbl_products`.`techdoc_brand_id`, `thecarg_db`.`cg_tbl_products`.`article_number`, `thecarg_db`.`cg_tbl_products`.`brand_name`, `thecarg_db`.`cg_tbl_products`.`status`, `thecarg_db`.`cg_tbl_products`.`created_at`, `thecarg_db`.`cg_tbl_products`.`updated_at`, `thecarg_db`.`cg_tbl_products`.`assembly_group_node_id`, `thecarg_db`.`cg_tbl_products`.`generic_article_id` FROM `thecarg_db`.`cg_tbl_products` WHERE `thecarg_db`.`cg_tbl_products`.`id` = ? LIMIT ? OFFSET ?
prisma:query COMMIT
prisma:query UPDATE `thecarg_db`.`cg_tbl_products` SET `generic_article_id` = ?, `updated_at` = ? WHERE (`thecarg_db`.`cg_tbl_products`.`id` IN (?) AND (`thecarg_db`.`cg_tbl_products`.`id` = ? AND 1=1))
prisma:query SELECT `thecarg_db`.`cg_tbl_products`.`id`, `thecarg_db`.`cg_tbl_products`.`techdoc_article_id`, `thecarg_db`.`cg_tbl_products`.`techdoc_brand_id`, `thecarg_db`.`cg_tbl_products`.`article_number`, `thecarg_db`.`cg_tbl_products`.`brand_name`, `thecarg_db`.`cg_tbl_products`.`status`, `thecarg_db`.`cg_tbl_products`.`created_at`, `thecarg_db`.`cg_tbl_products`.`updated_at`, `thecarg_db`.`cg_tbl_products`.`assembly_group_node_id`, `thecarg_db`.`cg_tbl_products`.`generic_article_id` FROM `thecarg_db`.`cg_tbl_products` WHERE `thecarg_db`.`cg_tbl_products`.`id` = ? LIMIT ? OFFSET ?
prisma:query COMMIT
prisma:query COMMIT
prisma:query COMMIT
prisma:query COMMIT
prisma:query COMMIT
[2026-06-24T11:31:31.895Z] [INFO]: Synced TecDoc fields for 8 product(s)
--------------------------------------------------

prisma:query SELECT `thecarg_db`.`cg_tbl_products`.`id`, `thecarg_db`.`cg_tbl_products`.`techdoc_article_id` FROM `thecarg_db`.`cg_tbl_products` WHERE (`thecarg_db`.`cg_tbl_products`.`techdoc_article_id` IN (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?) AND `thecarg_db`.`cg_tbl_products`.`status` = ? AND `thecarg_db`.`cg_tbl_products`.`id` IN (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?))
prisma:query SELECT `thecarg_db`.`cg_tbl_seller_products`.`id`, `thecarg_db`.`cg_tbl_seller_products`.`product_id`, `thecarg_db`.`cg_tbl_seller_products`.`customer_selling_price`, `thecarg_db`.`cg_tbl_seller_products`.`garage_selling_price`, `thecarg_db`.`cg_tbl_seller_products`.`mrp`, `thecarg_db`.`cg_tbl_seller_products`.`customer_discount_type`, `thecarg_db`.`cg_tbl_seller_products`.`customer_discount`, `thecarg_db`.`cg_tbl_seller_products`.`garage_discount_type`, `thecarg_db`.`cg_tbl_seller_products`.`garage_discount`, `thecarg_db`.`cg_tbl_seller_products`.`is_in_stock`, `thecarg_db`.`cg_tbl_seller_products`.`is_returnable`, `thecarg_db`.`cg_tbl_seller_products`.`return_days`, `thecarg_db`.`cg_tbl_seller_products`.`warranty_enabled`, `thecarg_db`.`cg_tbl_seller_products`.`warranty_duration`, `thecarg_db`.`cg_tbl_seller_products`.`warranty_duration_type`, `thecarg_db`.`cg_tbl_seller_products`.`warranty_document`, `thecarg_db`.`cg_tbl_seller_products`.`tax`, `thecarg_db`.`cg_tbl_seller_products`.`seller_id` FROM `thecarg_db`.`cg_tbl_seller_products` LEFT JOIN `thecarg_db`.`cg_tbl_sellers` AS `j1` ON (`j1`.`id`) = (`thecarg_db`.`cg_tbl_seller_products`.`seller_id`) WHERE (`thecarg_db`.`cg_tbl_seller_products`.`product_id` IN (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?) AND `thecarg_db`.`cg_tbl_seller_products`.`status` = ? AND (`j1`.`status` = ? AND (`j1`.`id` IS NOT NULL))) ORDER BY `thecarg_db`.`cg_tbl_seller_products`.`garage_selling_price` ASC
prisma:query SELECT `thecarg_db`.`cg_tbl_sellers`.`id`, `thecarg_db`.`cg_tbl_sellers`.`seller_id`, `thecarg_db`.`cg_tbl_sellers`.`first_name`, `thecarg_db`.`cg_tbl_sellers`.`last_name`, `thecarg_db`.`cg_tbl_sellers`.`trade_name`, `thecarg_db`.`cg_tbl_sellers`.`city`, `thecarg_db`.`cg_tbl_sellers`.`state`, `thecarg_db`.`cg_tbl_sellers`.`email`, `thecarg_db`.`cg_tbl_sellers`.`mobile`, `thecarg_db`.`cg_tbl_sellers`.`address`, `thecarg_db`.`cg_tbl_sellers`.`pincode`, `thecarg_db`.`cg_tbl_sellers`.`status`, `thecarg_db`.`cg_tbl_sellers`.`operating_hours`, `thecarg_db`.`cg_tbl_sellers`.`zone`, `thecarg_db`.`cg_tbl_sellers`.`latitude`, `thecarg_db`.`cg_tbl_sellers`.`longitude` FROM `thecarg_db`.`cg_tbl_sellers` WHERE `thecarg_db`.`cg_tbl_sellers`.`id` IN (?)
prisma:query SELECT `thecarg_db`.`cg_tbl_zones`.`id`, `thecarg_db`.`cg_tbl_zones`.`zone_name` FROM `thecarg_db`.`cg_tbl_zones` WHERE 1=1
prisma:query SELECT `thecarg_db`.`cg_tbl_business_settings`.`id`, `thecarg_db`.`cg_tbl_business_settings`.`key`, `thecarg_db`.`cg_tbl_business_settings`.`value`, `thecarg_db`.`cg_tbl_business_settings`.`created_at`, `thecarg_db`.`cg_tbl_business_settings`.`updated_at` FROM `thecarg_db`.`cg_tbl_business_settings` WHERE (`thecarg_db`.`cg_tbl_business_settings`.`key` = ? AND 1=1) LIMIT ? OFFSET ?
prisma:query SELECT `thecarg_db`.`cg_tbl_business_settings`.`id`, `thecarg_db`.`cg_tbl_business_settings`.`key`, `thecarg_db`.`cg_tbl_business_settings`.`value`, `thecarg_db`.`cg_tbl_business_settings`.`created_at`, `thecarg_db`.`cg_tbl_business_settings`.`updated_at` FROM `thecarg_db`.`cg_tbl_business_settings` WHERE (`thecarg_db`.`cg_tbl_business_settings`.`key` = ? AND 1=1) LIMIT ? OFFSET ?
prisma:query BEGIN
prisma:query SELECT `thecarg_db`.`cg_tbl_customers`.`id` FROM `thecarg_db`.`cg_tbl_customers` WHERE (`thecarg_db`.`cg_tbl_customers`.`id` = ? AND 1=1)
prisma:query UPDATE `thecarg_db`.`cg_tbl_customers` SET `fcm_token` = ?, `updated_at` = ? WHERE (`thecarg_db`.`cg_tbl_customers`.`id` IN (?) AND (`thecarg_db`.`cg_tbl_customers`.`id` = ? AND 1=1))
prisma:query SELECT `thecarg_db`.`cg_tbl_business_settings`.`id`, `thecarg_db`.`cg_tbl_business_settings`.`key`, `thecarg_db`.`cg_tbl_business_settings`.`value`, `thecarg_db`.`cg_tbl_business_settings`.`created_at`, `thecarg_db`.`cg_tbl_business_settings`.`updated_at` FROM `thecarg_db`.`cg_tbl_business_settings` WHERE `thecarg_db`.`cg_tbl_business_settings`.`key` IN (?,?,?,?)
prisma:query SELECT `thecarg_db`.`cg_tbl_customers`.`id`, `thecarg_db`.`cg_tbl_customers`.`full_name`, `thecarg_db`.`cg_tbl_customers`.`mobile`, `thecarg_db`.`cg_tbl_customers`.`email`, `thecarg_db`.`cg_tbl_customers`.`profile_photo_file`, `thecarg_db`.`cg_tbl_customers`.`status`, `thecarg_db`.`cg_tbl_customers`.`created_at`, `thecarg_db`.`cg_tbl_customers`.`updated_at`, `thecarg_db`.`cg_tbl_customers`.`date_of_birth`, `thecarg_db`.`cg_tbl_customers`.`fcm_token`, `thecarg_db`.`cg_tbl_customers`.`marriage_date`, `thecarg_db`.`cg_tbl_customers`.`ref_code`, `thecarg_db`.`cg_tbl_customers`.`referred_by` FROM `thecarg_db`.`cg_tbl_customers` WHERE `thecarg_db`.`cg_tbl_customers`.`id` = ? LIMIT ? OFFSET ?
prisma:query SELECT `thecarg_db`.`cg_tbl_customers`.`id`, `thecarg_db`.`cg_tbl_customers`.`full_name`, `thecarg_db`.`cg_tbl_customers`.`mobile`, `thecarg_db`.`cg_tbl_customers`.`email`, `thecarg_db`.`cg_tbl_customers`.`profile_photo_file`, `thecarg_db`.`cg_tbl_customers`.`status`, `thecarg_db`.`cg_tbl_customers`.`created_at`, `thecarg_db`.`cg_tbl_customers`.`updated_at`, `thecarg_db`.`cg_tbl_customers`.`date_of_birth`, `thecarg_db`.`cg_tbl_customers`.`fcm_token`, `thecarg_db`.`cg_tbl_customers`.`marriage_date`, `thecarg_db`.`cg_tbl_customers`.`ref_code`, `thecarg_db`.`cg_tbl_customers`.`referred_by` FROM `thecarg_db`.`cg_tbl_customers` WHERE (`thecarg_db`.`cg_tbl_customers`.`id` = ? AND 1=1) LIMIT ? OFFSET ?
prisma:query COMMIT
prisma:query SELECT `thecarg_db`.`cg_tbl_user_roles`.`id`, `thecarg_db`.`cg_tbl_user_roles`.`role_name`, `thecarg_db`.`cg_tbl_user_roles`.`role_slug`, `thecarg_db`.`cg_tbl_user_roles`.`status`, `thecarg_db`.`cg_tbl_user_roles`.`created_at`, `thecarg_db`.`cg_tbl_user_roles`.`updated_at` FROM `thecarg_db`.`cg_tbl_user_roles` WHERE `thecarg_db`.`cg_tbl_user_roles`.`role_slug` = ? LIMIT ? OFFSET ?
prisma:query SELECT `thecarg_db`.`cg_tbl_user_roles`.`id`, `thecarg_db`.`cg_tbl_user_roles`.`role_name`, `thecarg_db`.`cg_tbl_user_roles`.`role_slug`, `thecarg_db`.`cg_tbl_user_roles`.`status`, `thecarg_db`.`cg_tbl_user_roles`.`created_at`, `thecarg_db`.`cg_tbl_user_roles`.`updated_at` FROM `thecarg_db`.`cg_tbl_user_roles` WHERE `thecarg_db`.`cg_tbl_user_roles`.`role_slug` = ? LIMIT ? OFFSET ?
prisma:query SELECT `thecarg_db`.`cg_tbl_vehicle_classes`.`id`, `thecarg_db`.`cg_tbl_vehicle_classes`.`name`, `thecarg_db`.`cg_tbl_vehicle_classes`.`slug` FROM `thecarg_db`.`cg_tbl_vehicle_classes` WHERE `thecarg_db`.`cg_tbl_vehicle_classes`.`status` = ? ORDER BY `thecarg_db`.`cg_tbl_vehicle_classes`.`name` ASC
prisma:query SELECT `thecarg_db`.`cg_tbl_gig_reasons`.`id`, `thecarg_db`.`cg_tbl_gig_reasons`.`reason` FROM `thecarg_db`.`cg_tbl_gig_reasons` WHERE `thecarg_db`.`cg_tbl_gig_reasons`.`status` = ? ORDER BY `thecarg_db`.`cg_tbl_gig_reasons`.`id` ASC
prisma:query SELECT `thecarg_db`.`cg_tbl_vehicle_fuel_types`.`id`, `thecarg_db`.`cg_tbl_vehicle_fuel_types`.`name`, `thecarg_db`.`cg_tbl_vehicle_fuel_types`.`slug` FROM `thecarg_db`.`cg_tbl_vehicle_fuel_types` WHERE `thecarg_db`.`cg_tbl_vehicle_fuel_types`.`status` = ? ORDER BY `thecarg_db`.`cg_tbl_vehicle_fuel_types`.`name` ASC
prisma:query SELECT `thecarg_db`.`cg_tbl_coupons`.`id`, `thecarg_db`.`cg_tbl_coupons`.`coupon_code`, `thecarg_db`.`cg_tbl_coupons`.`title`, `thecarg_db`.`cg_tbl_coupons`.`coupon_type`, `thecarg_db`.`cg_tbl_coupons`.`applicable_user_type`, `thecarg_db`.`cg_tbl_coupons`.`user_eligibility`, `thecarg_db`.`cg_tbl_coupons`.`discount_value`, `thecarg_db`.`cg_tbl_coupons`.`max_discount`, `thecarg_db`.`cg_tbl_coupons`.`min_order_value`, `thecarg_db`.`cg_tbl_coupons`.`valid_from`, `thecarg_db`.`cg_tbl_coupons`.`valid_to`, `thecarg_db`.`cg_tbl_coupons`.`total_usage_limit`, `thecarg_db`.`cg_tbl_coupons`.`total_uses`, `thecarg_db`.`cg_tbl_coupons`.`usage_per_user`, `thecarg_db`.`cg_tbl_coupons`.`category_restrictions`, `thecarg_db`.`cg_tbl_coupons`.`allow_stacking`, `thecarg_db`.`cg_tbl_coupons`.`module_type`, `thecarg_db`.`cg_tbl_coupons`.`zone_ids`, `thecarg_db`.`cg_tbl_coupons`.`vendor_id`, `thecarg_db`.`cg_tbl_coupons`.`created_at` FROM `thecarg_db`.`cg_tbl_coupons` WHERE (`thecarg_db`.`cg_tbl_coupons`.`status` = ? AND `thecarg_db`.`cg_tbl_coupons`.`applicable_user_type` IN (?,?) AND (`thecarg_db`.`cg_tbl_coupons`.`valid_from` IS NULL OR `thecarg_db`.`cg_tbl_coupons`.`valid_from` <= ?) AND (`thecarg_db`.`cg_tbl_coupons`.`valid_to` IS NULL OR `thecarg_db`.`cg_tbl_coupons`.`valid_to` >= ?)) ORDER BY `thecarg_db`.`cg_tbl_coupons`.`created_at` DESC
prisma:query SELECT `thecarg_db`.`cg_tbl_vehicle_fuel_types`.`id`, `thecarg_db`.`cg_tbl_vehicle_fuel_types`.`name`, `thecarg_db`.`cg_tbl_vehicle_fuel_types`.`slug` FROM `thecarg_db`.`cg_tbl_vehicle_fuel_types` WHERE `thecarg_db`.`cg_tbl_vehicle_fuel_types`.`status` = ? ORDER BY `thecarg_db`.`cg_tbl_vehicle_fuel_types`.`name` ASC
prisma:query SELECT `thecarg_db`.`cg_tbl_vehicle_classes`.`id`, `thecarg_db`.`cg_tbl_vehicle_classes`.`name`, `thecarg_db`.`cg_tbl_vehicle_classes`.`slug` FROM `thecarg_db`.`cg_tbl_vehicle_classes` WHERE `thecarg_db`.`cg_tbl_vehicle_classes`.`status` = ? ORDER BY `thecarg_db`.`cg_tbl_vehicle_classes`.`name` ASC
prisma:query SELECT `thecarg_db`.`cg_tbl_business_settings`.`id`, `thecarg_db`.`cg_tbl_business_settings`.`key`, `thecarg_db`.`cg_tbl_business_settings`.`value`, `thecarg_db`.`cg_tbl_business_settings`.`created_at`, `thecarg_db`.`cg_tbl_business_settings`.`updated_at` FROM `thecarg_db`.`cg_tbl_business_settings` WHERE `thecarg_db`.`cg_tbl_business_settings`.`key` IN (?,?,?,?)
prisma:query SELECT `thecarg_db`.`cg_tbl_gig_reasons`.`id`, `thecarg_db`.`cg_tbl_gig_reasons`.`reason` FROM `thecarg_db`.`cg_tbl_gig_reasons` WHERE `thecarg_db`.`cg_tbl_gig_reasons`.`status` = ? ORDER BY `thecarg_db`.`cg_tbl_gig_reasons`.`id` ASC
prisma:query SELECT `thecarg_db`.`cg_tbl_customers`.`id`, `thecarg_db`.`cg_tbl_customers`.`full_name`, `thecarg_db`.`cg_tbl_customers`.`mobile`, `thecarg_db`.`cg_tbl_customers`.`email`, `thecarg_db`.`cg_tbl_customers`.`profile_photo_file`, `thecarg_db`.`cg_tbl_customers`.`status`, `thecarg_db`.`cg_tbl_customers`.`created_at`, `thecarg_db`.`cg_tbl_customers`.`updated_at`, `thecarg_db`.`cg_tbl_customers`.`date_of_birth`, `thecarg_db`.`cg_tbl_customers`.`fcm_token`, `thecarg_db`.`cg_tbl_customers`.`marriage_date`, `thecarg_db`.`cg_tbl_customers`.`ref_code`, `thecarg_db`.`cg_tbl_customers`.`referred_by` FROM `thecarg_db`.`cg_tbl_customers` WHERE (`thecarg_db`.`cg_tbl_customers`.`id` = ? AND 1=1) LIMIT ? OFFSET ?
prisma:query SELECT `thecarg_db`.`cg_tbl_customers`.`id`, `thecarg_db`.`cg_tbl_customers`.`full_name`, `thecarg_db`.`cg_tbl_customers`.`mobile`, `thecarg_db`.`cg_tbl_customers`.`email`, `thecarg_db`.`cg_tbl_customers`.`profile_photo_file`, `thecarg_db`.`cg_tbl_customers`.`status`, `thecarg_db`.`cg_tbl_customers`.`created_at`, `thecarg_db`.`cg_tbl_customers`.`updated_at`, `thecarg_db`.`cg_tbl_customers`.`date_of_birth`, `thecarg_db`.`cg_tbl_customers`.`fcm_token`, `thecarg_db`.`cg_tbl_customers`.`marriage_date`, `thecarg_db`.`cg_tbl_customers`.`ref_code`, `thecarg_db`.`cg_tbl_customers`.`referred_by` FROM `thecarg_db`.`cg_tbl_customers` WHERE (`thecarg_db`.`cg_tbl_customers`.`id` = ? AND 1=1) LIMIT ? OFFSET ?
prisma:query SELECT `thecarg_db`.`cg_tbl_customers`.`id`, `thecarg_db`.`cg_tbl_customers`.`full_name`, `thecarg_db`.`cg_tbl_customers`.`mobile`, `thecarg_db`.`cg_tbl_customers`.`email`, `thecarg_db`.`cg_tbl_customers`.`profile_photo_file`, `thecarg_db`.`cg_tbl_customers`.`status`, `thecarg_db`.`cg_tbl_customers`.`created_at`, `thecarg_db`.`cg_tbl_customers`.`updated_at`, `thecarg_db`.`cg_tbl_customers`.`date_of_birth`, `thecarg_db`.`cg_tbl_customers`.`fcm_token`, `thecarg_db`.`cg_tbl_customers`.`marriage_date`, `thecarg_db`.`cg_tbl_customers`.`ref_code`, `thecarg_db`.`cg_tbl_customers`.`referred_by` FROM `thecarg_db`.`cg_tbl_customers` WHERE `thecarg_db`.`cg_tbl_customers`.`id` = ? LIMIT ? OFFSET ?
prisma:query SELECT `thecarg_db`.`cg_tbl_business_settings`.`id`, `thecarg_db`.`cg_tbl_business_settings`.`key`, `thecarg_db`.`cg_tbl_business_settings`.`value`, `thecarg_db`.`cg_tbl_business_settings`.`created_at`, `thecarg_db`.`cg_tbl_business_settings`.`updated_at` FROM `thecarg_db`.`cg_tbl_business_settings` WHERE (`thecarg_db`.`cg_tbl_business_settings`.`key` = ? AND 1=1) LIMIT ? OFFSET ?
prisma:query SELECT `thecarg_db`.`cg_tbl_user_roles`.`id`, `thecarg_db`.`cg_tbl_user_roles`.`role_name`, `thecarg_db`.`cg_tbl_user_roles`.`role_slug`, `thecarg_db`.`cg_tbl_user_roles`.`status`, `thecarg_db`.`cg_tbl_user_roles`.`created_at`, `thecarg_db`.`cg_tbl_user_roles`.`updated_at` FROM `thecarg_db`.`cg_tbl_user_roles` WHERE `thecarg_db`.`cg_tbl_user_roles`.`role_slug` = ? LIMIT ? OFFSET ?
prisma:query SELECT `thecarg_db`.`cg_tbl_categories`.`id`, `thecarg_db`.`cg_tbl_categories`.`category_name` FROM `thecarg_db`.`cg_tbl_categories` WHERE `thecarg_db`.`cg_tbl_categories`.`id` IN (?,?,?,?,?,?)
prisma:query SELECT COUNT(*) FROM (SELECT `thecarg_db`.`cg_table_tutorials`.`id` FROM `thecarg_db`.`cg_table_tutorials` WHERE (`thecarg_db`.`cg_table_tutorials`.`role_id` = ? AND `thecarg_db`.`cg_table_tutorials`.`status` = ?)) AS `sub`
prisma:query SELECT `thecarg_db`.`cg_table_tutorials`.`id`, `thecarg_db`.`cg_table_tutorials`.`role_id`, `thecarg_db`.`cg_table_tutorials`.`youtube_url`, `thecarg_db`.`cg_table_tutorials`.`status`, `thecarg_db`.`cg_table_tutorials`.`created_at`, `thecarg_db`.`cg_table_tutorials`.`created_by`, `thecarg_db`.`cg_table_tutorials`.`updated_at` FROM `thecarg_db`.`cg_table_tutorials` WHERE (`thecarg_db`.`cg_table_tutorials`.`role_id` = ? AND `thecarg_db`.`cg_table_tutorials`.`status` = ?) ORDER BY `thecarg_db`.`cg_table_tutorials`.`created_at` DESC LIMIT ? OFFSET ?
prisma:query SELECT COUNT(*) FROM (SELECT `thecarg_db`.`cg_tbl_user_notifications`.`id` FROM `thecarg_db`.`cg_tbl_user_notifications` WHERE (`thecarg_db`.`cg_tbl_user_notifications`.`user_id` = ? AND `thecarg_db`.`cg_tbl_user_notifications`.`user_role_id` = ? AND `thecarg_db`.`cg_tbl_user_notifications`.`platform` = ?)) AS `sub`
prisma:query SELECT `thecarg_db`.`cg_tbl_user_notifications`.`id`, `thecarg_db`.`cg_tbl_user_notifications`.`user_id`, `thecarg_db`.`cg_tbl_user_notifications`.`user_role_id`, `thecarg_db`.`cg_tbl_user_notifications`.`data`, `thecarg_db`.`cg_tbl_user_notifications`.`platform`, `thecarg_db`.`cg_tbl_user_notifications`.`is_read`, `thecarg_db`.`cg_tbl_user_notifications`.`created_at` FROM `thecarg_db`.`cg_tbl_user_notifications` WHERE (`thecarg_db`.`cg_tbl_user_notifications`.`user_id` = ? AND `thecarg_db`.`cg_tbl_user_notifications`.`user_role_id` = ? AND `thecarg_db`.`cg_tbl_user_notifications`.`platform` = ?) ORDER BY `thecarg_db`.`cg_tbl_user_notifications`.`created_at` DESC LIMIT ? OFFSET ?
prisma:query SELECT COUNT(*) FROM (SELECT `thecarg_db`.`cg_tbl_user_addresses`.`id` FROM `thecarg_db`.`cg_tbl_user_addresses` WHERE (`thecarg_db`.`cg_tbl_user_addresses`.`user_id` = ? AND `thecarg_db`.`cg_tbl_user_addresses`.`role_id` = ? AND `thecarg_db`.`cg_tbl_user_addresses`.`status` = ?)) AS `sub`
prisma:query SELECT COUNT(*) FROM (SELECT `thecarg_db`.`cg_tbl_user_addresses`.`id` FROM `thecarg_db`.`cg_tbl_user_addresses` WHERE (`thecarg_db`.`cg_tbl_user_addresses`.`user_id` = ? AND `thecarg_db`.`cg_tbl_user_addresses`.`role_id` = ? AND `thecarg_db`.`cg_tbl_user_addresses`.`status` = ?)) AS `sub`
prisma:query SELECT `thecarg_db`.`cg_tbl_user_addresses`.`id`, `thecarg_db`.`cg_tbl_user_addresses`.`user_id`, `thecarg_db`.`cg_tbl_user_addresses`.`role_id`, `thecarg_db`.`cg_tbl_user_addresses`.`address_title`, `thecarg_db`.`cg_tbl_user_addresses`.`contact_name`, `thecarg_db`.`cg_tbl_user_addresses`.`phone_number`, `thecarg_db`.`cg_tbl_user_addresses`.`flat_house_no`, `thecarg_db`.`cg_tbl_user_addresses`.`area_locality`, `thecarg_db`.`cg_tbl_user_addresses`.`landmark`, `thecarg_db`.`cg_tbl_user_addresses`.`pincode`, `thecarg_db`.`cg_tbl_user_addresses`.`city`, `thecarg_db`.`cg_tbl_user_addresses`.`state`, `thecarg_db`.`cg_tbl_user_addresses`.`latitude`, `thecarg_db`.`cg_tbl_user_addresses`.`longitude`, `thecarg_db`.`cg_tbl_user_addresses`.`full_address`, `thecarg_db`.`cg_tbl_user_addresses`.`is_default`, `thecarg_db`.`cg_tbl_user_addresses`.`status`, `thecarg_db`.`cg_tbl_user_addresses`.`created_at`, `thecarg_db`.`cg_tbl_user_addresses`.`updated_at` FROM `thecarg_db`.`cg_tbl_user_addresses` WHERE (`thecarg_db`.`cg_tbl_user_addresses`.`user_id` = ? AND `thecarg_db`.`cg_tbl_user_addresses`.`role_id` = ? AND `thecarg_db`.`cg_tbl_user_addresses`.`status` = ?) ORDER BY `thecarg_db`.`cg_tbl_user_addresses`.`is_default` DESC, `thecarg_db`.`cg_tbl_user_addresses`.`id` DESC LIMIT ? OFFSET ?
prisma:query SELECT COUNT(*) FROM (SELECT `thecarg_db`.`cg_tbl_vehicles_master`.`id` FROM `thecarg_db`.`cg_tbl_vehicles_master` WHERE (`thecarg_db`.`cg_tbl_vehicles_master`.`user_id` = ? AND `thecarg_db`.`cg_tbl_vehicles_master`.`user_role_id` = ? AND `thecarg_db`.`cg_tbl_vehicles_master`.`deleted_status` = ? AND `thecarg_db`.`cg_tbl_vehicles_master`.`status` = ?)) AS `sub`
prisma:query SELECT `thecarg_db`.`cg_tbl_user_addresses`.`id`, `thecarg_db`.`cg_tbl_user_addresses`.`user_id`, `thecarg_db`.`cg_tbl_user_addresses`.`role_id`, `thecarg_db`.`cg_tbl_user_addresses`.`address_title`, `thecarg_db`.`cg_tbl_user_addresses`.`contact_name`, `thecarg_db`.`cg_tbl_user_addresses`.`phone_number`, `thecarg_db`.`cg_tbl_user_addresses`.`flat_house_no`, `thecarg_db`.`cg_tbl_user_addresses`.`area_locality`, `thecarg_db`.`cg_tbl_user_addresses`.`landmark`, `thecarg_db`.`cg_tbl_user_addresses`.`pincode`, `thecarg_db`.`cg_tbl_user_addresses`.`city`, `thecarg_db`.`cg_tbl_user_addresses`.`state`, `thecarg_db`.`cg_tbl_user_addresses`.`latitude`, `thecarg_db`.`cg_tbl_user_addresses`.`longitude`, `thecarg_db`.`cg_tbl_user_addresses`.`full_address`, `thecarg_db`.`cg_tbl_user_addresses`.`is_default`, `thecarg_db`.`cg_tbl_user_addresses`.`status`, `thecarg_db`.`cg_tbl_user_addresses`.`created_at`, `thecarg_db`.`cg_tbl_user_addresses`.`updated_at` FROM `thecarg_db`.`cg_tbl_user_addresses` WHERE (`thecarg_db`.`cg_tbl_user_addresses`.`user_id` = ? AND `thecarg_db`.`cg_tbl_user_addresses`.`role_id` = ? AND `thecarg_db`.`cg_tbl_user_addresses`.`status` = ?) ORDER BY `thecarg_db`.`cg_tbl_user_addresses`.`is_default` DESC, `thecarg_db`.`cg_tbl_user_addresses`.`id` DESC LIMIT ? OFFSET ?
prisma:query SELECT `thecarg_db`.`cg_tbl_vehicles_master`.`id`, `thecarg_db`.`cg_tbl_vehicles_master`.`vehicle_no`, `thecarg_db`.`cg_tbl_vehicles_master`.`make`, `thecarg_db`.`cg_tbl_vehicles_master`.`model`, `thecarg_db`.`cg_tbl_vehicles_master`.`year`, `thecarg_db`.`cg_tbl_vehicles_master`.`chassis_no`, `thecarg_db`.`cg_tbl_vehicles_master`.`odometer_reading_km`, `thecarg_db`.`cg_tbl_vehicles_master`.`vehicle_image`, `thecarg_db`.`cg_tbl_vehicles_master`.`vehicle_rc_img`, `thecarg_db`.`cg_tbl_vehicles_master`.`vehicle_class_id`, `thecarg_db`.`cg_tbl_vehicles_master`.`vehicle_fuel_type_id` FROM `thecarg_db`.`cg_tbl_vehicles_master` WHERE (`thecarg_db`.`cg_tbl_vehicles_master`.`user_id` = ? AND `thecarg_db`.`cg_tbl_vehicles_master`.`user_role_id` = ? AND `thecarg_db`.`cg_tbl_vehicles_master`.`deleted_status` = ? AND `thecarg_db`.`cg_tbl_vehicles_master`.`status` = ?) ORDER BY `thecarg_db`.`cg_tbl_vehicles_master`.`id` DESC LIMIT ? OFFSET ?
prisma:query SELECT `thecarg_db`.`cg_tbl_vehicle_classes`.`id`, `thecarg_db`.`cg_tbl_vehicle_classes`.`name`, `thecarg_db`.`cg_tbl_vehicle_classes`.`slug` FROM `thecarg_db`.`cg_tbl_vehicle_classes` WHERE `thecarg_db`.`cg_tbl_vehicle_classes`.`id` IN (?,?)
prisma:query SELECT `thecarg_db`.`cg_tbl_vehicle_fuel_types`.`id`, `thecarg_db`.`cg_tbl_vehicle_fuel_types`.`name`, `thecarg_db`.`cg_tbl_vehicle_fuel_types`.`slug` FROM `thecarg_db`.`cg_tbl_vehicle_fuel_types` WHERE `thecarg_db`.`cg_tbl_vehicle_fuel_types`.`id` IN (?,?)
prisma:query SELECT COUNT(*) FROM (SELECT `thecarg_db`.`cg_tbl_categories`.`id` FROM `thecarg_db`.`cg_tbl_categories` WHERE (`thecarg_db`.`cg_tbl_categories`.`status` = ? AND (`thecarg_db`.`cg_tbl_categories`.`is_accident` = ? OR (`thecarg_db`.`cg_tbl_categories`.`id`) IN (SELECT `t1`.`category_id` FROM `thecarg_db`.`cg_tbl_category_sub_category_setup` AS `t1` LEFT JOIN `thecarg_db`.`cg_tbl_sub_categories` AS `j2` ON (`j2`.`id`) = (`t1`.`sub_category_id`) WHERE (`t1`.`status` = ? AND (`j2`.`status` = ? AND (`j2`.`id` IS NOT NULL)) AND `t1`.`service_type` IN (?,?) AND `t1`.`category_id` IS NOT NULL))))) AS `sub`
prisma:query SELECT `thecarg_db`.`cg_tbl_categories`.`id`, `thecarg_db`.`cg_tbl_categories`.`category_name`, `thecarg_db`.`cg_tbl_categories`.`category_image`, `thecarg_db`.`cg_tbl_categories`.`is_accident` FROM `thecarg_db`.`cg_tbl_categories` WHERE (`thecarg_db`.`cg_tbl_categories`.`status` = ? AND (`thecarg_db`.`cg_tbl_categories`.`is_accident` = ? OR (`thecarg_db`.`cg_tbl_categories`.`id`) IN (SELECT `t1`.`category_id` FROM `thecarg_db`.`cg_tbl_category_sub_category_setup` AS `t1` LEFT JOIN `thecarg_db`.`cg_tbl_sub_categories` AS `j2` ON (`j2`.`id`) = (`t1`.`sub_category_id`) WHERE (`t1`.`status` = ? AND (`j2`.`status` = ? AND (`j2`.`id` IS NOT NULL)) AND `t1`.`service_type` IN (?,?) AND `t1`.`category_id` IS NOT NULL)))) ORDER BY `thecarg_db`.`cg_tbl_categories`.`id` ASC LIMIT ? OFFSET ?
prisma:query SELECT `thecarg_db`.`cg_tbl_category_sub_category_setup`.`id`, `thecarg_db`.`cg_tbl_category_sub_category_setup`.`sub_category_id`, `thecarg_db`.`cg_tbl_category_sub_category_setup`.`category_id` FROM `thecarg_db`.`cg_tbl_category_sub_category_setup` LEFT JOIN `thecarg_db`.`cg_tbl_sub_categories` AS `j1` ON (`j1`.`id`) = (`thecarg_db`.`cg_tbl_category_sub_category_setup`.`sub_category_id`) WHERE ((`thecarg_db`.`cg_tbl_category_sub_category_setup`.`status` = ? AND (`j1`.`status` = ? AND (`j1`.`id` IS NOT NULL)) AND `thecarg_db`.`cg_tbl_category_sub_category_setup`.`service_type` IN (?,?)) AND `thecarg_db`.`cg_tbl_category_sub_category_setup`.`category_id` IN (?,?,?,?,?,?,?,?))
prisma:query SELECT `thecarg_db`.`cg_tbl_zones`.`id` FROM `thecarg_db`.`cg_tbl_zones` WHERE (`thecarg_db`.`cg_tbl_zones`.`id` IN (?) AND `thecarg_db`.`cg_tbl_zones`.`status` = ?)
prisma:query SELECT `thecarg_db`.`cg_tbl_products`.`id`, `thecarg_db`.`cg_tbl_products`.`techdoc_article_id`, `thecarg_db`.`cg_tbl_products`.`techdoc_brand_id`, `thecarg_db`.`cg_tbl_products`.`article_number`, `thecarg_db`.`cg_tbl_products`.`brand_name`, `thecarg_db`.`cg_tbl_products`.`status`, `thecarg_db`.`cg_tbl_products`.`created_at`, `thecarg_db`.`cg_tbl_products`.`updated_at`, `thecarg_db`.`cg_tbl_products`.`assembly_group_node_id`, `thecarg_db`.`cg_tbl_products`.`generic_article_id` FROM `thecarg_db`.`cg_tbl_products` WHERE (`thecarg_db`.`cg_tbl_products`.`id` = ? AND `thecarg_db`.`cg_tbl_products`.`status` = ?) LIMIT ? OFFSET ?
[2026-06-24T11:31:38.792Z] [INFO]: TecDoc → getArticles | provider: 25791 | country: IN | url: https://webservice.tecalliance.services/pegasus-3-0/services/TecdocToCatDLB.jsonEndpoint
--------------------------------------------------

[2026-06-24T11:31:39.274Z] [INFO]: TecDoc → getArticleLinkedAllLinkingTarget4 | provider: 25791 | country: IN | url: https://webservice.tecalliance.services/pegasus-3-0/services/TecdocToCatDLB.jsonEndpoint
--------------------------------------------------

[2026-06-24T11:31:39.446Z] [INFO]: TecDoc → getArticleLinkedAllLinkingTargetsByIds3 | provider: 25791 | country: IN | url: https://webservice.tecalliance.services/pegasus-3-0/services/TecdocToCatDLB.jsonEndpoint
--------------------------------------------------

prisma:query SELECT `thecarg_db`.`cg_tbl_seller_products`.`id`, `thecarg_db`.`cg_tbl_seller_products`.`customer_selling_price`, `thecarg_db`.`cg_tbl_seller_products`.`garage_selling_price`, `thecarg_db`.`cg_tbl_seller_products`.`mrp`, `thecarg_db`.`cg_tbl_seller_products`.`customer_discount_type`, `thecarg_db`.`cg_tbl_seller_products`.`customer_discount`, `thecarg_db`.`cg_tbl_seller_products`.`garage_discount_type`, `thecarg_db`.`cg_tbl_seller_products`.`garage_discount`, `thecarg_db`.`cg_tbl_seller_products`.`is_in_stock`, `thecarg_db`.`cg_tbl_seller_products`.`is_returnable`, `thecarg_db`.`cg_tbl_seller_products`.`return_days`, `thecarg_db`.`cg_tbl_seller_products`.`warranty_enabled`, `thecarg_db`.`cg_tbl_seller_products`.`warranty_duration`, `thecarg_db`.`cg_tbl_seller_products`.`warranty_duration_type`, `thecarg_db`.`cg_tbl_seller_products`.`warranty_document`, `thecarg_db`.`cg_tbl_seller_products`.`tax`, `thecarg_db`.`cg_tbl_seller_products`.`seller_id` FROM `thecarg_db`.`cg_tbl_seller_products` LEFT JOIN `thecarg_db`.`cg_tbl_sellers` AS `j1` ON (`j1`.`id`) = (`thecarg_db`.`cg_tbl_seller_products`.`seller_id`) WHERE (`thecarg_db`.`cg_tbl_seller_products`.`product_id` = ? AND `thecarg_db`.`cg_tbl_seller_products`.`status` = ? AND (`j1`.`status` = ? AND (`j1`.`id` IS NOT NULL))) ORDER BY `thecarg_db`.`cg_tbl_seller_products`.`garage_selling_price` ASC
prisma:query SELECT `thecarg_db`.`cg_tbl_sellers`.`id`, `thecarg_db`.`cg_tbl_sellers`.`seller_id`, `thecarg_db`.`cg_tbl_sellers`.`first_name`, `thecarg_db`.`cg_tbl_sellers`.`last_name`, `thecarg_db`.`cg_tbl_sellers`.`trade_name`, `thecarg_db`.`cg_tbl_sellers`.`city`, `thecarg_db`.`cg_tbl_sellers`.`state`, `thecarg_db`.`cg_tbl_sellers`.`email`, `thecarg_db`.`cg_tbl_sellers`.`mobile`, `thecarg_db`.`cg_tbl_sellers`.`address`, `thecarg_db`.`cg_tbl_sellers`.`pincode`, `thecarg_db`.`cg_tbl_sellers`.`status`, `thecarg_db`.`cg_tbl_sellers`.`operating_hours`, `thecarg_db`.`cg_tbl_sellers`.`zone`, `thecarg_db`.`cg_tbl_sellers`.`latitude`, `thecarg_db`.`cg_tbl_sellers`.`longitude` FROM `thecarg_db`.`cg_tbl_sellers` WHERE `thecarg_db`.`cg_tbl_sellers`.`id` IN (?)
prisma:query SELECT `thecarg_db`.`cg_tbl_zones`.`id`, `thecarg_db`.`cg_tbl_zones`.`zone_name` FROM `thecarg_db`.`cg_tbl_zones` WHERE 1=1
prisma:query SELECT 1
prisma:query SELECT `thecarg_db`.`cg_tbl_zones`.`id` FROM `thecarg_db`.`cg_tbl_zones` WHERE (`thecarg_db`.`cg_tbl_zones`.`id` IN (?,?) AND `thecarg_db`.`cg_tbl_zones`.`status` = ?)
prisma:query SELECT `thecarg_db`.`cg_tbl_products`.`id`, `thecarg_db`.`cg_tbl_products`.`techdoc_article_id`, `thecarg_db`.`cg_tbl_products`.`techdoc_brand_id`, `thecarg_db`.`cg_tbl_products`.`article_number`, `thecarg_db`.`cg_tbl_products`.`brand_name`, `thecarg_db`.`cg_tbl_products`.`status`, `thecarg_db`.`cg_tbl_products`.`created_at`, `thecarg_db`.`cg_tbl_products`.`updated_at`, `thecarg_db`.`cg_tbl_products`.`assembly_group_node_id`, `thecarg_db`.`cg_tbl_products`.`generic_article_id` FROM `thecarg_db`.`cg_tbl_products` WHERE (`thecarg_db`.`cg_tbl_products`.`id` = ? AND `thecarg_db`.`cg_tbl_products`.`status` = ?) LIMIT ? OFFSET ?
[2026-06-24T11:31:53.106Z] [INFO]: TecDoc → getArticles | provider: 25791 | country: IN | url: https://webservice.tecalliance.services/pegasus-3-0/services/TecdocToCatDLB.jsonEndpoint
--------------------------------------------------

[2026-06-24T11:31:53.585Z] [INFO]: TecDoc → getArticleLinkedAllLinkingTarget4 | provider: 25791 | country: IN | url: https://webservice.tecalliance.services/pegasus-3-0/services/TecdocToCatDLB.jsonEndpoint
--------------------------------------------------

[2026-06-24T11:31:53.758Z] [INFO]: TecDoc → getArticleLinkedAllLinkingTargetsByIds3 | provider: 25791 | country: IN | url: https://webservice.tecalliance.services/pegasus-3-0/services/TecdocToCatDLB.jsonEndpoint
--------------------------------------------------

prisma:query SELECT `thecarg_db`.`cg_tbl_seller_products`.`id`, `thecarg_db`.`cg_tbl_seller_products`.`customer_selling_price`, `thecarg_db`.`cg_tbl_seller_products`.`garage_selling_price`, `thecarg_db`.`cg_tbl_seller_products`.`mrp`, `thecarg_db`.`cg_tbl_seller_products`.`customer_discount_type`, `thecarg_db`.`cg_tbl_seller_products`.`customer_discount`, `thecarg_db`.`cg_tbl_seller_products`.`garage_discount_type`, `thecarg_db`.`cg_tbl_seller_products`.`garage_discount`, `thecarg_db`.`cg_tbl_seller_products`.`is_in_stock`, `thecarg_db`.`cg_tbl_seller_products`.`is_returnable`, `thecarg_db`.`cg_tbl_seller_products`.`return_days`, `thecarg_db`.`cg_tbl_seller_products`.`warranty_enabled`, `thecarg_db`.`cg_tbl_seller_products`.`warranty_duration`, `thecarg_db`.`cg_tbl_seller_products`.`warranty_duration_type`, `thecarg_db`.`cg_tbl_seller_products`.`warranty_document`, `thecarg_db`.`cg_tbl_seller_products`.`tax`, `thecarg_db`.`cg_tbl_seller_products`.`seller_id` FROM `thecarg_db`.`cg_tbl_seller_products` LEFT JOIN `thecarg_db`.`cg_tbl_sellers` AS `j1` ON (`j1`.`id`) = (`thecarg_db`.`cg_tbl_seller_products`.`seller_id`) WHERE (`thecarg_db`.`cg_tbl_seller_products`.`product_id` = ? AND `thecarg_db`.`cg_tbl_seller_products`.`status` = ? AND (`j1`.`status` = ? AND (`j1`.`id` IS NOT NULL))) ORDER BY `thecarg_db`.`cg_tbl_seller_products`.`garage_selling_price` ASC
prisma:query SELECT `thecarg_db`.`cg_tbl_sellers`.`id`, `thecarg_db`.`cg_tbl_sellers`.`seller_id`, `thecarg_db`.`cg_tbl_sellers`.`first_name`, `thecarg_db`.`cg_tbl_sellers`.`last_name`, `thecarg_db`.`cg_tbl_sellers`.`trade_name`, `thecarg_db`.`cg_tbl_sellers`.`city`, `thecarg_db`.`cg_tbl_sellers`.`state`, `thecarg_db`.`cg_tbl_sellers`.`email`, `thecarg_db`.`cg_tbl_sellers`.`mobile`, `thecarg_db`.`cg_tbl_sellers`.`address`, `thecarg_db`.`cg_tbl_sellers`.`pincode`, `thecarg_db`.`cg_tbl_sellers`.`status`, `thecarg_db`.`cg_tbl_sellers`.`operating_hours`, `thecarg_db`.`cg_tbl_sellers`.`zone`, `thecarg_db`.`cg_tbl_sellers`.`latitude`, `thecarg_db`.`cg_tbl_sellers`.`longitude` FROM `thecarg_db`.`cg_tbl_sellers` WHERE `thecarg_db`.`cg_tbl_sellers`.`id` IN (?)
prisma:query SELECT `thecarg_db`.`cg_tbl_zones`.`id`, `thecarg_db`.`cg_tbl_zones`.`zone_name` FROM `thecarg_db`.`cg_tbl_zones` WHERE 1=1
prisma:query SELECT `thecarg_db`.`cg_tbl_zones`.`id` FROM `thecarg_db`.`cg_tbl_zones` WHERE (`thecarg_db`.`cg_tbl_zones`.`id` IN (?) AND `thecarg_db`.`cg_tbl_zones`.`status` = ?)
prisma:query SELECT `thecarg_db`.`cg_tbl_products`.`id`, `thecarg_db`.`cg_tbl_products`.`techdoc_article_id`, `thecarg_db`.`cg_tbl_products`.`techdoc_brand_id`, `thecarg_db`.`cg_tbl_products`.`article_number`, `thecarg_db`.`cg_tbl_products`.`brand_name`, `thecarg_db`.`cg_tbl_products`.`status`, `thecarg_db`.`cg_tbl_products`.`created_at`, `thecarg_db`.`cg_tbl_products`.`updated_at`, `thecarg_db`.`cg_tbl_products`.`assembly_group_node_id`, `thecarg_db`.`cg_tbl_products`.`generic_article_id` FROM `thecarg_db`.`cg_tbl_products` WHERE (`thecarg_db`.`cg_tbl_products`.`id` = ? AND `thecarg_db`.`cg_tbl_products`.`status` = ?) LIMIT ? OFFSET ?
[2026-06-24T11:32:01.920Z] [INFO]: TecDoc → getArticles | provider: 25791 | country: IN | url: https://webservice.tecalliance.services/pegasus-3-0/services/TecdocToCatDLB.jsonEndpoint
--------------------------------------------------

[2026-06-24T11:32:02.389Z] [INFO]: TecDoc → getArticleLinkedAllLinkingTarget4 | provider: 25791 | country: IN | url: https://webservice.tecalliance.services/pegasus-3-0/services/TecdocToCatDLB.jsonEndpoint
--------------------------------------------------

[2026-06-24T11:32:02.553Z] [INFO]: TecDoc → getArticleLinkedAllLinkingTargetsByIds3 | provider: 25791 | country: IN | url: https://webservice.tecalliance.services/pegasus-3-0/services/TecdocToCatDLB.jsonEndpoint
--------------------------------------------------

prisma:query SELECT `thecarg_db`.`cg_tbl_seller_products`.`id`, `thecarg_db`.`cg_tbl_seller_products`.`customer_selling_price`, `thecarg_db`.`cg_tbl_seller_products`.`garage_selling_price`, `thecarg_db`.`cg_tbl_seller_products`.`mrp`, `thecarg_db`.`cg_tbl_seller_products`.`customer_discount_type`, `thecarg_db`.`cg_tbl_seller_products`.`customer_discount`, `thecarg_db`.`cg_tbl_seller_products`.`garage_discount_type`, `thecarg_db`.`cg_tbl_seller_products`.`garage_discount`, `thecarg_db`.`cg_tbl_seller_products`.`is_in_stock`, `thecarg_db`.`cg_tbl_seller_products`.`is_returnable`, `thecarg_db`.`cg_tbl_seller_products`.`return_days`, `thecarg_db`.`cg_tbl_seller_products`.`warranty_enabled`, `thecarg_db`.`cg_tbl_seller_products`.`warranty_duration`, `thecarg_db`.`cg_tbl_seller_products`.`warranty_duration_type`, `thecarg_db`.`cg_tbl_seller_products`.`warranty_document`, `thecarg_db`.`cg_tbl_seller_products`.`tax`, `thecarg_db`.`cg_tbl_seller_products`.`seller_id` FROM `thecarg_db`.`cg_tbl_seller_products` LEFT JOIN `thecarg_db`.`cg_tbl_sellers` AS `j1` ON (`j1`.`id`) = (`thecarg_db`.`cg_tbl_seller_products`.`seller_id`) WHERE (`thecarg_db`.`cg_tbl_seller_products`.`product_id` = ? AND `thecarg_db`.`cg_tbl_seller_products`.`status` = ? AND (`j1`.`status` = ? AND (`j1`.`id` IS NOT NULL))) ORDER BY `thecarg_db`.`cg_tbl_seller_products`.`garage_selling_price` ASC
prisma:query SELECT `thecarg_db`.`cg_tbl_sellers`.`id`, `thecarg_db`.`cg_tbl_sellers`.`seller_id`, `thecarg_db`.`cg_tbl_sellers`.`first_name`, `thecarg_db`.`cg_tbl_sellers`.`last_name`, `thecarg_db`.`cg_tbl_sellers`.`trade_name`, `thecarg_db`.`cg_tbl_sellers`.`city`, `thecarg_db`.`cg_tbl_sellers`.`state`, `thecarg_db`.`cg_tbl_sellers`.`email`, `thecarg_db`.`cg_tbl_sellers`.`mobile`, `thecarg_db`.`cg_tbl_sellers`.`address`, `thecarg_db`.`cg_tbl_sellers`.`pincode`, `thecarg_db`.`cg_tbl_sellers`.`status`, `thecarg_db`.`cg_tbl_sellers`.`operating_hours`, `thecarg_db`.`cg_tbl_sellers`.`zone`, `thecarg_db`.`cg_tbl_sellers`.`latitude`, `thecarg_db`.`cg_tbl_sellers`.`longitude` FROM `thecarg_db`.`cg_tbl_sellers` WHERE `thecarg_db`.`cg_tbl_sellers`.`id` IN (?)
prisma:query SELECT `thecarg_db`.`cg_tbl_zones`.`id`, `thecarg_db`.`cg_tbl_zones`.`zone_name` FROM `thecarg_db`.`cg_tbl_zones` WHERE 1=1
prisma:query SELECT 1
prisma:query SELECT `thecarg_db`.`cg_tbl_customers`.`id`, `thecarg_db`.`cg_tbl_customers`.`full_name`, `thecarg_db`.`cg_tbl_customers`.`mobile`, `thecarg_db`.`cg_tbl_customers`.`email`, `thecarg_db`.`cg_tbl_customers`.`profile_photo_file`, `thecarg_db`.`cg_tbl_customers`.`status`, `thecarg_db`.`cg_tbl_customers`.`created_at`, `thecarg_db`.`cg_tbl_customers`.`updated_at`, `thecarg_db`.`cg_tbl_customers`.`date_of_birth`, `thecarg_db`.`cg_tbl_customers`.`fcm_token`, `thecarg_db`.`cg_tbl_customers`.`marriage_date`, `thecarg_db`.`cg_tbl_customers`.`ref_code`, `thecarg_db`.`cg_tbl_customers`.`referred_by` FROM `thecarg_db`.`cg_tbl_customers` WHERE `thecarg_db`.`cg_tbl_customers`.`mobile` = ? LIMIT ? OFFSET ?
prisma:query SELECT `thecarg_db`.`cg_tbl_phone_verifications`.`id`, `thecarg_db`.`cg_tbl_phone_verifications`.`mobile`, `thecarg_db`.`cg_tbl_phone_verifications`.`otp_code`, `thecarg_db`.`cg_tbl_phone_verifications`.`expires_at`, `thecarg_db`.`cg_tbl_phone_verifications`.`created_at`, `thecarg_db`.`cg_tbl_phone_verifications`.`updated_at` FROM `thecarg_db`.`cg_tbl_phone_verifications` WHERE `thecarg_db`.`cg_tbl_phone_verifications`.`mobile` = ? ORDER BY `thecarg_db`.`cg_tbl_phone_verifications`.`created_at` DESC LIMIT ? OFFSET ?
prisma:query DELETE FROM `thecarg_db`.`cg_tbl_phone_verifications` WHERE `thecarg_db`.`cg_tbl_phone_verifications`.`mobile` = ?
prisma:query BEGIN
prisma:query INSERT INTO `thecarg_db`.`cg_tbl_phone_verifications` (`id`,`mobile`,`otp_code`,`expires_at`,`created_at`,`updated_at`) VALUES (?,?,?,?,?,?)
prisma:query SELECT `thecarg_db`.`cg_tbl_phone_verifications`.`id`, `thecarg_db`.`cg_tbl_phone_verifications`.`mobile`, `thecarg_db`.`cg_tbl_phone_verifications`.`otp_code`, `thecarg_db`.`cg_tbl_phone_verifications`.`expires_at`, `thecarg_db`.`cg_tbl_phone_verifications`.`created_at`, `thecarg_db`.`cg_tbl_phone_verifications`.`updated_at` FROM `thecarg_db`.`cg_tbl_phone_verifications` WHERE `thecarg_db`.`cg_tbl_phone_verifications`.`id` = ? LIMIT ? OFFSET ?
prisma:query COMMIT
prisma:query SELECT `thecarg_db`.`cg_tbl_phone_verifications`.`id`, `thecarg_db`.`cg_tbl_phone_verifications`.`mobile`, `thecarg_db`.`cg_tbl_phone_verifications`.`otp_code`, `thecarg_db`.`cg_tbl_phone_verifications`.`expires_at`, `thecarg_db`.`cg_tbl_phone_verifications`.`created_at`, `thecarg_db`.`cg_tbl_phone_verifications`.`updated_at` FROM `thecarg_db`.`cg_tbl_phone_verifications` WHERE (`thecarg_db`.`cg_tbl_phone_verifications`.`mobile` = ? AND `thecarg_db`.`cg_tbl_phone_verifications`.`otp_code` = ?) ORDER BY `thecarg_db`.`cg_tbl_phone_verifications`.`created_at` DESC LIMIT ? OFFSET ?
prisma:query SELECT `thecarg_db`.`cg_tbl_customers`.`id`, `thecarg_db`.`cg_tbl_customers`.`full_name`, `thecarg_db`.`cg_tbl_customers`.`mobile`, `thecarg_db`.`cg_tbl_customers`.`email`, `thecarg_db`.`cg_tbl_customers`.`profile_photo_file`, `thecarg_db`.`cg_tbl_customers`.`status`, `thecarg_db`.`cg_tbl_customers`.`created_at`, `thecarg_db`.`cg_tbl_customers`.`updated_at`, `thecarg_db`.`cg_tbl_customers`.`date_of_birth`, `thecarg_db`.`cg_tbl_customers`.`fcm_token`, `thecarg_db`.`cg_tbl_customers`.`marriage_date`, `thecarg_db`.`cg_tbl_customers`.`ref_code`, `thecarg_db`.`cg_tbl_customers`.`referred_by` FROM `thecarg_db`.`cg_tbl_customers` WHERE `thecarg_db`.`cg_tbl_customers`.`mobile` = ? LIMIT ? OFFSET ?
prisma:query BEGIN
prisma:query INSERT INTO `thecarg_db`.`cg_tbl_refresh_tokens` (`id`,`expires_at`,`created_at`,`updated_at`,`device_info`,`platform`,`refresh_token`,`tokenable_id`,`tokenable_type`) VALUES (?,?,?,?,?,?,?,?,?)
prisma:query SELECT `thecarg_db`.`cg_tbl_refresh_tokens`.`id`, `thecarg_db`.`cg_tbl_refresh_tokens`.`expires_at`, `thecarg_db`.`cg_tbl_refresh_tokens`.`created_at`, `thecarg_db`.`cg_tbl_refresh_tokens`.`updated_at`, `thecarg_db`.`cg_tbl_refresh_tokens`.`device_info`, `thecarg_db`.`cg_tbl_refresh_tokens`.`platform`, `thecarg_db`.`cg_tbl_refresh_tokens`.`refresh_token`, `thecarg_db`.`cg_tbl_refresh_tokens`.`tokenable_id`, `thecarg_db`.`cg_tbl_refresh_tokens`.`tokenable_type` FROM `thecarg_db`.`cg_tbl_refresh_tokens` WHERE `thecarg_db`.`cg_tbl_refresh_tokens`.`id` = ? LIMIT ? OFFSET ?
prisma:query COMMIT
prisma:query DELETE FROM `thecarg_db`.`cg_tbl_phone_verifications` WHERE `thecarg_db`.`cg_tbl_phone_verifications`.`mobile` = ?
[2026-06-24T11:33:46.523Z] [INFO]: [OTP FLOW] Successful login completed for mobile: +919876543210
--------------------------------------------------

prisma:query SELECT `thecarg_db`.`cg_tbl_customers`.`id`, `thecarg_db`.`cg_tbl_customers`.`full_name`, `thecarg_db`.`cg_tbl_customers`.`mobile`, `thecarg_db`.`cg_tbl_customers`.`email`, `thecarg_db`.`cg_tbl_customers`.`profile_photo_file`, `thecarg_db`.`cg_tbl_customers`.`status`, `thecarg_db`.`cg_tbl_customers`.`created_at`, `thecarg_db`.`cg_tbl_customers`.`updated_at`, `thecarg_db`.`cg_tbl_customers`.`date_of_birth`, `thecarg_db`.`cg_tbl_customers`.`fcm_token`, `thecarg_db`.`cg_tbl_customers`.`marriage_date`, `thecarg_db`.`cg_tbl_customers`.`ref_code`, `thecarg_db`.`cg_tbl_customers`.`referred_by` FROM `thecarg_db`.`cg_tbl_customers` WHERE (`thecarg_db`.`cg_tbl_customers`.`id` = ? AND 1=1) LIMIT ? OFFSET ?
prisma:query SELECT 1
prisma:query SELECT `thecarg_db`.`cg_tbl_customers`.`id`, `thecarg_db`.`cg_tbl_customers`.`full_name`, `thecarg_db`.`cg_tbl_customers`.`mobile`, `thecarg_db`.`cg_tbl_customers`.`email`, `thecarg_db`.`cg_tbl_customers`.`profile_photo_file`, `thecarg_db`.`cg_tbl_customers`.`status`, `thecarg_db`.`cg_tbl_customers`.`created_at`, `thecarg_db`.`cg_tbl_customers`.`updated_at`, `thecarg_db`.`cg_tbl_customers`.`date_of_birth`, `thecarg_db`.`cg_tbl_customers`.`fcm_token`, `thecarg_db`.`cg_tbl_customers`.`marriage_date`, `thecarg_db`.`cg_tbl_customers`.`ref_code`, `thecarg_db`.`cg_tbl_customers`.`referred_by` FROM `thecarg_db`.`cg_tbl_customers` WHERE (`thecarg_db`.`cg_tbl_customers`.`id` = ? AND 1=1) LIMIT ? OFFSET ?
prisma:query SELECT 1
prisma:query SELECT 1
prisma:query SELECT 1
prisma:query SELECT `thecarg_db`.`cg_tbl_business_settings`.`id`, `thecarg_db`.`cg_tbl_business_settings`.`key`, `thecarg_db`.`cg_tbl_business_settings`.`value`, `thecarg_db`.`cg_tbl_business_settings`.`created_at`, `thecarg_db`.`cg_tbl_business_settings`.`updated_at` FROM `thecarg_db`.`cg_tbl_business_settings` WHERE (`thecarg_db`.`cg_tbl_business_settings`.`key` = ? AND 1=1) LIMIT ? OFFSET ?
prisma:query SELECT `thecarg_db`.`cg_tbl_customers`.`id`, `thecarg_db`.`cg_tbl_customers`.`full_name`, `thecarg_db`.`cg_tbl_customers`.`mobile`, `thecarg_db`.`cg_tbl_customers`.`email`, `thecarg_db`.`cg_tbl_customers`.`profile_photo_file`, `thecarg_db`.`cg_tbl_customers`.`status`, `thecarg_db`.`cg_tbl_customers`.`created_at`, `thecarg_db`.`cg_tbl_customers`.`updated_at`, `thecarg_db`.`cg_tbl_customers`.`date_of_birth`, `thecarg_db`.`cg_tbl_customers`.`fcm_token`, `thecarg_db`.`cg_tbl_customers`.`marriage_date`, `thecarg_db`.`cg_tbl_customers`.`ref_code`, `thecarg_db`.`cg_tbl_customers`.`referred_by` FROM `thecarg_db`.`cg_tbl_customers` WHERE `thecarg_db`.`cg_tbl_customers`.`id` = ? LIMIT ? OFFSET ?
prisma:query SELECT `thecarg_db`.`cg_tbl_business_settings`.`id`, `thecarg_db`.`cg_tbl_business_settings`.`key`, `thecarg_db`.`cg_tbl_business_settings`.`value`, `thecarg_db`.`cg_tbl_business_settings`.`created_at`, `thecarg_db`.`cg_tbl_business_settings`.`updated_at` FROM `thecarg_db`.`cg_tbl_business_settings` WHERE (`thecarg_db`.`cg_tbl_business_settings`.`key` = ? AND 1=1) LIMIT ? OFFSET ?
prisma:query SELECT 1
prisma:query SELECT 1
prisma:query SELECT 1
prisma:query SELECT 1
prisma:query SELECT `thecarg_db`.`cg_tbl_business_settings`.`id`, `thecarg_db`.`cg_tbl_business_settings`.`key`, `thecarg_db`.`cg_tbl_business_settings`.`value`, `thecarg_db`.`cg_tbl_business_settings`.`created_at`, `thecarg_db`.`cg_tbl_business_settings`.`updated_at` FROM `thecarg_db`.`cg_tbl_business_settings` WHERE (`thecarg_db`.`cg_tbl_business_settings`.`key` = ? AND 1=1) LIMIT ? OFFSET ?
prisma:query SELECT `thecarg_db`.`cg_tbl_vehicle_classes`.`id`, `thecarg_db`.`cg_tbl_vehicle_classes`.`name`, `thecarg_db`.`cg_tbl_vehicle_classes`.`slug` FROM `thecarg_db`.`cg_tbl_vehicle_classes` WHERE `thecarg_db`.`cg_tbl_vehicle_classes`.`status` = ? ORDER BY `thecarg_db`.`cg_tbl_vehicle_classes`.`name` ASC
prisma:query SELECT `thecarg_db`.`cg_tbl_business_settings`.`id`, `thecarg_db`.`cg_tbl_business_settings`.`key`, `thecarg_db`.`cg_tbl_business_settings`.`value`, `thecarg_db`.`cg_tbl_business_settings`.`created_at`, `thecarg_db`.`cg_tbl_business_settings`.`updated_at` FROM `thecarg_db`.`cg_tbl_business_settings` WHERE `thecarg_db`.`cg_tbl_business_settings`.`key` IN (?,?,?,?)
prisma:query SELECT `thecarg_db`.`cg_tbl_customers`.`id`, `thecarg_db`.`cg_tbl_customers`.`full_name`, `thecarg_db`.`cg_tbl_customers`.`mobile`, `thecarg_db`.`cg_tbl_customers`.`email`, `thecarg_db`.`cg_tbl_customers`.`profile_photo_file`, `thecarg_db`.`cg_tbl_customers`.`status`, `thecarg_db`.`cg_tbl_customers`.`created_at`, `thecarg_db`.`cg_tbl_customers`.`updated_at`, `thecarg_db`.`cg_tbl_customers`.`date_of_birth`, `thecarg_db`.`cg_tbl_customers`.`fcm_token`, `thecarg_db`.`cg_tbl_customers`.`marriage_date`, `thecarg_db`.`cg_tbl_customers`.`ref_code`, `thecarg_db`.`cg_tbl_customers`.`referred_by` FROM `thecarg_db`.`cg_tbl_customers` WHERE (`thecarg_db`.`cg_tbl_customers`.`id` = ? AND 1=1) LIMIT ? OFFSET ?
prisma:query SELECT `thecarg_db`.`cg_tbl_vehicle_fuel_types`.`id`, `thecarg_db`.`cg_tbl_vehicle_fuel_types`.`name`, `thecarg_db`.`cg_tbl_vehicle_fuel_types`.`slug` FROM `thecarg_db`.`cg_tbl_vehicle_fuel_types` WHERE `thecarg_db`.`cg_tbl_vehicle_fuel_types`.`status` = ? ORDER BY `thecarg_db`.`cg_tbl_vehicle_fuel_types`.`name` ASC
prisma:query SELECT `thecarg_db`.`cg_tbl_gig_reasons`.`id`, `thecarg_db`.`cg_tbl_gig_reasons`.`reason` FROM `thecarg_db`.`cg_tbl_gig_reasons` WHERE `thecarg_db`.`cg_tbl_gig_reasons`.`status` = ? ORDER BY `thecarg_db`.`cg_tbl_gig_reasons`.`id` ASC
prisma:query SELECT COUNT(*) FROM (SELECT `thecarg_db`.`cg_tbl_user_addresses`.`id` FROM `thecarg_db`.`cg_tbl_user_addresses` WHERE (`thecarg_db`.`cg_tbl_user_addresses`.`user_id` = ? AND `thecarg_db`.`cg_tbl_user_addresses`.`role_id` = ? AND `thecarg_db`.`cg_tbl_user_addresses`.`status` = ?)) AS `sub`
prisma:query SELECT COUNT(*) FROM (SELECT `thecarg_db`.`cg_tbl_user_addresses`.`id` FROM `thecarg_db`.`cg_tbl_user_addresses` WHERE (`thecarg_db`.`cg_tbl_user_addresses`.`user_id` = ? AND `thecarg_db`.`cg_tbl_user_addresses`.`role_id` = ? AND `thecarg_db`.`cg_tbl_user_addresses`.`status` = ?)) AS `sub`
prisma:query SELECT COUNT(*) FROM (SELECT `thecarg_db`.`cg_table_tutorials`.`id` FROM `thecarg_db`.`cg_table_tutorials` WHERE (`thecarg_db`.`cg_table_tutorials`.`role_id` = ? AND `thecarg_db`.`cg_table_tutorials`.`status` = ?)) AS `sub`
prisma:query SELECT `thecarg_db`.`cg_table_tutorials`.`id`, `thecarg_db`.`cg_table_tutorials`.`role_id`, `thecarg_db`.`cg_table_tutorials`.`youtube_url`, `thecarg_db`.`cg_table_tutorials`.`status`, `thecarg_db`.`cg_table_tutorials`.`created_at`, `thecarg_db`.`cg_table_tutorials`.`created_by`, `thecarg_db`.`cg_table_tutorials`.`updated_at` FROM `thecarg_db`.`cg_table_tutorials` WHERE (`thecarg_db`.`cg_table_tutorials`.`role_id` = ? AND `thecarg_db`.`cg_table_tutorials`.`status` = ?) ORDER BY `thecarg_db`.`cg_table_tutorials`.`created_at` DESC LIMIT ? OFFSET ?
prisma:query SELECT `thecarg_db`.`cg_tbl_user_addresses`.`id`, `thecarg_db`.`cg_tbl_user_addresses`.`user_id`, `thecarg_db`.`cg_tbl_user_addresses`.`role_id`, `thecarg_db`.`cg_tbl_user_addresses`.`address_title`, `thecarg_db`.`cg_tbl_user_addresses`.`contact_name`, `thecarg_db`.`cg_tbl_user_addresses`.`phone_number`, `thecarg_db`.`cg_tbl_user_addresses`.`flat_house_no`, `thecarg_db`.`cg_tbl_user_addresses`.`area_locality`, `thecarg_db`.`cg_tbl_user_addresses`.`landmark`, `thecarg_db`.`cg_tbl_user_addresses`.`pincode`, `thecarg_db`.`cg_tbl_user_addresses`.`city`, `thecarg_db`.`cg_tbl_user_addresses`.`state`, `thecarg_db`.`cg_tbl_user_addresses`.`latitude`, `thecarg_db`.`cg_tbl_user_addresses`.`longitude`, `thecarg_db`.`cg_tbl_user_addresses`.`full_address`, `thecarg_db`.`cg_tbl_user_addresses`.`is_default`, `thecarg_db`.`cg_tbl_user_addresses`.`status`, `thecarg_db`.`cg_tbl_user_addresses`.`created_at`, `thecarg_db`.`cg_tbl_user_addresses`.`updated_at` FROM `thecarg_db`.`cg_tbl_user_addresses` WHERE (`thecarg_db`.`cg_tbl_user_addresses`.`user_id` = ? AND `thecarg_db`.`cg_tbl_user_addresses`.`role_id` = ? AND `thecarg_db`.`cg_tbl_user_addresses`.`status` = ?) ORDER BY `thecarg_db`.`cg_tbl_user_addresses`.`is_default` DESC, `thecarg_db`.`cg_tbl_user_addresses`.`id` DESC LIMIT ? OFFSET ?
prisma:query SELECT COUNT(*) FROM (SELECT `thecarg_db`.`cg_tbl_vehicles_master`.`id` FROM `thecarg_db`.`cg_tbl_vehicles_master` WHERE (`thecarg_db`.`cg_tbl_vehicles_master`.`user_id` = ? AND `thecarg_db`.`cg_tbl_vehicles_master`.`user_role_id` = ? AND `thecarg_db`.`cg_tbl_vehicles_master`.`deleted_status` = ? AND `thecarg_db`.`cg_tbl_vehicles_master`.`status` = ?)) AS `sub`
prisma:query SELECT `thecarg_db`.`cg_tbl_user_addresses`.`id`, `thecarg_db`.`cg_tbl_user_addresses`.`user_id`, `thecarg_db`.`cg_tbl_user_addresses`.`role_id`, `thecarg_db`.`cg_tbl_user_addresses`.`address_title`, `thecarg_db`.`cg_tbl_user_addresses`.`contact_name`, `thecarg_db`.`cg_tbl_user_addresses`.`phone_number`, `thecarg_db`.`cg_tbl_user_addresses`.`flat_house_no`, `thecarg_db`.`cg_tbl_user_addresses`.`area_locality`, `thecarg_db`.`cg_tbl_user_addresses`.`landmark`, `thecarg_db`.`cg_tbl_user_addresses`.`pincode`, `thecarg_db`.`cg_tbl_user_addresses`.`city`, `thecarg_db`.`cg_tbl_user_addresses`.`state`, `thecarg_db`.`cg_tbl_user_addresses`.`latitude`, `thecarg_db`.`cg_tbl_user_addresses`.`longitude`, `thecarg_db`.`cg_tbl_user_addresses`.`full_address`, `thecarg_db`.`cg_tbl_user_addresses`.`is_default`, `thecarg_db`.`cg_tbl_user_addresses`.`status`, `thecarg_db`.`cg_tbl_user_addresses`.`created_at`, `thecarg_db`.`cg_tbl_user_addresses`.`updated_at` FROM `thecarg_db`.`cg_tbl_user_addresses` WHERE (`thecarg_db`.`cg_tbl_user_addresses`.`user_id` = ? AND `thecarg_db`.`cg_tbl_user_addresses`.`role_id` = ? AND `thecarg_db`.`cg_tbl_user_addresses`.`status` = ?) ORDER BY `thecarg_db`.`cg_tbl_user_addresses`.`is_default` DESC, `thecarg_db`.`cg_tbl_user_addresses`.`id` DESC LIMIT ? OFFSET ?
prisma:query SELECT `thecarg_db`.`cg_tbl_vehicles_master`.`id`, `thecarg_db`.`cg_tbl_vehicles_master`.`vehicle_no`, `thecarg_db`.`cg_tbl_vehicles_master`.`make`, `thecarg_db`.`cg_tbl_vehicles_master`.`model`, `thecarg_db`.`cg_tbl_vehicles_master`.`year`, `thecarg_db`.`cg_tbl_vehicles_master`.`chassis_no`, `thecarg_db`.`cg_tbl_vehicles_master`.`odometer_reading_km`, `thecarg_db`.`cg_tbl_vehicles_master`.`vehicle_image`, `thecarg_db`.`cg_tbl_vehicles_master`.`vehicle_rc_img`, `thecarg_db`.`cg_tbl_vehicles_master`.`vehicle_class_id`, `thecarg_db`.`cg_tbl_vehicles_master`.`vehicle_fuel_type_id` FROM `thecarg_db`.`cg_tbl_vehicles_master` WHERE (`thecarg_db`.`cg_tbl_vehicles_master`.`user_id` = ? AND `thecarg_db`.`cg_tbl_vehicles_master`.`user_role_id` = ? AND `thecarg_db`.`cg_tbl_vehicles_master`.`deleted_status` = ? AND `thecarg_db`.`cg_tbl_vehicles_master`.`status` = ?) ORDER BY `thecarg_db`.`cg_tbl_vehicles_master`.`id` DESC LIMIT ? OFFSET ?
prisma:query SELECT `thecarg_db`.`cg_tbl_vehicle_classes`.`id`, `thecarg_db`.`cg_tbl_vehicle_classes`.`name`, `thecarg_db`.`cg_tbl_vehicle_classes`.`slug` FROM `thecarg_db`.`cg_tbl_vehicle_classes` WHERE `thecarg_db`.`cg_tbl_vehicle_classes`.`id` IN (?,?)
prisma:query SELECT `thecarg_db`.`cg_tbl_vehicle_fuel_types`.`id`, `thecarg_db`.`cg_tbl_vehicle_fuel_types`.`name`, `thecarg_db`.`cg_tbl_vehicle_fuel_types`.`slug` FROM `thecarg_db`.`cg_tbl_vehicle_fuel_types` WHERE `thecarg_db`.`cg_tbl_vehicle_fuel_types`.`id` IN (?,?)
prisma:query BEGIN
prisma:query SELECT `thecarg_db`.`cg_tbl_customers`.`id` FROM `thecarg_db`.`cg_tbl_customers` WHERE (`thecarg_db`.`cg_tbl_customers`.`id` = ? AND 1=1)
prisma:query SELECT `thecarg_db`.`cg_tbl_zones`.`id` FROM `thecarg_db`.`cg_tbl_zones` WHERE (`thecarg_db`.`cg_tbl_zones`.`id` IN (?) AND `thecarg_db`.`cg_tbl_zones`.`status` = ?)
prisma:query SELECT `thecarg_db`.`cg_tbl_zones`.`id` FROM `thecarg_db`.`cg_tbl_zones` WHERE (`thecarg_db`.`cg_tbl_zones`.`id` IN (?) AND `thecarg_db`.`cg_tbl_zones`.`status` = ?)
prisma:query UPDATE `thecarg_db`.`cg_tbl_customers` SET `fcm_token` = ?, `updated_at` = ? WHERE (`thecarg_db`.`cg_tbl_customers`.`id` IN (?) AND (`thecarg_db`.`cg_tbl_customers`.`id` = ? AND 1=1))
prisma:query SELECT `thecarg_db`.`cg_tbl_customers`.`id`, `thecarg_db`.`cg_tbl_customers`.`full_name`, `thecarg_db`.`cg_tbl_customers`.`mobile`, `thecarg_db`.`cg_tbl_customers`.`email`, `thecarg_db`.`cg_tbl_customers`.`profile_photo_file`, `thecarg_db`.`cg_tbl_customers`.`status`, `thecarg_db`.`cg_tbl_customers`.`created_at`, `thecarg_db`.`cg_tbl_customers`.`updated_at`, `thecarg_db`.`cg_tbl_customers`.`date_of_birth`, `thecarg_db`.`cg_tbl_customers`.`fcm_token`, `thecarg_db`.`cg_tbl_customers`.`marriage_date`, `thecarg_db`.`cg_tbl_customers`.`ref_code`, `thecarg_db`.`cg_tbl_customers`.`referred_by` FROM `thecarg_db`.`cg_tbl_customers` WHERE `thecarg_db`.`cg_tbl_customers`.`id` = ? LIMIT ? OFFSET ?
prisma:query COMMIT
prisma:query SELECT `thecarg_db`.`cg_tbl_sellers`.`id`, `thecarg_db`.`cg_tbl_sellers`.`status`, `thecarg_db`.`cg_tbl_sellers`.`operating_hours`, `thecarg_db`.`cg_tbl_sellers`.`zone` FROM `thecarg_db`.`cg_tbl_sellers` WHERE `thecarg_db`.`cg_tbl_sellers`.`status` = ?
prisma:query SELECT `thecarg_db`.`cg_tbl_sellers`.`id`, `thecarg_db`.`cg_tbl_sellers`.`status`, `thecarg_db`.`cg_tbl_sellers`.`operating_hours`, `thecarg_db`.`cg_tbl_sellers`.`zone` FROM `thecarg_db`.`cg_tbl_sellers` WHERE `thecarg_db`.`cg_tbl_sellers`.`status` = ?
prisma:query SELECT COUNT(*) FROM (SELECT `thecarg_db`.`cg_tbl_categories`.`id` FROM `thecarg_db`.`cg_tbl_categories` WHERE (`thecarg_db`.`cg_tbl_categories`.`status` = ? AND (`thecarg_db`.`cg_tbl_categories`.`is_accident` = ? OR (`thecarg_db`.`cg_tbl_categories`.`id`) IN (SELECT `t1`.`category_id` FROM `thecarg_db`.`cg_tbl_category_sub_category_setup` AS `t1` LEFT JOIN `thecarg_db`.`cg_tbl_sub_categories` AS `j2` ON (`j2`.`id`) = (`t1`.`sub_category_id`) WHERE (`t1`.`status` = ? AND (`j2`.`status` = ? AND (`j2`.`id` IS NOT NULL)) AND `t1`.`category_id` IS NOT NULL))))) AS `sub`
prisma:query SELECT `thecarg_db`.`cg_tbl_categories`.`id`, `thecarg_db`.`cg_tbl_categories`.`category_name`, `thecarg_db`.`cg_tbl_categories`.`category_image`, `thecarg_db`.`cg_tbl_categories`.`is_accident` FROM `thecarg_db`.`cg_tbl_categories` WHERE (`thecarg_db`.`cg_tbl_categories`.`status` = ? AND (`thecarg_db`.`cg_tbl_categories`.`is_accident` = ? OR (`thecarg_db`.`cg_tbl_categories`.`id`) IN (SELECT `t1`.`category_id` FROM `thecarg_db`.`cg_tbl_category_sub_category_setup` AS `t1` LEFT JOIN `thecarg_db`.`cg_tbl_sub_categories` AS `j2` ON (`j2`.`id`) = (`t1`.`sub_category_id`) WHERE (`t1`.`status` = ? AND (`j2`.`status` = ? AND (`j2`.`id` IS NOT NULL)) AND `t1`.`category_id` IS NOT NULL)))) ORDER BY `thecarg_db`.`cg_tbl_categories`.`id` ASC LIMIT ? OFFSET ?
prisma:query SELECT `thecarg_db`.`cg_tbl_category_sub_category_setup`.`id`, `thecarg_db`.`cg_tbl_category_sub_category_setup`.`sub_category_id`, `thecarg_db`.`cg_tbl_category_sub_category_setup`.`category_id` FROM `thecarg_db`.`cg_tbl_category_sub_category_setup` LEFT JOIN `thecarg_db`.`cg_tbl_sub_categories` AS `j1` ON (`j1`.`id`) = (`thecarg_db`.`cg_tbl_category_sub_category_setup`.`sub_category_id`) WHERE ((`thecarg_db`.`cg_tbl_category_sub_category_setup`.`status` = ? AND (`j1`.`status` = ? AND (`j1`.`id` IS NOT NULL))) AND `thecarg_db`.`cg_tbl_category_sub_category_setup`.`category_id` IN (?,?,?,?,?,?,?,?))
[2026-06-24T11:33:48.104Z] [INFO]: [ZONE_RESOLVE] Resolving zone for coordinates: (13.07281264, 80.19470259)
--------------------------------------------------

prisma:query SELECT id, status, zone_name AS zoneName, zone_code AS zoneCode, ABS(ST_Area(coordinates)) as area 
       FROM cg_tbl_zones 
       WHERE ST_Contains(coordinates, ST_GeomFromText(?))
       ORDER BY area ASC
[2026-06-24T11:33:48.249Z] [INFO]: [BANNERS] Fetching banners for zoneIds: [13]
--------------------------------------------------

prisma:query 
      SELECT 
        'admin_banner' AS bannerSource,
        b.id,
        b.title,
        b.banner_image AS bannerImage,
        NULL AS userId,
        NULL AS userRoleId,
        NULL AS productId,
        b.created_at AS createdAt
      FROM cg_tbl_banners b
      WHERE b.status = 1 
        AND b.zone_id IN (?)

      UNION ALL

      SELECT 
        'advertisement' AS bannerSource,
        a.id,
        a.title,
        a.banner_image AS bannerImage,
        a.user_id AS userId,
        a.user_role_id AS userRoleId,
        a.product_id AS productId,
        a.created_at AS createdAt
      FROM cg_tbl_advertisements a
      WHERE a.status = 1 
        AND a.advertisement_type = 'banner'
        AND a.approval_status = 'approved'
        AND a.payment_status = 'paid'
        AND NOW() BETWEEN a.from_date AND a.to_date
        AND a.zone_id IN (?)
      ORDER BY createdAt DESC
    
[2026-06-24T11:33:51.534Z] [INFO]: [ZONE_RESOLVE] Resolving zone for coordinates: (13.07281264, 80.19470259)
--------------------------------------------------

prisma:query SELECT id, status, zone_name AS zoneName, zone_code AS zoneCode, ABS(ST_Area(coordinates)) as area 
       FROM cg_tbl_zones 
       WHERE ST_Contains(coordinates, ST_GeomFromText(?))
       ORDER BY area ASC
[2026-06-24T11:33:51.922Z] [INFO]: [BANNERS] Fetching banners for zoneIds: [13]
--------------------------------------------------

prisma:query 
      SELECT 
        'admin_banner' AS bannerSource,
        b.id,
        b.title,
        b.banner_image AS bannerImage,
        NULL AS userId,
        NULL AS userRoleId,
        NULL AS productId,
        b.created_at AS createdAt
      FROM cg_tbl_banners b
      WHERE b.status = 1 
        AND b.zone_id IN (?)

      UNION ALL

      SELECT 
        'advertisement' AS bannerSource,
        a.id,
        a.title,
        a.banner_image AS bannerImage,
        a.user_id AS userId,
        a.user_role_id AS userRoleId,
        a.product_id AS productId,
        a.created_at AS createdAt
      FROM cg_tbl_advertisements a
      WHERE a.status = 1 
        AND a.advertisement_type = 'banner'
        AND a.approval_status = 'approved'
        AND a.payment_status = 'paid'
        AND NOW() BETWEEN a.from_date AND a.to_date
        AND a.zone_id IN (?)
      ORDER BY createdAt DESC
    
prisma:query SELECT 1
prisma:query SELECT 1
prisma:query SELECT 1
prisma:query SELECT 1
prisma:query SELECT `thecarg_db`.`cg_tbl_business_settings`.`id`, `thecarg_db`.`cg_tbl_business_settings`.`key`, `thecarg_db`.`cg_tbl_business_settings`.`value`, `thecarg_db`.`cg_tbl_business_settings`.`created_at`, `thecarg_db`.`cg_tbl_business_settings`.`updated_at` FROM `thecarg_db`.`cg_tbl_business_settings` WHERE `thecarg_db`.`cg_tbl_business_settings`.`key` IN (?,?,?,?)
prisma:query SELECT `thecarg_db`.`cg_tbl_vehicle_classes`.`id`, `thecarg_db`.`cg_tbl_vehicle_classes`.`name`, `thecarg_db`.`cg_tbl_vehicle_classes`.`slug` FROM `thecarg_db`.`cg_tbl_vehicle_classes` WHERE `thecarg_db`.`cg_tbl_vehicle_classes`.`status` = ? ORDER BY `thecarg_db`.`cg_tbl_vehicle_classes`.`name` ASC
prisma:query SELECT `thecarg_db`.`cg_tbl_gig_reasons`.`id`, `thecarg_db`.`cg_tbl_gig_reasons`.`reason` FROM `thecarg_db`.`cg_tbl_gig_reasons` WHERE `thecarg_db`.`cg_tbl_gig_reasons`.`status` = ? ORDER BY `thecarg_db`.`cg_tbl_gig_reasons`.`id` ASC
prisma:query SELECT `thecarg_db`.`cg_tbl_vehicle_fuel_types`.`id`, `thecarg_db`.`cg_tbl_vehicle_fuel_types`.`name`, `thecarg_db`.`cg_tbl_vehicle_fuel_types`.`slug` FROM `thecarg_db`.`cg_tbl_vehicle_fuel_types` WHERE `thecarg_db`.`cg_tbl_vehicle_fuel_types`.`status` = ? ORDER BY `thecarg_db`.`cg_tbl_vehicle_fuel_types`.`name` ASC
prisma:query SELECT `thecarg_db`.`cg_tbl_customers`.`id`, `thecarg_db`.`cg_tbl_customers`.`full_name`, `thecarg_db`.`cg_tbl_customers`.`mobile`, `thecarg_db`.`cg_tbl_customers`.`email`, `thecarg_db`.`cg_tbl_customers`.`profile_photo_file`, `thecarg_db`.`cg_tbl_customers`.`status`, `thecarg_db`.`cg_tbl_customers`.`created_at`, `thecarg_db`.`cg_tbl_customers`.`updated_at`, `thecarg_db`.`cg_tbl_customers`.`date_of_birth`, `thecarg_db`.`cg_tbl_customers`.`fcm_token`, `thecarg_db`.`cg_tbl_customers`.`marriage_date`, `thecarg_db`.`cg_tbl_customers`.`ref_code`, `thecarg_db`.`cg_tbl_customers`.`referred_by` FROM `thecarg_db`.`cg_tbl_customers` WHERE `thecarg_db`.`cg_tbl_customers`.`id` = ? LIMIT ? OFFSET ?
prisma:query SELECT `thecarg_db`.`cg_tbl_business_settings`.`id`, `thecarg_db`.`cg_tbl_business_settings`.`key`, `thecarg_db`.`cg_tbl_business_settings`.`value`, `thecarg_db`.`cg_tbl_business_settings`.`created_at`, `thecarg_db`.`cg_tbl_business_settings`.`updated_at` FROM `thecarg_db`.`cg_tbl_business_settings` WHERE (`thecarg_db`.`cg_tbl_business_settings`.`key` = ? AND 1=1) LIMIT ? OFFSET ?
prisma:query SELECT `thecarg_db`.`cg_tbl_business_settings`.`id`, `thecarg_db`.`cg_tbl_business_settings`.`key`, `thecarg_db`.`cg_tbl_business_settings`.`value`, `thecarg_db`.`cg_tbl_business_settings`.`created_at`, `thecarg_db`.`cg_tbl_business_settings`.`updated_at` FROM `thecarg_db`.`cg_tbl_business_settings` WHERE (`thecarg_db`.`cg_tbl_business_settings`.`key` = ? AND 1=1) LIMIT ? OFFSET ?
prisma:query SELECT `thecarg_db`.`cg_tbl_customers`.`id`, `thecarg_db`.`cg_tbl_customers`.`full_name`, `thecarg_db`.`cg_tbl_customers`.`mobile`, `thecarg_db`.`cg_tbl_customers`.`email`, `thecarg_db`.`cg_tbl_customers`.`profile_photo_file`, `thecarg_db`.`cg_tbl_customers`.`status`, `thecarg_db`.`cg_tbl_customers`.`created_at`, `thecarg_db`.`cg_tbl_customers`.`updated_at`, `thecarg_db`.`cg_tbl_customers`.`date_of_birth`, `thecarg_db`.`cg_tbl_customers`.`fcm_token`, `thecarg_db`.`cg_tbl_customers`.`marriage_date`, `thecarg_db`.`cg_tbl_customers`.`ref_code`, `thecarg_db`.`cg_tbl_customers`.`referred_by` FROM `thecarg_db`.`cg_tbl_customers` WHERE (`thecarg_db`.`cg_tbl_customers`.`id` = ? AND 1=1) LIMIT ? OFFSET ?
prisma:query SELECT 1
prisma:query SELECT 1
prisma:query SELECT `thecarg_db`.`cg_tbl_business_settings`.`id`, `thecarg_db`.`cg_tbl_business_settings`.`key`, `thecarg_db`.`cg_tbl_business_settings`.`value`, `thecarg_db`.`cg_tbl_business_settings`.`created_at`, `thecarg_db`.`cg_tbl_business_settings`.`updated_at` FROM `thecarg_db`.`cg_tbl_business_settings` WHERE (`thecarg_db`.`cg_tbl_business_settings`.`key` = ? AND 1=1) LIMIT ? OFFSET ?
prisma:query SELECT 1
prisma:query SELECT 1
prisma:query SELECT `thecarg_db`.`cg_tbl_customers`.`id`, `thecarg_db`.`cg_tbl_customers`.`full_name`, `thecarg_db`.`cg_tbl_customers`.`mobile`, `thecarg_db`.`cg_tbl_customers`.`email`, `thecarg_db`.`cg_tbl_customers`.`profile_photo_file`, `thecarg_db`.`cg_tbl_customers`.`status`, `thecarg_db`.`cg_tbl_customers`.`created_at`, `thecarg_db`.`cg_tbl_customers`.`updated_at`, `thecarg_db`.`cg_tbl_customers`.`date_of_birth`, `thecarg_db`.`cg_tbl_customers`.`fcm_token`, `thecarg_db`.`cg_tbl_customers`.`marriage_date`, `thecarg_db`.`cg_tbl_customers`.`ref_code`, `thecarg_db`.`cg_tbl_customers`.`referred_by` FROM `thecarg_db`.`cg_tbl_customers` WHERE (`thecarg_db`.`cg_tbl_customers`.`id` = ? AND 1=1) LIMIT ? OFFSET ?
prisma:query SELECT 1
prisma:query SELECT `thecarg_db`.`cg_tbl_business_settings`.`id`, `thecarg_db`.`cg_tbl_business_settings`.`key`, `thecarg_db`.`cg_tbl_business_settings`.`value`, `thecarg_db`.`cg_tbl_business_settings`.`created_at`, `thecarg_db`.`cg_tbl_business_settings`.`updated_at` FROM `thecarg_db`.`cg_tbl_business_settings` WHERE `thecarg_db`.`cg_tbl_business_settings`.`key` IN (?,?,?,?)
prisma:query SELECT `thecarg_db`.`cg_tbl_vehicle_fuel_types`.`id`, `thecarg_db`.`cg_tbl_vehicle_fuel_types`.`name`, `thecarg_db`.`cg_tbl_vehicle_fuel_types`.`slug` FROM `thecarg_db`.`cg_tbl_vehicle_fuel_types` WHERE `thecarg_db`.`cg_tbl_vehicle_fuel_types`.`status` = ? ORDER BY `thecarg_db`.`cg_tbl_vehicle_fuel_types`.`name` ASC
prisma:query SELECT `thecarg_db`.`cg_tbl_gig_reasons`.`id`, `thecarg_db`.`cg_tbl_gig_reasons`.`reason` FROM `thecarg_db`.`cg_tbl_gig_reasons` WHERE `thecarg_db`.`cg_tbl_gig_reasons`.`status` = ? ORDER BY `thecarg_db`.`cg_tbl_gig_reasons`.`id` ASC
prisma:query SELECT `thecarg_db`.`cg_tbl_vehicle_classes`.`id`, `thecarg_db`.`cg_tbl_vehicle_classes`.`name`, `thecarg_db`.`cg_tbl_vehicle_classes`.`slug` FROM `thecarg_db`.`cg_tbl_vehicle_classes` WHERE `thecarg_db`.`cg_tbl_vehicle_classes`.`status` = ? ORDER BY `thecarg_db`.`cg_tbl_vehicle_classes`.`name` ASC
prisma:query SELECT `thecarg_db`.`cg_tbl_customers`.`id`, `thecarg_db`.`cg_tbl_customers`.`full_name`, `thecarg_db`.`cg_tbl_customers`.`mobile`, `thecarg_db`.`cg_tbl_customers`.`email`, `thecarg_db`.`cg_tbl_customers`.`profile_photo_file`, `thecarg_db`.`cg_tbl_customers`.`status`, `thecarg_db`.`cg_tbl_customers`.`created_at`, `thecarg_db`.`cg_tbl_customers`.`updated_at`, `thecarg_db`.`cg_tbl_customers`.`date_of_birth`, `thecarg_db`.`cg_tbl_customers`.`fcm_token`, `thecarg_db`.`cg_tbl_customers`.`marriage_date`, `thecarg_db`.`cg_tbl_customers`.`ref_code`, `thecarg_db`.`cg_tbl_customers`.`referred_by` FROM `thecarg_db`.`cg_tbl_customers` WHERE (`thecarg_db`.`cg_tbl_customers`.`id` = ? AND 1=1) LIMIT ? OFFSET ?
prisma:query SELECT COUNT(*) FROM (SELECT `thecarg_db`.`cg_table_tutorials`.`id` FROM `thecarg_db`.`cg_table_tutorials` WHERE (`thecarg_db`.`cg_table_tutorials`.`role_id` = ? AND `thecarg_db`.`cg_table_tutorials`.`status` = ?)) AS `sub`
prisma:query SELECT `thecarg_db`.`cg_table_tutorials`.`id`, `thecarg_db`.`cg_table_tutorials`.`role_id`, `thecarg_db`.`cg_table_tutorials`.`youtube_url`, `thecarg_db`.`cg_table_tutorials`.`status`, `thecarg_db`.`cg_table_tutorials`.`created_at`, `thecarg_db`.`cg_table_tutorials`.`created_by`, `thecarg_db`.`cg_table_tutorials`.`updated_at` FROM `thecarg_db`.`cg_table_tutorials` WHERE (`thecarg_db`.`cg_table_tutorials`.`role_id` = ? AND `thecarg_db`.`cg_table_tutorials`.`status` = ?) ORDER BY `thecarg_db`.`cg_table_tutorials`.`created_at` DESC LIMIT ? OFFSET ?
prisma:query BEGIN
prisma:query SELECT `thecarg_db`.`cg_tbl_customers`.`id` FROM `thecarg_db`.`cg_tbl_customers` WHERE (`thecarg_db`.`cg_tbl_customers`.`id` = ? AND 1=1)
prisma:query UPDATE `thecarg_db`.`cg_tbl_customers` SET `fcm_token` = ?, `updated_at` = ? WHERE (`thecarg_db`.`cg_tbl_customers`.`id` IN (?) AND (`thecarg_db`.`cg_tbl_customers`.`id` = ? AND 1=1))
prisma:query SELECT `thecarg_db`.`cg_tbl_customers`.`id`, `thecarg_db`.`cg_tbl_customers`.`full_name`, `thecarg_db`.`cg_tbl_customers`.`mobile`, `thecarg_db`.`cg_tbl_customers`.`email`, `thecarg_db`.`cg_tbl_customers`.`profile_photo_file`, `thecarg_db`.`cg_tbl_customers`.`status`, `thecarg_db`.`cg_tbl_customers`.`created_at`, `thecarg_db`.`cg_tbl_customers`.`updated_at`, `thecarg_db`.`cg_tbl_customers`.`date_of_birth`, `thecarg_db`.`cg_tbl_customers`.`fcm_token`, `thecarg_db`.`cg_tbl_customers`.`marriage_date`, `thecarg_db`.`cg_tbl_customers`.`ref_code`, `thecarg_db`.`cg_tbl_customers`.`referred_by` FROM `thecarg_db`.`cg_tbl_customers` WHERE `thecarg_db`.`cg_tbl_customers`.`id` = ? LIMIT ? OFFSET ?
prisma:query SELECT `thecarg_db`.`cg_tbl_coupons`.`id`, `thecarg_db`.`cg_tbl_coupons`.`coupon_code`, `thecarg_db`.`cg_tbl_coupons`.`title`, `thecarg_db`.`cg_tbl_coupons`.`coupon_type`, `thecarg_db`.`cg_tbl_coupons`.`applicable_user_type`, `thecarg_db`.`cg_tbl_coupons`.`user_eligibility`, `thecarg_db`.`cg_tbl_coupons`.`discount_value`, `thecarg_db`.`cg_tbl_coupons`.`max_discount`, `thecarg_db`.`cg_tbl_coupons`.`min_order_value`, `thecarg_db`.`cg_tbl_coupons`.`valid_from`, `thecarg_db`.`cg_tbl_coupons`.`valid_to`, `thecarg_db`.`cg_tbl_coupons`.`total_usage_limit`, `thecarg_db`.`cg_tbl_coupons`.`total_uses`, `thecarg_db`.`cg_tbl_coupons`.`usage_per_user`, `thecarg_db`.`cg_tbl_coupons`.`category_restrictions`, `thecarg_db`.`cg_tbl_coupons`.`allow_stacking`, `thecarg_db`.`cg_tbl_coupons`.`module_type`, `thecarg_db`.`cg_tbl_coupons`.`zone_ids`, `thecarg_db`.`cg_tbl_coupons`.`vendor_id`, `thecarg_db`.`cg_tbl_coupons`.`created_at` FROM `thecarg_db`.`cg_tbl_coupons` WHERE (`thecarg_db`.`cg_tbl_coupons`.`status` = ? AND `thecarg_db`.`cg_tbl_coupons`.`applicable_user_type` IN (?,?) AND (`thecarg_db`.`cg_tbl_coupons`.`valid_from` IS NULL OR `thecarg_db`.`cg_tbl_coupons`.`valid_from` <= ?) AND (`thecarg_db`.`cg_tbl_coupons`.`valid_to` IS NULL OR `thecarg_db`.`cg_tbl_coupons`.`valid_to` >= ?)) ORDER BY `thecarg_db`.`cg_tbl_coupons`.`created_at` DESC
prisma:query COMMIT
prisma:query SELECT COUNT(*) FROM (SELECT `thecarg_db`.`cg_tbl_user_notifications`.`id` FROM `thecarg_db`.`cg_tbl_user_notifications` WHERE (`thecarg_db`.`cg_tbl_user_notifications`.`user_id` = ? AND `thecarg_db`.`cg_tbl_user_notifications`.`user_role_id` = ? AND `thecarg_db`.`cg_tbl_user_notifications`.`platform` = ?)) AS `sub`
prisma:query SELECT `thecarg_db`.`cg_tbl_user_notifications`.`id`, `thecarg_db`.`cg_tbl_user_notifications`.`user_id`, `thecarg_db`.`cg_tbl_user_notifications`.`user_role_id`, `thecarg_db`.`cg_tbl_user_notifications`.`data`, `thecarg_db`.`cg_tbl_user_notifications`.`platform`, `thecarg_db`.`cg_tbl_user_notifications`.`is_read`, `thecarg_db`.`cg_tbl_user_notifications`.`created_at` FROM `thecarg_db`.`cg_tbl_user_notifications` WHERE (`thecarg_db`.`cg_tbl_user_notifications`.`user_id` = ? AND `thecarg_db`.`cg_tbl_user_notifications`.`user_role_id` = ? AND `thecarg_db`.`cg_tbl_user_notifications`.`platform` = ?) ORDER BY `thecarg_db`.`cg_tbl_user_notifications`.`created_at` DESC LIMIT ? OFFSET ?
prisma:query SELECT `thecarg_db`.`cg_tbl_categories`.`id`, `thecarg_db`.`cg_tbl_categories`.`category_name` FROM `thecarg_db`.`cg_tbl_categories` WHERE `thecarg_db`.`cg_tbl_categories`.`id` IN (?,?,?,?,?,?)
prisma:query SELECT COUNT(*) FROM (SELECT `thecarg_db`.`cg_tbl_user_addresses`.`id` FROM `thecarg_db`.`cg_tbl_user_addresses` WHERE (`thecarg_db`.`cg_tbl_user_addresses`.`user_id` = ? AND `thecarg_db`.`cg_tbl_user_addresses`.`role_id` = ? AND `thecarg_db`.`cg_tbl_user_addresses`.`status` = ?)) AS `sub`
prisma:query SELECT COUNT(*) FROM (SELECT `thecarg_db`.`cg_tbl_user_addresses`.`id` FROM `thecarg_db`.`cg_tbl_user_addresses` WHERE (`thecarg_db`.`cg_tbl_user_addresses`.`user_id` = ? AND `thecarg_db`.`cg_tbl_user_addresses`.`role_id` = ? AND `thecarg_db`.`cg_tbl_user_addresses`.`status` = ?)) AS `sub`
prisma:query SELECT COUNT(*) FROM (SELECT `thecarg_db`.`cg_tbl_vehicles_master`.`id` FROM `thecarg_db`.`cg_tbl_vehicles_master` WHERE (`thecarg_db`.`cg_tbl_vehicles_master`.`user_id` = ? AND `thecarg_db`.`cg_tbl_vehicles_master`.`user_role_id` = ? AND `thecarg_db`.`cg_tbl_vehicles_master`.`deleted_status` = ? AND `thecarg_db`.`cg_tbl_vehicles_master`.`status` = ?)) AS `sub`
prisma:query SELECT `thecarg_db`.`cg_tbl_vehicles_master`.`id`, `thecarg_db`.`cg_tbl_vehicles_master`.`vehicle_no`, `thecarg_db`.`cg_tbl_vehicles_master`.`make`, `thecarg_db`.`cg_tbl_vehicles_master`.`model`, `thecarg_db`.`cg_tbl_vehicles_master`.`year`, `thecarg_db`.`cg_tbl_vehicles_master`.`chassis_no`, `thecarg_db`.`cg_tbl_vehicles_master`.`odometer_reading_km`, `thecarg_db`.`cg_tbl_vehicles_master`.`vehicle_image`, `thecarg_db`.`cg_tbl_vehicles_master`.`vehicle_rc_img`, `thecarg_db`.`cg_tbl_vehicles_master`.`vehicle_class_id`, `thecarg_db`.`cg_tbl_vehicles_master`.`vehicle_fuel_type_id` FROM `thecarg_db`.`cg_tbl_vehicles_master` WHERE (`thecarg_db`.`cg_tbl_vehicles_master`.`user_id` = ? AND `thecarg_db`.`cg_tbl_vehicles_master`.`user_role_id` = ? AND `thecarg_db`.`cg_tbl_vehicles_master`.`deleted_status` = ? AND `thecarg_db`.`cg_tbl_vehicles_master`.`status` = ?) ORDER BY `thecarg_db`.`cg_tbl_vehicles_master`.`id` DESC LIMIT ? OFFSET ?
prisma:query SELECT `thecarg_db`.`cg_tbl_user_addresses`.`id`, `thecarg_db`.`cg_tbl_user_addresses`.`user_id`, `thecarg_db`.`cg_tbl_user_addresses`.`role_id`, `thecarg_db`.`cg_tbl_user_addresses`.`address_title`, `thecarg_db`.`cg_tbl_user_addresses`.`contact_name`, `thecarg_db`.`cg_tbl_user_addresses`.`phone_number`, `thecarg_db`.`cg_tbl_user_addresses`.`flat_house_no`, `thecarg_db`.`cg_tbl_user_addresses`.`area_locality`, `thecarg_db`.`cg_tbl_user_addresses`.`landmark`, `thecarg_db`.`cg_tbl_user_addresses`.`pincode`, `thecarg_db`.`cg_tbl_user_addresses`.`city`, `thecarg_db`.`cg_tbl_user_addresses`.`state`, `thecarg_db`.`cg_tbl_user_addresses`.`latitude`, `thecarg_db`.`cg_tbl_user_addresses`.`longitude`, `thecarg_db`.`cg_tbl_user_addresses`.`full_address`, `thecarg_db`.`cg_tbl_user_addresses`.`is_default`, `thecarg_db`.`cg_tbl_user_addresses`.`status`, `thecarg_db`.`cg_tbl_user_addresses`.`created_at`, `thecarg_db`.`cg_tbl_user_addresses`.`updated_at` FROM `thecarg_db`.`cg_tbl_user_addresses` WHERE (`thecarg_db`.`cg_tbl_user_addresses`.`user_id` = ? AND `thecarg_db`.`cg_tbl_user_addresses`.`role_id` = ? AND `thecarg_db`.`cg_tbl_user_addresses`.`status` = ?) ORDER BY `thecarg_db`.`cg_tbl_user_addresses`.`is_default` DESC, `thecarg_db`.`cg_tbl_user_addresses`.`id` DESC LIMIT ? OFFSET ?
prisma:query SELECT `thecarg_db`.`cg_tbl_vehicle_classes`.`id`, `thecarg_db`.`cg_tbl_vehicle_classes`.`name`, `thecarg_db`.`cg_tbl_vehicle_classes`.`slug` FROM `thecarg_db`.`cg_tbl_vehicle_classes` WHERE `thecarg_db`.`cg_tbl_vehicle_classes`.`id` IN (?,?)
prisma:query SELECT `thecarg_db`.`cg_tbl_user_addresses`.`id`, `thecarg_db`.`cg_tbl_user_addresses`.`user_id`, `thecarg_db`.`cg_tbl_user_addresses`.`role_id`, `thecarg_db`.`cg_tbl_user_addresses`.`address_title`, `thecarg_db`.`cg_tbl_user_addresses`.`contact_name`, `thecarg_db`.`cg_tbl_user_addresses`.`phone_number`, `thecarg_db`.`cg_tbl_user_addresses`.`flat_house_no`, `thecarg_db`.`cg_tbl_user_addresses`.`area_locality`, `thecarg_db`.`cg_tbl_user_addresses`.`landmark`, `thecarg_db`.`cg_tbl_user_addresses`.`pincode`, `thecarg_db`.`cg_tbl_user_addresses`.`city`, `thecarg_db`.`cg_tbl_user_addresses`.`state`, `thecarg_db`.`cg_tbl_user_addresses`.`latitude`, `thecarg_db`.`cg_tbl_user_addresses`.`longitude`, `thecarg_db`.`cg_tbl_user_addresses`.`full_address`, `thecarg_db`.`cg_tbl_user_addresses`.`is_default`, `thecarg_db`.`cg_tbl_user_addresses`.`status`, `thecarg_db`.`cg_tbl_user_addresses`.`created_at`, `thecarg_db`.`cg_tbl_user_addresses`.`updated_at` FROM `thecarg_db`.`cg_tbl_user_addresses` WHERE (`thecarg_db`.`cg_tbl_user_addresses`.`user_id` = ? AND `thecarg_db`.`cg_tbl_user_addresses`.`role_id` = ? AND `thecarg_db`.`cg_tbl_user_addresses`.`status` = ?) ORDER BY `thecarg_db`.`cg_tbl_user_addresses`.`is_default` DESC, `thecarg_db`.`cg_tbl_user_addresses`.`id` DESC LIMIT ? OFFSET ?
prisma:query SELECT `thecarg_db`.`cg_tbl_vehicle_fuel_types`.`id`, `thecarg_db`.`cg_tbl_vehicle_fuel_types`.`name`, `thecarg_db`.`cg_tbl_vehicle_fuel_types`.`slug` FROM `thecarg_db`.`cg_tbl_vehicle_fuel_types` WHERE `thecarg_db`.`cg_tbl_vehicle_fuel_types`.`id` IN (?,?)
prisma:query SELECT COUNT(*) FROM (SELECT `thecarg_db`.`cg_tbl_categories`.`id` FROM `thecarg_db`.`cg_tbl_categories` WHERE (`thecarg_db`.`cg_tbl_categories`.`status` = ? AND (`thecarg_db`.`cg_tbl_categories`.`is_accident` = ? OR (`thecarg_db`.`cg_tbl_categories`.`id`) IN (SELECT `t1`.`category_id` FROM `thecarg_db`.`cg_tbl_category_sub_category_setup` AS `t1` LEFT JOIN `thecarg_db`.`cg_tbl_sub_categories` AS `j2` ON (`j2`.`id`) = (`t1`.`sub_category_id`) WHERE (`t1`.`status` = ? AND (`j2`.`status` = ? AND (`j2`.`id` IS NOT NULL)) AND `t1`.`service_type` IN (?,?) AND `t1`.`category_id` IS NOT NULL))))) AS `sub`
prisma:query SELECT `thecarg_db`.`cg_tbl_categories`.`id`, `thecarg_db`.`cg_tbl_categories`.`category_name`, `thecarg_db`.`cg_tbl_categories`.`category_image`, `thecarg_db`.`cg_tbl_categories`.`is_accident` FROM `thecarg_db`.`cg_tbl_categories` WHERE (`thecarg_db`.`cg_tbl_categories`.`status` = ? AND (`thecarg_db`.`cg_tbl_categories`.`is_accident` = ? OR (`thecarg_db`.`cg_tbl_categories`.`id`) IN (SELECT `t1`.`category_id` FROM `thecarg_db`.`cg_tbl_category_sub_category_setup` AS `t1` LEFT JOIN `thecarg_db`.`cg_tbl_sub_categories` AS `j2` ON (`j2`.`id`) = (`t1`.`sub_category_id`) WHERE (`t1`.`status` = ? AND (`j2`.`status` = ? AND (`j2`.`id` IS NOT NULL)) AND `t1`.`category_id` IS NOT NULL)))) ORDER BY `thecarg_db`.`cg_tbl_categories`.`id` ASC LIMIT ? OFFSET ?
prisma:query SELECT COUNT(*) FROM (SELECT `thecarg_db`.`cg_tbl_categories`.`id` FROM `thecarg_db`.`cg_tbl_categories` WHERE (`thecarg_db`.`cg_tbl_categories`.`status` = ? AND (`thecarg_db`.`cg_tbl_categories`.`is_accident` = ? OR (`thecarg_db`.`cg_tbl_categories`.`id`) IN (SELECT `t1`.`category_id` FROM `thecarg_db`.`cg_tbl_category_sub_category_setup` AS `t1` LEFT JOIN `thecarg_db`.`cg_tbl_sub_categories` AS `j2` ON (`j2`.`id`) = (`t1`.`sub_category_id`) WHERE (`t1`.`status` = ? AND (`j2`.`status` = ? AND (`j2`.`id` IS NOT NULL)) AND `t1`.`category_id` IS NOT NULL))))) AS `sub`
prisma:query SELECT `thecarg_db`.`cg_tbl_categories`.`id`, `thecarg_db`.`cg_tbl_categories`.`category_name`, `thecarg_db`.`cg_tbl_categories`.`category_image`, `thecarg_db`.`cg_tbl_categories`.`is_accident` FROM `thecarg_db`.`cg_tbl_categories` WHERE (`thecarg_db`.`cg_tbl_categories`.`status` = ? AND (`thecarg_db`.`cg_tbl_categories`.`is_accident` = ? OR (`thecarg_db`.`cg_tbl_categories`.`id`) IN (SELECT `t1`.`category_id` FROM `thecarg_db`.`cg_tbl_category_sub_category_setup` AS `t1` LEFT JOIN `thecarg_db`.`cg_tbl_sub_categories` AS `j2` ON (`j2`.`id`) = (`t1`.`sub_category_id`) WHERE (`t1`.`status` = ? AND (`j2`.`status` = ? AND (`j2`.`id` IS NOT NULL)) AND `t1`.`service_type` IN (?,?) AND `t1`.`category_id` IS NOT NULL)))) ORDER BY `thecarg_db`.`cg_tbl_categories`.`id` ASC LIMIT ? OFFSET ?
prisma:query SELECT `thecarg_db`.`cg_tbl_category_sub_category_setup`.`id`, `thecarg_db`.`cg_tbl_category_sub_category_setup`.`sub_category_id`, `thecarg_db`.`cg_tbl_category_sub_category_setup`.`category_id` FROM `thecarg_db`.`cg_tbl_category_sub_category_setup` LEFT JOIN `thecarg_db`.`cg_tbl_sub_categories` AS `j1` ON (`j1`.`id`) = (`thecarg_db`.`cg_tbl_category_sub_category_setup`.`sub_category_id`) WHERE ((`thecarg_db`.`cg_tbl_category_sub_category_setup`.`status` = ? AND (`j1`.`status` = ? AND (`j1`.`id` IS NOT NULL))) AND `thecarg_db`.`cg_tbl_category_sub_category_setup`.`category_id` IN (?,?,?,?,?,?,?,?))
prisma:query SELECT `thecarg_db`.`cg_tbl_category_sub_category_setup`.`id`, `thecarg_db`.`cg_tbl_category_sub_category_setup`.`sub_category_id`, `thecarg_db`.`cg_tbl_category_sub_category_setup`.`category_id` FROM `thecarg_db`.`cg_tbl_category_sub_category_setup` LEFT JOIN `thecarg_db`.`cg_tbl_sub_categories` AS `j1` ON (`j1`.`id`) = (`thecarg_db`.`cg_tbl_category_sub_category_setup`.`sub_category_id`) WHERE ((`thecarg_db`.`cg_tbl_category_sub_category_setup`.`status` = ? AND (`j1`.`status` = ? AND (`j1`.`id` IS NOT NULL)) AND `thecarg_db`.`cg_tbl_category_sub_category_setup`.`service_type` IN (?,?)) AND `thecarg_db`.`cg_tbl_category_sub_category_setup`.`category_id` IN (?,?,?,?,?,?,?,?))
[2026-06-24T11:34:13.384Z] [INFO]: [ZONE_RESOLVE] Resolving zone for coordinates: (13.07281264, 80.19470259)
--------------------------------------------------

prisma:query SELECT id, status, zone_name AS zoneName, zone_code AS zoneCode, ABS(ST_Area(coordinates)) as area 
       FROM cg_tbl_zones 
       WHERE ST_Contains(coordinates, ST_GeomFromText(?))
       ORDER BY area ASC
[2026-06-24T11:34:13.417Z] [INFO]: [BANNERS] Fetching banners for zoneIds: [13]
--------------------------------------------------

prisma:query 
      SELECT 
        'admin_banner' AS bannerSource,
        b.id,
        b.title,
        b.banner_image AS bannerImage,
        NULL AS userId,
        NULL AS userRoleId,
        NULL AS productId,
        b.created_at AS createdAt
      FROM cg_tbl_banners b
      WHERE b.status = 1 
        AND b.zone_id IN (?)

      UNION ALL

      SELECT 
        'advertisement' AS bannerSource,
        a.id,
        a.title,
        a.banner_image AS bannerImage,
        a.user_id AS userId,
        a.user_role_id AS userRoleId,
        a.product_id AS productId,
        a.created_at AS createdAt
      FROM cg_tbl_advertisements a
      WHERE a.status = 1 
        AND a.advertisement_type = 'banner'
        AND a.approval_status = 'approved'
        AND a.payment_status = 'paid'
        AND NOW() BETWEEN a.from_date AND a.to_date
        AND a.zone_id IN (?)
      ORDER BY createdAt DESC
    
prisma:query SELECT `thecarg_db`.`cg_tbl_zones`.`id` FROM `thecarg_db`.`cg_tbl_zones` WHERE (`thecarg_db`.`cg_tbl_zones`.`id` IN (?,?) AND `thecarg_db`.`cg_tbl_zones`.`status` = ?)
prisma:query SELECT `thecarg_db`.`cg_tbl_sellers`.`id`, `thecarg_db`.`cg_tbl_sellers`.`status`, `thecarg_db`.`cg_tbl_sellers`.`operating_hours`, `thecarg_db`.`cg_tbl_sellers`.`zone` FROM `thecarg_db`.`cg_tbl_sellers` WHERE `thecarg_db`.`cg_tbl_sellers`.`status` = ?
prisma:query SELECT COUNT(`thecarg_db`.`cg_tbl_products`.`id`), `thecarg_db`.`cg_tbl_products`.`techdoc_brand_id`, `thecarg_db`.`cg_tbl_products`.`brand_name` FROM `thecarg_db`.`cg_tbl_products` WHERE (`thecarg_db`.`cg_tbl_products`.`status` = ? AND (`thecarg_db`.`cg_tbl_products`.`id`) IN (SELECT `t1`.`product_id` FROM `thecarg_db`.`cg_tbl_seller_products` AS `t1` WHERE (`t1`.`status` = ? AND `t1`.`is_in_stock` = ? AND `t1`.`seller_id` IN (?) AND `t1`.`product_id` IS NOT NULL))) GROUP BY `thecarg_db`.`cg_tbl_products`.`techdoc_brand_id`, `thecarg_db`.`cg_tbl_products`.`brand_name` ORDER BY `thecarg_db`.`cg_tbl_products`.`techdoc_brand_id` ASC LIMIT ? OFFSET ?
prisma:query SELECT COUNT(`thecarg_db`.`cg_tbl_products`.`id`), `thecarg_db`.`cg_tbl_products`.`techdoc_brand_id` FROM `thecarg_db`.`cg_tbl_products` WHERE (`thecarg_db`.`cg_tbl_products`.`status` = ? AND (`thecarg_db`.`cg_tbl_products`.`id`) IN (SELECT `t1`.`product_id` FROM `thecarg_db`.`cg_tbl_seller_products` AS `t1` WHERE (`t1`.`status` = ? AND `t1`.`is_in_stock` = ? AND `t1`.`seller_id` IN (?) AND `t1`.`product_id` IS NOT NULL))) GROUP BY `thecarg_db`.`cg_tbl_products`.`techdoc_brand_id`
[2026-06-24T11:34:18.975Z] [INFO]: TecDoc → getBrands | provider: 25791 | country: IN | url: https://webservice.tecalliance.services/pegasus-3-0/services/TecdocToCatDLB.jsonEndpoint
--------------------------------------------------

prisma:query SELECT `thecarg_db`.`cg_tbl_zones`.`id` FROM `thecarg_db`.`cg_tbl_zones` WHERE (`thecarg_db`.`cg_tbl_zones`.`id` IN (?,?) AND `thecarg_db`.`cg_tbl_zones`.`status` = ?)
prisma:query SELECT `thecarg_db`.`cg_tbl_sellers`.`id`, `thecarg_db`.`cg_tbl_sellers`.`status`, `thecarg_db`.`cg_tbl_sellers`.`operating_hours`, `thecarg_db`.`cg_tbl_sellers`.`zone` FROM `thecarg_db`.`cg_tbl_sellers` WHERE `thecarg_db`.`cg_tbl_sellers`.`status` = ?
prisma:query SELECT `thecarg_db`.`cg_tbl_products`.`assembly_group_node_id`, `thecarg_db`.`cg_tbl_products`.`generic_article_id` FROM `thecarg_db`.`cg_tbl_products` WHERE (`thecarg_db`.`cg_tbl_products`.`status` = ? AND (`thecarg_db`.`cg_tbl_products`.`id`) IN (SELECT `t1`.`product_id` FROM `thecarg_db`.`cg_tbl_seller_products` AS `t1` WHERE (`t1`.`status` = ? AND `t1`.`is_in_stock` = ? AND `t1`.`seller_id` IN (?) AND `t1`.`product_id` IS NOT NULL))) GROUP BY `thecarg_db`.`cg_tbl_products`.`assembly_group_node_id`, `thecarg_db`.`cg_tbl_products`.`generic_article_id`
[2026-06-24T11:34:19.001Z] [INFO]: TecDoc → getGenericArticles | provider: 25791 | country: IN | url: https://webservice.tecalliance.services/pegasus-3-0/services/TecdocToCatDLB.jsonEndpoint
--------------------------------------------------

prisma:query SELECT `thecarg_db`.`cg_tbl_products`.`assembly_group_node_id`, `thecarg_db`.`cg_tbl_products`.`generic_article_id` FROM `thecarg_db`.`cg_tbl_products` WHERE `thecarg_db`.`cg_tbl_products`.`status` = ? GROUP BY `thecarg_db`.`cg_tbl_products`.`assembly_group_node_id`, `thecarg_db`.`cg_tbl_products`.`generic_article_id`
[2026-06-24T11:34:19.877Z] [INFO]: TecDoc → getArticles | provider: 25791 | country: IN | url: https://webservice.tecalliance.services/pegasus-3-0/services/TecdocToCatDLB.jsonEndpoint
--------------------------------------------------

[2026-06-24T11:34:23.170Z] [INFO]: [ZONE_RESOLVE] Resolving zone for coordinates: (13.07281264, 80.19470259)
--------------------------------------------------

prisma:query SELECT id, status, zone_name AS zoneName, zone_code AS zoneCode, ABS(ST_Area(coordinates)) as area 
       FROM cg_tbl_zones 
       WHERE ST_Contains(coordinates, ST_GeomFromText(?))
       ORDER BY area ASC
[2026-06-24T11:34:23.325Z] [INFO]: [BANNERS] Fetching banners for zoneIds: [13]
--------------------------------------------------

prisma:query 
      SELECT 
        'admin_banner' AS bannerSource,
        b.id,
        b.title,
        b.banner_image AS bannerImage,
        NULL AS userId,
        NULL AS userRoleId,
        NULL AS productId,
        b.created_at AS createdAt
      FROM cg_tbl_banners b
      WHERE b.status = 1 
        AND b.zone_id IN (?)

      UNION ALL

      SELECT 
        'advertisement' AS bannerSource,
        a.id,
        a.title,
        a.banner_image AS bannerImage,
        a.user_id AS userId,
        a.user_role_id AS userRoleId,
        a.product_id AS productId,
        a.created_at AS createdAt
      FROM cg_tbl_advertisements a
      WHERE a.status = 1 
        AND a.advertisement_type = 'banner'
        AND a.approval_status = 'approved'
        AND a.payment_status = 'paid'
        AND NOW() BETWEEN a.from_date AND a.to_date
        AND a.zone_id IN (?)
      ORDER BY createdAt DESC
    
prisma:query SELECT 1
prisma:query SELECT `thecarg_db`.`cg_tbl_zones`.`id` FROM `thecarg_db`.`cg_tbl_zones` WHERE (`thecarg_db`.`cg_tbl_zones`.`id` IN (?) AND `thecarg_db`.`cg_tbl_zones`.`status` = ?)
prisma:query SELECT `thecarg_db`.`cg_tbl_sellers`.`id`, `thecarg_db`.`cg_tbl_sellers`.`status`, `thecarg_db`.`cg_tbl_sellers`.`operating_hours`, `thecarg_db`.`cg_tbl_sellers`.`zone` FROM `thecarg_db`.`cg_tbl_sellers` WHERE `thecarg_db`.`cg_tbl_sellers`.`status` = ?
prisma:query SELECT `thecarg_db`.`cg_tbl_products`.`id`, `thecarg_db`.`cg_tbl_products`.`article_number` FROM `thecarg_db`.`cg_tbl_products` WHERE (`thecarg_db`.`cg_tbl_products`.`status` = ? AND (`thecarg_db`.`cg_tbl_products`.`id`) IN (SELECT `t1`.`product_id` FROM `thecarg_db`.`cg_tbl_seller_products` AS `t1` WHERE (`t1`.`status` = ? AND `t1`.`seller_id` IN (?) AND `t1`.`product_id` IS NOT NULL)) AND `thecarg_db`.`cg_tbl_products`.`generic_article_id` = ? AND `thecarg_db`.`cg_tbl_products`.`assembly_group_node_id` = ?) ORDER BY `thecarg_db`.`cg_tbl_products`.`id` ASC
prisma:query SELECT `thecarg_db`.`cg_tbl_products`.`article_number` FROM `thecarg_db`.`cg_tbl_products` WHERE `thecarg_db`.`cg_tbl_products`.`id` IN (?,?) GROUP BY `thecarg_db`.`cg_tbl_products`.`article_number`
prisma:query SELECT MIN(`thecarg_db`.`cg_tbl_products`.`id`), `thecarg_db`.`cg_tbl_products`.`article_number` FROM `thecarg_db`.`cg_tbl_products` WHERE `thecarg_db`.`cg_tbl_products`.`id` IN (?,?) GROUP BY `thecarg_db`.`cg_tbl_products`.`article_number` ORDER BY MIN(`thecarg_db`.`cg_tbl_products`.`id`) ASC LIMIT ? OFFSET ?
prisma:query SELECT `thecarg_db`.`cg_tbl_products`.`id`, `thecarg_db`.`cg_tbl_products`.`techdoc_article_id`, `thecarg_db`.`cg_tbl_products`.`techdoc_brand_id`, `thecarg_db`.`cg_tbl_products`.`article_number`, `thecarg_db`.`cg_tbl_products`.`brand_name`, `thecarg_db`.`cg_tbl_products`.`status`, `thecarg_db`.`cg_tbl_products`.`created_at`, `thecarg_db`.`cg_tbl_products`.`updated_at`, `thecarg_db`.`cg_tbl_products`.`assembly_group_node_id`, `thecarg_db`.`cg_tbl_products`.`generic_article_id` FROM `thecarg_db`.`cg_tbl_products` WHERE `thecarg_db`.`cg_tbl_products`.`id` IN (?,?) ORDER BY `thecarg_db`.`cg_tbl_products`.`id` ASC
[2026-06-24T11:34:27.521Z] [INFO]: TecDoc → getArticles | provider: 25791 | country: IN | url: https://webservice.tecalliance.services/pegasus-3-0/services/TecdocToCatDLB.jsonEndpoint
--------------------------------------------------

[2026-06-24T11:34:27.525Z] [INFO]: TecDoc → getArticles | provider: 25791 | country: IN | url: https://webservice.tecalliance.services/pegasus-3-0/services/TecdocToCatDLB.jsonEndpoint
--------------------------------------------------

prisma:query SELECT `thecarg_db`.`cg_tbl_products`.`id`, `thecarg_db`.`cg_tbl_products`.`techdoc_article_id` FROM `thecarg_db`.`cg_tbl_products` WHERE (`thecarg_db`.`cg_tbl_products`.`techdoc_article_id` IN (?,?) AND `thecarg_db`.`cg_tbl_products`.`status` = ? AND `thecarg_db`.`cg_tbl_products`.`id` IN (?,?))
prisma:query SELECT `thecarg_db`.`cg_tbl_seller_products`.`id`, `thecarg_db`.`cg_tbl_seller_products`.`product_id`, `thecarg_db`.`cg_tbl_seller_products`.`customer_selling_price`, `thecarg_db`.`cg_tbl_seller_products`.`garage_selling_price`, `thecarg_db`.`cg_tbl_seller_products`.`mrp`, `thecarg_db`.`cg_tbl_seller_products`.`customer_discount_type`, `thecarg_db`.`cg_tbl_seller_products`.`customer_discount`, `thecarg_db`.`cg_tbl_seller_products`.`garage_discount_type`, `thecarg_db`.`cg_tbl_seller_products`.`garage_discount`, `thecarg_db`.`cg_tbl_seller_products`.`is_in_stock`, `thecarg_db`.`cg_tbl_seller_products`.`is_returnable`, `thecarg_db`.`cg_tbl_seller_products`.`return_days`, `thecarg_db`.`cg_tbl_seller_products`.`warranty_enabled`, `thecarg_db`.`cg_tbl_seller_products`.`warranty_duration`, `thecarg_db`.`cg_tbl_seller_products`.`warranty_duration_type`, `thecarg_db`.`cg_tbl_seller_products`.`warranty_document`, `thecarg_db`.`cg_tbl_seller_products`.`tax`, `thecarg_db`.`cg_tbl_seller_products`.`seller_id` FROM `thecarg_db`.`cg_tbl_seller_products` LEFT JOIN `thecarg_db`.`cg_tbl_sellers` AS `j1` ON (`j1`.`id`) = (`thecarg_db`.`cg_tbl_seller_products`.`seller_id`) WHERE (`thecarg_db`.`cg_tbl_seller_products`.`product_id` IN (?,?) AND `thecarg_db`.`cg_tbl_seller_products`.`status` = ? AND (`j1`.`status` = ? AND (`j1`.`id` IS NOT NULL))) ORDER BY `thecarg_db`.`cg_tbl_seller_products`.`customer_selling_price` ASC
prisma:query SELECT `thecarg_db`.`cg_tbl_sellers`.`id`, `thecarg_db`.`cg_tbl_sellers`.`seller_id`, `thecarg_db`.`cg_tbl_sellers`.`first_name`, `thecarg_db`.`cg_tbl_sellers`.`last_name`, `thecarg_db`.`cg_tbl_sellers`.`trade_name`, `thecarg_db`.`cg_tbl_sellers`.`city`, `thecarg_db`.`cg_tbl_sellers`.`state`, `thecarg_db`.`cg_tbl_sellers`.`email`, `thecarg_db`.`cg_tbl_sellers`.`mobile`, `thecarg_db`.`cg_tbl_sellers`.`address`, `thecarg_db`.`cg_tbl_sellers`.`pincode`, `thecarg_db`.`cg_tbl_sellers`.`status`, `thecarg_db`.`cg_tbl_sellers`.`operating_hours`, `thecarg_db`.`cg_tbl_sellers`.`zone`, `thecarg_db`.`cg_tbl_sellers`.`latitude`, `thecarg_db`.`cg_tbl_sellers`.`longitude` FROM `thecarg_db`.`cg_tbl_sellers` WHERE `thecarg_db`.`cg_tbl_sellers`.`id` IN (?)
prisma:query SELECT `thecarg_db`.`cg_tbl_zones`.`id`, `thecarg_db`.`cg_tbl_zones`.`zone_name` FROM `thecarg_db`.`cg_tbl_zones` WHERE 1=1
prisma:query SELECT `thecarg_db`.`cg_tbl_zones`.`id` FROM `thecarg_db`.`cg_tbl_zones` WHERE (`thecarg_db`.`cg_tbl_zones`.`id` IN (?) AND `thecarg_db`.`cg_tbl_zones`.`status` = ?)
prisma:query SELECT `thecarg_db`.`cg_tbl_sellers`.`id`, `thecarg_db`.`cg_tbl_sellers`.`status`, `thecarg_db`.`cg_tbl_sellers`.`operating_hours`, `thecarg_db`.`cg_tbl_sellers`.`zone` FROM `thecarg_db`.`cg_tbl_sellers` WHERE `thecarg_db`.`cg_tbl_sellers`.`status` = ?
prisma:query SELECT `thecarg_db`.`cg_tbl_products`.`id`, `thecarg_db`.`cg_tbl_products`.`article_number` FROM `thecarg_db`.`cg_tbl_products` WHERE (`thecarg_db`.`cg_tbl_products`.`status` = ? AND (`thecarg_db`.`cg_tbl_products`.`id`) IN (SELECT `t1`.`product_id` FROM `thecarg_db`.`cg_tbl_seller_products` AS `t1` WHERE (`t1`.`status` = ? AND `t1`.`seller_id` IN (?) AND `t1`.`product_id` IS NOT NULL)) AND `thecarg_db`.`cg_tbl_products`.`generic_article_id` = ? AND `thecarg_db`.`cg_tbl_products`.`assembly_group_node_id` = ?) ORDER BY `thecarg_db`.`cg_tbl_products`.`id` ASC
prisma:query SELECT `thecarg_db`.`cg_tbl_products`.`article_number` FROM `thecarg_db`.`cg_tbl_products` WHERE `thecarg_db`.`cg_tbl_products`.`id` IN (?,?) GROUP BY `thecarg_db`.`cg_tbl_products`.`article_number`
prisma:query SELECT MIN(`thecarg_db`.`cg_tbl_products`.`id`), `thecarg_db`.`cg_tbl_products`.`article_number` FROM `thecarg_db`.`cg_tbl_products` WHERE `thecarg_db`.`cg_tbl_products`.`id` IN (?,?) GROUP BY `thecarg_db`.`cg_tbl_products`.`article_number` ORDER BY MIN(`thecarg_db`.`cg_tbl_products`.`id`) ASC LIMIT ? OFFSET ?
prisma:query SELECT `thecarg_db`.`cg_tbl_products`.`id`, `thecarg_db`.`cg_tbl_products`.`techdoc_article_id`, `thecarg_db`.`cg_tbl_products`.`techdoc_brand_id`, `thecarg_db`.`cg_tbl_products`.`article_number`, `thecarg_db`.`cg_tbl_products`.`brand_name`, `thecarg_db`.`cg_tbl_products`.`status`, `thecarg_db`.`cg_tbl_products`.`created_at`, `thecarg_db`.`cg_tbl_products`.`updated_at`, `thecarg_db`.`cg_tbl_products`.`assembly_group_node_id`, `thecarg_db`.`cg_tbl_products`.`generic_article_id` FROM `thecarg_db`.`cg_tbl_products` WHERE `thecarg_db`.`cg_tbl_products`.`id` IN (?,?) ORDER BY `thecarg_db`.`cg_tbl_products`.`id` ASC
[2026-06-24T11:34:31.128Z] [INFO]: TecDoc → getArticles | provider: 25791 | country: IN | url: https://webservice.tecalliance.services/pegasus-3-0/services/TecdocToCatDLB.jsonEndpoint
--------------------------------------------------

[2026-06-24T11:34:31.130Z] [INFO]: TecDoc → getArticles | provider: 25791 | country: IN | url: https://webservice.tecalliance.services/pegasus-3-0/services/TecdocToCatDLB.jsonEndpoint
--------------------------------------------------

prisma:query SELECT `thecarg_db`.`cg_tbl_products`.`id`, `thecarg_db`.`cg_tbl_products`.`techdoc_article_id` FROM `thecarg_db`.`cg_tbl_products` WHERE (`thecarg_db`.`cg_tbl_products`.`techdoc_article_id` IN (?,?) AND `thecarg_db`.`cg_tbl_products`.`status` = ? AND `thecarg_db`.`cg_tbl_products`.`id` IN (?,?))
prisma:query SELECT `thecarg_db`.`cg_tbl_seller_products`.`id`, `thecarg_db`.`cg_tbl_seller_products`.`product_id`, `thecarg_db`.`cg_tbl_seller_products`.`customer_selling_price`, `thecarg_db`.`cg_tbl_seller_products`.`garage_selling_price`, `thecarg_db`.`cg_tbl_seller_products`.`mrp`, `thecarg_db`.`cg_tbl_seller_products`.`customer_discount_type`, `thecarg_db`.`cg_tbl_seller_products`.`customer_discount`, `thecarg_db`.`cg_tbl_seller_products`.`garage_discount_type`, `thecarg_db`.`cg_tbl_seller_products`.`garage_discount`, `thecarg_db`.`cg_tbl_seller_products`.`is_in_stock`, `thecarg_db`.`cg_tbl_seller_products`.`is_returnable`, `thecarg_db`.`cg_tbl_seller_products`.`return_days`, `thecarg_db`.`cg_tbl_seller_products`.`warranty_enabled`, `thecarg_db`.`cg_tbl_seller_products`.`warranty_duration`, `thecarg_db`.`cg_tbl_seller_products`.`warranty_duration_type`, `thecarg_db`.`cg_tbl_seller_products`.`warranty_document`, `thecarg_db`.`cg_tbl_seller_products`.`tax`, `thecarg_db`.`cg_tbl_seller_products`.`seller_id` FROM `thecarg_db`.`cg_tbl_seller_products` LEFT JOIN `thecarg_db`.`cg_tbl_sellers` AS `j1` ON (`j1`.`id`) = (`thecarg_db`.`cg_tbl_seller_products`.`seller_id`) WHERE (`thecarg_db`.`cg_tbl_seller_products`.`product_id` IN (?,?) AND `thecarg_db`.`cg_tbl_seller_products`.`status` = ? AND (`j1`.`status` = ? AND (`j1`.`id` IS NOT NULL))) ORDER BY `thecarg_db`.`cg_tbl_seller_products`.`customer_selling_price` ASC
prisma:query SELECT `thecarg_db`.`cg_tbl_sellers`.`id`, `thecarg_db`.`cg_tbl_sellers`.`seller_id`, `thecarg_db`.`cg_tbl_sellers`.`first_name`, `thecarg_db`.`cg_tbl_sellers`.`last_name`, `thecarg_db`.`cg_tbl_sellers`.`trade_name`, `thecarg_db`.`cg_tbl_sellers`.`city`, `thecarg_db`.`cg_tbl_sellers`.`state`, `thecarg_db`.`cg_tbl_sellers`.`email`, `thecarg_db`.`cg_tbl_sellers`.`mobile`, `thecarg_db`.`cg_tbl_sellers`.`address`, `thecarg_db`.`cg_tbl_sellers`.`pincode`, `thecarg_db`.`cg_tbl_sellers`.`status`, `thecarg_db`.`cg_tbl_sellers`.`operating_hours`, `thecarg_db`.`cg_tbl_sellers`.`zone`, `thecarg_db`.`cg_tbl_sellers`.`latitude`, `thecarg_db`.`cg_tbl_sellers`.`longitude` FROM `thecarg_db`.`cg_tbl_sellers` WHERE `thecarg_db`.`cg_tbl_sellers`.`id` IN (?)
prisma:query SELECT `thecarg_db`.`cg_tbl_zones`.`id`, `thecarg_db`.`cg_tbl_zones`.`zone_name` FROM `thecarg_db`.`cg_tbl_zones` WHERE 1=1
prisma:query SELECT 1
prisma:query SELECT 1
prisma:query SELECT 1
prisma:query SELECT 1
prisma:query SELECT 1
prisma:query SELECT `thecarg_db`.`cg_tbl_vehicle_classes`.`id`, `thecarg_db`.`cg_tbl_vehicle_classes`.`name`, `thecarg_db`.`cg_tbl_vehicle_classes`.`slug` FROM `thecarg_db`.`cg_tbl_vehicle_classes` WHERE `thecarg_db`.`cg_tbl_vehicle_classes`.`status` = ? ORDER BY `thecarg_db`.`cg_tbl_vehicle_classes`.`name` ASC
prisma:query SELECT `thecarg_db`.`cg_tbl_business_settings`.`id`, `thecarg_db`.`cg_tbl_business_settings`.`key`, `thecarg_db`.`cg_tbl_business_settings`.`value`, `thecarg_db`.`cg_tbl_business_settings`.`created_at`, `thecarg_db`.`cg_tbl_business_settings`.`updated_at` FROM `thecarg_db`.`cg_tbl_business_settings` WHERE `thecarg_db`.`cg_tbl_business_settings`.`key` IN (?,?,?,?)
prisma:query SELECT `thecarg_db`.`cg_tbl_vehicle_fuel_types`.`id`, `thecarg_db`.`cg_tbl_vehicle_fuel_types`.`name`, `thecarg_db`.`cg_tbl_vehicle_fuel_types`.`slug` FROM `thecarg_db`.`cg_tbl_vehicle_fuel_types` WHERE `thecarg_db`.`cg_tbl_vehicle_fuel_types`.`status` = ? ORDER BY `thecarg_db`.`cg_tbl_vehicle_fuel_types`.`name` ASC
prisma:query SELECT id, zone_name AS zoneName, zone_code AS zoneCode FROM cg_tbl_zones WHERE status = 1 ORDER BY zone_name ASC
prisma:query SELECT `thecarg_db`.`cg_tbl_languages`.`id`, `thecarg_db`.`cg_tbl_languages`.`name`, `thecarg_db`.`cg_tbl_languages`.`slug` FROM `thecarg_db`.`cg_tbl_languages` WHERE `thecarg_db`.`cg_tbl_languages`.`status` = ? ORDER BY `thecarg_db`.`cg_tbl_languages`.`name` ASC
prisma:query SELECT `thecarg_db`.`cg_tbl_garages`.`id`, `thecarg_db`.`cg_tbl_garages`.`garage_id`, `thecarg_db`.`cg_tbl_garages`.`multiple_garages`, `thecarg_db`.`cg_tbl_garages`.`first_name`, `thecarg_db`.`cg_tbl_garages`.`last_name`, `thecarg_db`.`cg_tbl_garages`.`mobile`, `thecarg_db`.`cg_tbl_garages`.`email`, `thecarg_db`.`cg_tbl_garages`.`trade_name`, `thecarg_db`.`cg_tbl_garages`.`entity_type`, `thecarg_db`.`cg_tbl_garages`.`language`, `thecarg_db`.`cg_tbl_garages`.`aadhaar_number`, `thecarg_db`.`cg_tbl_garages`.`pan_number`, `thecarg_db`.`cg_tbl_garages`.`gstin_number`, `thecarg_db`.`cg_tbl_garages`.`cin_number`, `thecarg_db`.`cg_tbl_garages`.`dob`, `thecarg_db`.`cg_tbl_garages`.`address`, `thecarg_db`.`cg_tbl_garages`.`state`, `thecarg_db`.`cg_tbl_garages`.`city`, `thecarg_db`.`cg_tbl_garages`.`zone`, `thecarg_db`.`cg_tbl_garages`.`pincode`, `thecarg_db`.`cg_tbl_garages`.`latitude`, `thecarg_db`.`cg_tbl_garages`.`longitude`, `thecarg_db`.`cg_tbl_garages`.`bank_name`, `thecarg_db`.`cg_tbl_garages`.`bank_account_number`, `thecarg_db`.`cg_tbl_garages`.`bank_ifsc_code`, `thecarg_db`.`cg_tbl_garages`.`operating_hours`, `thecarg_db`.`cg_tbl_garages`.`vehicle_fuel_types`, `thecarg_db`.`cg_tbl_garages`.`vehicle_classes`, `thecarg_db`.`cg_tbl_garages`.`ev_safety_certificate_file`, `thecarg_db`.`cg_tbl_garages`.`pan_card_file`, `thecarg_db`.`cg_tbl_garages`.`gst_file`, `thecarg_db`.`cg_tbl_garages`.`cin_file`, `thecarg_db`.`cg_tbl_garages`.`bank_document_file`, `thecarg_db`.`cg_tbl_garages`.`aadhaar_card_file`, `thecarg_db`.`cg_tbl_garages`.`profile_photo_file`, `thecarg_db`.`cg_tbl_garages`.`infrastructure_image_file`, `thecarg_db`.`cg_tbl_garages`.`services`, `thecarg_db`.`cg_tbl_garages`.`status`, `thecarg_db`.`cg_tbl_garages`.`is_parent`, `thecarg_db`.`cg_tbl_garages`.`parent_id`, `thecarg_db`.`cg_tbl_garages`.`is_verified`, `thecarg_db`.`cg_tbl_garages`.`fcm_token`, `thecarg_db`.`cg_tbl_garages`.`subscription_id`, `thecarg_db`.`cg_tbl_garages`.`subscription_start_date`, `thecarg_db`.`cg_tbl_garages`.`subscription_end_date`, `thecarg_db`.`cg_tbl_garages`.`created_at`, `thecarg_db`.`cg_tbl_garages`.`updated_at` FROM `thecarg_db`.`cg_tbl_garages` WHERE `thecarg_db`.`cg_tbl_garages`.`id` = ? LIMIT ? OFFSET ?
prisma:query SELECT `thecarg_db`.`cg_tbl_garages`.`id`, `thecarg_db`.`cg_tbl_garages`.`garage_id`, `thecarg_db`.`cg_tbl_garages`.`multiple_garages`, `thecarg_db`.`cg_tbl_garages`.`first_name`, `thecarg_db`.`cg_tbl_garages`.`last_name`, `thecarg_db`.`cg_tbl_garages`.`mobile`, `thecarg_db`.`cg_tbl_garages`.`email`, `thecarg_db`.`cg_tbl_garages`.`trade_name`, `thecarg_db`.`cg_tbl_garages`.`entity_type`, `thecarg_db`.`cg_tbl_garages`.`language`, `thecarg_db`.`cg_tbl_garages`.`aadhaar_number`, `thecarg_db`.`cg_tbl_garages`.`pan_number`, `thecarg_db`.`cg_tbl_garages`.`gstin_number`, `thecarg_db`.`cg_tbl_garages`.`cin_number`, `thecarg_db`.`cg_tbl_garages`.`dob`, `thecarg_db`.`cg_tbl_garages`.`address`, `thecarg_db`.`cg_tbl_garages`.`state`, `thecarg_db`.`cg_tbl_garages`.`city`, `thecarg_db`.`cg_tbl_garages`.`zone`, `thecarg_db`.`cg_tbl_garages`.`pincode`, `thecarg_db`.`cg_tbl_garages`.`latitude`, `thecarg_db`.`cg_tbl_garages`.`longitude`, `thecarg_db`.`cg_tbl_garages`.`bank_name`, `thecarg_db`.`cg_tbl_garages`.`bank_account_number`, `thecarg_db`.`cg_tbl_garages`.`bank_ifsc_code`, `thecarg_db`.`cg_tbl_garages`.`operating_hours`, `thecarg_db`.`cg_tbl_garages`.`vehicle_fuel_types`, `thecarg_db`.`cg_tbl_garages`.`vehicle_classes`, `thecarg_db`.`cg_tbl_garages`.`ev_safety_certificate_file`, `thecarg_db`.`cg_tbl_garages`.`pan_card_file`, `thecarg_db`.`cg_tbl_garages`.`gst_file`, `thecarg_db`.`cg_tbl_garages`.`cin_file`, `thecarg_db`.`cg_tbl_garages`.`bank_document_file`, `thecarg_db`.`cg_tbl_garages`.`aadhaar_card_file`, `thecarg_db`.`cg_tbl_garages`.`profile_photo_file`, `thecarg_db`.`cg_tbl_garages`.`infrastructure_image_file`, `thecarg_db`.`cg_tbl_garages`.`services`, `thecarg_db`.`cg_tbl_garages`.`status`, `thecarg_db`.`cg_tbl_garages`.`is_parent`, `thecarg_db`.`cg_tbl_garages`.`parent_id`, `thecarg_db`.`cg_tbl_garages`.`is_verified`, `thecarg_db`.`cg_tbl_garages`.`fcm_token`, `thecarg_db`.`cg_tbl_garages`.`subscription_id`, `thecarg_db`.`cg_tbl_garages`.`subscription_start_date`, `thecarg_db`.`cg_tbl_garages`.`subscription_end_date`, `thecarg_db`.`cg_tbl_garages`.`created_at`, `thecarg_db`.`cg_tbl_garages`.`updated_at` FROM `thecarg_db`.`cg_tbl_garages` WHERE (`thecarg_db`.`cg_tbl_garages`.`id` = ? AND 1=1) LIMIT ? OFFSET ?
prisma:query SELECT COUNT(*) FROM (SELECT `thecarg_db`.`cg_tbl_categories`.`id` FROM `thecarg_db`.`cg_tbl_categories` WHERE (`thecarg_db`.`cg_tbl_categories`.`status` = ? AND (`thecarg_db`.`cg_tbl_categories`.`is_accident` = ? OR (`thecarg_db`.`cg_tbl_categories`.`id`) IN (SELECT `t1`.`category_id` FROM `thecarg_db`.`cg_tbl_category_sub_category_setup` AS `t1` LEFT JOIN `thecarg_db`.`cg_tbl_sub_categories` AS `j2` ON (`j2`.`id`) = (`t1`.`sub_category_id`) WHERE (`t1`.`status` = ? AND (`j2`.`status` = ? AND (`j2`.`id` IS NOT NULL)) AND `t1`.`category_id` IS NOT NULL))))) AS `sub`
prisma:query SELECT `thecarg_db`.`cg_tbl_categories`.`id`, `thecarg_db`.`cg_tbl_categories`.`category_name`, `thecarg_db`.`cg_tbl_categories`.`category_image`, `thecarg_db`.`cg_tbl_categories`.`is_accident` FROM `thecarg_db`.`cg_tbl_categories` WHERE (`thecarg_db`.`cg_tbl_categories`.`status` = ? AND (`thecarg_db`.`cg_tbl_categories`.`is_accident` = ? OR (`thecarg_db`.`cg_tbl_categories`.`id`) IN (SELECT `t1`.`category_id` FROM `thecarg_db`.`cg_tbl_category_sub_category_setup` AS `t1` LEFT JOIN `thecarg_db`.`cg_tbl_sub_categories` AS `j2` ON (`j2`.`id`) = (`t1`.`sub_category_id`) WHERE (`t1`.`status` = ? AND (`j2`.`status` = ? AND (`j2`.`id` IS NOT NULL)) AND `t1`.`category_id` IS NOT NULL)))) ORDER BY `thecarg_db`.`cg_tbl_categories`.`id` ASC LIMIT ? OFFSET ?
prisma:query SELECT `thecarg_db`.`cg_tbl_garages`.`id`, `thecarg_db`.`cg_tbl_garages`.`garage_id`, `thecarg_db`.`cg_tbl_garages`.`multiple_garages`, `thecarg_db`.`cg_tbl_garages`.`first_name`, `thecarg_db`.`cg_tbl_garages`.`last_name`, `thecarg_db`.`cg_tbl_garages`.`mobile`, `thecarg_db`.`cg_tbl_garages`.`email`, `thecarg_db`.`cg_tbl_garages`.`trade_name`, `thecarg_db`.`cg_tbl_garages`.`entity_type`, `thecarg_db`.`cg_tbl_garages`.`language`, `thecarg_db`.`cg_tbl_garages`.`aadhaar_number`, `thecarg_db`.`cg_tbl_garages`.`pan_number`, `thecarg_db`.`cg_tbl_garages`.`gstin_number`, `thecarg_db`.`cg_tbl_garages`.`cin_number`, `thecarg_db`.`cg_tbl_garages`.`dob`, `thecarg_db`.`cg_tbl_garages`.`address`, `thecarg_db`.`cg_tbl_garages`.`state`, `thecarg_db`.`cg_tbl_garages`.`city`, `thecarg_db`.`cg_tbl_garages`.`zone`, `thecarg_db`.`cg_tbl_garages`.`pincode`, `thecarg_db`.`cg_tbl_garages`.`latitude`, `thecarg_db`.`cg_tbl_garages`.`longitude`, `thecarg_db`.`cg_tbl_garages`.`bank_name`, `thecarg_db`.`cg_tbl_garages`.`bank_account_number`, `thecarg_db`.`cg_tbl_garages`.`bank_ifsc_code`, `thecarg_db`.`cg_tbl_garages`.`operating_hours`, `thecarg_db`.`cg_tbl_garages`.`vehicle_fuel_types`, `thecarg_db`.`cg_tbl_garages`.`vehicle_classes`, `thecarg_db`.`cg_tbl_garages`.`ev_safety_certificate_file`, `thecarg_db`.`cg_tbl_garages`.`pan_card_file`, `thecarg_db`.`cg_tbl_garages`.`gst_file`, `thecarg_db`.`cg_tbl_garages`.`cin_file`, `thecarg_db`.`cg_tbl_garages`.`bank_document_file`, `thecarg_db`.`cg_tbl_garages`.`aadhaar_card_file`, `thecarg_db`.`cg_tbl_garages`.`profile_photo_file`, `thecarg_db`.`cg_tbl_garages`.`infrastructure_image_file`, `thecarg_db`.`cg_tbl_garages`.`services`, `thecarg_db`.`cg_tbl_garages`.`status`, `thecarg_db`.`cg_tbl_garages`.`is_parent`, `thecarg_db`.`cg_tbl_garages`.`parent_id`, `thecarg_db`.`cg_tbl_garages`.`is_verified`, `thecarg_db`.`cg_tbl_garages`.`fcm_token`, `thecarg_db`.`cg_tbl_garages`.`subscription_id`, `thecarg_db`.`cg_tbl_garages`.`subscription_start_date`, `thecarg_db`.`cg_tbl_garages`.`subscription_end_date`, `thecarg_db`.`cg_tbl_garages`.`created_at`, `thecarg_db`.`cg_tbl_garages`.`updated_at` FROM `thecarg_db`.`cg_tbl_garages` WHERE (`thecarg_db`.`cg_tbl_garages`.`parent_id` = ? AND `thecarg_db`.`cg_tbl_garages`.`is_parent` = ? AND `thecarg_db`.`cg_tbl_garages`.`status` <> ?) ORDER BY `thecarg_db`.`cg_tbl_garages`.`created_at` DESC
prisma:query BEGIN
prisma:query SELECT `thecarg_db`.`cg_tbl_garages`.`id` FROM `thecarg_db`.`cg_tbl_garages` WHERE (`thecarg_db`.`cg_tbl_garages`.`id` = ? AND 1=1)
prisma:query UPDATE `thecarg_db`.`cg_tbl_garages` SET `fcm_token` = ?, `updated_at` = ? WHERE (`thecarg_db`.`cg_tbl_garages`.`id` IN (?) AND (`thecarg_db`.`cg_tbl_garages`.`id` = ? AND 1=1))
prisma:query SELECT `thecarg_db`.`cg_tbl_garages`.`id`, `thecarg_db`.`cg_tbl_garages`.`garage_id`, `thecarg_db`.`cg_tbl_garages`.`multiple_garages`, `thecarg_db`.`cg_tbl_garages`.`first_name`, `thecarg_db`.`cg_tbl_garages`.`last_name`, `thecarg_db`.`cg_tbl_garages`.`mobile`, `thecarg_db`.`cg_tbl_garages`.`email`, `thecarg_db`.`cg_tbl_garages`.`trade_name`, `thecarg_db`.`cg_tbl_garages`.`entity_type`, `thecarg_db`.`cg_tbl_garages`.`language`, `thecarg_db`.`cg_tbl_garages`.`aadhaar_number`, `thecarg_db`.`cg_tbl_garages`.`pan_number`, `thecarg_db`.`cg_tbl_garages`.`gstin_number`, `thecarg_db`.`cg_tbl_garages`.`cin_number`, `thecarg_db`.`cg_tbl_garages`.`dob`, `thecarg_db`.`cg_tbl_garages`.`address`, `thecarg_db`.`cg_tbl_garages`.`state`, `thecarg_db`.`cg_tbl_garages`.`city`, `thecarg_db`.`cg_tbl_garages`.`zone`, `thecarg_db`.`cg_tbl_garages`.`pincode`, `thecarg_db`.`cg_tbl_garages`.`latitude`, `thecarg_db`.`cg_tbl_garages`.`longitude`, `thecarg_db`.`cg_tbl_garages`.`bank_name`, `thecarg_db`.`cg_tbl_garages`.`bank_account_number`, `thecarg_db`.`cg_tbl_garages`.`bank_ifsc_code`, `thecarg_db`.`cg_tbl_garages`.`operating_hours`, `thecarg_db`.`cg_tbl_garages`.`vehicle_fuel_types`, `thecarg_db`.`cg_tbl_garages`.`vehicle_classes`, `thecarg_db`.`cg_tbl_garages`.`ev_safety_certificate_file`, `thecarg_db`.`cg_tbl_garages`.`pan_card_file`, `thecarg_db`.`cg_tbl_garages`.`gst_file`, `thecarg_db`.`cg_tbl_garages`.`cin_file`, `thecarg_db`.`cg_tbl_garages`.`bank_document_file`, `thecarg_db`.`cg_tbl_garages`.`aadhaar_card_file`, `thecarg_db`.`cg_tbl_garages`.`profile_photo_file`, `thecarg_db`.`cg_tbl_garages`.`infrastructure_image_file`, `thecarg_db`.`cg_tbl_garages`.`services`, `thecarg_db`.`cg_tbl_garages`.`status`, `thecarg_db`.`cg_tbl_garages`.`is_parent`, `thecarg_db`.`cg_tbl_garages`.`parent_id`, `thecarg_db`.`cg_tbl_garages`.`is_verified`, `thecarg_db`.`cg_tbl_garages`.`fcm_token`, `thecarg_db`.`cg_tbl_garages`.`subscription_id`, `thecarg_db`.`cg_tbl_garages`.`subscription_start_date`, `thecarg_db`.`cg_tbl_garages`.`subscription_end_date`, `thecarg_db`.`cg_tbl_garages`.`created_at`, `thecarg_db`.`cg_tbl_garages`.`updated_at` FROM `thecarg_db`.`cg_tbl_garages` WHERE (`thecarg_db`.`cg_tbl_garages`.`parent_id` = ? AND `thecarg_db`.`cg_tbl_garages`.`is_parent` = ? AND `thecarg_db`.`cg_tbl_garages`.`status` <> ?) ORDER BY `thecarg_db`.`cg_tbl_garages`.`created_at` DESC
prisma:query SELECT `thecarg_db`.`cg_tbl_garages`.`id`, `thecarg_db`.`cg_tbl_garages`.`garage_id`, `thecarg_db`.`cg_tbl_garages`.`multiple_garages`, `thecarg_db`.`cg_tbl_garages`.`first_name`, `thecarg_db`.`cg_tbl_garages`.`last_name`, `thecarg_db`.`cg_tbl_garages`.`mobile`, `thecarg_db`.`cg_tbl_garages`.`email`, `thecarg_db`.`cg_tbl_garages`.`trade_name`, `thecarg_db`.`cg_tbl_garages`.`entity_type`, `thecarg_db`.`cg_tbl_garages`.`language`, `thecarg_db`.`cg_tbl_garages`.`aadhaar_number`, `thecarg_db`.`cg_tbl_garages`.`pan_number`, `thecarg_db`.`cg_tbl_garages`.`gstin_number`, `thecarg_db`.`cg_tbl_garages`.`cin_number`, `thecarg_db`.`cg_tbl_garages`.`dob`, `thecarg_db`.`cg_tbl_garages`.`address`, `thecarg_db`.`cg_tbl_garages`.`state`, `thecarg_db`.`cg_tbl_garages`.`city`, `thecarg_db`.`cg_tbl_garages`.`zone`, `thecarg_db`.`cg_tbl_garages`.`pincode`, `thecarg_db`.`cg_tbl_garages`.`latitude`, `thecarg_db`.`cg_tbl_garages`.`longitude`, `thecarg_db`.`cg_tbl_garages`.`bank_name`, `thecarg_db`.`cg_tbl_garages`.`bank_account_number`, `thecarg_db`.`cg_tbl_garages`.`bank_ifsc_code`, `thecarg_db`.`cg_tbl_garages`.`operating_hours`, `thecarg_db`.`cg_tbl_garages`.`vehicle_fuel_types`, `thecarg_db`.`cg_tbl_garages`.`vehicle_classes`, `thecarg_db`.`cg_tbl_garages`.`ev_safety_certificate_file`, `thecarg_db`.`cg_tbl_garages`.`pan_card_file`, `thecarg_db`.`cg_tbl_garages`.`gst_file`, `thecarg_db`.`cg_tbl_garages`.`cin_file`, `thecarg_db`.`cg_tbl_garages`.`bank_document_file`, `thecarg_db`.`cg_tbl_garages`.`aadhaar_card_file`, `thecarg_db`.`cg_tbl_garages`.`profile_photo_file`, `thecarg_db`.`cg_tbl_garages`.`infrastructure_image_file`, `thecarg_db`.`cg_tbl_garages`.`services`, `thecarg_db`.`cg_tbl_garages`.`status`, `thecarg_db`.`cg_tbl_garages`.`is_parent`, `thecarg_db`.`cg_tbl_garages`.`parent_id`, `thecarg_db`.`cg_tbl_garages`.`is_verified`, `thecarg_db`.`cg_tbl_garages`.`fcm_token`, `thecarg_db`.`cg_tbl_garages`.`subscription_id`, `thecarg_db`.`cg_tbl_garages`.`subscription_start_date`, `thecarg_db`.`cg_tbl_garages`.`subscription_end_date`, `thecarg_db`.`cg_tbl_garages`.`created_at`, `thecarg_db`.`cg_tbl_garages`.`updated_at` FROM `thecarg_db`.`cg_tbl_garages` WHERE `thecarg_db`.`cg_tbl_garages`.`id` = ? LIMIT ? OFFSET ?
prisma:query COMMIT
prisma:query SELECT COUNT(*) FROM (SELECT `thecarg_db`.`cg_tbl_user_addresses`.`id` FROM `thecarg_db`.`cg_tbl_user_addresses` WHERE (`thecarg_db`.`cg_tbl_user_addresses`.`user_id` = ? AND `thecarg_db`.`cg_tbl_user_addresses`.`role_id` = ? AND `thecarg_db`.`cg_tbl_user_addresses`.`status` = ?)) AS `sub`
prisma:query SELECT `thecarg_db`.`cg_tbl_vehicle_classes`.`id`, `thecarg_db`.`cg_tbl_vehicle_classes`.`name`, `thecarg_db`.`cg_tbl_vehicle_classes`.`slug`, `thecarg_db`.`cg_tbl_vehicle_classes`.`status`, `thecarg_db`.`cg_tbl_vehicle_classes`.`created_at`, `thecarg_db`.`cg_tbl_vehicle_classes`.`updated_at` FROM `thecarg_db`.`cg_tbl_vehicle_classes` WHERE (`thecarg_db`.`cg_tbl_vehicle_classes`.`id` IN (?) AND `thecarg_db`.`cg_tbl_vehicle_classes`.`status` = ?)
prisma:query SELECT `thecarg_db`.`cg_tbl_vehicle_fuel_types`.`id`, `thecarg_db`.`cg_tbl_vehicle_fuel_types`.`name`, `thecarg_db`.`cg_tbl_vehicle_fuel_types`.`slug`, `thecarg_db`.`cg_tbl_vehicle_fuel_types`.`status`, `thecarg_db`.`cg_tbl_vehicle_fuel_types`.`created_at`, `thecarg_db`.`cg_tbl_vehicle_fuel_types`.`updated_at` FROM `thecarg_db`.`cg_tbl_vehicle_fuel_types` WHERE (`thecarg_db`.`cg_tbl_vehicle_fuel_types`.`id` IN (?) AND `thecarg_db`.`cg_tbl_vehicle_fuel_types`.`status` = ?)
prisma:query SELECT `thecarg_db`.`cg_tbl_user_addresses`.`id`, `thecarg_db`.`cg_tbl_user_addresses`.`user_id`, `thecarg_db`.`cg_tbl_user_addresses`.`role_id`, `thecarg_db`.`cg_tbl_user_addresses`.`address_title`, `thecarg_db`.`cg_tbl_user_addresses`.`contact_name`, `thecarg_db`.`cg_tbl_user_addresses`.`phone_number`, `thecarg_db`.`cg_tbl_user_addresses`.`flat_house_no`, `thecarg_db`.`cg_tbl_user_addresses`.`area_locality`, `thecarg_db`.`cg_tbl_user_addresses`.`landmark`, `thecarg_db`.`cg_tbl_user_addresses`.`pincode`, `thecarg_db`.`cg_tbl_user_addresses`.`city`, `thecarg_db`.`cg_tbl_user_addresses`.`state`, `thecarg_db`.`cg_tbl_user_addresses`.`latitude`, `thecarg_db`.`cg_tbl_user_addresses`.`longitude`, `thecarg_db`.`cg_tbl_user_addresses`.`full_address`, `thecarg_db`.`cg_tbl_user_addresses`.`is_default`, `thecarg_db`.`cg_tbl_user_addresses`.`status`, `thecarg_db`.`cg_tbl_user_addresses`.`created_at`, `thecarg_db`.`cg_tbl_user_addresses`.`updated_at` FROM `thecarg_db`.`cg_tbl_user_addresses` WHERE (`thecarg_db`.`cg_tbl_user_addresses`.`user_id` = ? AND `thecarg_db`.`cg_tbl_user_addresses`.`role_id` = ? AND `thecarg_db`.`cg_tbl_user_addresses`.`status` = ?) ORDER BY `thecarg_db`.`cg_tbl_user_addresses`.`is_default` DESC, `thecarg_db`.`cg_tbl_user_addresses`.`created_at` DESC LIMIT ? OFFSET ?
prisma:query SELECT `thecarg_db`.`cg_tbl_user_roles`.`id`, `thecarg_db`.`cg_tbl_user_roles`.`role_name`, `thecarg_db`.`cg_tbl_user_roles`.`role_slug`, `thecarg_db`.`cg_tbl_user_roles`.`status`, `thecarg_db`.`cg_tbl_user_roles`.`created_at`, `thecarg_db`.`cg_tbl_user_roles`.`updated_at` FROM `thecarg_db`.`cg_tbl_user_roles` WHERE `thecarg_db`.`cg_tbl_user_roles`.`role_slug` = ? LIMIT ? OFFSET ?
prisma:query SELECT `thecarg_db`.`cg_tbl_user_roles`.`id`, `thecarg_db`.`cg_tbl_user_roles`.`role_name`, `thecarg_db`.`cg_tbl_user_roles`.`role_slug`, `thecarg_db`.`cg_tbl_user_roles`.`status`, `thecarg_db`.`cg_tbl_user_roles`.`created_at`, `thecarg_db`.`cg_tbl_user_roles`.`updated_at` FROM `thecarg_db`.`cg_tbl_user_roles` WHERE `thecarg_db`.`cg_tbl_user_roles`.`role_slug` = ? LIMIT ? OFFSET ?
prisma:query SELECT `thecarg_db`.`cg_tbl_languages`.`id`, `thecarg_db`.`cg_tbl_languages`.`name`, `thecarg_db`.`cg_tbl_languages`.`slug`, `thecarg_db`.`cg_tbl_languages`.`status`, `thecarg_db`.`cg_tbl_languages`.`created_at`, `thecarg_db`.`cg_tbl_languages`.`updated_at` FROM `thecarg_db`.`cg_tbl_languages` WHERE (`thecarg_db`.`cg_tbl_languages`.`id` IN (?,?,?) AND `thecarg_db`.`cg_tbl_languages`.`status` = ?)
prisma:query SELECT `thecarg_db`.`cg_tbl_profile_update_requests`.`id`, `thecarg_db`.`cg_tbl_profile_update_requests`.`user_id`, `thecarg_db`.`cg_tbl_profile_update_requests`.`user_role_id`, `thecarg_db`.`cg_tbl_profile_update_requests`.`change_data`, `thecarg_db`.`cg_tbl_profile_update_requests`.`status`, `thecarg_db`.`cg_tbl_profile_update_requests`.`action_by`, `thecarg_db`.`cg_tbl_profile_update_requests`.`action_at`, `thecarg_db`.`cg_tbl_profile_update_requests`.`rejection_reason`, `thecarg_db`.`cg_tbl_profile_update_requests`.`created_at`, `thecarg_db`.`cg_tbl_profile_update_requests`.`updated_at` FROM `thecarg_db`.`cg_tbl_profile_update_requests` WHERE (`thecarg_db`.`cg_tbl_profile_update_requests`.`user_id` IN (?,?,?,?,?) AND `thecarg_db`.`cg_tbl_profile_update_requests`.`user_role_id` = ? AND `thecarg_db`.`cg_tbl_profile_update_requests`.`status` = ?)
prisma:query SELECT `thecarg_db`.`cg_tbl_profile_update_requests`.`id`, `thecarg_db`.`cg_tbl_profile_update_requests`.`user_id`, `thecarg_db`.`cg_tbl_profile_update_requests`.`user_role_id`, `thecarg_db`.`cg_tbl_profile_update_requests`.`change_data`, `thecarg_db`.`cg_tbl_profile_update_requests`.`status`, `thecarg_db`.`cg_tbl_profile_update_requests`.`action_by`, `thecarg_db`.`cg_tbl_profile_update_requests`.`action_at`, `thecarg_db`.`cg_tbl_profile_update_requests`.`rejection_reason`, `thecarg_db`.`cg_tbl_profile_update_requests`.`created_at`, `thecarg_db`.`cg_tbl_profile_update_requests`.`updated_at` FROM `thecarg_db`.`cg_tbl_profile_update_requests` WHERE (`thecarg_db`.`cg_tbl_profile_update_requests`.`user_id` = ? AND `thecarg_db`.`cg_tbl_profile_update_requests`.`user_role_id` = ? AND `thecarg_db`.`cg_tbl_profile_update_requests`.`status` = ?)
prisma:query SELECT `thecarg_db`.`cg_tbl_profile_update_requests`.`id`, `thecarg_db`.`cg_tbl_profile_update_requests`.`user_id`, `thecarg_db`.`cg_tbl_profile_update_requests`.`user_role_id`, `thecarg_db`.`cg_tbl_profile_update_requests`.`change_data`, `thecarg_db`.`cg_tbl_profile_update_requests`.`status`, `thecarg_db`.`cg_tbl_profile_update_requests`.`action_by`, `thecarg_db`.`cg_tbl_profile_update_requests`.`action_at`, `thecarg_db`.`cg_tbl_profile_update_requests`.`rejection_reason`, `thecarg_db`.`cg_tbl_profile_update_requests`.`created_at`, `thecarg_db`.`cg_tbl_profile_update_requests`.`updated_at` FROM `thecarg_db`.`cg_tbl_profile_update_requests` WHERE (`thecarg_db`.`cg_tbl_profile_update_requests`.`user_id` IN (?,?,?,?,?) AND `thecarg_db`.`cg_tbl_profile_update_requests`.`user_role_id` = ? AND `thecarg_db`.`cg_tbl_profile_update_requests`.`status` = ?)
prisma:query SELECT `thecarg_db`.`cg_tbl_user_subscriptions`.`id`, `thecarg_db`.`cg_tbl_user_subscriptions`.`user_id`, `thecarg_db`.`cg_tbl_user_subscriptions`.`user_role_id`, `thecarg_db`.`cg_tbl_user_subscriptions`.`subscription_plan_id`, `thecarg_db`.`cg_tbl_user_subscriptions`.`plan_title`, `thecarg_db`.`cg_tbl_user_subscriptions`.`plan_type`, `thecarg_db`.`cg_tbl_user_subscriptions`.`amount`, `thecarg_db`.`cg_tbl_user_subscriptions`.`gst_percentage`, `thecarg_db`.`cg_tbl_user_subscriptions`.`gst_amount`, `thecarg_db`.`cg_tbl_user_subscriptions`.`total_amount`, `thecarg_db`.`cg_tbl_user_subscriptions`.`gateway_name`, `thecarg_db`.`cg_tbl_user_subscriptions`.`gateway_order_id`, `thecarg_db`.`cg_tbl_user_subscriptions`.`gateway_payment_id`, `thecarg_db`.`cg_tbl_user_subscriptions`.`status`, `thecarg_db`.`cg_tbl_user_subscriptions`.`subscription_start_date`, `thecarg_db`.`cg_tbl_user_subscriptions`.`subscription_end_date`, `thecarg_db`.`cg_tbl_user_subscriptions`.`created_at`, `thecarg_db`.`cg_tbl_user_subscriptions`.`updated_at` FROM `thecarg_db`.`cg_tbl_user_subscriptions` WHERE (`thecarg_db`.`cg_tbl_user_subscriptions`.`user_id` = ? AND `thecarg_db`.`cg_tbl_user_subscriptions`.`user_role_id` = ? AND `thecarg_db`.`cg_tbl_user_subscriptions`.`status` = ? AND `thecarg_db`.`cg_tbl_user_subscriptions`.`subscription_end_date` > ?) ORDER BY `thecarg_db`.`cg_tbl_user_subscriptions`.`subscription_end_date` DESC, `thecarg_db`.`cg_tbl_user_subscriptions`.`created_at` DESC LIMIT ? OFFSET ?
prisma:query SELECT `thecarg_db`.`cg_tbl_subscription_plans`.`id`, `thecarg_db`.`cg_tbl_subscription_plans`.`user_role_id`, `thecarg_db`.`cg_tbl_subscription_plans`.`title`, `thecarg_db`.`cg_tbl_subscription_plans`.`plan_type`, `thecarg_db`.`cg_tbl_subscription_plans`.`price`, `thecarg_db`.`cg_tbl_subscription_plans`.`gst_percentage`, `thecarg_db`.`cg_tbl_subscription_plans`.`features`, `thecarg_db`.`cg_tbl_subscription_plans`.`status`, `thecarg_db`.`cg_tbl_subscription_plans`.`created_at`, `thecarg_db`.`cg_tbl_subscription_plans`.`updated_at` FROM `thecarg_db`.`cg_tbl_subscription_plans` WHERE `thecarg_db`.`cg_tbl_subscription_plans`.`id` = ? LIMIT ? OFFSET ?
prisma:query SELECT `thecarg_db`.`cg_tbl_category_sub_category_setup`.`id`, `thecarg_db`.`cg_tbl_category_sub_category_setup`.`sub_category_id`, `thecarg_db`.`cg_tbl_category_sub_category_setup`.`category_id` FROM `thecarg_db`.`cg_tbl_category_sub_category_setup` LEFT JOIN `thecarg_db`.`cg_tbl_sub_categories` AS `j1` ON (`j1`.`id`) = (`thecarg_db`.`cg_tbl_category_sub_category_setup`.`sub_category_id`) WHERE ((`thecarg_db`.`cg_tbl_category_sub_category_setup`.`status` = ? AND (`j1`.`status` = ? AND (`j1`.`id` IS NOT NULL))) AND `thecarg_db`.`cg_tbl_category_sub_category_setup`.`category_id` IN (?,?,?,?,?,?,?,?))
[2026-06-24T11:36:22.171Z] [INFO]: [ZONE_RESOLVE] Resolving zone for coordinates: (13.069852978031037, 80.19511070046688)
--------------------------------------------------

prisma:query SELECT id, status, zone_name AS zoneName, zone_code AS zoneCode, ABS(ST_Area(coordinates)) as area 
       FROM cg_tbl_zones 
       WHERE ST_Contains(coordinates, ST_GeomFromText(?))
       ORDER BY area ASC
[2026-06-24T11:36:22.434Z] [INFO]: [BANNERS] Fetching garage banners for zoneIds: [13, 11]
--------------------------------------------------

prisma:query 
      SELECT 
        'admin_banner' AS bannerSource,
        b.id,
        b.title,
        b.banner_image AS bannerImage,
        NULL AS userId,
        NULL AS userRoleId,
        NULL AS productId,
        b.created_at AS createdAt
      FROM cg_tbl_banners b
      WHERE b.status = 1 
        AND b.zone_id IN (?,?)

      UNION ALL

      SELECT 
        'advertisement' AS bannerSource,
        a.id,
        a.title,
        a.banner_image AS bannerImage,
        a.user_id AS userId,
        a.user_role_id AS userRoleId,
        a.product_id AS productId,
        a.created_at AS createdAt
      FROM cg_tbl_advertisements a
      WHERE a.status = 1 
        AND a.advertisement_type = 'banner'
        AND a.approval_status = 'approved'
        AND a.payment_status = 'paid'
        AND NOW() BETWEEN a.from_date AND a.to_date
        AND a.zone_id IN (?,?)
      ORDER BY createdAt DESC
    
prisma:query SELECT `thecarg_db`.`cg_tbl_zones`.`id` FROM `thecarg_db`.`cg_tbl_zones` WHERE (`thecarg_db`.`cg_tbl_zones`.`id` IN (?,?) AND `thecarg_db`.`cg_tbl_zones`.`status` = ?)
prisma:query SELECT `thecarg_db`.`cg_tbl_sellers`.`id`, `thecarg_db`.`cg_tbl_sellers`.`status`, `thecarg_db`.`cg_tbl_sellers`.`operating_hours`, `thecarg_db`.`cg_tbl_sellers`.`zone` FROM `thecarg_db`.`cg_tbl_sellers` WHERE `thecarg_db`.`cg_tbl_sellers`.`status` = ?
prisma:query SELECT `thecarg_db`.`cg_tbl_zones`.`id` FROM `thecarg_db`.`cg_tbl_zones` WHERE (`thecarg_db`.`cg_tbl_zones`.`id` IN (?,?) AND `thecarg_db`.`cg_tbl_zones`.`status` = ?)
prisma:query SELECT `thecarg_db`.`cg_tbl_sellers`.`id`, `thecarg_db`.`cg_tbl_sellers`.`status`, `thecarg_db`.`cg_tbl_sellers`.`operating_hours`, `thecarg_db`.`cg_tbl_sellers`.`zone` FROM `thecarg_db`.`cg_tbl_sellers` WHERE `thecarg_db`.`cg_tbl_sellers`.`status` = ?
prisma:query SELECT COUNT(`thecarg_db`.`cg_tbl_products`.`id`), `thecarg_db`.`cg_tbl_products`.`techdoc_brand_id` FROM `thecarg_db`.`cg_tbl_products` WHERE (`thecarg_db`.`cg_tbl_products`.`status` = ? AND (`thecarg_db`.`cg_tbl_products`.`id`) IN (SELECT `t1`.`product_id` FROM `thecarg_db`.`cg_tbl_seller_products` AS `t1` WHERE (`t1`.`status` = ? AND `t1`.`is_in_stock` = ? AND `t1`.`seller_id` IN (?) AND `t1`.`product_id` IS NOT NULL))) GROUP BY `thecarg_db`.`cg_tbl_products`.`techdoc_brand_id`
prisma:query SELECT COUNT(`thecarg_db`.`cg_tbl_products`.`id`), `thecarg_db`.`cg_tbl_products`.`techdoc_brand_id`, `thecarg_db`.`cg_tbl_products`.`brand_name` FROM `thecarg_db`.`cg_tbl_products` WHERE (`thecarg_db`.`cg_tbl_products`.`status` = ? AND (`thecarg_db`.`cg_tbl_products`.`id`) IN (SELECT `t1`.`product_id` FROM `thecarg_db`.`cg_tbl_seller_products` AS `t1` WHERE (`t1`.`status` = ? AND `t1`.`is_in_stock` = ? AND `t1`.`seller_id` IN (?) AND `t1`.`product_id` IS NOT NULL))) GROUP BY `thecarg_db`.`cg_tbl_products`.`techdoc_brand_id`, `thecarg_db`.`cg_tbl_products`.`brand_name` ORDER BY `thecarg_db`.`cg_tbl_products`.`techdoc_brand_id` ASC LIMIT ? OFFSET ?
[2026-06-24T11:36:26.407Z] [INFO]: TecDoc → getBrands | provider: 25791 | country: IN | url: https://webservice.tecalliance.services/pegasus-3-0/services/TecdocToCatDLB.jsonEndpoint
--------------------------------------------------

prisma:query SELECT `thecarg_db`.`cg_tbl_products`.`assembly_group_node_id`, `thecarg_db`.`cg_tbl_products`.`generic_article_id` FROM `thecarg_db`.`cg_tbl_products` WHERE (`thecarg_db`.`cg_tbl_products`.`status` = ? AND (`thecarg_db`.`cg_tbl_products`.`id`) IN (SELECT `t1`.`product_id` FROM `thecarg_db`.`cg_tbl_seller_products` AS `t1` WHERE (`t1`.`status` = ? AND `t1`.`is_in_stock` = ? AND `t1`.`seller_id` IN (?) AND `t1`.`product_id` IS NOT NULL))) GROUP BY `thecarg_db`.`cg_tbl_products`.`assembly_group_node_id`, `thecarg_db`.`cg_tbl_products`.`generic_article_id`
[2026-06-24T11:36:26.413Z] [INFO]: TecDoc → getGenericArticles | provider: 25791 | country: IN | url: https://webservice.tecalliance.services/pegasus-3-0/services/TecdocToCatDLB.jsonEndpoint
--------------------------------------------------

prisma:query SELECT `thecarg_db`.`cg_tbl_products`.`assembly_group_node_id`, `thecarg_db`.`cg_tbl_products`.`generic_article_id` FROM `thecarg_db`.`cg_tbl_products` WHERE `thecarg_db`.`cg_tbl_products`.`status` = ? GROUP BY `thecarg_db`.`cg_tbl_products`.`assembly_group_node_id`, `thecarg_db`.`cg_tbl_products`.`generic_article_id`
[2026-06-24T11:36:27.266Z] [INFO]: TecDoc → getArticles | provider: 25791 | country: IN | url: https://webservice.tecalliance.services/pegasus-3-0/services/TecdocToCatDLB.jsonEndpoint
--------------------------------------------------

prisma:query SELECT `thecarg_db`.`cg_tbl_vehicle_classes`.`id`, `thecarg_db`.`cg_tbl_vehicle_classes`.`name`, `thecarg_db`.`cg_tbl_vehicle_classes`.`slug` FROM `thecarg_db`.`cg_tbl_vehicle_classes` WHERE `thecarg_db`.`cg_tbl_vehicle_classes`.`status` = ? ORDER BY `thecarg_db`.`cg_tbl_vehicle_classes`.`name` ASC
prisma:query SELECT `thecarg_db`.`cg_tbl_business_settings`.`id`, `thecarg_db`.`cg_tbl_business_settings`.`key`, `thecarg_db`.`cg_tbl_business_settings`.`value`, `thecarg_db`.`cg_tbl_business_settings`.`created_at`, `thecarg_db`.`cg_tbl_business_settings`.`updated_at` FROM `thecarg_db`.`cg_tbl_business_settings` WHERE `thecarg_db`.`cg_tbl_business_settings`.`key` IN (?,?,?,?)
prisma:query SELECT `thecarg_db`.`cg_tbl_vehicle_fuel_types`.`id`, `thecarg_db`.`cg_tbl_vehicle_fuel_types`.`name`, `thecarg_db`.`cg_tbl_vehicle_fuel_types`.`slug` FROM `thecarg_db`.`cg_tbl_vehicle_fuel_types` WHERE `thecarg_db`.`cg_tbl_vehicle_fuel_types`.`status` = ? ORDER BY `thecarg_db`.`cg_tbl_vehicle_fuel_types`.`name` ASC
prisma:query SELECT `thecarg_db`.`cg_tbl_gig_reasons`.`id`, `thecarg_db`.`cg_tbl_gig_reasons`.`reason` FROM `thecarg_db`.`cg_tbl_gig_reasons` WHERE `thecarg_db`.`cg_tbl_gig_reasons`.`status` = ? ORDER BY `thecarg_db`.`cg_tbl_gig_reasons`.`id` ASC
prisma:query SELECT `thecarg_db`.`cg_tbl_customers`.`id`, `thecarg_db`.`cg_tbl_customers`.`full_name`, `thecarg_db`.`cg_tbl_customers`.`mobile`, `thecarg_db`.`cg_tbl_customers`.`email`, `thecarg_db`.`cg_tbl_customers`.`profile_photo_file`, `thecarg_db`.`cg_tbl_customers`.`status`, `thecarg_db`.`cg_tbl_customers`.`created_at`, `thecarg_db`.`cg_tbl_customers`.`updated_at`, `thecarg_db`.`cg_tbl_customers`.`date_of_birth`, `thecarg_db`.`cg_tbl_customers`.`fcm_token`, `thecarg_db`.`cg_tbl_customers`.`marriage_date`, `thecarg_db`.`cg_tbl_customers`.`ref_code`, `thecarg_db`.`cg_tbl_customers`.`referred_by` FROM `thecarg_db`.`cg_tbl_customers` WHERE `thecarg_db`.`cg_tbl_customers`.`id` = ? LIMIT ? OFFSET ?
prisma:query SELECT `thecarg_db`.`cg_tbl_customers`.`id`, `thecarg_db`.`cg_tbl_customers`.`full_name`, `thecarg_db`.`cg_tbl_customers`.`mobile`, `thecarg_db`.`cg_tbl_customers`.`email`, `thecarg_db`.`cg_tbl_customers`.`profile_photo_file`, `thecarg_db`.`cg_tbl_customers`.`status`, `thecarg_db`.`cg_tbl_customers`.`created_at`, `thecarg_db`.`cg_tbl_customers`.`updated_at`, `thecarg_db`.`cg_tbl_customers`.`date_of_birth`, `thecarg_db`.`cg_tbl_customers`.`fcm_token`, `thecarg_db`.`cg_tbl_customers`.`marriage_date`, `thecarg_db`.`cg_tbl_customers`.`ref_code`, `thecarg_db`.`cg_tbl_customers`.`referred_by` FROM `thecarg_db`.`cg_tbl_customers` WHERE (`thecarg_db`.`cg_tbl_customers`.`id` = ? AND 1=1) LIMIT ? OFFSET ?
prisma:query SELECT `thecarg_db`.`cg_tbl_business_settings`.`id`, `thecarg_db`.`cg_tbl_business_settings`.`key`, `thecarg_db`.`cg_tbl_business_settings`.`value`, `thecarg_db`.`cg_tbl_business_settings`.`created_at`, `thecarg_db`.`cg_tbl_business_settings`.`updated_at` FROM `thecarg_db`.`cg_tbl_business_settings` WHERE (`thecarg_db`.`cg_tbl_business_settings`.`key` = ? AND 1=1) LIMIT ? OFFSET ?
prisma:query SELECT COUNT(*) FROM (SELECT `thecarg_db`.`cg_tbl_categories`.`id` FROM `thecarg_db`.`cg_tbl_categories` WHERE (`thecarg_db`.`cg_tbl_categories`.`status` = ? AND (`thecarg_db`.`cg_tbl_categories`.`is_accident` = ? OR (`thecarg_db`.`cg_tbl_categories`.`id`) IN (SELECT `t1`.`category_id` FROM `thecarg_db`.`cg_tbl_category_sub_category_setup` AS `t1` LEFT JOIN `thecarg_db`.`cg_tbl_sub_categories` AS `j2` ON (`j2`.`id`) = (`t1`.`sub_category_id`) WHERE (`t1`.`status` = ? AND (`j2`.`status` = ? AND (`j2`.`id` IS NOT NULL)) AND `t1`.`service_type` IN (?,?) AND `t1`.`category_id` IS NOT NULL))))) AS `sub`
prisma:query SELECT `thecarg_db`.`cg_tbl_business_settings`.`id`, `thecarg_db`.`cg_tbl_business_settings`.`key`, `thecarg_db`.`cg_tbl_business_settings`.`value`, `thecarg_db`.`cg_tbl_business_settings`.`created_at`, `thecarg_db`.`cg_tbl_business_settings`.`updated_at` FROM `thecarg_db`.`cg_tbl_business_settings` WHERE (`thecarg_db`.`cg_tbl_business_settings`.`key` = ? AND 1=1) LIMIT ? OFFSET ?
prisma:query SELECT `thecarg_db`.`cg_tbl_customers`.`id`, `thecarg_db`.`cg_tbl_customers`.`full_name`, `thecarg_db`.`cg_tbl_customers`.`mobile`, `thecarg_db`.`cg_tbl_customers`.`email`, `thecarg_db`.`cg_tbl_customers`.`profile_photo_file`, `thecarg_db`.`cg_tbl_customers`.`status`, `thecarg_db`.`cg_tbl_customers`.`created_at`, `thecarg_db`.`cg_tbl_customers`.`updated_at`, `thecarg_db`.`cg_tbl_customers`.`date_of_birth`, `thecarg_db`.`cg_tbl_customers`.`fcm_token`, `thecarg_db`.`cg_tbl_customers`.`marriage_date`, `thecarg_db`.`cg_tbl_customers`.`ref_code`, `thecarg_db`.`cg_tbl_customers`.`referred_by` FROM `thecarg_db`.`cg_tbl_customers` WHERE (`thecarg_db`.`cg_tbl_customers`.`id` = ? AND 1=1) LIMIT ? OFFSET ?
prisma:query SELECT `thecarg_db`.`cg_tbl_categories`.`id`, `thecarg_db`.`cg_tbl_categories`.`category_name`, `thecarg_db`.`cg_tbl_categories`.`category_image`, `thecarg_db`.`cg_tbl_categories`.`is_accident` FROM `thecarg_db`.`cg_tbl_categories` WHERE (`thecarg_db`.`cg_tbl_categories`.`status` = ? AND (`thecarg_db`.`cg_tbl_categories`.`is_accident` = ? OR (`thecarg_db`.`cg_tbl_categories`.`id`) IN (SELECT `t1`.`category_id` FROM `thecarg_db`.`cg_tbl_category_sub_category_setup` AS `t1` LEFT JOIN `thecarg_db`.`cg_tbl_sub_categories` AS `j2` ON (`j2`.`id`) = (`t1`.`sub_category_id`) WHERE (`t1`.`status` = ? AND (`j2`.`status` = ? AND (`j2`.`id` IS NOT NULL)) AND `t1`.`service_type` IN (?,?) AND `t1`.`category_id` IS NOT NULL)))) ORDER BY `thecarg_db`.`cg_tbl_categories`.`id` ASC LIMIT ? OFFSET ?
prisma:query SELECT `thecarg_db`.`cg_tbl_categories`.`id`, `thecarg_db`.`cg_tbl_categories`.`category_name`, `thecarg_db`.`cg_tbl_categories`.`category_image`, `thecarg_db`.`cg_tbl_categories`.`is_accident` FROM `thecarg_db`.`cg_tbl_categories` WHERE (`thecarg_db`.`cg_tbl_categories`.`status` = ? AND (`thecarg_db`.`cg_tbl_categories`.`is_accident` = ? OR (`thecarg_db`.`cg_tbl_categories`.`id`) IN (SELECT `t1`.`category_id` FROM `thecarg_db`.`cg_tbl_category_sub_category_setup` AS `t1` LEFT JOIN `thecarg_db`.`cg_tbl_sub_categories` AS `j2` ON (`j2`.`id`) = (`t1`.`sub_category_id`) WHERE (`t1`.`status` = ? AND (`j2`.`status` = ? AND (`j2`.`id` IS NOT NULL)) AND `t1`.`category_id` IS NOT NULL)))) ORDER BY `thecarg_db`.`cg_tbl_categories`.`id` ASC LIMIT ? OFFSET ?
prisma:query SELECT `thecarg_db`.`cg_tbl_business_settings`.`id`, `thecarg_db`.`cg_tbl_business_settings`.`key`, `thecarg_db`.`cg_tbl_business_settings`.`value`, `thecarg_db`.`cg_tbl_business_settings`.`created_at`, `thecarg_db`.`cg_tbl_business_settings`.`updated_at` FROM `thecarg_db`.`cg_tbl_business_settings` WHERE (`thecarg_db`.`cg_tbl_business_settings`.`key` = ? AND 1=1) LIMIT ? OFFSET ?
prisma:query SELECT COUNT(*) FROM (SELECT `thecarg_db`.`cg_tbl_categories`.`id` FROM `thecarg_db`.`cg_tbl_categories` WHERE (`thecarg_db`.`cg_tbl_categories`.`status` = ? AND (`thecarg_db`.`cg_tbl_categories`.`is_accident` = ? OR (`thecarg_db`.`cg_tbl_categories`.`id`) IN (SELECT `t1`.`category_id` FROM `thecarg_db`.`cg_tbl_category_sub_category_setup` AS `t1` LEFT JOIN `thecarg_db`.`cg_tbl_sub_categories` AS `j2` ON (`j2`.`id`) = (`t1`.`sub_category_id`) WHERE (`t1`.`status` = ? AND (`j2`.`status` = ? AND (`j2`.`id` IS NOT NULL)) AND `t1`.`category_id` IS NOT NULL))))) AS `sub`
prisma:query SELECT `thecarg_db`.`cg_tbl_customers`.`id`, `thecarg_db`.`cg_tbl_customers`.`full_name`, `thecarg_db`.`cg_tbl_customers`.`mobile`, `thecarg_db`.`cg_tbl_customers`.`email`, `thecarg_db`.`cg_tbl_customers`.`profile_photo_file`, `thecarg_db`.`cg_tbl_customers`.`status`, `thecarg_db`.`cg_tbl_customers`.`created_at`, `thecarg_db`.`cg_tbl_customers`.`updated_at`, `thecarg_db`.`cg_tbl_customers`.`date_of_birth`, `thecarg_db`.`cg_tbl_customers`.`fcm_token`, `thecarg_db`.`cg_tbl_customers`.`marriage_date`, `thecarg_db`.`cg_tbl_customers`.`ref_code`, `thecarg_db`.`cg_tbl_customers`.`referred_by` FROM `thecarg_db`.`cg_tbl_customers` WHERE (`thecarg_db`.`cg_tbl_customers`.`id` = ? AND 1=1) LIMIT ? OFFSET ?
prisma:query SELECT `thecarg_db`.`cg_tbl_vehicle_classes`.`id`, `thecarg_db`.`cg_tbl_vehicle_classes`.`name`, `thecarg_db`.`cg_tbl_vehicle_classes`.`slug` FROM `thecarg_db`.`cg_tbl_vehicle_classes` WHERE `thecarg_db`.`cg_tbl_vehicle_classes`.`status` = ? ORDER BY `thecarg_db`.`cg_tbl_vehicle_classes`.`name` ASC
prisma:query SELECT `thecarg_db`.`cg_tbl_business_settings`.`id`, `thecarg_db`.`cg_tbl_business_settings`.`key`, `thecarg_db`.`cg_tbl_business_settings`.`value`, `thecarg_db`.`cg_tbl_business_settings`.`created_at`, `thecarg_db`.`cg_tbl_business_settings`.`updated_at` FROM `thecarg_db`.`cg_tbl_business_settings` WHERE `thecarg_db`.`cg_tbl_business_settings`.`key` IN (?,?,?,?)
prisma:query SELECT `thecarg_db`.`cg_tbl_vehicle_fuel_types`.`id`, `thecarg_db`.`cg_tbl_vehicle_fuel_types`.`name`, `thecarg_db`.`cg_tbl_vehicle_fuel_types`.`slug` FROM `thecarg_db`.`cg_tbl_vehicle_fuel_types` WHERE `thecarg_db`.`cg_tbl_vehicle_fuel_types`.`status` = ? ORDER BY `thecarg_db`.`cg_tbl_vehicle_fuel_types`.`name` ASC
prisma:query SELECT COUNT(*) FROM (SELECT `thecarg_db`.`cg_table_tutorials`.`id` FROM `thecarg_db`.`cg_table_tutorials` WHERE (`thecarg_db`.`cg_table_tutorials`.`role_id` = ? AND `thecarg_db`.`cg_table_tutorials`.`status` = ?)) AS `sub`
prisma:query SELECT `thecarg_db`.`cg_tbl_gig_reasons`.`id`, `thecarg_db`.`cg_tbl_gig_reasons`.`reason` FROM `thecarg_db`.`cg_tbl_gig_reasons` WHERE `thecarg_db`.`cg_tbl_gig_reasons`.`status` = ? ORDER BY `thecarg_db`.`cg_tbl_gig_reasons`.`id` ASC
prisma:query BEGIN
prisma:query SELECT `thecarg_db`.`cg_table_tutorials`.`id`, `thecarg_db`.`cg_table_tutorials`.`role_id`, `thecarg_db`.`cg_table_tutorials`.`youtube_url`, `thecarg_db`.`cg_table_tutorials`.`status`, `thecarg_db`.`cg_table_tutorials`.`created_at`, `thecarg_db`.`cg_table_tutorials`.`created_by`, `thecarg_db`.`cg_table_tutorials`.`updated_at` FROM `thecarg_db`.`cg_table_tutorials` WHERE (`thecarg_db`.`cg_table_tutorials`.`role_id` = ? AND `thecarg_db`.`cg_table_tutorials`.`status` = ?) ORDER BY `thecarg_db`.`cg_table_tutorials`.`created_at` DESC LIMIT ? OFFSET ?
prisma:query SELECT `thecarg_db`.`cg_tbl_customers`.`id` FROM `thecarg_db`.`cg_tbl_customers` WHERE (`thecarg_db`.`cg_tbl_customers`.`id` = ? AND 1=1)
prisma:query UPDATE `thecarg_db`.`cg_tbl_customers` SET `fcm_token` = ?, `updated_at` = ? WHERE (`thecarg_db`.`cg_tbl_customers`.`id` IN (?) AND (`thecarg_db`.`cg_tbl_customers`.`id` = ? AND 1=1))
prisma:query SELECT `thecarg_db`.`cg_tbl_customers`.`id`, `thecarg_db`.`cg_tbl_customers`.`full_name`, `thecarg_db`.`cg_tbl_customers`.`mobile`, `thecarg_db`.`cg_tbl_customers`.`email`, `thecarg_db`.`cg_tbl_customers`.`profile_photo_file`, `thecarg_db`.`cg_tbl_customers`.`status`, `thecarg_db`.`cg_tbl_customers`.`created_at`, `thecarg_db`.`cg_tbl_customers`.`updated_at`, `thecarg_db`.`cg_tbl_customers`.`date_of_birth`, `thecarg_db`.`cg_tbl_customers`.`fcm_token`, `thecarg_db`.`cg_tbl_customers`.`marriage_date`, `thecarg_db`.`cg_tbl_customers`.`ref_code`, `thecarg_db`.`cg_tbl_customers`.`referred_by` FROM `thecarg_db`.`cg_tbl_customers` WHERE `thecarg_db`.`cg_tbl_customers`.`id` = ? LIMIT ? OFFSET ?
prisma:query COMMIT
prisma:query SELECT COUNT(*) FROM (SELECT `thecarg_db`.`cg_tbl_user_notifications`.`id` FROM `thecarg_db`.`cg_tbl_user_notifications` WHERE (`thecarg_db`.`cg_tbl_user_notifications`.`user_id` = ? AND `thecarg_db`.`cg_tbl_user_notifications`.`user_role_id` = ? AND `thecarg_db`.`cg_tbl_user_notifications`.`platform` = ?)) AS `sub`
prisma:query SELECT `thecarg_db`.`cg_tbl_user_notifications`.`id`, `thecarg_db`.`cg_tbl_user_notifications`.`user_id`, `thecarg_db`.`cg_tbl_user_notifications`.`user_role_id`, `thecarg_db`.`cg_tbl_user_notifications`.`data`, `thecarg_db`.`cg_tbl_user_notifications`.`platform`, `thecarg_db`.`cg_tbl_user_notifications`.`is_read`, `thecarg_db`.`cg_tbl_user_notifications`.`created_at` FROM `thecarg_db`.`cg_tbl_user_notifications` WHERE (`thecarg_db`.`cg_tbl_user_notifications`.`user_id` = ? AND `thecarg_db`.`cg_tbl_user_notifications`.`user_role_id` = ? AND `thecarg_db`.`cg_tbl_user_notifications`.`platform` = ?) ORDER BY `thecarg_db`.`cg_tbl_user_notifications`.`created_at` DESC LIMIT ? OFFSET ?
prisma:query SELECT `thecarg_db`.`cg_tbl_coupons`.`id`, `thecarg_db`.`cg_tbl_coupons`.`coupon_code`, `thecarg_db`.`cg_tbl_coupons`.`title`, `thecarg_db`.`cg_tbl_coupons`.`coupon_type`, `thecarg_db`.`cg_tbl_coupons`.`applicable_user_type`, `thecarg_db`.`cg_tbl_coupons`.`user_eligibility`, `thecarg_db`.`cg_tbl_coupons`.`discount_value`, `thecarg_db`.`cg_tbl_coupons`.`max_discount`, `thecarg_db`.`cg_tbl_coupons`.`min_order_value`, `thecarg_db`.`cg_tbl_coupons`.`valid_from`, `thecarg_db`.`cg_tbl_coupons`.`valid_to`, `thecarg_db`.`cg_tbl_coupons`.`total_usage_limit`, `thecarg_db`.`cg_tbl_coupons`.`total_uses`, `thecarg_db`.`cg_tbl_coupons`.`usage_per_user`, `thecarg_db`.`cg_tbl_coupons`.`category_restrictions`, `thecarg_db`.`cg_tbl_coupons`.`allow_stacking`, `thecarg_db`.`cg_tbl_coupons`.`module_type`, `thecarg_db`.`cg_tbl_coupons`.`zone_ids`, `thecarg_db`.`cg_tbl_coupons`.`vendor_id`, `thecarg_db`.`cg_tbl_coupons`.`created_at` FROM `thecarg_db`.`cg_tbl_coupons` WHERE (`thecarg_db`.`cg_tbl_coupons`.`status` = ? AND `thecarg_db`.`cg_tbl_coupons`.`applicable_user_type` IN (?,?) AND (`thecarg_db`.`cg_tbl_coupons`.`valid_from` IS NULL OR `thecarg_db`.`cg_tbl_coupons`.`valid_from` <= ?) AND (`thecarg_db`.`cg_tbl_coupons`.`valid_to` IS NULL OR `thecarg_db`.`cg_tbl_coupons`.`valid_to` >= ?)) ORDER BY `thecarg_db`.`cg_tbl_coupons`.`created_at` DESC
prisma:query SELECT `thecarg_db`.`cg_tbl_category_sub_category_setup`.`id`, `thecarg_db`.`cg_tbl_category_sub_category_setup`.`sub_category_id`, `thecarg_db`.`cg_tbl_category_sub_category_setup`.`category_id` FROM `thecarg_db`.`cg_tbl_category_sub_category_setup` LEFT JOIN `thecarg_db`.`cg_tbl_sub_categories` AS `j1` ON (`j1`.`id`) = (`thecarg_db`.`cg_tbl_category_sub_category_setup`.`sub_category_id`) WHERE ((`thecarg_db`.`cg_tbl_category_sub_category_setup`.`status` = ? AND (`j1`.`status` = ? AND (`j1`.`id` IS NOT NULL)) AND `thecarg_db`.`cg_tbl_category_sub_category_setup`.`service_type` IN (?,?)) AND `thecarg_db`.`cg_tbl_category_sub_category_setup`.`category_id` IN (?,?,?,?,?,?,?,?))
prisma:query SELECT COUNT(*) FROM (SELECT `thecarg_db`.`cg_tbl_user_addresses`.`id` FROM `thecarg_db`.`cg_tbl_user_addresses` WHERE (`thecarg_db`.`cg_tbl_user_addresses`.`user_id` = ? AND `thecarg_db`.`cg_tbl_user_addresses`.`role_id` = ? AND `thecarg_db`.`cg_tbl_user_addresses`.`status` = ?)) AS `sub`
prisma:query SELECT COUNT(*) FROM (SELECT `thecarg_db`.`cg_tbl_user_addresses`.`id` FROM `thecarg_db`.`cg_tbl_user_addresses` WHERE (`thecarg_db`.`cg_tbl_user_addresses`.`user_id` = ? AND `thecarg_db`.`cg_tbl_user_addresses`.`role_id` = ? AND `thecarg_db`.`cg_tbl_user_addresses`.`status` = ?)) AS `sub`
prisma:query SELECT `thecarg_db`.`cg_tbl_categories`.`id`, `thecarg_db`.`cg_tbl_categories`.`category_name` FROM `thecarg_db`.`cg_tbl_categories` WHERE `thecarg_db`.`cg_tbl_categories`.`id` IN (?,?,?,?,?,?)
prisma:query SELECT `thecarg_db`.`cg_tbl_category_sub_category_setup`.`id`, `thecarg_db`.`cg_tbl_category_sub_category_setup`.`sub_category_id`, `thecarg_db`.`cg_tbl_category_sub_category_setup`.`category_id` FROM `thecarg_db`.`cg_tbl_category_sub_category_setup` LEFT JOIN `thecarg_db`.`cg_tbl_sub_categories` AS `j1` ON (`j1`.`id`) = (`thecarg_db`.`cg_tbl_category_sub_category_setup`.`sub_category_id`) WHERE ((`thecarg_db`.`cg_tbl_category_sub_category_setup`.`status` = ? AND (`j1`.`status` = ? AND (`j1`.`id` IS NOT NULL))) AND `thecarg_db`.`cg_tbl_category_sub_category_setup`.`category_id` IN (?,?,?,?,?,?,?,?))
prisma:query SELECT `thecarg_db`.`cg_tbl_user_addresses`.`id`, `thecarg_db`.`cg_tbl_user_addresses`.`user_id`, `thecarg_db`.`cg_tbl_user_addresses`.`role_id`, `thecarg_db`.`cg_tbl_user_addresses`.`address_title`, `thecarg_db`.`cg_tbl_user_addresses`.`contact_name`, `thecarg_db`.`cg_tbl_user_addresses`.`phone_number`, `thecarg_db`.`cg_tbl_user_addresses`.`flat_house_no`, `thecarg_db`.`cg_tbl_user_addresses`.`area_locality`, `thecarg_db`.`cg_tbl_user_addresses`.`landmark`, `thecarg_db`.`cg_tbl_user_addresses`.`pincode`, `thecarg_db`.`cg_tbl_user_addresses`.`city`, `thecarg_db`.`cg_tbl_user_addresses`.`state`, `thecarg_db`.`cg_tbl_user_addresses`.`latitude`, `thecarg_db`.`cg_tbl_user_addresses`.`longitude`, `thecarg_db`.`cg_tbl_user_addresses`.`full_address`, `thecarg_db`.`cg_tbl_user_addresses`.`is_default`, `thecarg_db`.`cg_tbl_user_addresses`.`status`, `thecarg_db`.`cg_tbl_user_addresses`.`created_at`, `thecarg_db`.`cg_tbl_user_addresses`.`updated_at` FROM `thecarg_db`.`cg_tbl_user_addresses` WHERE (`thecarg_db`.`cg_tbl_user_addresses`.`user_id` = ? AND `thecarg_db`.`cg_tbl_user_addresses`.`role_id` = ? AND `thecarg_db`.`cg_tbl_user_addresses`.`status` = ?) ORDER BY `thecarg_db`.`cg_tbl_user_addresses`.`is_default` DESC, `thecarg_db`.`cg_tbl_user_addresses`.`id` DESC LIMIT ? OFFSET ?
prisma:query SELECT COUNT(*) FROM (SELECT `thecarg_db`.`cg_tbl_vehicles_master`.`id` FROM `thecarg_db`.`cg_tbl_vehicles_master` WHERE (`thecarg_db`.`cg_tbl_vehicles_master`.`user_id` = ? AND `thecarg_db`.`cg_tbl_vehicles_master`.`user_role_id` = ? AND `thecarg_db`.`cg_tbl_vehicles_master`.`deleted_status` = ? AND `thecarg_db`.`cg_tbl_vehicles_master`.`status` = ?)) AS `sub`
prisma:query SELECT `thecarg_db`.`cg_tbl_user_addresses`.`id`, `thecarg_db`.`cg_tbl_user_addresses`.`user_id`, `thecarg_db`.`cg_tbl_user_addresses`.`role_id`, `thecarg_db`.`cg_tbl_user_addresses`.`address_title`, `thecarg_db`.`cg_tbl_user_addresses`.`contact_name`, `thecarg_db`.`cg_tbl_user_addresses`.`phone_number`, `thecarg_db`.`cg_tbl_user_addresses`.`flat_house_no`, `thecarg_db`.`cg_tbl_user_addresses`.`area_locality`, `thecarg_db`.`cg_tbl_user_addresses`.`landmark`, `thecarg_db`.`cg_tbl_user_addresses`.`pincode`, `thecarg_db`.`cg_tbl_user_addresses`.`city`, `thecarg_db`.`cg_tbl_user_addresses`.`state`, `thecarg_db`.`cg_tbl_user_addresses`.`latitude`, `thecarg_db`.`cg_tbl_user_addresses`.`longitude`, `thecarg_db`.`cg_tbl_user_addresses`.`full_address`, `thecarg_db`.`cg_tbl_user_addresses`.`is_default`, `thecarg_db`.`cg_tbl_user_addresses`.`status`, `thecarg_db`.`cg_tbl_user_addresses`.`created_at`, `thecarg_db`.`cg_tbl_user_addresses`.`updated_at` FROM `thecarg_db`.`cg_tbl_user_addresses` WHERE (`thecarg_db`.`cg_tbl_user_addresses`.`user_id` = ? AND `thecarg_db`.`cg_tbl_user_addresses`.`role_id` = ? AND `thecarg_db`.`cg_tbl_user_addresses`.`status` = ?) ORDER BY `thecarg_db`.`cg_tbl_user_addresses`.`is_default` DESC, `thecarg_db`.`cg_tbl_user_addresses`.`id` DESC LIMIT ? OFFSET ?
prisma:query SELECT `thecarg_db`.`cg_tbl_vehicles_master`.`id`, `thecarg_db`.`cg_tbl_vehicles_master`.`vehicle_no`, `thecarg_db`.`cg_tbl_vehicles_master`.`make`, `thecarg_db`.`cg_tbl_vehicles_master`.`model`, `thecarg_db`.`cg_tbl_vehicles_master`.`year`, `thecarg_db`.`cg_tbl_vehicles_master`.`chassis_no`, `thecarg_db`.`cg_tbl_vehicles_master`.`odometer_reading_km`, `thecarg_db`.`cg_tbl_vehicles_master`.`vehicle_image`, `thecarg_db`.`cg_tbl_vehicles_master`.`vehicle_rc_img`, `thecarg_db`.`cg_tbl_vehicles_master`.`vehicle_class_id`, `thecarg_db`.`cg_tbl_vehicles_master`.`vehicle_fuel_type_id` FROM `thecarg_db`.`cg_tbl_vehicles_master` WHERE (`thecarg_db`.`cg_tbl_vehicles_master`.`user_id` = ? AND `thecarg_db`.`cg_tbl_vehicles_master`.`user_role_id` = ? AND `thecarg_db`.`cg_tbl_vehicles_master`.`deleted_status` = ? AND `thecarg_db`.`cg_tbl_vehicles_master`.`status` = ?) ORDER BY `thecarg_db`.`cg_tbl_vehicles_master`.`id` DESC LIMIT ? OFFSET ?
prisma:query SELECT `thecarg_db`.`cg_tbl_vehicle_classes`.`id`, `thecarg_db`.`cg_tbl_vehicle_classes`.`name`, `thecarg_db`.`cg_tbl_vehicle_classes`.`slug` FROM `thecarg_db`.`cg_tbl_vehicle_classes` WHERE `thecarg_db`.`cg_tbl_vehicle_classes`.`id` IN (?,?)
prisma:query SELECT `thecarg_db`.`cg_tbl_vehicle_fuel_types`.`id`, `thecarg_db`.`cg_tbl_vehicle_fuel_types`.`name`, `thecarg_db`.`cg_tbl_vehicle_fuel_types`.`slug` FROM `thecarg_db`.`cg_tbl_vehicle_fuel_types` WHERE `thecarg_db`.`cg_tbl_vehicle_fuel_types`.`id` IN (?,?)
[2026-06-24T11:36:32.731Z] [INFO]: [ZONE_RESOLVE] Resolving zone for coordinates: (13.07281264, 80.19470259)
--------------------------------------------------

prisma:query SELECT id, status, zone_name AS zoneName, zone_code AS zoneCode, ABS(ST_Area(coordinates)) as area 
       FROM cg_tbl_zones 
       WHERE ST_Contains(coordinates, ST_GeomFromText(?))
       ORDER BY area ASC
[2026-06-24T11:36:32.838Z] [INFO]: [BANNERS] Fetching banners for zoneIds: [13]
--------------------------------------------------

prisma:query 
      SELECT 
        'admin_banner' AS bannerSource,
        b.id,
        b.title,
        b.banner_image AS bannerImage,
        NULL AS userId,
        NULL AS userRoleId,
        NULL AS productId,
        b.created_at AS createdAt
      FROM cg_tbl_banners b
      WHERE b.status = 1 
        AND b.zone_id IN (?)

      UNION ALL

      SELECT 
        'advertisement' AS bannerSource,
        a.id,
        a.title,
        a.banner_image AS bannerImage,
        a.user_id AS userId,
        a.user_role_id AS userRoleId,
        a.product_id AS productId,
        a.created_at AS createdAt
      FROM cg_tbl_advertisements a
      WHERE a.status = 1 
        AND a.advertisement_type = 'banner'
        AND a.approval_status = 'approved'
        AND a.payment_status = 'paid'
        AND NOW() BETWEEN a.from_date AND a.to_date
        AND a.zone_id IN (?)
      ORDER BY createdAt DESC
    
prisma:query SELECT `thecarg_db`.`cg_tbl_zones`.`id` FROM `thecarg_db`.`cg_tbl_zones` WHERE (`thecarg_db`.`cg_tbl_zones`.`id` IN (?,?) AND `thecarg_db`.`cg_tbl_zones`.`status` = ?)
prisma:query SELECT `thecarg_db`.`cg_tbl_sellers`.`id`, `thecarg_db`.`cg_tbl_sellers`.`status`, `thecarg_db`.`cg_tbl_sellers`.`operating_hours`, `thecarg_db`.`cg_tbl_sellers`.`zone` FROM `thecarg_db`.`cg_tbl_sellers` WHERE `thecarg_db`.`cg_tbl_sellers`.`status` = ?
prisma:query SELECT `thecarg_db`.`cg_tbl_products`.`id`, `thecarg_db`.`cg_tbl_products`.`article_number` FROM `thecarg_db`.`cg_tbl_products` WHERE (`thecarg_db`.`cg_tbl_products`.`status` = ? AND (`thecarg_db`.`cg_tbl_products`.`id`) IN (SELECT `t1`.`product_id` FROM `thecarg_db`.`cg_tbl_seller_products` AS `t1` WHERE (`t1`.`status` = ? AND `t1`.`seller_id` IN (?) AND `t1`.`product_id` IS NOT NULL))) ORDER BY `thecarg_db`.`cg_tbl_products`.`id` ASC
prisma:query SELECT `thecarg_db`.`cg_tbl_products`.`article_number` FROM `thecarg_db`.`cg_tbl_products` WHERE `thecarg_db`.`cg_tbl_products`.`id` IN (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?) GROUP BY `thecarg_db`.`cg_tbl_products`.`article_number`
prisma:query SELECT MIN(`thecarg_db`.`cg_tbl_products`.`id`), `thecarg_db`.`cg_tbl_products`.`article_number` FROM `thecarg_db`.`cg_tbl_products` WHERE `thecarg_db`.`cg_tbl_products`.`id` IN (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?) GROUP BY `thecarg_db`.`cg_tbl_products`.`article_number` ORDER BY MIN(`thecarg_db`.`cg_tbl_products`.`id`) ASC LIMIT ? OFFSET ?
prisma:query SELECT `thecarg_db`.`cg_tbl_products`.`id`, `thecarg_db`.`cg_tbl_products`.`techdoc_article_id`, `thecarg_db`.`cg_tbl_products`.`techdoc_brand_id`, `thecarg_db`.`cg_tbl_products`.`article_number`, `thecarg_db`.`cg_tbl_products`.`brand_name`, `thecarg_db`.`cg_tbl_products`.`status`, `thecarg_db`.`cg_tbl_products`.`created_at`, `thecarg_db`.`cg_tbl_products`.`updated_at`, `thecarg_db`.`cg_tbl_products`.`assembly_group_node_id`, `thecarg_db`.`cg_tbl_products`.`generic_article_id` FROM `thecarg_db`.`cg_tbl_products` WHERE `thecarg_db`.`cg_tbl_products`.`id` IN (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?) ORDER BY `thecarg_db`.`cg_tbl_products`.`id` ASC
[2026-06-24T11:36:34.358Z] [INFO]: TecDoc → getArticles | provider: 25791 | country: IN | url: https://webservice.tecalliance.services/pegasus-3-0/services/TecdocToCatDLB.jsonEndpoint
--------------------------------------------------

[2026-06-24T11:36:34.362Z] [INFO]: TecDoc → getArticles | provider: 25791 | country: IN | url: https://webservice.tecalliance.services/pegasus-3-0/services/TecdocToCatDLB.jsonEndpoint
--------------------------------------------------

[2026-06-24T11:36:34.364Z] [INFO]: TecDoc → getArticles | provider: 25791 | country: IN | url: https://webservice.tecalliance.services/pegasus-3-0/services/TecdocToCatDLB.jsonEndpoint
--------------------------------------------------

[2026-06-24T11:36:34.366Z] [INFO]: TecDoc → getArticles | provider: 25791 | country: IN | url: https://webservice.tecalliance.services/pegasus-3-0/services/TecdocToCatDLB.jsonEndpoint
--------------------------------------------------

[2026-06-24T11:36:34.368Z] [INFO]: TecDoc → getArticles | provider: 25791 | country: IN | url: https://webservice.tecalliance.services/pegasus-3-0/services/TecdocToCatDLB.jsonEndpoint
--------------------------------------------------

[2026-06-24T11:36:34.370Z] [INFO]: TecDoc → getArticles | provider: 25791 | country: IN | url: https://webservice.tecalliance.services/pegasus-3-0/services/TecdocToCatDLB.jsonEndpoint
--------------------------------------------------

[2026-06-24T11:36:34.373Z] [INFO]: TecDoc → getArticles | provider: 25791 | country: IN | url: https://webservice.tecalliance.services/pegasus-3-0/services/TecdocToCatDLB.jsonEndpoint
--------------------------------------------------

[2026-06-24T11:36:34.376Z] [INFO]: TecDoc → getArticles | provider: 25791 | country: IN | url: https://webservice.tecalliance.services/pegasus-3-0/services/TecdocToCatDLB.jsonEndpoint
--------------------------------------------------

[2026-06-24T11:36:34.378Z] [INFO]: TecDoc → getArticles | provider: 25791 | country: IN | url: https://webservice.tecalliance.services/pegasus-3-0/services/TecdocToCatDLB.jsonEndpoint
--------------------------------------------------

[2026-06-24T11:36:34.381Z] [INFO]: TecDoc → getArticles | provider: 25791 | country: IN | url: https://webservice.tecalliance.services/pegasus-3-0/services/TecdocToCatDLB.jsonEndpoint
--------------------------------------------------

[2026-06-24T11:36:34.383Z] [INFO]: TecDoc → getArticles | provider: 25791 | country: IN | url: https://webservice.tecalliance.services/pegasus-3-0/services/TecdocToCatDLB.jsonEndpoint
--------------------------------------------------

[2026-06-24T11:36:34.386Z] [INFO]: TecDoc → getArticles | provider: 25791 | country: IN | url: https://webservice.tecalliance.services/pegasus-3-0/services/TecdocToCatDLB.jsonEndpoint
--------------------------------------------------

[2026-06-24T11:36:34.387Z] [INFO]: TecDoc → getArticles | provider: 25791 | country: IN | url: https://webservice.tecalliance.services/pegasus-3-0/services/TecdocToCatDLB.jsonEndpoint
--------------------------------------------------

[2026-06-24T11:36:34.389Z] [INFO]: TecDoc → getArticles | provider: 25791 | country: IN | url: https://webservice.tecalliance.services/pegasus-3-0/services/TecdocToCatDLB.jsonEndpoint
--------------------------------------------------

[2026-06-24T11:36:34.392Z] [INFO]: TecDoc → getArticles | provider: 25791 | country: IN | url: https://webservice.tecalliance.services/pegasus-3-0/services/TecdocToCatDLB.jsonEndpoint
--------------------------------------------------

[2026-06-24T11:36:34.394Z] [INFO]: TecDoc → getArticles | provider: 25791 | country: IN | url: https://webservice.tecalliance.services/pegasus-3-0/services/TecdocToCatDLB.jsonEndpoint
--------------------------------------------------

[2026-06-24T11:36:34.399Z] [INFO]: TecDoc → getArticles | provider: 25791 | country: IN | url: https://webservice.tecalliance.services/pegasus-3-0/services/TecdocToCatDLB.jsonEndpoint
--------------------------------------------------

[2026-06-24T11:36:34.401Z] [INFO]: TecDoc → getArticles | provider: 25791 | country: IN | url: https://webservice.tecalliance.services/pegasus-3-0/services/TecdocToCatDLB.jsonEndpoint
--------------------------------------------------

prisma:query SELECT `thecarg_db`.`cg_tbl_products`.`id`, `thecarg_db`.`cg_tbl_products`.`techdoc_article_id` FROM `thecarg_db`.`cg_tbl_products` WHERE (`thecarg_db`.`cg_tbl_products`.`techdoc_article_id` IN (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?) AND `thecarg_db`.`cg_tbl_products`.`status` = ? AND `thecarg_db`.`cg_tbl_products`.`id` IN (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?))
prisma:query SELECT `thecarg_db`.`cg_tbl_seller_products`.`id`, `thecarg_db`.`cg_tbl_seller_products`.`product_id`, `thecarg_db`.`cg_tbl_seller_products`.`customer_selling_price`, `thecarg_db`.`cg_tbl_seller_products`.`garage_selling_price`, `thecarg_db`.`cg_tbl_seller_products`.`mrp`, `thecarg_db`.`cg_tbl_seller_products`.`customer_discount_type`, `thecarg_db`.`cg_tbl_seller_products`.`customer_discount`, `thecarg_db`.`cg_tbl_seller_products`.`garage_discount_type`, `thecarg_db`.`cg_tbl_seller_products`.`garage_discount`, `thecarg_db`.`cg_tbl_seller_products`.`is_in_stock`, `thecarg_db`.`cg_tbl_seller_products`.`is_returnable`, `thecarg_db`.`cg_tbl_seller_products`.`return_days`, `thecarg_db`.`cg_tbl_seller_products`.`warranty_enabled`, `thecarg_db`.`cg_tbl_seller_products`.`warranty_duration`, `thecarg_db`.`cg_tbl_seller_products`.`warranty_duration_type`, `thecarg_db`.`cg_tbl_seller_products`.`warranty_document`, `thecarg_db`.`cg_tbl_seller_products`.`tax`, `thecarg_db`.`cg_tbl_seller_products`.`seller_id` FROM `thecarg_db`.`cg_tbl_seller_products` LEFT JOIN `thecarg_db`.`cg_tbl_sellers` AS `j1` ON (`j1`.`id`) = (`thecarg_db`.`cg_tbl_seller_products`.`seller_id`) WHERE (`thecarg_db`.`cg_tbl_seller_products`.`product_id` IN (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?) AND `thecarg_db`.`cg_tbl_seller_products`.`status` = ? AND (`j1`.`status` = ? AND (`j1`.`id` IS NOT NULL))) ORDER BY `thecarg_db`.`cg_tbl_seller_products`.`garage_selling_price` ASC
prisma:query SELECT `thecarg_db`.`cg_tbl_sellers`.`id`, `thecarg_db`.`cg_tbl_sellers`.`seller_id`, `thecarg_db`.`cg_tbl_sellers`.`first_name`, `thecarg_db`.`cg_tbl_sellers`.`last_name`, `thecarg_db`.`cg_tbl_sellers`.`trade_name`, `thecarg_db`.`cg_tbl_sellers`.`city`, `thecarg_db`.`cg_tbl_sellers`.`state`, `thecarg_db`.`cg_tbl_sellers`.`email`, `thecarg_db`.`cg_tbl_sellers`.`mobile`, `thecarg_db`.`cg_tbl_sellers`.`address`, `thecarg_db`.`cg_tbl_sellers`.`pincode`, `thecarg_db`.`cg_tbl_sellers`.`status`, `thecarg_db`.`cg_tbl_sellers`.`operating_hours`, `thecarg_db`.`cg_tbl_sellers`.`zone`, `thecarg_db`.`cg_tbl_sellers`.`latitude`, `thecarg_db`.`cg_tbl_sellers`.`longitude` FROM `thecarg_db`.`cg_tbl_sellers` WHERE `thecarg_db`.`cg_tbl_sellers`.`id` IN (?)
prisma:query SELECT `thecarg_db`.`cg_tbl_zones`.`id`, `thecarg_db`.`cg_tbl_zones`.`zone_name` FROM `thecarg_db`.`cg_tbl_zones` WHERE 1=1
prisma:query SELECT `thecarg_db`.`cg_tbl_zones`.`id` FROM `thecarg_db`.`cg_tbl_zones` WHERE (`thecarg_db`.`cg_tbl_zones`.`id` IN (?,?) AND `thecarg_db`.`cg_tbl_zones`.`status` = ?)
prisma:query SELECT `thecarg_db`.`cg_tbl_zones`.`id` FROM `thecarg_db`.`cg_tbl_zones` WHERE (`thecarg_db`.`cg_tbl_zones`.`id` IN (?,?) AND `thecarg_db`.`cg_tbl_zones`.`status` = ?)
prisma:query SELECT `thecarg_db`.`cg_tbl_sellers`.`id`, `thecarg_db`.`cg_tbl_sellers`.`status`, `thecarg_db`.`cg_tbl_sellers`.`operating_hours`, `thecarg_db`.`cg_tbl_sellers`.`zone` FROM `thecarg_db`.`cg_tbl_sellers` WHERE `thecarg_db`.`cg_tbl_sellers`.`status` = ?
prisma:query SELECT `thecarg_db`.`cg_tbl_sellers`.`id`, `thecarg_db`.`cg_tbl_sellers`.`status`, `thecarg_db`.`cg_tbl_sellers`.`operating_hours`, `thecarg_db`.`cg_tbl_sellers`.`zone` FROM `thecarg_db`.`cg_tbl_sellers` WHERE `thecarg_db`.`cg_tbl_sellers`.`status` = ?
prisma:query SELECT COUNT(`thecarg_db`.`cg_tbl_products`.`id`), `thecarg_db`.`cg_tbl_products`.`techdoc_brand_id` FROM `thecarg_db`.`cg_tbl_products` WHERE (`thecarg_db`.`cg_tbl_products`.`status` = ? AND (`thecarg_db`.`cg_tbl_products`.`id`) IN (SELECT `t1`.`product_id` FROM `thecarg_db`.`cg_tbl_seller_products` AS `t1` WHERE (`t1`.`status` = ? AND `t1`.`is_in_stock` = ? AND `t1`.`seller_id` IN (?) AND `t1`.`product_id` IS NOT NULL))) GROUP BY `thecarg_db`.`cg_tbl_products`.`techdoc_brand_id`
prisma:query SELECT COUNT(`thecarg_db`.`cg_tbl_products`.`id`), `thecarg_db`.`cg_tbl_products`.`techdoc_brand_id`, `thecarg_db`.`cg_tbl_products`.`brand_name` FROM `thecarg_db`.`cg_tbl_products` WHERE (`thecarg_db`.`cg_tbl_products`.`status` = ? AND (`thecarg_db`.`cg_tbl_products`.`id`) IN (SELECT `t1`.`product_id` FROM `thecarg_db`.`cg_tbl_seller_products` AS `t1` WHERE (`t1`.`status` = ? AND `t1`.`is_in_stock` = ? AND `t1`.`seller_id` IN (?) AND `t1`.`product_id` IS NOT NULL))) GROUP BY `thecarg_db`.`cg_tbl_products`.`techdoc_brand_id`, `thecarg_db`.`cg_tbl_products`.`brand_name` ORDER BY `thecarg_db`.`cg_tbl_products`.`techdoc_brand_id` ASC LIMIT ? OFFSET ?
prisma:query SELECT `thecarg_db`.`cg_tbl_products`.`assembly_group_node_id`, `thecarg_db`.`cg_tbl_products`.`generic_article_id` FROM `thecarg_db`.`cg_tbl_products` WHERE (`thecarg_db`.`cg_tbl_products`.`status` = ? AND (`thecarg_db`.`cg_tbl_products`.`id`) IN (SELECT `t1`.`product_id` FROM `thecarg_db`.`cg_tbl_seller_products` AS `t1` WHERE (`t1`.`status` = ? AND `t1`.`is_in_stock` = ? AND `t1`.`seller_id` IN (?) AND `t1`.`product_id` IS NOT NULL))) GROUP BY `thecarg_db`.`cg_tbl_products`.`assembly_group_node_id`, `thecarg_db`.`cg_tbl_products`.`generic_article_id`
[2026-06-24T11:36:38.243Z] [INFO]: TecDoc → getBrands | provider: 25791 | country: IN | url: https://webservice.tecalliance.services/pegasus-3-0/services/TecdocToCatDLB.jsonEndpoint
--------------------------------------------------

[2026-06-24T11:36:38.246Z] [INFO]: TecDoc → getGenericArticles | provider: 25791 | country: IN | url: https://webservice.tecalliance.services/pegasus-3-0/services/TecdocToCatDLB.jsonEndpoint
--------------------------------------------------

prisma:query SELECT `thecarg_db`.`cg_tbl_products`.`assembly_group_node_id`, `thecarg_db`.`cg_tbl_products`.`generic_article_id` FROM `thecarg_db`.`cg_tbl_products` WHERE `thecarg_db`.`cg_tbl_products`.`status` = ? GROUP BY `thecarg_db`.`cg_tbl_products`.`assembly_group_node_id`, `thecarg_db`.`cg_tbl_products`.`generic_article_id`
[2026-06-24T11:36:38.681Z] [INFO]: TecDoc → getArticles | provider: 25791 | country: IN | url: https://webservice.tecalliance.services/pegasus-3-0/services/TecdocToCatDLB.jsonEndpoint
--------------------------------------------------

[2026-06-24T11:36:43.447Z] [INFO]: [ZONE_RESOLVE] Resolving zone for coordinates: (13.07281264, 80.19470259)
--------------------------------------------------

prisma:query SELECT id, status, zone_name AS zoneName, zone_code AS zoneCode, ABS(ST_Area(coordinates)) as area 
       FROM cg_tbl_zones 
       WHERE ST_Contains(coordinates, ST_GeomFromText(?))
       ORDER BY area ASC
[2026-06-24T11:36:43.589Z] [INFO]: [BANNERS] Fetching banners for zoneIds: [13]
--------------------------------------------------

prisma:query 
      SELECT 
        'admin_banner' AS bannerSource,
        b.id,
        b.title,
        b.banner_image AS bannerImage,
        NULL AS userId,
        NULL AS userRoleId,
        NULL AS productId,
        b.created_at AS createdAt
      FROM cg_tbl_banners b
      WHERE b.status = 1 
        AND b.zone_id IN (?)

      UNION ALL

      SELECT 
        'advertisement' AS bannerSource,
        a.id,
        a.title,
        a.banner_image AS bannerImage,
        a.user_id AS userId,
        a.user_role_id AS userRoleId,
        a.product_id AS productId,
        a.created_at AS createdAt
      FROM cg_tbl_advertisements a
      WHERE a.status = 1 
        AND a.advertisement_type = 'banner'
        AND a.approval_status = 'approved'
        AND a.payment_status = 'paid'
        AND NOW() BETWEEN a.from_date AND a.to_date
        AND a.zone_id IN (?)
      ORDER BY createdAt DESC
    
prisma:query SELECT 1
prisma:query SELECT `thecarg_db`.`cg_tbl_zones`.`id` FROM `thecarg_db`.`cg_tbl_zones` WHERE (`thecarg_db`.`cg_tbl_zones`.`id` IN (?) AND `thecarg_db`.`cg_tbl_zones`.`status` = ?)
prisma:query SELECT `thecarg_db`.`cg_tbl_sellers`.`id`, `thecarg_db`.`cg_tbl_sellers`.`status`, `thecarg_db`.`cg_tbl_sellers`.`operating_hours`, `thecarg_db`.`cg_tbl_sellers`.`zone` FROM `thecarg_db`.`cg_tbl_sellers` WHERE `thecarg_db`.`cg_tbl_sellers`.`status` = ?
prisma:query SELECT `thecarg_db`.`cg_tbl_products`.`id`, `thecarg_db`.`cg_tbl_products`.`article_number` FROM `thecarg_db`.`cg_tbl_products` WHERE (`thecarg_db`.`cg_tbl_products`.`status` = ? AND (`thecarg_db`.`cg_tbl_products`.`id`) IN (SELECT `t1`.`product_id` FROM `thecarg_db`.`cg_tbl_seller_products` AS `t1` WHERE (`t1`.`status` = ? AND `t1`.`seller_id` IN (?) AND `t1`.`product_id` IS NOT NULL)) AND `thecarg_db`.`cg_tbl_products`.`generic_article_id` = ? AND `thecarg_db`.`cg_tbl_products`.`assembly_group_node_id` = ?) ORDER BY `thecarg_db`.`cg_tbl_products`.`id` ASC
prisma:query SELECT `thecarg_db`.`cg_tbl_products`.`article_number` FROM `thecarg_db`.`cg_tbl_products` WHERE `thecarg_db`.`cg_tbl_products`.`id` IN (?,?) GROUP BY `thecarg_db`.`cg_tbl_products`.`article_number`
prisma:query SELECT MIN(`thecarg_db`.`cg_tbl_products`.`id`), `thecarg_db`.`cg_tbl_products`.`article_number` FROM `thecarg_db`.`cg_tbl_products` WHERE `thecarg_db`.`cg_tbl_products`.`id` IN (?,?) GROUP BY `thecarg_db`.`cg_tbl_products`.`article_number` ORDER BY MIN(`thecarg_db`.`cg_tbl_products`.`id`) ASC LIMIT ? OFFSET ?
prisma:query SELECT `thecarg_db`.`cg_tbl_products`.`id`, `thecarg_db`.`cg_tbl_products`.`techdoc_article_id`, `thecarg_db`.`cg_tbl_products`.`techdoc_brand_id`, `thecarg_db`.`cg_tbl_products`.`article_number`, `thecarg_db`.`cg_tbl_products`.`brand_name`, `thecarg_db`.`cg_tbl_products`.`status`, `thecarg_db`.`cg_tbl_products`.`created_at`, `thecarg_db`.`cg_tbl_products`.`updated_at`, `thecarg_db`.`cg_tbl_products`.`assembly_group_node_id`, `thecarg_db`.`cg_tbl_products`.`generic_article_id` FROM `thecarg_db`.`cg_tbl_products` WHERE `thecarg_db`.`cg_tbl_products`.`id` IN (?,?) ORDER BY `thecarg_db`.`cg_tbl_products`.`id` ASC
[2026-06-24T11:36:51.384Z] [INFO]: TecDoc → getArticles | provider: 25791 | country: IN | url: https://webservice.tecalliance.services/pegasus-3-0/services/TecdocToCatDLB.jsonEndpoint
--------------------------------------------------

[2026-06-24T11:36:51.386Z] [INFO]: TecDoc → getArticles | provider: 25791 | country: IN | url: https://webservice.tecalliance.services/pegasus-3-0/services/TecdocToCatDLB.jsonEndpoint
--------------------------------------------------

prisma:query SELECT `thecarg_db`.`cg_tbl_products`.`id`, `thecarg_db`.`cg_tbl_products`.`techdoc_article_id` FROM `thecarg_db`.`cg_tbl_products` WHERE (`thecarg_db`.`cg_tbl_products`.`techdoc_article_id` IN (?,?) AND `thecarg_db`.`cg_tbl_products`.`status` = ? AND `thecarg_db`.`cg_tbl_products`.`id` IN (?,?))
prisma:query SELECT `thecarg_db`.`cg_tbl_seller_products`.`id`, `thecarg_db`.`cg_tbl_seller_products`.`product_id`, `thecarg_db`.`cg_tbl_seller_products`.`customer_selling_price`, `thecarg_db`.`cg_tbl_seller_products`.`garage_selling_price`, `thecarg_db`.`cg_tbl_seller_products`.`mrp`, `thecarg_db`.`cg_tbl_seller_products`.`customer_discount_type`, `thecarg_db`.`cg_tbl_seller_products`.`customer_discount`, `thecarg_db`.`cg_tbl_seller_products`.`garage_discount_type`, `thecarg_db`.`cg_tbl_seller_products`.`garage_discount`, `thecarg_db`.`cg_tbl_seller_products`.`is_in_stock`, `thecarg_db`.`cg_tbl_seller_products`.`is_returnable`, `thecarg_db`.`cg_tbl_seller_products`.`return_days`, `thecarg_db`.`cg_tbl_seller_products`.`warranty_enabled`, `thecarg_db`.`cg_tbl_seller_products`.`warranty_duration`, `thecarg_db`.`cg_tbl_seller_products`.`warranty_duration_type`, `thecarg_db`.`cg_tbl_seller_products`.`warranty_document`, `thecarg_db`.`cg_tbl_seller_products`.`tax`, `thecarg_db`.`cg_tbl_seller_products`.`seller_id` FROM `thecarg_db`.`cg_tbl_seller_products` LEFT JOIN `thecarg_db`.`cg_tbl_sellers` AS `j1` ON (`j1`.`id`) = (`thecarg_db`.`cg_tbl_seller_products`.`seller_id`) WHERE (`thecarg_db`.`cg_tbl_seller_products`.`product_id` IN (?,?) AND `thecarg_db`.`cg_tbl_seller_products`.`status` = ? AND (`j1`.`status` = ? AND (`j1`.`id` IS NOT NULL))) ORDER BY `thecarg_db`.`cg_tbl_seller_products`.`customer_selling_price` ASC
prisma:query SELECT `thecarg_db`.`cg_tbl_sellers`.`id`, `thecarg_db`.`cg_tbl_sellers`.`seller_id`, `thecarg_db`.`cg_tbl_sellers`.`first_name`, `thecarg_db`.`cg_tbl_sellers`.`last_name`, `thecarg_db`.`cg_tbl_sellers`.`trade_name`, `thecarg_db`.`cg_tbl_sellers`.`city`, `thecarg_db`.`cg_tbl_sellers`.`state`, `thecarg_db`.`cg_tbl_sellers`.`email`, `thecarg_db`.`cg_tbl_sellers`.`mobile`, `thecarg_db`.`cg_tbl_sellers`.`address`, `thecarg_db`.`cg_tbl_sellers`.`pincode`, `thecarg_db`.`cg_tbl_sellers`.`status`, `thecarg_db`.`cg_tbl_sellers`.`operating_hours`, `thecarg_db`.`cg_tbl_sellers`.`zone`, `thecarg_db`.`cg_tbl_sellers`.`latitude`, `thecarg_db`.`cg_tbl_sellers`.`longitude` FROM `thecarg_db`.`cg_tbl_sellers` WHERE `thecarg_db`.`cg_tbl_sellers`.`id` IN (?)
prisma:query SELECT `thecarg_db`.`cg_tbl_zones`.`id`, `thecarg_db`.`cg_tbl_zones`.`zone_name` FROM `thecarg_db`.`cg_tbl_zones` WHERE 1=1
prisma:query SELECT `thecarg_db`.`cg_tbl_zones`.`id` FROM `thecarg_db`.`cg_tbl_zones` WHERE (`thecarg_db`.`cg_tbl_zones`.`id` IN (?) AND `thecarg_db`.`cg_tbl_zones`.`status` = ?)
prisma:query SELECT `thecarg_db`.`cg_tbl_sellers`.`id`, `thecarg_db`.`cg_tbl_sellers`.`status`, `thecarg_db`.`cg_tbl_sellers`.`operating_hours`, `thecarg_db`.`cg_tbl_sellers`.`zone` FROM `thecarg_db`.`cg_tbl_sellers` WHERE `thecarg_db`.`cg_tbl_sellers`.`status` = ?
prisma:query SELECT `thecarg_db`.`cg_tbl_products`.`id`, `thecarg_db`.`cg_tbl_products`.`article_number` FROM `thecarg_db`.`cg_tbl_products` WHERE (`thecarg_db`.`cg_tbl_products`.`status` = ? AND (`thecarg_db`.`cg_tbl_products`.`id`) IN (SELECT `t1`.`product_id` FROM `thecarg_db`.`cg_tbl_seller_products` AS `t1` WHERE (`t1`.`status` = ? AND `t1`.`seller_id` IN (?) AND `t1`.`product_id` IS NOT NULL)) AND `thecarg_db`.`cg_tbl_products`.`generic_article_id` = ? AND `thecarg_db`.`cg_tbl_products`.`assembly_group_node_id` = ?) ORDER BY `thecarg_db`.`cg_tbl_products`.`id` ASC
prisma:query SELECT `thecarg_db`.`cg_tbl_products`.`article_number` FROM `thecarg_db`.`cg_tbl_products` WHERE `thecarg_db`.`cg_tbl_products`.`id` IN (?,?) GROUP BY `thecarg_db`.`cg_tbl_products`.`article_number`
prisma:query SELECT MIN(`thecarg_db`.`cg_tbl_products`.`id`), `thecarg_db`.`cg_tbl_products`.`article_number` FROM `thecarg_db`.`cg_tbl_products` WHERE `thecarg_db`.`cg_tbl_products`.`id` IN (?,?) GROUP BY `thecarg_db`.`cg_tbl_products`.`article_number` ORDER BY MIN(`thecarg_db`.`cg_tbl_products`.`id`) ASC LIMIT ? OFFSET ?
prisma:query SELECT `thecarg_db`.`cg_tbl_products`.`id`, `thecarg_db`.`cg_tbl_products`.`techdoc_article_id`, `thecarg_db`.`cg_tbl_products`.`techdoc_brand_id`, `thecarg_db`.`cg_tbl_products`.`article_number`, `thecarg_db`.`cg_tbl_products`.`brand_name`, `thecarg_db`.`cg_tbl_products`.`status`, `thecarg_db`.`cg_tbl_products`.`created_at`, `thecarg_db`.`cg_tbl_products`.`updated_at`, `thecarg_db`.`cg_tbl_products`.`assembly_group_node_id`, `thecarg_db`.`cg_tbl_products`.`generic_article_id` FROM `thecarg_db`.`cg_tbl_products` WHERE `thecarg_db`.`cg_tbl_products`.`id` IN (?,?) ORDER BY `thecarg_db`.`cg_tbl_products`.`id` ASC
[2026-06-24T11:36:53.072Z] [INFO]: TecDoc → getArticles | provider: 25791 | country: IN | url: https://webservice.tecalliance.services/pegasus-3-0/services/TecdocToCatDLB.jsonEndpoint
--------------------------------------------------

[2026-06-24T11:36:53.074Z] [INFO]: TecDoc → getArticles | provider: 25791 | country: IN | url: https://webservice.tecalliance.services/pegasus-3-0/services/TecdocToCatDLB.jsonEndpoint
--------------------------------------------------

prisma:query SELECT `thecarg_db`.`cg_tbl_products`.`id`, `thecarg_db`.`cg_tbl_products`.`techdoc_article_id` FROM `thecarg_db`.`cg_tbl_products` WHERE (`thecarg_db`.`cg_tbl_products`.`techdoc_article_id` IN (?,?) AND `thecarg_db`.`cg_tbl_products`.`status` = ? AND `thecarg_db`.`cg_tbl_products`.`id` IN (?,?))
prisma:query SELECT `thecarg_db`.`cg_tbl_seller_products`.`id`, `thecarg_db`.`cg_tbl_seller_products`.`product_id`, `thecarg_db`.`cg_tbl_seller_products`.`customer_selling_price`, `thecarg_db`.`cg_tbl_seller_products`.`garage_selling_price`, `thecarg_db`.`cg_tbl_seller_products`.`mrp`, `thecarg_db`.`cg_tbl_seller_products`.`customer_discount_type`, `thecarg_db`.`cg_tbl_seller_products`.`customer_discount`, `thecarg_db`.`cg_tbl_seller_products`.`garage_discount_type`, `thecarg_db`.`cg_tbl_seller_products`.`garage_discount`, `thecarg_db`.`cg_tbl_seller_products`.`is_in_stock`, `thecarg_db`.`cg_tbl_seller_products`.`is_returnable`, `thecarg_db`.`cg_tbl_seller_products`.`return_days`, `thecarg_db`.`cg_tbl_seller_products`.`warranty_enabled`, `thecarg_db`.`cg_tbl_seller_products`.`warranty_duration`, `thecarg_db`.`cg_tbl_seller_products`.`warranty_duration_type`, `thecarg_db`.`cg_tbl_seller_products`.`warranty_document`, `thecarg_db`.`cg_tbl_seller_products`.`tax`, `thecarg_db`.`cg_tbl_seller_products`.`seller_id` FROM `thecarg_db`.`cg_tbl_seller_products` LEFT JOIN `thecarg_db`.`cg_tbl_sellers` AS `j1` ON (`j1`.`id`) = (`thecarg_db`.`cg_tbl_seller_products`.`seller_id`) WHERE (`thecarg_db`.`cg_tbl_seller_products`.`product_id` IN (?,?) AND `thecarg_db`.`cg_tbl_seller_products`.`status` = ? AND (`j1`.`status` = ? AND (`j1`.`id` IS NOT NULL))) ORDER BY `thecarg_db`.`cg_tbl_seller_products`.`customer_selling_price` ASC
prisma:query SELECT `thecarg_db`.`cg_tbl_sellers`.`id`, `thecarg_db`.`cg_tbl_sellers`.`seller_id`, `thecarg_db`.`cg_tbl_sellers`.`first_name`, `thecarg_db`.`cg_tbl_sellers`.`last_name`, `thecarg_db`.`cg_tbl_sellers`.`trade_name`, `thecarg_db`.`cg_tbl_sellers`.`city`, `thecarg_db`.`cg_tbl_sellers`.`state`, `thecarg_db`.`cg_tbl_sellers`.`email`, `thecarg_db`.`cg_tbl_sellers`.`mobile`, `thecarg_db`.`cg_tbl_sellers`.`address`, `thecarg_db`.`cg_tbl_sellers`.`pincode`, `thecarg_db`.`cg_tbl_sellers`.`status`, `thecarg_db`.`cg_tbl_sellers`.`operating_hours`, `thecarg_db`.`cg_tbl_sellers`.`zone`, `thecarg_db`.`cg_tbl_sellers`.`latitude`, `thecarg_db`.`cg_tbl_sellers`.`longitude` FROM `thecarg_db`.`cg_tbl_sellers` WHERE `thecarg_db`.`cg_tbl_sellers`.`id` IN (?)
prisma:query SELECT `thecarg_db`.`cg_tbl_zones`.`id`, `thecarg_db`.`cg_tbl_zones`.`zone_name` FROM `thecarg_db`.`cg_tbl_zones` WHERE 1=1
prisma:query SELECT 1
prisma:query SELECT `thecarg_db`.`cg_tbl_zones`.`id` FROM `thecarg_db`.`cg_tbl_zones` WHERE (`thecarg_db`.`cg_tbl_zones`.`id` IN (?,?) AND `thecarg_db`.`cg_tbl_zones`.`status` = ?)
prisma:query SELECT `thecarg_db`.`cg_tbl_products`.`id`, `thecarg_db`.`cg_tbl_products`.`techdoc_article_id`, `thecarg_db`.`cg_tbl_products`.`techdoc_brand_id`, `thecarg_db`.`cg_tbl_products`.`article_number`, `thecarg_db`.`cg_tbl_products`.`brand_name`, `thecarg_db`.`cg_tbl_products`.`status`, `thecarg_db`.`cg_tbl_products`.`created_at`, `thecarg_db`.`cg_tbl_products`.`updated_at`, `thecarg_db`.`cg_tbl_products`.`assembly_group_node_id`, `thecarg_db`.`cg_tbl_products`.`generic_article_id` FROM `thecarg_db`.`cg_tbl_products` WHERE (`thecarg_db`.`cg_tbl_products`.`id` = ? AND `thecarg_db`.`cg_tbl_products`.`status` = ?) LIMIT ? OFFSET ?
[2026-06-24T11:37:08.910Z] [INFO]: TecDoc → getArticles | provider: 25791 | country: IN | url: https://webservice.tecalliance.services/pegasus-3-0/services/TecdocToCatDLB.jsonEndpoint
--------------------------------------------------

[2026-06-24T11:37:09.381Z] [INFO]: TecDoc → getArticleLinkedAllLinkingTarget4 | provider: 25791 | country: IN | url: https://webservice.tecalliance.services/pegasus-3-0/services/TecdocToCatDLB.jsonEndpoint
--------------------------------------------------

[2026-06-24T11:37:09.547Z] [INFO]: TecDoc → getArticleLinkedAllLinkingTargetsByIds3 | provider: 25791 | country: IN | url: https://webservice.tecalliance.services/pegasus-3-0/services/TecdocToCatDLB.jsonEndpoint
--------------------------------------------------

prisma:query SELECT `thecarg_db`.`cg_tbl_seller_products`.`id`, `thecarg_db`.`cg_tbl_seller_products`.`customer_selling_price`, `thecarg_db`.`cg_tbl_seller_products`.`garage_selling_price`, `thecarg_db`.`cg_tbl_seller_products`.`mrp`, `thecarg_db`.`cg_tbl_seller_products`.`customer_discount_type`, `thecarg_db`.`cg_tbl_seller_products`.`customer_discount`, `thecarg_db`.`cg_tbl_seller_products`.`garage_discount_type`, `thecarg_db`.`cg_tbl_seller_products`.`garage_discount`, `thecarg_db`.`cg_tbl_seller_products`.`is_in_stock`, `thecarg_db`.`cg_tbl_seller_products`.`is_returnable`, `thecarg_db`.`cg_tbl_seller_products`.`return_days`, `thecarg_db`.`cg_tbl_seller_products`.`warranty_enabled`, `thecarg_db`.`cg_tbl_seller_products`.`warranty_duration`, `thecarg_db`.`cg_tbl_seller_products`.`warranty_duration_type`, `thecarg_db`.`cg_tbl_seller_products`.`warranty_document`, `thecarg_db`.`cg_tbl_seller_products`.`tax`, `thecarg_db`.`cg_tbl_seller_products`.`seller_id` FROM `thecarg_db`.`cg_tbl_seller_products` LEFT JOIN `thecarg_db`.`cg_tbl_sellers` AS `j1` ON (`j1`.`id`) = (`thecarg_db`.`cg_tbl_seller_products`.`seller_id`) WHERE (`thecarg_db`.`cg_tbl_seller_products`.`product_id` = ? AND `thecarg_db`.`cg_tbl_seller_products`.`status` = ? AND (`j1`.`status` = ? AND (`j1`.`id` IS NOT NULL))) ORDER BY `thecarg_db`.`cg_tbl_seller_products`.`garage_selling_price` ASC
prisma:query SELECT `thecarg_db`.`cg_tbl_sellers`.`id`, `thecarg_db`.`cg_tbl_sellers`.`seller_id`, `thecarg_db`.`cg_tbl_sellers`.`first_name`, `thecarg_db`.`cg_tbl_sellers`.`last_name`, `thecarg_db`.`cg_tbl_sellers`.`trade_name`, `thecarg_db`.`cg_tbl_sellers`.`city`, `thecarg_db`.`cg_tbl_sellers`.`state`, `thecarg_db`.`cg_tbl_sellers`.`email`, `thecarg_db`.`cg_tbl_sellers`.`mobile`, `thecarg_db`.`cg_tbl_sellers`.`address`, `thecarg_db`.`cg_tbl_sellers`.`pincode`, `thecarg_db`.`cg_tbl_sellers`.`status`, `thecarg_db`.`cg_tbl_sellers`.`operating_hours`, `thecarg_db`.`cg_tbl_sellers`.`zone`, `thecarg_db`.`cg_tbl_sellers`.`latitude`, `thecarg_db`.`cg_tbl_sellers`.`longitude` FROM `thecarg_db`.`cg_tbl_sellers` WHERE `thecarg_db`.`cg_tbl_sellers`.`id` IN (?)
prisma:query SELECT `thecarg_db`.`cg_tbl_zones`.`id`, `thecarg_db`.`cg_tbl_zones`.`zone_name` FROM `thecarg_db`.`cg_tbl_zones` WHERE 1=1
prisma:query SELECT `thecarg_db`.`cg_tbl_zones`.`id` FROM `thecarg_db`.`cg_tbl_zones` WHERE (`thecarg_db`.`cg_tbl_zones`.`id` IN (?,?) AND `thecarg_db`.`cg_tbl_zones`.`status` = ?)
prisma:query SELECT `thecarg_db`.`cg_tbl_products`.`id`, `thecarg_db`.`cg_tbl_products`.`techdoc_article_id`, `thecarg_db`.`cg_tbl_products`.`techdoc_brand_id`, `thecarg_db`.`cg_tbl_products`.`article_number`, `thecarg_db`.`cg_tbl_products`.`brand_name`, `thecarg_db`.`cg_tbl_products`.`status`, `thecarg_db`.`cg_tbl_products`.`created_at`, `thecarg_db`.`cg_tbl_products`.`updated_at`, `thecarg_db`.`cg_tbl_products`.`assembly_group_node_id`, `thecarg_db`.`cg_tbl_products`.`generic_article_id` FROM `thecarg_db`.`cg_tbl_products` WHERE (`thecarg_db`.`cg_tbl_products`.`id` = ? AND `thecarg_db`.`cg_tbl_products`.`status` = ?) LIMIT ? OFFSET ?
[2026-06-24T11:37:15.477Z] [INFO]: TecDoc → getArticles | provider: 25791 | country: IN | url: https://webservice.tecalliance.services/pegasus-3-0/services/TecdocToCatDLB.jsonEndpoint
--------------------------------------------------

[2026-06-24T11:37:15.936Z] [INFO]: TecDoc → getArticleLinkedAllLinkingTarget4 | provider: 25791 | country: IN | url: https://webservice.tecalliance.services/pegasus-3-0/services/TecdocToCatDLB.jsonEndpoint
--------------------------------------------------

prisma:query SELECT `thecarg_db`.`cg_tbl_seller_products`.`id`, `thecarg_db`.`cg_tbl_seller_products`.`customer_selling_price`, `thecarg_db`.`cg_tbl_seller_products`.`garage_selling_price`, `thecarg_db`.`cg_tbl_seller_products`.`mrp`, `thecarg_db`.`cg_tbl_seller_products`.`customer_discount_type`, `thecarg_db`.`cg_tbl_seller_products`.`customer_discount`, `thecarg_db`.`cg_tbl_seller_products`.`garage_discount_type`, `thecarg_db`.`cg_tbl_seller_products`.`garage_discount`, `thecarg_db`.`cg_tbl_seller_products`.`is_in_stock`, `thecarg_db`.`cg_tbl_seller_products`.`is_returnable`, `thecarg_db`.`cg_tbl_seller_products`.`return_days`, `thecarg_db`.`cg_tbl_seller_products`.`warranty_enabled`, `thecarg_db`.`cg_tbl_seller_products`.`warranty_duration`, `thecarg_db`.`cg_tbl_seller_products`.`warranty_duration_type`, `thecarg_db`.`cg_tbl_seller_products`.`warranty_document`, `thecarg_db`.`cg_tbl_seller_products`.`tax`, `thecarg_db`.`cg_tbl_seller_products`.`seller_id` FROM `thecarg_db`.`cg_tbl_seller_products` LEFT JOIN `thecarg_db`.`cg_tbl_sellers` AS `j1` ON (`j1`.`id`) = (`thecarg_db`.`cg_tbl_seller_products`.`seller_id`) WHERE (`thecarg_db`.`cg_tbl_seller_products`.`product_id` = ? AND `thecarg_db`.`cg_tbl_seller_products`.`status` = ? AND (`j1`.`status` = ? AND (`j1`.`id` IS NOT NULL))) ORDER BY `thecarg_db`.`cg_tbl_seller_products`.`garage_selling_price` ASC
prisma:query SELECT `thecarg_db`.`cg_tbl_sellers`.`id`, `thecarg_db`.`cg_tbl_sellers`.`seller_id`, `thecarg_db`.`cg_tbl_sellers`.`first_name`, `thecarg_db`.`cg_tbl_sellers`.`last_name`, `thecarg_db`.`cg_tbl_sellers`.`trade_name`, `thecarg_db`.`cg_tbl_sellers`.`city`, `thecarg_db`.`cg_tbl_sellers`.`state`, `thecarg_db`.`cg_tbl_sellers`.`email`, `thecarg_db`.`cg_tbl_sellers`.`mobile`, `thecarg_db`.`cg_tbl_sellers`.`address`, `thecarg_db`.`cg_tbl_sellers`.`pincode`, `thecarg_db`.`cg_tbl_sellers`.`status`, `thecarg_db`.`cg_tbl_sellers`.`operating_hours`, `thecarg_db`.`cg_tbl_sellers`.`zone`, `thecarg_db`.`cg_tbl_sellers`.`latitude`, `thecarg_db`.`cg_tbl_sellers`.`longitude` FROM `thecarg_db`.`cg_tbl_sellers` WHERE `thecarg_db`.`cg_tbl_sellers`.`id` IN (?)
prisma:query SELECT `thecarg_db`.`cg_tbl_zones`.`id`, `thecarg_db`.`cg_tbl_zones`.`zone_name` FROM `thecarg_db`.`cg_tbl_zones` WHERE 1=1
prisma:query SELECT `thecarg_db`.`cg_tbl_zones`.`id` FROM `thecarg_db`.`cg_tbl_zones` WHERE (`thecarg_db`.`cg_tbl_zones`.`id` IN (?,?) AND `thecarg_db`.`cg_tbl_zones`.`status` = ?)
prisma:query SELECT `thecarg_db`.`cg_tbl_products`.`id`, `thecarg_db`.`cg_tbl_products`.`techdoc_article_id`, `thecarg_db`.`cg_tbl_products`.`techdoc_brand_id`, `thecarg_db`.`cg_tbl_products`.`article_number`, `thecarg_db`.`cg_tbl_products`.`brand_name`, `thecarg_db`.`cg_tbl_products`.`status`, `thecarg_db`.`cg_tbl_products`.`created_at`, `thecarg_db`.`cg_tbl_products`.`updated_at`, `thecarg_db`.`cg_tbl_products`.`assembly_group_node_id`, `thecarg_db`.`cg_tbl_products`.`generic_article_id` FROM `thecarg_db`.`cg_tbl_products` WHERE (`thecarg_db`.`cg_tbl_products`.`id` = ? AND `thecarg_db`.`cg_tbl_products`.`status` = ?) LIMIT ? OFFSET ?
[2026-06-24T11:37:19.265Z] [INFO]: TecDoc → getArticles | provider: 25791 | country: IN | url: https://webservice.tecalliance.services/pegasus-3-0/services/TecdocToCatDLB.jsonEndpoint
--------------------------------------------------

[2026-06-24T11:37:19.427Z] [INFO]: TecDoc → getArticleLinkedAllLinkingTarget4 | provider: 25791 | country: IN | url: https://webservice.tecalliance.services/pegasus-3-0/services/TecdocToCatDLB.jsonEndpoint
--------------------------------------------------

prisma:query SELECT `thecarg_db`.`cg_tbl_seller_products`.`id`, `thecarg_db`.`cg_tbl_seller_products`.`customer_selling_price`, `thecarg_db`.`cg_tbl_seller_products`.`garage_selling_price`, `thecarg_db`.`cg_tbl_seller_products`.`mrp`, `thecarg_db`.`cg_tbl_seller_products`.`customer_discount_type`, `thecarg_db`.`cg_tbl_seller_products`.`customer_discount`, `thecarg_db`.`cg_tbl_seller_products`.`garage_discount_type`, `thecarg_db`.`cg_tbl_seller_products`.`garage_discount`, `thecarg_db`.`cg_tbl_seller_products`.`is_in_stock`, `thecarg_db`.`cg_tbl_seller_products`.`is_returnable`, `thecarg_db`.`cg_tbl_seller_products`.`return_days`, `thecarg_db`.`cg_tbl_seller_products`.`warranty_enabled`, `thecarg_db`.`cg_tbl_seller_products`.`warranty_duration`, `thecarg_db`.`cg_tbl_seller_products`.`warranty_duration_type`, `thecarg_db`.`cg_tbl_seller_products`.`warranty_document`, `thecarg_db`.`cg_tbl_seller_products`.`tax`, `thecarg_db`.`cg_tbl_seller_products`.`seller_id` FROM `thecarg_db`.`cg_tbl_seller_products` LEFT JOIN `thecarg_db`.`cg_tbl_sellers` AS `j1` ON (`j1`.`id`) = (`thecarg_db`.`cg_tbl_seller_products`.`seller_id`) WHERE (`thecarg_db`.`cg_tbl_seller_products`.`product_id` = ? AND `thecarg_db`.`cg_tbl_seller_products`.`status` = ? AND (`j1`.`status` = ? AND (`j1`.`id` IS NOT NULL))) ORDER BY `thecarg_db`.`cg_tbl_seller_products`.`garage_selling_price` ASC
prisma:query SELECT `thecarg_db`.`cg_tbl_sellers`.`id`, `thecarg_db`.`cg_tbl_sellers`.`seller_id`, `thecarg_db`.`cg_tbl_sellers`.`first_name`, `thecarg_db`.`cg_tbl_sellers`.`last_name`, `thecarg_db`.`cg_tbl_sellers`.`trade_name`, `thecarg_db`.`cg_tbl_sellers`.`city`, `thecarg_db`.`cg_tbl_sellers`.`state`, `thecarg_db`.`cg_tbl_sellers`.`email`, `thecarg_db`.`cg_tbl_sellers`.`mobile`, `thecarg_db`.`cg_tbl_sellers`.`address`, `thecarg_db`.`cg_tbl_sellers`.`pincode`, `thecarg_db`.`cg_tbl_sellers`.`status`, `thecarg_db`.`cg_tbl_sellers`.`operating_hours`, `thecarg_db`.`cg_tbl_sellers`.`zone`, `thecarg_db`.`cg_tbl_sellers`.`latitude`, `thecarg_db`.`cg_tbl_sellers`.`longitude` FROM `thecarg_db`.`cg_tbl_sellers` WHERE `thecarg_db`.`cg_tbl_sellers`.`id` IN (?)
prisma:query SELECT `thecarg_db`.`cg_tbl_zones`.`id`, `thecarg_db`.`cg_tbl_zones`.`zone_name` FROM `thecarg_db`.`cg_tbl_zones` WHERE 1=1
prisma:query SELECT `thecarg_db`.`cg_tbl_zones`.`id` FROM `thecarg_db`.`cg_tbl_zones` WHERE (`thecarg_db`.`cg_tbl_zones`.`id` IN (?,?) AND `thecarg_db`.`cg_tbl_zones`.`status` = ?)
prisma:query SELECT `thecarg_db`.`cg_tbl_products`.`id`, `thecarg_db`.`cg_tbl_products`.`techdoc_article_id`, `thecarg_db`.`cg_tbl_products`.`techdoc_brand_id`, `thecarg_db`.`cg_tbl_products`.`article_number`, `thecarg_db`.`cg_tbl_products`.`brand_name`, `thecarg_db`.`cg_tbl_products`.`status`, `thecarg_db`.`cg_tbl_products`.`created_at`, `thecarg_db`.`cg_tbl_products`.`updated_at`, `thecarg_db`.`cg_tbl_products`.`assembly_group_node_id`, `thecarg_db`.`cg_tbl_products`.`generic_article_id` FROM `thecarg_db`.`cg_tbl_products` WHERE (`thecarg_db`.`cg_tbl_products`.`id` = ? AND `thecarg_db`.`cg_tbl_products`.`status` = ?) LIMIT ? OFFSET ?
[2026-06-24T11:37:22.101Z] [INFO]: TecDoc → getArticles | provider: 25791 | country: IN | url: https://webservice.tecalliance.services/pegasus-3-0/services/TecdocToCatDLB.jsonEndpoint
--------------------------------------------------

[2026-06-24T11:37:22.265Z] [INFO]: TecDoc → getArticleLinkedAllLinkingTarget4 | provider: 25791 | country: IN | url: https://webservice.tecalliance.services/pegasus-3-0/services/TecdocToCatDLB.jsonEndpoint
--------------------------------------------------

prisma:query SELECT `thecarg_db`.`cg_tbl_seller_products`.`id`, `thecarg_db`.`cg_tbl_seller_products`.`customer_selling_price`, `thecarg_db`.`cg_tbl_seller_products`.`garage_selling_price`, `thecarg_db`.`cg_tbl_seller_products`.`mrp`, `thecarg_db`.`cg_tbl_seller_products`.`customer_discount_type`, `thecarg_db`.`cg_tbl_seller_products`.`customer_discount`, `thecarg_db`.`cg_tbl_seller_products`.`garage_discount_type`, `thecarg_db`.`cg_tbl_seller_products`.`garage_discount`, `thecarg_db`.`cg_tbl_seller_products`.`is_in_stock`, `thecarg_db`.`cg_tbl_seller_products`.`is_returnable`, `thecarg_db`.`cg_tbl_seller_products`.`return_days`, `thecarg_db`.`cg_tbl_seller_products`.`warranty_enabled`, `thecarg_db`.`cg_tbl_seller_products`.`warranty_duration`, `thecarg_db`.`cg_tbl_seller_products`.`warranty_duration_type`, `thecarg_db`.`cg_tbl_seller_products`.`warranty_document`, `thecarg_db`.`cg_tbl_seller_products`.`tax`, `thecarg_db`.`cg_tbl_seller_products`.`seller_id` FROM `thecarg_db`.`cg_tbl_seller_products` LEFT JOIN `thecarg_db`.`cg_tbl_sellers` AS `j1` ON (`j1`.`id`) = (`thecarg_db`.`cg_tbl_seller_products`.`seller_id`) WHERE (`thecarg_db`.`cg_tbl_seller_products`.`product_id` = ? AND `thecarg_db`.`cg_tbl_seller_products`.`status` = ? AND (`j1`.`status` = ? AND (`j1`.`id` IS NOT NULL))) ORDER BY `thecarg_db`.`cg_tbl_seller_products`.`garage_selling_price` ASC
prisma:query SELECT `thecarg_db`.`cg_tbl_sellers`.`id`, `thecarg_db`.`cg_tbl_sellers`.`seller_id`, `thecarg_db`.`cg_tbl_sellers`.`first_name`, `thecarg_db`.`cg_tbl_sellers`.`last_name`, `thecarg_db`.`cg_tbl_sellers`.`trade_name`, `thecarg_db`.`cg_tbl_sellers`.`city`, `thecarg_db`.`cg_tbl_sellers`.`state`, `thecarg_db`.`cg_tbl_sellers`.`email`, `thecarg_db`.`cg_tbl_sellers`.`mobile`, `thecarg_db`.`cg_tbl_sellers`.`address`, `thecarg_db`.`cg_tbl_sellers`.`pincode`, `thecarg_db`.`cg_tbl_sellers`.`status`, `thecarg_db`.`cg_tbl_sellers`.`operating_hours`, `thecarg_db`.`cg_tbl_sellers`.`zone`, `thecarg_db`.`cg_tbl_sellers`.`latitude`, `thecarg_db`.`cg_tbl_sellers`.`longitude` FROM `thecarg_db`.`cg_tbl_sellers` WHERE `thecarg_db`.`cg_tbl_sellers`.`id` IN (?)
prisma:query SELECT `thecarg_db`.`cg_tbl_zones`.`id`, `thecarg_db`.`cg_tbl_zones`.`zone_name` FROM `thecarg_db`.`cg_tbl_zones` WHERE 1=1
prisma:query SELECT 1
prisma:query SELECT `thecarg_db`.`cg_tbl_zones`.`id` FROM `thecarg_db`.`cg_tbl_zones` WHERE (`thecarg_db`.`cg_tbl_zones`.`id` IN (?,?) AND `thecarg_db`.`cg_tbl_zones`.`status` = ?)
prisma:query SELECT `thecarg_db`.`cg_tbl_products`.`id`, `thecarg_db`.`cg_tbl_products`.`techdoc_article_id`, `thecarg_db`.`cg_tbl_products`.`techdoc_brand_id`, `thecarg_db`.`cg_tbl_products`.`article_number`, `thecarg_db`.`cg_tbl_products`.`brand_name`, `thecarg_db`.`cg_tbl_products`.`status`, `thecarg_db`.`cg_tbl_products`.`created_at`, `thecarg_db`.`cg_tbl_products`.`updated_at`, `thecarg_db`.`cg_tbl_products`.`assembly_group_node_id`, `thecarg_db`.`cg_tbl_products`.`generic_article_id` FROM `thecarg_db`.`cg_tbl_products` WHERE (`thecarg_db`.`cg_tbl_products`.`id` = ? AND `thecarg_db`.`cg_tbl_products`.`status` = ?) LIMIT ? OFFSET ?
[2026-06-24T11:37:25.407Z] [INFO]: TecDoc → getArticles | provider: 25791 | country: IN | url: https://webservice.tecalliance.services/pegasus-3-0/services/TecdocToCatDLB.jsonEndpoint
--------------------------------------------------

[2026-06-24T11:37:25.570Z] [INFO]: TecDoc → getArticleLinkedAllLinkingTarget4 | provider: 25791 | country: IN | url: https://webservice.tecalliance.services/pegasus-3-0/services/TecdocToCatDLB.jsonEndpoint
--------------------------------------------------

prisma:query SELECT `thecarg_db`.`cg_tbl_seller_products`.`id`, `thecarg_db`.`cg_tbl_seller_products`.`customer_selling_price`, `thecarg_db`.`cg_tbl_seller_products`.`garage_selling_price`, `thecarg_db`.`cg_tbl_seller_products`.`mrp`, `thecarg_db`.`cg_tbl_seller_products`.`customer_discount_type`, `thecarg_db`.`cg_tbl_seller_products`.`customer_discount`, `thecarg_db`.`cg_tbl_seller_products`.`garage_discount_type`, `thecarg_db`.`cg_tbl_seller_products`.`garage_discount`, `thecarg_db`.`cg_tbl_seller_products`.`is_in_stock`, `thecarg_db`.`cg_tbl_seller_products`.`is_returnable`, `thecarg_db`.`cg_tbl_seller_products`.`return_days`, `thecarg_db`.`cg_tbl_seller_products`.`warranty_enabled`, `thecarg_db`.`cg_tbl_seller_products`.`warranty_duration`, `thecarg_db`.`cg_tbl_seller_products`.`warranty_duration_type`, `thecarg_db`.`cg_tbl_seller_products`.`warranty_document`, `thecarg_db`.`cg_tbl_seller_products`.`tax`, `thecarg_db`.`cg_tbl_seller_products`.`seller_id` FROM `thecarg_db`.`cg_tbl_seller_products` LEFT JOIN `thecarg_db`.`cg_tbl_sellers` AS `j1` ON (`j1`.`id`) = (`thecarg_db`.`cg_tbl_seller_products`.`seller_id`) WHERE (`thecarg_db`.`cg_tbl_seller_products`.`product_id` = ? AND `thecarg_db`.`cg_tbl_seller_products`.`status` = ? AND (`j1`.`status` = ? AND (`j1`.`id` IS NOT NULL))) ORDER BY `thecarg_db`.`cg_tbl_seller_products`.`garage_selling_price` ASC
prisma:query SELECT `thecarg_db`.`cg_tbl_sellers`.`id`, `thecarg_db`.`cg_tbl_sellers`.`seller_id`, `thecarg_db`.`cg_tbl_sellers`.`first_name`, `thecarg_db`.`cg_tbl_sellers`.`last_name`, `thecarg_db`.`cg_tbl_sellers`.`trade_name`, `thecarg_db`.`cg_tbl_sellers`.`city`, `thecarg_db`.`cg_tbl_sellers`.`state`, `thecarg_db`.`cg_tbl_sellers`.`email`, `thecarg_db`.`cg_tbl_sellers`.`mobile`, `thecarg_db`.`cg_tbl_sellers`.`address`, `thecarg_db`.`cg_tbl_sellers`.`pincode`, `thecarg_db`.`cg_tbl_sellers`.`status`, `thecarg_db`.`cg_tbl_sellers`.`operating_hours`, `thecarg_db`.`cg_tbl_sellers`.`zone`, `thecarg_db`.`cg_tbl_sellers`.`latitude`, `thecarg_db`.`cg_tbl_sellers`.`longitude` FROM `thecarg_db`.`cg_tbl_sellers` WHERE `thecarg_db`.`cg_tbl_sellers`.`id` IN (?)
prisma:query SELECT `thecarg_db`.`cg_tbl_zones`.`id`, `thecarg_db`.`cg_tbl_zones`.`zone_name` FROM `thecarg_db`.`cg_tbl_zones` WHERE 1=1
prisma:query SELECT `thecarg_db`.`cg_tbl_zones`.`id` FROM `thecarg_db`.`cg_tbl_zones` WHERE (`thecarg_db`.`cg_tbl_zones`.`id` IN (?,?) AND `thecarg_db`.`cg_tbl_zones`.`status` = ?)
prisma:query SELECT `thecarg_db`.`cg_tbl_products`.`id`, `thecarg_db`.`cg_tbl_products`.`techdoc_article_id`, `thecarg_db`.`cg_tbl_products`.`techdoc_brand_id`, `thecarg_db`.`cg_tbl_products`.`article_number`, `thecarg_db`.`cg_tbl_products`.`brand_name`, `thecarg_db`.`cg_tbl_products`.`status`, `thecarg_db`.`cg_tbl_products`.`created_at`, `thecarg_db`.`cg_tbl_products`.`updated_at`, `thecarg_db`.`cg_tbl_products`.`assembly_group_node_id`, `thecarg_db`.`cg_tbl_products`.`generic_article_id` FROM `thecarg_db`.`cg_tbl_products` WHERE (`thecarg_db`.`cg_tbl_products`.`id` = ? AND `thecarg_db`.`cg_tbl_products`.`status` = ?) LIMIT ? OFFSET ?
[2026-06-24T11:37:28.214Z] [INFO]: TecDoc → getArticles | provider: 25791 | country: IN | url: https://webservice.tecalliance.services/pegasus-3-0/services/TecdocToCatDLB.jsonEndpoint
--------------------------------------------------

[2026-06-24T11:37:28.387Z] [INFO]: TecDoc → getArticleLinkedAllLinkingTarget4 | provider: 25791 | country: IN | url: https://webservice.tecalliance.services/pegasus-3-0/services/TecdocToCatDLB.jsonEndpoint
--------------------------------------------------

prisma:query SELECT `thecarg_db`.`cg_tbl_seller_products`.`id`, `thecarg_db`.`cg_tbl_seller_products`.`customer_selling_price`, `thecarg_db`.`cg_tbl_seller_products`.`garage_selling_price`, `thecarg_db`.`cg_tbl_seller_products`.`mrp`, `thecarg_db`.`cg_tbl_seller_products`.`customer_discount_type`, `thecarg_db`.`cg_tbl_seller_products`.`customer_discount`, `thecarg_db`.`cg_tbl_seller_products`.`garage_discount_type`, `thecarg_db`.`cg_tbl_seller_products`.`garage_discount`, `thecarg_db`.`cg_tbl_seller_products`.`is_in_stock`, `thecarg_db`.`cg_tbl_seller_products`.`is_returnable`, `thecarg_db`.`cg_tbl_seller_products`.`return_days`, `thecarg_db`.`cg_tbl_seller_products`.`warranty_enabled`, `thecarg_db`.`cg_tbl_seller_products`.`warranty_duration`, `thecarg_db`.`cg_tbl_seller_products`.`warranty_duration_type`, `thecarg_db`.`cg_tbl_seller_products`.`warranty_document`, `thecarg_db`.`cg_tbl_seller_products`.`tax`, `thecarg_db`.`cg_tbl_seller_products`.`seller_id` FROM `thecarg_db`.`cg_tbl_seller_products` LEFT JOIN `thecarg_db`.`cg_tbl_sellers` AS `j1` ON (`j1`.`id`) = (`thecarg_db`.`cg_tbl_seller_products`.`seller_id`) WHERE (`thecarg_db`.`cg_tbl_seller_products`.`product_id` = ? AND `thecarg_db`.`cg_tbl_seller_products`.`status` = ? AND (`j1`.`status` = ? AND (`j1`.`id` IS NOT NULL))) ORDER BY `thecarg_db`.`cg_tbl_seller_products`.`garage_selling_price` ASC
prisma:query SELECT `thecarg_db`.`cg_tbl_sellers`.`id`, `thecarg_db`.`cg_tbl_sellers`.`seller_id`, `thecarg_db`.`cg_tbl_sellers`.`first_name`, `thecarg_db`.`cg_tbl_sellers`.`last_name`, `thecarg_db`.`cg_tbl_sellers`.`trade_name`, `thecarg_db`.`cg_tbl_sellers`.`city`, `thecarg_db`.`cg_tbl_sellers`.`state`, `thecarg_db`.`cg_tbl_sellers`.`email`, `thecarg_db`.`cg_tbl_sellers`.`mobile`, `thecarg_db`.`cg_tbl_sellers`.`address`, `thecarg_db`.`cg_tbl_sellers`.`pincode`, `thecarg_db`.`cg_tbl_sellers`.`status`, `thecarg_db`.`cg_tbl_sellers`.`operating_hours`, `thecarg_db`.`cg_tbl_sellers`.`zone`, `thecarg_db`.`cg_tbl_sellers`.`latitude`, `thecarg_db`.`cg_tbl_sellers`.`longitude` FROM `thecarg_db`.`cg_tbl_sellers` WHERE `thecarg_db`.`cg_tbl_sellers`.`id` IN (?)
prisma:query SELECT `thecarg_db`.`cg_tbl_zones`.`id`, `thecarg_db`.`cg_tbl_zones`.`zone_name` FROM `thecarg_db`.`cg_tbl_zones` WHERE 1=1
prisma:query SELECT `thecarg_db`.`cg_tbl_zones`.`id` FROM `thecarg_db`.`cg_tbl_zones` WHERE (`thecarg_db`.`cg_tbl_zones`.`id` IN (?,?) AND `thecarg_db`.`cg_tbl_zones`.`status` = ?)
prisma:query SELECT `thecarg_db`.`cg_tbl_products`.`id`, `thecarg_db`.`cg_tbl_products`.`techdoc_article_id`, `thecarg_db`.`cg_tbl_products`.`techdoc_brand_id`, `thecarg_db`.`cg_tbl_products`.`article_number`, `thecarg_db`.`cg_tbl_products`.`brand_name`, `thecarg_db`.`cg_tbl_products`.`status`, `thecarg_db`.`cg_tbl_products`.`created_at`, `thecarg_db`.`cg_tbl_products`.`updated_at`, `thecarg_db`.`cg_tbl_products`.`assembly_group_node_id`, `thecarg_db`.`cg_tbl_products`.`generic_article_id` FROM `thecarg_db`.`cg_tbl_products` WHERE (`thecarg_db`.`cg_tbl_products`.`id` = ? AND `thecarg_db`.`cg_tbl_products`.`status` = ?) LIMIT ? OFFSET ?
[2026-06-24T11:37:33.540Z] [INFO]: TecDoc → getArticles | provider: 25791 | country: IN | url: https://webservice.tecalliance.services/pegasus-3-0/services/TecdocToCatDLB.jsonEndpoint
--------------------------------------------------

[2026-06-24T11:37:34.015Z] [INFO]: TecDoc → getArticleLinkedAllLinkingTarget4 | provider: 25791 | country: IN | url: https://webservice.tecalliance.services/pegasus-3-0/services/TecdocToCatDLB.jsonEndpoint
--------------------------------------------------

prisma:query SELECT `thecarg_db`.`cg_tbl_seller_products`.`id`, `thecarg_db`.`cg_tbl_seller_products`.`customer_selling_price`, `thecarg_db`.`cg_tbl_seller_products`.`garage_selling_price`, `thecarg_db`.`cg_tbl_seller_products`.`mrp`, `thecarg_db`.`cg_tbl_seller_products`.`customer_discount_type`, `thecarg_db`.`cg_tbl_seller_products`.`customer_discount`, `thecarg_db`.`cg_tbl_seller_products`.`garage_discount_type`, `thecarg_db`.`cg_tbl_seller_products`.`garage_discount`, `thecarg_db`.`cg_tbl_seller_products`.`is_in_stock`, `thecarg_db`.`cg_tbl_seller_products`.`is_returnable`, `thecarg_db`.`cg_tbl_seller_products`.`return_days`, `thecarg_db`.`cg_tbl_seller_products`.`warranty_enabled`, `thecarg_db`.`cg_tbl_seller_products`.`warranty_duration`, `thecarg_db`.`cg_tbl_seller_products`.`warranty_duration_type`, `thecarg_db`.`cg_tbl_seller_products`.`warranty_document`, `thecarg_db`.`cg_tbl_seller_products`.`tax`, `thecarg_db`.`cg_tbl_seller_products`.`seller_id` FROM `thecarg_db`.`cg_tbl_seller_products` LEFT JOIN `thecarg_db`.`cg_tbl_sellers` AS `j1` ON (`j1`.`id`) = (`thecarg_db`.`cg_tbl_seller_products`.`seller_id`) WHERE (`thecarg_db`.`cg_tbl_seller_products`.`product_id` = ? AND `thecarg_db`.`cg_tbl_seller_products`.`status` = ? AND (`j1`.`status` = ? AND (`j1`.`id` IS NOT NULL))) ORDER BY `thecarg_db`.`cg_tbl_seller_products`.`garage_selling_price` ASC
prisma:query SELECT `thecarg_db`.`cg_tbl_sellers`.`id`, `thecarg_db`.`cg_tbl_sellers`.`seller_id`, `thecarg_db`.`cg_tbl_sellers`.`first_name`, `thecarg_db`.`cg_tbl_sellers`.`last_name`, `thecarg_db`.`cg_tbl_sellers`.`trade_name`, `thecarg_db`.`cg_tbl_sellers`.`city`, `thecarg_db`.`cg_tbl_sellers`.`state`, `thecarg_db`.`cg_tbl_sellers`.`email`, `thecarg_db`.`cg_tbl_sellers`.`mobile`, `thecarg_db`.`cg_tbl_sellers`.`address`, `thecarg_db`.`cg_tbl_sellers`.`pincode`, `thecarg_db`.`cg_tbl_sellers`.`status`, `thecarg_db`.`cg_tbl_sellers`.`operating_hours`, `thecarg_db`.`cg_tbl_sellers`.`zone`, `thecarg_db`.`cg_tbl_sellers`.`latitude`, `thecarg_db`.`cg_tbl_sellers`.`longitude` FROM `thecarg_db`.`cg_tbl_sellers` WHERE `thecarg_db`.`cg_tbl_sellers`.`id` IN (?)
prisma:query SELECT `thecarg_db`.`cg_tbl_zones`.`id`, `thecarg_db`.`cg_tbl_zones`.`zone_name` FROM `thecarg_db`.`cg_tbl_zones` WHERE 1=1
prisma:query SELECT `thecarg_db`.`cg_tbl_zones`.`id` FROM `thecarg_db`.`cg_tbl_zones` WHERE (`thecarg_db`.`cg_tbl_zones`.`id` IN (?,?) AND `thecarg_db`.`cg_tbl_zones`.`status` = ?)
prisma:query SELECT `thecarg_db`.`cg_tbl_products`.`id`, `thecarg_db`.`cg_tbl_products`.`techdoc_article_id`, `thecarg_db`.`cg_tbl_products`.`techdoc_brand_id`, `thecarg_db`.`cg_tbl_products`.`article_number`, `thecarg_db`.`cg_tbl_products`.`brand_name`, `thecarg_db`.`cg_tbl_products`.`status`, `thecarg_db`.`cg_tbl_products`.`created_at`, `thecarg_db`.`cg_tbl_products`.`updated_at`, `thecarg_db`.`cg_tbl_products`.`assembly_group_node_id`, `thecarg_db`.`cg_tbl_products`.`generic_article_id` FROM `thecarg_db`.`cg_tbl_products` WHERE (`thecarg_db`.`cg_tbl_products`.`id` = ? AND `thecarg_db`.`cg_tbl_products`.`status` = ?) LIMIT ? OFFSET ?
[2026-06-24T11:37:36.149Z] [INFO]: TecDoc → getArticles | provider: 25791 | country: IN | url: https://webservice.tecalliance.services/pegasus-3-0/services/TecdocToCatDLB.jsonEndpoint
--------------------------------------------------

[2026-06-24T11:37:36.352Z] [INFO]: TecDoc → getArticleLinkedAllLinkingTarget4 | provider: 25791 | country: IN | url: https://webservice.tecalliance.services/pegasus-3-0/services/TecdocToCatDLB.jsonEndpoint
--------------------------------------------------

prisma:query SELECT `thecarg_db`.`cg_tbl_seller_products`.`id`, `thecarg_db`.`cg_tbl_seller_products`.`customer_selling_price`, `thecarg_db`.`cg_tbl_seller_products`.`garage_selling_price`, `thecarg_db`.`cg_tbl_seller_products`.`mrp`, `thecarg_db`.`cg_tbl_seller_products`.`customer_discount_type`, `thecarg_db`.`cg_tbl_seller_products`.`customer_discount`, `thecarg_db`.`cg_tbl_seller_products`.`garage_discount_type`, `thecarg_db`.`cg_tbl_seller_products`.`garage_discount`, `thecarg_db`.`cg_tbl_seller_products`.`is_in_stock`, `thecarg_db`.`cg_tbl_seller_products`.`is_returnable`, `thecarg_db`.`cg_tbl_seller_products`.`return_days`, `thecarg_db`.`cg_tbl_seller_products`.`warranty_enabled`, `thecarg_db`.`cg_tbl_seller_products`.`warranty_duration`, `thecarg_db`.`cg_tbl_seller_products`.`warranty_duration_type`, `thecarg_db`.`cg_tbl_seller_products`.`warranty_document`, `thecarg_db`.`cg_tbl_seller_products`.`tax`, `thecarg_db`.`cg_tbl_seller_products`.`seller_id` FROM `thecarg_db`.`cg_tbl_seller_products` LEFT JOIN `thecarg_db`.`cg_tbl_sellers` AS `j1` ON (`j1`.`id`) = (`thecarg_db`.`cg_tbl_seller_products`.`seller_id`) WHERE (`thecarg_db`.`cg_tbl_seller_products`.`product_id` = ? AND `thecarg_db`.`cg_tbl_seller_products`.`status` = ? AND (`j1`.`status` = ? AND (`j1`.`id` IS NOT NULL))) ORDER BY `thecarg_db`.`cg_tbl_seller_products`.`garage_selling_price` ASC
prisma:query SELECT `thecarg_db`.`cg_tbl_sellers`.`id`, `thecarg_db`.`cg_tbl_sellers`.`seller_id`, `thecarg_db`.`cg_tbl_sellers`.`first_name`, `thecarg_db`.`cg_tbl_sellers`.`last_name`, `thecarg_db`.`cg_tbl_sellers`.`trade_name`, `thecarg_db`.`cg_tbl_sellers`.`city`, `thecarg_db`.`cg_tbl_sellers`.`state`, `thecarg_db`.`cg_tbl_sellers`.`email`, `thecarg_db`.`cg_tbl_sellers`.`mobile`, `thecarg_db`.`cg_tbl_sellers`.`address`, `thecarg_db`.`cg_tbl_sellers`.`pincode`, `thecarg_db`.`cg_tbl_sellers`.`status`, `thecarg_db`.`cg_tbl_sellers`.`operating_hours`, `thecarg_db`.`cg_tbl_sellers`.`zone`, `thecarg_db`.`cg_tbl_sellers`.`latitude`, `thecarg_db`.`cg_tbl_sellers`.`longitude` FROM `thecarg_db`.`cg_tbl_sellers` WHERE `thecarg_db`.`cg_tbl_sellers`.`id` IN (?)
prisma:query SELECT `thecarg_db`.`cg_tbl_zones`.`id`, `thecarg_db`.`cg_tbl_zones`.`zone_name` FROM `thecarg_db`.`cg_tbl_zones` WHERE 1=1
prisma:query SELECT 1
prisma:query SELECT `thecarg_db`.`cg_tbl_zones`.`id` FROM `thecarg_db`.`cg_tbl_zones` WHERE (`thecarg_db`.`cg_tbl_zones`.`id` IN (?,?) AND `thecarg_db`.`cg_tbl_zones`.`status` = ?)
prisma:query SELECT `thecarg_db`.`cg_tbl_products`.`id`, `thecarg_db`.`cg_tbl_products`.`techdoc_article_id`, `thecarg_db`.`cg_tbl_products`.`techdoc_brand_id`, `thecarg_db`.`cg_tbl_products`.`article_number`, `thecarg_db`.`cg_tbl_products`.`brand_name`, `thecarg_db`.`cg_tbl_products`.`status`, `thecarg_db`.`cg_tbl_products`.`created_at`, `thecarg_db`.`cg_tbl_products`.`updated_at`, `thecarg_db`.`cg_tbl_products`.`assembly_group_node_id`, `thecarg_db`.`cg_tbl_products`.`generic_article_id` FROM `thecarg_db`.`cg_tbl_products` WHERE (`thecarg_db`.`cg_tbl_products`.`id` = ? AND `thecarg_db`.`cg_tbl_products`.`status` = ?) LIMIT ? OFFSET ?
[2026-06-24T11:37:40.840Z] [INFO]: TecDoc → getArticles | provider: 25791 | country: IN | url: https://webservice.tecalliance.services/pegasus-3-0/services/TecdocToCatDLB.jsonEndpoint
--------------------------------------------------

[2026-06-24T11:37:41.336Z] [INFO]: TecDoc → getArticleLinkedAllLinkingTarget4 | provider: 25791 | country: IN | url: https://webservice.tecalliance.services/pegasus-3-0/services/TecdocToCatDLB.jsonEndpoint
--------------------------------------------------

[2026-06-24T11:37:41.506Z] [INFO]: TecDoc → getArticleLinkedAllLinkingTargetsByIds3 | provider: 25791 | country: IN | url: https://webservice.tecalliance.services/pegasus-3-0/services/TecdocToCatDLB.jsonEndpoint
--------------------------------------------------

prisma:query SELECT `thecarg_db`.`cg_tbl_seller_products`.`id`, `thecarg_db`.`cg_tbl_seller_products`.`customer_selling_price`, `thecarg_db`.`cg_tbl_seller_products`.`garage_selling_price`, `thecarg_db`.`cg_tbl_seller_products`.`mrp`, `thecarg_db`.`cg_tbl_seller_products`.`customer_discount_type`, `thecarg_db`.`cg_tbl_seller_products`.`customer_discount`, `thecarg_db`.`cg_tbl_seller_products`.`garage_discount_type`, `thecarg_db`.`cg_tbl_seller_products`.`garage_discount`, `thecarg_db`.`cg_tbl_seller_products`.`is_in_stock`, `thecarg_db`.`cg_tbl_seller_products`.`is_returnable`, `thecarg_db`.`cg_tbl_seller_products`.`return_days`, `thecarg_db`.`cg_tbl_seller_products`.`warranty_enabled`, `thecarg_db`.`cg_tbl_seller_products`.`warranty_duration`, `thecarg_db`.`cg_tbl_seller_products`.`warranty_duration_type`, `thecarg_db`.`cg_tbl_seller_products`.`warranty_document`, `thecarg_db`.`cg_tbl_seller_products`.`tax`, `thecarg_db`.`cg_tbl_seller_products`.`seller_id` FROM `thecarg_db`.`cg_tbl_seller_products` LEFT JOIN `thecarg_db`.`cg_tbl_sellers` AS `j1` ON (`j1`.`id`) = (`thecarg_db`.`cg_tbl_seller_products`.`seller_id`) WHERE (`thecarg_db`.`cg_tbl_seller_products`.`product_id` = ? AND `thecarg_db`.`cg_tbl_seller_products`.`status` = ? AND (`j1`.`status` = ? AND (`j1`.`id` IS NOT NULL))) ORDER BY `thecarg_db`.`cg_tbl_seller_products`.`garage_selling_price` ASC
prisma:query SELECT `thecarg_db`.`cg_tbl_sellers`.`id`, `thecarg_db`.`cg_tbl_sellers`.`seller_id`, `thecarg_db`.`cg_tbl_sellers`.`first_name`, `thecarg_db`.`cg_tbl_sellers`.`last_name`, `thecarg_db`.`cg_tbl_sellers`.`trade_name`, `thecarg_db`.`cg_tbl_sellers`.`city`, `thecarg_db`.`cg_tbl_sellers`.`state`, `thecarg_db`.`cg_tbl_sellers`.`email`, `thecarg_db`.`cg_tbl_sellers`.`mobile`, `thecarg_db`.`cg_tbl_sellers`.`address`, `thecarg_db`.`cg_tbl_sellers`.`pincode`, `thecarg_db`.`cg_tbl_sellers`.`status`, `thecarg_db`.`cg_tbl_sellers`.`operating_hours`, `thecarg_db`.`cg_tbl_sellers`.`zone`, `thecarg_db`.`cg_tbl_sellers`.`latitude`, `thecarg_db`.`cg_tbl_sellers`.`longitude` FROM `thecarg_db`.`cg_tbl_sellers` WHERE `thecarg_db`.`cg_tbl_sellers`.`id` IN (?)
prisma:query SELECT `thecarg_db`.`cg_tbl_zones`.`id`, `thecarg_db`.`cg_tbl_zones`.`zone_name` FROM `thecarg_db`.`cg_tbl_zones` WHERE 1=1
prisma:query SELECT `thecarg_db`.`cg_tbl_zones`.`id` FROM `thecarg_db`.`cg_tbl_zones` WHERE (`thecarg_db`.`cg_tbl_zones`.`id` IN (?,?) AND `thecarg_db`.`cg_tbl_zones`.`status` = ?)
prisma:query SELECT `thecarg_db`.`cg_tbl_products`.`id`, `thecarg_db`.`cg_tbl_products`.`techdoc_article_id`, `thecarg_db`.`cg_tbl_products`.`techdoc_brand_id`, `thecarg_db`.`cg_tbl_products`.`article_number`, `thecarg_db`.`cg_tbl_products`.`brand_name`, `thecarg_db`.`cg_tbl_products`.`status`, `thecarg_db`.`cg_tbl_products`.`created_at`, `thecarg_db`.`cg_tbl_products`.`updated_at`, `thecarg_db`.`cg_tbl_products`.`assembly_group_node_id`, `thecarg_db`.`cg_tbl_products`.`generic_article_id` FROM `thecarg_db`.`cg_tbl_products` WHERE (`thecarg_db`.`cg_tbl_products`.`id` = ? AND `thecarg_db`.`cg_tbl_products`.`status` = ?) LIMIT ? OFFSET ?
[2026-06-24T11:37:43.230Z] [INFO]: TecDoc → getArticles | provider: 25791 | country: IN | url: https://webservice.tecalliance.services/pegasus-3-0/services/TecdocToCatDLB.jsonEndpoint
--------------------------------------------------

[2026-06-24T11:37:43.401Z] [INFO]: TecDoc → getArticleLinkedAllLinkingTarget4 | provider: 25791 | country: IN | url: https://webservice.tecalliance.services/pegasus-3-0/services/TecdocToCatDLB.jsonEndpoint
--------------------------------------------------

[2026-06-24T11:37:43.576Z] [INFO]: TecDoc → getArticleLinkedAllLinkingTargetsByIds3 | provider: 25791 | country: IN | url: https://webservice.tecalliance.services/pegasus-3-0/services/TecdocToCatDLB.jsonEndpoint
--------------------------------------------------

prisma:query SELECT `thecarg_db`.`cg_tbl_seller_products`.`id`, `thecarg_db`.`cg_tbl_seller_products`.`customer_selling_price`, `thecarg_db`.`cg_tbl_seller_products`.`garage_selling_price`, `thecarg_db`.`cg_tbl_seller_products`.`mrp`, `thecarg_db`.`cg_tbl_seller_products`.`customer_discount_type`, `thecarg_db`.`cg_tbl_seller_products`.`customer_discount`, `thecarg_db`.`cg_tbl_seller_products`.`garage_discount_type`, `thecarg_db`.`cg_tbl_seller_products`.`garage_discount`, `thecarg_db`.`cg_tbl_seller_products`.`is_in_stock`, `thecarg_db`.`cg_tbl_seller_products`.`is_returnable`, `thecarg_db`.`cg_tbl_seller_products`.`return_days`, `thecarg_db`.`cg_tbl_seller_products`.`warranty_enabled`, `thecarg_db`.`cg_tbl_seller_products`.`warranty_duration`, `thecarg_db`.`cg_tbl_seller_products`.`warranty_duration_type`, `thecarg_db`.`cg_tbl_seller_products`.`warranty_document`, `thecarg_db`.`cg_tbl_seller_products`.`tax`, `thecarg_db`.`cg_tbl_seller_products`.`seller_id` FROM `thecarg_db`.`cg_tbl_seller_products` LEFT JOIN `thecarg_db`.`cg_tbl_sellers` AS `j1` ON (`j1`.`id`) = (`thecarg_db`.`cg_tbl_seller_products`.`seller_id`) WHERE (`thecarg_db`.`cg_tbl_seller_products`.`product_id` = ? AND `thecarg_db`.`cg_tbl_seller_products`.`status` = ? AND (`j1`.`status` = ? AND (`j1`.`id` IS NOT NULL))) ORDER BY `thecarg_db`.`cg_tbl_seller_products`.`garage_selling_price` ASC
prisma:query SELECT `thecarg_db`.`cg_tbl_sellers`.`id`, `thecarg_db`.`cg_tbl_sellers`.`seller_id`, `thecarg_db`.`cg_tbl_sellers`.`first_name`, `thecarg_db`.`cg_tbl_sellers`.`last_name`, `thecarg_db`.`cg_tbl_sellers`.`trade_name`, `thecarg_db`.`cg_tbl_sellers`.`city`, `thecarg_db`.`cg_tbl_sellers`.`state`, `thecarg_db`.`cg_tbl_sellers`.`email`, `thecarg_db`.`cg_tbl_sellers`.`mobile`, `thecarg_db`.`cg_tbl_sellers`.`address`, `thecarg_db`.`cg_tbl_sellers`.`pincode`, `thecarg_db`.`cg_tbl_sellers`.`status`, `thecarg_db`.`cg_tbl_sellers`.`operating_hours`, `thecarg_db`.`cg_tbl_sellers`.`zone`, `thecarg_db`.`cg_tbl_sellers`.`latitude`, `thecarg_db`.`cg_tbl_sellers`.`longitude` FROM `thecarg_db`.`cg_tbl_sellers` WHERE `thecarg_db`.`cg_tbl_sellers`.`id` IN (?)
prisma:query SELECT `thecarg_db`.`cg_tbl_zones`.`id`, `thecarg_db`.`cg_tbl_zones`.`zone_name` FROM `thecarg_db`.`cg_tbl_zones` WHERE 1=1
prisma:query SELECT `thecarg_db`.`cg_tbl_zones`.`id` FROM `thecarg_db`.`cg_tbl_zones` WHERE (`thecarg_db`.`cg_tbl_zones`.`id` IN (?,?) AND `thecarg_db`.`cg_tbl_zones`.`status` = ?)
prisma:query SELECT `thecarg_db`.`cg_tbl_products`.`id`, `thecarg_db`.`cg_tbl_products`.`techdoc_article_id`, `thecarg_db`.`cg_tbl_products`.`techdoc_brand_id`, `thecarg_db`.`cg_tbl_products`.`article_number`, `thecarg_db`.`cg_tbl_products`.`brand_name`, `thecarg_db`.`cg_tbl_products`.`status`, `thecarg_db`.`cg_tbl_products`.`created_at`, `thecarg_db`.`cg_tbl_products`.`updated_at`, `thecarg_db`.`cg_tbl_products`.`assembly_group_node_id`, `thecarg_db`.`cg_tbl_products`.`generic_article_id` FROM `thecarg_db`.`cg_tbl_products` WHERE (`thecarg_db`.`cg_tbl_products`.`id` = ? AND `thecarg_db`.`cg_tbl_products`.`status` = ?) LIMIT ? OFFSET ?
[2026-06-24T11:37:51.876Z] [INFO]: TecDoc → getArticles | provider: 25791 | country: IN | url: https://webservice.tecalliance.services/pegasus-3-0/services/TecdocToCatDLB.jsonEndpoint
--------------------------------------------------

[2026-06-24T11:37:52.367Z] [INFO]: TecDoc → getArticleLinkedAllLinkingTarget4 | provider: 25791 | country: IN | url: https://webservice.tecalliance.services/pegasus-3-0/services/TecdocToCatDLB.jsonEndpoint
--------------------------------------------------

[2026-06-24T11:37:52.543Z] [INFO]: TecDoc → getArticleLinkedAllLinkingTargetsByIds3 | provider: 25791 | country: IN | url: https://webservice.tecalliance.services/pegasus-3-0/services/TecdocToCatDLB.jsonEndpoint
--------------------------------------------------

prisma:query SELECT `thecarg_db`.`cg_tbl_seller_products`.`id`, `thecarg_db`.`cg_tbl_seller_products`.`customer_selling_price`, `thecarg_db`.`cg_tbl_seller_products`.`garage_selling_price`, `thecarg_db`.`cg_tbl_seller_products`.`mrp`, `thecarg_db`.`cg_tbl_seller_products`.`customer_discount_type`, `thecarg_db`.`cg_tbl_seller_products`.`customer_discount`, `thecarg_db`.`cg_tbl_seller_products`.`garage_discount_type`, `thecarg_db`.`cg_tbl_seller_products`.`garage_discount`, `thecarg_db`.`cg_tbl_seller_products`.`is_in_stock`, `thecarg_db`.`cg_tbl_seller_products`.`is_returnable`, `thecarg_db`.`cg_tbl_seller_products`.`return_days`, `thecarg_db`.`cg_tbl_seller_products`.`warranty_enabled`, `thecarg_db`.`cg_tbl_seller_products`.`warranty_duration`, `thecarg_db`.`cg_tbl_seller_products`.`warranty_duration_type`, `thecarg_db`.`cg_tbl_seller_products`.`warranty_document`, `thecarg_db`.`cg_tbl_seller_products`.`tax`, `thecarg_db`.`cg_tbl_seller_products`.`seller_id` FROM `thecarg_db`.`cg_tbl_seller_products` LEFT JOIN `thecarg_db`.`cg_tbl_sellers` AS `j1` ON (`j1`.`id`) = (`thecarg_db`.`cg_tbl_seller_products`.`seller_id`) WHERE (`thecarg_db`.`cg_tbl_seller_products`.`product_id` = ? AND `thecarg_db`.`cg_tbl_seller_products`.`status` = ? AND (`j1`.`status` = ? AND (`j1`.`id` IS NOT NULL))) ORDER BY `thecarg_db`.`cg_tbl_seller_products`.`garage_selling_price` ASC
prisma:query SELECT `thecarg_db`.`cg_tbl_sellers`.`id`, `thecarg_db`.`cg_tbl_sellers`.`seller_id`, `thecarg_db`.`cg_tbl_sellers`.`first_name`, `thecarg_db`.`cg_tbl_sellers`.`last_name`, `thecarg_db`.`cg_tbl_sellers`.`trade_name`, `thecarg_db`.`cg_tbl_sellers`.`city`, `thecarg_db`.`cg_tbl_sellers`.`state`, `thecarg_db`.`cg_tbl_sellers`.`email`, `thecarg_db`.`cg_tbl_sellers`.`mobile`, `thecarg_db`.`cg_tbl_sellers`.`address`, `thecarg_db`.`cg_tbl_sellers`.`pincode`, `thecarg_db`.`cg_tbl_sellers`.`status`, `thecarg_db`.`cg_tbl_sellers`.`operating_hours`, `thecarg_db`.`cg_tbl_sellers`.`zone`, `thecarg_db`.`cg_tbl_sellers`.`latitude`, `thecarg_db`.`cg_tbl_sellers`.`longitude` FROM `thecarg_db`.`cg_tbl_sellers` WHERE `thecarg_db`.`cg_tbl_sellers`.`id` IN (?)
prisma:query SELECT `thecarg_db`.`cg_tbl_zones`.`id`, `thecarg_db`.`cg_tbl_zones`.`zone_name` FROM `thecarg_db`.`cg_tbl_zones` WHERE 1=1
prisma:query SELECT 1
prisma:query SELECT `thecarg_db`.`cg_tbl_zones`.`id` FROM `thecarg_db`.`cg_tbl_zones` WHERE (`thecarg_db`.`cg_tbl_zones`.`id` IN (?,?) AND `thecarg_db`.`cg_tbl_zones`.`status` = ?)
prisma:query SELECT `thecarg_db`.`cg_tbl_products`.`id`, `thecarg_db`.`cg_tbl_products`.`techdoc_article_id`, `thecarg_db`.`cg_tbl_products`.`techdoc_brand_id`, `thecarg_db`.`cg_tbl_products`.`article_number`, `thecarg_db`.`cg_tbl_products`.`brand_name`, `thecarg_db`.`cg_tbl_products`.`status`, `thecarg_db`.`cg_tbl_products`.`created_at`, `thecarg_db`.`cg_tbl_products`.`updated_at`, `thecarg_db`.`cg_tbl_products`.`assembly_group_node_id`, `thecarg_db`.`cg_tbl_products`.`generic_article_id` FROM `thecarg_db`.`cg_tbl_products` WHERE (`thecarg_db`.`cg_tbl_products`.`id` = ? AND `thecarg_db`.`cg_tbl_products`.`status` = ?) LIMIT ? OFFSET ?
[2026-06-24T11:37:57.504Z] [INFO]: TecDoc → getArticles | provider: 25791 | country: IN | url: https://webservice.tecalliance.services/pegasus-3-0/services/TecdocToCatDLB.jsonEndpoint
--------------------------------------------------

[2026-06-24T11:37:57.983Z] [INFO]: TecDoc → getArticleLinkedAllLinkingTarget4 | provider: 25791 | country: IN | url: https://webservice.tecalliance.services/pegasus-3-0/services/TecdocToCatDLB.jsonEndpoint
--------------------------------------------------

prisma:query SELECT `thecarg_db`.`cg_tbl_seller_products`.`id`, `thecarg_db`.`cg_tbl_seller_products`.`customer_selling_price`, `thecarg_db`.`cg_tbl_seller_products`.`garage_selling_price`, `thecarg_db`.`cg_tbl_seller_products`.`mrp`, `thecarg_db`.`cg_tbl_seller_products`.`customer_discount_type`, `thecarg_db`.`cg_tbl_seller_products`.`customer_discount`, `thecarg_db`.`cg_tbl_seller_products`.`garage_discount_type`, `thecarg_db`.`cg_tbl_seller_products`.`garage_discount`, `thecarg_db`.`cg_tbl_seller_products`.`is_in_stock`, `thecarg_db`.`cg_tbl_seller_products`.`is_returnable`, `thecarg_db`.`cg_tbl_seller_products`.`return_days`, `thecarg_db`.`cg_tbl_seller_products`.`warranty_enabled`, `thecarg_db`.`cg_tbl_seller_products`.`warranty_duration`, `thecarg_db`.`cg_tbl_seller_products`.`warranty_duration_type`, `thecarg_db`.`cg_tbl_seller_products`.`warranty_document`, `thecarg_db`.`cg_tbl_seller_products`.`tax`, `thecarg_db`.`cg_tbl_seller_products`.`seller_id` FROM `thecarg_db`.`cg_tbl_seller_products` LEFT JOIN `thecarg_db`.`cg_tbl_sellers` AS `j1` ON (`j1`.`id`) = (`thecarg_db`.`cg_tbl_seller_products`.`seller_id`) WHERE (`thecarg_db`.`cg_tbl_seller_products`.`product_id` = ? AND `thecarg_db`.`cg_tbl_seller_products`.`status` = ? AND (`j1`.`status` = ? AND (`j1`.`id` IS NOT NULL))) ORDER BY `thecarg_db`.`cg_tbl_seller_products`.`garage_selling_price` ASC
prisma:query SELECT `thecarg_db`.`cg_tbl_sellers`.`id`, `thecarg_db`.`cg_tbl_sellers`.`seller_id`, `thecarg_db`.`cg_tbl_sellers`.`first_name`, `thecarg_db`.`cg_tbl_sellers`.`last_name`, `thecarg_db`.`cg_tbl_sellers`.`trade_name`, `thecarg_db`.`cg_tbl_sellers`.`city`, `thecarg_db`.`cg_tbl_sellers`.`state`, `thecarg_db`.`cg_tbl_sellers`.`email`, `thecarg_db`.`cg_tbl_sellers`.`mobile`, `thecarg_db`.`cg_tbl_sellers`.`address`, `thecarg_db`.`cg_tbl_sellers`.`pincode`, `thecarg_db`.`cg_tbl_sellers`.`status`, `thecarg_db`.`cg_tbl_sellers`.`operating_hours`, `thecarg_db`.`cg_tbl_sellers`.`zone`, `thecarg_db`.`cg_tbl_sellers`.`latitude`, `thecarg_db`.`cg_tbl_sellers`.`longitude` FROM `thecarg_db`.`cg_tbl_sellers` WHERE `thecarg_db`.`cg_tbl_sellers`.`id` IN (?)
prisma:query SELECT `thecarg_db`.`cg_tbl_zones`.`id`, `thecarg_db`.`cg_tbl_zones`.`zone_name` FROM `thecarg_db`.`cg_tbl_zones` WHERE 1=1
prisma:query SELECT `thecarg_db`.`cg_tbl_zones`.`id` FROM `thecarg_db`.`cg_tbl_zones` WHERE (`thecarg_db`.`cg_tbl_zones`.`id` IN (?,?) AND `thecarg_db`.`cg_tbl_zones`.`status` = ?)
prisma:query SELECT `thecarg_db`.`cg_tbl_products`.`id`, `thecarg_db`.`cg_tbl_products`.`techdoc_article_id`, `thecarg_db`.`cg_tbl_products`.`techdoc_brand_id`, `thecarg_db`.`cg_tbl_products`.`article_number`, `thecarg_db`.`cg_tbl_products`.`brand_name`, `thecarg_db`.`cg_tbl_products`.`status`, `thecarg_db`.`cg_tbl_products`.`created_at`, `thecarg_db`.`cg_tbl_products`.`updated_at`, `thecarg_db`.`cg_tbl_products`.`assembly_group_node_id`, `thecarg_db`.`cg_tbl_products`.`generic_article_id` FROM `thecarg_db`.`cg_tbl_products` WHERE (`thecarg_db`.`cg_tbl_products`.`id` = ? AND `thecarg_db`.`cg_tbl_products`.`status` = ?) LIMIT ? OFFSET ?
[2026-06-24T11:38:02.312Z] [INFO]: TecDoc → getArticles | provider: 25791 | country: IN | url: https://webservice.tecalliance.services/pegasus-3-0/services/TecdocToCatDLB.jsonEndpoint
--------------------------------------------------

[2026-06-24T11:38:02.786Z] [INFO]: TecDoc → getArticleLinkedAllLinkingTarget4 | provider: 25791 | country: IN | url: https://webservice.tecalliance.services/pegasus-3-0/services/TecdocToCatDLB.jsonEndpoint
--------------------------------------------------

prisma:query SELECT `thecarg_db`.`cg_tbl_seller_products`.`id`, `thecarg_db`.`cg_tbl_seller_products`.`customer_selling_price`, `thecarg_db`.`cg_tbl_seller_products`.`garage_selling_price`, `thecarg_db`.`cg_tbl_seller_products`.`mrp`, `thecarg_db`.`cg_tbl_seller_products`.`customer_discount_type`, `thecarg_db`.`cg_tbl_seller_products`.`customer_discount`, `thecarg_db`.`cg_tbl_seller_products`.`garage_discount_type`, `thecarg_db`.`cg_tbl_seller_products`.`garage_discount`, `thecarg_db`.`cg_tbl_seller_products`.`is_in_stock`, `thecarg_db`.`cg_tbl_seller_products`.`is_returnable`, `thecarg_db`.`cg_tbl_seller_products`.`return_days`, `thecarg_db`.`cg_tbl_seller_products`.`warranty_enabled`, `thecarg_db`.`cg_tbl_seller_products`.`warranty_duration`, `thecarg_db`.`cg_tbl_seller_products`.`warranty_duration_type`, `thecarg_db`.`cg_tbl_seller_products`.`warranty_document`, `thecarg_db`.`cg_tbl_seller_products`.`tax`, `thecarg_db`.`cg_tbl_seller_products`.`seller_id` FROM `thecarg_db`.`cg_tbl_seller_products` LEFT JOIN `thecarg_db`.`cg_tbl_sellers` AS `j1` ON (`j1`.`id`) = (`thecarg_db`.`cg_tbl_seller_products`.`seller_id`) WHERE (`thecarg_db`.`cg_tbl_seller_products`.`product_id` = ? AND `thecarg_db`.`cg_tbl_seller_products`.`status` = ? AND (`j1`.`status` = ? AND (`j1`.`id` IS NOT NULL))) ORDER BY `thecarg_db`.`cg_tbl_seller_products`.`garage_selling_price` ASC
prisma:query SELECT `thecarg_db`.`cg_tbl_sellers`.`id`, `thecarg_db`.`cg_tbl_sellers`.`seller_id`, `thecarg_db`.`cg_tbl_sellers`.`first_name`, `thecarg_db`.`cg_tbl_sellers`.`last_name`, `thecarg_db`.`cg_tbl_sellers`.`trade_name`, `thecarg_db`.`cg_tbl_sellers`.`city`, `thecarg_db`.`cg_tbl_sellers`.`state`, `thecarg_db`.`cg_tbl_sellers`.`email`, `thecarg_db`.`cg_tbl_sellers`.`mobile`, `thecarg_db`.`cg_tbl_sellers`.`address`, `thecarg_db`.`cg_tbl_sellers`.`pincode`, `thecarg_db`.`cg_tbl_sellers`.`status`, `thecarg_db`.`cg_tbl_sellers`.`operating_hours`, `thecarg_db`.`cg_tbl_sellers`.`zone`, `thecarg_db`.`cg_tbl_sellers`.`latitude`, `thecarg_db`.`cg_tbl_sellers`.`longitude` FROM `thecarg_db`.`cg_tbl_sellers` WHERE `thecarg_db`.`cg_tbl_sellers`.`id` IN (?)
prisma:query SELECT `thecarg_db`.`cg_tbl_zones`.`id`, `thecarg_db`.`cg_tbl_zones`.`zone_name` FROM `thecarg_db`.`cg_tbl_zones` WHERE 1=1
prisma:query SELECT `thecarg_db`.`cg_tbl_zones`.`id` FROM `thecarg_db`.`cg_tbl_zones` WHERE (`thecarg_db`.`cg_tbl_zones`.`id` IN (?,?) AND `thecarg_db`.`cg_tbl_zones`.`status` = ?)
prisma:query SELECT `thecarg_db`.`cg_tbl_products`.`id`, `thecarg_db`.`cg_tbl_products`.`techdoc_article_id`, `thecarg_db`.`cg_tbl_products`.`techdoc_brand_id`, `thecarg_db`.`cg_tbl_products`.`article_number`, `thecarg_db`.`cg_tbl_products`.`brand_name`, `thecarg_db`.`cg_tbl_products`.`status`, `thecarg_db`.`cg_tbl_products`.`created_at`, `thecarg_db`.`cg_tbl_products`.`updated_at`, `thecarg_db`.`cg_tbl_products`.`assembly_group_node_id`, `thecarg_db`.`cg_tbl_products`.`generic_article_id` FROM `thecarg_db`.`cg_tbl_products` WHERE (`thecarg_db`.`cg_tbl_products`.`id` = ? AND `thecarg_db`.`cg_tbl_products`.`status` = ?) LIMIT ? OFFSET ?
[2026-06-24T11:38:04.316Z] [INFO]: TecDoc → getArticles | provider: 25791 | country: IN | url: https://webservice.tecalliance.services/pegasus-3-0/services/TecdocToCatDLB.jsonEndpoint
--------------------------------------------------

[2026-06-24T11:38:04.481Z] [INFO]: TecDoc → getArticleLinkedAllLinkingTarget4 | provider: 25791 | country: IN | url: https://webservice.tecalliance.services/pegasus-3-0/services/TecdocToCatDLB.jsonEndpoint
--------------------------------------------------

prisma:query SELECT `thecarg_db`.`cg_tbl_seller_products`.`id`, `thecarg_db`.`cg_tbl_seller_products`.`customer_selling_price`, `thecarg_db`.`cg_tbl_seller_products`.`garage_selling_price`, `thecarg_db`.`cg_tbl_seller_products`.`mrp`, `thecarg_db`.`cg_tbl_seller_products`.`customer_discount_type`, `thecarg_db`.`cg_tbl_seller_products`.`customer_discount`, `thecarg_db`.`cg_tbl_seller_products`.`garage_discount_type`, `thecarg_db`.`cg_tbl_seller_products`.`garage_discount`, `thecarg_db`.`cg_tbl_seller_products`.`is_in_stock`, `thecarg_db`.`cg_tbl_seller_products`.`is_returnable`, `thecarg_db`.`cg_tbl_seller_products`.`return_days`, `thecarg_db`.`cg_tbl_seller_products`.`warranty_enabled`, `thecarg_db`.`cg_tbl_seller_products`.`warranty_duration`, `thecarg_db`.`cg_tbl_seller_products`.`warranty_duration_type`, `thecarg_db`.`cg_tbl_seller_products`.`warranty_document`, `thecarg_db`.`cg_tbl_seller_products`.`tax`, `thecarg_db`.`cg_tbl_seller_products`.`seller_id` FROM `thecarg_db`.`cg_tbl_seller_products` LEFT JOIN `thecarg_db`.`cg_tbl_sellers` AS `j1` ON (`j1`.`id`) = (`thecarg_db`.`cg_tbl_seller_products`.`seller_id`) WHERE (`thecarg_db`.`cg_tbl_seller_products`.`product_id` = ? AND `thecarg_db`.`cg_tbl_seller_products`.`status` = ? AND (`j1`.`status` = ? AND (`j1`.`id` IS NOT NULL))) ORDER BY `thecarg_db`.`cg_tbl_seller_products`.`garage_selling_price` ASC
prisma:query SELECT `thecarg_db`.`cg_tbl_sellers`.`id`, `thecarg_db`.`cg_tbl_sellers`.`seller_id`, `thecarg_db`.`cg_tbl_sellers`.`first_name`, `thecarg_db`.`cg_tbl_sellers`.`last_name`, `thecarg_db`.`cg_tbl_sellers`.`trade_name`, `thecarg_db`.`cg_tbl_sellers`.`city`, `thecarg_db`.`cg_tbl_sellers`.`state`, `thecarg_db`.`cg_tbl_sellers`.`email`, `thecarg_db`.`cg_tbl_sellers`.`mobile`, `thecarg_db`.`cg_tbl_sellers`.`address`, `thecarg_db`.`cg_tbl_sellers`.`pincode`, `thecarg_db`.`cg_tbl_sellers`.`status`, `thecarg_db`.`cg_tbl_sellers`.`operating_hours`, `thecarg_db`.`cg_tbl_sellers`.`zone`, `thecarg_db`.`cg_tbl_sellers`.`latitude`, `thecarg_db`.`cg_tbl_sellers`.`longitude` FROM `thecarg_db`.`cg_tbl_sellers` WHERE `thecarg_db`.`cg_tbl_sellers`.`id` IN (?)
prisma:query SELECT `thecarg_db`.`cg_tbl_zones`.`id`, `thecarg_db`.`cg_tbl_zones`.`zone_name` FROM `thecarg_db`.`cg_tbl_zones` WHERE 1=1
prisma:query SELECT `thecarg_db`.`cg_tbl_zones`.`id` FROM `thecarg_db`.`cg_tbl_zones` WHERE (`thecarg_db`.`cg_tbl_zones`.`id` IN (?,?) AND `thecarg_db`.`cg_tbl_zones`.`status` = ?)
prisma:query SELECT `thecarg_db`.`cg_tbl_products`.`id`, `thecarg_db`.`cg_tbl_products`.`techdoc_article_id`, `thecarg_db`.`cg_tbl_products`.`techdoc_brand_id`, `thecarg_db`.`cg_tbl_products`.`article_number`, `thecarg_db`.`cg_tbl_products`.`brand_name`, `thecarg_db`.`cg_tbl_products`.`status`, `thecarg_db`.`cg_tbl_products`.`created_at`, `thecarg_db`.`cg_tbl_products`.`updated_at`, `thecarg_db`.`cg_tbl_products`.`assembly_group_node_id`, `thecarg_db`.`cg_tbl_products`.`generic_article_id` FROM `thecarg_db`.`cg_tbl_products` WHERE (`thecarg_db`.`cg_tbl_products`.`id` = ? AND `thecarg_db`.`cg_tbl_products`.`status` = ?) LIMIT ? OFFSET ?
[2026-06-24T11:38:08.519Z] [INFO]: TecDoc → getArticles | provider: 25791 | country: IN | url: https://webservice.tecalliance.services/pegasus-3-0/services/TecdocToCatDLB.jsonEndpoint
--------------------------------------------------

[2026-06-24T11:38:08.683Z] [INFO]: TecDoc → getArticleLinkedAllLinkingTarget4 | provider: 25791 | country: IN | url: https://webservice.tecalliance.services/pegasus-3-0/services/TecdocToCatDLB.jsonEndpoint
--------------------------------------------------

prisma:query SELECT `thecarg_db`.`cg_tbl_seller_products`.`id`, `thecarg_db`.`cg_tbl_seller_products`.`customer_selling_price`, `thecarg_db`.`cg_tbl_seller_products`.`garage_selling_price`, `thecarg_db`.`cg_tbl_seller_products`.`mrp`, `thecarg_db`.`cg_tbl_seller_products`.`customer_discount_type`, `thecarg_db`.`cg_tbl_seller_products`.`customer_discount`, `thecarg_db`.`cg_tbl_seller_products`.`garage_discount_type`, `thecarg_db`.`cg_tbl_seller_products`.`garage_discount`, `thecarg_db`.`cg_tbl_seller_products`.`is_in_stock`, `thecarg_db`.`cg_tbl_seller_products`.`is_returnable`, `thecarg_db`.`cg_tbl_seller_products`.`return_days`, `thecarg_db`.`cg_tbl_seller_products`.`warranty_enabled`, `thecarg_db`.`cg_tbl_seller_products`.`warranty_duration`, `thecarg_db`.`cg_tbl_seller_products`.`warranty_duration_type`, `thecarg_db`.`cg_tbl_seller_products`.`warranty_document`, `thecarg_db`.`cg_tbl_seller_products`.`tax`, `thecarg_db`.`cg_tbl_seller_products`.`seller_id` FROM `thecarg_db`.`cg_tbl_seller_products` LEFT JOIN `thecarg_db`.`cg_tbl_sellers` AS `j1` ON (`j1`.`id`) = (`thecarg_db`.`cg_tbl_seller_products`.`seller_id`) WHERE (`thecarg_db`.`cg_tbl_seller_products`.`product_id` = ? AND `thecarg_db`.`cg_tbl_seller_products`.`status` = ? AND (`j1`.`status` = ? AND (`j1`.`id` IS NOT NULL))) ORDER BY `thecarg_db`.`cg_tbl_seller_products`.`garage_selling_price` ASC
prisma:query SELECT `thecarg_db`.`cg_tbl_sellers`.`id`, `thecarg_db`.`cg_tbl_sellers`.`seller_id`, `thecarg_db`.`cg_tbl_sellers`.`first_name`, `thecarg_db`.`cg_tbl_sellers`.`last_name`, `thecarg_db`.`cg_tbl_sellers`.`trade_name`, `thecarg_db`.`cg_tbl_sellers`.`city`, `thecarg_db`.`cg_tbl_sellers`.`state`, `thecarg_db`.`cg_tbl_sellers`.`email`, `thecarg_db`.`cg_tbl_sellers`.`mobile`, `thecarg_db`.`cg_tbl_sellers`.`address`, `thecarg_db`.`cg_tbl_sellers`.`pincode`, `thecarg_db`.`cg_tbl_sellers`.`status`, `thecarg_db`.`cg_tbl_sellers`.`operating_hours`, `thecarg_db`.`cg_tbl_sellers`.`zone`, `thecarg_db`.`cg_tbl_sellers`.`latitude`, `thecarg_db`.`cg_tbl_sellers`.`longitude` FROM `thecarg_db`.`cg_tbl_sellers` WHERE `thecarg_db`.`cg_tbl_sellers`.`id` IN (?)
prisma:query SELECT `thecarg_db`.`cg_tbl_zones`.`id`, `thecarg_db`.`cg_tbl_zones`.`zone_name` FROM `thecarg_db`.`cg_tbl_zones` WHERE 1=1
prisma:query SELECT 1
prisma:query SELECT 1
prisma:query SELECT 1
prisma:query SELECT `thecarg_db`.`cg_tbl_vehicle_classes`.`id`, `thecarg_db`.`cg_tbl_vehicle_classes`.`name`, `thecarg_db`.`cg_tbl_vehicle_classes`.`slug` FROM `thecarg_db`.`cg_tbl_vehicle_classes` WHERE `thecarg_db`.`cg_tbl_vehicle_classes`.`status` = ? ORDER BY `thecarg_db`.`cg_tbl_vehicle_classes`.`name` ASC
prisma:query SELECT `thecarg_db`.`cg_tbl_business_settings`.`id`, `thecarg_db`.`cg_tbl_business_settings`.`key`, `thecarg_db`.`cg_tbl_business_settings`.`value`, `thecarg_db`.`cg_tbl_business_settings`.`created_at`, `thecarg_db`.`cg_tbl_business_settings`.`updated_at` FROM `thecarg_db`.`cg_tbl_business_settings` WHERE `thecarg_db`.`cg_tbl_business_settings`.`key` IN (?,?,?,?)
prisma:query SELECT `thecarg_db`.`cg_tbl_gig_reasons`.`id`, `thecarg_db`.`cg_tbl_gig_reasons`.`reason` FROM `thecarg_db`.`cg_tbl_gig_reasons` WHERE `thecarg_db`.`cg_tbl_gig_reasons`.`status` = ? ORDER BY `thecarg_db`.`cg_tbl_gig_reasons`.`id` ASC
prisma:query SELECT `thecarg_db`.`cg_tbl_vehicle_fuel_types`.`id`, `thecarg_db`.`cg_tbl_vehicle_fuel_types`.`name`, `thecarg_db`.`cg_tbl_vehicle_fuel_types`.`slug` FROM `thecarg_db`.`cg_tbl_vehicle_fuel_types` WHERE `thecarg_db`.`cg_tbl_vehicle_fuel_types`.`status` = ? ORDER BY `thecarg_db`.`cg_tbl_vehicle_fuel_types`.`name` ASC
prisma:query SELECT `thecarg_db`.`cg_tbl_customers`.`id`, `thecarg_db`.`cg_tbl_customers`.`full_name`, `thecarg_db`.`cg_tbl_customers`.`mobile`, `thecarg_db`.`cg_tbl_customers`.`email`, `thecarg_db`.`cg_tbl_customers`.`profile_photo_file`, `thecarg_db`.`cg_tbl_customers`.`status`, `thecarg_db`.`cg_tbl_customers`.`created_at`, `thecarg_db`.`cg_tbl_customers`.`updated_at`, `thecarg_db`.`cg_tbl_customers`.`date_of_birth`, `thecarg_db`.`cg_tbl_customers`.`fcm_token`, `thecarg_db`.`cg_tbl_customers`.`marriage_date`, `thecarg_db`.`cg_tbl_customers`.`ref_code`, `thecarg_db`.`cg_tbl_customers`.`referred_by` FROM `thecarg_db`.`cg_tbl_customers` WHERE (`thecarg_db`.`cg_tbl_customers`.`id` = ? AND 1=1) LIMIT ? OFFSET ?
prisma:query SELECT `thecarg_db`.`cg_tbl_user_notifications`.`id`, `thecarg_db`.`cg_tbl_user_notifications`.`user_id`, `thecarg_db`.`cg_tbl_user_notifications`.`user_role_id`, `thecarg_db`.`cg_tbl_user_notifications`.`data`, `thecarg_db`.`cg_tbl_user_notifications`.`platform`, `thecarg_db`.`cg_tbl_user_notifications`.`is_read`, `thecarg_db`.`cg_tbl_user_notifications`.`created_at` FROM `thecarg_db`.`cg_tbl_user_notifications` WHERE (`thecarg_db`.`cg_tbl_user_notifications`.`user_id` = ? AND `thecarg_db`.`cg_tbl_user_notifications`.`user_role_id` = ? AND `thecarg_db`.`cg_tbl_user_notifications`.`platform` = ?) ORDER BY `thecarg_db`.`cg_tbl_user_notifications`.`created_at` DESC LIMIT ? OFFSET ?
prisma:query SELECT `thecarg_db`.`cg_tbl_coupons`.`id`, `thecarg_db`.`cg_tbl_coupons`.`coupon_code`, `thecarg_db`.`cg_tbl_coupons`.`title`, `thecarg_db`.`cg_tbl_coupons`.`coupon_type`, `thecarg_db`.`cg_tbl_coupons`.`applicable_user_type`, `thecarg_db`.`cg_tbl_coupons`.`user_eligibility`, `thecarg_db`.`cg_tbl_coupons`.`discount_value`, `thecarg_db`.`cg_tbl_coupons`.`max_discount`, `thecarg_db`.`cg_tbl_coupons`.`min_order_value`, `thecarg_db`.`cg_tbl_coupons`.`valid_from`, `thecarg_db`.`cg_tbl_coupons`.`valid_to`, `thecarg_db`.`cg_tbl_coupons`.`total_usage_limit`, `thecarg_db`.`cg_tbl_coupons`.`total_uses`, `thecarg_db`.`cg_tbl_coupons`.`usage_per_user`, `thecarg_db`.`cg_tbl_coupons`.`category_restrictions`, `thecarg_db`.`cg_tbl_coupons`.`allow_stacking`, `thecarg_db`.`cg_tbl_coupons`.`module_type`, `thecarg_db`.`cg_tbl_coupons`.`zone_ids`, `thecarg_db`.`cg_tbl_coupons`.`vendor_id`, `thecarg_db`.`cg_tbl_coupons`.`created_at` FROM `thecarg_db`.`cg_tbl_coupons` WHERE (`thecarg_db`.`cg_tbl_coupons`.`status` = ? AND `thecarg_db`.`cg_tbl_coupons`.`applicable_user_type` IN (?,?) AND (`thecarg_db`.`cg_tbl_coupons`.`valid_from` IS NULL OR `thecarg_db`.`cg_tbl_coupons`.`valid_from` <= ?) AND (`thecarg_db`.`cg_tbl_coupons`.`valid_to` IS NULL OR `thecarg_db`.`cg_tbl_coupons`.`valid_to` >= ?)) ORDER BY `thecarg_db`.`cg_tbl_coupons`.`created_at` DESC
prisma:query SELECT COUNT(*) FROM (SELECT `thecarg_db`.`cg_tbl_user_notifications`.`id` FROM `thecarg_db`.`cg_tbl_user_notifications` WHERE (`thecarg_db`.`cg_tbl_user_notifications`.`user_id` = ? AND `thecarg_db`.`cg_tbl_user_notifications`.`user_role_id` = ? AND `thecarg_db`.`cg_tbl_user_notifications`.`platform` = ?)) AS `sub`
prisma:query SELECT COUNT(*) FROM (SELECT `thecarg_db`.`cg_tbl_vehicles_master`.`id` FROM `thecarg_db`.`cg_tbl_vehicles_master` WHERE (`thecarg_db`.`cg_tbl_vehicles_master`.`user_id` = ? AND `thecarg_db`.`cg_tbl_vehicles_master`.`user_role_id` = ? AND `thecarg_db`.`cg_tbl_vehicles_master`.`deleted_status` = ? AND `thecarg_db`.`cg_tbl_vehicles_master`.`status` = ?)) AS `sub`
prisma:query SELECT `thecarg_db`.`cg_tbl_categories`.`id`, `thecarg_db`.`cg_tbl_categories`.`category_name` FROM `thecarg_db`.`cg_tbl_categories` WHERE `thecarg_db`.`cg_tbl_categories`.`id` IN (?,?,?,?,?,?)
prisma:query SELECT `thecarg_db`.`cg_tbl_vehicles_master`.`id`, `thecarg_db`.`cg_tbl_vehicles_master`.`vehicle_no`, `thecarg_db`.`cg_tbl_vehicles_master`.`make`, `thecarg_db`.`cg_tbl_vehicles_master`.`model`, `thecarg_db`.`cg_tbl_vehicles_master`.`year`, `thecarg_db`.`cg_tbl_vehicles_master`.`chassis_no`, `thecarg_db`.`cg_tbl_vehicles_master`.`odometer_reading_km`, `thecarg_db`.`cg_tbl_vehicles_master`.`vehicle_image`, `thecarg_db`.`cg_tbl_vehicles_master`.`vehicle_rc_img`, `thecarg_db`.`cg_tbl_vehicles_master`.`vehicle_class_id`, `thecarg_db`.`cg_tbl_vehicles_master`.`vehicle_fuel_type_id` FROM `thecarg_db`.`cg_tbl_vehicles_master` WHERE (`thecarg_db`.`cg_tbl_vehicles_master`.`user_id` = ? AND `thecarg_db`.`cg_tbl_vehicles_master`.`user_role_id` = ? AND `thecarg_db`.`cg_tbl_vehicles_master`.`deleted_status` = ? AND `thecarg_db`.`cg_tbl_vehicles_master`.`status` = ?) ORDER BY `thecarg_db`.`cg_tbl_vehicles_master`.`id` DESC LIMIT ? OFFSET ?
prisma:query SELECT 1
prisma:query SELECT 1
prisma:query SELECT `thecarg_db`.`cg_tbl_vehicle_classes`.`id`, `thecarg_db`.`cg_tbl_vehicle_classes`.`name`, `thecarg_db`.`cg_tbl_vehicle_classes`.`slug` FROM `thecarg_db`.`cg_tbl_vehicle_classes` WHERE `thecarg_db`.`cg_tbl_vehicle_classes`.`id` IN (?,?)
prisma:query SELECT 1
prisma:query SELECT `thecarg_db`.`cg_tbl_business_settings`.`id`, `thecarg_db`.`cg_tbl_business_settings`.`key`, `thecarg_db`.`cg_tbl_business_settings`.`value`, `thecarg_db`.`cg_tbl_business_settings`.`created_at`, `thecarg_db`.`cg_tbl_business_settings`.`updated_at` FROM `thecarg_db`.`cg_tbl_business_settings` WHERE `thecarg_db`.`cg_tbl_business_settings`.`key` IN (?,?,?,?)
prisma:query SELECT 1
prisma:query SELECT 1
prisma:query SELECT `thecarg_db`.`cg_tbl_vehicle_fuel_types`.`id`, `thecarg_db`.`cg_tbl_vehicle_fuel_types`.`name`, `thecarg_db`.`cg_tbl_vehicle_fuel_types`.`slug` FROM `thecarg_db`.`cg_tbl_vehicle_fuel_types` WHERE `thecarg_db`.`cg_tbl_vehicle_fuel_types`.`status` = ? ORDER BY `thecarg_db`.`cg_tbl_vehicle_fuel_types`.`name` ASC
prisma:query SELECT COUNT(*) FROM (SELECT `thecarg_db`.`cg_table_tutorials`.`id` FROM `thecarg_db`.`cg_table_tutorials` WHERE (`thecarg_db`.`cg_table_tutorials`.`role_id` = ? AND `thecarg_db`.`cg_table_tutorials`.`status` = ?)) AS `sub`
prisma:query SELECT `thecarg_db`.`cg_table_tutorials`.`id`, `thecarg_db`.`cg_table_tutorials`.`role_id`, `thecarg_db`.`cg_table_tutorials`.`youtube_url`, `thecarg_db`.`cg_table_tutorials`.`status`, `thecarg_db`.`cg_table_tutorials`.`created_at`, `thecarg_db`.`cg_table_tutorials`.`created_by`, `thecarg_db`.`cg_table_tutorials`.`updated_at` FROM `thecarg_db`.`cg_table_tutorials` WHERE (`thecarg_db`.`cg_table_tutorials`.`role_id` = ? AND `thecarg_db`.`cg_table_tutorials`.`status` = ?) ORDER BY `thecarg_db`.`cg_table_tutorials`.`created_at` DESC LIMIT ? OFFSET ?
prisma:query SELECT `thecarg_db`.`cg_tbl_gig_reasons`.`id`, `thecarg_db`.`cg_tbl_gig_reasons`.`reason` FROM `thecarg_db`.`cg_tbl_gig_reasons` WHERE `thecarg_db`.`cg_tbl_gig_reasons`.`status` = ? ORDER BY `thecarg_db`.`cg_tbl_gig_reasons`.`id` ASC
prisma:query SELECT `thecarg_db`.`cg_tbl_business_settings`.`id`, `thecarg_db`.`cg_tbl_business_settings`.`key`, `thecarg_db`.`cg_tbl_business_settings`.`value`, `thecarg_db`.`cg_tbl_business_settings`.`created_at`, `thecarg_db`.`cg_tbl_business_settings`.`updated_at` FROM `thecarg_db`.`cg_tbl_business_settings` WHERE (`thecarg_db`.`cg_tbl_business_settings`.`key` = ? AND 1=1) LIMIT ? OFFSET ?
prisma:query SELECT `thecarg_db`.`cg_tbl_vehicle_fuel_types`.`id`, `thecarg_db`.`cg_tbl_vehicle_fuel_types`.`name`, `thecarg_db`.`cg_tbl_vehicle_fuel_types`.`slug` FROM `thecarg_db`.`cg_tbl_vehicle_fuel_types` WHERE `thecarg_db`.`cg_tbl_vehicle_fuel_types`.`id` IN (?,?)
prisma:query SELECT `thecarg_db`.`cg_tbl_vehicle_classes`.`id`, `thecarg_db`.`cg_tbl_vehicle_classes`.`name`, `thecarg_db`.`cg_tbl_vehicle_classes`.`slug` FROM `thecarg_db`.`cg_tbl_vehicle_classes` WHERE `thecarg_db`.`cg_tbl_vehicle_classes`.`status` = ? ORDER BY `thecarg_db`.`cg_tbl_vehicle_classes`.`name` ASC
prisma:query SELECT `thecarg_db`.`cg_tbl_business_settings`.`id`, `thecarg_db`.`cg_tbl_business_settings`.`key`, `thecarg_db`.`cg_tbl_business_settings`.`value`, `thecarg_db`.`cg_tbl_business_settings`.`created_at`, `thecarg_db`.`cg_tbl_business_settings`.`updated_at` FROM `thecarg_db`.`cg_tbl_business_settings` WHERE (`thecarg_db`.`cg_tbl_business_settings`.`key` = ? AND 1=1) LIMIT ? OFFSET ?
prisma:query SELECT `thecarg_db`.`cg_tbl_business_settings`.`id`, `thecarg_db`.`cg_tbl_business_settings`.`key`, `thecarg_db`.`cg_tbl_business_settings`.`value`, `thecarg_db`.`cg_tbl_business_settings`.`created_at`, `thecarg_db`.`cg_tbl_business_settings`.`updated_at` FROM `thecarg_db`.`cg_tbl_business_settings` WHERE (`thecarg_db`.`cg_tbl_business_settings`.`key` = ? AND 1=1) LIMIT ? OFFSET ?
prisma:query SELECT `thecarg_db`.`cg_tbl_customers`.`id`, `thecarg_db`.`cg_tbl_customers`.`full_name`, `thecarg_db`.`cg_tbl_customers`.`mobile`, `thecarg_db`.`cg_tbl_customers`.`email`, `thecarg_db`.`cg_tbl_customers`.`profile_photo_file`, `thecarg_db`.`cg_tbl_customers`.`status`, `thecarg_db`.`cg_tbl_customers`.`created_at`, `thecarg_db`.`cg_tbl_customers`.`updated_at`, `thecarg_db`.`cg_tbl_customers`.`date_of_birth`, `thecarg_db`.`cg_tbl_customers`.`fcm_token`, `thecarg_db`.`cg_tbl_customers`.`marriage_date`, `thecarg_db`.`cg_tbl_customers`.`ref_code`, `thecarg_db`.`cg_tbl_customers`.`referred_by` FROM `thecarg_db`.`cg_tbl_customers` WHERE (`thecarg_db`.`cg_tbl_customers`.`id` = ? AND 1=1) LIMIT ? OFFSET ?
prisma:query SELECT `thecarg_db`.`cg_tbl_customers`.`id`, `thecarg_db`.`cg_tbl_customers`.`full_name`, `thecarg_db`.`cg_tbl_customers`.`mobile`, `thecarg_db`.`cg_tbl_customers`.`email`, `thecarg_db`.`cg_tbl_customers`.`profile_photo_file`, `thecarg_db`.`cg_tbl_customers`.`status`, `thecarg_db`.`cg_tbl_customers`.`created_at`, `thecarg_db`.`cg_tbl_customers`.`updated_at`, `thecarg_db`.`cg_tbl_customers`.`date_of_birth`, `thecarg_db`.`cg_tbl_customers`.`fcm_token`, `thecarg_db`.`cg_tbl_customers`.`marriage_date`, `thecarg_db`.`cg_tbl_customers`.`ref_code`, `thecarg_db`.`cg_tbl_customers`.`referred_by` FROM `thecarg_db`.`cg_tbl_customers` WHERE (`thecarg_db`.`cg_tbl_customers`.`id` = ? AND 1=1) LIMIT ? OFFSET ?
prisma:query SELECT `thecarg_db`.`cg_tbl_customers`.`id`, `thecarg_db`.`cg_tbl_customers`.`full_name`, `thecarg_db`.`cg_tbl_customers`.`mobile`, `thecarg_db`.`cg_tbl_customers`.`email`, `thecarg_db`.`cg_tbl_customers`.`profile_photo_file`, `thecarg_db`.`cg_tbl_customers`.`status`, `thecarg_db`.`cg_tbl_customers`.`created_at`, `thecarg_db`.`cg_tbl_customers`.`updated_at`, `thecarg_db`.`cg_tbl_customers`.`date_of_birth`, `thecarg_db`.`cg_tbl_customers`.`fcm_token`, `thecarg_db`.`cg_tbl_customers`.`marriage_date`, `thecarg_db`.`cg_tbl_customers`.`ref_code`, `thecarg_db`.`cg_tbl_customers`.`referred_by` FROM `thecarg_db`.`cg_tbl_customers` WHERE `thecarg_db`.`cg_tbl_customers`.`id` = ? LIMIT ? OFFSET ?
prisma:query SELECT COUNT(*) FROM (SELECT `thecarg_db`.`cg_tbl_categories`.`id` FROM `thecarg_db`.`cg_tbl_categories` WHERE (`thecarg_db`.`cg_tbl_categories`.`status` = ? AND (`thecarg_db`.`cg_tbl_categories`.`is_accident` = ? OR (`thecarg_db`.`cg_tbl_categories`.`id`) IN (SELECT `t1`.`category_id` FROM `thecarg_db`.`cg_tbl_category_sub_category_setup` AS `t1` LEFT JOIN `thecarg_db`.`cg_tbl_sub_categories` AS `j2` ON (`j2`.`id`) = (`t1`.`sub_category_id`) WHERE (`t1`.`status` = ? AND (`j2`.`status` = ? AND (`j2`.`id` IS NOT NULL)) AND `t1`.`category_id` IS NOT NULL))))) AS `sub`
prisma:query SELECT COUNT(*) FROM (SELECT `thecarg_db`.`cg_tbl_categories`.`id` FROM `thecarg_db`.`cg_tbl_categories` WHERE (`thecarg_db`.`cg_tbl_categories`.`status` = ? AND (`thecarg_db`.`cg_tbl_categories`.`is_accident` = ? OR (`thecarg_db`.`cg_tbl_categories`.`id`) IN (SELECT `t1`.`category_id` FROM `thecarg_db`.`cg_tbl_category_sub_category_setup` AS `t1` LEFT JOIN `thecarg_db`.`cg_tbl_sub_categories` AS `j2` ON (`j2`.`id`) = (`t1`.`sub_category_id`) WHERE (`t1`.`status` = ? AND (`j2`.`status` = ? AND (`j2`.`id` IS NOT NULL)) AND `t1`.`service_type` IN (?,?) AND `t1`.`category_id` IS NOT NULL))))) AS `sub`
prisma:query SELECT `thecarg_db`.`cg_tbl_categories`.`id`, `thecarg_db`.`cg_tbl_categories`.`category_name`, `thecarg_db`.`cg_tbl_categories`.`category_image`, `thecarg_db`.`cg_tbl_categories`.`is_accident` FROM `thecarg_db`.`cg_tbl_categories` WHERE (`thecarg_db`.`cg_tbl_categories`.`status` = ? AND (`thecarg_db`.`cg_tbl_categories`.`is_accident` = ? OR (`thecarg_db`.`cg_tbl_categories`.`id`) IN (SELECT `t1`.`category_id` FROM `thecarg_db`.`cg_tbl_category_sub_category_setup` AS `t1` LEFT JOIN `thecarg_db`.`cg_tbl_sub_categories` AS `j2` ON (`j2`.`id`) = (`t1`.`sub_category_id`) WHERE (`t1`.`status` = ? AND (`j2`.`status` = ? AND (`j2`.`id` IS NOT NULL)) AND `t1`.`category_id` IS NOT NULL)))) ORDER BY `thecarg_db`.`cg_tbl_categories`.`id` ASC LIMIT ? OFFSET ?
prisma:query SELECT `thecarg_db`.`cg_tbl_categories`.`id`, `thecarg_db`.`cg_tbl_categories`.`category_name`, `thecarg_db`.`cg_tbl_categories`.`category_image`, `thecarg_db`.`cg_tbl_categories`.`is_accident` FROM `thecarg_db`.`cg_tbl_categories` WHERE (`thecarg_db`.`cg_tbl_categories`.`status` = ? AND (`thecarg_db`.`cg_tbl_categories`.`is_accident` = ? OR (`thecarg_db`.`cg_tbl_categories`.`id`) IN (SELECT `t1`.`category_id` FROM `thecarg_db`.`cg_tbl_category_sub_category_setup` AS `t1` LEFT JOIN `thecarg_db`.`cg_tbl_sub_categories` AS `j2` ON (`j2`.`id`) = (`t1`.`sub_category_id`) WHERE (`t1`.`status` = ? AND (`j2`.`status` = ? AND (`j2`.`id` IS NOT NULL)) AND `t1`.`service_type` IN (?,?) AND `t1`.`category_id` IS NOT NULL)))) ORDER BY `thecarg_db`.`cg_tbl_categories`.`id` ASC LIMIT ? OFFSET ?
prisma:query BEGIN
prisma:query SELECT COUNT(*) FROM (SELECT `thecarg_db`.`cg_tbl_user_addresses`.`id` FROM `thecarg_db`.`cg_tbl_user_addresses` WHERE (`thecarg_db`.`cg_tbl_user_addresses`.`user_id` = ? AND `thecarg_db`.`cg_tbl_user_addresses`.`role_id` = ? AND `thecarg_db`.`cg_tbl_user_addresses`.`status` = ?)) AS `sub`
prisma:query SELECT COUNT(*) FROM (SELECT `thecarg_db`.`cg_tbl_user_addresses`.`id` FROM `thecarg_db`.`cg_tbl_user_addresses` WHERE (`thecarg_db`.`cg_tbl_user_addresses`.`user_id` = ? AND `thecarg_db`.`cg_tbl_user_addresses`.`role_id` = ? AND `thecarg_db`.`cg_tbl_user_addresses`.`status` = ?)) AS `sub`
prisma:query SELECT `thecarg_db`.`cg_tbl_customers`.`id` FROM `thecarg_db`.`cg_tbl_customers` WHERE (`thecarg_db`.`cg_tbl_customers`.`id` = ? AND 1=1)
prisma:query UPDATE `thecarg_db`.`cg_tbl_customers` SET `fcm_token` = ?, `updated_at` = ? WHERE (`thecarg_db`.`cg_tbl_customers`.`id` IN (?) AND (`thecarg_db`.`cg_tbl_customers`.`id` = ? AND 1=1))
prisma:query SELECT `thecarg_db`.`cg_tbl_customers`.`id`, `thecarg_db`.`cg_tbl_customers`.`full_name`, `thecarg_db`.`cg_tbl_customers`.`mobile`, `thecarg_db`.`cg_tbl_customers`.`email`, `thecarg_db`.`cg_tbl_customers`.`profile_photo_file`, `thecarg_db`.`cg_tbl_customers`.`status`, `thecarg_db`.`cg_tbl_customers`.`created_at`, `thecarg_db`.`cg_tbl_customers`.`updated_at`, `thecarg_db`.`cg_tbl_customers`.`date_of_birth`, `thecarg_db`.`cg_tbl_customers`.`fcm_token`, `thecarg_db`.`cg_tbl_customers`.`marriage_date`, `thecarg_db`.`cg_tbl_customers`.`ref_code`, `thecarg_db`.`cg_tbl_customers`.`referred_by` FROM `thecarg_db`.`cg_tbl_customers` WHERE `thecarg_db`.`cg_tbl_customers`.`id` = ? LIMIT ? OFFSET ?
prisma:query COMMIT
prisma:query SELECT `thecarg_db`.`cg_tbl_user_addresses`.`id`, `thecarg_db`.`cg_tbl_user_addresses`.`user_id`, `thecarg_db`.`cg_tbl_user_addresses`.`role_id`, `thecarg_db`.`cg_tbl_user_addresses`.`address_title`, `thecarg_db`.`cg_tbl_user_addresses`.`contact_name`, `thecarg_db`.`cg_tbl_user_addresses`.`phone_number`, `thecarg_db`.`cg_tbl_user_addresses`.`flat_house_no`, `thecarg_db`.`cg_tbl_user_addresses`.`area_locality`, `thecarg_db`.`cg_tbl_user_addresses`.`landmark`, `thecarg_db`.`cg_tbl_user_addresses`.`pincode`, `thecarg_db`.`cg_tbl_user_addresses`.`city`, `thecarg_db`.`cg_tbl_user_addresses`.`state`, `thecarg_db`.`cg_tbl_user_addresses`.`latitude`, `thecarg_db`.`cg_tbl_user_addresses`.`longitude`, `thecarg_db`.`cg_tbl_user_addresses`.`full_address`, `thecarg_db`.`cg_tbl_user_addresses`.`is_default`, `thecarg_db`.`cg_tbl_user_addresses`.`status`, `thecarg_db`.`cg_tbl_user_addresses`.`created_at`, `thecarg_db`.`cg_tbl_user_addresses`.`updated_at` FROM `thecarg_db`.`cg_tbl_user_addresses` WHERE (`thecarg_db`.`cg_tbl_user_addresses`.`user_id` = ? AND `thecarg_db`.`cg_tbl_user_addresses`.`role_id` = ? AND `thecarg_db`.`cg_tbl_user_addresses`.`status` = ?) ORDER BY `thecarg_db`.`cg_tbl_user_addresses`.`is_default` DESC, `thecarg_db`.`cg_tbl_user_addresses`.`id` DESC LIMIT ? OFFSET ?
prisma:query SELECT `thecarg_db`.`cg_tbl_user_addresses`.`id`, `thecarg_db`.`cg_tbl_user_addresses`.`user_id`, `thecarg_db`.`cg_tbl_user_addresses`.`role_id`, `thecarg_db`.`cg_tbl_user_addresses`.`address_title`, `thecarg_db`.`cg_tbl_user_addresses`.`contact_name`, `thecarg_db`.`cg_tbl_user_addresses`.`phone_number`, `thecarg_db`.`cg_tbl_user_addresses`.`flat_house_no`, `thecarg_db`.`cg_tbl_user_addresses`.`area_locality`, `thecarg_db`.`cg_tbl_user_addresses`.`landmark`, `thecarg_db`.`cg_tbl_user_addresses`.`pincode`, `thecarg_db`.`cg_tbl_user_addresses`.`city`, `thecarg_db`.`cg_tbl_user_addresses`.`state`, `thecarg_db`.`cg_tbl_user_addresses`.`latitude`, `thecarg_db`.`cg_tbl_user_addresses`.`longitude`, `thecarg_db`.`cg_tbl_user_addresses`.`full_address`, `thecarg_db`.`cg_tbl_user_addresses`.`is_default`, `thecarg_db`.`cg_tbl_user_addresses`.`status`, `thecarg_db`.`cg_tbl_user_addresses`.`created_at`, `thecarg_db`.`cg_tbl_user_addresses`.`updated_at` FROM `thecarg_db`.`cg_tbl_user_addresses` WHERE (`thecarg_db`.`cg_tbl_user_addresses`.`user_id` = ? AND `thecarg_db`.`cg_tbl_user_addresses`.`role_id` = ? AND `thecarg_db`.`cg_tbl_user_addresses`.`status` = ?) ORDER BY `thecarg_db`.`cg_tbl_user_addresses`.`is_default` DESC, `thecarg_db`.`cg_tbl_user_addresses`.`id` DESC LIMIT ? OFFSET ?
prisma:query SELECT `thecarg_db`.`cg_tbl_category_sub_category_setup`.`id`, `thecarg_db`.`cg_tbl_category_sub_category_setup`.`sub_category_id`, `thecarg_db`.`cg_tbl_category_sub_category_setup`.`category_id` FROM `thecarg_db`.`cg_tbl_category_sub_category_setup` LEFT JOIN `thecarg_db`.`cg_tbl_sub_categories` AS `j1` ON (`j1`.`id`) = (`thecarg_db`.`cg_tbl_category_sub_category_setup`.`sub_category_id`) WHERE ((`thecarg_db`.`cg_tbl_category_sub_category_setup`.`status` = ? AND (`j1`.`status` = ? AND (`j1`.`id` IS NOT NULL)) AND `thecarg_db`.`cg_tbl_category_sub_category_setup`.`service_type` IN (?,?)) AND `thecarg_db`.`cg_tbl_category_sub_category_setup`.`category_id` IN (?,?,?,?,?,?,?,?))
prisma:query SELECT `thecarg_db`.`cg_tbl_zones`.`id` FROM `thecarg_db`.`cg_tbl_zones` WHERE (`thecarg_db`.`cg_tbl_zones`.`id` IN (?,?) AND `thecarg_db`.`cg_tbl_zones`.`status` = ?)
prisma:query SELECT `thecarg_db`.`cg_tbl_category_sub_category_setup`.`id`, `thecarg_db`.`cg_tbl_category_sub_category_setup`.`sub_category_id`, `thecarg_db`.`cg_tbl_category_sub_category_setup`.`category_id` FROM `thecarg_db`.`cg_tbl_category_sub_category_setup` LEFT JOIN `thecarg_db`.`cg_tbl_sub_categories` AS `j1` ON (`j1`.`id`) = (`thecarg_db`.`cg_tbl_category_sub_category_setup`.`sub_category_id`) WHERE ((`thecarg_db`.`cg_tbl_category_sub_category_setup`.`status` = ? AND (`j1`.`status` = ? AND (`j1`.`id` IS NOT NULL))) AND `thecarg_db`.`cg_tbl_category_sub_category_setup`.`category_id` IN (?,?,?,?,?,?,?,?))
prisma:query SELECT `thecarg_db`.`cg_tbl_products`.`id`, `thecarg_db`.`cg_tbl_products`.`techdoc_article_id`, `thecarg_db`.`cg_tbl_products`.`techdoc_brand_id`, `thecarg_db`.`cg_tbl_products`.`article_number`, `thecarg_db`.`cg_tbl_products`.`brand_name`, `thecarg_db`.`cg_tbl_products`.`status`, `thecarg_db`.`cg_tbl_products`.`created_at`, `thecarg_db`.`cg_tbl_products`.`updated_at`, `thecarg_db`.`cg_tbl_products`.`assembly_group_node_id`, `thecarg_db`.`cg_tbl_products`.`generic_article_id` FROM `thecarg_db`.`cg_tbl_products` WHERE (`thecarg_db`.`cg_tbl_products`.`id` = ? AND `thecarg_db`.`cg_tbl_products`.`status` = ?) LIMIT ? OFFSET ?
[2026-06-24T11:38:12.681Z] [INFO]: TecDoc → getArticles | provider: 25791 | country: IN | url: https://webservice.tecalliance.services/pegasus-3-0/services/TecdocToCatDLB.jsonEndpoint
--------------------------------------------------

[2026-06-24T11:38:12.848Z] [INFO]: TecDoc → getArticleLinkedAllLinkingTarget4 | provider: 25791 | country: IN | url: https://webservice.tecalliance.services/pegasus-3-0/services/TecdocToCatDLB.jsonEndpoint
--------------------------------------------------

[2026-06-24T11:38:13.014Z] [INFO]: TecDoc → getArticleLinkedAllLinkingTargetsByIds3 | provider: 25791 | country: IN | url: https://webservice.tecalliance.services/pegasus-3-0/services/TecdocToCatDLB.jsonEndpoint
--------------------------------------------------

prisma:query SELECT `thecarg_db`.`cg_tbl_seller_products`.`id`, `thecarg_db`.`cg_tbl_seller_products`.`customer_selling_price`, `thecarg_db`.`cg_tbl_seller_products`.`garage_selling_price`, `thecarg_db`.`cg_tbl_seller_products`.`mrp`, `thecarg_db`.`cg_tbl_seller_products`.`customer_discount_type`, `thecarg_db`.`cg_tbl_seller_products`.`customer_discount`, `thecarg_db`.`cg_tbl_seller_products`.`garage_discount_type`, `thecarg_db`.`cg_tbl_seller_products`.`garage_discount`, `thecarg_db`.`cg_tbl_seller_products`.`is_in_stock`, `thecarg_db`.`cg_tbl_seller_products`.`is_returnable`, `thecarg_db`.`cg_tbl_seller_products`.`return_days`, `thecarg_db`.`cg_tbl_seller_products`.`warranty_enabled`, `thecarg_db`.`cg_tbl_seller_products`.`warranty_duration`, `thecarg_db`.`cg_tbl_seller_products`.`warranty_duration_type`, `thecarg_db`.`cg_tbl_seller_products`.`warranty_document`, `thecarg_db`.`cg_tbl_seller_products`.`tax`, `thecarg_db`.`cg_tbl_seller_products`.`seller_id` FROM `thecarg_db`.`cg_tbl_seller_products` LEFT JOIN `thecarg_db`.`cg_tbl_sellers` AS `j1` ON (`j1`.`id`) = (`thecarg_db`.`cg_tbl_seller_products`.`seller_id`) WHERE (`thecarg_db`.`cg_tbl_seller_products`.`product_id` = ? AND `thecarg_db`.`cg_tbl_seller_products`.`status` = ? AND (`j1`.`status` = ? AND (`j1`.`id` IS NOT NULL))) ORDER BY `thecarg_db`.`cg_tbl_seller_products`.`garage_selling_price` ASC
prisma:query SELECT `thecarg_db`.`cg_tbl_sellers`.`id`, `thecarg_db`.`cg_tbl_sellers`.`seller_id`, `thecarg_db`.`cg_tbl_sellers`.`first_name`, `thecarg_db`.`cg_tbl_sellers`.`last_name`, `thecarg_db`.`cg_tbl_sellers`.`trade_name`, `thecarg_db`.`cg_tbl_sellers`.`city`, `thecarg_db`.`cg_tbl_sellers`.`state`, `thecarg_db`.`cg_tbl_sellers`.`email`, `thecarg_db`.`cg_tbl_sellers`.`mobile`, `thecarg_db`.`cg_tbl_sellers`.`address`, `thecarg_db`.`cg_tbl_sellers`.`pincode`, `thecarg_db`.`cg_tbl_sellers`.`status`, `thecarg_db`.`cg_tbl_sellers`.`operating_hours`, `thecarg_db`.`cg_tbl_sellers`.`zone`, `thecarg_db`.`cg_tbl_sellers`.`latitude`, `thecarg_db`.`cg_tbl_sellers`.`longitude` FROM `thecarg_db`.`cg_tbl_sellers` WHERE `thecarg_db`.`cg_tbl_sellers`.`id` IN (?)
prisma:query SELECT `thecarg_db`.`cg_tbl_zones`.`id`, `thecarg_db`.`cg_tbl_zones`.`zone_name` FROM `thecarg_db`.`cg_tbl_zones` WHERE 1=1
[2026-06-24T11:38:13.346Z] [INFO]: [ZONE_RESOLVE] Resolving zone for coordinates: (13.07281264, 80.19470259)
--------------------------------------------------

prisma:query SELECT id, status, zone_name AS zoneName, zone_code AS zoneCode, ABS(ST_Area(coordinates)) as area 
       FROM cg_tbl_zones 
       WHERE ST_Contains(coordinates, ST_GeomFromText(?))
       ORDER BY area ASC
[2026-06-24T11:38:13.415Z] [INFO]: [BANNERS] Fetching banners for zoneIds: [13]
--------------------------------------------------

prisma:query 
      SELECT 
        'admin_banner' AS bannerSource,
        b.id,
        b.title,
        b.banner_image AS bannerImage,
        NULL AS userId,
        NULL AS userRoleId,
        NULL AS productId,
        b.created_at AS createdAt
      FROM cg_tbl_banners b
      WHERE b.status = 1 
        AND b.zone_id IN (?)

      UNION ALL

      SELECT 
        'advertisement' AS bannerSource,
        a.id,
        a.title,
        a.banner_image AS bannerImage,
        a.user_id AS userId,
        a.user_role_id AS userRoleId,
        a.product_id AS productId,
        a.created_at AS createdAt
      FROM cg_tbl_advertisements a
      WHERE a.status = 1 
        AND a.advertisement_type = 'banner'
        AND a.approval_status = 'approved'
        AND a.payment_status = 'paid'
        AND NOW() BETWEEN a.from_date AND a.to_date
        AND a.zone_id IN (?)
      ORDER BY createdAt DESC
    
prisma:query SELECT `thecarg_db`.`cg_tbl_zones`.`id` FROM `thecarg_db`.`cg_tbl_zones` WHERE (`thecarg_db`.`cg_tbl_zones`.`id` IN (?,?) AND `thecarg_db`.`cg_tbl_zones`.`status` = ?)
prisma:query SELECT `thecarg_db`.`cg_tbl_zones`.`id` FROM `thecarg_db`.`cg_tbl_zones` WHERE (`thecarg_db`.`cg_tbl_zones`.`id` IN (?,?) AND `thecarg_db`.`cg_tbl_zones`.`status` = ?)
prisma:query SELECT `thecarg_db`.`cg_tbl_sellers`.`id`, `thecarg_db`.`cg_tbl_sellers`.`status`, `thecarg_db`.`cg_tbl_sellers`.`operating_hours`, `thecarg_db`.`cg_tbl_sellers`.`zone` FROM `thecarg_db`.`cg_tbl_sellers` WHERE `thecarg_db`.`cg_tbl_sellers`.`status` = ?
prisma:query SELECT `thecarg_db`.`cg_tbl_sellers`.`id`, `thecarg_db`.`cg_tbl_sellers`.`status`, `thecarg_db`.`cg_tbl_sellers`.`operating_hours`, `thecarg_db`.`cg_tbl_sellers`.`zone` FROM `thecarg_db`.`cg_tbl_sellers` WHERE `thecarg_db`.`cg_tbl_sellers`.`status` = ?
prisma:query SELECT COUNT(`thecarg_db`.`cg_tbl_products`.`id`), `thecarg_db`.`cg_tbl_products`.`techdoc_brand_id` FROM `thecarg_db`.`cg_tbl_products` WHERE (`thecarg_db`.`cg_tbl_products`.`status` = ? AND (`thecarg_db`.`cg_tbl_products`.`id`) IN (SELECT `t1`.`product_id` FROM `thecarg_db`.`cg_tbl_seller_products` AS `t1` WHERE (`t1`.`status` = ? AND `t1`.`is_in_stock` = ? AND `t1`.`seller_id` IN (?) AND `t1`.`product_id` IS NOT NULL))) GROUP BY `thecarg_db`.`cg_tbl_products`.`techdoc_brand_id`
prisma:query SELECT `thecarg_db`.`cg_tbl_products`.`assembly_group_node_id`, `thecarg_db`.`cg_tbl_products`.`generic_article_id` FROM `thecarg_db`.`cg_tbl_products` WHERE (`thecarg_db`.`cg_tbl_products`.`status` = ? AND (`thecarg_db`.`cg_tbl_products`.`id`) IN (SELECT `t1`.`product_id` FROM `thecarg_db`.`cg_tbl_seller_products` AS `t1` WHERE (`t1`.`status` = ? AND `t1`.`is_in_stock` = ? AND `t1`.`seller_id` IN (?) AND `t1`.`product_id` IS NOT NULL))) GROUP BY `thecarg_db`.`cg_tbl_products`.`assembly_group_node_id`, `thecarg_db`.`cg_tbl_products`.`generic_article_id`
prisma:query SELECT COUNT(`thecarg_db`.`cg_tbl_products`.`id`), `thecarg_db`.`cg_tbl_products`.`techdoc_brand_id`, `thecarg_db`.`cg_tbl_products`.`brand_name` FROM `thecarg_db`.`cg_tbl_products` WHERE (`thecarg_db`.`cg_tbl_products`.`status` = ? AND (`thecarg_db`.`cg_tbl_products`.`id`) IN (SELECT `t1`.`product_id` FROM `thecarg_db`.`cg_tbl_seller_products` AS `t1` WHERE (`t1`.`status` = ? AND `t1`.`is_in_stock` = ? AND `t1`.`seller_id` IN (?) AND `t1`.`product_id` IS NOT NULL))) GROUP BY `thecarg_db`.`cg_tbl_products`.`techdoc_brand_id`, `thecarg_db`.`cg_tbl_products`.`brand_name` ORDER BY `thecarg_db`.`cg_tbl_products`.`techdoc_brand_id` ASC LIMIT ? OFFSET ?
[2026-06-24T11:38:18.966Z] [INFO]: TecDoc → getGenericArticles | provider: 25791 | country: IN | url: https://webservice.tecalliance.services/pegasus-3-0/services/TecdocToCatDLB.jsonEndpoint
--------------------------------------------------

[2026-06-24T11:38:18.971Z] [INFO]: TecDoc → getBrands | provider: 25791 | country: IN | url: https://webservice.tecalliance.services/pegasus-3-0/services/TecdocToCatDLB.jsonEndpoint
--------------------------------------------------

prisma:query SELECT `thecarg_db`.`cg_tbl_zones`.`id` FROM `thecarg_db`.`cg_tbl_zones` WHERE (`thecarg_db`.`cg_tbl_zones`.`id` IN (?,?) AND `thecarg_db`.`cg_tbl_zones`.`status` = ?)
prisma:query SELECT `thecarg_db`.`cg_tbl_products`.`id`, `thecarg_db`.`cg_tbl_products`.`techdoc_article_id`, `thecarg_db`.`cg_tbl_products`.`techdoc_brand_id`, `thecarg_db`.`cg_tbl_products`.`article_number`, `thecarg_db`.`cg_tbl_products`.`brand_name`, `thecarg_db`.`cg_tbl_products`.`status`, `thecarg_db`.`cg_tbl_products`.`created_at`, `thecarg_db`.`cg_tbl_products`.`updated_at`, `thecarg_db`.`cg_tbl_products`.`assembly_group_node_id`, `thecarg_db`.`cg_tbl_products`.`generic_article_id` FROM `thecarg_db`.`cg_tbl_products` WHERE (`thecarg_db`.`cg_tbl_products`.`id` = ? AND `thecarg_db`.`cg_tbl_products`.`status` = ?) LIMIT ? OFFSET ?
[2026-06-24T11:38:19.607Z] [INFO]: TecDoc → getArticles | provider: 25791 | country: IN | url: https://webservice.tecalliance.services/pegasus-3-0/services/TecdocToCatDLB.jsonEndpoint
--------------------------------------------------

[2026-06-24T11:38:19.802Z] [INFO]: TecDoc → getArticleLinkedAllLinkingTarget4 | provider: 25791 | country: IN | url: https://webservice.tecalliance.services/pegasus-3-0/services/TecdocToCatDLB.jsonEndpoint
--------------------------------------------------

prisma:query SELECT `thecarg_db`.`cg_tbl_products`.`assembly_group_node_id`, `thecarg_db`.`cg_tbl_products`.`generic_article_id` FROM `thecarg_db`.`cg_tbl_products` WHERE `thecarg_db`.`cg_tbl_products`.`status` = ? GROUP BY `thecarg_db`.`cg_tbl_products`.`assembly_group_node_id`, `thecarg_db`.`cg_tbl_products`.`generic_article_id`
[2026-06-24T11:38:19.862Z] [INFO]: TecDoc → getArticles | provider: 25791 | country: IN | url: https://webservice.tecalliance.services/pegasus-3-0/services/TecdocToCatDLB.jsonEndpoint
--------------------------------------------------

[2026-06-24T11:38:19.969Z] [INFO]: TecDoc → getArticleLinkedAllLinkingTargetsByIds3 | provider: 25791 | country: IN | url: https://webservice.tecalliance.services/pegasus-3-0/services/TecdocToCatDLB.jsonEndpoint
--------------------------------------------------

prisma:query SELECT `thecarg_db`.`cg_tbl_seller_products`.`id`, `thecarg_db`.`cg_tbl_seller_products`.`customer_selling_price`, `thecarg_db`.`cg_tbl_seller_products`.`garage_selling_price`, `thecarg_db`.`cg_tbl_seller_products`.`mrp`, `thecarg_db`.`cg_tbl_seller_products`.`customer_discount_type`, `thecarg_db`.`cg_tbl_seller_products`.`customer_discount`, `thecarg_db`.`cg_tbl_seller_products`.`garage_discount_type`, `thecarg_db`.`cg_tbl_seller_products`.`garage_discount`, `thecarg_db`.`cg_tbl_seller_products`.`is_in_stock`, `thecarg_db`.`cg_tbl_seller_products`.`is_returnable`, `thecarg_db`.`cg_tbl_seller_products`.`return_days`, `thecarg_db`.`cg_tbl_seller_products`.`warranty_enabled`, `thecarg_db`.`cg_tbl_seller_products`.`warranty_duration`, `thecarg_db`.`cg_tbl_seller_products`.`warranty_duration_type`, `thecarg_db`.`cg_tbl_seller_products`.`warranty_document`, `thecarg_db`.`cg_tbl_seller_products`.`tax`, `thecarg_db`.`cg_tbl_seller_products`.`seller_id` FROM `thecarg_db`.`cg_tbl_seller_products` LEFT JOIN `thecarg_db`.`cg_tbl_sellers` AS `j1` ON (`j1`.`id`) = (`thecarg_db`.`cg_tbl_seller_products`.`seller_id`) WHERE (`thecarg_db`.`cg_tbl_seller_products`.`product_id` = ? AND `thecarg_db`.`cg_tbl_seller_products`.`status` = ? AND (`j1`.`status` = ? AND (`j1`.`id` IS NOT NULL))) ORDER BY `thecarg_db`.`cg_tbl_seller_products`.`garage_selling_price` ASC
prisma:query SELECT `thecarg_db`.`cg_tbl_sellers`.`id`, `thecarg_db`.`cg_tbl_sellers`.`seller_id`, `thecarg_db`.`cg_tbl_sellers`.`first_name`, `thecarg_db`.`cg_tbl_sellers`.`last_name`, `thecarg_db`.`cg_tbl_sellers`.`trade_name`, `thecarg_db`.`cg_tbl_sellers`.`city`, `thecarg_db`.`cg_tbl_sellers`.`state`, `thecarg_db`.`cg_tbl_sellers`.`email`, `thecarg_db`.`cg_tbl_sellers`.`mobile`, `thecarg_db`.`cg_tbl_sellers`.`address`, `thecarg_db`.`cg_tbl_sellers`.`pincode`, `thecarg_db`.`cg_tbl_sellers`.`status`, `thecarg_db`.`cg_tbl_sellers`.`operating_hours`, `thecarg_db`.`cg_tbl_sellers`.`zone`, `thecarg_db`.`cg_tbl_sellers`.`latitude`, `thecarg_db`.`cg_tbl_sellers`.`longitude` FROM `thecarg_db`.`cg_tbl_sellers` WHERE `thecarg_db`.`cg_tbl_sellers`.`id` IN (?)
prisma:query SELECT `thecarg_db`.`cg_tbl_zones`.`id`, `thecarg_db`.`cg_tbl_zones`.`zone_name` FROM `thecarg_db`.`cg_tbl_zones` WHERE 1=1
prisma:query SELECT `thecarg_db`.`cg_tbl_zones`.`id` FROM `thecarg_db`.`cg_tbl_zones` WHERE (`thecarg_db`.`cg_tbl_zones`.`id` IN (?,?) AND `thecarg_db`.`cg_tbl_zones`.`status` = ?)
prisma:query SELECT `thecarg_db`.`cg_tbl_products`.`id`, `thecarg_db`.`cg_tbl_products`.`techdoc_article_id`, `thecarg_db`.`cg_tbl_products`.`techdoc_brand_id`, `thecarg_db`.`cg_tbl_products`.`article_number`, `thecarg_db`.`cg_tbl_products`.`brand_name`, `thecarg_db`.`cg_tbl_products`.`status`, `thecarg_db`.`cg_tbl_products`.`created_at`, `thecarg_db`.`cg_tbl_products`.`updated_at`, `thecarg_db`.`cg_tbl_products`.`assembly_group_node_id`, `thecarg_db`.`cg_tbl_products`.`generic_article_id` FROM `thecarg_db`.`cg_tbl_products` WHERE (`thecarg_db`.`cg_tbl_products`.`id` = ? AND `thecarg_db`.`cg_tbl_products`.`status` = ?) LIMIT ? OFFSET ?
[2026-06-24T11:38:22.553Z] [INFO]: TecDoc → getArticles | provider: 25791 | country: IN | url: https://webservice.tecalliance.services/pegasus-3-0/services/TecdocToCatDLB.jsonEndpoint
--------------------------------------------------

[2026-06-24T11:38:22.768Z] [INFO]: TecDoc → getArticleLinkedAllLinkingTarget4 | provider: 25791 | country: IN | url: https://webservice.tecalliance.services/pegasus-3-0/services/TecdocToCatDLB.jsonEndpoint
--------------------------------------------------

[2026-06-24T11:38:22.947Z] [INFO]: TecDoc → getArticleLinkedAllLinkingTargetsByIds3 | provider: 25791 | country: IN | url: https://webservice.tecalliance.services/pegasus-3-0/services/TecdocToCatDLB.jsonEndpoint
--------------------------------------------------

prisma:query SELECT `thecarg_db`.`cg_tbl_seller_products`.`id`, `thecarg_db`.`cg_tbl_seller_products`.`customer_selling_price`, `thecarg_db`.`cg_tbl_seller_products`.`garage_selling_price`, `thecarg_db`.`cg_tbl_seller_products`.`mrp`, `thecarg_db`.`cg_tbl_seller_products`.`customer_discount_type`, `thecarg_db`.`cg_tbl_seller_products`.`customer_discount`, `thecarg_db`.`cg_tbl_seller_products`.`garage_discount_type`, `thecarg_db`.`cg_tbl_seller_products`.`garage_discount`, `thecarg_db`.`cg_tbl_seller_products`.`is_in_stock`, `thecarg_db`.`cg_tbl_seller_products`.`is_returnable`, `thecarg_db`.`cg_tbl_seller_products`.`return_days`, `thecarg_db`.`cg_tbl_seller_products`.`warranty_enabled`, `thecarg_db`.`cg_tbl_seller_products`.`warranty_duration`, `thecarg_db`.`cg_tbl_seller_products`.`warranty_duration_type`, `thecarg_db`.`cg_tbl_seller_products`.`warranty_document`, `thecarg_db`.`cg_tbl_seller_products`.`tax`, `thecarg_db`.`cg_tbl_seller_products`.`seller_id` FROM `thecarg_db`.`cg_tbl_seller_products` LEFT JOIN `thecarg_db`.`cg_tbl_sellers` AS `j1` ON (`j1`.`id`) = (`thecarg_db`.`cg_tbl_seller_products`.`seller_id`) WHERE (`thecarg_db`.`cg_tbl_seller_products`.`product_id` = ? AND `thecarg_db`.`cg_tbl_seller_products`.`status` = ? AND (`j1`.`status` = ? AND (`j1`.`id` IS NOT NULL))) ORDER BY `thecarg_db`.`cg_tbl_seller_products`.`garage_selling_price` ASC
prisma:query SELECT `thecarg_db`.`cg_tbl_sellers`.`id`, `thecarg_db`.`cg_tbl_sellers`.`seller_id`, `thecarg_db`.`cg_tbl_sellers`.`first_name`, `thecarg_db`.`cg_tbl_sellers`.`last_name`, `thecarg_db`.`cg_tbl_sellers`.`trade_name`, `thecarg_db`.`cg_tbl_sellers`.`city`, `thecarg_db`.`cg_tbl_sellers`.`state`, `thecarg_db`.`cg_tbl_sellers`.`email`, `thecarg_db`.`cg_tbl_sellers`.`mobile`, `thecarg_db`.`cg_tbl_sellers`.`address`, `thecarg_db`.`cg_tbl_sellers`.`pincode`, `thecarg_db`.`cg_tbl_sellers`.`status`, `thecarg_db`.`cg_tbl_sellers`.`operating_hours`, `thecarg_db`.`cg_tbl_sellers`.`zone`, `thecarg_db`.`cg_tbl_sellers`.`latitude`, `thecarg_db`.`cg_tbl_sellers`.`longitude` FROM `thecarg_db`.`cg_tbl_sellers` WHERE `thecarg_db`.`cg_tbl_sellers`.`id` IN (?)
prisma:query SELECT `thecarg_db`.`cg_tbl_zones`.`id`, `thecarg_db`.`cg_tbl_zones`.`zone_name` FROM `thecarg_db`.`cg_tbl_zones` WHERE 1=1
[2026-06-24T11:38:24.281Z] [INFO]: [ZONE_RESOLVE] Resolving zone for coordinates: (13.07281264, 80.19470259)
--------------------------------------------------

prisma:query SELECT id, status, zone_name AS zoneName, zone_code AS zoneCode, ABS(ST_Area(coordinates)) as area 
       FROM cg_tbl_zones 
       WHERE ST_Contains(coordinates, ST_GeomFromText(?))
       ORDER BY area ASC
[2026-06-24T11:38:24.340Z] [INFO]: [BANNERS] Fetching banners for zoneIds: [13]
--------------------------------------------------

prisma:query 
      SELECT 
        'admin_banner' AS bannerSource,
        b.id,
        b.title,
        b.banner_image AS bannerImage,
        NULL AS userId,
        NULL AS userRoleId,
        NULL AS productId,
        b.created_at AS createdAt
      FROM cg_tbl_banners b
      WHERE b.status = 1 
        AND b.zone_id IN (?)

      UNION ALL

      SELECT 
        'advertisement' AS bannerSource,
        a.id,
        a.title,
        a.banner_image AS bannerImage,
        a.user_id AS userId,
        a.user_role_id AS userRoleId,
        a.product_id AS productId,
        a.created_at AS createdAt
      FROM cg_tbl_advertisements a
      WHERE a.status = 1 
        AND a.advertisement_type = 'banner'
        AND a.approval_status = 'approved'
        AND a.payment_status = 'paid'
        AND NOW() BETWEEN a.from_date AND a.to_date
        AND a.zone_id IN (?)
      ORDER BY createdAt DESC
    
prisma:query SELECT `thecarg_db`.`cg_tbl_zones`.`id` FROM `thecarg_db`.`cg_tbl_zones` WHERE (`thecarg_db`.`cg_tbl_zones`.`id` IN (?) AND `thecarg_db`.`cg_tbl_zones`.`status` = ?)
prisma:query SELECT `thecarg_db`.`cg_tbl_sellers`.`id`, `thecarg_db`.`cg_tbl_sellers`.`status`, `thecarg_db`.`cg_tbl_sellers`.`operating_hours`, `thecarg_db`.`cg_tbl_sellers`.`zone` FROM `thecarg_db`.`cg_tbl_sellers` WHERE `thecarg_db`.`cg_tbl_sellers`.`status` = ?
prisma:query SELECT `thecarg_db`.`cg_tbl_products`.`id`, `thecarg_db`.`cg_tbl_products`.`article_number` FROM `thecarg_db`.`cg_tbl_products` WHERE (`thecarg_db`.`cg_tbl_products`.`status` = ? AND (`thecarg_db`.`cg_tbl_products`.`id`) IN (SELECT `t1`.`product_id` FROM `thecarg_db`.`cg_tbl_seller_products` AS `t1` WHERE (`t1`.`status` = ? AND `t1`.`seller_id` IN (?) AND `t1`.`product_id` IS NOT NULL)) AND `thecarg_db`.`cg_tbl_products`.`generic_article_id` = ? AND `thecarg_db`.`cg_tbl_products`.`assembly_group_node_id` = ?) ORDER BY `thecarg_db`.`cg_tbl_products`.`id` ASC
prisma:query SELECT `thecarg_db`.`cg_tbl_products`.`article_number` FROM `thecarg_db`.`cg_tbl_products` WHERE `thecarg_db`.`cg_tbl_products`.`id` IN (?,?) GROUP BY `thecarg_db`.`cg_tbl_products`.`article_number`
prisma:query SELECT MIN(`thecarg_db`.`cg_tbl_products`.`id`), `thecarg_db`.`cg_tbl_products`.`article_number` FROM `thecarg_db`.`cg_tbl_products` WHERE `thecarg_db`.`cg_tbl_products`.`id` IN (?,?) GROUP BY `thecarg_db`.`cg_tbl_products`.`article_number` ORDER BY MIN(`thecarg_db`.`cg_tbl_products`.`id`) ASC LIMIT ? OFFSET ?
prisma:query SELECT `thecarg_db`.`cg_tbl_products`.`id`, `thecarg_db`.`cg_tbl_products`.`techdoc_article_id`, `thecarg_db`.`cg_tbl_products`.`techdoc_brand_id`, `thecarg_db`.`cg_tbl_products`.`article_number`, `thecarg_db`.`cg_tbl_products`.`brand_name`, `thecarg_db`.`cg_tbl_products`.`status`, `thecarg_db`.`cg_tbl_products`.`created_at`, `thecarg_db`.`cg_tbl_products`.`updated_at`, `thecarg_db`.`cg_tbl_products`.`assembly_group_node_id`, `thecarg_db`.`cg_tbl_products`.`generic_article_id` FROM `thecarg_db`.`cg_tbl_products` WHERE `thecarg_db`.`cg_tbl_products`.`id` IN (?,?) ORDER BY `thecarg_db`.`cg_tbl_products`.`id` ASC
[2026-06-24T11:38:26.572Z] [INFO]: TecDoc → getArticles | provider: 25791 | country: IN | url: https://webservice.tecalliance.services/pegasus-3-0/services/TecdocToCatDLB.jsonEndpoint
--------------------------------------------------

[2026-06-24T11:38:26.575Z] [INFO]: TecDoc → getArticles | provider: 25791 | country: IN | url: https://webservice.tecalliance.services/pegasus-3-0/services/TecdocToCatDLB.jsonEndpoint
--------------------------------------------------

prisma:query SELECT `thecarg_db`.`cg_tbl_products`.`id`, `thecarg_db`.`cg_tbl_products`.`techdoc_article_id` FROM `thecarg_db`.`cg_tbl_products` WHERE (`thecarg_db`.`cg_tbl_products`.`techdoc_article_id` IN (?,?) AND `thecarg_db`.`cg_tbl_products`.`status` = ? AND `thecarg_db`.`cg_tbl_products`.`id` IN (?,?))
prisma:query SELECT `thecarg_db`.`cg_tbl_seller_products`.`id`, `thecarg_db`.`cg_tbl_seller_products`.`product_id`, `thecarg_db`.`cg_tbl_seller_products`.`customer_selling_price`, `thecarg_db`.`cg_tbl_seller_products`.`garage_selling_price`, `thecarg_db`.`cg_tbl_seller_products`.`mrp`, `thecarg_db`.`cg_tbl_seller_products`.`customer_discount_type`, `thecarg_db`.`cg_tbl_seller_products`.`customer_discount`, `thecarg_db`.`cg_tbl_seller_products`.`garage_discount_type`, `thecarg_db`.`cg_tbl_seller_products`.`garage_discount`, `thecarg_db`.`cg_tbl_seller_products`.`is_in_stock`, `thecarg_db`.`cg_tbl_seller_products`.`is_returnable`, `thecarg_db`.`cg_tbl_seller_products`.`return_days`, `thecarg_db`.`cg_tbl_seller_products`.`warranty_enabled`, `thecarg_db`.`cg_tbl_seller_products`.`warranty_duration`, `thecarg_db`.`cg_tbl_seller_products`.`warranty_duration_type`, `thecarg_db`.`cg_tbl_seller_products`.`warranty_document`, `thecarg_db`.`cg_tbl_seller_products`.`tax`, `thecarg_db`.`cg_tbl_seller_products`.`seller_id` FROM `thecarg_db`.`cg_tbl_seller_products` LEFT JOIN `thecarg_db`.`cg_tbl_sellers` AS `j1` ON (`j1`.`id`) = (`thecarg_db`.`cg_tbl_seller_products`.`seller_id`) WHERE (`thecarg_db`.`cg_tbl_seller_products`.`product_id` IN (?,?) AND `thecarg_db`.`cg_tbl_seller_products`.`status` = ? AND (`j1`.`status` = ? AND (`j1`.`id` IS NOT NULL))) ORDER BY `thecarg_db`.`cg_tbl_seller_products`.`customer_selling_price` ASC
prisma:query SELECT `thecarg_db`.`cg_tbl_sellers`.`id`, `thecarg_db`.`cg_tbl_sellers`.`seller_id`, `thecarg_db`.`cg_tbl_sellers`.`first_name`, `thecarg_db`.`cg_tbl_sellers`.`last_name`, `thecarg_db`.`cg_tbl_sellers`.`trade_name`, `thecarg_db`.`cg_tbl_sellers`.`city`, `thecarg_db`.`cg_tbl_sellers`.`state`, `thecarg_db`.`cg_tbl_sellers`.`email`, `thecarg_db`.`cg_tbl_sellers`.`mobile`, `thecarg_db`.`cg_tbl_sellers`.`address`, `thecarg_db`.`cg_tbl_sellers`.`pincode`, `thecarg_db`.`cg_tbl_sellers`.`status`, `thecarg_db`.`cg_tbl_sellers`.`operating_hours`, `thecarg_db`.`cg_tbl_sellers`.`zone`, `thecarg_db`.`cg_tbl_sellers`.`latitude`, `thecarg_db`.`cg_tbl_sellers`.`longitude` FROM `thecarg_db`.`cg_tbl_sellers` WHERE `thecarg_db`.`cg_tbl_sellers`.`id` IN (?)
prisma:query SELECT `thecarg_db`.`cg_tbl_zones`.`id`, `thecarg_db`.`cg_tbl_zones`.`zone_name` FROM `thecarg_db`.`cg_tbl_zones` WHERE 1=1
prisma:query SELECT 1
prisma:query SELECT `thecarg_db`.`cg_tbl_zones`.`id` FROM `thecarg_db`.`cg_tbl_zones` WHERE (`thecarg_db`.`cg_tbl_zones`.`id` IN (?) AND `thecarg_db`.`cg_tbl_zones`.`status` = ?)
prisma:query SELECT `thecarg_db`.`cg_tbl_sellers`.`id`, `thecarg_db`.`cg_tbl_sellers`.`status`, `thecarg_db`.`cg_tbl_sellers`.`operating_hours`, `thecarg_db`.`cg_tbl_sellers`.`zone` FROM `thecarg_db`.`cg_tbl_sellers` WHERE `thecarg_db`.`cg_tbl_sellers`.`status` = ?
prisma:query SELECT `thecarg_db`.`cg_tbl_products`.`id`, `thecarg_db`.`cg_tbl_products`.`article_number` FROM `thecarg_db`.`cg_tbl_products` WHERE (`thecarg_db`.`cg_tbl_products`.`status` = ? AND (`thecarg_db`.`cg_tbl_products`.`id`) IN (SELECT `t1`.`product_id` FROM `thecarg_db`.`cg_tbl_seller_products` AS `t1` WHERE (`t1`.`status` = ? AND `t1`.`seller_id` IN (?) AND `t1`.`product_id` IS NOT NULL)) AND `thecarg_db`.`cg_tbl_products`.`generic_article_id` = ? AND `thecarg_db`.`cg_tbl_products`.`assembly_group_node_id` = ?) ORDER BY `thecarg_db`.`cg_tbl_products`.`id` ASC
prisma:query SELECT `thecarg_db`.`cg_tbl_products`.`article_number` FROM `thecarg_db`.`cg_tbl_products` WHERE `thecarg_db`.`cg_tbl_products`.`id` IN (?,?) GROUP BY `thecarg_db`.`cg_tbl_products`.`article_number`
prisma:query SELECT MIN(`thecarg_db`.`cg_tbl_products`.`id`), `thecarg_db`.`cg_tbl_products`.`article_number` FROM `thecarg_db`.`cg_tbl_products` WHERE `thecarg_db`.`cg_tbl_products`.`id` IN (?,?) GROUP BY `thecarg_db`.`cg_tbl_products`.`article_number` ORDER BY MIN(`thecarg_db`.`cg_tbl_products`.`id`) ASC LIMIT ? OFFSET ?
prisma:query SELECT `thecarg_db`.`cg_tbl_products`.`id`, `thecarg_db`.`cg_tbl_products`.`techdoc_article_id`, `thecarg_db`.`cg_tbl_products`.`techdoc_brand_id`, `thecarg_db`.`cg_tbl_products`.`article_number`, `thecarg_db`.`cg_tbl_products`.`brand_name`, `thecarg_db`.`cg_tbl_products`.`status`, `thecarg_db`.`cg_tbl_products`.`created_at`, `thecarg_db`.`cg_tbl_products`.`updated_at`, `thecarg_db`.`cg_tbl_products`.`assembly_group_node_id`, `thecarg_db`.`cg_tbl_products`.`generic_article_id` FROM `thecarg_db`.`cg_tbl_products` WHERE `thecarg_db`.`cg_tbl_products`.`id` IN (?,?) ORDER BY `thecarg_db`.`cg_tbl_products`.`id` ASC
[2026-06-24T11:38:31.435Z] [INFO]: TecDoc → getArticles | provider: 25791 | country: IN | url: https://webservice.tecalliance.services/pegasus-3-0/services/TecdocToCatDLB.jsonEndpoint
--------------------------------------------------

[2026-06-24T11:38:31.438Z] [INFO]: TecDoc → getArticles | provider: 25791 | country: IN | url: https://webservice.tecalliance.services/pegasus-3-0/services/TecdocToCatDLB.jsonEndpoint
--------------------------------------------------

prisma:query SELECT `thecarg_db`.`cg_tbl_products`.`id`, `thecarg_db`.`cg_tbl_products`.`techdoc_article_id` FROM `thecarg_db`.`cg_tbl_products` WHERE (`thecarg_db`.`cg_tbl_products`.`techdoc_article_id` IN (?,?) AND `thecarg_db`.`cg_tbl_products`.`status` = ? AND `thecarg_db`.`cg_tbl_products`.`id` IN (?,?))
prisma:query SELECT `thecarg_db`.`cg_tbl_seller_products`.`id`, `thecarg_db`.`cg_tbl_seller_products`.`product_id`, `thecarg_db`.`cg_tbl_seller_products`.`customer_selling_price`, `thecarg_db`.`cg_tbl_seller_products`.`garage_selling_price`, `thecarg_db`.`cg_tbl_seller_products`.`mrp`, `thecarg_db`.`cg_tbl_seller_products`.`customer_discount_type`, `thecarg_db`.`cg_tbl_seller_products`.`customer_discount`, `thecarg_db`.`cg_tbl_seller_products`.`garage_discount_type`, `thecarg_db`.`cg_tbl_seller_products`.`garage_discount`, `thecarg_db`.`cg_tbl_seller_products`.`is_in_stock`, `thecarg_db`.`cg_tbl_seller_products`.`is_returnable`, `thecarg_db`.`cg_tbl_seller_products`.`return_days`, `thecarg_db`.`cg_tbl_seller_products`.`warranty_enabled`, `thecarg_db`.`cg_tbl_seller_products`.`warranty_duration`, `thecarg_db`.`cg_tbl_seller_products`.`warranty_duration_type`, `thecarg_db`.`cg_tbl_seller_products`.`warranty_document`, `thecarg_db`.`cg_tbl_seller_products`.`tax`, `thecarg_db`.`cg_tbl_seller_products`.`seller_id` FROM `thecarg_db`.`cg_tbl_seller_products` LEFT JOIN `thecarg_db`.`cg_tbl_sellers` AS `j1` ON (`j1`.`id`) = (`thecarg_db`.`cg_tbl_seller_products`.`seller_id`) WHERE (`thecarg_db`.`cg_tbl_seller_products`.`product_id` IN (?,?) AND `thecarg_db`.`cg_tbl_seller_products`.`status` = ? AND (`j1`.`status` = ? AND (`j1`.`id` IS NOT NULL))) ORDER BY `thecarg_db`.`cg_tbl_seller_products`.`customer_selling_price` ASC
prisma:query SELECT `thecarg_db`.`cg_tbl_sellers`.`id`, `thecarg_db`.`cg_tbl_sellers`.`seller_id`, `thecarg_db`.`cg_tbl_sellers`.`first_name`, `thecarg_db`.`cg_tbl_sellers`.`last_name`, `thecarg_db`.`cg_tbl_sellers`.`trade_name`, `thecarg_db`.`cg_tbl_sellers`.`city`, `thecarg_db`.`cg_tbl_sellers`.`state`, `thecarg_db`.`cg_tbl_sellers`.`email`, `thecarg_db`.`cg_tbl_sellers`.`mobile`, `thecarg_db`.`cg_tbl_sellers`.`address`, `thecarg_db`.`cg_tbl_sellers`.`pincode`, `thecarg_db`.`cg_tbl_sellers`.`status`, `thecarg_db`.`cg_tbl_sellers`.`operating_hours`, `thecarg_db`.`cg_tbl_sellers`.`zone`, `thecarg_db`.`cg_tbl_sellers`.`latitude`, `thecarg_db`.`cg_tbl_sellers`.`longitude` FROM `thecarg_db`.`cg_tbl_sellers` WHERE `thecarg_db`.`cg_tbl_sellers`.`id` IN (?)
prisma:query SELECT `thecarg_db`.`cg_tbl_zones`.`id`, `thecarg_db`.`cg_tbl_zones`.`zone_name` FROM `thecarg_db`.`cg_tbl_zones` WHERE 1=1
prisma:query SELECT 1
prisma:query SELECT `thecarg_db`.`cg_tbl_zones`.`id` FROM `thecarg_db`.`cg_tbl_zones` WHERE (`thecarg_db`.`cg_tbl_zones`.`id` IN (?,?) AND `thecarg_db`.`cg_tbl_zones`.`status` = ?)
prisma:query SELECT `thecarg_db`.`cg_tbl_sellers`.`id`, `thecarg_db`.`cg_tbl_sellers`.`status`, `thecarg_db`.`cg_tbl_sellers`.`operating_hours`, `thecarg_db`.`cg_tbl_sellers`.`zone` FROM `thecarg_db`.`cg_tbl_sellers` WHERE `thecarg_db`.`cg_tbl_sellers`.`status` = ?
prisma:query SELECT `thecarg_db`.`cg_tbl_products`.`id`, `thecarg_db`.`cg_tbl_products`.`article_number` FROM `thecarg_db`.`cg_tbl_products` WHERE (`thecarg_db`.`cg_tbl_products`.`status` = ? AND (`thecarg_db`.`cg_tbl_products`.`id`) IN (SELECT `t1`.`product_id` FROM `thecarg_db`.`cg_tbl_seller_products` AS `t1` WHERE (`t1`.`status` = ? AND `t1`.`seller_id` IN (?) AND `t1`.`product_id` IS NOT NULL))) ORDER BY `thecarg_db`.`cg_tbl_products`.`id` ASC
prisma:query SELECT `thecarg_db`.`cg_tbl_products`.`article_number` FROM `thecarg_db`.`cg_tbl_products` WHERE `thecarg_db`.`cg_tbl_products`.`id` IN (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?) GROUP BY `thecarg_db`.`cg_tbl_products`.`article_number`
prisma:query SELECT MIN(`thecarg_db`.`cg_tbl_products`.`id`), `thecarg_db`.`cg_tbl_products`.`article_number` FROM `thecarg_db`.`cg_tbl_products` WHERE `thecarg_db`.`cg_tbl_products`.`id` IN (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?) GROUP BY `thecarg_db`.`cg_tbl_products`.`article_number` ORDER BY MIN(`thecarg_db`.`cg_tbl_products`.`id`) ASC LIMIT ? OFFSET ?
prisma:query SELECT `thecarg_db`.`cg_tbl_products`.`id`, `thecarg_db`.`cg_tbl_products`.`techdoc_article_id`, `thecarg_db`.`cg_tbl_products`.`techdoc_brand_id`, `thecarg_db`.`cg_tbl_products`.`article_number`, `thecarg_db`.`cg_tbl_products`.`brand_name`, `thecarg_db`.`cg_tbl_products`.`status`, `thecarg_db`.`cg_tbl_products`.`created_at`, `thecarg_db`.`cg_tbl_products`.`updated_at`, `thecarg_db`.`cg_tbl_products`.`assembly_group_node_id`, `thecarg_db`.`cg_tbl_products`.`generic_article_id` FROM `thecarg_db`.`cg_tbl_products` WHERE `thecarg_db`.`cg_tbl_products`.`id` IN (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?) ORDER BY `thecarg_db`.`cg_tbl_products`.`id` ASC
[2026-06-24T11:39:07.031Z] [INFO]: TecDoc → getArticles | provider: 25791 | country: IN | url: https://webservice.tecalliance.services/pegasus-3-0/services/TecdocToCatDLB.jsonEndpoint
--------------------------------------------------

[2026-06-24T11:39:07.034Z] [INFO]: TecDoc → getArticles | provider: 25791 | country: IN | url: https://webservice.tecalliance.services/pegasus-3-0/services/TecdocToCatDLB.jsonEndpoint
--------------------------------------------------

[2026-06-24T11:39:07.036Z] [INFO]: TecDoc → getArticles | provider: 25791 | country: IN | url: https://webservice.tecalliance.services/pegasus-3-0/services/TecdocToCatDLB.jsonEndpoint
--------------------------------------------------

[2026-06-24T11:39:07.038Z] [INFO]: TecDoc → getArticles | provider: 25791 | country: IN | url: https://webservice.tecalliance.services/pegasus-3-0/services/TecdocToCatDLB.jsonEndpoint
--------------------------------------------------

[2026-06-24T11:39:07.040Z] [INFO]: TecDoc → getArticles | provider: 25791 | country: IN | url: https://webservice.tecalliance.services/pegasus-3-0/services/TecdocToCatDLB.jsonEndpoint
--------------------------------------------------

[2026-06-24T11:39:07.042Z] [INFO]: TecDoc → getArticles | provider: 25791 | country: IN | url: https://webservice.tecalliance.services/pegasus-3-0/services/TecdocToCatDLB.jsonEndpoint
--------------------------------------------------

[2026-06-24T11:39:07.044Z] [INFO]: TecDoc → getArticles | provider: 25791 | country: IN | url: https://webservice.tecalliance.services/pegasus-3-0/services/TecdocToCatDLB.jsonEndpoint
--------------------------------------------------

[2026-06-24T11:39:07.086Z] [INFO]: TecDoc → getArticles | provider: 25791 | country: IN | url: https://webservice.tecalliance.services/pegasus-3-0/services/TecdocToCatDLB.jsonEndpoint
--------------------------------------------------

[2026-06-24T11:39:07.088Z] [INFO]: TecDoc → getArticles | provider: 25791 | country: IN | url: https://webservice.tecalliance.services/pegasus-3-0/services/TecdocToCatDLB.jsonEndpoint
--------------------------------------------------

[2026-06-24T11:39:07.090Z] [INFO]: TecDoc → getArticles | provider: 25791 | country: IN | url: https://webservice.tecalliance.services/pegasus-3-0/services/TecdocToCatDLB.jsonEndpoint
--------------------------------------------------

[2026-06-24T11:39:07.092Z] [INFO]: TecDoc → getArticles | provider: 25791 | country: IN | url: https://webservice.tecalliance.services/pegasus-3-0/services/TecdocToCatDLB.jsonEndpoint
--------------------------------------------------

[2026-06-24T11:39:07.094Z] [INFO]: TecDoc → getArticles | provider: 25791 | country: IN | url: https://webservice.tecalliance.services/pegasus-3-0/services/TecdocToCatDLB.jsonEndpoint
--------------------------------------------------

[2026-06-24T11:39:07.097Z] [INFO]: TecDoc → getArticles | provider: 25791 | country: IN | url: https://webservice.tecalliance.services/pegasus-3-0/services/TecdocToCatDLB.jsonEndpoint
--------------------------------------------------

[2026-06-24T11:39:07.098Z] [INFO]: TecDoc → getArticles | provider: 25791 | country: IN | url: https://webservice.tecalliance.services/pegasus-3-0/services/TecdocToCatDLB.jsonEndpoint
--------------------------------------------------

[2026-06-24T11:39:07.100Z] [INFO]: TecDoc → getArticles | provider: 25791 | country: IN | url: https://webservice.tecalliance.services/pegasus-3-0/services/TecdocToCatDLB.jsonEndpoint
--------------------------------------------------

[2026-06-24T11:39:07.102Z] [INFO]: TecDoc → getArticles | provider: 25791 | country: IN | url: https://webservice.tecalliance.services/pegasus-3-0/services/TecdocToCatDLB.jsonEndpoint
--------------------------------------------------

[2026-06-24T11:39:07.104Z] [INFO]: TecDoc → getArticles | provider: 25791 | country: IN | url: https://webservice.tecalliance.services/pegasus-3-0/services/TecdocToCatDLB.jsonEndpoint
--------------------------------------------------

[2026-06-24T11:39:07.107Z] [INFO]: TecDoc → getArticles | provider: 25791 | country: IN | url: https://webservice.tecalliance.services/pegasus-3-0/services/TecdocToCatDLB.jsonEndpoint
--------------------------------------------------

prisma:query SELECT `thecarg_db`.`cg_tbl_products`.`id`, `thecarg_db`.`cg_tbl_products`.`techdoc_article_id` FROM `thecarg_db`.`cg_tbl_products` WHERE (`thecarg_db`.`cg_tbl_products`.`techdoc_article_id` IN (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?) AND `thecarg_db`.`cg_tbl_products`.`status` = ? AND `thecarg_db`.`cg_tbl_products`.`id` IN (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?))
prisma:query SELECT `thecarg_db`.`cg_tbl_seller_products`.`id`, `thecarg_db`.`cg_tbl_seller_products`.`product_id`, `thecarg_db`.`cg_tbl_seller_products`.`customer_selling_price`, `thecarg_db`.`cg_tbl_seller_products`.`garage_selling_price`, `thecarg_db`.`cg_tbl_seller_products`.`mrp`, `thecarg_db`.`cg_tbl_seller_products`.`customer_discount_type`, `thecarg_db`.`cg_tbl_seller_products`.`customer_discount`, `thecarg_db`.`cg_tbl_seller_products`.`garage_discount_type`, `thecarg_db`.`cg_tbl_seller_products`.`garage_discount`, `thecarg_db`.`cg_tbl_seller_products`.`is_in_stock`, `thecarg_db`.`cg_tbl_seller_products`.`is_returnable`, `thecarg_db`.`cg_tbl_seller_products`.`return_days`, `thecarg_db`.`cg_tbl_seller_products`.`warranty_enabled`, `thecarg_db`.`cg_tbl_seller_products`.`warranty_duration`, `thecarg_db`.`cg_tbl_seller_products`.`warranty_duration_type`, `thecarg_db`.`cg_tbl_seller_products`.`warranty_document`, `thecarg_db`.`cg_tbl_seller_products`.`tax`, `thecarg_db`.`cg_tbl_seller_products`.`seller_id` FROM `thecarg_db`.`cg_tbl_seller_products` LEFT JOIN `thecarg_db`.`cg_tbl_sellers` AS `j1` ON (`j1`.`id`) = (`thecarg_db`.`cg_tbl_seller_products`.`seller_id`) WHERE (`thecarg_db`.`cg_tbl_seller_products`.`product_id` IN (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?) AND `thecarg_db`.`cg_tbl_seller_products`.`status` = ? AND (`j1`.`status` = ? AND (`j1`.`id` IS NOT NULL))) ORDER BY `thecarg_db`.`cg_tbl_seller_products`.`garage_selling_price` ASC
prisma:query SELECT `thecarg_db`.`cg_tbl_sellers`.`id`, `thecarg_db`.`cg_tbl_sellers`.`seller_id`, `thecarg_db`.`cg_tbl_sellers`.`first_name`, `thecarg_db`.`cg_tbl_sellers`.`last_name`, `thecarg_db`.`cg_tbl_sellers`.`trade_name`, `thecarg_db`.`cg_tbl_sellers`.`city`, `thecarg_db`.`cg_tbl_sellers`.`state`, `thecarg_db`.`cg_tbl_sellers`.`email`, `thecarg_db`.`cg_tbl_sellers`.`mobile`, `thecarg_db`.`cg_tbl_sellers`.`address`, `thecarg_db`.`cg_tbl_sellers`.`pincode`, `thecarg_db`.`cg_tbl_sellers`.`status`, `thecarg_db`.`cg_tbl_sellers`.`operating_hours`, `thecarg_db`.`cg_tbl_sellers`.`zone`, `thecarg_db`.`cg_tbl_sellers`.`latitude`, `thecarg_db`.`cg_tbl_sellers`.`longitude` FROM `thecarg_db`.`cg_tbl_sellers` WHERE `thecarg_db`.`cg_tbl_sellers`.`id` IN (?)
prisma:query SELECT `thecarg_db`.`cg_tbl_zones`.`id`, `thecarg_db`.`cg_tbl_zones`.`zone_name` FROM `thecarg_db`.`cg_tbl_zones` WHERE 1=1
prisma:query SELECT 1
prisma:query SELECT 1
prisma:query SELECT 1
prisma:query SELECT 1
prisma:query SELECT `thecarg_db`.`cg_tbl_business_settings`.`id`, `thecarg_db`.`cg_tbl_business_settings`.`key`, `thecarg_db`.`cg_tbl_business_settings`.`value`, `thecarg_db`.`cg_tbl_business_settings`.`created_at`, `thecarg_db`.`cg_tbl_business_settings`.`updated_at` FROM `thecarg_db`.`cg_tbl_business_settings` WHERE `thecarg_db`.`cg_tbl_business_settings`.`key` IN (?,?,?,?)
prisma:query SELECT `thecarg_db`.`cg_tbl_gig_reasons`.`id`, `thecarg_db`.`cg_tbl_gig_reasons`.`reason` FROM `thecarg_db`.`cg_tbl_gig_reasons` WHERE `thecarg_db`.`cg_tbl_gig_reasons`.`status` = ? ORDER BY `thecarg_db`.`cg_tbl_gig_reasons`.`id` ASC
prisma:query SELECT `thecarg_db`.`cg_tbl_vehicle_classes`.`id`, `thecarg_db`.`cg_tbl_vehicle_classes`.`name`, `thecarg_db`.`cg_tbl_vehicle_classes`.`slug` FROM `thecarg_db`.`cg_tbl_vehicle_classes` WHERE `thecarg_db`.`cg_tbl_vehicle_classes`.`status` = ? ORDER BY `thecarg_db`.`cg_tbl_vehicle_classes`.`name` ASC
prisma:query SELECT `thecarg_db`.`cg_tbl_vehicle_fuel_types`.`id`, `thecarg_db`.`cg_tbl_vehicle_fuel_types`.`name`, `thecarg_db`.`cg_tbl_vehicle_fuel_types`.`slug` FROM `thecarg_db`.`cg_tbl_vehicle_fuel_types` WHERE `thecarg_db`.`cg_tbl_vehicle_fuel_types`.`status` = ? ORDER BY `thecarg_db`.`cg_tbl_vehicle_fuel_types`.`name` ASC
prisma:query SELECT `thecarg_db`.`cg_tbl_customers`.`id`, `thecarg_db`.`cg_tbl_customers`.`full_name`, `thecarg_db`.`cg_tbl_customers`.`mobile`, `thecarg_db`.`cg_tbl_customers`.`email`, `thecarg_db`.`cg_tbl_customers`.`profile_photo_file`, `thecarg_db`.`cg_tbl_customers`.`status`, `thecarg_db`.`cg_tbl_customers`.`created_at`, `thecarg_db`.`cg_tbl_customers`.`updated_at`, `thecarg_db`.`cg_tbl_customers`.`date_of_birth`, `thecarg_db`.`cg_tbl_customers`.`fcm_token`, `thecarg_db`.`cg_tbl_customers`.`marriage_date`, `thecarg_db`.`cg_tbl_customers`.`ref_code`, `thecarg_db`.`cg_tbl_customers`.`referred_by` FROM `thecarg_db`.`cg_tbl_customers` WHERE `thecarg_db`.`cg_tbl_customers`.`id` = ? LIMIT ? OFFSET ?
prisma:query SELECT `thecarg_db`.`cg_tbl_customers`.`id`, `thecarg_db`.`cg_tbl_customers`.`full_name`, `thecarg_db`.`cg_tbl_customers`.`mobile`, `thecarg_db`.`cg_tbl_customers`.`email`, `thecarg_db`.`cg_tbl_customers`.`profile_photo_file`, `thecarg_db`.`cg_tbl_customers`.`status`, `thecarg_db`.`cg_tbl_customers`.`created_at`, `thecarg_db`.`cg_tbl_customers`.`updated_at`, `thecarg_db`.`cg_tbl_customers`.`date_of_birth`, `thecarg_db`.`cg_tbl_customers`.`fcm_token`, `thecarg_db`.`cg_tbl_customers`.`marriage_date`, `thecarg_db`.`cg_tbl_customers`.`ref_code`, `thecarg_db`.`cg_tbl_customers`.`referred_by` FROM `thecarg_db`.`cg_tbl_customers` WHERE (`thecarg_db`.`cg_tbl_customers`.`id` = ? AND 1=1) LIMIT ? OFFSET ?
prisma:query SELECT 1
prisma:query SELECT 1
prisma:query SELECT `thecarg_db`.`cg_tbl_business_settings`.`id`, `thecarg_db`.`cg_tbl_business_settings`.`key`, `thecarg_db`.`cg_tbl_business_settings`.`value`, `thecarg_db`.`cg_tbl_business_settings`.`created_at`, `thecarg_db`.`cg_tbl_business_settings`.`updated_at` FROM `thecarg_db`.`cg_tbl_business_settings` WHERE (`thecarg_db`.`cg_tbl_business_settings`.`key` = ? AND 1=1) LIMIT ? OFFSET ?
prisma:query SELECT `thecarg_db`.`cg_tbl_customers`.`id`, `thecarg_db`.`cg_tbl_customers`.`full_name`, `thecarg_db`.`cg_tbl_customers`.`mobile`, `thecarg_db`.`cg_tbl_customers`.`email`, `thecarg_db`.`cg_tbl_customers`.`profile_photo_file`, `thecarg_db`.`cg_tbl_customers`.`status`, `thecarg_db`.`cg_tbl_customers`.`created_at`, `thecarg_db`.`cg_tbl_customers`.`updated_at`, `thecarg_db`.`cg_tbl_customers`.`date_of_birth`, `thecarg_db`.`cg_tbl_customers`.`fcm_token`, `thecarg_db`.`cg_tbl_customers`.`marriage_date`, `thecarg_db`.`cg_tbl_customers`.`ref_code`, `thecarg_db`.`cg_tbl_customers`.`referred_by` FROM `thecarg_db`.`cg_tbl_customers` WHERE (`thecarg_db`.`cg_tbl_customers`.`id` = ? AND 1=1) LIMIT ? OFFSET ?
prisma:query SELECT 1
prisma:query SELECT `thecarg_db`.`cg_tbl_business_settings`.`id`, `thecarg_db`.`cg_tbl_business_settings`.`key`, `thecarg_db`.`cg_tbl_business_settings`.`value`, `thecarg_db`.`cg_tbl_business_settings`.`created_at`, `thecarg_db`.`cg_tbl_business_settings`.`updated_at` FROM `thecarg_db`.`cg_tbl_business_settings` WHERE (`thecarg_db`.`cg_tbl_business_settings`.`key` = ? AND 1=1) LIMIT ? OFFSET ?
prisma:query SELECT 1
prisma:query SELECT 1
prisma:query SELECT `thecarg_db`.`cg_tbl_business_settings`.`id`, `thecarg_db`.`cg_tbl_business_settings`.`key`, `thecarg_db`.`cg_tbl_business_settings`.`value`, `thecarg_db`.`cg_tbl_business_settings`.`created_at`, `thecarg_db`.`cg_tbl_business_settings`.`updated_at` FROM `thecarg_db`.`cg_tbl_business_settings` WHERE (`thecarg_db`.`cg_tbl_business_settings`.`key` = ? AND 1=1) LIMIT ? OFFSET ?
prisma:query SELECT COUNT(*) FROM (SELECT `thecarg_db`.`cg_table_tutorials`.`id` FROM `thecarg_db`.`cg_table_tutorials` WHERE (`thecarg_db`.`cg_table_tutorials`.`role_id` = ? AND `thecarg_db`.`cg_table_tutorials`.`status` = ?)) AS `sub`
prisma:query SELECT `thecarg_db`.`cg_table_tutorials`.`id`, `thecarg_db`.`cg_table_tutorials`.`role_id`, `thecarg_db`.`cg_table_tutorials`.`youtube_url`, `thecarg_db`.`cg_table_tutorials`.`status`, `thecarg_db`.`cg_table_tutorials`.`created_at`, `thecarg_db`.`cg_table_tutorials`.`created_by`, `thecarg_db`.`cg_table_tutorials`.`updated_at` FROM `thecarg_db`.`cg_table_tutorials` WHERE (`thecarg_db`.`cg_table_tutorials`.`role_id` = ? AND `thecarg_db`.`cg_table_tutorials`.`status` = ?) ORDER BY `thecarg_db`.`cg_table_tutorials`.`created_at` DESC LIMIT ? OFFSET ?
prisma:query SELECT `thecarg_db`.`cg_tbl_business_settings`.`id`, `thecarg_db`.`cg_tbl_business_settings`.`key`, `thecarg_db`.`cg_tbl_business_settings`.`value`, `thecarg_db`.`cg_tbl_business_settings`.`created_at`, `thecarg_db`.`cg_tbl_business_settings`.`updated_at` FROM `thecarg_db`.`cg_tbl_business_settings` WHERE `thecarg_db`.`cg_tbl_business_settings`.`key` IN (?,?,?,?)
prisma:query SELECT `thecarg_db`.`cg_tbl_vehicle_classes`.`id`, `thecarg_db`.`cg_tbl_vehicle_classes`.`name`, `thecarg_db`.`cg_tbl_vehicle_classes`.`slug` FROM `thecarg_db`.`cg_tbl_vehicle_classes` WHERE `thecarg_db`.`cg_tbl_vehicle_classes`.`status` = ? ORDER BY `thecarg_db`.`cg_tbl_vehicle_classes`.`name` ASC
prisma:query SELECT `thecarg_db`.`cg_tbl_gig_reasons`.`id`, `thecarg_db`.`cg_tbl_gig_reasons`.`reason` FROM `thecarg_db`.`cg_tbl_gig_reasons` WHERE `thecarg_db`.`cg_tbl_gig_reasons`.`status` = ? ORDER BY `thecarg_db`.`cg_tbl_gig_reasons`.`id` ASC
prisma:query SELECT COUNT(*) FROM (SELECT `thecarg_db`.`cg_tbl_user_notifications`.`id` FROM `thecarg_db`.`cg_tbl_user_notifications` WHERE (`thecarg_db`.`cg_tbl_user_notifications`.`user_id` = ? AND `thecarg_db`.`cg_tbl_user_notifications`.`user_role_id` = ? AND `thecarg_db`.`cg_tbl_user_notifications`.`platform` = ?)) AS `sub`
prisma:query SELECT `thecarg_db`.`cg_tbl_vehicle_fuel_types`.`id`, `thecarg_db`.`cg_tbl_vehicle_fuel_types`.`name`, `thecarg_db`.`cg_tbl_vehicle_fuel_types`.`slug` FROM `thecarg_db`.`cg_tbl_vehicle_fuel_types` WHERE `thecarg_db`.`cg_tbl_vehicle_fuel_types`.`status` = ? ORDER BY `thecarg_db`.`cg_tbl_vehicle_fuel_types`.`name` ASC
prisma:query BEGIN
prisma:query SELECT `thecarg_db`.`cg_tbl_coupons`.`id`, `thecarg_db`.`cg_tbl_coupons`.`coupon_code`, `thecarg_db`.`cg_tbl_coupons`.`title`, `thecarg_db`.`cg_tbl_coupons`.`coupon_type`, `thecarg_db`.`cg_tbl_coupons`.`applicable_user_type`, `thecarg_db`.`cg_tbl_coupons`.`user_eligibility`, `thecarg_db`.`cg_tbl_coupons`.`discount_value`, `thecarg_db`.`cg_tbl_coupons`.`max_discount`, `thecarg_db`.`cg_tbl_coupons`.`min_order_value`, `thecarg_db`.`cg_tbl_coupons`.`valid_from`, `thecarg_db`.`cg_tbl_coupons`.`valid_to`, `thecarg_db`.`cg_tbl_coupons`.`total_usage_limit`, `thecarg_db`.`cg_tbl_coupons`.`total_uses`, `thecarg_db`.`cg_tbl_coupons`.`usage_per_user`, `thecarg_db`.`cg_tbl_coupons`.`category_restrictions`, `thecarg_db`.`cg_tbl_coupons`.`allow_stacking`, `thecarg_db`.`cg_tbl_coupons`.`module_type`, `thecarg_db`.`cg_tbl_coupons`.`zone_ids`, `thecarg_db`.`cg_tbl_coupons`.`vendor_id`, `thecarg_db`.`cg_tbl_coupons`.`created_at` FROM `thecarg_db`.`cg_tbl_coupons` WHERE (`thecarg_db`.`cg_tbl_coupons`.`status` = ? AND `thecarg_db`.`cg_tbl_coupons`.`applicable_user_type` IN (?,?) AND (`thecarg_db`.`cg_tbl_coupons`.`valid_from` IS NULL OR `thecarg_db`.`cg_tbl_coupons`.`valid_from` <= ?) AND (`thecarg_db`.`cg_tbl_coupons`.`valid_to` IS NULL OR `thecarg_db`.`cg_tbl_coupons`.`valid_to` >= ?)) ORDER BY `thecarg_db`.`cg_tbl_coupons`.`created_at` DESC
prisma:query SELECT `thecarg_db`.`cg_tbl_customers`.`id`, `thecarg_db`.`cg_tbl_customers`.`full_name`, `thecarg_db`.`cg_tbl_customers`.`mobile`, `thecarg_db`.`cg_tbl_customers`.`email`, `thecarg_db`.`cg_tbl_customers`.`profile_photo_file`, `thecarg_db`.`cg_tbl_customers`.`status`, `thecarg_db`.`cg_tbl_customers`.`created_at`, `thecarg_db`.`cg_tbl_customers`.`updated_at`, `thecarg_db`.`cg_tbl_customers`.`date_of_birth`, `thecarg_db`.`cg_tbl_customers`.`fcm_token`, `thecarg_db`.`cg_tbl_customers`.`marriage_date`, `thecarg_db`.`cg_tbl_customers`.`ref_code`, `thecarg_db`.`cg_tbl_customers`.`referred_by` FROM `thecarg_db`.`cg_tbl_customers` WHERE (`thecarg_db`.`cg_tbl_customers`.`id` = ? AND 1=1) LIMIT ? OFFSET ?
prisma:query SELECT `thecarg_db`.`cg_tbl_user_notifications`.`id`, `thecarg_db`.`cg_tbl_user_notifications`.`user_id`, `thecarg_db`.`cg_tbl_user_notifications`.`user_role_id`, `thecarg_db`.`cg_tbl_user_notifications`.`data`, `thecarg_db`.`cg_tbl_user_notifications`.`platform`, `thecarg_db`.`cg_tbl_user_notifications`.`is_read`, `thecarg_db`.`cg_tbl_user_notifications`.`created_at` FROM `thecarg_db`.`cg_tbl_user_notifications` WHERE (`thecarg_db`.`cg_tbl_user_notifications`.`user_id` = ? AND `thecarg_db`.`cg_tbl_user_notifications`.`user_role_id` = ? AND `thecarg_db`.`cg_tbl_user_notifications`.`platform` = ?) ORDER BY `thecarg_db`.`cg_tbl_user_notifications`.`created_at` DESC LIMIT ? OFFSET ?
prisma:query SELECT `thecarg_db`.`cg_tbl_customers`.`id` FROM `thecarg_db`.`cg_tbl_customers` WHERE (`thecarg_db`.`cg_tbl_customers`.`id` = ? AND 1=1)
prisma:query UPDATE `thecarg_db`.`cg_tbl_customers` SET `fcm_token` = ?, `updated_at` = ? WHERE (`thecarg_db`.`cg_tbl_customers`.`id` IN (?) AND (`thecarg_db`.`cg_tbl_customers`.`id` = ? AND 1=1))
prisma:query SELECT `thecarg_db`.`cg_tbl_customers`.`id`, `thecarg_db`.`cg_tbl_customers`.`full_name`, `thecarg_db`.`cg_tbl_customers`.`mobile`, `thecarg_db`.`cg_tbl_customers`.`email`, `thecarg_db`.`cg_tbl_customers`.`profile_photo_file`, `thecarg_db`.`cg_tbl_customers`.`status`, `thecarg_db`.`cg_tbl_customers`.`created_at`, `thecarg_db`.`cg_tbl_customers`.`updated_at`, `thecarg_db`.`cg_tbl_customers`.`date_of_birth`, `thecarg_db`.`cg_tbl_customers`.`fcm_token`, `thecarg_db`.`cg_tbl_customers`.`marriage_date`, `thecarg_db`.`cg_tbl_customers`.`ref_code`, `thecarg_db`.`cg_tbl_customers`.`referred_by` FROM `thecarg_db`.`cg_tbl_customers` WHERE `thecarg_db`.`cg_tbl_customers`.`id` = ? LIMIT ? OFFSET ?
prisma:query COMMIT
prisma:query SELECT COUNT(*) FROM (SELECT `thecarg_db`.`cg_tbl_categories`.`id` FROM `thecarg_db`.`cg_tbl_categories` WHERE (`thecarg_db`.`cg_tbl_categories`.`status` = ? AND (`thecarg_db`.`cg_tbl_categories`.`is_accident` = ? OR (`thecarg_db`.`cg_tbl_categories`.`id`) IN (SELECT `t1`.`category_id` FROM `thecarg_db`.`cg_tbl_category_sub_category_setup` AS `t1` LEFT JOIN `thecarg_db`.`cg_tbl_sub_categories` AS `j2` ON (`j2`.`id`) = (`t1`.`sub_category_id`) WHERE (`t1`.`status` = ? AND (`j2`.`status` = ? AND (`j2`.`id` IS NOT NULL)) AND `t1`.`service_type` IN (?,?) AND `t1`.`category_id` IS NOT NULL))))) AS `sub`
prisma:query SELECT `thecarg_db`.`cg_tbl_categories`.`id`, `thecarg_db`.`cg_tbl_categories`.`category_name`, `thecarg_db`.`cg_tbl_categories`.`category_image`, `thecarg_db`.`cg_tbl_categories`.`is_accident` FROM `thecarg_db`.`cg_tbl_categories` WHERE (`thecarg_db`.`cg_tbl_categories`.`status` = ? AND (`thecarg_db`.`cg_tbl_categories`.`is_accident` = ? OR (`thecarg_db`.`cg_tbl_categories`.`id`) IN (SELECT `t1`.`category_id` FROM `thecarg_db`.`cg_tbl_category_sub_category_setup` AS `t1` LEFT JOIN `thecarg_db`.`cg_tbl_sub_categories` AS `j2` ON (`j2`.`id`) = (`t1`.`sub_category_id`) WHERE (`t1`.`status` = ? AND (`j2`.`status` = ? AND (`j2`.`id` IS NOT NULL)) AND `t1`.`service_type` IN (?,?) AND `t1`.`category_id` IS NOT NULL)))) ORDER BY `thecarg_db`.`cg_tbl_categories`.`id` ASC LIMIT ? OFFSET ?
prisma:query SELECT COUNT(*) FROM (SELECT `thecarg_db`.`cg_tbl_categories`.`id` FROM `thecarg_db`.`cg_tbl_categories` WHERE (`thecarg_db`.`cg_tbl_categories`.`status` = ? AND (`thecarg_db`.`cg_tbl_categories`.`is_accident` = ? OR (`thecarg_db`.`cg_tbl_categories`.`id`) IN (SELECT `t1`.`category_id` FROM `thecarg_db`.`cg_tbl_category_sub_category_setup` AS `t1` LEFT JOIN `thecarg_db`.`cg_tbl_sub_categories` AS `j2` ON (`j2`.`id`) = (`t1`.`sub_category_id`) WHERE (`t1`.`status` = ? AND (`j2`.`status` = ? AND (`j2`.`id` IS NOT NULL)) AND `t1`.`category_id` IS NOT NULL))))) AS `sub`
prisma:query SELECT `thecarg_db`.`cg_tbl_categories`.`id`, `thecarg_db`.`cg_tbl_categories`.`category_name`, `thecarg_db`.`cg_tbl_categories`.`category_image`, `thecarg_db`.`cg_tbl_categories`.`is_accident` FROM `thecarg_db`.`cg_tbl_categories` WHERE (`thecarg_db`.`cg_tbl_categories`.`status` = ? AND (`thecarg_db`.`cg_tbl_categories`.`is_accident` = ? OR (`thecarg_db`.`cg_tbl_categories`.`id`) IN (SELECT `t1`.`category_id` FROM `thecarg_db`.`cg_tbl_category_sub_category_setup` AS `t1` LEFT JOIN `thecarg_db`.`cg_tbl_sub_categories` AS `j2` ON (`j2`.`id`) = (`t1`.`sub_category_id`) WHERE (`t1`.`status` = ? AND (`j2`.`status` = ? AND (`j2`.`id` IS NOT NULL)) AND `t1`.`category_id` IS NOT NULL)))) ORDER BY `thecarg_db`.`cg_tbl_categories`.`id` ASC LIMIT ? OFFSET ?
prisma:query SELECT COUNT(*) FROM (SELECT `thecarg_db`.`cg_tbl_user_addresses`.`id` FROM `thecarg_db`.`cg_tbl_user_addresses` WHERE (`thecarg_db`.`cg_tbl_user_addresses`.`user_id` = ? AND `thecarg_db`.`cg_tbl_user_addresses`.`role_id` = ? AND `thecarg_db`.`cg_tbl_user_addresses`.`status` = ?)) AS `sub`
prisma:query SELECT COUNT(*) FROM (SELECT `thecarg_db`.`cg_tbl_user_addresses`.`id` FROM `thecarg_db`.`cg_tbl_user_addresses` WHERE (`thecarg_db`.`cg_tbl_user_addresses`.`user_id` = ? AND `thecarg_db`.`cg_tbl_user_addresses`.`role_id` = ? AND `thecarg_db`.`cg_tbl_user_addresses`.`status` = ?)) AS `sub`
prisma:query SELECT `thecarg_db`.`cg_tbl_categories`.`id`, `thecarg_db`.`cg_tbl_categories`.`category_name` FROM `thecarg_db`.`cg_tbl_categories` WHERE `thecarg_db`.`cg_tbl_categories`.`id` IN (?,?,?,?,?,?)
prisma:query SELECT COUNT(*) FROM (SELECT `thecarg_db`.`cg_tbl_vehicles_master`.`id` FROM `thecarg_db`.`cg_tbl_vehicles_master` WHERE (`thecarg_db`.`cg_tbl_vehicles_master`.`user_id` = ? AND `thecarg_db`.`cg_tbl_vehicles_master`.`user_role_id` = ? AND `thecarg_db`.`cg_tbl_vehicles_master`.`deleted_status` = ? AND `thecarg_db`.`cg_tbl_vehicles_master`.`status` = ?)) AS `sub`
prisma:query SELECT `thecarg_db`.`cg_tbl_user_addresses`.`id`, `thecarg_db`.`cg_tbl_user_addresses`.`user_id`, `thecarg_db`.`cg_tbl_user_addresses`.`role_id`, `thecarg_db`.`cg_tbl_user_addresses`.`address_title`, `thecarg_db`.`cg_tbl_user_addresses`.`contact_name`, `thecarg_db`.`cg_tbl_user_addresses`.`phone_number`, `thecarg_db`.`cg_tbl_user_addresses`.`flat_house_no`, `thecarg_db`.`cg_tbl_user_addresses`.`area_locality`, `thecarg_db`.`cg_tbl_user_addresses`.`landmark`, `thecarg_db`.`cg_tbl_user_addresses`.`pincode`, `thecarg_db`.`cg_tbl_user_addresses`.`city`, `thecarg_db`.`cg_tbl_user_addresses`.`state`, `thecarg_db`.`cg_tbl_user_addresses`.`latitude`, `thecarg_db`.`cg_tbl_user_addresses`.`longitude`, `thecarg_db`.`cg_tbl_user_addresses`.`full_address`, `thecarg_db`.`cg_tbl_user_addresses`.`is_default`, `thecarg_db`.`cg_tbl_user_addresses`.`status`, `thecarg_db`.`cg_tbl_user_addresses`.`created_at`, `thecarg_db`.`cg_tbl_user_addresses`.`updated_at` FROM `thecarg_db`.`cg_tbl_user_addresses` WHERE (`thecarg_db`.`cg_tbl_user_addresses`.`user_id` = ? AND `thecarg_db`.`cg_tbl_user_addresses`.`role_id` = ? AND `thecarg_db`.`cg_tbl_user_addresses`.`status` = ?) ORDER BY `thecarg_db`.`cg_tbl_user_addresses`.`is_default` DESC, `thecarg_db`.`cg_tbl_user_addresses`.`id` DESC LIMIT ? OFFSET ?
prisma:query SELECT `thecarg_db`.`cg_tbl_user_addresses`.`id`, `thecarg_db`.`cg_tbl_user_addresses`.`user_id`, `thecarg_db`.`cg_tbl_user_addresses`.`role_id`, `thecarg_db`.`cg_tbl_user_addresses`.`address_title`, `thecarg_db`.`cg_tbl_user_addresses`.`contact_name`, `thecarg_db`.`cg_tbl_user_addresses`.`phone_number`, `thecarg_db`.`cg_tbl_user_addresses`.`flat_house_no`, `thecarg_db`.`cg_tbl_user_addresses`.`area_locality`, `thecarg_db`.`cg_tbl_user_addresses`.`landmark`, `thecarg_db`.`cg_tbl_user_addresses`.`pincode`, `thecarg_db`.`cg_tbl_user_addresses`.`city`, `thecarg_db`.`cg_tbl_user_addresses`.`state`, `thecarg_db`.`cg_tbl_user_addresses`.`latitude`, `thecarg_db`.`cg_tbl_user_addresses`.`longitude`, `thecarg_db`.`cg_tbl_user_addresses`.`full_address`, `thecarg_db`.`cg_tbl_user_addresses`.`is_default`, `thecarg_db`.`cg_tbl_user_addresses`.`status`, `thecarg_db`.`cg_tbl_user_addresses`.`created_at`, `thecarg_db`.`cg_tbl_user_addresses`.`updated_at` FROM `thecarg_db`.`cg_tbl_user_addresses` WHERE (`thecarg_db`.`cg_tbl_user_addresses`.`user_id` = ? AND `thecarg_db`.`cg_tbl_user_addresses`.`role_id` = ? AND `thecarg_db`.`cg_tbl_user_addresses`.`status` = ?) ORDER BY `thecarg_db`.`cg_tbl_user_addresses`.`is_default` DESC, `thecarg_db`.`cg_tbl_user_addresses`.`id` DESC LIMIT ? OFFSET ?
prisma:query SELECT `thecarg_db`.`cg_tbl_vehicles_master`.`id`, `thecarg_db`.`cg_tbl_vehicles_master`.`vehicle_no`, `thecarg_db`.`cg_tbl_vehicles_master`.`make`, `thecarg_db`.`cg_tbl_vehicles_master`.`model`, `thecarg_db`.`cg_tbl_vehicles_master`.`year`, `thecarg_db`.`cg_tbl_vehicles_master`.`chassis_no`, `thecarg_db`.`cg_tbl_vehicles_master`.`odometer_reading_km`, `thecarg_db`.`cg_tbl_vehicles_master`.`vehicle_image`, `thecarg_db`.`cg_tbl_vehicles_master`.`vehicle_rc_img`, `thecarg_db`.`cg_tbl_vehicles_master`.`vehicle_class_id`, `thecarg_db`.`cg_tbl_vehicles_master`.`vehicle_fuel_type_id` FROM `thecarg_db`.`cg_tbl_vehicles_master` WHERE (`thecarg_db`.`cg_tbl_vehicles_master`.`user_id` = ? AND `thecarg_db`.`cg_tbl_vehicles_master`.`user_role_id` = ? AND `thecarg_db`.`cg_tbl_vehicles_master`.`deleted_status` = ? AND `thecarg_db`.`cg_tbl_vehicles_master`.`status` = ?) ORDER BY `thecarg_db`.`cg_tbl_vehicles_master`.`id` DESC LIMIT ? OFFSET ?
prisma:query SELECT `thecarg_db`.`cg_tbl_vehicle_classes`.`id`, `thecarg_db`.`cg_tbl_vehicle_classes`.`name`, `thecarg_db`.`cg_tbl_vehicle_classes`.`slug` FROM `thecarg_db`.`cg_tbl_vehicle_classes` WHERE `thecarg_db`.`cg_tbl_vehicle_classes`.`id` IN (?,?)
prisma:query SELECT `thecarg_db`.`cg_tbl_vehicle_fuel_types`.`id`, `thecarg_db`.`cg_tbl_vehicle_fuel_types`.`name`, `thecarg_db`.`cg_tbl_vehicle_fuel_types`.`slug` FROM `thecarg_db`.`cg_tbl_vehicle_fuel_types` WHERE `thecarg_db`.`cg_tbl_vehicle_fuel_types`.`id` IN (?,?)
prisma:query SELECT `thecarg_db`.`cg_tbl_category_sub_category_setup`.`id`, `thecarg_db`.`cg_tbl_category_sub_category_setup`.`sub_category_id`, `thecarg_db`.`cg_tbl_category_sub_category_setup`.`category_id` FROM `thecarg_db`.`cg_tbl_category_sub_category_setup` LEFT JOIN `thecarg_db`.`cg_tbl_sub_categories` AS `j1` ON (`j1`.`id`) = (`thecarg_db`.`cg_tbl_category_sub_category_setup`.`sub_category_id`) WHERE ((`thecarg_db`.`cg_tbl_category_sub_category_setup`.`status` = ? AND (`j1`.`status` = ? AND (`j1`.`id` IS NOT NULL)) AND `thecarg_db`.`cg_tbl_category_sub_category_setup`.`service_type` IN (?,?)) AND `thecarg_db`.`cg_tbl_category_sub_category_setup`.`category_id` IN (?,?,?,?,?,?,?,?))
prisma:query SELECT `thecarg_db`.`cg_tbl_category_sub_category_setup`.`id`, `thecarg_db`.`cg_tbl_category_sub_category_setup`.`sub_category_id`, `thecarg_db`.`cg_tbl_category_sub_category_setup`.`category_id` FROM `thecarg_db`.`cg_tbl_category_sub_category_setup` LEFT JOIN `thecarg_db`.`cg_tbl_sub_categories` AS `j1` ON (`j1`.`id`) = (`thecarg_db`.`cg_tbl_category_sub_category_setup`.`sub_category_id`) WHERE ((`thecarg_db`.`cg_tbl_category_sub_category_setup`.`status` = ? AND (`j1`.`status` = ? AND (`j1`.`id` IS NOT NULL))) AND `thecarg_db`.`cg_tbl_category_sub_category_setup`.`category_id` IN (?,?,?,?,?,?,?,?))
[2026-06-24T11:39:54.193Z] [INFO]: [ZONE_RESOLVE] Resolving zone for coordinates: (13.07281264, 80.19470259)
--------------------------------------------------

prisma:query SELECT id, status, zone_name AS zoneName, zone_code AS zoneCode, ABS(ST_Area(coordinates)) as area 
       FROM cg_tbl_zones 
       WHERE ST_Contains(coordinates, ST_GeomFromText(?))
       ORDER BY area ASC
[2026-06-24T11:39:54.233Z] [INFO]: [BANNERS] Fetching banners for zoneIds: [13]
--------------------------------------------------

prisma:query 
      SELECT 
        'admin_banner' AS bannerSource,
        b.id,
        b.title,
        b.banner_image AS bannerImage,
        NULL AS userId,
        NULL AS userRoleId,
        NULL AS productId,
        b.created_at AS createdAt
      FROM cg_tbl_banners b
      WHERE b.status = 1 
        AND b.zone_id IN (?)

      UNION ALL

      SELECT 
        'advertisement' AS bannerSource,
        a.id,
        a.title,
        a.banner_image AS bannerImage,
        a.user_id AS userId,
        a.user_role_id AS userRoleId,
        a.product_id AS productId,
        a.created_at AS createdAt
      FROM cg_tbl_advertisements a
      WHERE a.status = 1 
        AND a.advertisement_type = 'banner'
        AND a.approval_status = 'approved'
        AND a.payment_status = 'paid'
        AND NOW() BETWEEN a.from_date AND a.to_date
        AND a.zone_id IN (?)
      ORDER BY createdAt DESC
    
prisma:query SELECT `thecarg_db`.`cg_tbl_zones`.`id` FROM `thecarg_db`.`cg_tbl_zones` WHERE (`thecarg_db`.`cg_tbl_zones`.`id` IN (?,?) AND `thecarg_db`.`cg_tbl_zones`.`status` = ?)
prisma:query SELECT `thecarg_db`.`cg_tbl_zones`.`id` FROM `thecarg_db`.`cg_tbl_zones` WHERE (`thecarg_db`.`cg_tbl_zones`.`id` IN (?,?) AND `thecarg_db`.`cg_tbl_zones`.`status` = ?)
prisma:query SELECT `thecarg_db`.`cg_tbl_sellers`.`id`, `thecarg_db`.`cg_tbl_sellers`.`status`, `thecarg_db`.`cg_tbl_sellers`.`operating_hours`, `thecarg_db`.`cg_tbl_sellers`.`zone` FROM `thecarg_db`.`cg_tbl_sellers` WHERE `thecarg_db`.`cg_tbl_sellers`.`status` = ?
prisma:query SELECT `thecarg_db`.`cg_tbl_sellers`.`id`, `thecarg_db`.`cg_tbl_sellers`.`status`, `thecarg_db`.`cg_tbl_sellers`.`operating_hours`, `thecarg_db`.`cg_tbl_sellers`.`zone` FROM `thecarg_db`.`cg_tbl_sellers` WHERE `thecarg_db`.`cg_tbl_sellers`.`status` = ?
prisma:query SELECT `thecarg_db`.`cg_tbl_products`.`assembly_group_node_id`, `thecarg_db`.`cg_tbl_products`.`generic_article_id` FROM `thecarg_db`.`cg_tbl_products` WHERE (`thecarg_db`.`cg_tbl_products`.`status` = ? AND (`thecarg_db`.`cg_tbl_products`.`id`) IN (SELECT `t1`.`product_id` FROM `thecarg_db`.`cg_tbl_seller_products` AS `t1` WHERE (`t1`.`status` = ? AND `t1`.`is_in_stock` = ? AND `t1`.`seller_id` IN (?) AND `t1`.`product_id` IS NOT NULL))) GROUP BY `thecarg_db`.`cg_tbl_products`.`assembly_group_node_id`, `thecarg_db`.`cg_tbl_products`.`generic_article_id`
prisma:query SELECT COUNT(`thecarg_db`.`cg_tbl_products`.`id`), `thecarg_db`.`cg_tbl_products`.`techdoc_brand_id` FROM `thecarg_db`.`cg_tbl_products` WHERE (`thecarg_db`.`cg_tbl_products`.`status` = ? AND (`thecarg_db`.`cg_tbl_products`.`id`) IN (SELECT `t1`.`product_id` FROM `thecarg_db`.`cg_tbl_seller_products` AS `t1` WHERE (`t1`.`status` = ? AND `t1`.`is_in_stock` = ? AND `t1`.`seller_id` IN (?) AND `t1`.`product_id` IS NOT NULL))) GROUP BY `thecarg_db`.`cg_tbl_products`.`techdoc_brand_id`
prisma:query SELECT COUNT(`thecarg_db`.`cg_tbl_products`.`id`), `thecarg_db`.`cg_tbl_products`.`techdoc_brand_id`, `thecarg_db`.`cg_tbl_products`.`brand_name` FROM `thecarg_db`.`cg_tbl_products` WHERE (`thecarg_db`.`cg_tbl_products`.`status` = ? AND (`thecarg_db`.`cg_tbl_products`.`id`) IN (SELECT `t1`.`product_id` FROM `thecarg_db`.`cg_tbl_seller_products` AS `t1` WHERE (`t1`.`status` = ? AND `t1`.`is_in_stock` = ? AND `t1`.`seller_id` IN (?) AND `t1`.`product_id` IS NOT NULL))) GROUP BY `thecarg_db`.`cg_tbl_products`.`techdoc_brand_id`, `thecarg_db`.`cg_tbl_products`.`brand_name` ORDER BY `thecarg_db`.`cg_tbl_products`.`techdoc_brand_id` ASC LIMIT ? OFFSET ?
[2026-06-24T11:40:00.088Z] [INFO]: TecDoc → getGenericArticles | provider: 25791 | country: IN | url: https://webservice.tecalliance.services/pegasus-3-0/services/TecdocToCatDLB.jsonEndpoint
--------------------------------------------------

[2026-06-24T11:40:00.092Z] [INFO]: TecDoc → getBrands | provider: 25791 | country: IN | url: https://webservice.tecalliance.services/pegasus-3-0/services/TecdocToCatDLB.jsonEndpoint
--------------------------------------------------

prisma:query SELECT `thecarg_db`.`cg_tbl_products`.`assembly_group_node_id`, `thecarg_db`.`cg_tbl_products`.`generic_article_id` FROM `thecarg_db`.`cg_tbl_products` WHERE `thecarg_db`.`cg_tbl_products`.`status` = ? GROUP BY `thecarg_db`.`cg_tbl_products`.`assembly_group_node_id`, `thecarg_db`.`cg_tbl_products`.`generic_article_id`
[2026-06-24T11:40:01.622Z] [INFO]: TecDoc → getArticles | provider: 25791 | country: IN | url: https://webservice.tecalliance.services/pegasus-3-0/services/TecdocToCatDLB.jsonEndpoint
--------------------------------------------------

[2026-06-24T11:40:04.285Z] [INFO]: [ZONE_RESOLVE] Resolving zone for coordinates: (13.07281264, 80.19470259)
--------------------------------------------------

prisma:query SELECT id, status, zone_name AS zoneName, zone_code AS zoneCode, ABS(ST_Area(coordinates)) as area 
       FROM cg_tbl_zones 
       WHERE ST_Contains(coordinates, ST_GeomFromText(?))
       ORDER BY area ASC
[2026-06-24T11:40:04.433Z] [INFO]: [BANNERS] Fetching banners for zoneIds: [13]
--------------------------------------------------

prisma:query 
      SELECT 
        'admin_banner' AS bannerSource,
        b.id,
        b.title,
        b.banner_image AS bannerImage,
        NULL AS userId,
        NULL AS userRoleId,
        NULL AS productId,
        b.created_at AS createdAt
      FROM cg_tbl_banners b
      WHERE b.status = 1 
        AND b.zone_id IN (?)

      UNION ALL

      SELECT 
        'advertisement' AS bannerSource,
        a.id,
        a.title,
        a.banner_image AS bannerImage,
        a.user_id AS userId,
        a.user_role_id AS userRoleId,
        a.product_id AS productId,
        a.created_at AS createdAt
      FROM cg_tbl_advertisements a
      WHERE a.status = 1 
        AND a.advertisement_type = 'banner'
        AND a.approval_status = 'approved'
        AND a.payment_status = 'paid'
        AND NOW() BETWEEN a.from_date AND a.to_date
        AND a.zone_id IN (?)
      ORDER BY createdAt DESC
    
prisma:query SELECT 1
prisma:query SELECT `thecarg_db`.`cg_tbl_zones`.`id` FROM `thecarg_db`.`cg_tbl_zones` WHERE (`thecarg_db`.`cg_tbl_zones`.`id` IN (?) AND `thecarg_db`.`cg_tbl_zones`.`status` = ?)
prisma:query SELECT `thecarg_db`.`cg_tbl_sellers`.`id`, `thecarg_db`.`cg_tbl_sellers`.`status`, `thecarg_db`.`cg_tbl_sellers`.`operating_hours`, `thecarg_db`.`cg_tbl_sellers`.`zone` FROM `thecarg_db`.`cg_tbl_sellers` WHERE `thecarg_db`.`cg_tbl_sellers`.`status` = ?
prisma:query SELECT `thecarg_db`.`cg_tbl_products`.`id`, `thecarg_db`.`cg_tbl_products`.`article_number` FROM `thecarg_db`.`cg_tbl_products` WHERE (`thecarg_db`.`cg_tbl_products`.`status` = ? AND (`thecarg_db`.`cg_tbl_products`.`id`) IN (SELECT `t1`.`product_id` FROM `thecarg_db`.`cg_tbl_seller_products` AS `t1` WHERE (`t1`.`status` = ? AND `t1`.`seller_id` IN (?) AND `t1`.`product_id` IS NOT NULL)) AND `thecarg_db`.`cg_tbl_products`.`generic_article_id` = ? AND `thecarg_db`.`cg_tbl_products`.`assembly_group_node_id` = ?) ORDER BY `thecarg_db`.`cg_tbl_products`.`id` ASC
prisma:query SELECT `thecarg_db`.`cg_tbl_products`.`article_number` FROM `thecarg_db`.`cg_tbl_products` WHERE `thecarg_db`.`cg_tbl_products`.`id` IN (?,?) GROUP BY `thecarg_db`.`cg_tbl_products`.`article_number`
prisma:query SELECT MIN(`thecarg_db`.`cg_tbl_products`.`id`), `thecarg_db`.`cg_tbl_products`.`article_number` FROM `thecarg_db`.`cg_tbl_products` WHERE `thecarg_db`.`cg_tbl_products`.`id` IN (?,?) GROUP BY `thecarg_db`.`cg_tbl_products`.`article_number` ORDER BY MIN(`thecarg_db`.`cg_tbl_products`.`id`) ASC LIMIT ? OFFSET ?
prisma:query SELECT `thecarg_db`.`cg_tbl_products`.`id`, `thecarg_db`.`cg_tbl_products`.`techdoc_article_id`, `thecarg_db`.`cg_tbl_products`.`techdoc_brand_id`, `thecarg_db`.`cg_tbl_products`.`article_number`, `thecarg_db`.`cg_tbl_products`.`brand_name`, `thecarg_db`.`cg_tbl_products`.`status`, `thecarg_db`.`cg_tbl_products`.`created_at`, `thecarg_db`.`cg_tbl_products`.`updated_at`, `thecarg_db`.`cg_tbl_products`.`assembly_group_node_id`, `thecarg_db`.`cg_tbl_products`.`generic_article_id` FROM `thecarg_db`.`cg_tbl_products` WHERE `thecarg_db`.`cg_tbl_products`.`id` IN (?,?) ORDER BY `thecarg_db`.`cg_tbl_products`.`id` ASC
[2026-06-24T11:40:09.098Z] [INFO]: TecDoc → getArticles | provider: 25791 | country: IN | url: https://webservice.tecalliance.services/pegasus-3-0/services/TecdocToCatDLB.jsonEndpoint
--------------------------------------------------

[2026-06-24T11:40:09.101Z] [INFO]: TecDoc → getArticles | provider: 25791 | country: IN | url: https://webservice.tecalliance.services/pegasus-3-0/services/TecdocToCatDLB.jsonEndpoint
--------------------------------------------------

prisma:query SELECT `thecarg_db`.`cg_tbl_products`.`id`, `thecarg_db`.`cg_tbl_products`.`techdoc_article_id` FROM `thecarg_db`.`cg_tbl_products` WHERE (`thecarg_db`.`cg_tbl_products`.`techdoc_article_id` IN (?,?) AND `thecarg_db`.`cg_tbl_products`.`status` = ? AND `thecarg_db`.`cg_tbl_products`.`id` IN (?,?))
prisma:query SELECT `thecarg_db`.`cg_tbl_seller_products`.`id`, `thecarg_db`.`cg_tbl_seller_products`.`product_id`, `thecarg_db`.`cg_tbl_seller_products`.`customer_selling_price`, `thecarg_db`.`cg_tbl_seller_products`.`garage_selling_price`, `thecarg_db`.`cg_tbl_seller_products`.`mrp`, `thecarg_db`.`cg_tbl_seller_products`.`customer_discount_type`, `thecarg_db`.`cg_tbl_seller_products`.`customer_discount`, `thecarg_db`.`cg_tbl_seller_products`.`garage_discount_type`, `thecarg_db`.`cg_tbl_seller_products`.`garage_discount`, `thecarg_db`.`cg_tbl_seller_products`.`is_in_stock`, `thecarg_db`.`cg_tbl_seller_products`.`is_returnable`, `thecarg_db`.`cg_tbl_seller_products`.`return_days`, `thecarg_db`.`cg_tbl_seller_products`.`warranty_enabled`, `thecarg_db`.`cg_tbl_seller_products`.`warranty_duration`, `thecarg_db`.`cg_tbl_seller_products`.`warranty_duration_type`, `thecarg_db`.`cg_tbl_seller_products`.`warranty_document`, `thecarg_db`.`cg_tbl_seller_products`.`tax`, `thecarg_db`.`cg_tbl_seller_products`.`seller_id` FROM `thecarg_db`.`cg_tbl_seller_products` LEFT JOIN `thecarg_db`.`cg_tbl_sellers` AS `j1` ON (`j1`.`id`) = (`thecarg_db`.`cg_tbl_seller_products`.`seller_id`) WHERE (`thecarg_db`.`cg_tbl_seller_products`.`product_id` IN (?,?) AND `thecarg_db`.`cg_tbl_seller_products`.`status` = ? AND (`j1`.`status` = ? AND (`j1`.`id` IS NOT NULL))) ORDER BY `thecarg_db`.`cg_tbl_seller_products`.`customer_selling_price` ASC
prisma:query SELECT `thecarg_db`.`cg_tbl_sellers`.`id`, `thecarg_db`.`cg_tbl_sellers`.`seller_id`, `thecarg_db`.`cg_tbl_sellers`.`first_name`, `thecarg_db`.`cg_tbl_sellers`.`last_name`, `thecarg_db`.`cg_tbl_sellers`.`trade_name`, `thecarg_db`.`cg_tbl_sellers`.`city`, `thecarg_db`.`cg_tbl_sellers`.`state`, `thecarg_db`.`cg_tbl_sellers`.`email`, `thecarg_db`.`cg_tbl_sellers`.`mobile`, `thecarg_db`.`cg_tbl_sellers`.`address`, `thecarg_db`.`cg_tbl_sellers`.`pincode`, `thecarg_db`.`cg_tbl_sellers`.`status`, `thecarg_db`.`cg_tbl_sellers`.`operating_hours`, `thecarg_db`.`cg_tbl_sellers`.`zone`, `thecarg_db`.`cg_tbl_sellers`.`latitude`, `thecarg_db`.`cg_tbl_sellers`.`longitude` FROM `thecarg_db`.`cg_tbl_sellers` WHERE `thecarg_db`.`cg_tbl_sellers`.`id` IN (?)
prisma:query SELECT `thecarg_db`.`cg_tbl_zones`.`id`, `thecarg_db`.`cg_tbl_zones`.`zone_name` FROM `thecarg_db`.`cg_tbl_zones` WHERE 1=1
prisma:query SELECT `thecarg_db`.`cg_tbl_zones`.`id` FROM `thecarg_db`.`cg_tbl_zones` WHERE (`thecarg_db`.`cg_tbl_zones`.`id` IN (?) AND `thecarg_db`.`cg_tbl_zones`.`status` = ?)
prisma:query SELECT `thecarg_db`.`cg_tbl_products`.`id`, `thecarg_db`.`cg_tbl_products`.`techdoc_article_id`, `thecarg_db`.`cg_tbl_products`.`techdoc_brand_id`, `thecarg_db`.`cg_tbl_products`.`article_number`, `thecarg_db`.`cg_tbl_products`.`brand_name`, `thecarg_db`.`cg_tbl_products`.`status`, `thecarg_db`.`cg_tbl_products`.`created_at`, `thecarg_db`.`cg_tbl_products`.`updated_at`, `thecarg_db`.`cg_tbl_products`.`assembly_group_node_id`, `thecarg_db`.`cg_tbl_products`.`generic_article_id` FROM `thecarg_db`.`cg_tbl_products` WHERE (`thecarg_db`.`cg_tbl_products`.`id` = ? AND `thecarg_db`.`cg_tbl_products`.`status` = ?) LIMIT ? OFFSET ?
prisma:query SELECT 1
[2026-06-24T11:40:11.616Z] [INFO]: TecDoc → getArticles | provider: 25791 | country: IN | url: https://webservice.tecalliance.services/pegasus-3-0/services/TecdocToCatDLB.jsonEndpoint
--------------------------------------------------

prisma:query SELECT `thecarg_db`.`cg_tbl_zones`.`id` FROM `thecarg_db`.`cg_tbl_zones` WHERE (`thecarg_db`.`cg_tbl_zones`.`id` IN (?) AND `thecarg_db`.`cg_tbl_zones`.`status` = ?)
prisma:query SELECT `thecarg_db`.`cg_tbl_sellers`.`id`, `thecarg_db`.`cg_tbl_sellers`.`status`, `thecarg_db`.`cg_tbl_sellers`.`operating_hours`, `thecarg_db`.`cg_tbl_sellers`.`zone` FROM `thecarg_db`.`cg_tbl_sellers` WHERE `thecarg_db`.`cg_tbl_sellers`.`status` = ?
prisma:query SELECT `thecarg_db`.`cg_tbl_products`.`id`, `thecarg_db`.`cg_tbl_products`.`article_number` FROM `thecarg_db`.`cg_tbl_products` WHERE (`thecarg_db`.`cg_tbl_products`.`status` = ? AND (`thecarg_db`.`cg_tbl_products`.`id`) IN (SELECT `t1`.`product_id` FROM `thecarg_db`.`cg_tbl_seller_products` AS `t1` WHERE (`t1`.`status` = ? AND `t1`.`seller_id` IN (?) AND `t1`.`product_id` IS NOT NULL)) AND `thecarg_db`.`cg_tbl_products`.`generic_article_id` = ? AND `thecarg_db`.`cg_tbl_products`.`assembly_group_node_id` = ?) ORDER BY `thecarg_db`.`cg_tbl_products`.`id` ASC
prisma:query SELECT `thecarg_db`.`cg_tbl_products`.`article_number` FROM `thecarg_db`.`cg_tbl_products` WHERE `thecarg_db`.`cg_tbl_products`.`id` IN (?,?) GROUP BY `thecarg_db`.`cg_tbl_products`.`article_number`
prisma:query SELECT MIN(`thecarg_db`.`cg_tbl_products`.`id`), `thecarg_db`.`cg_tbl_products`.`article_number` FROM `thecarg_db`.`cg_tbl_products` WHERE `thecarg_db`.`cg_tbl_products`.`id` IN (?,?) GROUP BY `thecarg_db`.`cg_tbl_products`.`article_number` ORDER BY MIN(`thecarg_db`.`cg_tbl_products`.`id`) ASC LIMIT ? OFFSET ?
prisma:query SELECT `thecarg_db`.`cg_tbl_products`.`id`, `thecarg_db`.`cg_tbl_products`.`techdoc_article_id`, `thecarg_db`.`cg_tbl_products`.`techdoc_brand_id`, `thecarg_db`.`cg_tbl_products`.`article_number`, `thecarg_db`.`cg_tbl_products`.`brand_name`, `thecarg_db`.`cg_tbl_products`.`status`, `thecarg_db`.`cg_tbl_products`.`created_at`, `thecarg_db`.`cg_tbl_products`.`updated_at`, `thecarg_db`.`cg_tbl_products`.`assembly_group_node_id`, `thecarg_db`.`cg_tbl_products`.`generic_article_id` FROM `thecarg_db`.`cg_tbl_products` WHERE `thecarg_db`.`cg_tbl_products`.`id` IN (?,?) ORDER BY `thecarg_db`.`cg_tbl_products`.`id` ASC
[2026-06-24T11:40:11.637Z] [INFO]: TecDoc → getArticles | provider: 25791 | country: IN | url: https://webservice.tecalliance.services/pegasus-3-0/services/TecdocToCatDLB.jsonEndpoint
--------------------------------------------------

[2026-06-24T11:40:11.639Z] [INFO]: TecDoc → getArticles | provider: 25791 | country: IN | url: https://webservice.tecalliance.services/pegasus-3-0/services/TecdocToCatDLB.jsonEndpoint
--------------------------------------------------

[2026-06-24T11:40:11.783Z] [INFO]: TecDoc → getArticleLinkedAllLinkingTarget4 | provider: 25791 | country: IN | url: https://webservice.tecalliance.services/pegasus-3-0/services/TecdocToCatDLB.jsonEndpoint
--------------------------------------------------

[2026-06-24T11:40:11.944Z] [INFO]: TecDoc → getArticleLinkedAllLinkingTargetsByIds3 | provider: 25791 | country: IN | url: https://webservice.tecalliance.services/pegasus-3-0/services/TecdocToCatDLB.jsonEndpoint
--------------------------------------------------

prisma:query SELECT `thecarg_db`.`cg_tbl_seller_products`.`id`, `thecarg_db`.`cg_tbl_seller_products`.`customer_selling_price`, `thecarg_db`.`cg_tbl_seller_products`.`garage_selling_price`, `thecarg_db`.`cg_tbl_seller_products`.`mrp`, `thecarg_db`.`cg_tbl_seller_products`.`customer_discount_type`, `thecarg_db`.`cg_tbl_seller_products`.`customer_discount`, `thecarg_db`.`cg_tbl_seller_products`.`garage_discount_type`, `thecarg_db`.`cg_tbl_seller_products`.`garage_discount`, `thecarg_db`.`cg_tbl_seller_products`.`is_in_stock`, `thecarg_db`.`cg_tbl_seller_products`.`is_returnable`, `thecarg_db`.`cg_tbl_seller_products`.`return_days`, `thecarg_db`.`cg_tbl_seller_products`.`warranty_enabled`, `thecarg_db`.`cg_tbl_seller_products`.`warranty_duration`, `thecarg_db`.`cg_tbl_seller_products`.`warranty_duration_type`, `thecarg_db`.`cg_tbl_seller_products`.`warranty_document`, `thecarg_db`.`cg_tbl_seller_products`.`tax`, `thecarg_db`.`cg_tbl_seller_products`.`seller_id` FROM `thecarg_db`.`cg_tbl_seller_products` LEFT JOIN `thecarg_db`.`cg_tbl_sellers` AS `j1` ON (`j1`.`id`) = (`thecarg_db`.`cg_tbl_seller_products`.`seller_id`) WHERE (`thecarg_db`.`cg_tbl_seller_products`.`product_id` = ? AND `thecarg_db`.`cg_tbl_seller_products`.`status` = ? AND (`j1`.`status` = ? AND (`j1`.`id` IS NOT NULL))) ORDER BY `thecarg_db`.`cg_tbl_seller_products`.`customer_selling_price` ASC
prisma:query SELECT `thecarg_db`.`cg_tbl_products`.`id`, `thecarg_db`.`cg_tbl_products`.`techdoc_article_id` FROM `thecarg_db`.`cg_tbl_products` WHERE (`thecarg_db`.`cg_tbl_products`.`techdoc_article_id` IN (?,?) AND `thecarg_db`.`cg_tbl_products`.`status` = ? AND `thecarg_db`.`cg_tbl_products`.`id` IN (?,?))
prisma:query SELECT `thecarg_db`.`cg_tbl_sellers`.`id`, `thecarg_db`.`cg_tbl_sellers`.`seller_id`, `thecarg_db`.`cg_tbl_sellers`.`first_name`, `thecarg_db`.`cg_tbl_sellers`.`last_name`, `thecarg_db`.`cg_tbl_sellers`.`trade_name`, `thecarg_db`.`cg_tbl_sellers`.`city`, `thecarg_db`.`cg_tbl_sellers`.`state`, `thecarg_db`.`cg_tbl_sellers`.`email`, `thecarg_db`.`cg_tbl_sellers`.`mobile`, `thecarg_db`.`cg_tbl_sellers`.`address`, `thecarg_db`.`cg_tbl_sellers`.`pincode`, `thecarg_db`.`cg_tbl_sellers`.`status`, `thecarg_db`.`cg_tbl_sellers`.`operating_hours`, `thecarg_db`.`cg_tbl_sellers`.`zone`, `thecarg_db`.`cg_tbl_sellers`.`latitude`, `thecarg_db`.`cg_tbl_sellers`.`longitude` FROM `thecarg_db`.`cg_tbl_sellers` WHERE `thecarg_db`.`cg_tbl_sellers`.`id` IN (?)
prisma:query SELECT `thecarg_db`.`cg_tbl_zones`.`id`, `thecarg_db`.`cg_tbl_zones`.`zone_name` FROM `thecarg_db`.`cg_tbl_zones` WHERE 1=1
prisma:query SELECT `thecarg_db`.`cg_tbl_seller_products`.`id`, `thecarg_db`.`cg_tbl_seller_products`.`product_id`, `thecarg_db`.`cg_tbl_seller_products`.`customer_selling_price`, `thecarg_db`.`cg_tbl_seller_products`.`garage_selling_price`, `thecarg_db`.`cg_tbl_seller_products`.`mrp`, `thecarg_db`.`cg_tbl_seller_products`.`customer_discount_type`, `thecarg_db`.`cg_tbl_seller_products`.`customer_discount`, `thecarg_db`.`cg_tbl_seller_products`.`garage_discount_type`, `thecarg_db`.`cg_tbl_seller_products`.`garage_discount`, `thecarg_db`.`cg_tbl_seller_products`.`is_in_stock`, `thecarg_db`.`cg_tbl_seller_products`.`is_returnable`, `thecarg_db`.`cg_tbl_seller_products`.`return_days`, `thecarg_db`.`cg_tbl_seller_products`.`warranty_enabled`, `thecarg_db`.`cg_tbl_seller_products`.`warranty_duration`, `thecarg_db`.`cg_tbl_seller_products`.`warranty_duration_type`, `thecarg_db`.`cg_tbl_seller_products`.`warranty_document`, `thecarg_db`.`cg_tbl_seller_products`.`tax`, `thecarg_db`.`cg_tbl_seller_products`.`seller_id` FROM `thecarg_db`.`cg_tbl_seller_products` LEFT JOIN `thecarg_db`.`cg_tbl_sellers` AS `j1` ON (`j1`.`id`) = (`thecarg_db`.`cg_tbl_seller_products`.`seller_id`) WHERE (`thecarg_db`.`cg_tbl_seller_products`.`product_id` IN (?,?) AND `thecarg_db`.`cg_tbl_seller_products`.`status` = ? AND (`j1`.`status` = ? AND (`j1`.`id` IS NOT NULL))) ORDER BY `thecarg_db`.`cg_tbl_seller_products`.`customer_selling_price` ASC
prisma:query SELECT `thecarg_db`.`cg_tbl_sellers`.`id`, `thecarg_db`.`cg_tbl_sellers`.`seller_id`, `thecarg_db`.`cg_tbl_sellers`.`first_name`, `thecarg_db`.`cg_tbl_sellers`.`last_name`, `thecarg_db`.`cg_tbl_sellers`.`trade_name`, `thecarg_db`.`cg_tbl_sellers`.`city`, `thecarg_db`.`cg_tbl_sellers`.`state`, `thecarg_db`.`cg_tbl_sellers`.`email`, `thecarg_db`.`cg_tbl_sellers`.`mobile`, `thecarg_db`.`cg_tbl_sellers`.`address`, `thecarg_db`.`cg_tbl_sellers`.`pincode`, `thecarg_db`.`cg_tbl_sellers`.`status`, `thecarg_db`.`cg_tbl_sellers`.`operating_hours`, `thecarg_db`.`cg_tbl_sellers`.`zone`, `thecarg_db`.`cg_tbl_sellers`.`latitude`, `thecarg_db`.`cg_tbl_sellers`.`longitude` FROM `thecarg_db`.`cg_tbl_sellers` WHERE `thecarg_db`.`cg_tbl_sellers`.`id` IN (?)
prisma:query SELECT `thecarg_db`.`cg_tbl_zones`.`id`, `thecarg_db`.`cg_tbl_zones`.`zone_name` FROM `thecarg_db`.`cg_tbl_zones` WHERE 1=1
prisma:query SELECT 1
prisma:query SELECT `thecarg_db`.`cg_tbl_garages`.`id`, `thecarg_db`.`cg_tbl_garages`.`garage_id`, `thecarg_db`.`cg_tbl_garages`.`multiple_garages`, `thecarg_db`.`cg_tbl_garages`.`first_name`, `thecarg_db`.`cg_tbl_garages`.`last_name`, `thecarg_db`.`cg_tbl_garages`.`mobile`, `thecarg_db`.`cg_tbl_garages`.`email`, `thecarg_db`.`cg_tbl_garages`.`trade_name`, `thecarg_db`.`cg_tbl_garages`.`entity_type`, `thecarg_db`.`cg_tbl_garages`.`language`, `thecarg_db`.`cg_tbl_garages`.`aadhaar_number`, `thecarg_db`.`cg_tbl_garages`.`pan_number`, `thecarg_db`.`cg_tbl_garages`.`gstin_number`, `thecarg_db`.`cg_tbl_garages`.`cin_number`, `thecarg_db`.`cg_tbl_garages`.`dob`, `thecarg_db`.`cg_tbl_garages`.`address`, `thecarg_db`.`cg_tbl_garages`.`state`, `thecarg_db`.`cg_tbl_garages`.`city`, `thecarg_db`.`cg_tbl_garages`.`zone`, `thecarg_db`.`cg_tbl_garages`.`pincode`, `thecarg_db`.`cg_tbl_garages`.`latitude`, `thecarg_db`.`cg_tbl_garages`.`longitude`, `thecarg_db`.`cg_tbl_garages`.`bank_name`, `thecarg_db`.`cg_tbl_garages`.`bank_account_number`, `thecarg_db`.`cg_tbl_garages`.`bank_ifsc_code`, `thecarg_db`.`cg_tbl_garages`.`operating_hours`, `thecarg_db`.`cg_tbl_garages`.`vehicle_fuel_types`, `thecarg_db`.`cg_tbl_garages`.`vehicle_classes`, `thecarg_db`.`cg_tbl_garages`.`ev_safety_certificate_file`, `thecarg_db`.`cg_tbl_garages`.`pan_card_file`, `thecarg_db`.`cg_tbl_garages`.`gst_file`, `thecarg_db`.`cg_tbl_garages`.`cin_file`, `thecarg_db`.`cg_tbl_garages`.`bank_document_file`, `thecarg_db`.`cg_tbl_garages`.`aadhaar_card_file`, `thecarg_db`.`cg_tbl_garages`.`profile_photo_file`, `thecarg_db`.`cg_tbl_garages`.`infrastructure_image_file`, `thecarg_db`.`cg_tbl_garages`.`services`, `thecarg_db`.`cg_tbl_garages`.`status`, `thecarg_db`.`cg_tbl_garages`.`is_parent`, `thecarg_db`.`cg_tbl_garages`.`parent_id`, `thecarg_db`.`cg_tbl_garages`.`is_verified`, `thecarg_db`.`cg_tbl_garages`.`fcm_token`, `thecarg_db`.`cg_tbl_garages`.`subscription_id`, `thecarg_db`.`cg_tbl_garages`.`subscription_start_date`, `thecarg_db`.`cg_tbl_garages`.`subscription_end_date`, `thecarg_db`.`cg_tbl_garages`.`created_at`, `thecarg_db`.`cg_tbl_garages`.`updated_at` FROM `thecarg_db`.`cg_tbl_garages` WHERE (`thecarg_db`.`cg_tbl_garages`.`mobile` = ? AND `thecarg_db`.`cg_tbl_garages`.`status` <> ?) LIMIT ? OFFSET ?
prisma:query SELECT `thecarg_db`.`cg_tbl_phone_verifications`.`id`, `thecarg_db`.`cg_tbl_phone_verifications`.`mobile`, `thecarg_db`.`cg_tbl_phone_verifications`.`otp_code`, `thecarg_db`.`cg_tbl_phone_verifications`.`expires_at`, `thecarg_db`.`cg_tbl_phone_verifications`.`created_at`, `thecarg_db`.`cg_tbl_phone_verifications`.`updated_at` FROM `thecarg_db`.`cg_tbl_phone_verifications` WHERE `thecarg_db`.`cg_tbl_phone_verifications`.`mobile` = ? ORDER BY `thecarg_db`.`cg_tbl_phone_verifications`.`created_at` DESC LIMIT ? OFFSET ?
prisma:query DELETE FROM `thecarg_db`.`cg_tbl_phone_verifications` WHERE `thecarg_db`.`cg_tbl_phone_verifications`.`mobile` = ?
prisma:query BEGIN
prisma:query INSERT INTO `thecarg_db`.`cg_tbl_phone_verifications` (`id`,`mobile`,`otp_code`,`expires_at`,`created_at`,`updated_at`) VALUES (?,?,?,?,?,?)
prisma:query SELECT `thecarg_db`.`cg_tbl_phone_verifications`.`id`, `thecarg_db`.`cg_tbl_phone_verifications`.`mobile`, `thecarg_db`.`cg_tbl_phone_verifications`.`otp_code`, `thecarg_db`.`cg_tbl_phone_verifications`.`expires_at`, `thecarg_db`.`cg_tbl_phone_verifications`.`created_at`, `thecarg_db`.`cg_tbl_phone_verifications`.`updated_at` FROM `thecarg_db`.`cg_tbl_phone_verifications` WHERE `thecarg_db`.`cg_tbl_phone_verifications`.`id` = ? LIMIT ? OFFSET ?
prisma:query COMMIT
[2026-06-24T11:40:27.867Z] [INFO]: [GARAGE OTP FLOW] Generated OTP for (+919876543210): 4321
--------------------------------------------------

prisma:query SELECT `thecarg_db`.`cg_tbl_phone_verifications`.`id`, `thecarg_db`.`cg_tbl_phone_verifications`.`mobile`, `thecarg_db`.`cg_tbl_phone_verifications`.`otp_code`, `thecarg_db`.`cg_tbl_phone_verifications`.`expires_at`, `thecarg_db`.`cg_tbl_phone_verifications`.`created_at`, `thecarg_db`.`cg_tbl_phone_verifications`.`updated_at` FROM `thecarg_db`.`cg_tbl_phone_verifications` WHERE (`thecarg_db`.`cg_tbl_phone_verifications`.`mobile` = ? AND `thecarg_db`.`cg_tbl_phone_verifications`.`otp_code` = ?) ORDER BY `thecarg_db`.`cg_tbl_phone_verifications`.`created_at` DESC LIMIT ? OFFSET ?
prisma:query SELECT `thecarg_db`.`cg_tbl_garages`.`id`, `thecarg_db`.`cg_tbl_garages`.`garage_id`, `thecarg_db`.`cg_tbl_garages`.`multiple_garages`, `thecarg_db`.`cg_tbl_garages`.`first_name`, `thecarg_db`.`cg_tbl_garages`.`last_name`, `thecarg_db`.`cg_tbl_garages`.`mobile`, `thecarg_db`.`cg_tbl_garages`.`email`, `thecarg_db`.`cg_tbl_garages`.`trade_name`, `thecarg_db`.`cg_tbl_garages`.`entity_type`, `thecarg_db`.`cg_tbl_garages`.`language`, `thecarg_db`.`cg_tbl_garages`.`aadhaar_number`, `thecarg_db`.`cg_tbl_garages`.`pan_number`, `thecarg_db`.`cg_tbl_garages`.`gstin_number`, `thecarg_db`.`cg_tbl_garages`.`cin_number`, `thecarg_db`.`cg_tbl_garages`.`dob`, `thecarg_db`.`cg_tbl_garages`.`address`, `thecarg_db`.`cg_tbl_garages`.`state`, `thecarg_db`.`cg_tbl_garages`.`city`, `thecarg_db`.`cg_tbl_garages`.`zone`, `thecarg_db`.`cg_tbl_garages`.`pincode`, `thecarg_db`.`cg_tbl_garages`.`latitude`, `thecarg_db`.`cg_tbl_garages`.`longitude`, `thecarg_db`.`cg_tbl_garages`.`bank_name`, `thecarg_db`.`cg_tbl_garages`.`bank_account_number`, `thecarg_db`.`cg_tbl_garages`.`bank_ifsc_code`, `thecarg_db`.`cg_tbl_garages`.`operating_hours`, `thecarg_db`.`cg_tbl_garages`.`vehicle_fuel_types`, `thecarg_db`.`cg_tbl_garages`.`vehicle_classes`, `thecarg_db`.`cg_tbl_garages`.`ev_safety_certificate_file`, `thecarg_db`.`cg_tbl_garages`.`pan_card_file`, `thecarg_db`.`cg_tbl_garages`.`gst_file`, `thecarg_db`.`cg_tbl_garages`.`cin_file`, `thecarg_db`.`cg_tbl_garages`.`bank_document_file`, `thecarg_db`.`cg_tbl_garages`.`aadhaar_card_file`, `thecarg_db`.`cg_tbl_garages`.`profile_photo_file`, `thecarg_db`.`cg_tbl_garages`.`infrastructure_image_file`, `thecarg_db`.`cg_tbl_garages`.`services`, `thecarg_db`.`cg_tbl_garages`.`status`, `thecarg_db`.`cg_tbl_garages`.`is_parent`, `thecarg_db`.`cg_tbl_garages`.`parent_id`, `thecarg_db`.`cg_tbl_garages`.`is_verified`, `thecarg_db`.`cg_tbl_garages`.`fcm_token`, `thecarg_db`.`cg_tbl_garages`.`subscription_id`, `thecarg_db`.`cg_tbl_garages`.`subscription_start_date`, `thecarg_db`.`cg_tbl_garages`.`subscription_end_date`, `thecarg_db`.`cg_tbl_garages`.`created_at`, `thecarg_db`.`cg_tbl_garages`.`updated_at` FROM `thecarg_db`.`cg_tbl_garages` WHERE (`thecarg_db`.`cg_tbl_garages`.`mobile` = ? AND `thecarg_db`.`cg_tbl_garages`.`status` <> ?) LIMIT ? OFFSET ?
prisma:query BEGIN
prisma:query INSERT INTO `thecarg_db`.`cg_tbl_refresh_tokens` (`id`,`expires_at`,`created_at`,`updated_at`,`device_info`,`platform`,`refresh_token`,`tokenable_id`,`tokenable_type`) VALUES (?,?,?,?,?,?,?,?,?)
prisma:query SELECT `thecarg_db`.`cg_tbl_refresh_tokens`.`id`, `thecarg_db`.`cg_tbl_refresh_tokens`.`expires_at`, `thecarg_db`.`cg_tbl_refresh_tokens`.`created_at`, `thecarg_db`.`cg_tbl_refresh_tokens`.`updated_at`, `thecarg_db`.`cg_tbl_refresh_tokens`.`device_info`, `thecarg_db`.`cg_tbl_refresh_tokens`.`platform`, `thecarg_db`.`cg_tbl_refresh_tokens`.`refresh_token`, `thecarg_db`.`cg_tbl_refresh_tokens`.`tokenable_id`, `thecarg_db`.`cg_tbl_refresh_tokens`.`tokenable_type` FROM `thecarg_db`.`cg_tbl_refresh_tokens` WHERE `thecarg_db`.`cg_tbl_refresh_tokens`.`id` = ? LIMIT ? OFFSET ?
prisma:query COMMIT
prisma:query DELETE FROM `thecarg_db`.`cg_tbl_phone_verifications` WHERE `thecarg_db`.`cg_tbl_phone_verifications`.`mobile` = ?
[2026-06-24T11:40:31.449Z] [INFO]: [GARAGE OTP FLOW] Successful login/verification completed for mobile: +919876543210
--------------------------------------------------

[2026-06-24T11:41:05.175Z] [INFO]: [ZONE_RESOLVE] Resolving zone for coordinates: (13.069852978031037, 80.19511070046688)
--------------------------------------------------

prisma:query SELECT 1
prisma:query SELECT id, status, zone_name AS zoneName, zone_code AS zoneCode, ABS(ST_Area(coordinates)) as area 
       FROM cg_tbl_zones 
       WHERE ST_Contains(coordinates, ST_GeomFromText(?))
       ORDER BY area ASC
prisma:query SELECT `thecarg_db`.`cg_tbl_garages`.`id`, `thecarg_db`.`cg_tbl_garages`.`garage_id`, `thecarg_db`.`cg_tbl_garages`.`multiple_garages`, `thecarg_db`.`cg_tbl_garages`.`first_name`, `thecarg_db`.`cg_tbl_garages`.`last_name`, `thecarg_db`.`cg_tbl_garages`.`mobile`, `thecarg_db`.`cg_tbl_garages`.`email`, `thecarg_db`.`cg_tbl_garages`.`trade_name`, `thecarg_db`.`cg_tbl_garages`.`entity_type`, `thecarg_db`.`cg_tbl_garages`.`language`, `thecarg_db`.`cg_tbl_garages`.`aadhaar_number`, `thecarg_db`.`cg_tbl_garages`.`pan_number`, `thecarg_db`.`cg_tbl_garages`.`gstin_number`, `thecarg_db`.`cg_tbl_garages`.`cin_number`, `thecarg_db`.`cg_tbl_garages`.`dob`, `thecarg_db`.`cg_tbl_garages`.`address`, `thecarg_db`.`cg_tbl_garages`.`state`, `thecarg_db`.`cg_tbl_garages`.`city`, `thecarg_db`.`cg_tbl_garages`.`zone`, `thecarg_db`.`cg_tbl_garages`.`pincode`, `thecarg_db`.`cg_tbl_garages`.`latitude`, `thecarg_db`.`cg_tbl_garages`.`longitude`, `thecarg_db`.`cg_tbl_garages`.`bank_name`, `thecarg_db`.`cg_tbl_garages`.`bank_account_number`, `thecarg_db`.`cg_tbl_garages`.`bank_ifsc_code`, `thecarg_db`.`cg_tbl_garages`.`operating_hours`, `thecarg_db`.`cg_tbl_garages`.`vehicle_fuel_types`, `thecarg_db`.`cg_tbl_garages`.`vehicle_classes`, `thecarg_db`.`cg_tbl_garages`.`ev_safety_certificate_file`, `thecarg_db`.`cg_tbl_garages`.`pan_card_file`, `thecarg_db`.`cg_tbl_garages`.`gst_file`, `thecarg_db`.`cg_tbl_garages`.`cin_file`, `thecarg_db`.`cg_tbl_garages`.`bank_document_file`, `thecarg_db`.`cg_tbl_garages`.`aadhaar_card_file`, `thecarg_db`.`cg_tbl_garages`.`profile_photo_file`, `thecarg_db`.`cg_tbl_garages`.`infrastructure_image_file`, `thecarg_db`.`cg_tbl_garages`.`services`, `thecarg_db`.`cg_tbl_garages`.`status`, `thecarg_db`.`cg_tbl_garages`.`is_parent`, `thecarg_db`.`cg_tbl_garages`.`parent_id`, `thecarg_db`.`cg_tbl_garages`.`is_verified`, `thecarg_db`.`cg_tbl_garages`.`fcm_token`, `thecarg_db`.`cg_tbl_garages`.`subscription_id`, `thecarg_db`.`cg_tbl_garages`.`subscription_start_date`, `thecarg_db`.`cg_tbl_garages`.`subscription_end_date`, `thecarg_db`.`cg_tbl_garages`.`created_at`, `thecarg_db`.`cg_tbl_garages`.`updated_at` FROM `thecarg_db`.`cg_tbl_garages` WHERE (`thecarg_db`.`cg_tbl_garages`.`mobile` = ? AND `thecarg_db`.`cg_tbl_garages`.`status` <> ?) LIMIT ? OFFSET ?
prisma:query SELECT `thecarg_db`.`cg_tbl_phone_verifications`.`id`, `thecarg_db`.`cg_tbl_phone_verifications`.`mobile`, `thecarg_db`.`cg_tbl_phone_verifications`.`otp_code`, `thecarg_db`.`cg_tbl_phone_verifications`.`expires_at`, `thecarg_db`.`cg_tbl_phone_verifications`.`created_at`, `thecarg_db`.`cg_tbl_phone_verifications`.`updated_at` FROM `thecarg_db`.`cg_tbl_phone_verifications` WHERE `thecarg_db`.`cg_tbl_phone_verifications`.`mobile` = ? ORDER BY `thecarg_db`.`cg_tbl_phone_verifications`.`created_at` DESC LIMIT ? OFFSET ?
prisma:query DELETE FROM `thecarg_db`.`cg_tbl_phone_verifications` WHERE `thecarg_db`.`cg_tbl_phone_verifications`.`mobile` = ?
prisma:query BEGIN
prisma:query INSERT INTO `thecarg_db`.`cg_tbl_phone_verifications` (`id`,`mobile`,`otp_code`,`expires_at`,`created_at`,`updated_at`) VALUES (?,?,?,?,?,?)
prisma:query SELECT `thecarg_db`.`cg_tbl_phone_verifications`.`id`, `thecarg_db`.`cg_tbl_phone_verifications`.`mobile`, `thecarg_db`.`cg_tbl_phone_verifications`.`otp_code`, `thecarg_db`.`cg_tbl_phone_verifications`.`expires_at`, `thecarg_db`.`cg_tbl_phone_verifications`.`created_at`, `thecarg_db`.`cg_tbl_phone_verifications`.`updated_at` FROM `thecarg_db`.`cg_tbl_phone_verifications` WHERE `thecarg_db`.`cg_tbl_phone_verifications`.`id` = ? LIMIT ? OFFSET ?
prisma:query COMMIT
[2026-06-24T11:42:23.998Z] [INFO]: [GARAGE OTP FLOW] Generated OTP for (+919876543210): 4321
--------------------------------------------------

prisma:query SELECT `thecarg_db`.`cg_tbl_phone_verifications`.`id`, `thecarg_db`.`cg_tbl_phone_verifications`.`mobile`, `thecarg_db`.`cg_tbl_phone_verifications`.`otp_code`, `thecarg_db`.`cg_tbl_phone_verifications`.`expires_at`, `thecarg_db`.`cg_tbl_phone_verifications`.`created_at`, `thecarg_db`.`cg_tbl_phone_verifications`.`updated_at` FROM `thecarg_db`.`cg_tbl_phone_verifications` WHERE (`thecarg_db`.`cg_tbl_phone_verifications`.`mobile` = ? AND `thecarg_db`.`cg_tbl_phone_verifications`.`otp_code` = ?) ORDER BY `thecarg_db`.`cg_tbl_phone_verifications`.`created_at` DESC LIMIT ? OFFSET ?
prisma:query SELECT `thecarg_db`.`cg_tbl_garages`.`id`, `thecarg_db`.`cg_tbl_garages`.`garage_id`, `thecarg_db`.`cg_tbl_garages`.`multiple_garages`, `thecarg_db`.`cg_tbl_garages`.`first_name`, `thecarg_db`.`cg_tbl_garages`.`last_name`, `thecarg_db`.`cg_tbl_garages`.`mobile`, `thecarg_db`.`cg_tbl_garages`.`email`, `thecarg_db`.`cg_tbl_garages`.`trade_name`, `thecarg_db`.`cg_tbl_garages`.`entity_type`, `thecarg_db`.`cg_tbl_garages`.`language`, `thecarg_db`.`cg_tbl_garages`.`aadhaar_number`, `thecarg_db`.`cg_tbl_garages`.`pan_number`, `thecarg_db`.`cg_tbl_garages`.`gstin_number`, `thecarg_db`.`cg_tbl_garages`.`cin_number`, `thecarg_db`.`cg_tbl_garages`.`dob`, `thecarg_db`.`cg_tbl_garages`.`address`, `thecarg_db`.`cg_tbl_garages`.`state`, `thecarg_db`.`cg_tbl_garages`.`city`, `thecarg_db`.`cg_tbl_garages`.`zone`, `thecarg_db`.`cg_tbl_garages`.`pincode`, `thecarg_db`.`cg_tbl_garages`.`latitude`, `thecarg_db`.`cg_tbl_garages`.`longitude`, `thecarg_db`.`cg_tbl_garages`.`bank_name`, `thecarg_db`.`cg_tbl_garages`.`bank_account_number`, `thecarg_db`.`cg_tbl_garages`.`bank_ifsc_code`, `thecarg_db`.`cg_tbl_garages`.`operating_hours`, `thecarg_db`.`cg_tbl_garages`.`vehicle_fuel_types`, `thecarg_db`.`cg_tbl_garages`.`vehicle_classes`, `thecarg_db`.`cg_tbl_garages`.`ev_safety_certificate_file`, `thecarg_db`.`cg_tbl_garages`.`pan_card_file`, `thecarg_db`.`cg_tbl_garages`.`gst_file`, `thecarg_db`.`cg_tbl_garages`.`cin_file`, `thecarg_db`.`cg_tbl_garages`.`bank_document_file`, `thecarg_db`.`cg_tbl_garages`.`aadhaar_card_file`, `thecarg_db`.`cg_tbl_garages`.`profile_photo_file`, `thecarg_db`.`cg_tbl_garages`.`infrastructure_image_file`, `thecarg_db`.`cg_tbl_garages`.`services`, `thecarg_db`.`cg_tbl_garages`.`status`, `thecarg_db`.`cg_tbl_garages`.`is_parent`, `thecarg_db`.`cg_tbl_garages`.`parent_id`, `thecarg_db`.`cg_tbl_garages`.`is_verified`, `thecarg_db`.`cg_tbl_garages`.`fcm_token`, `thecarg_db`.`cg_tbl_garages`.`subscription_id`, `thecarg_db`.`cg_tbl_garages`.`subscription_start_date`, `thecarg_db`.`cg_tbl_garages`.`subscription_end_date`, `thecarg_db`.`cg_tbl_garages`.`created_at`, `thecarg_db`.`cg_tbl_garages`.`updated_at` FROM `thecarg_db`.`cg_tbl_garages` WHERE (`thecarg_db`.`cg_tbl_garages`.`mobile` = ? AND `thecarg_db`.`cg_tbl_garages`.`status` <> ?) LIMIT ? OFFSET ?
prisma:query BEGIN
prisma:query INSERT INTO `thecarg_db`.`cg_tbl_refresh_tokens` (`id`,`expires_at`,`created_at`,`updated_at`,`device_info`,`platform`,`refresh_token`,`tokenable_id`,`tokenable_type`) VALUES (?,?,?,?,?,?,?,?,?)
prisma:query SELECT `thecarg_db`.`cg_tbl_refresh_tokens`.`id`, `thecarg_db`.`cg_tbl_refresh_tokens`.`expires_at`, `thecarg_db`.`cg_tbl_refresh_tokens`.`created_at`, `thecarg_db`.`cg_tbl_refresh_tokens`.`updated_at`, `thecarg_db`.`cg_tbl_refresh_tokens`.`device_info`, `thecarg_db`.`cg_tbl_refresh_tokens`.`platform`, `thecarg_db`.`cg_tbl_refresh_tokens`.`refresh_token`, `thecarg_db`.`cg_tbl_refresh_tokens`.`tokenable_id`, `thecarg_db`.`cg_tbl_refresh_tokens`.`tokenable_type` FROM `thecarg_db`.`cg_tbl_refresh_tokens` WHERE `thecarg_db`.`cg_tbl_refresh_tokens`.`id` = ? LIMIT ? OFFSET ?
prisma:query COMMIT
prisma:query DELETE FROM `thecarg_db`.`cg_tbl_phone_verifications` WHERE `thecarg_db`.`cg_tbl_phone_verifications`.`mobile` = ?
[2026-06-24T11:42:28.422Z] [INFO]: [GARAGE OTP FLOW] Successful login/verification completed for mobile: +919876543210
--------------------------------------------------

prisma:query SELECT `thecarg_db`.`cg_tbl_zones`.`id` FROM `thecarg_db`.`cg_tbl_zones` WHERE (`thecarg_db`.`cg_tbl_zones`.`id` IN (?) AND `thecarg_db`.`cg_tbl_zones`.`status` = ?)
prisma:query SELECT `thecarg_db`.`cg_tbl_sellers`.`id`, `thecarg_db`.`cg_tbl_sellers`.`status`, `thecarg_db`.`cg_tbl_sellers`.`operating_hours`, `thecarg_db`.`cg_tbl_sellers`.`zone` FROM `thecarg_db`.`cg_tbl_sellers` WHERE `thecarg_db`.`cg_tbl_sellers`.`status` = ?
prisma:query SELECT `thecarg_db`.`cg_tbl_products`.`id`, `thecarg_db`.`cg_tbl_products`.`article_number` FROM `thecarg_db`.`cg_tbl_products` WHERE (`thecarg_db`.`cg_tbl_products`.`status` = ? AND (`thecarg_db`.`cg_tbl_products`.`id`) IN (SELECT `t1`.`product_id` FROM `thecarg_db`.`cg_tbl_seller_products` AS `t1` WHERE (`t1`.`status` = ? AND `t1`.`seller_id` IN (?) AND `t1`.`product_id` IS NOT NULL)) AND `thecarg_db`.`cg_tbl_products`.`generic_article_id` = ? AND `thecarg_db`.`cg_tbl_products`.`assembly_group_node_id` = ?) ORDER BY `thecarg_db`.`cg_tbl_products`.`id` ASC
prisma:query SELECT `thecarg_db`.`cg_tbl_products`.`article_number` FROM `thecarg_db`.`cg_tbl_products` WHERE `thecarg_db`.`cg_tbl_products`.`id` IN (?,?) GROUP BY `thecarg_db`.`cg_tbl_products`.`article_number`
prisma:query SELECT MIN(`thecarg_db`.`cg_tbl_products`.`id`), `thecarg_db`.`cg_tbl_products`.`article_number` FROM `thecarg_db`.`cg_tbl_products` WHERE `thecarg_db`.`cg_tbl_products`.`id` IN (?,?) GROUP BY `thecarg_db`.`cg_tbl_products`.`article_number` ORDER BY MIN(`thecarg_db`.`cg_tbl_products`.`id`) ASC LIMIT ? OFFSET ?
prisma:query SELECT `thecarg_db`.`cg_tbl_products`.`id`, `thecarg_db`.`cg_tbl_products`.`techdoc_article_id`, `thecarg_db`.`cg_tbl_products`.`techdoc_brand_id`, `thecarg_db`.`cg_tbl_products`.`article_number`, `thecarg_db`.`cg_tbl_products`.`brand_name`, `thecarg_db`.`cg_tbl_products`.`status`, `thecarg_db`.`cg_tbl_products`.`created_at`, `thecarg_db`.`cg_tbl_products`.`updated_at`, `thecarg_db`.`cg_tbl_products`.`assembly_group_node_id`, `thecarg_db`.`cg_tbl_products`.`generic_article_id` FROM `thecarg_db`.`cg_tbl_products` WHERE `thecarg_db`.`cg_tbl_products`.`id` IN (?,?) ORDER BY `thecarg_db`.`cg_tbl_products`.`id` ASC
[2026-06-24T11:42:38.207Z] [INFO]: TecDoc → getArticles | provider: 25791 | country: IN | url: https://webservice.tecalliance.services/pegasus-3-0/services/TecdocToCatDLB.jsonEndpoint
--------------------------------------------------

[2026-06-24T11:42:38.221Z] [INFO]: TecDoc → getArticles | provider: 25791 | country: IN | url: https://webservice.tecalliance.services/pegasus-3-0/services/TecdocToCatDLB.jsonEndpoint
--------------------------------------------------

prisma:query SELECT 1
prisma:query SELECT `thecarg_db`.`cg_tbl_products`.`id`, `thecarg_db`.`cg_tbl_products`.`techdoc_article_id` FROM `thecarg_db`.`cg_tbl_products` WHERE (`thecarg_db`.`cg_tbl_products`.`techdoc_article_id` IN (?,?) AND `thecarg_db`.`cg_tbl_products`.`status` = ? AND `thecarg_db`.`cg_tbl_products`.`id` IN (?,?))
prisma:query SELECT `thecarg_db`.`cg_tbl_seller_products`.`id`, `thecarg_db`.`cg_tbl_seller_products`.`product_id`, `thecarg_db`.`cg_tbl_seller_products`.`customer_selling_price`, `thecarg_db`.`cg_tbl_seller_products`.`garage_selling_price`, `thecarg_db`.`cg_tbl_seller_products`.`mrp`, `thecarg_db`.`cg_tbl_seller_products`.`customer_discount_type`, `thecarg_db`.`cg_tbl_seller_products`.`customer_discount`, `thecarg_db`.`cg_tbl_seller_products`.`garage_discount_type`, `thecarg_db`.`cg_tbl_seller_products`.`garage_discount`, `thecarg_db`.`cg_tbl_seller_products`.`is_in_stock`, `thecarg_db`.`cg_tbl_seller_products`.`is_returnable`, `thecarg_db`.`cg_tbl_seller_products`.`return_days`, `thecarg_db`.`cg_tbl_seller_products`.`warranty_enabled`, `thecarg_db`.`cg_tbl_seller_products`.`warranty_duration`, `thecarg_db`.`cg_tbl_seller_products`.`warranty_duration_type`, `thecarg_db`.`cg_tbl_seller_products`.`warranty_document`, `thecarg_db`.`cg_tbl_seller_products`.`tax`, `thecarg_db`.`cg_tbl_seller_products`.`seller_id` FROM `thecarg_db`.`cg_tbl_seller_products` LEFT JOIN `thecarg_db`.`cg_tbl_sellers` AS `j1` ON (`j1`.`id`) = (`thecarg_db`.`cg_tbl_seller_products`.`seller_id`) WHERE (`thecarg_db`.`cg_tbl_seller_products`.`product_id` IN (?,?) AND `thecarg_db`.`cg_tbl_seller_products`.`status` = ? AND (`j1`.`status` = ? AND (`j1`.`id` IS NOT NULL))) ORDER BY `thecarg_db`.`cg_tbl_seller_products`.`customer_selling_price` ASC
prisma:query SELECT `thecarg_db`.`cg_tbl_sellers`.`id`, `thecarg_db`.`cg_tbl_sellers`.`seller_id`, `thecarg_db`.`cg_tbl_sellers`.`first_name`, `thecarg_db`.`cg_tbl_sellers`.`last_name`, `thecarg_db`.`cg_tbl_sellers`.`trade_name`, `thecarg_db`.`cg_tbl_sellers`.`city`, `thecarg_db`.`cg_tbl_sellers`.`state`, `thecarg_db`.`cg_tbl_sellers`.`email`, `thecarg_db`.`cg_tbl_sellers`.`mobile`, `thecarg_db`.`cg_tbl_sellers`.`address`, `thecarg_db`.`cg_tbl_sellers`.`pincode`, `thecarg_db`.`cg_tbl_sellers`.`status`, `thecarg_db`.`cg_tbl_sellers`.`operating_hours`, `thecarg_db`.`cg_tbl_sellers`.`zone`, `thecarg_db`.`cg_tbl_sellers`.`latitude`, `thecarg_db`.`cg_tbl_sellers`.`longitude` FROM `thecarg_db`.`cg_tbl_sellers` WHERE `thecarg_db`.`cg_tbl_sellers`.`id` IN (?)
prisma:query SELECT `thecarg_db`.`cg_tbl_zones`.`id`, `thecarg_db`.`cg_tbl_zones`.`zone_name` FROM `thecarg_db`.`cg_tbl_zones` WHERE 1=1
[32m[nodemon] restarting due to changes...[39m
[32m[nodemon] starting `ts-node-esm src/server.js`[39m
[32m[nodemon] restarting due to changes...[39m
[32m[nodemon] starting `ts-node-esm src/server.js`[39m
[32m[nodemon] restarting due to changes...[39m
[32m[nodemon] starting `ts-node-esm src/server.js`[39m
prisma:info Starting a mysql pool with 9 connections.
[2026-06-24T11:43:48.609Z] [INFO]: Successfully connected to the MySQL Database via Prisma!
--------------------------------------------------

prisma:query SELECT `thecarg_db`.`cg_tbl_business_settings`.`id`, `thecarg_db`.`cg_tbl_business_settings`.`key`, `thecarg_db`.`cg_tbl_business_settings`.`value`, `thecarg_db`.`cg_tbl_business_settings`.`created_at`, `thecarg_db`.`cg_tbl_business_settings`.`updated_at` FROM `thecarg_db`.`cg_tbl_business_settings` WHERE `thecarg_db`.`cg_tbl_business_settings`.`key` = ? LIMIT ? OFFSET ?
prisma:query SELECT `thecarg_db`.`cg_tbl_business_settings`.`id`, `thecarg_db`.`cg_tbl_business_settings`.`key`, `thecarg_db`.`cg_tbl_business_settings`.`value`, `thecarg_db`.`cg_tbl_business_settings`.`created_at`, `thecarg_db`.`cg_tbl_business_settings`.`updated_at` FROM `thecarg_db`.`cg_tbl_business_settings` WHERE `thecarg_db`.`cg_tbl_business_settings`.`key` = ? LIMIT ? OFFSET ?
Firebase initialized successfully
[2026-06-24T11:43:48.634Z] [INFO]: Server is running in development mode on port 5000
--------------------------------------------------

[2026-06-24T11:43:48.635Z] [INFO]: Endpoint: http://localhost:5000
--------------------------------------------------

[32m[nodemon] clean exit - waiting for changes before restart[39m
[32m[nodemon] restarting due to changes...[39m
[32m[nodemon] starting `ts-node-esm src/server.js`[39m
prisma:info Starting a mysql pool with 9 connections.
[2026-06-24T11:45:55.350Z] [INFO]: Successfully connected to the MySQL Database via Prisma!
--------------------------------------------------

prisma:query SELECT `thecarg_db`.`cg_tbl_business_settings`.`id`, `thecarg_db`.`cg_tbl_business_settings`.`key`, `thecarg_db`.`cg_tbl_business_settings`.`value`, `thecarg_db`.`cg_tbl_business_settings`.`created_at`, `thecarg_db`.`cg_tbl_business_settings`.`updated_at` FROM `thecarg_db`.`cg_tbl_business_settings` WHERE `thecarg_db`.`cg_tbl_business_settings`.`key` = ? LIMIT ? OFFSET ?
prisma:query SELECT `thecarg_db`.`cg_tbl_business_settings`.`id`, `thecarg_db`.`cg_tbl_business_settings`.`key`, `thecarg_db`.`cg_tbl_business_settings`.`value`, `thecarg_db`.`cg_tbl_business_settings`.`created_at`, `thecarg_db`.`cg_tbl_business_settings`.`updated_at` FROM `thecarg_db`.`cg_tbl_business_settings` WHERE `thecarg_db`.`cg_tbl_business_settings`.`key` = ? LIMIT ? OFFSET ?
Firebase initialized successfully
[2026-06-24T11:45:55.382Z] [INFO]: Server is running in development mode on port 5000
--------------------------------------------------

[2026-06-24T11:45:55.383Z] [INFO]: Endpoint: http://localhost:5000
--------------------------------------------------

prisma:query SELECT `thecarg_db`.`cg_tbl_zones`.`id` FROM `thecarg_db`.`cg_tbl_zones` WHERE (`thecarg_db`.`cg_tbl_zones`.`id` IN (?) AND `thecarg_db`.`cg_tbl_zones`.`status` = ?)
prisma:query SELECT `thecarg_db`.`cg_tbl_products`.`id`, `thecarg_db`.`cg_tbl_products`.`techdoc_article_id`, `thecarg_db`.`cg_tbl_products`.`techdoc_brand_id`, `thecarg_db`.`cg_tbl_products`.`article_number`, `thecarg_db`.`cg_tbl_products`.`brand_name`, `thecarg_db`.`cg_tbl_products`.`status`, `thecarg_db`.`cg_tbl_products`.`created_at`, `thecarg_db`.`cg_tbl_products`.`updated_at`, `thecarg_db`.`cg_tbl_products`.`assembly_group_node_id`, `thecarg_db`.`cg_tbl_products`.`generic_article_id` FROM `thecarg_db`.`cg_tbl_products` WHERE (`thecarg_db`.`cg_tbl_products`.`id` = ? AND `thecarg_db`.`cg_tbl_products`.`status` = ?) LIMIT ? OFFSET ?
prisma:query SELECT `thecarg_db`.`cg_tbl_business_settings`.`id`, `thecarg_db`.`cg_tbl_business_settings`.`key`, `thecarg_db`.`cg_tbl_business_settings`.`value`, `thecarg_db`.`cg_tbl_business_settings`.`created_at`, `thecarg_db`.`cg_tbl_business_settings`.`updated_at` FROM `thecarg_db`.`cg_tbl_business_settings` WHERE `thecarg_db`.`cg_tbl_business_settings`.`key` = ? LIMIT ? OFFSET ?
prisma:query SELECT `thecarg_db`.`cg_tbl_business_settings`.`id`, `thecarg_db`.`cg_tbl_business_settings`.`key`, `thecarg_db`.`cg_tbl_business_settings`.`value`, `thecarg_db`.`cg_tbl_business_settings`.`created_at`, `thecarg_db`.`cg_tbl_business_settings`.`updated_at` FROM `thecarg_db`.`cg_tbl_business_settings` WHERE `thecarg_db`.`cg_tbl_business_settings`.`key` = ? LIMIT ? OFFSET ?
prisma:query SELECT `thecarg_db`.`cg_tbl_business_settings`.`id`, `thecarg_db`.`cg_tbl_business_settings`.`key`, `thecarg_db`.`cg_tbl_business_settings`.`value`, `thecarg_db`.`cg_tbl_business_settings`.`created_at`, `thecarg_db`.`cg_tbl_business_settings`.`updated_at` FROM `thecarg_db`.`cg_tbl_business_settings` WHERE `thecarg_db`.`cg_tbl_business_settings`.`key` = ? LIMIT ? OFFSET ?
prisma:query SELECT `thecarg_db`.`cg_tbl_business_settings`.`id`, `thecarg_db`.`cg_tbl_business_settings`.`key`, `thecarg_db`.`cg_tbl_business_settings`.`value`, `thecarg_db`.`cg_tbl_business_settings`.`created_at`, `thecarg_db`.`cg_tbl_business_settings`.`updated_at` FROM `thecarg_db`.`cg_tbl_business_settings` WHERE `thecarg_db`.`cg_tbl_business_settings`.`key` = ? LIMIT ? OFFSET ?
[2026-06-24T11:46:01.886Z] [INFO]: TecDoc → getArticles | provider: 25791 | country: IN | url: https://webservice.tecalliance.services/pegasus-3-0/services/TecdocToCatDLB.jsonEndpoint
--------------------------------------------------

prisma:query SELECT `thecarg_db`.`cg_tbl_zones`.`id` FROM `thecarg_db`.`cg_tbl_zones` WHERE (`thecarg_db`.`cg_tbl_zones`.`id` IN (?) AND `thecarg_db`.`cg_tbl_zones`.`status` = ?)
prisma:query SELECT `thecarg_db`.`cg_tbl_products`.`id`, `thecarg_db`.`cg_tbl_products`.`techdoc_article_id`, `thecarg_db`.`cg_tbl_products`.`techdoc_brand_id`, `thecarg_db`.`cg_tbl_products`.`article_number`, `thecarg_db`.`cg_tbl_products`.`brand_name`, `thecarg_db`.`cg_tbl_products`.`status`, `thecarg_db`.`cg_tbl_products`.`created_at`, `thecarg_db`.`cg_tbl_products`.`updated_at`, `thecarg_db`.`cg_tbl_products`.`assembly_group_node_id`, `thecarg_db`.`cg_tbl_products`.`generic_article_id` FROM `thecarg_db`.`cg_tbl_products` WHERE (`thecarg_db`.`cg_tbl_products`.`id` = ? AND `thecarg_db`.`cg_tbl_products`.`status` = ?) LIMIT ? OFFSET ?
[2026-06-24T11:46:05.628Z] [INFO]: TecDoc → getArticles | provider: 25791 | country: IN | url: https://webservice.tecalliance.services/pegasus-3-0/services/TecdocToCatDLB.jsonEndpoint
--------------------------------------------------

prisma:query SELECT `thecarg_db`.`cg_tbl_zones`.`id` FROM `thecarg_db`.`cg_tbl_zones` WHERE (`thecarg_db`.`cg_tbl_zones`.`id` IN (?,?) AND `thecarg_db`.`cg_tbl_zones`.`status` = ?)
prisma:query SELECT `thecarg_db`.`cg_tbl_products`.`id`, `thecarg_db`.`cg_tbl_products`.`techdoc_article_id`, `thecarg_db`.`cg_tbl_products`.`techdoc_brand_id`, `thecarg_db`.`cg_tbl_products`.`article_number`, `thecarg_db`.`cg_tbl_products`.`brand_name`, `thecarg_db`.`cg_tbl_products`.`status`, `thecarg_db`.`cg_tbl_products`.`created_at`, `thecarg_db`.`cg_tbl_products`.`updated_at`, `thecarg_db`.`cg_tbl_products`.`assembly_group_node_id`, `thecarg_db`.`cg_tbl_products`.`generic_article_id` FROM `thecarg_db`.`cg_tbl_products` WHERE (`thecarg_db`.`cg_tbl_products`.`id` = ? AND `thecarg_db`.`cg_tbl_products`.`status` = ?) LIMIT ? OFFSET ?
[2026-06-24T11:46:06.516Z] [INFO]: TecDoc → getArticles | provider: 25791 | country: IN | url: https://webservice.tecalliance.services/pegasus-3-0/services/TecdocToCatDLB.jsonEndpoint
--------------------------------------------------

prisma:query SELECT 1
prisma:query SELECT `thecarg_db`.`cg_tbl_zones`.`id` FROM `thecarg_db`.`cg_tbl_zones` WHERE (`thecarg_db`.`cg_tbl_zones`.`id` IN (?,?) AND `thecarg_db`.`cg_tbl_zones`.`status` = ?)
prisma:query SELECT `thecarg_db`.`cg_tbl_products`.`id`, `thecarg_db`.`cg_tbl_products`.`techdoc_article_id`, `thecarg_db`.`cg_tbl_products`.`techdoc_brand_id`, `thecarg_db`.`cg_tbl_products`.`article_number`, `thecarg_db`.`cg_tbl_products`.`brand_name`, `thecarg_db`.`cg_tbl_products`.`status`, `thecarg_db`.`cg_tbl_products`.`created_at`, `thecarg_db`.`cg_tbl_products`.`updated_at`, `thecarg_db`.`cg_tbl_products`.`assembly_group_node_id`, `thecarg_db`.`cg_tbl_products`.`generic_article_id` FROM `thecarg_db`.`cg_tbl_products` WHERE (`thecarg_db`.`cg_tbl_products`.`id` = ? AND `thecarg_db`.`cg_tbl_products`.`status` = ?) LIMIT ? OFFSET ?
[2026-06-24T11:46:53.177Z] [INFO]: TecDoc → getArticles | provider: 25791 | country: IN | url: https://webservice.tecalliance.services/pegasus-3-0/services/TecdocToCatDLB.jsonEndpoint
--------------------------------------------------

[32m[nodemon] restarting due to changes...[39m
[32m[nodemon] starting `ts-node-esm src/server.js`[39m
prisma:info Starting a mysql pool with 9 connections.
[2026-06-24T11:47:04.563Z] [INFO]: Successfully connected to the MySQL Database via Prisma!
--------------------------------------------------

prisma:query SELECT `thecarg_db`.`cg_tbl_business_settings`.`id`, `thecarg_db`.`cg_tbl_business_settings`.`key`, `thecarg_db`.`cg_tbl_business_settings`.`value`, `thecarg_db`.`cg_tbl_business_settings`.`created_at`, `thecarg_db`.`cg_tbl_business_settings`.`updated_at` FROM `thecarg_db`.`cg_tbl_business_settings` WHERE `thecarg_db`.`cg_tbl_business_settings`.`key` = ? LIMIT ? OFFSET ?
prisma:query SELECT `thecarg_db`.`cg_tbl_business_settings`.`id`, `thecarg_db`.`cg_tbl_business_settings`.`key`, `thecarg_db`.`cg_tbl_business_settings`.`value`, `thecarg_db`.`cg_tbl_business_settings`.`created_at`, `thecarg_db`.`cg_tbl_business_settings`.`updated_at` FROM `thecarg_db`.`cg_tbl_business_settings` WHERE `thecarg_db`.`cg_tbl_business_settings`.`key` = ? LIMIT ? OFFSET ?
Firebase initialized successfully
[2026-06-24T11:47:04.590Z] [INFO]: Server is running in development mode on port 5000
--------------------------------------------------

[2026-06-24T11:47:04.592Z] [INFO]: Endpoint: http://localhost:5000
--------------------------------------------------

[32m[nodemon] clean exit - waiting for changes before restart[39m
[32m[nodemon] restarting due to changes...[39m
[32m[nodemon] starting `ts-node-esm src/server.js`[39m
[32m[nodemon] restarting due to changes...[39m
[32m[nodemon] starting `ts-node-esm src/server.js`[39m
prisma:info Starting a mysql pool with 9 connections.
[2026-06-24T11:50:39.159Z] [INFO]: Successfully connected to the MySQL Database via Prisma!
--------------------------------------------------

prisma:query SELECT `thecarg_db`.`cg_tbl_business_settings`.`id`, `thecarg_db`.`cg_tbl_business_settings`.`key`, `thecarg_db`.`cg_tbl_business_settings`.`value`, `thecarg_db`.`cg_tbl_business_settings`.`created_at`, `thecarg_db`.`cg_tbl_business_settings`.`updated_at` FROM `thecarg_db`.`cg_tbl_business_settings` WHERE `thecarg_db`.`cg_tbl_business_settings`.`key` = ? LIMIT ? OFFSET ?
prisma:query SELECT `thecarg_db`.`cg_tbl_business_settings`.`id`, `thecarg_db`.`cg_tbl_business_settings`.`key`, `thecarg_db`.`cg_tbl_business_settings`.`value`, `thecarg_db`.`cg_tbl_business_settings`.`created_at`, `thecarg_db`.`cg_tbl_business_settings`.`updated_at` FROM `thecarg_db`.`cg_tbl_business_settings` WHERE `thecarg_db`.`cg_tbl_business_settings`.`key` = ? LIMIT ? OFFSET ?
Firebase initialized successfully
[2026-06-24T11:50:39.182Z] [INFO]: Server is running in development mode on port 5000
--------------------------------------------------

[2026-06-24T11:50:39.185Z] [INFO]: Endpoint: http://localhost:5000
--------------------------------------------------

[32m[nodemon] clean exit - waiting for changes before restart[39m
[32m[nodemon] restarting due to changes...[39m
[32m[nodemon] starting `ts-node-esm src/server.js`[39m
prisma:info Starting a mysql pool with 9 connections.
[2026-06-24T11:52:26.718Z] [INFO]: Successfully connected to the MySQL Database via Prisma!
--------------------------------------------------

prisma:query SELECT `thecarg_db`.`cg_tbl_business_settings`.`id`, `thecarg_db`.`cg_tbl_business_settings`.`key`, `thecarg_db`.`cg_tbl_business_settings`.`value`, `thecarg_db`.`cg_tbl_business_settings`.`created_at`, `thecarg_db`.`cg_tbl_business_settings`.`updated_at` FROM `thecarg_db`.`cg_tbl_business_settings` WHERE `thecarg_db`.`cg_tbl_business_settings`.`key` = ? LIMIT ? OFFSET ?
prisma:query SELECT `thecarg_db`.`cg_tbl_business_settings`.`id`, `thecarg_db`.`cg_tbl_business_settings`.`key`, `thecarg_db`.`cg_tbl_business_settings`.`value`, `thecarg_db`.`cg_tbl_business_settings`.`created_at`, `thecarg_db`.`cg_tbl_business_settings`.`updated_at` FROM `thecarg_db`.`cg_tbl_business_settings` WHERE `thecarg_db`.`cg_tbl_business_settings`.`key` = ? LIMIT ? OFFSET ?
Firebase initialized successfully
[2026-06-24T11:52:26.782Z] [INFO]: Server is running in development mode on port 5000
--------------------------------------------------

[2026-06-24T11:52:26.783Z] [INFO]: Endpoint: http://localhost:5000
--------------------------------------------------

prisma:query SELECT `thecarg_db`.`cg_tbl_zones`.`id` FROM `thecarg_db`.`cg_tbl_zones` WHERE (`thecarg_db`.`cg_tbl_zones`.`id` IN (?) AND `thecarg_db`.`cg_tbl_zones`.`status` = ?)
prisma:query SELECT `thecarg_db`.`cg_tbl_products`.`id`, `thecarg_db`.`cg_tbl_products`.`techdoc_article_id`, `thecarg_db`.`cg_tbl_products`.`techdoc_brand_id`, `thecarg_db`.`cg_tbl_products`.`article_number`, `thecarg_db`.`cg_tbl_products`.`brand_name`, `thecarg_db`.`cg_tbl_products`.`status`, `thecarg_db`.`cg_tbl_products`.`created_at`, `thecarg_db`.`cg_tbl_products`.`updated_at`, `thecarg_db`.`cg_tbl_products`.`assembly_group_node_id`, `thecarg_db`.`cg_tbl_products`.`generic_article_id` FROM `thecarg_db`.`cg_tbl_products` WHERE (`thecarg_db`.`cg_tbl_products`.`id` = ? AND `thecarg_db`.`cg_tbl_products`.`status` = ?) LIMIT ? OFFSET ?
prisma:query SELECT `thecarg_db`.`cg_tbl_business_settings`.`id`, `thecarg_db`.`cg_tbl_business_settings`.`key`, `thecarg_db`.`cg_tbl_business_settings`.`value`, `thecarg_db`.`cg_tbl_business_settings`.`created_at`, `thecarg_db`.`cg_tbl_business_settings`.`updated_at` FROM `thecarg_db`.`cg_tbl_business_settings` WHERE `thecarg_db`.`cg_tbl_business_settings`.`key` = ? LIMIT ? OFFSET ?
prisma:query SELECT `thecarg_db`.`cg_tbl_business_settings`.`id`, `thecarg_db`.`cg_tbl_business_settings`.`key`, `thecarg_db`.`cg_tbl_business_settings`.`value`, `thecarg_db`.`cg_tbl_business_settings`.`created_at`, `thecarg_db`.`cg_tbl_business_settings`.`updated_at` FROM `thecarg_db`.`cg_tbl_business_settings` WHERE `thecarg_db`.`cg_tbl_business_settings`.`key` = ? LIMIT ? OFFSET ?
prisma:query SELECT `thecarg_db`.`cg_tbl_business_settings`.`id`, `thecarg_db`.`cg_tbl_business_settings`.`key`, `thecarg_db`.`cg_tbl_business_settings`.`value`, `thecarg_db`.`cg_tbl_business_settings`.`created_at`, `thecarg_db`.`cg_tbl_business_settings`.`updated_at` FROM `thecarg_db`.`cg_tbl_business_settings` WHERE `thecarg_db`.`cg_tbl_business_settings`.`key` = ? LIMIT ? OFFSET ?
prisma:query SELECT `thecarg_db`.`cg_tbl_business_settings`.`id`, `thecarg_db`.`cg_tbl_business_settings`.`key`, `thecarg_db`.`cg_tbl_business_settings`.`value`, `thecarg_db`.`cg_tbl_business_settings`.`created_at`, `thecarg_db`.`cg_tbl_business_settings`.`updated_at` FROM `thecarg_db`.`cg_tbl_business_settings` WHERE `thecarg_db`.`cg_tbl_business_settings`.`key` = ? LIMIT ? OFFSET ?
[2026-06-24T11:52:30.687Z] [INFO]: TecDoc → getArticles | provider: 25791 | country: IN | url: https://webservice.tecalliance.services/pegasus-3-0/services/TecdocToCatDLB.jsonEndpoint
--------------------------------------------------

[2026-06-24T11:52:31.243Z] [INFO]: TecDoc → getArticles | provider: 25791 | country: IN | url: https://webservice.tecalliance.services/pegasus-3-0/services/TecdocToCatDLB.jsonEndpoint
--------------------------------------------------

[2026-06-24T11:52:31.408Z] [INFO]: TecDoc → getArticleLinkedAllLinkingTarget4 | provider: 25791 | country: IN | url: https://webservice.tecalliance.services/pegasus-3-0/services/TecdocToCatDLB.jsonEndpoint
--------------------------------------------------

[2026-06-24T11:52:31.577Z] [INFO]: TecDoc → getArticleLinkedAllLinkingTargetsByIds3 | provider: 25791 | country: IN | url: https://webservice.tecalliance.services/pegasus-3-0/services/TecdocToCatDLB.jsonEndpoint
--------------------------------------------------

prisma:query SELECT `thecarg_db`.`cg_tbl_seller_products`.`id`, `thecarg_db`.`cg_tbl_seller_products`.`customer_selling_price`, `thecarg_db`.`cg_tbl_seller_products`.`garage_selling_price`, `thecarg_db`.`cg_tbl_seller_products`.`mrp`, `thecarg_db`.`cg_tbl_seller_products`.`customer_discount_type`, `thecarg_db`.`cg_tbl_seller_products`.`customer_discount`, `thecarg_db`.`cg_tbl_seller_products`.`garage_discount_type`, `thecarg_db`.`cg_tbl_seller_products`.`garage_discount`, `thecarg_db`.`cg_tbl_seller_products`.`is_in_stock`, `thecarg_db`.`cg_tbl_seller_products`.`is_returnable`, `thecarg_db`.`cg_tbl_seller_products`.`return_days`, `thecarg_db`.`cg_tbl_seller_products`.`warranty_enabled`, `thecarg_db`.`cg_tbl_seller_products`.`warranty_duration`, `thecarg_db`.`cg_tbl_seller_products`.`warranty_duration_type`, `thecarg_db`.`cg_tbl_seller_products`.`warranty_document`, `thecarg_db`.`cg_tbl_seller_products`.`tax`, `thecarg_db`.`cg_tbl_seller_products`.`seller_id` FROM `thecarg_db`.`cg_tbl_seller_products` LEFT JOIN `thecarg_db`.`cg_tbl_sellers` AS `j1` ON (`j1`.`id`) = (`thecarg_db`.`cg_tbl_seller_products`.`seller_id`) WHERE (`thecarg_db`.`cg_tbl_seller_products`.`product_id` = ? AND `thecarg_db`.`cg_tbl_seller_products`.`status` = ? AND (`j1`.`status` = ? AND (`j1`.`id` IS NOT NULL))) ORDER BY `thecarg_db`.`cg_tbl_seller_products`.`garage_selling_price` ASC
prisma:query SELECT `thecarg_db`.`cg_tbl_sellers`.`id`, `thecarg_db`.`cg_tbl_sellers`.`seller_id`, `thecarg_db`.`cg_tbl_sellers`.`first_name`, `thecarg_db`.`cg_tbl_sellers`.`last_name`, `thecarg_db`.`cg_tbl_sellers`.`trade_name`, `thecarg_db`.`cg_tbl_sellers`.`city`, `thecarg_db`.`cg_tbl_sellers`.`state`, `thecarg_db`.`cg_tbl_sellers`.`email`, `thecarg_db`.`cg_tbl_sellers`.`mobile`, `thecarg_db`.`cg_tbl_sellers`.`address`, `thecarg_db`.`cg_tbl_sellers`.`pincode`, `thecarg_db`.`cg_tbl_sellers`.`status`, `thecarg_db`.`cg_tbl_sellers`.`operating_hours`, `thecarg_db`.`cg_tbl_sellers`.`zone`, `thecarg_db`.`cg_tbl_sellers`.`latitude`, `thecarg_db`.`cg_tbl_sellers`.`longitude` FROM `thecarg_db`.`cg_tbl_sellers` WHERE `thecarg_db`.`cg_tbl_sellers`.`id` IN (?)
prisma:query SELECT `thecarg_db`.`cg_tbl_zones`.`id`, `thecarg_db`.`cg_tbl_zones`.`zone_name` FROM `thecarg_db`.`cg_tbl_zones` WHERE 1=1
prisma:query SELECT 1
prisma:query SELECT `thecarg_db`.`cg_tbl_zones`.`id` FROM `thecarg_db`.`cg_tbl_zones` WHERE (`thecarg_db`.`cg_tbl_zones`.`id` IN (?) AND `thecarg_db`.`cg_tbl_zones`.`status` = ?)
prisma:query SELECT `thecarg_db`.`cg_tbl_products`.`id`, `thecarg_db`.`cg_tbl_products`.`techdoc_article_id`, `thecarg_db`.`cg_tbl_products`.`techdoc_brand_id`, `thecarg_db`.`cg_tbl_products`.`article_number`, `thecarg_db`.`cg_tbl_products`.`brand_name`, `thecarg_db`.`cg_tbl_products`.`status`, `thecarg_db`.`cg_tbl_products`.`created_at`, `thecarg_db`.`cg_tbl_products`.`updated_at`, `thecarg_db`.`cg_tbl_products`.`assembly_group_node_id`, `thecarg_db`.`cg_tbl_products`.`generic_article_id` FROM `thecarg_db`.`cg_tbl_products` WHERE (`thecarg_db`.`cg_tbl_products`.`id` = ? AND `thecarg_db`.`cg_tbl_products`.`status` = ?) LIMIT ? OFFSET ?
[2026-06-24T11:52:56.320Z] [INFO]: TecDoc → getArticles | provider: 25791 | country: IN | url: https://webservice.tecalliance.services/pegasus-3-0/services/TecdocToCatDLB.jsonEndpoint
--------------------------------------------------

[2026-06-24T11:52:56.831Z] [INFO]: TecDoc → getArticles | provider: 25791 | country: IN | url: https://webservice.tecalliance.services/pegasus-3-0/services/TecdocToCatDLB.jsonEndpoint
--------------------------------------------------

[2026-06-24T11:52:56.999Z] [INFO]: TecDoc → getArticleLinkedAllLinkingTarget4 | provider: 25791 | country: IN | url: https://webservice.tecalliance.services/pegasus-3-0/services/TecdocToCatDLB.jsonEndpoint
--------------------------------------------------

[2026-06-24T11:52:57.164Z] [INFO]: TecDoc → getArticleLinkedAllLinkingTargetsByIds3 | provider: 25791 | country: IN | url: https://webservice.tecalliance.services/pegasus-3-0/services/TecdocToCatDLB.jsonEndpoint
--------------------------------------------------

prisma:query SELECT `thecarg_db`.`cg_tbl_seller_products`.`id`, `thecarg_db`.`cg_tbl_seller_products`.`customer_selling_price`, `thecarg_db`.`cg_tbl_seller_products`.`garage_selling_price`, `thecarg_db`.`cg_tbl_seller_products`.`mrp`, `thecarg_db`.`cg_tbl_seller_products`.`customer_discount_type`, `thecarg_db`.`cg_tbl_seller_products`.`customer_discount`, `thecarg_db`.`cg_tbl_seller_products`.`garage_discount_type`, `thecarg_db`.`cg_tbl_seller_products`.`garage_discount`, `thecarg_db`.`cg_tbl_seller_products`.`is_in_stock`, `thecarg_db`.`cg_tbl_seller_products`.`is_returnable`, `thecarg_db`.`cg_tbl_seller_products`.`return_days`, `thecarg_db`.`cg_tbl_seller_products`.`warranty_enabled`, `thecarg_db`.`cg_tbl_seller_products`.`warranty_duration`, `thecarg_db`.`cg_tbl_seller_products`.`warranty_duration_type`, `thecarg_db`.`cg_tbl_seller_products`.`warranty_document`, `thecarg_db`.`cg_tbl_seller_products`.`tax`, `thecarg_db`.`cg_tbl_seller_products`.`seller_id` FROM `thecarg_db`.`cg_tbl_seller_products` LEFT JOIN `thecarg_db`.`cg_tbl_sellers` AS `j1` ON (`j1`.`id`) = (`thecarg_db`.`cg_tbl_seller_products`.`seller_id`) WHERE (`thecarg_db`.`cg_tbl_seller_products`.`product_id` = ? AND `thecarg_db`.`cg_tbl_seller_products`.`status` = ? AND (`j1`.`status` = ? AND (`j1`.`id` IS NOT NULL))) ORDER BY `thecarg_db`.`cg_tbl_seller_products`.`garage_selling_price` ASC
prisma:query SELECT `thecarg_db`.`cg_tbl_sellers`.`id`, `thecarg_db`.`cg_tbl_sellers`.`seller_id`, `thecarg_db`.`cg_tbl_sellers`.`first_name`, `thecarg_db`.`cg_tbl_sellers`.`last_name`, `thecarg_db`.`cg_tbl_sellers`.`trade_name`, `thecarg_db`.`cg_tbl_sellers`.`city`, `thecarg_db`.`cg_tbl_sellers`.`state`, `thecarg_db`.`cg_tbl_sellers`.`email`, `thecarg_db`.`cg_tbl_sellers`.`mobile`, `thecarg_db`.`cg_tbl_sellers`.`address`, `thecarg_db`.`cg_tbl_sellers`.`pincode`, `thecarg_db`.`cg_tbl_sellers`.`status`, `thecarg_db`.`cg_tbl_sellers`.`operating_hours`, `thecarg_db`.`cg_tbl_sellers`.`zone`, `thecarg_db`.`cg_tbl_sellers`.`latitude`, `thecarg_db`.`cg_tbl_sellers`.`longitude` FROM `thecarg_db`.`cg_tbl_sellers` WHERE `thecarg_db`.`cg_tbl_sellers`.`id` IN (?)
prisma:query SELECT `thecarg_db`.`cg_tbl_zones`.`id`, `thecarg_db`.`cg_tbl_zones`.`zone_name` FROM `thecarg_db`.`cg_tbl_zones` WHERE 1=1
prisma:query SELECT `thecarg_db`.`cg_tbl_zones`.`id` FROM `thecarg_db`.`cg_tbl_zones` WHERE (`thecarg_db`.`cg_tbl_zones`.`id` IN (?) AND `thecarg_db`.`cg_tbl_zones`.`status` = ?)
prisma:query SELECT `thecarg_db`.`cg_tbl_products`.`id`, `thecarg_db`.`cg_tbl_products`.`techdoc_article_id`, `thecarg_db`.`cg_tbl_products`.`techdoc_brand_id`, `thecarg_db`.`cg_tbl_products`.`article_number`, `thecarg_db`.`cg_tbl_products`.`brand_name`, `thecarg_db`.`cg_tbl_products`.`status`, `thecarg_db`.`cg_tbl_products`.`created_at`, `thecarg_db`.`cg_tbl_products`.`updated_at`, `thecarg_db`.`cg_tbl_products`.`assembly_group_node_id`, `thecarg_db`.`cg_tbl_products`.`generic_article_id` FROM `thecarg_db`.`cg_tbl_products` WHERE (`thecarg_db`.`cg_tbl_products`.`id` = ? AND `thecarg_db`.`cg_tbl_products`.`status` = ?) LIMIT ? OFFSET ?
[2026-06-24T11:52:58.832Z] [INFO]: TecDoc → getArticles | provider: 25791 | country: IN | url: https://webservice.tecalliance.services/pegasus-3-0/services/TecdocToCatDLB.jsonEndpoint
--------------------------------------------------

[2026-06-24T11:52:59.001Z] [INFO]: TecDoc → getArticles | provider: 25791 | country: IN | url: https://webservice.tecalliance.services/pegasus-3-0/services/TecdocToCatDLB.jsonEndpoint
--------------------------------------------------

[2026-06-24T11:52:59.177Z] [INFO]: TecDoc → getArticleLinkedAllLinkingTarget4 | provider: 25791 | country: IN | url: https://webservice.tecalliance.services/pegasus-3-0/services/TecdocToCatDLB.jsonEndpoint
--------------------------------------------------

[2026-06-24T11:52:59.345Z] [INFO]: TecDoc → getArticleLinkedAllLinkingTargetsByIds3 | provider: 25791 | country: IN | url: https://webservice.tecalliance.services/pegasus-3-0/services/TecdocToCatDLB.jsonEndpoint
--------------------------------------------------

prisma:query SELECT `thecarg_db`.`cg_tbl_seller_products`.`id`, `thecarg_db`.`cg_tbl_seller_products`.`customer_selling_price`, `thecarg_db`.`cg_tbl_seller_products`.`garage_selling_price`, `thecarg_db`.`cg_tbl_seller_products`.`mrp`, `thecarg_db`.`cg_tbl_seller_products`.`customer_discount_type`, `thecarg_db`.`cg_tbl_seller_products`.`customer_discount`, `thecarg_db`.`cg_tbl_seller_products`.`garage_discount_type`, `thecarg_db`.`cg_tbl_seller_products`.`garage_discount`, `thecarg_db`.`cg_tbl_seller_products`.`is_in_stock`, `thecarg_db`.`cg_tbl_seller_products`.`is_returnable`, `thecarg_db`.`cg_tbl_seller_products`.`return_days`, `thecarg_db`.`cg_tbl_seller_products`.`warranty_enabled`, `thecarg_db`.`cg_tbl_seller_products`.`warranty_duration`, `thecarg_db`.`cg_tbl_seller_products`.`warranty_duration_type`, `thecarg_db`.`cg_tbl_seller_products`.`warranty_document`, `thecarg_db`.`cg_tbl_seller_products`.`tax`, `thecarg_db`.`cg_tbl_seller_products`.`seller_id` FROM `thecarg_db`.`cg_tbl_seller_products` LEFT JOIN `thecarg_db`.`cg_tbl_sellers` AS `j1` ON (`j1`.`id`) = (`thecarg_db`.`cg_tbl_seller_products`.`seller_id`) WHERE (`thecarg_db`.`cg_tbl_seller_products`.`product_id` = ? AND `thecarg_db`.`cg_tbl_seller_products`.`status` = ? AND (`j1`.`status` = ? AND (`j1`.`id` IS NOT NULL))) ORDER BY `thecarg_db`.`cg_tbl_seller_products`.`garage_selling_price` ASC
prisma:query SELECT `thecarg_db`.`cg_tbl_sellers`.`id`, `thecarg_db`.`cg_tbl_sellers`.`seller_id`, `thecarg_db`.`cg_tbl_sellers`.`first_name`, `thecarg_db`.`cg_tbl_sellers`.`last_name`, `thecarg_db`.`cg_tbl_sellers`.`trade_name`, `thecarg_db`.`cg_tbl_sellers`.`city`, `thecarg_db`.`cg_tbl_sellers`.`state`, `thecarg_db`.`cg_tbl_sellers`.`email`, `thecarg_db`.`cg_tbl_sellers`.`mobile`, `thecarg_db`.`cg_tbl_sellers`.`address`, `thecarg_db`.`cg_tbl_sellers`.`pincode`, `thecarg_db`.`cg_tbl_sellers`.`status`, `thecarg_db`.`cg_tbl_sellers`.`operating_hours`, `thecarg_db`.`cg_tbl_sellers`.`zone`, `thecarg_db`.`cg_tbl_sellers`.`latitude`, `thecarg_db`.`cg_tbl_sellers`.`longitude` FROM `thecarg_db`.`cg_tbl_sellers` WHERE `thecarg_db`.`cg_tbl_sellers`.`id` IN (?)
prisma:query SELECT `thecarg_db`.`cg_tbl_zones`.`id`, `thecarg_db`.`cg_tbl_zones`.`zone_name` FROM `thecarg_db`.`cg_tbl_zones` WHERE 1=1
prisma:query SELECT `thecarg_db`.`cg_tbl_zones`.`id` FROM `thecarg_db`.`cg_tbl_zones` WHERE (`thecarg_db`.`cg_tbl_zones`.`id` IN (?) AND `thecarg_db`.`cg_tbl_zones`.`status` = ?)
prisma:query SELECT `thecarg_db`.`cg_tbl_products`.`id`, `thecarg_db`.`cg_tbl_products`.`techdoc_article_id`, `thecarg_db`.`cg_tbl_products`.`techdoc_brand_id`, `thecarg_db`.`cg_tbl_products`.`article_number`, `thecarg_db`.`cg_tbl_products`.`brand_name`, `thecarg_db`.`cg_tbl_products`.`status`, `thecarg_db`.`cg_tbl_products`.`created_at`, `thecarg_db`.`cg_tbl_products`.`updated_at`, `thecarg_db`.`cg_tbl_products`.`assembly_group_node_id`, `thecarg_db`.`cg_tbl_products`.`generic_article_id` FROM `thecarg_db`.`cg_tbl_products` WHERE (`thecarg_db`.`cg_tbl_products`.`id` = ? AND `thecarg_db`.`cg_tbl_products`.`status` = ?) LIMIT ? OFFSET ?
[2026-06-24T11:53:02.269Z] [INFO]: TecDoc → getArticles | provider: 25791 | country: IN | url: https://webservice.tecalliance.services/pegasus-3-0/services/TecdocToCatDLB.jsonEndpoint
--------------------------------------------------

[2026-06-24T11:53:02.431Z] [INFO]: TecDoc → getArticles | provider: 25791 | country: IN | url: https://webservice.tecalliance.services/pegasus-3-0/services/TecdocToCatDLB.jsonEndpoint
--------------------------------------------------

[2026-06-24T11:53:02.601Z] [INFO]: TecDoc → getArticleLinkedAllLinkingTarget4 | provider: 25791 | country: IN | url: https://webservice.tecalliance.services/pegasus-3-0/services/TecdocToCatDLB.jsonEndpoint
--------------------------------------------------

[2026-06-24T11:53:02.772Z] [INFO]: TecDoc → getArticleLinkedAllLinkingTargetsByIds3 | provider: 25791 | country: IN | url: https://webservice.tecalliance.services/pegasus-3-0/services/TecdocToCatDLB.jsonEndpoint
--------------------------------------------------

prisma:query SELECT `thecarg_db`.`cg_tbl_seller_products`.`id`, `thecarg_db`.`cg_tbl_seller_products`.`customer_selling_price`, `thecarg_db`.`cg_tbl_seller_products`.`garage_selling_price`, `thecarg_db`.`cg_tbl_seller_products`.`mrp`, `thecarg_db`.`cg_tbl_seller_products`.`customer_discount_type`, `thecarg_db`.`cg_tbl_seller_products`.`customer_discount`, `thecarg_db`.`cg_tbl_seller_products`.`garage_discount_type`, `thecarg_db`.`cg_tbl_seller_products`.`garage_discount`, `thecarg_db`.`cg_tbl_seller_products`.`is_in_stock`, `thecarg_db`.`cg_tbl_seller_products`.`is_returnable`, `thecarg_db`.`cg_tbl_seller_products`.`return_days`, `thecarg_db`.`cg_tbl_seller_products`.`warranty_enabled`, `thecarg_db`.`cg_tbl_seller_products`.`warranty_duration`, `thecarg_db`.`cg_tbl_seller_products`.`warranty_duration_type`, `thecarg_db`.`cg_tbl_seller_products`.`warranty_document`, `thecarg_db`.`cg_tbl_seller_products`.`tax`, `thecarg_db`.`cg_tbl_seller_products`.`seller_id` FROM `thecarg_db`.`cg_tbl_seller_products` LEFT JOIN `thecarg_db`.`cg_tbl_sellers` AS `j1` ON (`j1`.`id`) = (`thecarg_db`.`cg_tbl_seller_products`.`seller_id`) WHERE (`thecarg_db`.`cg_tbl_seller_products`.`product_id` = ? AND `thecarg_db`.`cg_tbl_seller_products`.`status` = ? AND (`j1`.`status` = ? AND (`j1`.`id` IS NOT NULL))) ORDER BY `thecarg_db`.`cg_tbl_seller_products`.`garage_selling_price` ASC
prisma:query SELECT `thecarg_db`.`cg_tbl_sellers`.`id`, `thecarg_db`.`cg_tbl_sellers`.`seller_id`, `thecarg_db`.`cg_tbl_sellers`.`first_name`, `thecarg_db`.`cg_tbl_sellers`.`last_name`, `thecarg_db`.`cg_tbl_sellers`.`trade_name`, `thecarg_db`.`cg_tbl_sellers`.`city`, `thecarg_db`.`cg_tbl_sellers`.`state`, `thecarg_db`.`cg_tbl_sellers`.`email`, `thecarg_db`.`cg_tbl_sellers`.`mobile`, `thecarg_db`.`cg_tbl_sellers`.`address`, `thecarg_db`.`cg_tbl_sellers`.`pincode`, `thecarg_db`.`cg_tbl_sellers`.`status`, `thecarg_db`.`cg_tbl_sellers`.`operating_hours`, `thecarg_db`.`cg_tbl_sellers`.`zone`, `thecarg_db`.`cg_tbl_sellers`.`latitude`, `thecarg_db`.`cg_tbl_sellers`.`longitude` FROM `thecarg_db`.`cg_tbl_sellers` WHERE `thecarg_db`.`cg_tbl_sellers`.`id` IN (?)
prisma:query SELECT `thecarg_db`.`cg_tbl_zones`.`id`, `thecarg_db`.`cg_tbl_zones`.`zone_name` FROM `thecarg_db`.`cg_tbl_zones` WHERE 1=1
prisma:query SELECT `thecarg_db`.`cg_tbl_zones`.`id` FROM `thecarg_db`.`cg_tbl_zones` WHERE (`thecarg_db`.`cg_tbl_zones`.`id` IN (?) AND `thecarg_db`.`cg_tbl_zones`.`status` = ?)
prisma:query SELECT `thecarg_db`.`cg_tbl_products`.`id`, `thecarg_db`.`cg_tbl_products`.`techdoc_article_id`, `thecarg_db`.`cg_tbl_products`.`techdoc_brand_id`, `thecarg_db`.`cg_tbl_products`.`article_number`, `thecarg_db`.`cg_tbl_products`.`brand_name`, `thecarg_db`.`cg_tbl_products`.`status`, `thecarg_db`.`cg_tbl_products`.`created_at`, `thecarg_db`.`cg_tbl_products`.`updated_at`, `thecarg_db`.`cg_tbl_products`.`assembly_group_node_id`, `thecarg_db`.`cg_tbl_products`.`generic_article_id` FROM `thecarg_db`.`cg_tbl_products` WHERE (`thecarg_db`.`cg_tbl_products`.`id` = ? AND `thecarg_db`.`cg_tbl_products`.`status` = ?) LIMIT ? OFFSET ?
[2026-06-24T11:53:06.244Z] [INFO]: TecDoc → getArticles | provider: 25791 | country: IN | url: https://webservice.tecalliance.services/pegasus-3-0/services/TecdocToCatDLB.jsonEndpoint
--------------------------------------------------

[2026-06-24T11:53:06.416Z] [INFO]: TecDoc → getArticles | provider: 25791 | country: IN | url: https://webservice.tecalliance.services/pegasus-3-0/services/TecdocToCatDLB.jsonEndpoint
--------------------------------------------------

[2026-06-24T11:53:06.695Z] [INFO]: TecDoc → getArticleLinkedAllLinkingTarget4 | provider: 25791 | country: IN | url: https://webservice.tecalliance.services/pegasus-3-0/services/TecdocToCatDLB.jsonEndpoint
--------------------------------------------------

prisma:query SELECT `thecarg_db`.`cg_tbl_seller_products`.`id`, `thecarg_db`.`cg_tbl_seller_products`.`customer_selling_price`, `thecarg_db`.`cg_tbl_seller_products`.`garage_selling_price`, `thecarg_db`.`cg_tbl_seller_products`.`mrp`, `thecarg_db`.`cg_tbl_seller_products`.`customer_discount_type`, `thecarg_db`.`cg_tbl_seller_products`.`customer_discount`, `thecarg_db`.`cg_tbl_seller_products`.`garage_discount_type`, `thecarg_db`.`cg_tbl_seller_products`.`garage_discount`, `thecarg_db`.`cg_tbl_seller_products`.`is_in_stock`, `thecarg_db`.`cg_tbl_seller_products`.`is_returnable`, `thecarg_db`.`cg_tbl_seller_products`.`return_days`, `thecarg_db`.`cg_tbl_seller_products`.`warranty_enabled`, `thecarg_db`.`cg_tbl_seller_products`.`warranty_duration`, `thecarg_db`.`cg_tbl_seller_products`.`warranty_duration_type`, `thecarg_db`.`cg_tbl_seller_products`.`warranty_document`, `thecarg_db`.`cg_tbl_seller_products`.`tax`, `thecarg_db`.`cg_tbl_seller_products`.`seller_id` FROM `thecarg_db`.`cg_tbl_seller_products` LEFT JOIN `thecarg_db`.`cg_tbl_sellers` AS `j1` ON (`j1`.`id`) = (`thecarg_db`.`cg_tbl_seller_products`.`seller_id`) WHERE (`thecarg_db`.`cg_tbl_seller_products`.`product_id` = ? AND `thecarg_db`.`cg_tbl_seller_products`.`status` = ? AND (`j1`.`status` = ? AND (`j1`.`id` IS NOT NULL))) ORDER BY `thecarg_db`.`cg_tbl_seller_products`.`garage_selling_price` ASC
prisma:query SELECT `thecarg_db`.`cg_tbl_sellers`.`id`, `thecarg_db`.`cg_tbl_sellers`.`seller_id`, `thecarg_db`.`cg_tbl_sellers`.`first_name`, `thecarg_db`.`cg_tbl_sellers`.`last_name`, `thecarg_db`.`cg_tbl_sellers`.`trade_name`, `thecarg_db`.`cg_tbl_sellers`.`city`, `thecarg_db`.`cg_tbl_sellers`.`state`, `thecarg_db`.`cg_tbl_sellers`.`email`, `thecarg_db`.`cg_tbl_sellers`.`mobile`, `thecarg_db`.`cg_tbl_sellers`.`address`, `thecarg_db`.`cg_tbl_sellers`.`pincode`, `thecarg_db`.`cg_tbl_sellers`.`status`, `thecarg_db`.`cg_tbl_sellers`.`operating_hours`, `thecarg_db`.`cg_tbl_sellers`.`zone`, `thecarg_db`.`cg_tbl_sellers`.`latitude`, `thecarg_db`.`cg_tbl_sellers`.`longitude` FROM `thecarg_db`.`cg_tbl_sellers` WHERE `thecarg_db`.`cg_tbl_sellers`.`id` IN (?)
prisma:query SELECT `thecarg_db`.`cg_tbl_zones`.`id`, `thecarg_db`.`cg_tbl_zones`.`zone_name` FROM `thecarg_db`.`cg_tbl_zones` WHERE 1=1
prisma:query SELECT 1
prisma:query SELECT `thecarg_db`.`cg_tbl_zones`.`id` FROM `thecarg_db`.`cg_tbl_zones` WHERE (`thecarg_db`.`cg_tbl_zones`.`id` IN (?) AND `thecarg_db`.`cg_tbl_zones`.`status` = ?)
prisma:query SELECT `thecarg_db`.`cg_tbl_products`.`id`, `thecarg_db`.`cg_tbl_products`.`techdoc_article_id`, `thecarg_db`.`cg_tbl_products`.`techdoc_brand_id`, `thecarg_db`.`cg_tbl_products`.`article_number`, `thecarg_db`.`cg_tbl_products`.`brand_name`, `thecarg_db`.`cg_tbl_products`.`status`, `thecarg_db`.`cg_tbl_products`.`created_at`, `thecarg_db`.`cg_tbl_products`.`updated_at`, `thecarg_db`.`cg_tbl_products`.`assembly_group_node_id`, `thecarg_db`.`cg_tbl_products`.`generic_article_id` FROM `thecarg_db`.`cg_tbl_products` WHERE (`thecarg_db`.`cg_tbl_products`.`id` = ? AND `thecarg_db`.`cg_tbl_products`.`status` = ?) LIMIT ? OFFSET ?
[2026-06-24T11:53:29.675Z] [INFO]: TecDoc → getArticles | provider: 25791 | country: IN | url: https://webservice.tecalliance.services/pegasus-3-0/services/TecdocToCatDLB.jsonEndpoint
--------------------------------------------------

[2026-06-24T11:53:30.152Z] [INFO]: TecDoc → getArticles | provider: 25791 | country: IN | url: https://webservice.tecalliance.services/pegasus-3-0/services/TecdocToCatDLB.jsonEndpoint
--------------------------------------------------

[2026-06-24T11:53:30.317Z] [INFO]: TecDoc → getArticleLinkedAllLinkingTarget4 | provider: 25791 | country: IN | url: https://webservice.tecalliance.services/pegasus-3-0/services/TecdocToCatDLB.jsonEndpoint
--------------------------------------------------

prisma:query SELECT `thecarg_db`.`cg_tbl_seller_products`.`id`, `thecarg_db`.`cg_tbl_seller_products`.`customer_selling_price`, `thecarg_db`.`cg_tbl_seller_products`.`garage_selling_price`, `thecarg_db`.`cg_tbl_seller_products`.`mrp`, `thecarg_db`.`cg_tbl_seller_products`.`customer_discount_type`, `thecarg_db`.`cg_tbl_seller_products`.`customer_discount`, `thecarg_db`.`cg_tbl_seller_products`.`garage_discount_type`, `thecarg_db`.`cg_tbl_seller_products`.`garage_discount`, `thecarg_db`.`cg_tbl_seller_products`.`is_in_stock`, `thecarg_db`.`cg_tbl_seller_products`.`is_returnable`, `thecarg_db`.`cg_tbl_seller_products`.`return_days`, `thecarg_db`.`cg_tbl_seller_products`.`warranty_enabled`, `thecarg_db`.`cg_tbl_seller_products`.`warranty_duration`, `thecarg_db`.`cg_tbl_seller_products`.`warranty_duration_type`, `thecarg_db`.`cg_tbl_seller_products`.`warranty_document`, `thecarg_db`.`cg_tbl_seller_products`.`tax`, `thecarg_db`.`cg_tbl_seller_products`.`seller_id` FROM `thecarg_db`.`cg_tbl_seller_products` LEFT JOIN `thecarg_db`.`cg_tbl_sellers` AS `j1` ON (`j1`.`id`) = (`thecarg_db`.`cg_tbl_seller_products`.`seller_id`) WHERE (`thecarg_db`.`cg_tbl_seller_products`.`product_id` = ? AND `thecarg_db`.`cg_tbl_seller_products`.`status` = ? AND (`j1`.`status` = ? AND (`j1`.`id` IS NOT NULL))) ORDER BY `thecarg_db`.`cg_tbl_seller_products`.`garage_selling_price` ASC
prisma:query SELECT `thecarg_db`.`cg_tbl_sellers`.`id`, `thecarg_db`.`cg_tbl_sellers`.`seller_id`, `thecarg_db`.`cg_tbl_sellers`.`first_name`, `thecarg_db`.`cg_tbl_sellers`.`last_name`, `thecarg_db`.`cg_tbl_sellers`.`trade_name`, `thecarg_db`.`cg_tbl_sellers`.`city`, `thecarg_db`.`cg_tbl_sellers`.`state`, `thecarg_db`.`cg_tbl_sellers`.`email`, `thecarg_db`.`cg_tbl_sellers`.`mobile`, `thecarg_db`.`cg_tbl_sellers`.`address`, `thecarg_db`.`cg_tbl_sellers`.`pincode`, `thecarg_db`.`cg_tbl_sellers`.`status`, `thecarg_db`.`cg_tbl_sellers`.`operating_hours`, `thecarg_db`.`cg_tbl_sellers`.`zone`, `thecarg_db`.`cg_tbl_sellers`.`latitude`, `thecarg_db`.`cg_tbl_sellers`.`longitude` FROM `thecarg_db`.`cg_tbl_sellers` WHERE `thecarg_db`.`cg_tbl_sellers`.`id` IN (?)
prisma:query SELECT `thecarg_db`.`cg_tbl_zones`.`id`, `thecarg_db`.`cg_tbl_zones`.`zone_name` FROM `thecarg_db`.`cg_tbl_zones` WHERE 1=1
prisma:query SELECT 1
prisma:query SELECT `thecarg_db`.`cg_tbl_zones`.`id` FROM `thecarg_db`.`cg_tbl_zones` WHERE (`thecarg_db`.`cg_tbl_zones`.`id` IN (?) AND `thecarg_db`.`cg_tbl_zones`.`status` = ?)
prisma:query SELECT `thecarg_db`.`cg_tbl_products`.`id`, `thecarg_db`.`cg_tbl_products`.`techdoc_article_id`, `thecarg_db`.`cg_tbl_products`.`techdoc_brand_id`, `thecarg_db`.`cg_tbl_products`.`article_number`, `thecarg_db`.`cg_tbl_products`.`brand_name`, `thecarg_db`.`cg_tbl_products`.`status`, `thecarg_db`.`cg_tbl_products`.`created_at`, `thecarg_db`.`cg_tbl_products`.`updated_at`, `thecarg_db`.`cg_tbl_products`.`assembly_group_node_id`, `thecarg_db`.`cg_tbl_products`.`generic_article_id` FROM `thecarg_db`.`cg_tbl_products` WHERE (`thecarg_db`.`cg_tbl_products`.`id` = ? AND `thecarg_db`.`cg_tbl_products`.`status` = ?) LIMIT ? OFFSET ?
[2026-06-24T11:53:53.513Z] [INFO]: TecDoc → getArticles | provider: 25791 | country: IN | url: https://webservice.tecalliance.services/pegasus-3-0/services/TecdocToCatDLB.jsonEndpoint
--------------------------------------------------

[2026-06-24T11:53:53.998Z] [INFO]: TecDoc → getArticles | provider: 25791 | country: IN | url: https://webservice.tecalliance.services/pegasus-3-0/services/TecdocToCatDLB.jsonEndpoint
--------------------------------------------------

[2026-06-24T11:53:54.175Z] [INFO]: TecDoc → getArticleLinkedAllLinkingTarget4 | provider: 25791 | country: IN | url: https://webservice.tecalliance.services/pegasus-3-0/services/TecdocToCatDLB.jsonEndpoint
--------------------------------------------------

prisma:query SELECT `thecarg_db`.`cg_tbl_seller_products`.`id`, `thecarg_db`.`cg_tbl_seller_products`.`customer_selling_price`, `thecarg_db`.`cg_tbl_seller_products`.`garage_selling_price`, `thecarg_db`.`cg_tbl_seller_products`.`mrp`, `thecarg_db`.`cg_tbl_seller_products`.`customer_discount_type`, `thecarg_db`.`cg_tbl_seller_products`.`customer_discount`, `thecarg_db`.`cg_tbl_seller_products`.`garage_discount_type`, `thecarg_db`.`cg_tbl_seller_products`.`garage_discount`, `thecarg_db`.`cg_tbl_seller_products`.`is_in_stock`, `thecarg_db`.`cg_tbl_seller_products`.`is_returnable`, `thecarg_db`.`cg_tbl_seller_products`.`return_days`, `thecarg_db`.`cg_tbl_seller_products`.`warranty_enabled`, `thecarg_db`.`cg_tbl_seller_products`.`warranty_duration`, `thecarg_db`.`cg_tbl_seller_products`.`warranty_duration_type`, `thecarg_db`.`cg_tbl_seller_products`.`warranty_document`, `thecarg_db`.`cg_tbl_seller_products`.`tax`, `thecarg_db`.`cg_tbl_seller_products`.`seller_id` FROM `thecarg_db`.`cg_tbl_seller_products` LEFT JOIN `thecarg_db`.`cg_tbl_sellers` AS `j1` ON (`j1`.`id`) = (`thecarg_db`.`cg_tbl_seller_products`.`seller_id`) WHERE (`thecarg_db`.`cg_tbl_seller_products`.`product_id` = ? AND `thecarg_db`.`cg_tbl_seller_products`.`status` = ? AND (`j1`.`status` = ? AND (`j1`.`id` IS NOT NULL))) ORDER BY `thecarg_db`.`cg_tbl_seller_products`.`garage_selling_price` ASC
prisma:query SELECT `thecarg_db`.`cg_tbl_sellers`.`id`, `thecarg_db`.`cg_tbl_sellers`.`seller_id`, `thecarg_db`.`cg_tbl_sellers`.`first_name`, `thecarg_db`.`cg_tbl_sellers`.`last_name`, `thecarg_db`.`cg_tbl_sellers`.`trade_name`, `thecarg_db`.`cg_tbl_sellers`.`city`, `thecarg_db`.`cg_tbl_sellers`.`state`, `thecarg_db`.`cg_tbl_sellers`.`email`, `thecarg_db`.`cg_tbl_sellers`.`mobile`, `thecarg_db`.`cg_tbl_sellers`.`address`, `thecarg_db`.`cg_tbl_sellers`.`pincode`, `thecarg_db`.`cg_tbl_sellers`.`status`, `thecarg_db`.`cg_tbl_sellers`.`operating_hours`, `thecarg_db`.`cg_tbl_sellers`.`zone`, `thecarg_db`.`cg_tbl_sellers`.`latitude`, `thecarg_db`.`cg_tbl_sellers`.`longitude` FROM `thecarg_db`.`cg_tbl_sellers` WHERE `thecarg_db`.`cg_tbl_sellers`.`id` IN (?)
prisma:query SELECT `thecarg_db`.`cg_tbl_zones`.`id`, `thecarg_db`.`cg_tbl_zones`.`zone_name` FROM `thecarg_db`.`cg_tbl_zones` WHERE 1=1
prisma:query SELECT `thecarg_db`.`cg_tbl_zones`.`id` FROM `thecarg_db`.`cg_tbl_zones` WHERE (`thecarg_db`.`cg_tbl_zones`.`id` IN (?) AND `thecarg_db`.`cg_tbl_zones`.`status` = ?)
prisma:query SELECT `thecarg_db`.`cg_tbl_sellers`.`id`, `thecarg_db`.`cg_tbl_sellers`.`status`, `thecarg_db`.`cg_tbl_sellers`.`operating_hours`, `thecarg_db`.`cg_tbl_sellers`.`zone` FROM `thecarg_db`.`cg_tbl_sellers` WHERE `thecarg_db`.`cg_tbl_sellers`.`status` = ?
prisma:query SELECT `thecarg_db`.`cg_tbl_products`.`id`, `thecarg_db`.`cg_tbl_products`.`article_number` FROM `thecarg_db`.`cg_tbl_products` WHERE (`thecarg_db`.`cg_tbl_products`.`status` = ? AND (`thecarg_db`.`cg_tbl_products`.`id`) IN (SELECT `t1`.`product_id` FROM `thecarg_db`.`cg_tbl_seller_products` AS `t1` WHERE (`t1`.`status` = ? AND `t1`.`seller_id` IN (?) AND `t1`.`product_id` IS NOT NULL)) AND `thecarg_db`.`cg_tbl_products`.`generic_article_id` = ? AND `thecarg_db`.`cg_tbl_products`.`assembly_group_node_id` = ?) ORDER BY `thecarg_db`.`cg_tbl_products`.`id` ASC
prisma:query SELECT `thecarg_db`.`cg_tbl_products`.`article_number` FROM `thecarg_db`.`cg_tbl_products` WHERE `thecarg_db`.`cg_tbl_products`.`id` IN (?,?) GROUP BY `thecarg_db`.`cg_tbl_products`.`article_number`
prisma:query SELECT MIN(`thecarg_db`.`cg_tbl_products`.`id`), `thecarg_db`.`cg_tbl_products`.`article_number` FROM `thecarg_db`.`cg_tbl_products` WHERE `thecarg_db`.`cg_tbl_products`.`id` IN (?,?) GROUP BY `thecarg_db`.`cg_tbl_products`.`article_number` ORDER BY MIN(`thecarg_db`.`cg_tbl_products`.`id`) ASC LIMIT ? OFFSET ?
prisma:query SELECT `thecarg_db`.`cg_tbl_products`.`id`, `thecarg_db`.`cg_tbl_products`.`techdoc_article_id`, `thecarg_db`.`cg_tbl_products`.`techdoc_brand_id`, `thecarg_db`.`cg_tbl_products`.`article_number`, `thecarg_db`.`cg_tbl_products`.`brand_name`, `thecarg_db`.`cg_tbl_products`.`status`, `thecarg_db`.`cg_tbl_products`.`created_at`, `thecarg_db`.`cg_tbl_products`.`updated_at`, `thecarg_db`.`cg_tbl_products`.`assembly_group_node_id`, `thecarg_db`.`cg_tbl_products`.`generic_article_id` FROM `thecarg_db`.`cg_tbl_products` WHERE `thecarg_db`.`cg_tbl_products`.`id` IN (?,?) ORDER BY `thecarg_db`.`cg_tbl_products`.`id` ASC
[2026-06-24T11:53:54.553Z] [INFO]: TecDoc → getArticles | provider: 25791 | country: IN | url: https://webservice.tecalliance.services/pegasus-3-0/services/TecdocToCatDLB.jsonEndpoint
--------------------------------------------------

[2026-06-24T11:53:54.554Z] [INFO]: TecDoc → getArticles | provider: 25791 | country: IN | url: https://webservice.tecalliance.services/pegasus-3-0/services/TecdocToCatDLB.jsonEndpoint
--------------------------------------------------

[2026-06-24T11:53:54.725Z] [INFO]: TecDoc → getArticles | provider: 25791 | country: IN | url: https://webservice.tecalliance.services/pegasus-3-0/services/TecdocToCatDLB.jsonEndpoint
--------------------------------------------------

[2026-06-24T11:53:55.026Z] [INFO]: TecDoc → getArticles | provider: 25791 | country: IN | url: https://webservice.tecalliance.services/pegasus-3-0/services/TecdocToCatDLB.jsonEndpoint
--------------------------------------------------

prisma:query SELECT `thecarg_db`.`cg_tbl_products`.`id`, `thecarg_db`.`cg_tbl_products`.`techdoc_article_id` FROM `thecarg_db`.`cg_tbl_products` WHERE (`thecarg_db`.`cg_tbl_products`.`techdoc_article_id` IN (?,?) AND `thecarg_db`.`cg_tbl_products`.`status` = ? AND `thecarg_db`.`cg_tbl_products`.`id` IN (?,?))
prisma:query SELECT `thecarg_db`.`cg_tbl_seller_products`.`id`, `thecarg_db`.`cg_tbl_seller_products`.`product_id`, `thecarg_db`.`cg_tbl_seller_products`.`customer_selling_price`, `thecarg_db`.`cg_tbl_seller_products`.`garage_selling_price`, `thecarg_db`.`cg_tbl_seller_products`.`mrp`, `thecarg_db`.`cg_tbl_seller_products`.`customer_discount_type`, `thecarg_db`.`cg_tbl_seller_products`.`customer_discount`, `thecarg_db`.`cg_tbl_seller_products`.`garage_discount_type`, `thecarg_db`.`cg_tbl_seller_products`.`garage_discount`, `thecarg_db`.`cg_tbl_seller_products`.`is_in_stock`, `thecarg_db`.`cg_tbl_seller_products`.`is_returnable`, `thecarg_db`.`cg_tbl_seller_products`.`return_days`, `thecarg_db`.`cg_tbl_seller_products`.`warranty_enabled`, `thecarg_db`.`cg_tbl_seller_products`.`warranty_duration`, `thecarg_db`.`cg_tbl_seller_products`.`warranty_duration_type`, `thecarg_db`.`cg_tbl_seller_products`.`warranty_document`, `thecarg_db`.`cg_tbl_seller_products`.`tax`, `thecarg_db`.`cg_tbl_seller_products`.`seller_id` FROM `thecarg_db`.`cg_tbl_seller_products` LEFT JOIN `thecarg_db`.`cg_tbl_sellers` AS `j1` ON (`j1`.`id`) = (`thecarg_db`.`cg_tbl_seller_products`.`seller_id`) WHERE (`thecarg_db`.`cg_tbl_seller_products`.`product_id` IN (?,?) AND `thecarg_db`.`cg_tbl_seller_products`.`status` = ? AND (`j1`.`status` = ? AND (`j1`.`id` IS NOT NULL))) ORDER BY `thecarg_db`.`cg_tbl_seller_products`.`customer_selling_price` ASC
prisma:query SELECT `thecarg_db`.`cg_tbl_sellers`.`id`, `thecarg_db`.`cg_tbl_sellers`.`seller_id`, `thecarg_db`.`cg_tbl_sellers`.`first_name`, `thecarg_db`.`cg_tbl_sellers`.`last_name`, `thecarg_db`.`cg_tbl_sellers`.`trade_name`, `thecarg_db`.`cg_tbl_sellers`.`city`, `thecarg_db`.`cg_tbl_sellers`.`state`, `thecarg_db`.`cg_tbl_sellers`.`email`, `thecarg_db`.`cg_tbl_sellers`.`mobile`, `thecarg_db`.`cg_tbl_sellers`.`address`, `thecarg_db`.`cg_tbl_sellers`.`pincode`, `thecarg_db`.`cg_tbl_sellers`.`status`, `thecarg_db`.`cg_tbl_sellers`.`operating_hours`, `thecarg_db`.`cg_tbl_sellers`.`zone`, `thecarg_db`.`cg_tbl_sellers`.`latitude`, `thecarg_db`.`cg_tbl_sellers`.`longitude` FROM `thecarg_db`.`cg_tbl_sellers` WHERE `thecarg_db`.`cg_tbl_sellers`.`id` IN (?)
prisma:query SELECT `thecarg_db`.`cg_tbl_zones`.`id`, `thecarg_db`.`cg_tbl_zones`.`zone_name` FROM `thecarg_db`.`cg_tbl_zones` WHERE 1=1
prisma:query SELECT 1
prisma:query SELECT `thecarg_db`.`cg_tbl_zones`.`id` FROM `thecarg_db`.`cg_tbl_zones` WHERE (`thecarg_db`.`cg_tbl_zones`.`id` IN (?) AND `thecarg_db`.`cg_tbl_zones`.`status` = ?)
prisma:query SELECT `thecarg_db`.`cg_tbl_products`.`id`, `thecarg_db`.`cg_tbl_products`.`techdoc_article_id`, `thecarg_db`.`cg_tbl_products`.`techdoc_brand_id`, `thecarg_db`.`cg_tbl_products`.`article_number`, `thecarg_db`.`cg_tbl_products`.`brand_name`, `thecarg_db`.`cg_tbl_products`.`status`, `thecarg_db`.`cg_tbl_products`.`created_at`, `thecarg_db`.`cg_tbl_products`.`updated_at`, `thecarg_db`.`cg_tbl_products`.`assembly_group_node_id`, `thecarg_db`.`cg_tbl_products`.`generic_article_id` FROM `thecarg_db`.`cg_tbl_products` WHERE (`thecarg_db`.`cg_tbl_products`.`id` = ? AND `thecarg_db`.`cg_tbl_products`.`status` = ?) LIMIT ? OFFSET ?
[2026-06-24T11:54:16.864Z] [INFO]: TecDoc → getArticles | provider: 25791 | country: IN | url: https://webservice.tecalliance.services/pegasus-3-0/services/TecdocToCatDLB.jsonEndpoint
--------------------------------------------------

[2026-06-24T11:54:17.325Z] [INFO]: TecDoc → getArticles | provider: 25791 | country: IN | url: https://webservice.tecalliance.services/pegasus-3-0/services/TecdocToCatDLB.jsonEndpoint
--------------------------------------------------

[2026-06-24T11:54:17.487Z] [INFO]: TecDoc → getArticleLinkedAllLinkingTarget4 | provider: 25791 | country: IN | url: https://webservice.tecalliance.services/pegasus-3-0/services/TecdocToCatDLB.jsonEndpoint
--------------------------------------------------

prisma:query SELECT `thecarg_db`.`cg_tbl_seller_products`.`id`, `thecarg_db`.`cg_tbl_seller_products`.`customer_selling_price`, `thecarg_db`.`cg_tbl_seller_products`.`garage_selling_price`, `thecarg_db`.`cg_tbl_seller_products`.`mrp`, `thecarg_db`.`cg_tbl_seller_products`.`customer_discount_type`, `thecarg_db`.`cg_tbl_seller_products`.`customer_discount`, `thecarg_db`.`cg_tbl_seller_products`.`garage_discount_type`, `thecarg_db`.`cg_tbl_seller_products`.`garage_discount`, `thecarg_db`.`cg_tbl_seller_products`.`is_in_stock`, `thecarg_db`.`cg_tbl_seller_products`.`is_returnable`, `thecarg_db`.`cg_tbl_seller_products`.`return_days`, `thecarg_db`.`cg_tbl_seller_products`.`warranty_enabled`, `thecarg_db`.`cg_tbl_seller_products`.`warranty_duration`, `thecarg_db`.`cg_tbl_seller_products`.`warranty_duration_type`, `thecarg_db`.`cg_tbl_seller_products`.`warranty_document`, `thecarg_db`.`cg_tbl_seller_products`.`tax`, `thecarg_db`.`cg_tbl_seller_products`.`seller_id` FROM `thecarg_db`.`cg_tbl_seller_products` LEFT JOIN `thecarg_db`.`cg_tbl_sellers` AS `j1` ON (`j1`.`id`) = (`thecarg_db`.`cg_tbl_seller_products`.`seller_id`) WHERE (`thecarg_db`.`cg_tbl_seller_products`.`product_id` = ? AND `thecarg_db`.`cg_tbl_seller_products`.`status` = ? AND (`j1`.`status` = ? AND (`j1`.`id` IS NOT NULL))) ORDER BY `thecarg_db`.`cg_tbl_seller_products`.`garage_selling_price` ASC
prisma:query SELECT `thecarg_db`.`cg_tbl_sellers`.`id`, `thecarg_db`.`cg_tbl_sellers`.`seller_id`, `thecarg_db`.`cg_tbl_sellers`.`first_name`, `thecarg_db`.`cg_tbl_sellers`.`last_name`, `thecarg_db`.`cg_tbl_sellers`.`trade_name`, `thecarg_db`.`cg_tbl_sellers`.`city`, `thecarg_db`.`cg_tbl_sellers`.`state`, `thecarg_db`.`cg_tbl_sellers`.`email`, `thecarg_db`.`cg_tbl_sellers`.`mobile`, `thecarg_db`.`cg_tbl_sellers`.`address`, `thecarg_db`.`cg_tbl_sellers`.`pincode`, `thecarg_db`.`cg_tbl_sellers`.`status`, `thecarg_db`.`cg_tbl_sellers`.`operating_hours`, `thecarg_db`.`cg_tbl_sellers`.`zone`, `thecarg_db`.`cg_tbl_sellers`.`latitude`, `thecarg_db`.`cg_tbl_sellers`.`longitude` FROM `thecarg_db`.`cg_tbl_sellers` WHERE `thecarg_db`.`cg_tbl_sellers`.`id` IN (?)
prisma:query SELECT `thecarg_db`.`cg_tbl_zones`.`id`, `thecarg_db`.`cg_tbl_zones`.`zone_name` FROM `thecarg_db`.`cg_tbl_zones` WHERE 1=1
prisma:query SELECT `thecarg_db`.`cg_tbl_zones`.`id` FROM `thecarg_db`.`cg_tbl_zones` WHERE (`thecarg_db`.`cg_tbl_zones`.`id` IN (?) AND `thecarg_db`.`cg_tbl_zones`.`status` = ?)
prisma:query SELECT `thecarg_db`.`cg_tbl_products`.`id`, `thecarg_db`.`cg_tbl_products`.`techdoc_article_id`, `thecarg_db`.`cg_tbl_products`.`techdoc_brand_id`, `thecarg_db`.`cg_tbl_products`.`article_number`, `thecarg_db`.`cg_tbl_products`.`brand_name`, `thecarg_db`.`cg_tbl_products`.`status`, `thecarg_db`.`cg_tbl_products`.`created_at`, `thecarg_db`.`cg_tbl_products`.`updated_at`, `thecarg_db`.`cg_tbl_products`.`assembly_group_node_id`, `thecarg_db`.`cg_tbl_products`.`generic_article_id` FROM `thecarg_db`.`cg_tbl_products` WHERE (`thecarg_db`.`cg_tbl_products`.`id` = ? AND `thecarg_db`.`cg_tbl_products`.`status` = ?) LIMIT ? OFFSET ?
[2026-06-24T11:54:25.351Z] [INFO]: TecDoc → getArticles | provider: 25791 | country: IN | url: https://webservice.tecalliance.services/pegasus-3-0/services/TecdocToCatDLB.jsonEndpoint
--------------------------------------------------

[2026-06-24T11:54:25.812Z] [INFO]: TecDoc → getArticles | provider: 25791 | country: IN | url: https://webservice.tecalliance.services/pegasus-3-0/services/TecdocToCatDLB.jsonEndpoint
--------------------------------------------------

[2026-06-24T11:54:26.083Z] [INFO]: TecDoc → getArticleLinkedAllLinkingTarget4 | provider: 25791 | country: IN | url: https://webservice.tecalliance.services/pegasus-3-0/services/TecdocToCatDLB.jsonEndpoint
--------------------------------------------------

prisma:query SELECT `thecarg_db`.`cg_tbl_seller_products`.`id`, `thecarg_db`.`cg_tbl_seller_products`.`customer_selling_price`, `thecarg_db`.`cg_tbl_seller_products`.`garage_selling_price`, `thecarg_db`.`cg_tbl_seller_products`.`mrp`, `thecarg_db`.`cg_tbl_seller_products`.`customer_discount_type`, `thecarg_db`.`cg_tbl_seller_products`.`customer_discount`, `thecarg_db`.`cg_tbl_seller_products`.`garage_discount_type`, `thecarg_db`.`cg_tbl_seller_products`.`garage_discount`, `thecarg_db`.`cg_tbl_seller_products`.`is_in_stock`, `thecarg_db`.`cg_tbl_seller_products`.`is_returnable`, `thecarg_db`.`cg_tbl_seller_products`.`return_days`, `thecarg_db`.`cg_tbl_seller_products`.`warranty_enabled`, `thecarg_db`.`cg_tbl_seller_products`.`warranty_duration`, `thecarg_db`.`cg_tbl_seller_products`.`warranty_duration_type`, `thecarg_db`.`cg_tbl_seller_products`.`warranty_document`, `thecarg_db`.`cg_tbl_seller_products`.`tax`, `thecarg_db`.`cg_tbl_seller_products`.`seller_id` FROM `thecarg_db`.`cg_tbl_seller_products` LEFT JOIN `thecarg_db`.`cg_tbl_sellers` AS `j1` ON (`j1`.`id`) = (`thecarg_db`.`cg_tbl_seller_products`.`seller_id`) WHERE (`thecarg_db`.`cg_tbl_seller_products`.`product_id` = ? AND `thecarg_db`.`cg_tbl_seller_products`.`status` = ? AND (`j1`.`status` = ? AND (`j1`.`id` IS NOT NULL))) ORDER BY `thecarg_db`.`cg_tbl_seller_products`.`garage_selling_price` ASC
prisma:query SELECT `thecarg_db`.`cg_tbl_sellers`.`id`, `thecarg_db`.`cg_tbl_sellers`.`seller_id`, `thecarg_db`.`cg_tbl_sellers`.`first_name`, `thecarg_db`.`cg_tbl_sellers`.`last_name`, `thecarg_db`.`cg_tbl_sellers`.`trade_name`, `thecarg_db`.`cg_tbl_sellers`.`city`, `thecarg_db`.`cg_tbl_sellers`.`state`, `thecarg_db`.`cg_tbl_sellers`.`email`, `thecarg_db`.`cg_tbl_sellers`.`mobile`, `thecarg_db`.`cg_tbl_sellers`.`address`, `thecarg_db`.`cg_tbl_sellers`.`pincode`, `thecarg_db`.`cg_tbl_sellers`.`status`, `thecarg_db`.`cg_tbl_sellers`.`operating_hours`, `thecarg_db`.`cg_tbl_sellers`.`zone`, `thecarg_db`.`cg_tbl_sellers`.`latitude`, `thecarg_db`.`cg_tbl_sellers`.`longitude` FROM `thecarg_db`.`cg_tbl_sellers` WHERE `thecarg_db`.`cg_tbl_sellers`.`id` IN (?)
prisma:query SELECT `thecarg_db`.`cg_tbl_zones`.`id`, `thecarg_db`.`cg_tbl_zones`.`zone_name` FROM `thecarg_db`.`cg_tbl_zones` WHERE 1=1
prisma:query SELECT 1
prisma:query SELECT `thecarg_db`.`cg_tbl_zones`.`id` FROM `thecarg_db`.`cg_tbl_zones` WHERE (`thecarg_db`.`cg_tbl_zones`.`id` IN (?) AND `thecarg_db`.`cg_tbl_zones`.`status` = ?)
prisma:query SELECT `thecarg_db`.`cg_tbl_sellers`.`id`, `thecarg_db`.`cg_tbl_sellers`.`status`, `thecarg_db`.`cg_tbl_sellers`.`operating_hours`, `thecarg_db`.`cg_tbl_sellers`.`zone` FROM `thecarg_db`.`cg_tbl_sellers` WHERE `thecarg_db`.`cg_tbl_sellers`.`status` = ?
prisma:query SELECT `thecarg_db`.`cg_tbl_products`.`id`, `thecarg_db`.`cg_tbl_products`.`article_number` FROM `thecarg_db`.`cg_tbl_products` WHERE (`thecarg_db`.`cg_tbl_products`.`status` = ? AND (`thecarg_db`.`cg_tbl_products`.`id`) IN (SELECT `t1`.`product_id` FROM `thecarg_db`.`cg_tbl_seller_products` AS `t1` WHERE (`t1`.`status` = ? AND `t1`.`seller_id` IN (?) AND `t1`.`product_id` IS NOT NULL)) AND `thecarg_db`.`cg_tbl_products`.`generic_article_id` = ? AND `thecarg_db`.`cg_tbl_products`.`assembly_group_node_id` = ?) ORDER BY `thecarg_db`.`cg_tbl_products`.`id` ASC
prisma:query SELECT `thecarg_db`.`cg_tbl_products`.`article_number` FROM `thecarg_db`.`cg_tbl_products` WHERE `thecarg_db`.`cg_tbl_products`.`id` IN (?,?) GROUP BY `thecarg_db`.`cg_tbl_products`.`article_number`
prisma:query SELECT MIN(`thecarg_db`.`cg_tbl_products`.`id`), `thecarg_db`.`cg_tbl_products`.`article_number` FROM `thecarg_db`.`cg_tbl_products` WHERE `thecarg_db`.`cg_tbl_products`.`id` IN (?,?) GROUP BY `thecarg_db`.`cg_tbl_products`.`article_number` ORDER BY MIN(`thecarg_db`.`cg_tbl_products`.`id`) ASC LIMIT ? OFFSET ?
prisma:query SELECT `thecarg_db`.`cg_tbl_products`.`id`, `thecarg_db`.`cg_tbl_products`.`techdoc_article_id`, `thecarg_db`.`cg_tbl_products`.`techdoc_brand_id`, `thecarg_db`.`cg_tbl_products`.`article_number`, `thecarg_db`.`cg_tbl_products`.`brand_name`, `thecarg_db`.`cg_tbl_products`.`status`, `thecarg_db`.`cg_tbl_products`.`created_at`, `thecarg_db`.`cg_tbl_products`.`updated_at`, `thecarg_db`.`cg_tbl_products`.`assembly_group_node_id`, `thecarg_db`.`cg_tbl_products`.`generic_article_id` FROM `thecarg_db`.`cg_tbl_products` WHERE `thecarg_db`.`cg_tbl_products`.`id` IN (?,?) ORDER BY `thecarg_db`.`cg_tbl_products`.`id` ASC
[2026-06-24T11:54:37.674Z] [INFO]: TecDoc → getArticles | provider: 25791 | country: IN | url: https://webservice.tecalliance.services/pegasus-3-0/services/TecdocToCatDLB.jsonEndpoint
--------------------------------------------------

[2026-06-24T11:54:37.678Z] [INFO]: TecDoc → getArticles | provider: 25791 | country: IN | url: https://webservice.tecalliance.services/pegasus-3-0/services/TecdocToCatDLB.jsonEndpoint
--------------------------------------------------

[2026-06-24T11:54:38.156Z] [INFO]: TecDoc → getArticles | provider: 25791 | country: IN | url: https://webservice.tecalliance.services/pegasus-3-0/services/TecdocToCatDLB.jsonEndpoint
--------------------------------------------------

[2026-06-24T11:54:38.169Z] [INFO]: TecDoc → getArticles | provider: 25791 | country: IN | url: https://webservice.tecalliance.services/pegasus-3-0/services/TecdocToCatDLB.jsonEndpoint
--------------------------------------------------

prisma:query SELECT `thecarg_db`.`cg_tbl_products`.`id`, `thecarg_db`.`cg_tbl_products`.`techdoc_article_id` FROM `thecarg_db`.`cg_tbl_products` WHERE (`thecarg_db`.`cg_tbl_products`.`techdoc_article_id` IN (?,?) AND `thecarg_db`.`cg_tbl_products`.`status` = ? AND `thecarg_db`.`cg_tbl_products`.`id` IN (?,?))
prisma:query SELECT `thecarg_db`.`cg_tbl_seller_products`.`id`, `thecarg_db`.`cg_tbl_seller_products`.`product_id`, `thecarg_db`.`cg_tbl_seller_products`.`customer_selling_price`, `thecarg_db`.`cg_tbl_seller_products`.`garage_selling_price`, `thecarg_db`.`cg_tbl_seller_products`.`mrp`, `thecarg_db`.`cg_tbl_seller_products`.`customer_discount_type`, `thecarg_db`.`cg_tbl_seller_products`.`customer_discount`, `thecarg_db`.`cg_tbl_seller_products`.`garage_discount_type`, `thecarg_db`.`cg_tbl_seller_products`.`garage_discount`, `thecarg_db`.`cg_tbl_seller_products`.`is_in_stock`, `thecarg_db`.`cg_tbl_seller_products`.`is_returnable`, `thecarg_db`.`cg_tbl_seller_products`.`return_days`, `thecarg_db`.`cg_tbl_seller_products`.`warranty_enabled`, `thecarg_db`.`cg_tbl_seller_products`.`warranty_duration`, `thecarg_db`.`cg_tbl_seller_products`.`warranty_duration_type`, `thecarg_db`.`cg_tbl_seller_products`.`warranty_document`, `thecarg_db`.`cg_tbl_seller_products`.`tax`, `thecarg_db`.`cg_tbl_seller_products`.`seller_id` FROM `thecarg_db`.`cg_tbl_seller_products` LEFT JOIN `thecarg_db`.`cg_tbl_sellers` AS `j1` ON (`j1`.`id`) = (`thecarg_db`.`cg_tbl_seller_products`.`seller_id`) WHERE (`thecarg_db`.`cg_tbl_seller_products`.`product_id` IN (?,?) AND `thecarg_db`.`cg_tbl_seller_products`.`status` = ? AND (`j1`.`status` = ? AND (`j1`.`id` IS NOT NULL))) ORDER BY `thecarg_db`.`cg_tbl_seller_products`.`customer_selling_price` ASC
prisma:query SELECT `thecarg_db`.`cg_tbl_sellers`.`id`, `thecarg_db`.`cg_tbl_sellers`.`seller_id`, `thecarg_db`.`cg_tbl_sellers`.`first_name`, `thecarg_db`.`cg_tbl_sellers`.`last_name`, `thecarg_db`.`cg_tbl_sellers`.`trade_name`, `thecarg_db`.`cg_tbl_sellers`.`city`, `thecarg_db`.`cg_tbl_sellers`.`state`, `thecarg_db`.`cg_tbl_sellers`.`email`, `thecarg_db`.`cg_tbl_sellers`.`mobile`, `thecarg_db`.`cg_tbl_sellers`.`address`, `thecarg_db`.`cg_tbl_sellers`.`pincode`, `thecarg_db`.`cg_tbl_sellers`.`status`, `thecarg_db`.`cg_tbl_sellers`.`operating_hours`, `thecarg_db`.`cg_tbl_sellers`.`zone`, `thecarg_db`.`cg_tbl_sellers`.`latitude`, `thecarg_db`.`cg_tbl_sellers`.`longitude` FROM `thecarg_db`.`cg_tbl_sellers` WHERE `thecarg_db`.`cg_tbl_sellers`.`id` IN (?)
prisma:query SELECT `thecarg_db`.`cg_tbl_zones`.`id`, `thecarg_db`.`cg_tbl_zones`.`zone_name` FROM `thecarg_db`.`cg_tbl_zones` WHERE 1=1
prisma:query SELECT `thecarg_db`.`cg_tbl_zones`.`id` FROM `thecarg_db`.`cg_tbl_zones` WHERE (`thecarg_db`.`cg_tbl_zones`.`id` IN (?) AND `thecarg_db`.`cg_tbl_zones`.`status` = ?)
prisma:query SELECT `thecarg_db`.`cg_tbl_sellers`.`id`, `thecarg_db`.`cg_tbl_sellers`.`status`, `thecarg_db`.`cg_tbl_sellers`.`operating_hours`, `thecarg_db`.`cg_tbl_sellers`.`zone` FROM `thecarg_db`.`cg_tbl_sellers` WHERE `thecarg_db`.`cg_tbl_sellers`.`status` = ?
prisma:query SELECT `thecarg_db`.`cg_tbl_products`.`id`, `thecarg_db`.`cg_tbl_products`.`article_number` FROM `thecarg_db`.`cg_tbl_products` WHERE (`thecarg_db`.`cg_tbl_products`.`status` = ? AND (`thecarg_db`.`cg_tbl_products`.`id`) IN (SELECT `t1`.`product_id` FROM `thecarg_db`.`cg_tbl_seller_products` AS `t1` WHERE (`t1`.`status` = ? AND `t1`.`seller_id` IN (?) AND `t1`.`product_id` IS NOT NULL)) AND `thecarg_db`.`cg_tbl_products`.`generic_article_id` = ? AND `thecarg_db`.`cg_tbl_products`.`assembly_group_node_id` = ?) ORDER BY `thecarg_db`.`cg_tbl_products`.`id` ASC
prisma:query SELECT `thecarg_db`.`cg_tbl_products`.`article_number` FROM `thecarg_db`.`cg_tbl_products` WHERE `thecarg_db`.`cg_tbl_products`.`id` IN (?,?) GROUP BY `thecarg_db`.`cg_tbl_products`.`article_number`
prisma:query SELECT MIN(`thecarg_db`.`cg_tbl_products`.`id`), `thecarg_db`.`cg_tbl_products`.`article_number` FROM `thecarg_db`.`cg_tbl_products` WHERE `thecarg_db`.`cg_tbl_products`.`id` IN (?,?) GROUP BY `thecarg_db`.`cg_tbl_products`.`article_number` ORDER BY MIN(`thecarg_db`.`cg_tbl_products`.`id`) ASC LIMIT ? OFFSET ?
prisma:query SELECT `thecarg_db`.`cg_tbl_products`.`id`, `thecarg_db`.`cg_tbl_products`.`techdoc_article_id`, `thecarg_db`.`cg_tbl_products`.`techdoc_brand_id`, `thecarg_db`.`cg_tbl_products`.`article_number`, `thecarg_db`.`cg_tbl_products`.`brand_name`, `thecarg_db`.`cg_tbl_products`.`status`, `thecarg_db`.`cg_tbl_products`.`created_at`, `thecarg_db`.`cg_tbl_products`.`updated_at`, `thecarg_db`.`cg_tbl_products`.`assembly_group_node_id`, `thecarg_db`.`cg_tbl_products`.`generic_article_id` FROM `thecarg_db`.`cg_tbl_products` WHERE `thecarg_db`.`cg_tbl_products`.`id` IN (?,?) ORDER BY `thecarg_db`.`cg_tbl_products`.`id` ASC
[2026-06-24T11:54:39.804Z] [INFO]: TecDoc → getArticles | provider: 25791 | country: IN | url: https://webservice.tecalliance.services/pegasus-3-0/services/TecdocToCatDLB.jsonEndpoint
--------------------------------------------------

[2026-06-24T11:54:39.805Z] [INFO]: TecDoc → getArticles | provider: 25791 | country: IN | url: https://webservice.tecalliance.services/pegasus-3-0/services/TecdocToCatDLB.jsonEndpoint
--------------------------------------------------

[2026-06-24T11:54:39.965Z] [INFO]: TecDoc → getArticles | provider: 25791 | country: IN | url: https://webservice.tecalliance.services/pegasus-3-0/services/TecdocToCatDLB.jsonEndpoint
--------------------------------------------------

[2026-06-24T11:54:39.970Z] [INFO]: TecDoc → getArticles | provider: 25791 | country: IN | url: https://webservice.tecalliance.services/pegasus-3-0/services/TecdocToCatDLB.jsonEndpoint
--------------------------------------------------

prisma:query SELECT `thecarg_db`.`cg_tbl_products`.`id`, `thecarg_db`.`cg_tbl_products`.`techdoc_article_id` FROM `thecarg_db`.`cg_tbl_products` WHERE (`thecarg_db`.`cg_tbl_products`.`techdoc_article_id` IN (?,?) AND `thecarg_db`.`cg_tbl_products`.`status` = ? AND `thecarg_db`.`cg_tbl_products`.`id` IN (?,?))
prisma:query SELECT `thecarg_db`.`cg_tbl_seller_products`.`id`, `thecarg_db`.`cg_tbl_seller_products`.`product_id`, `thecarg_db`.`cg_tbl_seller_products`.`customer_selling_price`, `thecarg_db`.`cg_tbl_seller_products`.`garage_selling_price`, `thecarg_db`.`cg_tbl_seller_products`.`mrp`, `thecarg_db`.`cg_tbl_seller_products`.`customer_discount_type`, `thecarg_db`.`cg_tbl_seller_products`.`customer_discount`, `thecarg_db`.`cg_tbl_seller_products`.`garage_discount_type`, `thecarg_db`.`cg_tbl_seller_products`.`garage_discount`, `thecarg_db`.`cg_tbl_seller_products`.`is_in_stock`, `thecarg_db`.`cg_tbl_seller_products`.`is_returnable`, `thecarg_db`.`cg_tbl_seller_products`.`return_days`, `thecarg_db`.`cg_tbl_seller_products`.`warranty_enabled`, `thecarg_db`.`cg_tbl_seller_products`.`warranty_duration`, `thecarg_db`.`cg_tbl_seller_products`.`warranty_duration_type`, `thecarg_db`.`cg_tbl_seller_products`.`warranty_document`, `thecarg_db`.`cg_tbl_seller_products`.`tax`, `thecarg_db`.`cg_tbl_seller_products`.`seller_id` FROM `thecarg_db`.`cg_tbl_seller_products` LEFT JOIN `thecarg_db`.`cg_tbl_sellers` AS `j1` ON (`j1`.`id`) = (`thecarg_db`.`cg_tbl_seller_products`.`seller_id`) WHERE (`thecarg_db`.`cg_tbl_seller_products`.`product_id` IN (?,?) AND `thecarg_db`.`cg_tbl_seller_products`.`status` = ? AND (`j1`.`status` = ? AND (`j1`.`id` IS NOT NULL))) ORDER BY `thecarg_db`.`cg_tbl_seller_products`.`customer_selling_price` ASC
prisma:query SELECT `thecarg_db`.`cg_tbl_sellers`.`id`, `thecarg_db`.`cg_tbl_sellers`.`seller_id`, `thecarg_db`.`cg_tbl_sellers`.`first_name`, `thecarg_db`.`cg_tbl_sellers`.`last_name`, `thecarg_db`.`cg_tbl_sellers`.`trade_name`, `thecarg_db`.`cg_tbl_sellers`.`city`, `thecarg_db`.`cg_tbl_sellers`.`state`, `thecarg_db`.`cg_tbl_sellers`.`email`, `thecarg_db`.`cg_tbl_sellers`.`mobile`, `thecarg_db`.`cg_tbl_sellers`.`address`, `thecarg_db`.`cg_tbl_sellers`.`pincode`, `thecarg_db`.`cg_tbl_sellers`.`status`, `thecarg_db`.`cg_tbl_sellers`.`operating_hours`, `thecarg_db`.`cg_tbl_sellers`.`zone`, `thecarg_db`.`cg_tbl_sellers`.`latitude`, `thecarg_db`.`cg_tbl_sellers`.`longitude` FROM `thecarg_db`.`cg_tbl_sellers` WHERE `thecarg_db`.`cg_tbl_sellers`.`id` IN (?)
prisma:query SELECT `thecarg_db`.`cg_tbl_zones`.`id`, `thecarg_db`.`cg_tbl_zones`.`zone_name` FROM `thecarg_db`.`cg_tbl_zones` WHERE 1=1
prisma:query SELECT `thecarg_db`.`cg_tbl_zones`.`id` FROM `thecarg_db`.`cg_tbl_zones` WHERE (`thecarg_db`.`cg_tbl_zones`.`id` IN (?) AND `thecarg_db`.`cg_tbl_zones`.`status` = ?)
prisma:query SELECT `thecarg_db`.`cg_tbl_products`.`id`, `thecarg_db`.`cg_tbl_products`.`techdoc_article_id`, `thecarg_db`.`cg_tbl_products`.`techdoc_brand_id`, `thecarg_db`.`cg_tbl_products`.`article_number`, `thecarg_db`.`cg_tbl_products`.`brand_name`, `thecarg_db`.`cg_tbl_products`.`status`, `thecarg_db`.`cg_tbl_products`.`created_at`, `thecarg_db`.`cg_tbl_products`.`updated_at`, `thecarg_db`.`cg_tbl_products`.`assembly_group_node_id`, `thecarg_db`.`cg_tbl_products`.`generic_article_id` FROM `thecarg_db`.`cg_tbl_products` WHERE (`thecarg_db`.`cg_tbl_products`.`id` = ? AND `thecarg_db`.`cg_tbl_products`.`status` = ?) LIMIT ? OFFSET ?
[2026-06-24T11:54:41.859Z] [INFO]: TecDoc → getArticles | provider: 25791 | country: IN | url: https://webservice.tecalliance.services/pegasus-3-0/services/TecdocToCatDLB.jsonEndpoint
--------------------------------------------------

[2026-06-24T11:54:42.032Z] [INFO]: TecDoc → getArticles | provider: 25791 | country: IN | url: https://webservice.tecalliance.services/pegasus-3-0/services/TecdocToCatDLB.jsonEndpoint
--------------------------------------------------

[2026-06-24T11:54:42.225Z] [INFO]: TecDoc → getArticleLinkedAllLinkingTarget4 | provider: 25791 | country: IN | url: https://webservice.tecalliance.services/pegasus-3-0/services/TecdocToCatDLB.jsonEndpoint
--------------------------------------------------

prisma:query SELECT `thecarg_db`.`cg_tbl_seller_products`.`id`, `thecarg_db`.`cg_tbl_seller_products`.`customer_selling_price`, `thecarg_db`.`cg_tbl_seller_products`.`garage_selling_price`, `thecarg_db`.`cg_tbl_seller_products`.`mrp`, `thecarg_db`.`cg_tbl_seller_products`.`customer_discount_type`, `thecarg_db`.`cg_tbl_seller_products`.`customer_discount`, `thecarg_db`.`cg_tbl_seller_products`.`garage_discount_type`, `thecarg_db`.`cg_tbl_seller_products`.`garage_discount`, `thecarg_db`.`cg_tbl_seller_products`.`is_in_stock`, `thecarg_db`.`cg_tbl_seller_products`.`is_returnable`, `thecarg_db`.`cg_tbl_seller_products`.`return_days`, `thecarg_db`.`cg_tbl_seller_products`.`warranty_enabled`, `thecarg_db`.`cg_tbl_seller_products`.`warranty_duration`, `thecarg_db`.`cg_tbl_seller_products`.`warranty_duration_type`, `thecarg_db`.`cg_tbl_seller_products`.`warranty_document`, `thecarg_db`.`cg_tbl_seller_products`.`tax`, `thecarg_db`.`cg_tbl_seller_products`.`seller_id` FROM `thecarg_db`.`cg_tbl_seller_products` LEFT JOIN `thecarg_db`.`cg_tbl_sellers` AS `j1` ON (`j1`.`id`) = (`thecarg_db`.`cg_tbl_seller_products`.`seller_id`) WHERE (`thecarg_db`.`cg_tbl_seller_products`.`product_id` = ? AND `thecarg_db`.`cg_tbl_seller_products`.`status` = ? AND (`j1`.`status` = ? AND (`j1`.`id` IS NOT NULL))) ORDER BY `thecarg_db`.`cg_tbl_seller_products`.`garage_selling_price` ASC
prisma:query SELECT `thecarg_db`.`cg_tbl_sellers`.`id`, `thecarg_db`.`cg_tbl_sellers`.`seller_id`, `thecarg_db`.`cg_tbl_sellers`.`first_name`, `thecarg_db`.`cg_tbl_sellers`.`last_name`, `thecarg_db`.`cg_tbl_sellers`.`trade_name`, `thecarg_db`.`cg_tbl_sellers`.`city`, `thecarg_db`.`cg_tbl_sellers`.`state`, `thecarg_db`.`cg_tbl_sellers`.`email`, `thecarg_db`.`cg_tbl_sellers`.`mobile`, `thecarg_db`.`cg_tbl_sellers`.`address`, `thecarg_db`.`cg_tbl_sellers`.`pincode`, `thecarg_db`.`cg_tbl_sellers`.`status`, `thecarg_db`.`cg_tbl_sellers`.`operating_hours`, `thecarg_db`.`cg_tbl_sellers`.`zone`, `thecarg_db`.`cg_tbl_sellers`.`latitude`, `thecarg_db`.`cg_tbl_sellers`.`longitude` FROM `thecarg_db`.`cg_tbl_sellers` WHERE `thecarg_db`.`cg_tbl_sellers`.`id` IN (?)
prisma:query SELECT `thecarg_db`.`cg_tbl_zones`.`id`, `thecarg_db`.`cg_tbl_zones`.`zone_name` FROM `thecarg_db`.`cg_tbl_zones` WHERE 1=1
prisma:query SELECT 1
prisma:query SELECT `thecarg_db`.`cg_tbl_zones`.`id` FROM `thecarg_db`.`cg_tbl_zones` WHERE (`thecarg_db`.`cg_tbl_zones`.`id` IN (?) AND `thecarg_db`.`cg_tbl_zones`.`status` = ?)
prisma:query SELECT `thecarg_db`.`cg_tbl_products`.`id`, `thecarg_db`.`cg_tbl_products`.`techdoc_article_id`, `thecarg_db`.`cg_tbl_products`.`techdoc_brand_id`, `thecarg_db`.`cg_tbl_products`.`article_number`, `thecarg_db`.`cg_tbl_products`.`brand_name`, `thecarg_db`.`cg_tbl_products`.`status`, `thecarg_db`.`cg_tbl_products`.`created_at`, `thecarg_db`.`cg_tbl_products`.`updated_at`, `thecarg_db`.`cg_tbl_products`.`assembly_group_node_id`, `thecarg_db`.`cg_tbl_products`.`generic_article_id` FROM `thecarg_db`.`cg_tbl_products` WHERE (`thecarg_db`.`cg_tbl_products`.`id` = ? AND `thecarg_db`.`cg_tbl_products`.`status` = ?) LIMIT ? OFFSET ?
[2026-06-24T11:54:55.444Z] [INFO]: TecDoc → getArticles | provider: 25791 | country: IN | url: https://webservice.tecalliance.services/pegasus-3-0/services/TecdocToCatDLB.jsonEndpoint
--------------------------------------------------

[2026-06-24T11:54:55.918Z] [INFO]: TecDoc → getArticles | provider: 25791 | country: IN | url: https://webservice.tecalliance.services/pegasus-3-0/services/TecdocToCatDLB.jsonEndpoint
--------------------------------------------------

[2026-06-24T11:54:56.084Z] [INFO]: TecDoc → getArticleLinkedAllLinkingTarget4 | provider: 25791 | country: IN | url: https://webservice.tecalliance.services/pegasus-3-0/services/TecdocToCatDLB.jsonEndpoint
--------------------------------------------------

prisma:query SELECT `thecarg_db`.`cg_tbl_seller_products`.`id`, `thecarg_db`.`cg_tbl_seller_products`.`customer_selling_price`, `thecarg_db`.`cg_tbl_seller_products`.`garage_selling_price`, `thecarg_db`.`cg_tbl_seller_products`.`mrp`, `thecarg_db`.`cg_tbl_seller_products`.`customer_discount_type`, `thecarg_db`.`cg_tbl_seller_products`.`customer_discount`, `thecarg_db`.`cg_tbl_seller_products`.`garage_discount_type`, `thecarg_db`.`cg_tbl_seller_products`.`garage_discount`, `thecarg_db`.`cg_tbl_seller_products`.`is_in_stock`, `thecarg_db`.`cg_tbl_seller_products`.`is_returnable`, `thecarg_db`.`cg_tbl_seller_products`.`return_days`, `thecarg_db`.`cg_tbl_seller_products`.`warranty_enabled`, `thecarg_db`.`cg_tbl_seller_products`.`warranty_duration`, `thecarg_db`.`cg_tbl_seller_products`.`warranty_duration_type`, `thecarg_db`.`cg_tbl_seller_products`.`warranty_document`, `thecarg_db`.`cg_tbl_seller_products`.`tax`, `thecarg_db`.`cg_tbl_seller_products`.`seller_id` FROM `thecarg_db`.`cg_tbl_seller_products` LEFT JOIN `thecarg_db`.`cg_tbl_sellers` AS `j1` ON (`j1`.`id`) = (`thecarg_db`.`cg_tbl_seller_products`.`seller_id`) WHERE (`thecarg_db`.`cg_tbl_seller_products`.`product_id` = ? AND `thecarg_db`.`cg_tbl_seller_products`.`status` = ? AND (`j1`.`status` = ? AND (`j1`.`id` IS NOT NULL))) ORDER BY `thecarg_db`.`cg_tbl_seller_products`.`garage_selling_price` ASC
prisma:query SELECT `thecarg_db`.`cg_tbl_sellers`.`id`, `thecarg_db`.`cg_tbl_sellers`.`seller_id`, `thecarg_db`.`cg_tbl_sellers`.`first_name`, `thecarg_db`.`cg_tbl_sellers`.`last_name`, `thecarg_db`.`cg_tbl_sellers`.`trade_name`, `thecarg_db`.`cg_tbl_sellers`.`city`, `thecarg_db`.`cg_tbl_sellers`.`state`, `thecarg_db`.`cg_tbl_sellers`.`email`, `thecarg_db`.`cg_tbl_sellers`.`mobile`, `thecarg_db`.`cg_tbl_sellers`.`address`, `thecarg_db`.`cg_tbl_sellers`.`pincode`, `thecarg_db`.`cg_tbl_sellers`.`status`, `thecarg_db`.`cg_tbl_sellers`.`operating_hours`, `thecarg_db`.`cg_tbl_sellers`.`zone`, `thecarg_db`.`cg_tbl_sellers`.`latitude`, `thecarg_db`.`cg_tbl_sellers`.`longitude` FROM `thecarg_db`.`cg_tbl_sellers` WHERE `thecarg_db`.`cg_tbl_sellers`.`id` IN (?)
prisma:query SELECT `thecarg_db`.`cg_tbl_zones`.`id`, `thecarg_db`.`cg_tbl_zones`.`zone_name` FROM `thecarg_db`.`cg_tbl_zones` WHERE 1=1
prisma:query SELECT 1
prisma:query SELECT `thecarg_db`.`cg_tbl_zones`.`id` FROM `thecarg_db`.`cg_tbl_zones` WHERE (`thecarg_db`.`cg_tbl_zones`.`id` IN (?,?) AND `thecarg_db`.`cg_tbl_zones`.`status` = ?)
prisma:query SELECT `thecarg_db`.`cg_tbl_products`.`id`, `thecarg_db`.`cg_tbl_products`.`techdoc_article_id`, `thecarg_db`.`cg_tbl_products`.`techdoc_brand_id`, `thecarg_db`.`cg_tbl_products`.`article_number`, `thecarg_db`.`cg_tbl_products`.`brand_name`, `thecarg_db`.`cg_tbl_products`.`status`, `thecarg_db`.`cg_tbl_products`.`created_at`, `thecarg_db`.`cg_tbl_products`.`updated_at`, `thecarg_db`.`cg_tbl_products`.`assembly_group_node_id`, `thecarg_db`.`cg_tbl_products`.`generic_article_id` FROM `thecarg_db`.`cg_tbl_products` WHERE (`thecarg_db`.`cg_tbl_products`.`id` = ? AND `thecarg_db`.`cg_tbl_products`.`status` = ?) LIMIT ? OFFSET ?
[2026-06-24T11:55:11.653Z] [INFO]: TecDoc → getArticles | provider: 25791 | country: IN | url: https://webservice.tecalliance.services/pegasus-3-0/services/TecdocToCatDLB.jsonEndpoint
--------------------------------------------------

[2026-06-24T11:55:12.117Z] [INFO]: TecDoc → getArticles | provider: 25791 | country: IN | url: https://webservice.tecalliance.services/pegasus-3-0/services/TecdocToCatDLB.jsonEndpoint
--------------------------------------------------

[2026-06-24T11:55:12.278Z] [INFO]: TecDoc → getArticleLinkedAllLinkingTarget4 | provider: 25791 | country: IN | url: https://webservice.tecalliance.services/pegasus-3-0/services/TecdocToCatDLB.jsonEndpoint
--------------------------------------------------

[2026-06-24T11:55:12.440Z] [INFO]: TecDoc → getArticleLinkedAllLinkingTargetsByIds3 | provider: 25791 | country: IN | url: https://webservice.tecalliance.services/pegasus-3-0/services/TecdocToCatDLB.jsonEndpoint
--------------------------------------------------

prisma:query SELECT `thecarg_db`.`cg_tbl_seller_products`.`id`, `thecarg_db`.`cg_tbl_seller_products`.`customer_selling_price`, `thecarg_db`.`cg_tbl_seller_products`.`garage_selling_price`, `thecarg_db`.`cg_tbl_seller_products`.`mrp`, `thecarg_db`.`cg_tbl_seller_products`.`customer_discount_type`, `thecarg_db`.`cg_tbl_seller_products`.`customer_discount`, `thecarg_db`.`cg_tbl_seller_products`.`garage_discount_type`, `thecarg_db`.`cg_tbl_seller_products`.`garage_discount`, `thecarg_db`.`cg_tbl_seller_products`.`is_in_stock`, `thecarg_db`.`cg_tbl_seller_products`.`is_returnable`, `thecarg_db`.`cg_tbl_seller_products`.`return_days`, `thecarg_db`.`cg_tbl_seller_products`.`warranty_enabled`, `thecarg_db`.`cg_tbl_seller_products`.`warranty_duration`, `thecarg_db`.`cg_tbl_seller_products`.`warranty_duration_type`, `thecarg_db`.`cg_tbl_seller_products`.`warranty_document`, `thecarg_db`.`cg_tbl_seller_products`.`tax`, `thecarg_db`.`cg_tbl_seller_products`.`seller_id` FROM `thecarg_db`.`cg_tbl_seller_products` LEFT JOIN `thecarg_db`.`cg_tbl_sellers` AS `j1` ON (`j1`.`id`) = (`thecarg_db`.`cg_tbl_seller_products`.`seller_id`) WHERE (`thecarg_db`.`cg_tbl_seller_products`.`product_id` = ? AND `thecarg_db`.`cg_tbl_seller_products`.`status` = ? AND (`j1`.`status` = ? AND (`j1`.`id` IS NOT NULL))) ORDER BY `thecarg_db`.`cg_tbl_seller_products`.`garage_selling_price` ASC
prisma:query SELECT `thecarg_db`.`cg_tbl_sellers`.`id`, `thecarg_db`.`cg_tbl_sellers`.`seller_id`, `thecarg_db`.`cg_tbl_sellers`.`first_name`, `thecarg_db`.`cg_tbl_sellers`.`last_name`, `thecarg_db`.`cg_tbl_sellers`.`trade_name`, `thecarg_db`.`cg_tbl_sellers`.`city`, `thecarg_db`.`cg_tbl_sellers`.`state`, `thecarg_db`.`cg_tbl_sellers`.`email`, `thecarg_db`.`cg_tbl_sellers`.`mobile`, `thecarg_db`.`cg_tbl_sellers`.`address`, `thecarg_db`.`cg_tbl_sellers`.`pincode`, `thecarg_db`.`cg_tbl_sellers`.`status`, `thecarg_db`.`cg_tbl_sellers`.`operating_hours`, `thecarg_db`.`cg_tbl_sellers`.`zone`, `thecarg_db`.`cg_tbl_sellers`.`latitude`, `thecarg_db`.`cg_tbl_sellers`.`longitude` FROM `thecarg_db`.`cg_tbl_sellers` WHERE `thecarg_db`.`cg_tbl_sellers`.`id` IN (?)
prisma:query SELECT `thecarg_db`.`cg_tbl_zones`.`id`, `thecarg_db`.`cg_tbl_zones`.`zone_name` FROM `thecarg_db`.`cg_tbl_zones` WHERE 1=1
[32m[nodemon] restarting due to changes...[39m
prisma:query SELECT `thecarg_db`.`cg_tbl_zones`.`id` FROM `thecarg_db`.`cg_tbl_zones` WHERE (`thecarg_db`.`cg_tbl_zones`.`id` IN (?,?) AND `thecarg_db`.`cg_tbl_zones`.`status` = ?)
prisma:query SELECT `thecarg_db`.`cg_tbl_products`.`id`, `thecarg_db`.`cg_tbl_products`.`techdoc_article_id`, `thecarg_db`.`cg_tbl_products`.`techdoc_brand_id`, `thecarg_db`.`cg_tbl_products`.`article_number`, `thecarg_db`.`cg_tbl_products`.`brand_name`, `thecarg_db`.`cg_tbl_products`.`status`, `thecarg_db`.`cg_tbl_products`.`created_at`, `thecarg_db`.`cg_tbl_products`.`updated_at`, `thecarg_db`.`cg_tbl_products`.`assembly_group_node_id`, `thecarg_db`.`cg_tbl_products`.`generic_article_id` FROM `thecarg_db`.`cg_tbl_products` WHERE (`thecarg_db`.`cg_tbl_products`.`id` = ? AND `thecarg_db`.`cg_tbl_products`.`status` = ?) LIMIT ? OFFSET ?
[2026-06-24T11:55:15.410Z] [INFO]: TecDoc → getArticles | provider: 25791 | country: IN | url: https://webservice.tecalliance.services/pegasus-3-0/services/TecdocToCatDLB.jsonEndpoint
--------------------------------------------------

[2026-06-24T11:55:15.571Z] [INFO]: TecDoc → getArticles | provider: 25791 | country: IN | url: https://webservice.tecalliance.services/pegasus-3-0/services/TecdocToCatDLB.jsonEndpoint
--------------------------------------------------

[2026-06-24T11:55:15.759Z] [INFO]: TecDoc → getArticleLinkedAllLinkingTarget4 | provider: 25791 | country: IN | url: https://webservice.tecalliance.services/pegasus-3-0/services/TecdocToCatDLB.jsonEndpoint
--------------------------------------------------

[32m[nodemon] starting `ts-node-esm src/server.js`[39m
prisma:info Starting a mysql pool with 9 connections.
[2026-06-24T11:55:19.578Z] [INFO]: Successfully connected to the MySQL Database via Prisma!
--------------------------------------------------

prisma:query SELECT `thecarg_db`.`cg_tbl_business_settings`.`id`, `thecarg_db`.`cg_tbl_business_settings`.`key`, `thecarg_db`.`cg_tbl_business_settings`.`value`, `thecarg_db`.`cg_tbl_business_settings`.`created_at`, `thecarg_db`.`cg_tbl_business_settings`.`updated_at` FROM `thecarg_db`.`cg_tbl_business_settings` WHERE `thecarg_db`.`cg_tbl_business_settings`.`key` = ? LIMIT ? OFFSET ?
prisma:query SELECT `thecarg_db`.`cg_tbl_business_settings`.`id`, `thecarg_db`.`cg_tbl_business_settings`.`key`, `thecarg_db`.`cg_tbl_business_settings`.`value`, `thecarg_db`.`cg_tbl_business_settings`.`created_at`, `thecarg_db`.`cg_tbl_business_settings`.`updated_at` FROM `thecarg_db`.`cg_tbl_business_settings` WHERE `thecarg_db`.`cg_tbl_business_settings`.`key` = ? LIMIT ? OFFSET ?
Firebase initialized successfully
[2026-06-24T11:55:19.599Z] [INFO]: Server is running in development mode on port 5000
--------------------------------------------------

[2026-06-24T11:55:19.601Z] [INFO]: Endpoint: http://localhost:5000
--------------------------------------------------

prisma:query SELECT `thecarg_db`.`cg_tbl_zones`.`id` FROM `thecarg_db`.`cg_tbl_zones` WHERE (`thecarg_db`.`cg_tbl_zones`.`id` IN (?,?) AND `thecarg_db`.`cg_tbl_zones`.`status` = ?)
prisma:query SELECT `thecarg_db`.`cg_tbl_products`.`id`, `thecarg_db`.`cg_tbl_products`.`techdoc_article_id`, `thecarg_db`.`cg_tbl_products`.`techdoc_brand_id`, `thecarg_db`.`cg_tbl_products`.`article_number`, `thecarg_db`.`cg_tbl_products`.`brand_name`, `thecarg_db`.`cg_tbl_products`.`status`, `thecarg_db`.`cg_tbl_products`.`created_at`, `thecarg_db`.`cg_tbl_products`.`updated_at`, `thecarg_db`.`cg_tbl_products`.`assembly_group_node_id`, `thecarg_db`.`cg_tbl_products`.`generic_article_id` FROM `thecarg_db`.`cg_tbl_products` WHERE (`thecarg_db`.`cg_tbl_products`.`id` = ? AND `thecarg_db`.`cg_tbl_products`.`status` = ?) LIMIT ? OFFSET ?
prisma:query SELECT `thecarg_db`.`cg_tbl_business_settings`.`id`, `thecarg_db`.`cg_tbl_business_settings`.`key`, `thecarg_db`.`cg_tbl_business_settings`.`value`, `thecarg_db`.`cg_tbl_business_settings`.`created_at`, `thecarg_db`.`cg_tbl_business_settings`.`updated_at` FROM `thecarg_db`.`cg_tbl_business_settings` WHERE `thecarg_db`.`cg_tbl_business_settings`.`key` = ? LIMIT ? OFFSET ?
prisma:query SELECT `thecarg_db`.`cg_tbl_business_settings`.`id`, `thecarg_db`.`cg_tbl_business_settings`.`key`, `thecarg_db`.`cg_tbl_business_settings`.`value`, `thecarg_db`.`cg_tbl_business_settings`.`created_at`, `thecarg_db`.`cg_tbl_business_settings`.`updated_at` FROM `thecarg_db`.`cg_tbl_business_settings` WHERE `thecarg_db`.`cg_tbl_business_settings`.`key` = ? LIMIT ? OFFSET ?
prisma:query SELECT `thecarg_db`.`cg_tbl_business_settings`.`id`, `thecarg_db`.`cg_tbl_business_settings`.`key`, `thecarg_db`.`cg_tbl_business_settings`.`value`, `thecarg_db`.`cg_tbl_business_settings`.`created_at`, `thecarg_db`.`cg_tbl_business_settings`.`updated_at` FROM `thecarg_db`.`cg_tbl_business_settings` WHERE `thecarg_db`.`cg_tbl_business_settings`.`key` = ? LIMIT ? OFFSET ?
prisma:query SELECT `thecarg_db`.`cg_tbl_business_settings`.`id`, `thecarg_db`.`cg_tbl_business_settings`.`key`, `thecarg_db`.`cg_tbl_business_settings`.`value`, `thecarg_db`.`cg_tbl_business_settings`.`created_at`, `thecarg_db`.`cg_tbl_business_settings`.`updated_at` FROM `thecarg_db`.`cg_tbl_business_settings` WHERE `thecarg_db`.`cg_tbl_business_settings`.`key` = ? LIMIT ? OFFSET ?
[2026-06-24T11:55:20.930Z] [INFO]: TecDoc → getArticles | provider: 25791 | country: IN | url: https://webservice.tecalliance.services/pegasus-3-0/services/TecdocToCatDLB.jsonEndpoint
--------------------------------------------------

[2026-06-24T11:55:21.480Z] [INFO]: TecDoc → getArticles | provider: 25791 | country: IN | url: https://webservice.tecalliance.services/pegasus-3-0/services/TecdocToCatDLB.jsonEndpoint
--------------------------------------------------

[2026-06-24T11:55:21.653Z] [INFO]: TecDoc → getArticleLinkedAllLinkingTarget4 | provider: 25791 | country: IN | url: https://webservice.tecalliance.services/pegasus-3-0/services/TecdocToCatDLB.jsonEndpoint
--------------------------------------------------

prisma:query SELECT `thecarg_db`.`cg_tbl_seller_products`.`id`, `thecarg_db`.`cg_tbl_seller_products`.`customer_selling_price`, `thecarg_db`.`cg_tbl_seller_products`.`garage_selling_price`, `thecarg_db`.`cg_tbl_seller_products`.`mrp`, `thecarg_db`.`cg_tbl_seller_products`.`customer_discount_type`, `thecarg_db`.`cg_tbl_seller_products`.`customer_discount`, `thecarg_db`.`cg_tbl_seller_products`.`garage_discount_type`, `thecarg_db`.`cg_tbl_seller_products`.`garage_discount`, `thecarg_db`.`cg_tbl_seller_products`.`is_in_stock`, `thecarg_db`.`cg_tbl_seller_products`.`is_returnable`, `thecarg_db`.`cg_tbl_seller_products`.`return_days`, `thecarg_db`.`cg_tbl_seller_products`.`warranty_enabled`, `thecarg_db`.`cg_tbl_seller_products`.`warranty_duration`, `thecarg_db`.`cg_tbl_seller_products`.`warranty_duration_type`, `thecarg_db`.`cg_tbl_seller_products`.`warranty_document`, `thecarg_db`.`cg_tbl_seller_products`.`tax`, `thecarg_db`.`cg_tbl_seller_products`.`seller_id` FROM `thecarg_db`.`cg_tbl_seller_products` LEFT JOIN `thecarg_db`.`cg_tbl_sellers` AS `j1` ON (`j1`.`id`) = (`thecarg_db`.`cg_tbl_seller_products`.`seller_id`) WHERE (`thecarg_db`.`cg_tbl_seller_products`.`product_id` = ? AND `thecarg_db`.`cg_tbl_seller_products`.`status` = ? AND (`j1`.`status` = ? AND (`j1`.`id` IS NOT NULL))) ORDER BY `thecarg_db`.`cg_tbl_seller_products`.`garage_selling_price` ASC
prisma:query SELECT `thecarg_db`.`cg_tbl_sellers`.`id`, `thecarg_db`.`cg_tbl_sellers`.`seller_id`, `thecarg_db`.`cg_tbl_sellers`.`first_name`, `thecarg_db`.`cg_tbl_sellers`.`last_name`, `thecarg_db`.`cg_tbl_sellers`.`trade_name`, `thecarg_db`.`cg_tbl_sellers`.`city`, `thecarg_db`.`cg_tbl_sellers`.`state`, `thecarg_db`.`cg_tbl_sellers`.`email`, `thecarg_db`.`cg_tbl_sellers`.`mobile`, `thecarg_db`.`cg_tbl_sellers`.`address`, `thecarg_db`.`cg_tbl_sellers`.`pincode`, `thecarg_db`.`cg_tbl_sellers`.`status`, `thecarg_db`.`cg_tbl_sellers`.`operating_hours`, `thecarg_db`.`cg_tbl_sellers`.`zone`, `thecarg_db`.`cg_tbl_sellers`.`latitude`, `thecarg_db`.`cg_tbl_sellers`.`longitude` FROM `thecarg_db`.`cg_tbl_sellers` WHERE `thecarg_db`.`cg_tbl_sellers`.`id` IN (?)
prisma:query SELECT `thecarg_db`.`cg_tbl_zones`.`id`, `thecarg_db`.`cg_tbl_zones`.`zone_name` FROM `thecarg_db`.`cg_tbl_zones` WHERE 1=1
[32m[nodemon] restarting due to changes...[39m
[32m[nodemon] starting `ts-node-esm src/server.js`[39m
prisma:info Starting a mysql pool with 9 connections.
[2026-06-24T11:55:26.743Z] [INFO]: Successfully connected to the MySQL Database via Prisma!
--------------------------------------------------

prisma:query SELECT `thecarg_db`.`cg_tbl_business_settings`.`id`, `thecarg_db`.`cg_tbl_business_settings`.`key`, `thecarg_db`.`cg_tbl_business_settings`.`value`, `thecarg_db`.`cg_tbl_business_settings`.`created_at`, `thecarg_db`.`cg_tbl_business_settings`.`updated_at` FROM `thecarg_db`.`cg_tbl_business_settings` WHERE `thecarg_db`.`cg_tbl_business_settings`.`key` = ? LIMIT ? OFFSET ?
prisma:query SELECT `thecarg_db`.`cg_tbl_business_settings`.`id`, `thecarg_db`.`cg_tbl_business_settings`.`key`, `thecarg_db`.`cg_tbl_business_settings`.`value`, `thecarg_db`.`cg_tbl_business_settings`.`created_at`, `thecarg_db`.`cg_tbl_business_settings`.`updated_at` FROM `thecarg_db`.`cg_tbl_business_settings` WHERE `thecarg_db`.`cg_tbl_business_settings`.`key` = ? LIMIT ? OFFSET ?
Firebase initialized successfully
[2026-06-24T11:55:26.757Z] [INFO]: Server is running in development mode on port 5000
--------------------------------------------------

[2026-06-24T11:55:26.759Z] [INFO]: Endpoint: http://localhost:5000
--------------------------------------------------

[32m[nodemon] clean exit - waiting for changes before restart[39m
[32m[nodemon] restarting due to changes...[39m
[32m[nodemon] starting `ts-node-esm src/server.js`[39m
prisma:info Starting a mysql pool with 9 connections.
[2026-06-24T11:57:33.547Z] [INFO]: Successfully connected to the MySQL Database via Prisma!
--------------------------------------------------

prisma:query SELECT `thecarg_db`.`cg_tbl_business_settings`.`id`, `thecarg_db`.`cg_tbl_business_settings`.`key`, `thecarg_db`.`cg_tbl_business_settings`.`value`, `thecarg_db`.`cg_tbl_business_settings`.`created_at`, `thecarg_db`.`cg_tbl_business_settings`.`updated_at` FROM `thecarg_db`.`cg_tbl_business_settings` WHERE `thecarg_db`.`cg_tbl_business_settings`.`key` = ? LIMIT ? OFFSET ?
prisma:query SELECT `thecarg_db`.`cg_tbl_business_settings`.`id`, `thecarg_db`.`cg_tbl_business_settings`.`key`, `thecarg_db`.`cg_tbl_business_settings`.`value`, `thecarg_db`.`cg_tbl_business_settings`.`created_at`, `thecarg_db`.`cg_tbl_business_settings`.`updated_at` FROM `thecarg_db`.`cg_tbl_business_settings` WHERE `thecarg_db`.`cg_tbl_business_settings`.`key` = ? LIMIT ? OFFSET ?
Firebase initialized successfully
[2026-06-24T11:57:33.629Z] [INFO]: Server is running in development mode on port 5000
--------------------------------------------------

[2026-06-24T11:57:33.630Z] [INFO]: Endpoint: http://localhost:5000
--------------------------------------------------

prisma:query SELECT `thecarg_db`.`cg_tbl_zones`.`id` FROM `thecarg_db`.`cg_tbl_zones` WHERE (`thecarg_db`.`cg_tbl_zones`.`id` IN (?) AND `thecarg_db`.`cg_tbl_zones`.`status` = ?)
prisma:query SELECT `thecarg_db`.`cg_tbl_products`.`id`, `thecarg_db`.`cg_tbl_products`.`techdoc_article_id`, `thecarg_db`.`cg_tbl_products`.`techdoc_brand_id`, `thecarg_db`.`cg_tbl_products`.`article_number`, `thecarg_db`.`cg_tbl_products`.`brand_name`, `thecarg_db`.`cg_tbl_products`.`status`, `thecarg_db`.`cg_tbl_products`.`created_at`, `thecarg_db`.`cg_tbl_products`.`updated_at`, `thecarg_db`.`cg_tbl_products`.`assembly_group_node_id`, `thecarg_db`.`cg_tbl_products`.`generic_article_id` FROM `thecarg_db`.`cg_tbl_products` WHERE (`thecarg_db`.`cg_tbl_products`.`id` = ? AND `thecarg_db`.`cg_tbl_products`.`status` = ?) LIMIT ? OFFSET ?
prisma:query SELECT `thecarg_db`.`cg_tbl_business_settings`.`id`, `thecarg_db`.`cg_tbl_business_settings`.`key`, `thecarg_db`.`cg_tbl_business_settings`.`value`, `thecarg_db`.`cg_tbl_business_settings`.`created_at`, `thecarg_db`.`cg_tbl_business_settings`.`updated_at` FROM `thecarg_db`.`cg_tbl_business_settings` WHERE `thecarg_db`.`cg_tbl_business_settings`.`key` = ? LIMIT ? OFFSET ?
prisma:query SELECT `thecarg_db`.`cg_tbl_business_settings`.`id`, `thecarg_db`.`cg_tbl_business_settings`.`key`, `thecarg_db`.`cg_tbl_business_settings`.`value`, `thecarg_db`.`cg_tbl_business_settings`.`created_at`, `thecarg_db`.`cg_tbl_business_settings`.`updated_at` FROM `thecarg_db`.`cg_tbl_business_settings` WHERE `thecarg_db`.`cg_tbl_business_settings`.`key` = ? LIMIT ? OFFSET ?
prisma:query SELECT `thecarg_db`.`cg_tbl_business_settings`.`id`, `thecarg_db`.`cg_tbl_business_settings`.`key`, `thecarg_db`.`cg_tbl_business_settings`.`value`, `thecarg_db`.`cg_tbl_business_settings`.`created_at`, `thecarg_db`.`cg_tbl_business_settings`.`updated_at` FROM `thecarg_db`.`cg_tbl_business_settings` WHERE `thecarg_db`.`cg_tbl_business_settings`.`key` = ? LIMIT ? OFFSET ?
prisma:query SELECT `thecarg_db`.`cg_tbl_business_settings`.`id`, `thecarg_db`.`cg_tbl_business_settings`.`key`, `thecarg_db`.`cg_tbl_business_settings`.`value`, `thecarg_db`.`cg_tbl_business_settings`.`created_at`, `thecarg_db`.`cg_tbl_business_settings`.`updated_at` FROM `thecarg_db`.`cg_tbl_business_settings` WHERE `thecarg_db`.`cg_tbl_business_settings`.`key` = ? LIMIT ? OFFSET ?
[2026-06-24T11:57:37.721Z] [INFO]: TecDoc → getArticles | provider: 25791 | country: IN | url: https://webservice.tecalliance.services/pegasus-3-0/services/TecdocToCatDLB.jsonEndpoint
--------------------------------------------------

[2026-06-24T11:57:38.331Z] [INFO]: TecDoc → getArticles | provider: 25791 | country: IN | url: https://webservice.tecalliance.services/pegasus-3-0/services/TecdocToCatDLB.jsonEndpoint
--------------------------------------------------

[2026-06-24T11:57:38.509Z] [INFO]: TecDoc → getArticleLinkedAllLinkingTarget4 | provider: 25791 | country: IN | url: https://webservice.tecalliance.services/pegasus-3-0/services/TecdocToCatDLB.jsonEndpoint
--------------------------------------------------

[2026-06-24T11:57:38.687Z] [INFO]: TecDoc → getArticleLinkedAllLinkingTargetsByIds3 | provider: 25791 | country: IN | url: https://webservice.tecalliance.services/pegasus-3-0/services/TecdocToCatDLB.jsonEndpoint
--------------------------------------------------

prisma:query SELECT `thecarg_db`.`cg_tbl_seller_products`.`id`, `thecarg_db`.`cg_tbl_seller_products`.`customer_selling_price`, `thecarg_db`.`cg_tbl_seller_products`.`garage_selling_price`, `thecarg_db`.`cg_tbl_seller_products`.`mrp`, `thecarg_db`.`cg_tbl_seller_products`.`customer_discount_type`, `thecarg_db`.`cg_tbl_seller_products`.`customer_discount`, `thecarg_db`.`cg_tbl_seller_products`.`garage_discount_type`, `thecarg_db`.`cg_tbl_seller_products`.`garage_discount`, `thecarg_db`.`cg_tbl_seller_products`.`is_in_stock`, `thecarg_db`.`cg_tbl_seller_products`.`is_returnable`, `thecarg_db`.`cg_tbl_seller_products`.`return_days`, `thecarg_db`.`cg_tbl_seller_products`.`warranty_enabled`, `thecarg_db`.`cg_tbl_seller_products`.`warranty_duration`, `thecarg_db`.`cg_tbl_seller_products`.`warranty_duration_type`, `thecarg_db`.`cg_tbl_seller_products`.`warranty_document`, `thecarg_db`.`cg_tbl_seller_products`.`tax`, `thecarg_db`.`cg_tbl_seller_products`.`seller_id` FROM `thecarg_db`.`cg_tbl_seller_products` LEFT JOIN `thecarg_db`.`cg_tbl_sellers` AS `j1` ON (`j1`.`id`) = (`thecarg_db`.`cg_tbl_seller_products`.`seller_id`) WHERE (`thecarg_db`.`cg_tbl_seller_products`.`product_id` = ? AND `thecarg_db`.`cg_tbl_seller_products`.`status` = ? AND (`j1`.`status` = ? AND (`j1`.`id` IS NOT NULL))) ORDER BY `thecarg_db`.`cg_tbl_seller_products`.`garage_selling_price` ASC
prisma:query SELECT `thecarg_db`.`cg_tbl_sellers`.`id`, `thecarg_db`.`cg_tbl_sellers`.`seller_id`, `thecarg_db`.`cg_tbl_sellers`.`first_name`, `thecarg_db`.`cg_tbl_sellers`.`last_name`, `thecarg_db`.`cg_tbl_sellers`.`trade_name`, `thecarg_db`.`cg_tbl_sellers`.`city`, `thecarg_db`.`cg_tbl_sellers`.`state`, `thecarg_db`.`cg_tbl_sellers`.`email`, `thecarg_db`.`cg_tbl_sellers`.`mobile`, `thecarg_db`.`cg_tbl_sellers`.`address`, `thecarg_db`.`cg_tbl_sellers`.`pincode`, `thecarg_db`.`cg_tbl_sellers`.`status`, `thecarg_db`.`cg_tbl_sellers`.`operating_hours`, `thecarg_db`.`cg_tbl_sellers`.`zone`, `thecarg_db`.`cg_tbl_sellers`.`latitude`, `thecarg_db`.`cg_tbl_sellers`.`longitude` FROM `thecarg_db`.`cg_tbl_sellers` WHERE `thecarg_db`.`cg_tbl_sellers`.`id` IN (?)
prisma:query SELECT `thecarg_db`.`cg_tbl_zones`.`id`, `thecarg_db`.`cg_tbl_zones`.`zone_name` FROM `thecarg_db`.`cg_tbl_zones` WHERE 1=1
prisma:query SELECT `thecarg_db`.`cg_tbl_zones`.`id` FROM `thecarg_db`.`cg_tbl_zones` WHERE (`thecarg_db`.`cg_tbl_zones`.`id` IN (?) AND `thecarg_db`.`cg_tbl_zones`.`status` = ?)
prisma:query SELECT `thecarg_db`.`cg_tbl_sellers`.`id`, `thecarg_db`.`cg_tbl_sellers`.`status`, `thecarg_db`.`cg_tbl_sellers`.`operating_hours`, `thecarg_db`.`cg_tbl_sellers`.`zone` FROM `thecarg_db`.`cg_tbl_sellers` WHERE `thecarg_db`.`cg_tbl_sellers`.`status` = ?
prisma:query SELECT `thecarg_db`.`cg_tbl_products`.`id`, `thecarg_db`.`cg_tbl_products`.`article_number` FROM `thecarg_db`.`cg_tbl_products` WHERE (`thecarg_db`.`cg_tbl_products`.`status` = ? AND (`thecarg_db`.`cg_tbl_products`.`id`) IN (SELECT `t1`.`product_id` FROM `thecarg_db`.`cg_tbl_seller_products` AS `t1` WHERE (`t1`.`status` = ? AND `t1`.`seller_id` IN (?) AND `t1`.`product_id` IS NOT NULL)) AND `thecarg_db`.`cg_tbl_products`.`generic_article_id` = ? AND `thecarg_db`.`cg_tbl_products`.`assembly_group_node_id` = ?) ORDER BY `thecarg_db`.`cg_tbl_products`.`id` ASC
prisma:query SELECT `thecarg_db`.`cg_tbl_products`.`article_number` FROM `thecarg_db`.`cg_tbl_products` WHERE `thecarg_db`.`cg_tbl_products`.`id` IN (?,?) GROUP BY `thecarg_db`.`cg_tbl_products`.`article_number`
prisma:query SELECT MIN(`thecarg_db`.`cg_tbl_products`.`id`), `thecarg_db`.`cg_tbl_products`.`article_number` FROM `thecarg_db`.`cg_tbl_products` WHERE `thecarg_db`.`cg_tbl_products`.`id` IN (?,?) GROUP BY `thecarg_db`.`cg_tbl_products`.`article_number` ORDER BY MIN(`thecarg_db`.`cg_tbl_products`.`id`) ASC LIMIT ? OFFSET ?
prisma:query SELECT `thecarg_db`.`cg_tbl_products`.`id`, `thecarg_db`.`cg_tbl_products`.`techdoc_article_id`, `thecarg_db`.`cg_tbl_products`.`techdoc_brand_id`, `thecarg_db`.`cg_tbl_products`.`article_number`, `thecarg_db`.`cg_tbl_products`.`brand_name`, `thecarg_db`.`cg_tbl_products`.`status`, `thecarg_db`.`cg_tbl_products`.`created_at`, `thecarg_db`.`cg_tbl_products`.`updated_at`, `thecarg_db`.`cg_tbl_products`.`assembly_group_node_id`, `thecarg_db`.`cg_tbl_products`.`generic_article_id` FROM `thecarg_db`.`cg_tbl_products` WHERE `thecarg_db`.`cg_tbl_products`.`id` IN (?,?) ORDER BY `thecarg_db`.`cg_tbl_products`.`id` ASC
[2026-06-24T11:57:41.730Z] [INFO]: TecDoc → getArticles | provider: 25791 | country: IN | url: https://webservice.tecalliance.services/pegasus-3-0/services/TecdocToCatDLB.jsonEndpoint
--------------------------------------------------

[2026-06-24T11:57:41.733Z] [INFO]: TecDoc → getArticles | provider: 25791 | country: IN | url: https://webservice.tecalliance.services/pegasus-3-0/services/TecdocToCatDLB.jsonEndpoint
--------------------------------------------------

[2026-06-24T11:57:41.897Z] [INFO]: TecDoc → getArticles | provider: 25791 | country: IN | url: https://webservice.tecalliance.services/pegasus-3-0/services/TecdocToCatDLB.jsonEndpoint
--------------------------------------------------

[2026-06-24T11:57:42.217Z] [INFO]: TecDoc → getArticles | provider: 25791 | country: IN | url: https://webservice.tecalliance.services/pegasus-3-0/services/TecdocToCatDLB.jsonEndpoint
--------------------------------------------------

prisma:query SELECT `thecarg_db`.`cg_tbl_products`.`id`, `thecarg_db`.`cg_tbl_products`.`techdoc_article_id` FROM `thecarg_db`.`cg_tbl_products` WHERE (`thecarg_db`.`cg_tbl_products`.`techdoc_article_id` IN (?,?) AND `thecarg_db`.`cg_tbl_products`.`status` = ? AND `thecarg_db`.`cg_tbl_products`.`id` IN (?,?))
prisma:query SELECT `thecarg_db`.`cg_tbl_seller_products`.`id`, `thecarg_db`.`cg_tbl_seller_products`.`product_id`, `thecarg_db`.`cg_tbl_seller_products`.`customer_selling_price`, `thecarg_db`.`cg_tbl_seller_products`.`garage_selling_price`, `thecarg_db`.`cg_tbl_seller_products`.`mrp`, `thecarg_db`.`cg_tbl_seller_products`.`customer_discount_type`, `thecarg_db`.`cg_tbl_seller_products`.`customer_discount`, `thecarg_db`.`cg_tbl_seller_products`.`garage_discount_type`, `thecarg_db`.`cg_tbl_seller_products`.`garage_discount`, `thecarg_db`.`cg_tbl_seller_products`.`is_in_stock`, `thecarg_db`.`cg_tbl_seller_products`.`is_returnable`, `thecarg_db`.`cg_tbl_seller_products`.`return_days`, `thecarg_db`.`cg_tbl_seller_products`.`warranty_enabled`, `thecarg_db`.`cg_tbl_seller_products`.`warranty_duration`, `thecarg_db`.`cg_tbl_seller_products`.`warranty_duration_type`, `thecarg_db`.`cg_tbl_seller_products`.`warranty_document`, `thecarg_db`.`cg_tbl_seller_products`.`tax`, `thecarg_db`.`cg_tbl_seller_products`.`seller_id` FROM `thecarg_db`.`cg_tbl_seller_products` LEFT JOIN `thecarg_db`.`cg_tbl_sellers` AS `j1` ON (`j1`.`id`) = (`thecarg_db`.`cg_tbl_seller_products`.`seller_id`) WHERE (`thecarg_db`.`cg_tbl_seller_products`.`product_id` IN (?,?) AND `thecarg_db`.`cg_tbl_seller_products`.`status` = ? AND (`j1`.`status` = ? AND (`j1`.`id` IS NOT NULL))) ORDER BY `thecarg_db`.`cg_tbl_seller_products`.`customer_selling_price` ASC
prisma:query SELECT `thecarg_db`.`cg_tbl_sellers`.`id`, `thecarg_db`.`cg_tbl_sellers`.`seller_id`, `thecarg_db`.`cg_tbl_sellers`.`first_name`, `thecarg_db`.`cg_tbl_sellers`.`last_name`, `thecarg_db`.`cg_tbl_sellers`.`trade_name`, `thecarg_db`.`cg_tbl_sellers`.`city`, `thecarg_db`.`cg_tbl_sellers`.`state`, `thecarg_db`.`cg_tbl_sellers`.`email`, `thecarg_db`.`cg_tbl_sellers`.`mobile`, `thecarg_db`.`cg_tbl_sellers`.`address`, `thecarg_db`.`cg_tbl_sellers`.`pincode`, `thecarg_db`.`cg_tbl_sellers`.`status`, `thecarg_db`.`cg_tbl_sellers`.`operating_hours`, `thecarg_db`.`cg_tbl_sellers`.`zone`, `thecarg_db`.`cg_tbl_sellers`.`latitude`, `thecarg_db`.`cg_tbl_sellers`.`longitude` FROM `thecarg_db`.`cg_tbl_sellers` WHERE `thecarg_db`.`cg_tbl_sellers`.`id` IN (?)
prisma:query SELECT `thecarg_db`.`cg_tbl_zones`.`id`, `thecarg_db`.`cg_tbl_zones`.`zone_name` FROM `thecarg_db`.`cg_tbl_zones` WHERE 1=1
[32m[nodemon] restarting due to changes...[39m
[32m[nodemon] starting `ts-node-esm src/server.js`[39m
prisma:info Starting a mysql pool with 9 connections.
[2026-06-24T11:58:35.230Z] [INFO]: Successfully connected to the MySQL Database via Prisma!
--------------------------------------------------

prisma:query SELECT `thecarg_db`.`cg_tbl_business_settings`.`id`, `thecarg_db`.`cg_tbl_business_settings`.`key`, `thecarg_db`.`cg_tbl_business_settings`.`value`, `thecarg_db`.`cg_tbl_business_settings`.`created_at`, `thecarg_db`.`cg_tbl_business_settings`.`updated_at` FROM `thecarg_db`.`cg_tbl_business_settings` WHERE `thecarg_db`.`cg_tbl_business_settings`.`key` = ? LIMIT ? OFFSET ?
prisma:query SELECT `thecarg_db`.`cg_tbl_business_settings`.`id`, `thecarg_db`.`cg_tbl_business_settings`.`key`, `thecarg_db`.`cg_tbl_business_settings`.`value`, `thecarg_db`.`cg_tbl_business_settings`.`created_at`, `thecarg_db`.`cg_tbl_business_settings`.`updated_at` FROM `thecarg_db`.`cg_tbl_business_settings` WHERE `thecarg_db`.`cg_tbl_business_settings`.`key` = ? LIMIT ? OFFSET ?
Firebase initialized successfully
[2026-06-24T11:58:35.256Z] [INFO]: Server is running in development mode on port 5000
--------------------------------------------------

[2026-06-24T11:58:35.258Z] [INFO]: Endpoint: http://localhost:5000
--------------------------------------------------

[32m[nodemon] clean exit - waiting for changes before restart[39m
[32m[nodemon] restarting due to changes...[39m
[32m[nodemon] starting `ts-node-esm src/server.js`[39m
prisma:info Starting a mysql pool with 9 connections.
[2026-06-24T11:59:34.530Z] [INFO]: Successfully connected to the MySQL Database via Prisma!
--------------------------------------------------

prisma:query SELECT `thecarg_db`.`cg_tbl_business_settings`.`id`, `thecarg_db`.`cg_tbl_business_settings`.`key`, `thecarg_db`.`cg_tbl_business_settings`.`value`, `thecarg_db`.`cg_tbl_business_settings`.`created_at`, `thecarg_db`.`cg_tbl_business_settings`.`updated_at` FROM `thecarg_db`.`cg_tbl_business_settings` WHERE `thecarg_db`.`cg_tbl_business_settings`.`key` = ? LIMIT ? OFFSET ?
prisma:query SELECT `thecarg_db`.`cg_tbl_business_settings`.`id`, `thecarg_db`.`cg_tbl_business_settings`.`key`, `thecarg_db`.`cg_tbl_business_settings`.`value`, `thecarg_db`.`cg_tbl_business_settings`.`created_at`, `thecarg_db`.`cg_tbl_business_settings`.`updated_at` FROM `thecarg_db`.`cg_tbl_business_settings` WHERE `thecarg_db`.`cg_tbl_business_settings`.`key` = ? LIMIT ? OFFSET ?
Firebase initialized successfully
[2026-06-24T11:59:34.555Z] [INFO]: Server is running in development mode on port 5000
--------------------------------------------------

[2026-06-24T11:59:34.556Z] [INFO]: Endpoint: http://localhost:5000
--------------------------------------------------

prisma:query SELECT `thecarg_db`.`cg_tbl_zones`.`id` FROM `thecarg_db`.`cg_tbl_zones` WHERE (`thecarg_db`.`cg_tbl_zones`.`id` IN (?) AND `thecarg_db`.`cg_tbl_zones`.`status` = ?)
prisma:query SELECT `thecarg_db`.`cg_tbl_products`.`id`, `thecarg_db`.`cg_tbl_products`.`techdoc_article_id`, `thecarg_db`.`cg_tbl_products`.`techdoc_brand_id`, `thecarg_db`.`cg_tbl_products`.`article_number`, `thecarg_db`.`cg_tbl_products`.`brand_name`, `thecarg_db`.`cg_tbl_products`.`status`, `thecarg_db`.`cg_tbl_products`.`created_at`, `thecarg_db`.`cg_tbl_products`.`updated_at`, `thecarg_db`.`cg_tbl_products`.`assembly_group_node_id`, `thecarg_db`.`cg_tbl_products`.`generic_article_id` FROM `thecarg_db`.`cg_tbl_products` WHERE (`thecarg_db`.`cg_tbl_products`.`id` = ? AND `thecarg_db`.`cg_tbl_products`.`status` = ?) LIMIT ? OFFSET ?
prisma:query SELECT `thecarg_db`.`cg_tbl_business_settings`.`id`, `thecarg_db`.`cg_tbl_business_settings`.`key`, `thecarg_db`.`cg_tbl_business_settings`.`value`, `thecarg_db`.`cg_tbl_business_settings`.`created_at`, `thecarg_db`.`cg_tbl_business_settings`.`updated_at` FROM `thecarg_db`.`cg_tbl_business_settings` WHERE `thecarg_db`.`cg_tbl_business_settings`.`key` = ? LIMIT ? OFFSET ?
prisma:query SELECT `thecarg_db`.`cg_tbl_business_settings`.`id`, `thecarg_db`.`cg_tbl_business_settings`.`key`, `thecarg_db`.`cg_tbl_business_settings`.`value`, `thecarg_db`.`cg_tbl_business_settings`.`created_at`, `thecarg_db`.`cg_tbl_business_settings`.`updated_at` FROM `thecarg_db`.`cg_tbl_business_settings` WHERE `thecarg_db`.`cg_tbl_business_settings`.`key` = ? LIMIT ? OFFSET ?
prisma:query SELECT `thecarg_db`.`cg_tbl_business_settings`.`id`, `thecarg_db`.`cg_tbl_business_settings`.`key`, `thecarg_db`.`cg_tbl_business_settings`.`value`, `thecarg_db`.`cg_tbl_business_settings`.`created_at`, `thecarg_db`.`cg_tbl_business_settings`.`updated_at` FROM `thecarg_db`.`cg_tbl_business_settings` WHERE `thecarg_db`.`cg_tbl_business_settings`.`key` = ? LIMIT ? OFFSET ?
prisma:query SELECT `thecarg_db`.`cg_tbl_business_settings`.`id`, `thecarg_db`.`cg_tbl_business_settings`.`key`, `thecarg_db`.`cg_tbl_business_settings`.`value`, `thecarg_db`.`cg_tbl_business_settings`.`created_at`, `thecarg_db`.`cg_tbl_business_settings`.`updated_at` FROM `thecarg_db`.`cg_tbl_business_settings` WHERE `thecarg_db`.`cg_tbl_business_settings`.`key` = ? LIMIT ? OFFSET ?
[2026-06-24T11:59:43.450Z] [INFO]: TecDoc → getArticles | provider: 25791 | country: IN | url: https://webservice.tecalliance.services/pegasus-3-0/services/TecdocToCatDLB.jsonEndpoint
--------------------------------------------------

[2026-06-24T11:59:44.016Z] [INFO]: TecDoc → getArticles | provider: 25791 | country: IN | url: https://webservice.tecalliance.services/pegasus-3-0/services/TecdocToCatDLB.jsonEndpoint
--------------------------------------------------

[2026-06-24T11:59:44.293Z] [INFO]: TecDoc → getArticleLinkedAllLinkingTarget4 | provider: 25791 | country: IN | url: https://webservice.tecalliance.services/pegasus-3-0/services/TecdocToCatDLB.jsonEndpoint
--------------------------------------------------

[2026-06-24T11:59:44.460Z] [INFO]: TecDoc → getArticleLinkedAllLinkingTargetsByIds3 | provider: 25791 | country: IN | url: https://webservice.tecalliance.services/pegasus-3-0/services/TecdocToCatDLB.jsonEndpoint
--------------------------------------------------

prisma:query SELECT `thecarg_db`.`cg_tbl_seller_products`.`id`, `thecarg_db`.`cg_tbl_seller_products`.`customer_selling_price`, `thecarg_db`.`cg_tbl_seller_products`.`garage_selling_price`, `thecarg_db`.`cg_tbl_seller_products`.`mrp`, `thecarg_db`.`cg_tbl_seller_products`.`customer_discount_type`, `thecarg_db`.`cg_tbl_seller_products`.`customer_discount`, `thecarg_db`.`cg_tbl_seller_products`.`garage_discount_type`, `thecarg_db`.`cg_tbl_seller_products`.`garage_discount`, `thecarg_db`.`cg_tbl_seller_products`.`is_in_stock`, `thecarg_db`.`cg_tbl_seller_products`.`is_returnable`, `thecarg_db`.`cg_tbl_seller_products`.`return_days`, `thecarg_db`.`cg_tbl_seller_products`.`warranty_enabled`, `thecarg_db`.`cg_tbl_seller_products`.`warranty_duration`, `thecarg_db`.`cg_tbl_seller_products`.`warranty_duration_type`, `thecarg_db`.`cg_tbl_seller_products`.`warranty_document`, `thecarg_db`.`cg_tbl_seller_products`.`tax`, `thecarg_db`.`cg_tbl_seller_products`.`seller_id` FROM `thecarg_db`.`cg_tbl_seller_products` LEFT JOIN `thecarg_db`.`cg_tbl_sellers` AS `j1` ON (`j1`.`id`) = (`thecarg_db`.`cg_tbl_seller_products`.`seller_id`) WHERE (`thecarg_db`.`cg_tbl_seller_products`.`product_id` = ? AND `thecarg_db`.`cg_tbl_seller_products`.`status` = ? AND (`j1`.`status` = ? AND (`j1`.`id` IS NOT NULL))) ORDER BY `thecarg_db`.`cg_tbl_seller_products`.`garage_selling_price` ASC
prisma:query SELECT `thecarg_db`.`cg_tbl_sellers`.`id`, `thecarg_db`.`cg_tbl_sellers`.`seller_id`, `thecarg_db`.`cg_tbl_sellers`.`first_name`, `thecarg_db`.`cg_tbl_sellers`.`last_name`, `thecarg_db`.`cg_tbl_sellers`.`trade_name`, `thecarg_db`.`cg_tbl_sellers`.`city`, `thecarg_db`.`cg_tbl_sellers`.`state`, `thecarg_db`.`cg_tbl_sellers`.`email`, `thecarg_db`.`cg_tbl_sellers`.`mobile`, `thecarg_db`.`cg_tbl_sellers`.`address`, `thecarg_db`.`cg_tbl_sellers`.`pincode`, `thecarg_db`.`cg_tbl_sellers`.`status`, `thecarg_db`.`cg_tbl_sellers`.`operating_hours`, `thecarg_db`.`cg_tbl_sellers`.`zone`, `thecarg_db`.`cg_tbl_sellers`.`latitude`, `thecarg_db`.`cg_tbl_sellers`.`longitude` FROM `thecarg_db`.`cg_tbl_sellers` WHERE `thecarg_db`.`cg_tbl_sellers`.`id` IN (?)
prisma:query SELECT `thecarg_db`.`cg_tbl_zones`.`id`, `thecarg_db`.`cg_tbl_zones`.`zone_name` FROM `thecarg_db`.`cg_tbl_zones` WHERE 1=1
prisma:query SELECT `thecarg_db`.`cg_tbl_zones`.`id` FROM `thecarg_db`.`cg_tbl_zones` WHERE (`thecarg_db`.`cg_tbl_zones`.`id` IN (?) AND `thecarg_db`.`cg_tbl_zones`.`status` = ?)
prisma:query SELECT `thecarg_db`.`cg_tbl_sellers`.`id`, `thecarg_db`.`cg_tbl_sellers`.`status`, `thecarg_db`.`cg_tbl_sellers`.`operating_hours`, `thecarg_db`.`cg_tbl_sellers`.`zone` FROM `thecarg_db`.`cg_tbl_sellers` WHERE `thecarg_db`.`cg_tbl_sellers`.`status` = ?
prisma:query SELECT `thecarg_db`.`cg_tbl_products`.`id`, `thecarg_db`.`cg_tbl_products`.`article_number` FROM `thecarg_db`.`cg_tbl_products` WHERE (`thecarg_db`.`cg_tbl_products`.`status` = ? AND (`thecarg_db`.`cg_tbl_products`.`id`) IN (SELECT `t1`.`product_id` FROM `thecarg_db`.`cg_tbl_seller_products` AS `t1` WHERE (`t1`.`status` = ? AND `t1`.`seller_id` IN (?) AND `t1`.`product_id` IS NOT NULL)) AND `thecarg_db`.`cg_tbl_products`.`generic_article_id` = ? AND `thecarg_db`.`cg_tbl_products`.`assembly_group_node_id` = ?) ORDER BY `thecarg_db`.`cg_tbl_products`.`id` ASC
prisma:query SELECT `thecarg_db`.`cg_tbl_products`.`article_number` FROM `thecarg_db`.`cg_tbl_products` WHERE `thecarg_db`.`cg_tbl_products`.`id` IN (?,?) GROUP BY `thecarg_db`.`cg_tbl_products`.`article_number`
prisma:query SELECT MIN(`thecarg_db`.`cg_tbl_products`.`id`), `thecarg_db`.`cg_tbl_products`.`article_number` FROM `thecarg_db`.`cg_tbl_products` WHERE `thecarg_db`.`cg_tbl_products`.`id` IN (?,?) GROUP BY `thecarg_db`.`cg_tbl_products`.`article_number` ORDER BY MIN(`thecarg_db`.`cg_tbl_products`.`id`) ASC LIMIT ? OFFSET ?
prisma:query SELECT `thecarg_db`.`cg_tbl_products`.`id`, `thecarg_db`.`cg_tbl_products`.`techdoc_article_id`, `thecarg_db`.`cg_tbl_products`.`techdoc_brand_id`, `thecarg_db`.`cg_tbl_products`.`article_number`, `thecarg_db`.`cg_tbl_products`.`brand_name`, `thecarg_db`.`cg_tbl_products`.`status`, `thecarg_db`.`cg_tbl_products`.`created_at`, `thecarg_db`.`cg_tbl_products`.`updated_at`, `thecarg_db`.`cg_tbl_products`.`assembly_group_node_id`, `thecarg_db`.`cg_tbl_products`.`generic_article_id` FROM `thecarg_db`.`cg_tbl_products` WHERE `thecarg_db`.`cg_tbl_products`.`id` IN (?,?) ORDER BY `thecarg_db`.`cg_tbl_products`.`id` ASC
[2026-06-24T11:59:47.755Z] [INFO]: TecDoc → getArticles | provider: 25791 | country: IN | url: https://webservice.tecalliance.services/pegasus-3-0/services/TecdocToCatDLB.jsonEndpoint
--------------------------------------------------

[2026-06-24T11:59:47.757Z] [INFO]: TecDoc → getArticles | provider: 25791 | country: IN | url: https://webservice.tecalliance.services/pegasus-3-0/services/TecdocToCatDLB.jsonEndpoint
--------------------------------------------------

[2026-06-24T11:59:47.922Z] [INFO]: TecDoc → getArticles | provider: 25791 | country: IN | url: https://webservice.tecalliance.services/pegasus-3-0/services/TecdocToCatDLB.jsonEndpoint
--------------------------------------------------

[2026-06-24T11:59:48.223Z] [INFO]: TecDoc → getArticles | provider: 25791 | country: IN | url: https://webservice.tecalliance.services/pegasus-3-0/services/TecdocToCatDLB.jsonEndpoint
--------------------------------------------------

prisma:query SELECT `thecarg_db`.`cg_tbl_products`.`id`, `thecarg_db`.`cg_tbl_products`.`techdoc_article_id` FROM `thecarg_db`.`cg_tbl_products` WHERE (`thecarg_db`.`cg_tbl_products`.`techdoc_article_id` IN (?,?) AND `thecarg_db`.`cg_tbl_products`.`status` = ? AND `thecarg_db`.`cg_tbl_products`.`id` IN (?,?))
prisma:query SELECT `thecarg_db`.`cg_tbl_seller_products`.`id`, `thecarg_db`.`cg_tbl_seller_products`.`product_id`, `thecarg_db`.`cg_tbl_seller_products`.`customer_selling_price`, `thecarg_db`.`cg_tbl_seller_products`.`garage_selling_price`, `thecarg_db`.`cg_tbl_seller_products`.`mrp`, `thecarg_db`.`cg_tbl_seller_products`.`customer_discount_type`, `thecarg_db`.`cg_tbl_seller_products`.`customer_discount`, `thecarg_db`.`cg_tbl_seller_products`.`garage_discount_type`, `thecarg_db`.`cg_tbl_seller_products`.`garage_discount`, `thecarg_db`.`cg_tbl_seller_products`.`is_in_stock`, `thecarg_db`.`cg_tbl_seller_products`.`is_returnable`, `thecarg_db`.`cg_tbl_seller_products`.`return_days`, `thecarg_db`.`cg_tbl_seller_products`.`warranty_enabled`, `thecarg_db`.`cg_tbl_seller_products`.`warranty_duration`, `thecarg_db`.`cg_tbl_seller_products`.`warranty_duration_type`, `thecarg_db`.`cg_tbl_seller_products`.`warranty_document`, `thecarg_db`.`cg_tbl_seller_products`.`tax`, `thecarg_db`.`cg_tbl_seller_products`.`seller_id` FROM `thecarg_db`.`cg_tbl_seller_products` LEFT JOIN `thecarg_db`.`cg_tbl_sellers` AS `j1` ON (`j1`.`id`) = (`thecarg_db`.`cg_tbl_seller_products`.`seller_id`) WHERE (`thecarg_db`.`cg_tbl_seller_products`.`product_id` IN (?,?) AND `thecarg_db`.`cg_tbl_seller_products`.`status` = ? AND (`j1`.`status` = ? AND (`j1`.`id` IS NOT NULL))) ORDER BY `thecarg_db`.`cg_tbl_seller_products`.`customer_selling_price` ASC
prisma:query SELECT `thecarg_db`.`cg_tbl_sellers`.`id`, `thecarg_db`.`cg_tbl_sellers`.`seller_id`, `thecarg_db`.`cg_tbl_sellers`.`first_name`, `thecarg_db`.`cg_tbl_sellers`.`last_name`, `thecarg_db`.`cg_tbl_sellers`.`trade_name`, `thecarg_db`.`cg_tbl_sellers`.`city`, `thecarg_db`.`cg_tbl_sellers`.`state`, `thecarg_db`.`cg_tbl_sellers`.`email`, `thecarg_db`.`cg_tbl_sellers`.`mobile`, `thecarg_db`.`cg_tbl_sellers`.`address`, `thecarg_db`.`cg_tbl_sellers`.`pincode`, `thecarg_db`.`cg_tbl_sellers`.`status`, `thecarg_db`.`cg_tbl_sellers`.`operating_hours`, `thecarg_db`.`cg_tbl_sellers`.`zone`, `thecarg_db`.`cg_tbl_sellers`.`latitude`, `thecarg_db`.`cg_tbl_sellers`.`longitude` FROM `thecarg_db`.`cg_tbl_sellers` WHERE `thecarg_db`.`cg_tbl_sellers`.`id` IN (?)
prisma:query SELECT `thecarg_db`.`cg_tbl_zones`.`id`, `thecarg_db`.`cg_tbl_zones`.`zone_name` FROM `thecarg_db`.`cg_tbl_zones` WHERE 1=1
prisma:query SELECT `thecarg_db`.`cg_tbl_zones`.`id` FROM `thecarg_db`.`cg_tbl_zones` WHERE (`thecarg_db`.`cg_tbl_zones`.`id` IN (?) AND `thecarg_db`.`cg_tbl_zones`.`status` = ?)
prisma:query SELECT `thecarg_db`.`cg_tbl_sellers`.`id`, `thecarg_db`.`cg_tbl_sellers`.`status`, `thecarg_db`.`cg_tbl_sellers`.`operating_hours`, `thecarg_db`.`cg_tbl_sellers`.`zone` FROM `thecarg_db`.`cg_tbl_sellers` WHERE `thecarg_db`.`cg_tbl_sellers`.`status` = ?
prisma:query SELECT `thecarg_db`.`cg_tbl_products`.`id`, `thecarg_db`.`cg_tbl_products`.`article_number` FROM `thecarg_db`.`cg_tbl_products` WHERE (`thecarg_db`.`cg_tbl_products`.`status` = ? AND (`thecarg_db`.`cg_tbl_products`.`id`) IN (SELECT `t1`.`product_id` FROM `thecarg_db`.`cg_tbl_seller_products` AS `t1` WHERE (`t1`.`status` = ? AND `t1`.`seller_id` IN (?) AND `t1`.`product_id` IS NOT NULL)) AND `thecarg_db`.`cg_tbl_products`.`generic_article_id` = ? AND `thecarg_db`.`cg_tbl_products`.`assembly_group_node_id` = ?) ORDER BY `thecarg_db`.`cg_tbl_products`.`id` ASC
prisma:query SELECT `thecarg_db`.`cg_tbl_products`.`article_number` FROM `thecarg_db`.`cg_tbl_products` WHERE `thecarg_db`.`cg_tbl_products`.`id` IN (?,?) GROUP BY `thecarg_db`.`cg_tbl_products`.`article_number`
prisma:query SELECT MIN(`thecarg_db`.`cg_tbl_products`.`id`), `thecarg_db`.`cg_tbl_products`.`article_number` FROM `thecarg_db`.`cg_tbl_products` WHERE `thecarg_db`.`cg_tbl_products`.`id` IN (?,?) GROUP BY `thecarg_db`.`cg_tbl_products`.`article_number` ORDER BY MIN(`thecarg_db`.`cg_tbl_products`.`id`) ASC LIMIT ? OFFSET ?
prisma:query SELECT `thecarg_db`.`cg_tbl_products`.`id`, `thecarg_db`.`cg_tbl_products`.`techdoc_article_id`, `thecarg_db`.`cg_tbl_products`.`techdoc_brand_id`, `thecarg_db`.`cg_tbl_products`.`article_number`, `thecarg_db`.`cg_tbl_products`.`brand_name`, `thecarg_db`.`cg_tbl_products`.`status`, `thecarg_db`.`cg_tbl_products`.`created_at`, `thecarg_db`.`cg_tbl_products`.`updated_at`, `thecarg_db`.`cg_tbl_products`.`assembly_group_node_id`, `thecarg_db`.`cg_tbl_products`.`generic_article_id` FROM `thecarg_db`.`cg_tbl_products` WHERE `thecarg_db`.`cg_tbl_products`.`id` IN (?,?) ORDER BY `thecarg_db`.`cg_tbl_products`.`id` ASC
[2026-06-24T11:59:49.060Z] [INFO]: TecDoc → getArticles | provider: 25791 | country: IN | url: https://webservice.tecalliance.services/pegasus-3-0/services/TecdocToCatDLB.jsonEndpoint
--------------------------------------------------

[2026-06-24T11:59:49.064Z] [INFO]: TecDoc → getArticles | provider: 25791 | country: IN | url: https://webservice.tecalliance.services/pegasus-3-0/services/TecdocToCatDLB.jsonEndpoint
--------------------------------------------------

[2026-06-24T11:59:49.226Z] [INFO]: TecDoc → getArticles | provider: 25791 | country: IN | url: https://webservice.tecalliance.services/pegasus-3-0/services/TecdocToCatDLB.jsonEndpoint
--------------------------------------------------

[2026-06-24T11:59:49.230Z] [INFO]: TecDoc → getArticles | provider: 25791 | country: IN | url: https://webservice.tecalliance.services/pegasus-3-0/services/TecdocToCatDLB.jsonEndpoint
--------------------------------------------------

prisma:query SELECT `thecarg_db`.`cg_tbl_products`.`id`, `thecarg_db`.`cg_tbl_products`.`techdoc_article_id` FROM `thecarg_db`.`cg_tbl_products` WHERE (`thecarg_db`.`cg_tbl_products`.`techdoc_article_id` IN (?,?) AND `thecarg_db`.`cg_tbl_products`.`status` = ? AND `thecarg_db`.`cg_tbl_products`.`id` IN (?,?))
prisma:query SELECT `thecarg_db`.`cg_tbl_seller_products`.`id`, `thecarg_db`.`cg_tbl_seller_products`.`product_id`, `thecarg_db`.`cg_tbl_seller_products`.`customer_selling_price`, `thecarg_db`.`cg_tbl_seller_products`.`garage_selling_price`, `thecarg_db`.`cg_tbl_seller_products`.`mrp`, `thecarg_db`.`cg_tbl_seller_products`.`customer_discount_type`, `thecarg_db`.`cg_tbl_seller_products`.`customer_discount`, `thecarg_db`.`cg_tbl_seller_products`.`garage_discount_type`, `thecarg_db`.`cg_tbl_seller_products`.`garage_discount`, `thecarg_db`.`cg_tbl_seller_products`.`is_in_stock`, `thecarg_db`.`cg_tbl_seller_products`.`is_returnable`, `thecarg_db`.`cg_tbl_seller_products`.`return_days`, `thecarg_db`.`cg_tbl_seller_products`.`warranty_enabled`, `thecarg_db`.`cg_tbl_seller_products`.`warranty_duration`, `thecarg_db`.`cg_tbl_seller_products`.`warranty_duration_type`, `thecarg_db`.`cg_tbl_seller_products`.`warranty_document`, `thecarg_db`.`cg_tbl_seller_products`.`tax`, `thecarg_db`.`cg_tbl_seller_products`.`seller_id` FROM `thecarg_db`.`cg_tbl_seller_products` LEFT JOIN `thecarg_db`.`cg_tbl_sellers` AS `j1` ON (`j1`.`id`) = (`thecarg_db`.`cg_tbl_seller_products`.`seller_id`) WHERE (`thecarg_db`.`cg_tbl_seller_products`.`product_id` IN (?,?) AND `thecarg_db`.`cg_tbl_seller_products`.`status` = ? AND (`j1`.`status` = ? AND (`j1`.`id` IS NOT NULL))) ORDER BY `thecarg_db`.`cg_tbl_seller_products`.`customer_selling_price` ASC
prisma:query SELECT `thecarg_db`.`cg_tbl_sellers`.`id`, `thecarg_db`.`cg_tbl_sellers`.`seller_id`, `thecarg_db`.`cg_tbl_sellers`.`first_name`, `thecarg_db`.`cg_tbl_sellers`.`last_name`, `thecarg_db`.`cg_tbl_sellers`.`trade_name`, `thecarg_db`.`cg_tbl_sellers`.`city`, `thecarg_db`.`cg_tbl_sellers`.`state`, `thecarg_db`.`cg_tbl_sellers`.`email`, `thecarg_db`.`cg_tbl_sellers`.`mobile`, `thecarg_db`.`cg_tbl_sellers`.`address`, `thecarg_db`.`cg_tbl_sellers`.`pincode`, `thecarg_db`.`cg_tbl_sellers`.`status`, `thecarg_db`.`cg_tbl_sellers`.`operating_hours`, `thecarg_db`.`cg_tbl_sellers`.`zone`, `thecarg_db`.`cg_tbl_sellers`.`latitude`, `thecarg_db`.`cg_tbl_sellers`.`longitude` FROM `thecarg_db`.`cg_tbl_sellers` WHERE `thecarg_db`.`cg_tbl_sellers`.`id` IN (?)
prisma:query SELECT `thecarg_db`.`cg_tbl_zones`.`id`, `thecarg_db`.`cg_tbl_zones`.`zone_name` FROM `thecarg_db`.`cg_tbl_zones` WHERE 1=1
prisma:query SELECT 1
prisma:query SELECT `thecarg_db`.`cg_tbl_zones`.`id` FROM `thecarg_db`.`cg_tbl_zones` WHERE (`thecarg_db`.`cg_tbl_zones`.`id` IN (?) AND `thecarg_db`.`cg_tbl_zones`.`status` = ?)
prisma:query SELECT `thecarg_db`.`cg_tbl_sellers`.`id`, `thecarg_db`.`cg_tbl_sellers`.`status`, `thecarg_db`.`cg_tbl_sellers`.`operating_hours`, `thecarg_db`.`cg_tbl_sellers`.`zone` FROM `thecarg_db`.`cg_tbl_sellers` WHERE `thecarg_db`.`cg_tbl_sellers`.`status` = ?
prisma:query SELECT `thecarg_db`.`cg_tbl_products`.`id`, `thecarg_db`.`cg_tbl_products`.`article_number` FROM `thecarg_db`.`cg_tbl_products` WHERE (`thecarg_db`.`cg_tbl_products`.`status` = ? AND (`thecarg_db`.`cg_tbl_products`.`id`) IN (SELECT `t1`.`product_id` FROM `thecarg_db`.`cg_tbl_seller_products` AS `t1` WHERE (`t1`.`status` = ? AND `t1`.`seller_id` IN (?) AND `t1`.`product_id` IS NOT NULL)) AND `thecarg_db`.`cg_tbl_products`.`generic_article_id` = ? AND `thecarg_db`.`cg_tbl_products`.`assembly_group_node_id` = ?) ORDER BY `thecarg_db`.`cg_tbl_products`.`id` ASC
prisma:query SELECT `thecarg_db`.`cg_tbl_products`.`article_number` FROM `thecarg_db`.`cg_tbl_products` WHERE `thecarg_db`.`cg_tbl_products`.`id` IN (?,?) GROUP BY `thecarg_db`.`cg_tbl_products`.`article_number`
prisma:query SELECT MIN(`thecarg_db`.`cg_tbl_products`.`id`), `thecarg_db`.`cg_tbl_products`.`article_number` FROM `thecarg_db`.`cg_tbl_products` WHERE `thecarg_db`.`cg_tbl_products`.`id` IN (?,?) GROUP BY `thecarg_db`.`cg_tbl_products`.`article_number` ORDER BY MIN(`thecarg_db`.`cg_tbl_products`.`id`) ASC LIMIT ? OFFSET ?
prisma:query SELECT `thecarg_db`.`cg_tbl_products`.`id`, `thecarg_db`.`cg_tbl_products`.`techdoc_article_id`, `thecarg_db`.`cg_tbl_products`.`techdoc_brand_id`, `thecarg_db`.`cg_tbl_products`.`article_number`, `thecarg_db`.`cg_tbl_products`.`brand_name`, `thecarg_db`.`cg_tbl_products`.`status`, `thecarg_db`.`cg_tbl_products`.`created_at`, `thecarg_db`.`cg_tbl_products`.`updated_at`, `thecarg_db`.`cg_tbl_products`.`assembly_group_node_id`, `thecarg_db`.`cg_tbl_products`.`generic_article_id` FROM `thecarg_db`.`cg_tbl_products` WHERE `thecarg_db`.`cg_tbl_products`.`id` IN (?,?) ORDER BY `thecarg_db`.`cg_tbl_products`.`id` ASC
[2026-06-24T12:00:40.069Z] [INFO]: TecDoc → getArticles | provider: 25791 | country: IN | url: https://webservice.tecalliance.services/pegasus-3-0/services/TecdocToCatDLB.jsonEndpoint
--------------------------------------------------

[2026-06-24T12:00:40.098Z] [INFO]: TecDoc → getArticles | provider: 25791 | country: IN | url: https://webservice.tecalliance.services/pegasus-3-0/services/TecdocToCatDLB.jsonEndpoint
--------------------------------------------------

[2026-06-24T12:00:40.575Z] [INFO]: TecDoc → getArticles | provider: 25791 | country: IN | url: https://webservice.tecalliance.services/pegasus-3-0/services/TecdocToCatDLB.jsonEndpoint
--------------------------------------------------

[2026-06-24T12:00:40.581Z] [INFO]: TecDoc → getArticles | provider: 25791 | country: IN | url: https://webservice.tecalliance.services/pegasus-3-0/services/TecdocToCatDLB.jsonEndpoint
--------------------------------------------------

prisma:query SELECT `thecarg_db`.`cg_tbl_products`.`id`, `thecarg_db`.`cg_tbl_products`.`techdoc_article_id` FROM `thecarg_db`.`cg_tbl_products` WHERE (`thecarg_db`.`cg_tbl_products`.`techdoc_article_id` IN (?,?) AND `thecarg_db`.`cg_tbl_products`.`status` = ? AND `thecarg_db`.`cg_tbl_products`.`id` IN (?,?))
prisma:query SELECT `thecarg_db`.`cg_tbl_seller_products`.`id`, `thecarg_db`.`cg_tbl_seller_products`.`product_id`, `thecarg_db`.`cg_tbl_seller_products`.`customer_selling_price`, `thecarg_db`.`cg_tbl_seller_products`.`garage_selling_price`, `thecarg_db`.`cg_tbl_seller_products`.`mrp`, `thecarg_db`.`cg_tbl_seller_products`.`customer_discount_type`, `thecarg_db`.`cg_tbl_seller_products`.`customer_discount`, `thecarg_db`.`cg_tbl_seller_products`.`garage_discount_type`, `thecarg_db`.`cg_tbl_seller_products`.`garage_discount`, `thecarg_db`.`cg_tbl_seller_products`.`is_in_stock`, `thecarg_db`.`cg_tbl_seller_products`.`is_returnable`, `thecarg_db`.`cg_tbl_seller_products`.`return_days`, `thecarg_db`.`cg_tbl_seller_products`.`warranty_enabled`, `thecarg_db`.`cg_tbl_seller_products`.`warranty_duration`, `thecarg_db`.`cg_tbl_seller_products`.`warranty_duration_type`, `thecarg_db`.`cg_tbl_seller_products`.`warranty_document`, `thecarg_db`.`cg_tbl_seller_products`.`tax`, `thecarg_db`.`cg_tbl_seller_products`.`seller_id` FROM `thecarg_db`.`cg_tbl_seller_products` LEFT JOIN `thecarg_db`.`cg_tbl_sellers` AS `j1` ON (`j1`.`id`) = (`thecarg_db`.`cg_tbl_seller_products`.`seller_id`) WHERE (`thecarg_db`.`cg_tbl_seller_products`.`product_id` IN (?,?) AND `thecarg_db`.`cg_tbl_seller_products`.`status` = ? AND (`j1`.`status` = ? AND (`j1`.`id` IS NOT NULL))) ORDER BY `thecarg_db`.`cg_tbl_seller_products`.`customer_selling_price` ASC
prisma:query SELECT `thecarg_db`.`cg_tbl_sellers`.`id`, `thecarg_db`.`cg_tbl_sellers`.`seller_id`, `thecarg_db`.`cg_tbl_sellers`.`first_name`, `thecarg_db`.`cg_tbl_sellers`.`last_name`, `thecarg_db`.`cg_tbl_sellers`.`trade_name`, `thecarg_db`.`cg_tbl_sellers`.`city`, `thecarg_db`.`cg_tbl_sellers`.`state`, `thecarg_db`.`cg_tbl_sellers`.`email`, `thecarg_db`.`cg_tbl_sellers`.`mobile`, `thecarg_db`.`cg_tbl_sellers`.`address`, `thecarg_db`.`cg_tbl_sellers`.`pincode`, `thecarg_db`.`cg_tbl_sellers`.`status`, `thecarg_db`.`cg_tbl_sellers`.`operating_hours`, `thecarg_db`.`cg_tbl_sellers`.`zone`, `thecarg_db`.`cg_tbl_sellers`.`latitude`, `thecarg_db`.`cg_tbl_sellers`.`longitude` FROM `thecarg_db`.`cg_tbl_sellers` WHERE `thecarg_db`.`cg_tbl_sellers`.`id` IN (?)
prisma:query SELECT `thecarg_db`.`cg_tbl_zones`.`id`, `thecarg_db`.`cg_tbl_zones`.`zone_name` FROM `thecarg_db`.`cg_tbl_zones` WHERE 1=1
prisma:query SELECT 1
prisma:query SELECT `thecarg_db`.`cg_tbl_zones`.`id` FROM `thecarg_db`.`cg_tbl_zones` WHERE (`thecarg_db`.`cg_tbl_zones`.`id` IN (?) AND `thecarg_db`.`cg_tbl_zones`.`status` = ?)
prisma:query SELECT `thecarg_db`.`cg_tbl_zones`.`id` FROM `thecarg_db`.`cg_tbl_zones` WHERE (`thecarg_db`.`cg_tbl_zones`.`id` IN (?) AND `thecarg_db`.`cg_tbl_zones`.`status` = ?)
prisma:query SELECT `thecarg_db`.`cg_tbl_user_roles`.`id`, `thecarg_db`.`cg_tbl_user_roles`.`role_name`, `thecarg_db`.`cg_tbl_user_roles`.`role_slug`, `thecarg_db`.`cg_tbl_user_roles`.`status`, `thecarg_db`.`cg_tbl_user_roles`.`created_at`, `thecarg_db`.`cg_tbl_user_roles`.`updated_at` FROM `thecarg_db`.`cg_tbl_user_roles` WHERE `thecarg_db`.`cg_tbl_user_roles`.`role_slug` = ? LIMIT ? OFFSET ?
prisma:query SELECT `thecarg_db`.`cg_tbl_user_roles`.`id`, `thecarg_db`.`cg_tbl_user_roles`.`role_name`, `thecarg_db`.`cg_tbl_user_roles`.`role_slug`, `thecarg_db`.`cg_tbl_user_roles`.`status`, `thecarg_db`.`cg_tbl_user_roles`.`created_at`, `thecarg_db`.`cg_tbl_user_roles`.`updated_at` FROM `thecarg_db`.`cg_tbl_user_roles` WHERE `thecarg_db`.`cg_tbl_user_roles`.`role_slug` = ? LIMIT ? OFFSET ?
prisma:query SELECT COUNT(*) FROM (SELECT `thecarg_db`.`cg_tbl_cart`.`id` FROM `thecarg_db`.`cg_tbl_cart` WHERE (`thecarg_db`.`cg_tbl_cart`.`user_id` = ? AND `thecarg_db`.`cg_tbl_cart`.`user_role_id` = ?)) AS `sub`
prisma:query SELECT COUNT(*) FROM (SELECT `thecarg_db`.`cg_tbl_cart`.`id` FROM `thecarg_db`.`cg_tbl_cart` WHERE (`thecarg_db`.`cg_tbl_cart`.`user_id` = ? AND `thecarg_db`.`cg_tbl_cart`.`user_role_id` = ?)) AS `sub`
prisma:query SELECT `thecarg_db`.`cg_tbl_cart`.`id`, `thecarg_db`.`cg_tbl_cart`.`user_id`, `thecarg_db`.`cg_tbl_cart`.`user_role_id`, `thecarg_db`.`cg_tbl_cart`.`seller_id`, `thecarg_db`.`cg_tbl_cart`.`product_id`, `thecarg_db`.`cg_tbl_cart`.`quantity`, `thecarg_db`.`cg_tbl_cart`.`price`, `thecarg_db`.`cg_tbl_cart`.`created_at`, `thecarg_db`.`cg_tbl_cart`.`updated_at` FROM `thecarg_db`.`cg_tbl_cart` WHERE (`thecarg_db`.`cg_tbl_cart`.`user_id` = ? AND `thecarg_db`.`cg_tbl_cart`.`user_role_id` = ?) ORDER BY `thecarg_db`.`cg_tbl_cart`.`created_at` DESC LIMIT ? OFFSET ?
prisma:query SELECT `thecarg_db`.`cg_tbl_cart`.`id`, `thecarg_db`.`cg_tbl_cart`.`user_id`, `thecarg_db`.`cg_tbl_cart`.`user_role_id`, `thecarg_db`.`cg_tbl_cart`.`seller_id`, `thecarg_db`.`cg_tbl_cart`.`product_id`, `thecarg_db`.`cg_tbl_cart`.`quantity`, `thecarg_db`.`cg_tbl_cart`.`price`, `thecarg_db`.`cg_tbl_cart`.`created_at`, `thecarg_db`.`cg_tbl_cart`.`updated_at` FROM `thecarg_db`.`cg_tbl_cart` WHERE (`thecarg_db`.`cg_tbl_cart`.`user_id` = ? AND `thecarg_db`.`cg_tbl_cart`.`user_role_id` = ?) ORDER BY `thecarg_db`.`cg_tbl_cart`.`created_at` DESC LIMIT ? OFFSET ?
prisma:query SELECT `thecarg_db`.`cg_tbl_products`.`id`, `thecarg_db`.`cg_tbl_products`.`techdoc_article_id`, `thecarg_db`.`cg_tbl_products`.`techdoc_brand_id`, `thecarg_db`.`cg_tbl_products`.`article_number`, `thecarg_db`.`cg_tbl_products`.`brand_name`, `thecarg_db`.`cg_tbl_products`.`status`, `thecarg_db`.`cg_tbl_products`.`created_at`, `thecarg_db`.`cg_tbl_products`.`updated_at`, `thecarg_db`.`cg_tbl_products`.`assembly_group_node_id`, `thecarg_db`.`cg_tbl_products`.`generic_article_id` FROM `thecarg_db`.`cg_tbl_products` WHERE `thecarg_db`.`cg_tbl_products`.`id` IN (?,?)
prisma:query SELECT `thecarg_db`.`cg_tbl_products`.`id`, `thecarg_db`.`cg_tbl_products`.`techdoc_article_id`, `thecarg_db`.`cg_tbl_products`.`techdoc_brand_id`, `thecarg_db`.`cg_tbl_products`.`article_number`, `thecarg_db`.`cg_tbl_products`.`brand_name`, `thecarg_db`.`cg_tbl_products`.`status`, `thecarg_db`.`cg_tbl_products`.`created_at`, `thecarg_db`.`cg_tbl_products`.`updated_at`, `thecarg_db`.`cg_tbl_products`.`assembly_group_node_id`, `thecarg_db`.`cg_tbl_products`.`generic_article_id` FROM `thecarg_db`.`cg_tbl_products` WHERE `thecarg_db`.`cg_tbl_products`.`id` IN (?,?)
[2026-06-24T12:00:46.403Z] [INFO]: TecDoc → getArticles | provider: 25791 | country: IN | url: https://webservice.tecalliance.services/pegasus-3-0/services/TecdocToCatDLB.jsonEndpoint
--------------------------------------------------

[2026-06-24T12:00:46.410Z] [INFO]: TecDoc → getArticles | provider: 25791 | country: IN | url: https://webservice.tecalliance.services/pegasus-3-0/services/TecdocToCatDLB.jsonEndpoint
--------------------------------------------------

[2026-06-24T12:00:46.416Z] [INFO]: TecDoc → getArticles | provider: 25791 | country: IN | url: https://webservice.tecalliance.services/pegasus-3-0/services/TecdocToCatDLB.jsonEndpoint
--------------------------------------------------

[2026-06-24T12:00:46.419Z] [INFO]: TecDoc → getArticles | provider: 25791 | country: IN | url: https://webservice.tecalliance.services/pegasus-3-0/services/TecdocToCatDLB.jsonEndpoint
--------------------------------------------------

[2026-06-24T12:00:46.941Z] [INFO]: TecDoc → getArticles | provider: 25791 | country: IN | url: https://webservice.tecalliance.services/pegasus-3-0/services/TecdocToCatDLB.jsonEndpoint
--------------------------------------------------

[2026-06-24T12:00:46.948Z] [INFO]: TecDoc → getArticles | provider: 25791 | country: IN | url: https://webservice.tecalliance.services/pegasus-3-0/services/TecdocToCatDLB.jsonEndpoint
--------------------------------------------------

[2026-06-24T12:00:46.953Z] [INFO]: TecDoc → getArticles | provider: 25791 | country: IN | url: https://webservice.tecalliance.services/pegasus-3-0/services/TecdocToCatDLB.jsonEndpoint
--------------------------------------------------

[2026-06-24T12:00:46.960Z] [INFO]: TecDoc → getArticles | provider: 25791 | country: IN | url: https://webservice.tecalliance.services/pegasus-3-0/services/TecdocToCatDLB.jsonEndpoint
--------------------------------------------------

prisma:query SELECT `thecarg_db`.`cg_tbl_seller_products`.`id`, `thecarg_db`.`cg_tbl_seller_products`.`seller_id`, `thecarg_db`.`cg_tbl_seller_products`.`product_id`, `thecarg_db`.`cg_tbl_seller_products`.`category_id`, `thecarg_db`.`cg_tbl_seller_products`.`subcategory_id`, `thecarg_db`.`cg_tbl_seller_products`.`mrp`, `thecarg_db`.`cg_tbl_seller_products`.`customer_selling_price`, `thecarg_db`.`cg_tbl_seller_products`.`garage_selling_price`, `thecarg_db`.`cg_tbl_seller_products`.`customer_discount_type`, `thecarg_db`.`cg_tbl_seller_products`.`customer_discount`, `thecarg_db`.`cg_tbl_seller_products`.`is_returnable`, `thecarg_db`.`cg_tbl_seller_products`.`return_days`, `thecarg_db`.`cg_tbl_seller_products`.`tax`, `thecarg_db`.`cg_tbl_seller_products`.`garage_discount_type`, `thecarg_db`.`cg_tbl_seller_products`.`garage_discount`, `thecarg_db`.`cg_tbl_seller_products`.`warranty_enabled`, `thecarg_db`.`cg_tbl_seller_products`.`warranty_duration`, `thecarg_db`.`cg_tbl_seller_products`.`warranty_duration_type`, `thecarg_db`.`cg_tbl_seller_products`.`warranty_document`, `thecarg_db`.`cg_tbl_seller_products`.`status`, `thecarg_db`.`cg_tbl_seller_products`.`created_at`, `thecarg_db`.`cg_tbl_seller_products`.`updated_at`, `thecarg_db`.`cg_tbl_seller_products`.`is_in_stock` FROM `thecarg_db`.`cg_tbl_seller_products` LEFT JOIN `thecarg_db`.`cg_tbl_sellers` AS `j1` ON (`j1`.`id`) = (`thecarg_db`.`cg_tbl_seller_products`.`seller_id`) WHERE (`thecarg_db`.`cg_tbl_seller_products`.`product_id` = ? AND `thecarg_db`.`cg_tbl_seller_products`.`seller_id` = ? AND `thecarg_db`.`cg_tbl_seller_products`.`status` = ? AND `thecarg_db`.`cg_tbl_seller_products`.`is_in_stock` = ? AND (`j1`.`status` = ? AND (`j1`.`id` IS NOT NULL))) LIMIT ? OFFSET ?
prisma:query SELECT `thecarg_db`.`cg_tbl_sellers`.`id`, `thecarg_db`.`cg_tbl_sellers`.`seller_id`, `thecarg_db`.`cg_tbl_sellers`.`first_name`, `thecarg_db`.`cg_tbl_sellers`.`last_name`, `thecarg_db`.`cg_tbl_sellers`.`mobile`, `thecarg_db`.`cg_tbl_sellers`.`email`, `thecarg_db`.`cg_tbl_sellers`.`trade_name`, `thecarg_db`.`cg_tbl_sellers`.`entity_type`, `thecarg_db`.`cg_tbl_sellers`.`aadhaar_number`, `thecarg_db`.`cg_tbl_sellers`.`pan_number`, `thecarg_db`.`cg_tbl_sellers`.`gstin_number`, `thecarg_db`.`cg_tbl_sellers`.`cin_number`, `thecarg_db`.`cg_tbl_sellers`.`operating_hours`, `thecarg_db`.`cg_tbl_sellers`.`specific_commission`, `thecarg_db`.`cg_tbl_sellers`.`customer_order_commission`, `thecarg_db`.`cg_tbl_sellers`.`garage_order_commission`, `thecarg_db`.`cg_tbl_sellers`.`requested_customer_order_commission`, `thecarg_db`.`cg_tbl_sellers`.`requested_garage_order_commission`, `thecarg_db`.`cg_tbl_sellers`.`bank_name`, `thecarg_db`.`cg_tbl_sellers`.`bank_account_number`, `thecarg_db`.`cg_tbl_sellers`.`bank_ifsc_code`, `thecarg_db`.`cg_tbl_sellers`.`address`, `thecarg_db`.`cg_tbl_sellers`.`latitude`, `thecarg_db`.`cg_tbl_sellers`.`longitude`, `thecarg_db`.`cg_tbl_sellers`.`state`, `thecarg_db`.`cg_tbl_sellers`.`city`, `thecarg_db`.`cg_tbl_sellers`.`zone`, `thecarg_db`.`cg_tbl_sellers`.`pincode`, `thecarg_db`.`cg_tbl_sellers`.`pan_card_file`, `thecarg_db`.`cg_tbl_sellers`.`gst_file`, `thecarg_db`.`cg_tbl_sellers`.`cin_file`, `thecarg_db`.`cg_tbl_sellers`.`cancelled_cheque_file`, `thecarg_db`.`cg_tbl_sellers`.`aadhaar_pan_signatory_file`, `thecarg_db`.`cg_tbl_sellers`.`other_documents_file`, `thecarg_db`.`cg_tbl_sellers`.`status`, `thecarg_db`.`cg_tbl_sellers`.`is_verified`, `thecarg_db`.`cg_tbl_sellers`.`fcm_token`, `thecarg_db`.`cg_tbl_sellers`.`subscription_id`, `thecarg_db`.`cg_tbl_sellers`.`subscription_start_date`, `thecarg_db`.`cg_tbl_sellers`.`subscription_end_date`, `thecarg_db`.`cg_tbl_sellers`.`created_at`, `thecarg_db`.`cg_tbl_sellers`.`updated_at` FROM `thecarg_db`.`cg_tbl_sellers` WHERE `thecarg_db`.`cg_tbl_sellers`.`id` IN (?)
prisma:query SELECT `thecarg_db`.`cg_tbl_seller_products`.`id`, `thecarg_db`.`cg_tbl_seller_products`.`seller_id`, `thecarg_db`.`cg_tbl_seller_products`.`product_id`, `thecarg_db`.`cg_tbl_seller_products`.`category_id`, `thecarg_db`.`cg_tbl_seller_products`.`subcategory_id`, `thecarg_db`.`cg_tbl_seller_products`.`mrp`, `thecarg_db`.`cg_tbl_seller_products`.`customer_selling_price`, `thecarg_db`.`cg_tbl_seller_products`.`garage_selling_price`, `thecarg_db`.`cg_tbl_seller_products`.`customer_discount_type`, `thecarg_db`.`cg_tbl_seller_products`.`customer_discount`, `thecarg_db`.`cg_tbl_seller_products`.`is_returnable`, `thecarg_db`.`cg_tbl_seller_products`.`return_days`, `thecarg_db`.`cg_tbl_seller_products`.`tax`, `thecarg_db`.`cg_tbl_seller_products`.`garage_discount_type`, `thecarg_db`.`cg_tbl_seller_products`.`garage_discount`, `thecarg_db`.`cg_tbl_seller_products`.`warranty_enabled`, `thecarg_db`.`cg_tbl_seller_products`.`warranty_duration`, `thecarg_db`.`cg_tbl_seller_products`.`warranty_duration_type`, `thecarg_db`.`cg_tbl_seller_products`.`warranty_document`, `thecarg_db`.`cg_tbl_seller_products`.`status`, `thecarg_db`.`cg_tbl_seller_products`.`created_at`, `thecarg_db`.`cg_tbl_seller_products`.`updated_at`, `thecarg_db`.`cg_tbl_seller_products`.`is_in_stock` FROM `thecarg_db`.`cg_tbl_seller_products` LEFT JOIN `thecarg_db`.`cg_tbl_sellers` AS `j1` ON (`j1`.`id`) = (`thecarg_db`.`cg_tbl_seller_products`.`seller_id`) WHERE (`thecarg_db`.`cg_tbl_seller_products`.`product_id` = ? AND `thecarg_db`.`cg_tbl_seller_products`.`seller_id` = ? AND `thecarg_db`.`cg_tbl_seller_products`.`status` = ? AND `thecarg_db`.`cg_tbl_seller_products`.`is_in_stock` = ? AND (`j1`.`status` = ? AND (`j1`.`id` IS NOT NULL))) LIMIT ? OFFSET ?
prisma:query SELECT `thecarg_db`.`cg_tbl_sellers`.`id`, `thecarg_db`.`cg_tbl_sellers`.`seller_id`, `thecarg_db`.`cg_tbl_sellers`.`first_name`, `thecarg_db`.`cg_tbl_sellers`.`last_name`, `thecarg_db`.`cg_tbl_sellers`.`mobile`, `thecarg_db`.`cg_tbl_sellers`.`email`, `thecarg_db`.`cg_tbl_sellers`.`trade_name`, `thecarg_db`.`cg_tbl_sellers`.`entity_type`, `thecarg_db`.`cg_tbl_sellers`.`aadhaar_number`, `thecarg_db`.`cg_tbl_sellers`.`pan_number`, `thecarg_db`.`cg_tbl_sellers`.`gstin_number`, `thecarg_db`.`cg_tbl_sellers`.`cin_number`, `thecarg_db`.`cg_tbl_sellers`.`operating_hours`, `thecarg_db`.`cg_tbl_sellers`.`specific_commission`, `thecarg_db`.`cg_tbl_sellers`.`customer_order_commission`, `thecarg_db`.`cg_tbl_sellers`.`garage_order_commission`, `thecarg_db`.`cg_tbl_sellers`.`requested_customer_order_commission`, `thecarg_db`.`cg_tbl_sellers`.`requested_garage_order_commission`, `thecarg_db`.`cg_tbl_sellers`.`bank_name`, `thecarg_db`.`cg_tbl_sellers`.`bank_account_number`, `thecarg_db`.`cg_tbl_sellers`.`bank_ifsc_code`, `thecarg_db`.`cg_tbl_sellers`.`address`, `thecarg_db`.`cg_tbl_sellers`.`latitude`, `thecarg_db`.`cg_tbl_sellers`.`longitude`, `thecarg_db`.`cg_tbl_sellers`.`state`, `thecarg_db`.`cg_tbl_sellers`.`city`, `thecarg_db`.`cg_tbl_sellers`.`zone`, `thecarg_db`.`cg_tbl_sellers`.`pincode`, `thecarg_db`.`cg_tbl_sellers`.`pan_card_file`, `thecarg_db`.`cg_tbl_sellers`.`gst_file`, `thecarg_db`.`cg_tbl_sellers`.`cin_file`, `thecarg_db`.`cg_tbl_sellers`.`cancelled_cheque_file`, `thecarg_db`.`cg_tbl_sellers`.`aadhaar_pan_signatory_file`, `thecarg_db`.`cg_tbl_sellers`.`other_documents_file`, `thecarg_db`.`cg_tbl_sellers`.`status`, `thecarg_db`.`cg_tbl_sellers`.`is_verified`, `thecarg_db`.`cg_tbl_sellers`.`fcm_token`, `thecarg_db`.`cg_tbl_sellers`.`subscription_id`, `thecarg_db`.`cg_tbl_sellers`.`subscription_start_date`, `thecarg_db`.`cg_tbl_sellers`.`subscription_end_date`, `thecarg_db`.`cg_tbl_sellers`.`created_at`, `thecarg_db`.`cg_tbl_sellers`.`updated_at` FROM `thecarg_db`.`cg_tbl_sellers` WHERE `thecarg_db`.`cg_tbl_sellers`.`id` IN (?)
prisma:query SELECT `thecarg_db`.`cg_tbl_seller_products`.`id`, `thecarg_db`.`cg_tbl_seller_products`.`seller_id`, `thecarg_db`.`cg_tbl_seller_products`.`product_id`, `thecarg_db`.`cg_tbl_seller_products`.`category_id`, `thecarg_db`.`cg_tbl_seller_products`.`subcategory_id`, `thecarg_db`.`cg_tbl_seller_products`.`mrp`, `thecarg_db`.`cg_tbl_seller_products`.`customer_selling_price`, `thecarg_db`.`cg_tbl_seller_products`.`garage_selling_price`, `thecarg_db`.`cg_tbl_seller_products`.`customer_discount_type`, `thecarg_db`.`cg_tbl_seller_products`.`customer_discount`, `thecarg_db`.`cg_tbl_seller_products`.`is_returnable`, `thecarg_db`.`cg_tbl_seller_products`.`return_days`, `thecarg_db`.`cg_tbl_seller_products`.`tax`, `thecarg_db`.`cg_tbl_seller_products`.`garage_discount_type`, `thecarg_db`.`cg_tbl_seller_products`.`garage_discount`, `thecarg_db`.`cg_tbl_seller_products`.`warranty_enabled`, `thecarg_db`.`cg_tbl_seller_products`.`warranty_duration`, `thecarg_db`.`cg_tbl_seller_products`.`warranty_duration_type`, `thecarg_db`.`cg_tbl_seller_products`.`warranty_document`, `thecarg_db`.`cg_tbl_seller_products`.`status`, `thecarg_db`.`cg_tbl_seller_products`.`created_at`, `thecarg_db`.`cg_tbl_seller_products`.`updated_at`, `thecarg_db`.`cg_tbl_seller_products`.`is_in_stock` FROM `thecarg_db`.`cg_tbl_seller_products` LEFT JOIN `thecarg_db`.`cg_tbl_sellers` AS `j1` ON (`j1`.`id`) = (`thecarg_db`.`cg_tbl_seller_products`.`seller_id`) WHERE (`thecarg_db`.`cg_tbl_seller_products`.`product_id` = ? AND `thecarg_db`.`cg_tbl_seller_products`.`seller_id` = ? AND `thecarg_db`.`cg_tbl_seller_products`.`status` = ? AND `thecarg_db`.`cg_tbl_seller_products`.`is_in_stock` = ? AND (`j1`.`status` = ? AND (`j1`.`id` IS NOT NULL))) LIMIT ? OFFSET ?
prisma:query SELECT `thecarg_db`.`cg_tbl_seller_products`.`id`, `thecarg_db`.`cg_tbl_seller_products`.`seller_id`, `thecarg_db`.`cg_tbl_seller_products`.`product_id`, `thecarg_db`.`cg_tbl_seller_products`.`category_id`, `thecarg_db`.`cg_tbl_seller_products`.`subcategory_id`, `thecarg_db`.`cg_tbl_seller_products`.`mrp`, `thecarg_db`.`cg_tbl_seller_products`.`customer_selling_price`, `thecarg_db`.`cg_tbl_seller_products`.`garage_selling_price`, `thecarg_db`.`cg_tbl_seller_products`.`customer_discount_type`, `thecarg_db`.`cg_tbl_seller_products`.`customer_discount`, `thecarg_db`.`cg_tbl_seller_products`.`is_returnable`, `thecarg_db`.`cg_tbl_seller_products`.`return_days`, `thecarg_db`.`cg_tbl_seller_products`.`tax`, `thecarg_db`.`cg_tbl_seller_products`.`garage_discount_type`, `thecarg_db`.`cg_tbl_seller_products`.`garage_discount`, `thecarg_db`.`cg_tbl_seller_products`.`warranty_enabled`, `thecarg_db`.`cg_tbl_seller_products`.`warranty_duration`, `thecarg_db`.`cg_tbl_seller_products`.`warranty_duration_type`, `thecarg_db`.`cg_tbl_seller_products`.`warranty_document`, `thecarg_db`.`cg_tbl_seller_products`.`status`, `thecarg_db`.`cg_tbl_seller_products`.`created_at`, `thecarg_db`.`cg_tbl_seller_products`.`updated_at`, `thecarg_db`.`cg_tbl_seller_products`.`is_in_stock` FROM `thecarg_db`.`cg_tbl_seller_products` LEFT JOIN `thecarg_db`.`cg_tbl_sellers` AS `j1` ON (`j1`.`id`) = (`thecarg_db`.`cg_tbl_seller_products`.`seller_id`) WHERE (`thecarg_db`.`cg_tbl_seller_products`.`product_id` = ? AND `thecarg_db`.`cg_tbl_seller_products`.`seller_id` = ? AND `thecarg_db`.`cg_tbl_seller_products`.`status` = ? AND `thecarg_db`.`cg_tbl_seller_products`.`is_in_stock` = ? AND (`j1`.`status` = ? AND (`j1`.`id` IS NOT NULL))) LIMIT ? OFFSET ?
prisma:query SELECT `thecarg_db`.`cg_tbl_sellers`.`id`, `thecarg_db`.`cg_tbl_sellers`.`seller_id`, `thecarg_db`.`cg_tbl_sellers`.`first_name`, `thecarg_db`.`cg_tbl_sellers`.`last_name`, `thecarg_db`.`cg_tbl_sellers`.`mobile`, `thecarg_db`.`cg_tbl_sellers`.`email`, `thecarg_db`.`cg_tbl_sellers`.`trade_name`, `thecarg_db`.`cg_tbl_sellers`.`entity_type`, `thecarg_db`.`cg_tbl_sellers`.`aadhaar_number`, `thecarg_db`.`cg_tbl_sellers`.`pan_number`, `thecarg_db`.`cg_tbl_sellers`.`gstin_number`, `thecarg_db`.`cg_tbl_sellers`.`cin_number`, `thecarg_db`.`cg_tbl_sellers`.`operating_hours`, `thecarg_db`.`cg_tbl_sellers`.`specific_commission`, `thecarg_db`.`cg_tbl_sellers`.`customer_order_commission`, `thecarg_db`.`cg_tbl_sellers`.`garage_order_commission`, `thecarg_db`.`cg_tbl_sellers`.`requested_customer_order_commission`, `thecarg_db`.`cg_tbl_sellers`.`requested_garage_order_commission`, `thecarg_db`.`cg_tbl_sellers`.`bank_name`, `thecarg_db`.`cg_tbl_sellers`.`bank_account_number`, `thecarg_db`.`cg_tbl_sellers`.`bank_ifsc_code`, `thecarg_db`.`cg_tbl_sellers`.`address`, `thecarg_db`.`cg_tbl_sellers`.`latitude`, `thecarg_db`.`cg_tbl_sellers`.`longitude`, `thecarg_db`.`cg_tbl_sellers`.`state`, `thecarg_db`.`cg_tbl_sellers`.`city`, `thecarg_db`.`cg_tbl_sellers`.`zone`, `thecarg_db`.`cg_tbl_sellers`.`pincode`, `thecarg_db`.`cg_tbl_sellers`.`pan_card_file`, `thecarg_db`.`cg_tbl_sellers`.`gst_file`, `thecarg_db`.`cg_tbl_sellers`.`cin_file`, `thecarg_db`.`cg_tbl_sellers`.`cancelled_cheque_file`, `thecarg_db`.`cg_tbl_sellers`.`aadhaar_pan_signatory_file`, `thecarg_db`.`cg_tbl_sellers`.`other_documents_file`, `thecarg_db`.`cg_tbl_sellers`.`status`, `thecarg_db`.`cg_tbl_sellers`.`is_verified`, `thecarg_db`.`cg_tbl_sellers`.`fcm_token`, `thecarg_db`.`cg_tbl_sellers`.`subscription_id`, `thecarg_db`.`cg_tbl_sellers`.`subscription_start_date`, `thecarg_db`.`cg_tbl_sellers`.`subscription_end_date`, `thecarg_db`.`cg_tbl_sellers`.`created_at`, `thecarg_db`.`cg_tbl_sellers`.`updated_at` FROM `thecarg_db`.`cg_tbl_sellers` WHERE `thecarg_db`.`cg_tbl_sellers`.`id` IN (?)
prisma:query SELECT `thecarg_db`.`cg_tbl_sellers`.`id`, `thecarg_db`.`cg_tbl_sellers`.`seller_id`, `thecarg_db`.`cg_tbl_sellers`.`first_name`, `thecarg_db`.`cg_tbl_sellers`.`last_name`, `thecarg_db`.`cg_tbl_sellers`.`mobile`, `thecarg_db`.`cg_tbl_sellers`.`email`, `thecarg_db`.`cg_tbl_sellers`.`trade_name`, `thecarg_db`.`cg_tbl_sellers`.`entity_type`, `thecarg_db`.`cg_tbl_sellers`.`aadhaar_number`, `thecarg_db`.`cg_tbl_sellers`.`pan_number`, `thecarg_db`.`cg_tbl_sellers`.`gstin_number`, `thecarg_db`.`cg_tbl_sellers`.`cin_number`, `thecarg_db`.`cg_tbl_sellers`.`operating_hours`, `thecarg_db`.`cg_tbl_sellers`.`specific_commission`, `thecarg_db`.`cg_tbl_sellers`.`customer_order_commission`, `thecarg_db`.`cg_tbl_sellers`.`garage_order_commission`, `thecarg_db`.`cg_tbl_sellers`.`requested_customer_order_commission`, `thecarg_db`.`cg_tbl_sellers`.`requested_garage_order_commission`, `thecarg_db`.`cg_tbl_sellers`.`bank_name`, `thecarg_db`.`cg_tbl_sellers`.`bank_account_number`, `thecarg_db`.`cg_tbl_sellers`.`bank_ifsc_code`, `thecarg_db`.`cg_tbl_sellers`.`address`, `thecarg_db`.`cg_tbl_sellers`.`latitude`, `thecarg_db`.`cg_tbl_sellers`.`longitude`, `thecarg_db`.`cg_tbl_sellers`.`state`, `thecarg_db`.`cg_tbl_sellers`.`city`, `thecarg_db`.`cg_tbl_sellers`.`zone`, `thecarg_db`.`cg_tbl_sellers`.`pincode`, `thecarg_db`.`cg_tbl_sellers`.`pan_card_file`, `thecarg_db`.`cg_tbl_sellers`.`gst_file`, `thecarg_db`.`cg_tbl_sellers`.`cin_file`, `thecarg_db`.`cg_tbl_sellers`.`cancelled_cheque_file`, `thecarg_db`.`cg_tbl_sellers`.`aadhaar_pan_signatory_file`, `thecarg_db`.`cg_tbl_sellers`.`other_documents_file`, `thecarg_db`.`cg_tbl_sellers`.`status`, `thecarg_db`.`cg_tbl_sellers`.`is_verified`, `thecarg_db`.`cg_tbl_sellers`.`fcm_token`, `thecarg_db`.`cg_tbl_sellers`.`subscription_id`, `thecarg_db`.`cg_tbl_sellers`.`subscription_start_date`, `thecarg_db`.`cg_tbl_sellers`.`subscription_end_date`, `thecarg_db`.`cg_tbl_sellers`.`created_at`, `thecarg_db`.`cg_tbl_sellers`.`updated_at` FROM `thecarg_db`.`cg_tbl_sellers` WHERE `thecarg_db`.`cg_tbl_sellers`.`id` IN (?)
prisma:query SELECT 1
prisma:query SELECT `thecarg_db`.`cg_tbl_customers`.`id`, `thecarg_db`.`cg_tbl_customers`.`full_name`, `thecarg_db`.`cg_tbl_customers`.`mobile`, `thecarg_db`.`cg_tbl_customers`.`email`, `thecarg_db`.`cg_tbl_customers`.`profile_photo_file`, `thecarg_db`.`cg_tbl_customers`.`status`, `thecarg_db`.`cg_tbl_customers`.`created_at`, `thecarg_db`.`cg_tbl_customers`.`updated_at`, `thecarg_db`.`cg_tbl_customers`.`date_of_birth`, `thecarg_db`.`cg_tbl_customers`.`fcm_token`, `thecarg_db`.`cg_tbl_customers`.`marriage_date`, `thecarg_db`.`cg_tbl_customers`.`ref_code`, `thecarg_db`.`cg_tbl_customers`.`referred_by` FROM `thecarg_db`.`cg_tbl_customers` WHERE (`thecarg_db`.`cg_tbl_customers`.`id` = ? AND 1=1) LIMIT ? OFFSET ?
prisma:query SELECT COUNT(*) FROM (SELECT `thecarg_db`.`cg_tbl_user_addresses`.`id` FROM `thecarg_db`.`cg_tbl_user_addresses` WHERE (`thecarg_db`.`cg_tbl_user_addresses`.`user_id` = ? AND `thecarg_db`.`cg_tbl_user_addresses`.`role_id` = ? AND `thecarg_db`.`cg_tbl_user_addresses`.`status` = ?)) AS `sub`
prisma:query SELECT `thecarg_db`.`cg_tbl_user_addresses`.`id`, `thecarg_db`.`cg_tbl_user_addresses`.`user_id`, `thecarg_db`.`cg_tbl_user_addresses`.`role_id`, `thecarg_db`.`cg_tbl_user_addresses`.`address_title`, `thecarg_db`.`cg_tbl_user_addresses`.`contact_name`, `thecarg_db`.`cg_tbl_user_addresses`.`phone_number`, `thecarg_db`.`cg_tbl_user_addresses`.`flat_house_no`, `thecarg_db`.`cg_tbl_user_addresses`.`area_locality`, `thecarg_db`.`cg_tbl_user_addresses`.`landmark`, `thecarg_db`.`cg_tbl_user_addresses`.`pincode`, `thecarg_db`.`cg_tbl_user_addresses`.`city`, `thecarg_db`.`cg_tbl_user_addresses`.`state`, `thecarg_db`.`cg_tbl_user_addresses`.`latitude`, `thecarg_db`.`cg_tbl_user_addresses`.`longitude`, `thecarg_db`.`cg_tbl_user_addresses`.`full_address`, `thecarg_db`.`cg_tbl_user_addresses`.`is_default`, `thecarg_db`.`cg_tbl_user_addresses`.`status`, `thecarg_db`.`cg_tbl_user_addresses`.`created_at`, `thecarg_db`.`cg_tbl_user_addresses`.`updated_at` FROM `thecarg_db`.`cg_tbl_user_addresses` WHERE (`thecarg_db`.`cg_tbl_user_addresses`.`user_id` = ? AND `thecarg_db`.`cg_tbl_user_addresses`.`role_id` = ? AND `thecarg_db`.`cg_tbl_user_addresses`.`status` = ?) ORDER BY `thecarg_db`.`cg_tbl_user_addresses`.`is_default` DESC, `thecarg_db`.`cg_tbl_user_addresses`.`id` DESC LIMIT ? OFFSET ?
prisma:query SELECT `thecarg_db`.`cg_tbl_coupons`.`id`, `thecarg_db`.`cg_tbl_coupons`.`coupon_code`, `thecarg_db`.`cg_tbl_coupons`.`title`, `thecarg_db`.`cg_tbl_coupons`.`coupon_type`, `thecarg_db`.`cg_tbl_coupons`.`applicable_user_type`, `thecarg_db`.`cg_tbl_coupons`.`user_eligibility`, `thecarg_db`.`cg_tbl_coupons`.`discount_value`, `thecarg_db`.`cg_tbl_coupons`.`max_discount`, `thecarg_db`.`cg_tbl_coupons`.`min_order_value`, `thecarg_db`.`cg_tbl_coupons`.`valid_from`, `thecarg_db`.`cg_tbl_coupons`.`valid_to`, `thecarg_db`.`cg_tbl_coupons`.`total_usage_limit`, `thecarg_db`.`cg_tbl_coupons`.`total_uses`, `thecarg_db`.`cg_tbl_coupons`.`usage_per_user`, `thecarg_db`.`cg_tbl_coupons`.`category_restrictions`, `thecarg_db`.`cg_tbl_coupons`.`allow_stacking`, `thecarg_db`.`cg_tbl_coupons`.`module_type`, `thecarg_db`.`cg_tbl_coupons`.`zone_ids`, `thecarg_db`.`cg_tbl_coupons`.`vendor_id`, `thecarg_db`.`cg_tbl_coupons`.`created_at` FROM `thecarg_db`.`cg_tbl_coupons` WHERE (`thecarg_db`.`cg_tbl_coupons`.`status` = ? AND `thecarg_db`.`cg_tbl_coupons`.`applicable_user_type` IN (?,?) AND (`thecarg_db`.`cg_tbl_coupons`.`valid_from` IS NULL OR `thecarg_db`.`cg_tbl_coupons`.`valid_from` <= ?) AND (`thecarg_db`.`cg_tbl_coupons`.`valid_to` IS NULL OR `thecarg_db`.`cg_tbl_coupons`.`valid_to` >= ?)) ORDER BY `thecarg_db`.`cg_tbl_coupons`.`created_at` DESC
prisma:query SELECT `thecarg_db`.`cg_tbl_categories`.`id`, `thecarg_db`.`cg_tbl_categories`.`category_name` FROM `thecarg_db`.`cg_tbl_categories` WHERE `thecarg_db`.`cg_tbl_categories`.`id` IN (?,?,?,?,?,?)
prisma:query SELECT 1
prisma:query SELECT `thecarg_db`.`cg_tbl_zones`.`id` FROM `thecarg_db`.`cg_tbl_zones` WHERE (`thecarg_db`.`cg_tbl_zones`.`id` IN (?) AND `thecarg_db`.`cg_tbl_zones`.`status` = ?)
prisma:query SELECT `thecarg_db`.`cg_tbl_sellers`.`id`, `thecarg_db`.`cg_tbl_sellers`.`status`, `thecarg_db`.`cg_tbl_sellers`.`operating_hours`, `thecarg_db`.`cg_tbl_sellers`.`zone` FROM `thecarg_db`.`cg_tbl_sellers` WHERE `thecarg_db`.`cg_tbl_sellers`.`status` = ?
prisma:query SELECT `thecarg_db`.`cg_tbl_products`.`id`, `thecarg_db`.`cg_tbl_products`.`article_number` FROM `thecarg_db`.`cg_tbl_products` WHERE (`thecarg_db`.`cg_tbl_products`.`status` = ? AND (`thecarg_db`.`cg_tbl_products`.`id`) IN (SELECT `t1`.`product_id` FROM `thecarg_db`.`cg_tbl_seller_products` AS `t1` WHERE (`t1`.`status` = ? AND `t1`.`seller_id` IN (?) AND `t1`.`product_id` IS NOT NULL)) AND `thecarg_db`.`cg_tbl_products`.`generic_article_id` = ? AND `thecarg_db`.`cg_tbl_products`.`assembly_group_node_id` = ?) ORDER BY `thecarg_db`.`cg_tbl_products`.`id` ASC
prisma:query SELECT `thecarg_db`.`cg_tbl_products`.`article_number` FROM `thecarg_db`.`cg_tbl_products` WHERE `thecarg_db`.`cg_tbl_products`.`id` IN (?,?) GROUP BY `thecarg_db`.`cg_tbl_products`.`article_number`
prisma:query SELECT MIN(`thecarg_db`.`cg_tbl_products`.`id`), `thecarg_db`.`cg_tbl_products`.`article_number` FROM `thecarg_db`.`cg_tbl_products` WHERE `thecarg_db`.`cg_tbl_products`.`id` IN (?,?) GROUP BY `thecarg_db`.`cg_tbl_products`.`article_number` ORDER BY MIN(`thecarg_db`.`cg_tbl_products`.`id`) ASC LIMIT ? OFFSET ?
prisma:query SELECT `thecarg_db`.`cg_tbl_products`.`id`, `thecarg_db`.`cg_tbl_products`.`techdoc_article_id`, `thecarg_db`.`cg_tbl_products`.`techdoc_brand_id`, `thecarg_db`.`cg_tbl_products`.`article_number`, `thecarg_db`.`cg_tbl_products`.`brand_name`, `thecarg_db`.`cg_tbl_products`.`status`, `thecarg_db`.`cg_tbl_products`.`created_at`, `thecarg_db`.`cg_tbl_products`.`updated_at`, `thecarg_db`.`cg_tbl_products`.`assembly_group_node_id`, `thecarg_db`.`cg_tbl_products`.`generic_article_id` FROM `thecarg_db`.`cg_tbl_products` WHERE `thecarg_db`.`cg_tbl_products`.`id` IN (?,?) ORDER BY `thecarg_db`.`cg_tbl_products`.`id` ASC
[2026-06-24T12:02:06.367Z] [INFO]: TecDoc → getArticles | provider: 25791 | country: IN | url: https://webservice.tecalliance.services/pegasus-3-0/services/TecdocToCatDLB.jsonEndpoint
--------------------------------------------------

[2026-06-24T12:02:06.370Z] [INFO]: TecDoc → getArticles | provider: 25791 | country: IN | url: https://webservice.tecalliance.services/pegasus-3-0/services/TecdocToCatDLB.jsonEndpoint
--------------------------------------------------

[2026-06-24T12:02:06.854Z] [INFO]: TecDoc → getArticles | provider: 25791 | country: IN | url: https://webservice.tecalliance.services/pegasus-3-0/services/TecdocToCatDLB.jsonEndpoint
--------------------------------------------------

[2026-06-24T12:02:06.872Z] [INFO]: TecDoc → getArticles | provider: 25791 | country: IN | url: https://webservice.tecalliance.services/pegasus-3-0/services/TecdocToCatDLB.jsonEndpoint
--------------------------------------------------

prisma:query SELECT `thecarg_db`.`cg_tbl_products`.`id`, `thecarg_db`.`cg_tbl_products`.`techdoc_article_id` FROM `thecarg_db`.`cg_tbl_products` WHERE (`thecarg_db`.`cg_tbl_products`.`techdoc_article_id` IN (?,?) AND `thecarg_db`.`cg_tbl_products`.`status` = ? AND `thecarg_db`.`cg_tbl_products`.`id` IN (?,?))
prisma:query SELECT `thecarg_db`.`cg_tbl_seller_products`.`id`, `thecarg_db`.`cg_tbl_seller_products`.`product_id`, `thecarg_db`.`cg_tbl_seller_products`.`customer_selling_price`, `thecarg_db`.`cg_tbl_seller_products`.`garage_selling_price`, `thecarg_db`.`cg_tbl_seller_products`.`mrp`, `thecarg_db`.`cg_tbl_seller_products`.`customer_discount_type`, `thecarg_db`.`cg_tbl_seller_products`.`customer_discount`, `thecarg_db`.`cg_tbl_seller_products`.`garage_discount_type`, `thecarg_db`.`cg_tbl_seller_products`.`garage_discount`, `thecarg_db`.`cg_tbl_seller_products`.`is_in_stock`, `thecarg_db`.`cg_tbl_seller_products`.`is_returnable`, `thecarg_db`.`cg_tbl_seller_products`.`return_days`, `thecarg_db`.`cg_tbl_seller_products`.`warranty_enabled`, `thecarg_db`.`cg_tbl_seller_products`.`warranty_duration`, `thecarg_db`.`cg_tbl_seller_products`.`warranty_duration_type`, `thecarg_db`.`cg_tbl_seller_products`.`warranty_document`, `thecarg_db`.`cg_tbl_seller_products`.`tax`, `thecarg_db`.`cg_tbl_seller_products`.`seller_id` FROM `thecarg_db`.`cg_tbl_seller_products` LEFT JOIN `thecarg_db`.`cg_tbl_sellers` AS `j1` ON (`j1`.`id`) = (`thecarg_db`.`cg_tbl_seller_products`.`seller_id`) WHERE (`thecarg_db`.`cg_tbl_seller_products`.`product_id` IN (?,?) AND `thecarg_db`.`cg_tbl_seller_products`.`status` = ? AND (`j1`.`status` = ? AND (`j1`.`id` IS NOT NULL))) ORDER BY `thecarg_db`.`cg_tbl_seller_products`.`customer_selling_price` ASC
prisma:query SELECT `thecarg_db`.`cg_tbl_sellers`.`id`, `thecarg_db`.`cg_tbl_sellers`.`seller_id`, `thecarg_db`.`cg_tbl_sellers`.`first_name`, `thecarg_db`.`cg_tbl_sellers`.`last_name`, `thecarg_db`.`cg_tbl_sellers`.`trade_name`, `thecarg_db`.`cg_tbl_sellers`.`city`, `thecarg_db`.`cg_tbl_sellers`.`state`, `thecarg_db`.`cg_tbl_sellers`.`email`, `thecarg_db`.`cg_tbl_sellers`.`mobile`, `thecarg_db`.`cg_tbl_sellers`.`address`, `thecarg_db`.`cg_tbl_sellers`.`pincode`, `thecarg_db`.`cg_tbl_sellers`.`status`, `thecarg_db`.`cg_tbl_sellers`.`operating_hours`, `thecarg_db`.`cg_tbl_sellers`.`zone`, `thecarg_db`.`cg_tbl_sellers`.`latitude`, `thecarg_db`.`cg_tbl_sellers`.`longitude` FROM `thecarg_db`.`cg_tbl_sellers` WHERE `thecarg_db`.`cg_tbl_sellers`.`id` IN (?)
prisma:query SELECT `thecarg_db`.`cg_tbl_zones`.`id`, `thecarg_db`.`cg_tbl_zones`.`zone_name` FROM `thecarg_db`.`cg_tbl_zones` WHERE 1=1
prisma:query SELECT `thecarg_db`.`cg_tbl_zones`.`id` FROM `thecarg_db`.`cg_tbl_zones` WHERE (`thecarg_db`.`cg_tbl_zones`.`id` IN (?) AND `thecarg_db`.`cg_tbl_zones`.`status` = ?)
prisma:query SELECT `thecarg_db`.`cg_tbl_sellers`.`id`, `thecarg_db`.`cg_tbl_sellers`.`status`, `thecarg_db`.`cg_tbl_sellers`.`operating_hours`, `thecarg_db`.`cg_tbl_sellers`.`zone` FROM `thecarg_db`.`cg_tbl_sellers` WHERE `thecarg_db`.`cg_tbl_sellers`.`status` = ?
prisma:query SELECT `thecarg_db`.`cg_tbl_products`.`id`, `thecarg_db`.`cg_tbl_products`.`article_number` FROM `thecarg_db`.`cg_tbl_products` WHERE (`thecarg_db`.`cg_tbl_products`.`status` = ? AND (`thecarg_db`.`cg_tbl_products`.`id`) IN (SELECT `t1`.`product_id` FROM `thecarg_db`.`cg_tbl_seller_products` AS `t1` WHERE (`t1`.`status` = ? AND `t1`.`seller_id` IN (?) AND `t1`.`product_id` IS NOT NULL)) AND `thecarg_db`.`cg_tbl_products`.`generic_article_id` = ? AND `thecarg_db`.`cg_tbl_products`.`assembly_group_node_id` = ?) ORDER BY `thecarg_db`.`cg_tbl_products`.`id` ASC
prisma:query SELECT `thecarg_db`.`cg_tbl_products`.`article_number` FROM `thecarg_db`.`cg_tbl_products` WHERE `thecarg_db`.`cg_tbl_products`.`id` IN (?,?) GROUP BY `thecarg_db`.`cg_tbl_products`.`article_number`
prisma:query SELECT MIN(`thecarg_db`.`cg_tbl_products`.`id`), `thecarg_db`.`cg_tbl_products`.`article_number` FROM `thecarg_db`.`cg_tbl_products` WHERE `thecarg_db`.`cg_tbl_products`.`id` IN (?,?) GROUP BY `thecarg_db`.`cg_tbl_products`.`article_number` ORDER BY MIN(`thecarg_db`.`cg_tbl_products`.`id`) ASC LIMIT ? OFFSET ?
prisma:query SELECT `thecarg_db`.`cg_tbl_products`.`id`, `thecarg_db`.`cg_tbl_products`.`techdoc_article_id`, `thecarg_db`.`cg_tbl_products`.`techdoc_brand_id`, `thecarg_db`.`cg_tbl_products`.`article_number`, `thecarg_db`.`cg_tbl_products`.`brand_name`, `thecarg_db`.`cg_tbl_products`.`status`, `thecarg_db`.`cg_tbl_products`.`created_at`, `thecarg_db`.`cg_tbl_products`.`updated_at`, `thecarg_db`.`cg_tbl_products`.`assembly_group_node_id`, `thecarg_db`.`cg_tbl_products`.`generic_article_id` FROM `thecarg_db`.`cg_tbl_products` WHERE `thecarg_db`.`cg_tbl_products`.`id` IN (?,?) ORDER BY `thecarg_db`.`cg_tbl_products`.`id` ASC
[2026-06-24T12:02:08.120Z] [INFO]: TecDoc → getArticles | provider: 25791 | country: IN | url: https://webservice.tecalliance.services/pegasus-3-0/services/TecdocToCatDLB.jsonEndpoint
--------------------------------------------------

[2026-06-24T12:02:08.122Z] [INFO]: TecDoc → getArticles | provider: 25791 | country: IN | url: https://webservice.tecalliance.services/pegasus-3-0/services/TecdocToCatDLB.jsonEndpoint
--------------------------------------------------

[2026-06-24T12:02:08.284Z] [INFO]: TecDoc → getArticles | provider: 25791 | country: IN | url: https://webservice.tecalliance.services/pegasus-3-0/services/TecdocToCatDLB.jsonEndpoint
--------------------------------------------------

[2026-06-24T12:02:08.301Z] [INFO]: TecDoc → getArticles | provider: 25791 | country: IN | url: https://webservice.tecalliance.services/pegasus-3-0/services/TecdocToCatDLB.jsonEndpoint
--------------------------------------------------

prisma:query SELECT `thecarg_db`.`cg_tbl_products`.`id`, `thecarg_db`.`cg_tbl_products`.`techdoc_article_id` FROM `thecarg_db`.`cg_tbl_products` WHERE (`thecarg_db`.`cg_tbl_products`.`techdoc_article_id` IN (?,?) AND `thecarg_db`.`cg_tbl_products`.`status` = ? AND `thecarg_db`.`cg_tbl_products`.`id` IN (?,?))
prisma:query SELECT `thecarg_db`.`cg_tbl_seller_products`.`id`, `thecarg_db`.`cg_tbl_seller_products`.`product_id`, `thecarg_db`.`cg_tbl_seller_products`.`customer_selling_price`, `thecarg_db`.`cg_tbl_seller_products`.`garage_selling_price`, `thecarg_db`.`cg_tbl_seller_products`.`mrp`, `thecarg_db`.`cg_tbl_seller_products`.`customer_discount_type`, `thecarg_db`.`cg_tbl_seller_products`.`customer_discount`, `thecarg_db`.`cg_tbl_seller_products`.`garage_discount_type`, `thecarg_db`.`cg_tbl_seller_products`.`garage_discount`, `thecarg_db`.`cg_tbl_seller_products`.`is_in_stock`, `thecarg_db`.`cg_tbl_seller_products`.`is_returnable`, `thecarg_db`.`cg_tbl_seller_products`.`return_days`, `thecarg_db`.`cg_tbl_seller_products`.`warranty_enabled`, `thecarg_db`.`cg_tbl_seller_products`.`warranty_duration`, `thecarg_db`.`cg_tbl_seller_products`.`warranty_duration_type`, `thecarg_db`.`cg_tbl_seller_products`.`warranty_document`, `thecarg_db`.`cg_tbl_seller_products`.`tax`, `thecarg_db`.`cg_tbl_seller_products`.`seller_id` FROM `thecarg_db`.`cg_tbl_seller_products` LEFT JOIN `thecarg_db`.`cg_tbl_sellers` AS `j1` ON (`j1`.`id`) = (`thecarg_db`.`cg_tbl_seller_products`.`seller_id`) WHERE (`thecarg_db`.`cg_tbl_seller_products`.`product_id` IN (?,?) AND `thecarg_db`.`cg_tbl_seller_products`.`status` = ? AND (`j1`.`status` = ? AND (`j1`.`id` IS NOT NULL))) ORDER BY `thecarg_db`.`cg_tbl_seller_products`.`customer_selling_price` ASC
prisma:query SELECT `thecarg_db`.`cg_tbl_sellers`.`id`, `thecarg_db`.`cg_tbl_sellers`.`seller_id`, `thecarg_db`.`cg_tbl_sellers`.`first_name`, `thecarg_db`.`cg_tbl_sellers`.`last_name`, `thecarg_db`.`cg_tbl_sellers`.`trade_name`, `thecarg_db`.`cg_tbl_sellers`.`city`, `thecarg_db`.`cg_tbl_sellers`.`state`, `thecarg_db`.`cg_tbl_sellers`.`email`, `thecarg_db`.`cg_tbl_sellers`.`mobile`, `thecarg_db`.`cg_tbl_sellers`.`address`, `thecarg_db`.`cg_tbl_sellers`.`pincode`, `thecarg_db`.`cg_tbl_sellers`.`status`, `thecarg_db`.`cg_tbl_sellers`.`operating_hours`, `thecarg_db`.`cg_tbl_sellers`.`zone`, `thecarg_db`.`cg_tbl_sellers`.`latitude`, `thecarg_db`.`cg_tbl_sellers`.`longitude` FROM `thecarg_db`.`cg_tbl_sellers` WHERE `thecarg_db`.`cg_tbl_sellers`.`id` IN (?)
prisma:query SELECT `thecarg_db`.`cg_tbl_zones`.`id`, `thecarg_db`.`cg_tbl_zones`.`zone_name` FROM `thecarg_db`.`cg_tbl_zones` WHERE 1=1
[32m[nodemon] restarting due to changes...[39m
[32m[nodemon] starting `ts-node-esm src/server.js`[39m
[32m[nodemon] restarting due to changes...[39m
[32m[nodemon] starting `ts-node-esm src/server.js`[39m
prisma:info Starting a mysql pool with 9 connections.
[2026-06-24T12:02:32.290Z] [INFO]: Successfully connected to the MySQL Database via Prisma!
--------------------------------------------------

prisma:query SELECT `thecarg_db`.`cg_tbl_business_settings`.`id`, `thecarg_db`.`cg_tbl_business_settings`.`key`, `thecarg_db`.`cg_tbl_business_settings`.`value`, `thecarg_db`.`cg_tbl_business_settings`.`created_at`, `thecarg_db`.`cg_tbl_business_settings`.`updated_at` FROM `thecarg_db`.`cg_tbl_business_settings` WHERE `thecarg_db`.`cg_tbl_business_settings`.`key` = ? LIMIT ? OFFSET ?
prisma:query SELECT `thecarg_db`.`cg_tbl_business_settings`.`id`, `thecarg_db`.`cg_tbl_business_settings`.`key`, `thecarg_db`.`cg_tbl_business_settings`.`value`, `thecarg_db`.`cg_tbl_business_settings`.`created_at`, `thecarg_db`.`cg_tbl_business_settings`.`updated_at` FROM `thecarg_db`.`cg_tbl_business_settings` WHERE `thecarg_db`.`cg_tbl_business_settings`.`key` = ? LIMIT ? OFFSET ?
Firebase initialized successfully
[2026-06-24T12:02:32.847Z] [INFO]: Server is running in development mode on port 5000
--------------------------------------------------

[2026-06-24T12:02:32.850Z] [INFO]: Endpoint: http://localhost:5000
--------------------------------------------------

prisma:query SELECT `thecarg_db`.`cg_tbl_zones`.`id` FROM `thecarg_db`.`cg_tbl_zones` WHERE (`thecarg_db`.`cg_tbl_zones`.`id` IN (?) AND `thecarg_db`.`cg_tbl_zones`.`status` = ?)
prisma:query SELECT `thecarg_db`.`cg_tbl_sellers`.`id`, `thecarg_db`.`cg_tbl_sellers`.`status`, `thecarg_db`.`cg_tbl_sellers`.`operating_hours`, `thecarg_db`.`cg_tbl_sellers`.`zone` FROM `thecarg_db`.`cg_tbl_sellers` WHERE `thecarg_db`.`cg_tbl_sellers`.`status` = ?
prisma:query SELECT `thecarg_db`.`cg_tbl_products`.`id`, `thecarg_db`.`cg_tbl_products`.`article_number` FROM `thecarg_db`.`cg_tbl_products` WHERE (`thecarg_db`.`cg_tbl_products`.`status` = ? AND (`thecarg_db`.`cg_tbl_products`.`id`) IN (SELECT `t1`.`product_id` FROM `thecarg_db`.`cg_tbl_seller_products` AS `t1` WHERE (`t1`.`status` = ? AND `t1`.`seller_id` IN (?) AND `t1`.`product_id` IS NOT NULL)) AND `thecarg_db`.`cg_tbl_products`.`generic_article_id` = ? AND `thecarg_db`.`cg_tbl_products`.`assembly_group_node_id` = ?) ORDER BY `thecarg_db`.`cg_tbl_products`.`id` ASC
prisma:query SELECT `thecarg_db`.`cg_tbl_products`.`article_number` FROM `thecarg_db`.`cg_tbl_products` WHERE `thecarg_db`.`cg_tbl_products`.`id` IN (?,?) GROUP BY `thecarg_db`.`cg_tbl_products`.`article_number`
prisma:query SELECT MIN(`thecarg_db`.`cg_tbl_products`.`id`), `thecarg_db`.`cg_tbl_products`.`article_number` FROM `thecarg_db`.`cg_tbl_products` WHERE `thecarg_db`.`cg_tbl_products`.`id` IN (?,?) GROUP BY `thecarg_db`.`cg_tbl_products`.`article_number` ORDER BY MIN(`thecarg_db`.`cg_tbl_products`.`id`) ASC LIMIT ? OFFSET ?
prisma:query SELECT `thecarg_db`.`cg_tbl_products`.`id`, `thecarg_db`.`cg_tbl_products`.`techdoc_article_id`, `thecarg_db`.`cg_tbl_products`.`techdoc_brand_id`, `thecarg_db`.`cg_tbl_products`.`article_number`, `thecarg_db`.`cg_tbl_products`.`brand_name`, `thecarg_db`.`cg_tbl_products`.`status`, `thecarg_db`.`cg_tbl_products`.`created_at`, `thecarg_db`.`cg_tbl_products`.`updated_at`, `thecarg_db`.`cg_tbl_products`.`assembly_group_node_id`, `thecarg_db`.`cg_tbl_products`.`generic_article_id` FROM `thecarg_db`.`cg_tbl_products` WHERE `thecarg_db`.`cg_tbl_products`.`id` IN (?,?) ORDER BY `thecarg_db`.`cg_tbl_products`.`id` ASC
prisma:query SELECT `thecarg_db`.`cg_tbl_business_settings`.`id`, `thecarg_db`.`cg_tbl_business_settings`.`key`, `thecarg_db`.`cg_tbl_business_settings`.`value`, `thecarg_db`.`cg_tbl_business_settings`.`created_at`, `thecarg_db`.`cg_tbl_business_settings`.`updated_at` FROM `thecarg_db`.`cg_tbl_business_settings` WHERE `thecarg_db`.`cg_tbl_business_settings`.`key` = ? LIMIT ? OFFSET ?
prisma:query SELECT `thecarg_db`.`cg_tbl_business_settings`.`id`, `thecarg_db`.`cg_tbl_business_settings`.`key`, `thecarg_db`.`cg_tbl_business_settings`.`value`, `thecarg_db`.`cg_tbl_business_settings`.`created_at`, `thecarg_db`.`cg_tbl_business_settings`.`updated_at` FROM `thecarg_db`.`cg_tbl_business_settings` WHERE `thecarg_db`.`cg_tbl_business_settings`.`key` = ? LIMIT ? OFFSET ?
prisma:query SELECT `thecarg_db`.`cg_tbl_business_settings`.`id`, `thecarg_db`.`cg_tbl_business_settings`.`key`, `thecarg_db`.`cg_tbl_business_settings`.`value`, `thecarg_db`.`cg_tbl_business_settings`.`created_at`, `thecarg_db`.`cg_tbl_business_settings`.`updated_at` FROM `thecarg_db`.`cg_tbl_business_settings` WHERE `thecarg_db`.`cg_tbl_business_settings`.`key` = ? LIMIT ? OFFSET ?
prisma:query SELECT `thecarg_db`.`cg_tbl_business_settings`.`id`, `thecarg_db`.`cg_tbl_business_settings`.`key`, `thecarg_db`.`cg_tbl_business_settings`.`value`, `thecarg_db`.`cg_tbl_business_settings`.`created_at`, `thecarg_db`.`cg_tbl_business_settings`.`updated_at` FROM `thecarg_db`.`cg_tbl_business_settings` WHERE `thecarg_db`.`cg_tbl_business_settings`.`key` = ? LIMIT ? OFFSET ?
prisma:query SELECT `thecarg_db`.`cg_tbl_business_settings`.`id`, `thecarg_db`.`cg_tbl_business_settings`.`key`, `thecarg_db`.`cg_tbl_business_settings`.`value`, `thecarg_db`.`cg_tbl_business_settings`.`created_at`, `thecarg_db`.`cg_tbl_business_settings`.`updated_at` FROM `thecarg_db`.`cg_tbl_business_settings` WHERE `thecarg_db`.`cg_tbl_business_settings`.`key` = ? LIMIT ? OFFSET ?
prisma:query SELECT `thecarg_db`.`cg_tbl_business_settings`.`id`, `thecarg_db`.`cg_tbl_business_settings`.`key`, `thecarg_db`.`cg_tbl_business_settings`.`value`, `thecarg_db`.`cg_tbl_business_settings`.`created_at`, `thecarg_db`.`cg_tbl_business_settings`.`updated_at` FROM `thecarg_db`.`cg_tbl_business_settings` WHERE `thecarg_db`.`cg_tbl_business_settings`.`key` = ? LIMIT ? OFFSET ?
prisma:query SELECT `thecarg_db`.`cg_tbl_business_settings`.`id`, `thecarg_db`.`cg_tbl_business_settings`.`key`, `thecarg_db`.`cg_tbl_business_settings`.`value`, `thecarg_db`.`cg_tbl_business_settings`.`created_at`, `thecarg_db`.`cg_tbl_business_settings`.`updated_at` FROM `thecarg_db`.`cg_tbl_business_settings` WHERE `thecarg_db`.`cg_tbl_business_settings`.`key` = ? LIMIT ? OFFSET ?
prisma:query SELECT `thecarg_db`.`cg_tbl_business_settings`.`id`, `thecarg_db`.`cg_tbl_business_settings`.`key`, `thecarg_db`.`cg_tbl_business_settings`.`value`, `thecarg_db`.`cg_tbl_business_settings`.`created_at`, `thecarg_db`.`cg_tbl_business_settings`.`updated_at` FROM `thecarg_db`.`cg_tbl_business_settings` WHERE `thecarg_db`.`cg_tbl_business_settings`.`key` = ? LIMIT ? OFFSET ?
[2026-06-24T12:02:36.860Z] [INFO]: TecDoc → getArticles | provider: 25791 | country: IN | url: https://webservice.tecalliance.services/pegasus-3-0/services/TecdocToCatDLB.jsonEndpoint
--------------------------------------------------

[2026-06-24T12:02:36.965Z] [INFO]: TecDoc → getArticles | provider: 25791 | country: IN | url: https://webservice.tecalliance.services/pegasus-3-0/services/TecdocToCatDLB.jsonEndpoint
--------------------------------------------------

[2026-06-24T12:02:37.479Z] [INFO]: TecDoc → getArticles | provider: 25791 | country: IN | url: https://webservice.tecalliance.services/pegasus-3-0/services/TecdocToCatDLB.jsonEndpoint
--------------------------------------------------

[2026-06-24T12:02:37.493Z] [INFO]: TecDoc → getArticles | provider: 25791 | country: IN | url: https://webservice.tecalliance.services/pegasus-3-0/services/TecdocToCatDLB.jsonEndpoint
--------------------------------------------------

prisma:query SELECT `thecarg_db`.`cg_tbl_products`.`id`, `thecarg_db`.`cg_tbl_products`.`techdoc_article_id` FROM `thecarg_db`.`cg_tbl_products` WHERE (`thecarg_db`.`cg_tbl_products`.`techdoc_article_id` IN (?,?) AND `thecarg_db`.`cg_tbl_products`.`status` = ? AND `thecarg_db`.`cg_tbl_products`.`id` IN (?,?))
prisma:query SELECT `thecarg_db`.`cg_tbl_seller_products`.`id`, `thecarg_db`.`cg_tbl_seller_products`.`product_id`, `thecarg_db`.`cg_tbl_seller_products`.`customer_selling_price`, `thecarg_db`.`cg_tbl_seller_products`.`garage_selling_price`, `thecarg_db`.`cg_tbl_seller_products`.`mrp`, `thecarg_db`.`cg_tbl_seller_products`.`customer_discount_type`, `thecarg_db`.`cg_tbl_seller_products`.`customer_discount`, `thecarg_db`.`cg_tbl_seller_products`.`garage_discount_type`, `thecarg_db`.`cg_tbl_seller_products`.`garage_discount`, `thecarg_db`.`cg_tbl_seller_products`.`is_in_stock`, `thecarg_db`.`cg_tbl_seller_products`.`is_returnable`, `thecarg_db`.`cg_tbl_seller_products`.`return_days`, `thecarg_db`.`cg_tbl_seller_products`.`warranty_enabled`, `thecarg_db`.`cg_tbl_seller_products`.`warranty_duration`, `thecarg_db`.`cg_tbl_seller_products`.`warranty_duration_type`, `thecarg_db`.`cg_tbl_seller_products`.`warranty_document`, `thecarg_db`.`cg_tbl_seller_products`.`tax`, `thecarg_db`.`cg_tbl_seller_products`.`seller_id` FROM `thecarg_db`.`cg_tbl_seller_products` LEFT JOIN `thecarg_db`.`cg_tbl_sellers` AS `j1` ON (`j1`.`id`) = (`thecarg_db`.`cg_tbl_seller_products`.`seller_id`) WHERE (`thecarg_db`.`cg_tbl_seller_products`.`product_id` IN (?,?) AND `thecarg_db`.`cg_tbl_seller_products`.`status` = ? AND (`j1`.`status` = ? AND (`j1`.`id` IS NOT NULL))) ORDER BY `thecarg_db`.`cg_tbl_seller_products`.`customer_selling_price` ASC
prisma:query SELECT `thecarg_db`.`cg_tbl_sellers`.`id`, `thecarg_db`.`cg_tbl_sellers`.`seller_id`, `thecarg_db`.`cg_tbl_sellers`.`first_name`, `thecarg_db`.`cg_tbl_sellers`.`last_name`, `thecarg_db`.`cg_tbl_sellers`.`trade_name`, `thecarg_db`.`cg_tbl_sellers`.`city`, `thecarg_db`.`cg_tbl_sellers`.`state`, `thecarg_db`.`cg_tbl_sellers`.`email`, `thecarg_db`.`cg_tbl_sellers`.`mobile`, `thecarg_db`.`cg_tbl_sellers`.`address`, `thecarg_db`.`cg_tbl_sellers`.`pincode`, `thecarg_db`.`cg_tbl_sellers`.`status`, `thecarg_db`.`cg_tbl_sellers`.`operating_hours`, `thecarg_db`.`cg_tbl_sellers`.`zone`, `thecarg_db`.`cg_tbl_sellers`.`latitude`, `thecarg_db`.`cg_tbl_sellers`.`longitude` FROM `thecarg_db`.`cg_tbl_sellers` WHERE `thecarg_db`.`cg_tbl_sellers`.`id` IN (?)
prisma:query SELECT `thecarg_db`.`cg_tbl_zones`.`id`, `thecarg_db`.`cg_tbl_zones`.`zone_name` FROM `thecarg_db`.`cg_tbl_zones` WHERE 1=1
[32m[nodemon] restarting due to changes...[39m
[32m[nodemon] starting `ts-node-esm src/server.js`[39m
[32m[nodemon] restarting due to changes...[39m
[32m[nodemon] starting `ts-node-esm src/server.js`[39m
[32m[nodemon] restarting due to changes...[39m
[32m[nodemon] starting `ts-node-esm src/server.js`[39m
prisma:info Starting a mysql pool with 9 connections.
[2026-06-24T12:02:45.612Z] [INFO]: Successfully connected to the MySQL Database via Prisma!
--------------------------------------------------

prisma:query SELECT `thecarg_db`.`cg_tbl_business_settings`.`id`, `thecarg_db`.`cg_tbl_business_settings`.`key`, `thecarg_db`.`cg_tbl_business_settings`.`value`, `thecarg_db`.`cg_tbl_business_settings`.`created_at`, `thecarg_db`.`cg_tbl_business_settings`.`updated_at` FROM `thecarg_db`.`cg_tbl_business_settings` WHERE `thecarg_db`.`cg_tbl_business_settings`.`key` = ? LIMIT ? OFFSET ?
prisma:query SELECT `thecarg_db`.`cg_tbl_business_settings`.`id`, `thecarg_db`.`cg_tbl_business_settings`.`key`, `thecarg_db`.`cg_tbl_business_settings`.`value`, `thecarg_db`.`cg_tbl_business_settings`.`created_at`, `thecarg_db`.`cg_tbl_business_settings`.`updated_at` FROM `thecarg_db`.`cg_tbl_business_settings` WHERE `thecarg_db`.`cg_tbl_business_settings`.`key` = ? LIMIT ? OFFSET ?
Firebase initialized successfully
[2026-06-24T12:02:45.634Z] [INFO]: Server is running in development mode on port 5000
--------------------------------------------------

[2026-06-24T12:02:45.635Z] [INFO]: Endpoint: http://localhost:5000
--------------------------------------------------

[32m[nodemon] clean exit - waiting for changes before restart[39m
[32m[nodemon] restarting due to changes...[39m
[32m[nodemon] starting `ts-node-esm src/server.js`[39m
prisma:info Starting a mysql pool with 9 connections.
[2026-06-24T12:02:50.539Z] [INFO]: Successfully connected to the MySQL Database via Prisma!
--------------------------------------------------

prisma:query SELECT `thecarg_db`.`cg_tbl_business_settings`.`id`, `thecarg_db`.`cg_tbl_business_settings`.`key`, `thecarg_db`.`cg_tbl_business_settings`.`value`, `thecarg_db`.`cg_tbl_business_settings`.`created_at`, `thecarg_db`.`cg_tbl_business_settings`.`updated_at` FROM `thecarg_db`.`cg_tbl_business_settings` WHERE `thecarg_db`.`cg_tbl_business_settings`.`key` = ? LIMIT ? OFFSET ?
prisma:query SELECT `thecarg_db`.`cg_tbl_business_settings`.`id`, `thecarg_db`.`cg_tbl_business_settings`.`key`, `thecarg_db`.`cg_tbl_business_settings`.`value`, `thecarg_db`.`cg_tbl_business_settings`.`created_at`, `thecarg_db`.`cg_tbl_business_settings`.`updated_at` FROM `thecarg_db`.`cg_tbl_business_settings` WHERE `thecarg_db`.`cg_tbl_business_settings`.`key` = ? LIMIT ? OFFSET ?
Firebase initialized successfully
[2026-06-24T12:02:50.555Z] [INFO]: Server is running in development mode on port 5000
--------------------------------------------------

[2026-06-24T12:02:50.556Z] [INFO]: Endpoint: http://localhost:5000
--------------------------------------------------

[32m[nodemon] restarting due to changes...[39m
[32m[nodemon] starting `ts-node-esm src/server.js`[39m
prisma:info Starting a mysql pool with 9 connections.
[2026-06-24T12:03:26.168Z] [INFO]: Successfully connected to the MySQL Database via Prisma!
--------------------------------------------------

prisma:query SELECT `thecarg_db`.`cg_tbl_business_settings`.`id`, `thecarg_db`.`cg_tbl_business_settings`.`key`, `thecarg_db`.`cg_tbl_business_settings`.`value`, `thecarg_db`.`cg_tbl_business_settings`.`created_at`, `thecarg_db`.`cg_tbl_business_settings`.`updated_at` FROM `thecarg_db`.`cg_tbl_business_settings` WHERE `thecarg_db`.`cg_tbl_business_settings`.`key` = ? LIMIT ? OFFSET ?
prisma:query SELECT `thecarg_db`.`cg_tbl_business_settings`.`id`, `thecarg_db`.`cg_tbl_business_settings`.`key`, `thecarg_db`.`cg_tbl_business_settings`.`value`, `thecarg_db`.`cg_tbl_business_settings`.`created_at`, `thecarg_db`.`cg_tbl_business_settings`.`updated_at` FROM `thecarg_db`.`cg_tbl_business_settings` WHERE `thecarg_db`.`cg_tbl_business_settings`.`key` = ? LIMIT ? OFFSET ?
Firebase initialized successfully
[2026-06-24T12:03:26.187Z] [INFO]: Server is running in development mode on port 5000
--------------------------------------------------

[2026-06-24T12:03:26.189Z] [INFO]: Endpoint: http://localhost:5000
--------------------------------------------------

[32m[nodemon] clean exit - waiting for changes before restart[39m
[32m[nodemon] restarting due to changes...[39m
[32m[nodemon] starting `ts-node-esm src/server.js`[39m
prisma:info Starting a mysql pool with 9 connections.
[2026-06-24T12:03:44.385Z] [INFO]: Successfully connected to the MySQL Database via Prisma!
--------------------------------------------------

prisma:query SELECT `thecarg_db`.`cg_tbl_business_settings`.`id`, `thecarg_db`.`cg_tbl_business_settings`.`key`, `thecarg_db`.`cg_tbl_business_settings`.`value`, `thecarg_db`.`cg_tbl_business_settings`.`created_at`, `thecarg_db`.`cg_tbl_business_settings`.`updated_at` FROM `thecarg_db`.`cg_tbl_business_settings` WHERE `thecarg_db`.`cg_tbl_business_settings`.`key` = ? LIMIT ? OFFSET ?
prisma:query SELECT `thecarg_db`.`cg_tbl_business_settings`.`id`, `thecarg_db`.`cg_tbl_business_settings`.`key`, `thecarg_db`.`cg_tbl_business_settings`.`value`, `thecarg_db`.`cg_tbl_business_settings`.`created_at`, `thecarg_db`.`cg_tbl_business_settings`.`updated_at` FROM `thecarg_db`.`cg_tbl_business_settings` WHERE `thecarg_db`.`cg_tbl_business_settings`.`key` = ? LIMIT ? OFFSET ?
Firebase initialized successfully
[2026-06-24T12:03:44.410Z] [INFO]: Server is running in development mode on port 5000
--------------------------------------------------

[2026-06-24T12:03:44.413Z] [INFO]: Endpoint: http://localhost:5000
--------------------------------------------------

[32m[nodemon] clean exit - waiting for changes before restart[39m
[32m[nodemon] restarting due to changes...[39m
[32m[nodemon] starting `ts-node-esm src/server.js`[39m
prisma:info Starting a mysql pool with 9 connections.
[2026-06-24T12:03:54.862Z] [INFO]: Successfully connected to the MySQL Database via Prisma!
--------------------------------------------------

prisma:query SELECT `thecarg_db`.`cg_tbl_business_settings`.`id`, `thecarg_db`.`cg_tbl_business_settings`.`key`, `thecarg_db`.`cg_tbl_business_settings`.`value`, `thecarg_db`.`cg_tbl_business_settings`.`created_at`, `thecarg_db`.`cg_tbl_business_settings`.`updated_at` FROM `thecarg_db`.`cg_tbl_business_settings` WHERE `thecarg_db`.`cg_tbl_business_settings`.`key` = ? LIMIT ? OFFSET ?
prisma:query SELECT `thecarg_db`.`cg_tbl_business_settings`.`id`, `thecarg_db`.`cg_tbl_business_settings`.`key`, `thecarg_db`.`cg_tbl_business_settings`.`value`, `thecarg_db`.`cg_tbl_business_settings`.`created_at`, `thecarg_db`.`cg_tbl_business_settings`.`updated_at` FROM `thecarg_db`.`cg_tbl_business_settings` WHERE `thecarg_db`.`cg_tbl_business_settings`.`key` = ? LIMIT ? OFFSET ?
Firebase initialized successfully
[2026-06-24T12:03:54.893Z] [INFO]: Server is running in development mode on port 5000
--------------------------------------------------

[2026-06-24T12:03:54.896Z] [INFO]: Endpoint: http://localhost:5000
--------------------------------------------------

[32m[nodemon] restarting due to changes...[39m
[32m[nodemon] restarting due to changes...[39m
[32m[nodemon] starting `ts-node-esm src/server.js`[39m
prisma:info Starting a mysql pool with 9 connections.
[2026-06-24T12:05:13.960Z] [INFO]: Successfully connected to the MySQL Database via Prisma!
--------------------------------------------------

prisma:query SELECT `thecarg_db`.`cg_tbl_business_settings`.`id`, `thecarg_db`.`cg_tbl_business_settings`.`key`, `thecarg_db`.`cg_tbl_business_settings`.`value`, `thecarg_db`.`cg_tbl_business_settings`.`created_at`, `thecarg_db`.`cg_tbl_business_settings`.`updated_at` FROM `thecarg_db`.`cg_tbl_business_settings` WHERE `thecarg_db`.`cg_tbl_business_settings`.`key` = ? LIMIT ? OFFSET ?
prisma:query SELECT `thecarg_db`.`cg_tbl_business_settings`.`id`, `thecarg_db`.`cg_tbl_business_settings`.`key`, `thecarg_db`.`cg_tbl_business_settings`.`value`, `thecarg_db`.`cg_tbl_business_settings`.`created_at`, `thecarg_db`.`cg_tbl_business_settings`.`updated_at` FROM `thecarg_db`.`cg_tbl_business_settings` WHERE `thecarg_db`.`cg_tbl_business_settings`.`key` = ? LIMIT ? OFFSET ?
Firebase initialized successfully
[2026-06-24T12:05:13.981Z] [INFO]: Server is running in development mode on port 5000
--------------------------------------------------

[2026-06-24T12:05:13.982Z] [INFO]: Endpoint: http://localhost:5000
--------------------------------------------------

[32m[nodemon] clean exit - waiting for changes before restart[39m
[32m[nodemon] restarting due to changes...[39m
[32m[nodemon] starting `ts-node-esm src/server.js`[39m
prisma:info Starting a mysql pool with 9 connections.
[2026-06-24T12:05:24.685Z] [INFO]: Successfully connected to the MySQL Database via Prisma!
--------------------------------------------------

prisma:query SELECT `thecarg_db`.`cg_tbl_business_settings`.`id`, `thecarg_db`.`cg_tbl_business_settings`.`key`, `thecarg_db`.`cg_tbl_business_settings`.`value`, `thecarg_db`.`cg_tbl_business_settings`.`created_at`, `thecarg_db`.`cg_tbl_business_settings`.`updated_at` FROM `thecarg_db`.`cg_tbl_business_settings` WHERE `thecarg_db`.`cg_tbl_business_settings`.`key` = ? LIMIT ? OFFSET ?
prisma:query SELECT `thecarg_db`.`cg_tbl_business_settings`.`id`, `thecarg_db`.`cg_tbl_business_settings`.`key`, `thecarg_db`.`cg_tbl_business_settings`.`value`, `thecarg_db`.`cg_tbl_business_settings`.`created_at`, `thecarg_db`.`cg_tbl_business_settings`.`updated_at` FROM `thecarg_db`.`cg_tbl_business_settings` WHERE `thecarg_db`.`cg_tbl_business_settings`.`key` = ? LIMIT ? OFFSET ?
Firebase initialized successfully
[2026-06-24T12:05:24.704Z] [INFO]: Server is running in development mode on port 5000
--------------------------------------------------

[2026-06-24T12:05:24.706Z] [INFO]: Endpoint: http://localhost:5000
--------------------------------------------------

[32m[nodemon] restarting due to changes...[39m
[32m[nodemon] starting `ts-node-esm src/server.js`[39m
[32m[nodemon] restarting due to changes...[39m
[32m[nodemon] restarting due to changes...[39m
[32m[nodemon] starting `ts-node-esm src/server.js`[39m
prisma:info Starting a mysql pool with 9 connections.
[2026-06-24T12:05:29.797Z] [INFO]: Successfully connected to the MySQL Database via Prisma!
--------------------------------------------------

prisma:query SELECT `thecarg_db`.`cg_tbl_business_settings`.`id`, `thecarg_db`.`cg_tbl_business_settings`.`key`, `thecarg_db`.`cg_tbl_business_settings`.`value`, `thecarg_db`.`cg_tbl_business_settings`.`created_at`, `thecarg_db`.`cg_tbl_business_settings`.`updated_at` FROM `thecarg_db`.`cg_tbl_business_settings` WHERE `thecarg_db`.`cg_tbl_business_settings`.`key` = ? LIMIT ? OFFSET ?
prisma:query SELECT `thecarg_db`.`cg_tbl_business_settings`.`id`, `thecarg_db`.`cg_tbl_business_settings`.`key`, `thecarg_db`.`cg_tbl_business_settings`.`value`, `thecarg_db`.`cg_tbl_business_settings`.`created_at`, `thecarg_db`.`cg_tbl_business_settings`.`updated_at` FROM `thecarg_db`.`cg_tbl_business_settings` WHERE `thecarg_db`.`cg_tbl_business_settings`.`key` = ? LIMIT ? OFFSET ?
Firebase initialized successfully
[2026-06-24T12:05:29.818Z] [INFO]: Server is running in development mode on port 5000
--------------------------------------------------

[2026-06-24T12:05:29.820Z] [INFO]: Endpoint: http://localhost:5000
--------------------------------------------------

prisma:query SELECT `thecarg_db`.`cg_tbl_zones`.`id` FROM `thecarg_db`.`cg_tbl_zones` WHERE (`thecarg_db`.`cg_tbl_zones`.`id` IN (?) AND `thecarg_db`.`cg_tbl_zones`.`status` = ?)
prisma:query SELECT `thecarg_db`.`cg_tbl_products`.`id`, `thecarg_db`.`cg_tbl_products`.`techdoc_article_id`, `thecarg_db`.`cg_tbl_products`.`techdoc_brand_id`, `thecarg_db`.`cg_tbl_products`.`article_number`, `thecarg_db`.`cg_tbl_products`.`brand_name`, `thecarg_db`.`cg_tbl_products`.`status`, `thecarg_db`.`cg_tbl_products`.`created_at`, `thecarg_db`.`cg_tbl_products`.`updated_at`, `thecarg_db`.`cg_tbl_products`.`assembly_group_node_id`, `thecarg_db`.`cg_tbl_products`.`generic_article_id` FROM `thecarg_db`.`cg_tbl_products` WHERE (`thecarg_db`.`cg_tbl_products`.`id` = ? AND `thecarg_db`.`cg_tbl_products`.`status` = ?) LIMIT ? OFFSET ?
prisma:query SELECT `thecarg_db`.`cg_tbl_business_settings`.`id`, `thecarg_db`.`cg_tbl_business_settings`.`key`, `thecarg_db`.`cg_tbl_business_settings`.`value`, `thecarg_db`.`cg_tbl_business_settings`.`created_at`, `thecarg_db`.`cg_tbl_business_settings`.`updated_at` FROM `thecarg_db`.`cg_tbl_business_settings` WHERE `thecarg_db`.`cg_tbl_business_settings`.`key` = ? LIMIT ? OFFSET ?
prisma:query SELECT `thecarg_db`.`cg_tbl_business_settings`.`id`, `thecarg_db`.`cg_tbl_business_settings`.`key`, `thecarg_db`.`cg_tbl_business_settings`.`value`, `thecarg_db`.`cg_tbl_business_settings`.`created_at`, `thecarg_db`.`cg_tbl_business_settings`.`updated_at` FROM `thecarg_db`.`cg_tbl_business_settings` WHERE `thecarg_db`.`cg_tbl_business_settings`.`key` = ? LIMIT ? OFFSET ?
prisma:query SELECT `thecarg_db`.`cg_tbl_business_settings`.`id`, `thecarg_db`.`cg_tbl_business_settings`.`key`, `thecarg_db`.`cg_tbl_business_settings`.`value`, `thecarg_db`.`cg_tbl_business_settings`.`created_at`, `thecarg_db`.`cg_tbl_business_settings`.`updated_at` FROM `thecarg_db`.`cg_tbl_business_settings` WHERE `thecarg_db`.`cg_tbl_business_settings`.`key` = ? LIMIT ? OFFSET ?
prisma:query SELECT `thecarg_db`.`cg_tbl_business_settings`.`id`, `thecarg_db`.`cg_tbl_business_settings`.`key`, `thecarg_db`.`cg_tbl_business_settings`.`value`, `thecarg_db`.`cg_tbl_business_settings`.`created_at`, `thecarg_db`.`cg_tbl_business_settings`.`updated_at` FROM `thecarg_db`.`cg_tbl_business_settings` WHERE `thecarg_db`.`cg_tbl_business_settings`.`key` = ? LIMIT ? OFFSET ?
[2026-06-24T12:05:29.987Z] [INFO]: TecDoc → getArticles | provider: 25791 | country: IN | url: https://webservice.tecalliance.services/pegasus-3-0/services/TecdocToCatDLB.jsonEndpoint
--------------------------------------------------

[2026-06-24T12:05:30.534Z] [INFO]: TecDoc → getArticles | provider: 25791 | country: IN | url: https://webservice.tecalliance.services/pegasus-3-0/services/TecdocToCatDLB.jsonEndpoint
--------------------------------------------------

[2026-06-24T12:05:30.699Z] [INFO]: TecDoc → getArticleLinkedAllLinkingTarget4 | provider: 25791 | country: IN | url: https://webservice.tecalliance.services/pegasus-3-0/services/TecdocToCatDLB.jsonEndpoint
--------------------------------------------------

[2026-06-24T12:05:30.864Z] [INFO]: TecDoc → getArticleLinkedAllLinkingTargetsByIds3 | provider: 25791 | country: IN | url: https://webservice.tecalliance.services/pegasus-3-0/services/TecdocToCatDLB.jsonEndpoint
--------------------------------------------------

prisma:query SELECT `thecarg_db`.`cg_tbl_seller_products`.`id`, `thecarg_db`.`cg_tbl_seller_products`.`customer_selling_price`, `thecarg_db`.`cg_tbl_seller_products`.`garage_selling_price`, `thecarg_db`.`cg_tbl_seller_products`.`mrp`, `thecarg_db`.`cg_tbl_seller_products`.`customer_discount_type`, `thecarg_db`.`cg_tbl_seller_products`.`customer_discount`, `thecarg_db`.`cg_tbl_seller_products`.`garage_discount_type`, `thecarg_db`.`cg_tbl_seller_products`.`garage_discount`, `thecarg_db`.`cg_tbl_seller_products`.`is_in_stock`, `thecarg_db`.`cg_tbl_seller_products`.`is_returnable`, `thecarg_db`.`cg_tbl_seller_products`.`return_days`, `thecarg_db`.`cg_tbl_seller_products`.`warranty_enabled`, `thecarg_db`.`cg_tbl_seller_products`.`warranty_duration`, `thecarg_db`.`cg_tbl_seller_products`.`warranty_duration_type`, `thecarg_db`.`cg_tbl_seller_products`.`warranty_document`, `thecarg_db`.`cg_tbl_seller_products`.`tax`, `thecarg_db`.`cg_tbl_seller_products`.`seller_id` FROM `thecarg_db`.`cg_tbl_seller_products` LEFT JOIN `thecarg_db`.`cg_tbl_sellers` AS `j1` ON (`j1`.`id`) = (`thecarg_db`.`cg_tbl_seller_products`.`seller_id`) WHERE (`thecarg_db`.`cg_tbl_seller_products`.`product_id` = ? AND `thecarg_db`.`cg_tbl_seller_products`.`status` = ? AND (`j1`.`status` = ? AND (`j1`.`id` IS NOT NULL))) ORDER BY `thecarg_db`.`cg_tbl_seller_products`.`garage_selling_price` ASC
prisma:query SELECT `thecarg_db`.`cg_tbl_sellers`.`id`, `thecarg_db`.`cg_tbl_sellers`.`seller_id`, `thecarg_db`.`cg_tbl_sellers`.`first_name`, `thecarg_db`.`cg_tbl_sellers`.`last_name`, `thecarg_db`.`cg_tbl_sellers`.`trade_name`, `thecarg_db`.`cg_tbl_sellers`.`city`, `thecarg_db`.`cg_tbl_sellers`.`state`, `thecarg_db`.`cg_tbl_sellers`.`email`, `thecarg_db`.`cg_tbl_sellers`.`mobile`, `thecarg_db`.`cg_tbl_sellers`.`address`, `thecarg_db`.`cg_tbl_sellers`.`pincode`, `thecarg_db`.`cg_tbl_sellers`.`status`, `thecarg_db`.`cg_tbl_sellers`.`operating_hours`, `thecarg_db`.`cg_tbl_sellers`.`zone`, `thecarg_db`.`cg_tbl_sellers`.`latitude`, `thecarg_db`.`cg_tbl_sellers`.`longitude` FROM `thecarg_db`.`cg_tbl_sellers` WHERE `thecarg_db`.`cg_tbl_sellers`.`id` IN (?)
prisma:query SELECT `thecarg_db`.`cg_tbl_zones`.`id`, `thecarg_db`.`cg_tbl_zones`.`zone_name` FROM `thecarg_db`.`cg_tbl_zones` WHERE 1=1
[32m[nodemon] restarting due to changes...[39m
[32m[nodemon] starting `ts-node-esm src/server.js`[39m
[32m[nodemon] restarting due to changes...[39m
[32m[nodemon] starting `ts-node-esm src/server.js`[39m
prisma:info Starting a mysql pool with 9 connections.
[2026-06-24T12:05:45.666Z] [INFO]: Successfully connected to the MySQL Database via Prisma!
--------------------------------------------------

prisma:query SELECT `thecarg_db`.`cg_tbl_business_settings`.`id`, `thecarg_db`.`cg_tbl_business_settings`.`key`, `thecarg_db`.`cg_tbl_business_settings`.`value`, `thecarg_db`.`cg_tbl_business_settings`.`created_at`, `thecarg_db`.`cg_tbl_business_settings`.`updated_at` FROM `thecarg_db`.`cg_tbl_business_settings` WHERE `thecarg_db`.`cg_tbl_business_settings`.`key` = ? LIMIT ? OFFSET ?
prisma:query SELECT `thecarg_db`.`cg_tbl_business_settings`.`id`, `thecarg_db`.`cg_tbl_business_settings`.`key`, `thecarg_db`.`cg_tbl_business_settings`.`value`, `thecarg_db`.`cg_tbl_business_settings`.`created_at`, `thecarg_db`.`cg_tbl_business_settings`.`updated_at` FROM `thecarg_db`.`cg_tbl_business_settings` WHERE `thecarg_db`.`cg_tbl_business_settings`.`key` = ? LIMIT ? OFFSET ?
Firebase initialized successfully
[2026-06-24T12:05:45.683Z] [INFO]: Server is running in development mode on port 5000
--------------------------------------------------

[2026-06-24T12:05:45.685Z] [INFO]: Endpoint: http://localhost:5000
--------------------------------------------------

[32m[nodemon] restarting due to changes...[39m
[32m[nodemon] starting `ts-node-esm src/server.js`[39m
prisma:info Starting a mysql pool with 9 connections.
[2026-06-24T12:05:52.881Z] [INFO]: Successfully connected to the MySQL Database via Prisma!
--------------------------------------------------

prisma:query SELECT `thecarg_db`.`cg_tbl_business_settings`.`id`, `thecarg_db`.`cg_tbl_business_settings`.`key`, `thecarg_db`.`cg_tbl_business_settings`.`value`, `thecarg_db`.`cg_tbl_business_settings`.`created_at`, `thecarg_db`.`cg_tbl_business_settings`.`updated_at` FROM `thecarg_db`.`cg_tbl_business_settings` WHERE `thecarg_db`.`cg_tbl_business_settings`.`key` = ? LIMIT ? OFFSET ?
prisma:query SELECT `thecarg_db`.`cg_tbl_business_settings`.`id`, `thecarg_db`.`cg_tbl_business_settings`.`key`, `thecarg_db`.`cg_tbl_business_settings`.`value`, `thecarg_db`.`cg_tbl_business_settings`.`created_at`, `thecarg_db`.`cg_tbl_business_settings`.`updated_at` FROM `thecarg_db`.`cg_tbl_business_settings` WHERE `thecarg_db`.`cg_tbl_business_settings`.`key` = ? LIMIT ? OFFSET ?
Firebase initialized successfully
[2026-06-24T12:05:52.897Z] [INFO]: Server is running in development mode on port 5000
--------------------------------------------------

[2026-06-24T12:05:52.898Z] [INFO]: Endpoint: http://localhost:5000
--------------------------------------------------

[32m[nodemon] restarting due to changes...[39m
[32m[nodemon] starting `ts-node-esm src/server.js`[39m
prisma:info Starting a mysql pool with 9 connections.
[2026-06-24T12:05:56.868Z] [INFO]: Successfully connected to the MySQL Database via Prisma!
--------------------------------------------------

prisma:query SELECT `thecarg_db`.`cg_tbl_business_settings`.`id`, `thecarg_db`.`cg_tbl_business_settings`.`key`, `thecarg_db`.`cg_tbl_business_settings`.`value`, `thecarg_db`.`cg_tbl_business_settings`.`created_at`, `thecarg_db`.`cg_tbl_business_settings`.`updated_at` FROM `thecarg_db`.`cg_tbl_business_settings` WHERE `thecarg_db`.`cg_tbl_business_settings`.`key` = ? LIMIT ? OFFSET ?
prisma:query SELECT `thecarg_db`.`cg_tbl_business_settings`.`id`, `thecarg_db`.`cg_tbl_business_settings`.`key`, `thecarg_db`.`cg_tbl_business_settings`.`value`, `thecarg_db`.`cg_tbl_business_settings`.`created_at`, `thecarg_db`.`cg_tbl_business_settings`.`updated_at` FROM `thecarg_db`.`cg_tbl_business_settings` WHERE `thecarg_db`.`cg_tbl_business_settings`.`key` = ? LIMIT ? OFFSET ?
Firebase initialized successfully
[2026-06-24T12:05:56.887Z] [INFO]: Server is running in development mode on port 5000
--------------------------------------------------

[2026-06-24T12:05:56.889Z] [INFO]: Endpoint: http://localhost:5000
--------------------------------------------------

[32m[nodemon] restarting due to changes...[39m
[32m[nodemon] starting `ts-node-esm src/server.js`[39m
prisma:info Starting a mysql pool with 9 connections.
[2026-06-24T12:06:01.247Z] [INFO]: Successfully connected to the MySQL Database via Prisma!
--------------------------------------------------

prisma:query SELECT `thecarg_db`.`cg_tbl_business_settings`.`id`, `thecarg_db`.`cg_tbl_business_settings`.`key`, `thecarg_db`.`cg_tbl_business_settings`.`value`, `thecarg_db`.`cg_tbl_business_settings`.`created_at`, `thecarg_db`.`cg_tbl_business_settings`.`updated_at` FROM `thecarg_db`.`cg_tbl_business_settings` WHERE `thecarg_db`.`cg_tbl_business_settings`.`key` = ? LIMIT ? OFFSET ?
prisma:query SELECT `thecarg_db`.`cg_tbl_business_settings`.`id`, `thecarg_db`.`cg_tbl_business_settings`.`key`, `thecarg_db`.`cg_tbl_business_settings`.`value`, `thecarg_db`.`cg_tbl_business_settings`.`created_at`, `thecarg_db`.`cg_tbl_business_settings`.`updated_at` FROM `thecarg_db`.`cg_tbl_business_settings` WHERE `thecarg_db`.`cg_tbl_business_settings`.`key` = ? LIMIT ? OFFSET ?
Firebase initialized successfully
[2026-06-24T12:06:01.287Z] [INFO]: Server is running in development mode on port 5000
--------------------------------------------------

[2026-06-24T12:06:01.289Z] [INFO]: Endpoint: http://localhost:5000
--------------------------------------------------

[32m[nodemon] clean exit - waiting for changes before restart[39m
[32m[nodemon] restarting due to changes...[39m
[32m[nodemon] starting `ts-node-esm src/server.js`[39m
[32m[nodemon] restarting due to changes...[39m
[32m[nodemon] starting `ts-node-esm src/server.js`[39m
prisma:info Starting a mysql pool with 9 connections.
[2026-06-24T12:06:13.339Z] [INFO]: Successfully connected to the MySQL Database via Prisma!
--------------------------------------------------

prisma:query SELECT `thecarg_db`.`cg_tbl_business_settings`.`id`, `thecarg_db`.`cg_tbl_business_settings`.`key`, `thecarg_db`.`cg_tbl_business_settings`.`value`, `thecarg_db`.`cg_tbl_business_settings`.`created_at`, `thecarg_db`.`cg_tbl_business_settings`.`updated_at` FROM `thecarg_db`.`cg_tbl_business_settings` WHERE `thecarg_db`.`cg_tbl_business_settings`.`key` = ? LIMIT ? OFFSET ?
prisma:query SELECT `thecarg_db`.`cg_tbl_business_settings`.`id`, `thecarg_db`.`cg_tbl_business_settings`.`key`, `thecarg_db`.`cg_tbl_business_settings`.`value`, `thecarg_db`.`cg_tbl_business_settings`.`created_at`, `thecarg_db`.`cg_tbl_business_settings`.`updated_at` FROM `thecarg_db`.`cg_tbl_business_settings` WHERE `thecarg_db`.`cg_tbl_business_settings`.`key` = ? LIMIT ? OFFSET ?
Firebase initialized successfully
[2026-06-24T12:06:13.360Z] [INFO]: Server is running in development mode on port 5000
--------------------------------------------------

[2026-06-24T12:06:13.361Z] [INFO]: Endpoint: http://localhost:5000
--------------------------------------------------

[32m[nodemon] clean exit - waiting for changes before restart[39m
[32m[nodemon] restarting due to changes...[39m
[32m[nodemon] starting `ts-node-esm src/server.js`[39m
prisma:info Starting a mysql pool with 9 connections.
[2026-06-24T12:07:47.868Z] [INFO]: Successfully connected to the MySQL Database via Prisma!
--------------------------------------------------

prisma:query SELECT `thecarg_db`.`cg_tbl_business_settings`.`id`, `thecarg_db`.`cg_tbl_business_settings`.`key`, `thecarg_db`.`cg_tbl_business_settings`.`value`, `thecarg_db`.`cg_tbl_business_settings`.`created_at`, `thecarg_db`.`cg_tbl_business_settings`.`updated_at` FROM `thecarg_db`.`cg_tbl_business_settings` WHERE `thecarg_db`.`cg_tbl_business_settings`.`key` = ? LIMIT ? OFFSET ?
prisma:query SELECT `thecarg_db`.`cg_tbl_business_settings`.`id`, `thecarg_db`.`cg_tbl_business_settings`.`key`, `thecarg_db`.`cg_tbl_business_settings`.`value`, `thecarg_db`.`cg_tbl_business_settings`.`created_at`, `thecarg_db`.`cg_tbl_business_settings`.`updated_at` FROM `thecarg_db`.`cg_tbl_business_settings` WHERE `thecarg_db`.`cg_tbl_business_settings`.`key` = ? LIMIT ? OFFSET ?
Firebase initialized successfully
[2026-06-24T12:07:47.895Z] [INFO]: Server is running in development mode on port 5000
--------------------------------------------------

[2026-06-24T12:07:47.897Z] [INFO]: Endpoint: http://localhost:5000
--------------------------------------------------

prisma:query SELECT `thecarg_db`.`cg_tbl_zones`.`id` FROM `thecarg_db`.`cg_tbl_zones` WHERE (`thecarg_db`.`cg_tbl_zones`.`id` IN (?) AND `thecarg_db`.`cg_tbl_zones`.`status` = ?)
prisma:query SELECT `thecarg_db`.`cg_tbl_products`.`id`, `thecarg_db`.`cg_tbl_products`.`techdoc_article_id`, `thecarg_db`.`cg_tbl_products`.`techdoc_brand_id`, `thecarg_db`.`cg_tbl_products`.`article_number`, `thecarg_db`.`cg_tbl_products`.`brand_name`, `thecarg_db`.`cg_tbl_products`.`status`, `thecarg_db`.`cg_tbl_products`.`created_at`, `thecarg_db`.`cg_tbl_products`.`updated_at`, `thecarg_db`.`cg_tbl_products`.`assembly_group_node_id`, `thecarg_db`.`cg_tbl_products`.`generic_article_id` FROM `thecarg_db`.`cg_tbl_products` WHERE (`thecarg_db`.`cg_tbl_products`.`id` = ? AND `thecarg_db`.`cg_tbl_products`.`status` = ?) LIMIT ? OFFSET ?
prisma:query SELECT `thecarg_db`.`cg_tbl_business_settings`.`id`, `thecarg_db`.`cg_tbl_business_settings`.`key`, `thecarg_db`.`cg_tbl_business_settings`.`value`, `thecarg_db`.`cg_tbl_business_settings`.`created_at`, `thecarg_db`.`cg_tbl_business_settings`.`updated_at` FROM `thecarg_db`.`cg_tbl_business_settings` WHERE `thecarg_db`.`cg_tbl_business_settings`.`key` = ? LIMIT ? OFFSET ?
prisma:query SELECT `thecarg_db`.`cg_tbl_business_settings`.`id`, `thecarg_db`.`cg_tbl_business_settings`.`key`, `thecarg_db`.`cg_tbl_business_settings`.`value`, `thecarg_db`.`cg_tbl_business_settings`.`created_at`, `thecarg_db`.`cg_tbl_business_settings`.`updated_at` FROM `thecarg_db`.`cg_tbl_business_settings` WHERE `thecarg_db`.`cg_tbl_business_settings`.`key` = ? LIMIT ? OFFSET ?
prisma:query SELECT `thecarg_db`.`cg_tbl_business_settings`.`id`, `thecarg_db`.`cg_tbl_business_settings`.`key`, `thecarg_db`.`cg_tbl_business_settings`.`value`, `thecarg_db`.`cg_tbl_business_settings`.`created_at`, `thecarg_db`.`cg_tbl_business_settings`.`updated_at` FROM `thecarg_db`.`cg_tbl_business_settings` WHERE `thecarg_db`.`cg_tbl_business_settings`.`key` = ? LIMIT ? OFFSET ?
prisma:query SELECT `thecarg_db`.`cg_tbl_business_settings`.`id`, `thecarg_db`.`cg_tbl_business_settings`.`key`, `thecarg_db`.`cg_tbl_business_settings`.`value`, `thecarg_db`.`cg_tbl_business_settings`.`created_at`, `thecarg_db`.`cg_tbl_business_settings`.`updated_at` FROM `thecarg_db`.`cg_tbl_business_settings` WHERE `thecarg_db`.`cg_tbl_business_settings`.`key` = ? LIMIT ? OFFSET ?
[2026-06-24T12:08:01.346Z] [INFO]: TecDoc → getArticles | provider: 25791 | country: IN | url: https://webservice.tecalliance.services/pegasus-3-0/services/TecdocToCatDLB.jsonEndpoint
--------------------------------------------------

[2026-06-24T12:08:01.895Z] [INFO]: TecDoc → getArticles | provider: 25791 | country: IN | url: https://webservice.tecalliance.services/pegasus-3-0/services/TecdocToCatDLB.jsonEndpoint
--------------------------------------------------

[2026-06-24T12:08:02.070Z] [INFO]: TecDoc → getArticleLinkedAllLinkingTarget4 | provider: 25791 | country: IN | url: https://webservice.tecalliance.services/pegasus-3-0/services/TecdocToCatDLB.jsonEndpoint
--------------------------------------------------

[2026-06-24T12:08:02.243Z] [INFO]: TecDoc → getArticleLinkedAllLinkingTargetsByIds3 | provider: 25791 | country: IN | url: https://webservice.tecalliance.services/pegasus-3-0/services/TecdocToCatDLB.jsonEndpoint
--------------------------------------------------

prisma:query SELECT `thecarg_db`.`cg_tbl_seller_products`.`id`, `thecarg_db`.`cg_tbl_seller_products`.`customer_selling_price`, `thecarg_db`.`cg_tbl_seller_products`.`garage_selling_price`, `thecarg_db`.`cg_tbl_seller_products`.`mrp`, `thecarg_db`.`cg_tbl_seller_products`.`customer_discount_type`, `thecarg_db`.`cg_tbl_seller_products`.`customer_discount`, `thecarg_db`.`cg_tbl_seller_products`.`garage_discount_type`, `thecarg_db`.`cg_tbl_seller_products`.`garage_discount`, `thecarg_db`.`cg_tbl_seller_products`.`is_in_stock`, `thecarg_db`.`cg_tbl_seller_products`.`is_returnable`, `thecarg_db`.`cg_tbl_seller_products`.`return_days`, `thecarg_db`.`cg_tbl_seller_products`.`warranty_enabled`, `thecarg_db`.`cg_tbl_seller_products`.`warranty_duration`, `thecarg_db`.`cg_tbl_seller_products`.`warranty_duration_type`, `thecarg_db`.`cg_tbl_seller_products`.`warranty_document`, `thecarg_db`.`cg_tbl_seller_products`.`tax`, `thecarg_db`.`cg_tbl_seller_products`.`seller_id` FROM `thecarg_db`.`cg_tbl_seller_products` LEFT JOIN `thecarg_db`.`cg_tbl_sellers` AS `j1` ON (`j1`.`id`) = (`thecarg_db`.`cg_tbl_seller_products`.`seller_id`) WHERE (`thecarg_db`.`cg_tbl_seller_products`.`product_id` = ? AND `thecarg_db`.`cg_tbl_seller_products`.`status` = ? AND (`j1`.`status` = ? AND (`j1`.`id` IS NOT NULL))) ORDER BY `thecarg_db`.`cg_tbl_seller_products`.`garage_selling_price` ASC
prisma:query SELECT `thecarg_db`.`cg_tbl_sellers`.`id`, `thecarg_db`.`cg_tbl_sellers`.`seller_id`, `thecarg_db`.`cg_tbl_sellers`.`first_name`, `thecarg_db`.`cg_tbl_sellers`.`last_name`, `thecarg_db`.`cg_tbl_sellers`.`trade_name`, `thecarg_db`.`cg_tbl_sellers`.`city`, `thecarg_db`.`cg_tbl_sellers`.`state`, `thecarg_db`.`cg_tbl_sellers`.`email`, `thecarg_db`.`cg_tbl_sellers`.`mobile`, `thecarg_db`.`cg_tbl_sellers`.`address`, `thecarg_db`.`cg_tbl_sellers`.`pincode`, `thecarg_db`.`cg_tbl_sellers`.`status`, `thecarg_db`.`cg_tbl_sellers`.`operating_hours`, `thecarg_db`.`cg_tbl_sellers`.`zone`, `thecarg_db`.`cg_tbl_sellers`.`latitude`, `thecarg_db`.`cg_tbl_sellers`.`longitude` FROM `thecarg_db`.`cg_tbl_sellers` WHERE `thecarg_db`.`cg_tbl_sellers`.`id` IN (?)
prisma:query SELECT `thecarg_db`.`cg_tbl_zones`.`id`, `thecarg_db`.`cg_tbl_zones`.`zone_name` FROM `thecarg_db`.`cg_tbl_zones` WHERE 1=1
prisma:query SELECT 1
prisma:query SELECT `thecarg_db`.`cg_tbl_zones`.`id` FROM `thecarg_db`.`cg_tbl_zones` WHERE (`thecarg_db`.`cg_tbl_zones`.`id` IN (?,?) AND `thecarg_db`.`cg_tbl_zones`.`status` = ?)
prisma:query SELECT `thecarg_db`.`cg_tbl_user_roles`.`id`, `thecarg_db`.`cg_tbl_user_roles`.`role_name`, `thecarg_db`.`cg_tbl_user_roles`.`role_slug`, `thecarg_db`.`cg_tbl_user_roles`.`status`, `thecarg_db`.`cg_tbl_user_roles`.`created_at`, `thecarg_db`.`cg_tbl_user_roles`.`updated_at` FROM `thecarg_db`.`cg_tbl_user_roles` WHERE `thecarg_db`.`cg_tbl_user_roles`.`role_slug` = ? LIMIT ? OFFSET ?
prisma:query SELECT `thecarg_db`.`cg_tbl_products`.`id`, `thecarg_db`.`cg_tbl_products`.`techdoc_article_id`, `thecarg_db`.`cg_tbl_products`.`techdoc_brand_id`, `thecarg_db`.`cg_tbl_products`.`article_number`, `thecarg_db`.`cg_tbl_products`.`brand_name`, `thecarg_db`.`cg_tbl_products`.`status`, `thecarg_db`.`cg_tbl_products`.`created_at`, `thecarg_db`.`cg_tbl_products`.`updated_at`, `thecarg_db`.`cg_tbl_products`.`assembly_group_node_id`, `thecarg_db`.`cg_tbl_products`.`generic_article_id` FROM `thecarg_db`.`cg_tbl_products` WHERE (`thecarg_db`.`cg_tbl_products`.`id` = ? AND `thecarg_db`.`cg_tbl_products`.`status` = ?) LIMIT ? OFFSET ?
prisma:query SELECT `thecarg_db`.`cg_tbl_seller_products`.`id`, `thecarg_db`.`cg_tbl_seller_products`.`seller_id`, `thecarg_db`.`cg_tbl_seller_products`.`product_id`, `thecarg_db`.`cg_tbl_seller_products`.`category_id`, `thecarg_db`.`cg_tbl_seller_products`.`subcategory_id`, `thecarg_db`.`cg_tbl_seller_products`.`mrp`, `thecarg_db`.`cg_tbl_seller_products`.`customer_selling_price`, `thecarg_db`.`cg_tbl_seller_products`.`garage_selling_price`, `thecarg_db`.`cg_tbl_seller_products`.`customer_discount_type`, `thecarg_db`.`cg_tbl_seller_products`.`customer_discount`, `thecarg_db`.`cg_tbl_seller_products`.`is_returnable`, `thecarg_db`.`cg_tbl_seller_products`.`return_days`, `thecarg_db`.`cg_tbl_seller_products`.`tax`, `thecarg_db`.`cg_tbl_seller_products`.`garage_discount_type`, `thecarg_db`.`cg_tbl_seller_products`.`garage_discount`, `thecarg_db`.`cg_tbl_seller_products`.`warranty_enabled`, `thecarg_db`.`cg_tbl_seller_products`.`warranty_duration`, `thecarg_db`.`cg_tbl_seller_products`.`warranty_duration_type`, `thecarg_db`.`cg_tbl_seller_products`.`warranty_document`, `thecarg_db`.`cg_tbl_seller_products`.`status`, `thecarg_db`.`cg_tbl_seller_products`.`created_at`, `thecarg_db`.`cg_tbl_seller_products`.`updated_at`, `thecarg_db`.`cg_tbl_seller_products`.`is_in_stock` FROM `thecarg_db`.`cg_tbl_seller_products` LEFT JOIN `thecarg_db`.`cg_tbl_sellers` AS `j1` ON (`j1`.`id`) = (`thecarg_db`.`cg_tbl_seller_products`.`seller_id`) WHERE (`thecarg_db`.`cg_tbl_seller_products`.`product_id` = ? AND `thecarg_db`.`cg_tbl_seller_products`.`seller_id` = ? AND `thecarg_db`.`cg_tbl_seller_products`.`status` = ? AND `thecarg_db`.`cg_tbl_seller_products`.`is_in_stock` = ? AND (`j1`.`status` = ? AND (`j1`.`id` IS NOT NULL))) LIMIT ? OFFSET ?
prisma:query SELECT `thecarg_db`.`cg_tbl_sellers`.`id`, `thecarg_db`.`cg_tbl_sellers`.`seller_id`, `thecarg_db`.`cg_tbl_sellers`.`first_name`, `thecarg_db`.`cg_tbl_sellers`.`last_name`, `thecarg_db`.`cg_tbl_sellers`.`mobile`, `thecarg_db`.`cg_tbl_sellers`.`email`, `thecarg_db`.`cg_tbl_sellers`.`trade_name`, `thecarg_db`.`cg_tbl_sellers`.`entity_type`, `thecarg_db`.`cg_tbl_sellers`.`aadhaar_number`, `thecarg_db`.`cg_tbl_sellers`.`pan_number`, `thecarg_db`.`cg_tbl_sellers`.`gstin_number`, `thecarg_db`.`cg_tbl_sellers`.`cin_number`, `thecarg_db`.`cg_tbl_sellers`.`operating_hours`, `thecarg_db`.`cg_tbl_sellers`.`specific_commission`, `thecarg_db`.`cg_tbl_sellers`.`customer_order_commission`, `thecarg_db`.`cg_tbl_sellers`.`garage_order_commission`, `thecarg_db`.`cg_tbl_sellers`.`requested_customer_order_commission`, `thecarg_db`.`cg_tbl_sellers`.`requested_garage_order_commission`, `thecarg_db`.`cg_tbl_sellers`.`bank_name`, `thecarg_db`.`cg_tbl_sellers`.`bank_account_number`, `thecarg_db`.`cg_tbl_sellers`.`bank_ifsc_code`, `thecarg_db`.`cg_tbl_sellers`.`address`, `thecarg_db`.`cg_tbl_sellers`.`latitude`, `thecarg_db`.`cg_tbl_sellers`.`longitude`, `thecarg_db`.`cg_tbl_sellers`.`state`, `thecarg_db`.`cg_tbl_sellers`.`city`, `thecarg_db`.`cg_tbl_sellers`.`zone`, `thecarg_db`.`cg_tbl_sellers`.`pincode`, `thecarg_db`.`cg_tbl_sellers`.`pan_card_file`, `thecarg_db`.`cg_tbl_sellers`.`gst_file`, `thecarg_db`.`cg_tbl_sellers`.`cin_file`, `thecarg_db`.`cg_tbl_sellers`.`cancelled_cheque_file`, `thecarg_db`.`cg_tbl_sellers`.`aadhaar_pan_signatory_file`, `thecarg_db`.`cg_tbl_sellers`.`other_documents_file`, `thecarg_db`.`cg_tbl_sellers`.`status`, `thecarg_db`.`cg_tbl_sellers`.`is_verified`, `thecarg_db`.`cg_tbl_sellers`.`fcm_token`, `thecarg_db`.`cg_tbl_sellers`.`subscription_id`, `thecarg_db`.`cg_tbl_sellers`.`subscription_start_date`, `thecarg_db`.`cg_tbl_sellers`.`subscription_end_date`, `thecarg_db`.`cg_tbl_sellers`.`created_at`, `thecarg_db`.`cg_tbl_sellers`.`updated_at` FROM `thecarg_db`.`cg_tbl_sellers` WHERE `thecarg_db`.`cg_tbl_sellers`.`id` IN (?)
prisma:query SELECT `thecarg_db`.`cg_tbl_cart`.`id`, `thecarg_db`.`cg_tbl_cart`.`user_id`, `thecarg_db`.`cg_tbl_cart`.`user_role_id`, `thecarg_db`.`cg_tbl_cart`.`seller_id`, `thecarg_db`.`cg_tbl_cart`.`product_id`, `thecarg_db`.`cg_tbl_cart`.`quantity`, `thecarg_db`.`cg_tbl_cart`.`price`, `thecarg_db`.`cg_tbl_cart`.`created_at`, `thecarg_db`.`cg_tbl_cart`.`updated_at` FROM `thecarg_db`.`cg_tbl_cart` WHERE (`thecarg_db`.`cg_tbl_cart`.`user_id` = ? AND `thecarg_db`.`cg_tbl_cart`.`user_role_id` = ? AND `thecarg_db`.`cg_tbl_cart`.`product_id` = ? AND `thecarg_db`.`cg_tbl_cart`.`seller_id` = ?) LIMIT ? OFFSET ?
prisma:query BEGIN
prisma:query INSERT INTO `thecarg_db`.`cg_tbl_cart` (`id`,`user_id`,`user_role_id`,`seller_id`,`product_id`,`quantity`,`price`,`created_at`,`updated_at`) VALUES (?,?,?,?,?,?,?,?,?)
prisma:query SELECT `thecarg_db`.`cg_tbl_cart`.`id`, `thecarg_db`.`cg_tbl_cart`.`user_id`, `thecarg_db`.`cg_tbl_cart`.`user_role_id`, `thecarg_db`.`cg_tbl_cart`.`seller_id`, `thecarg_db`.`cg_tbl_cart`.`product_id`, `thecarg_db`.`cg_tbl_cart`.`quantity`, `thecarg_db`.`cg_tbl_cart`.`price`, `thecarg_db`.`cg_tbl_cart`.`created_at`, `thecarg_db`.`cg_tbl_cart`.`updated_at` FROM `thecarg_db`.`cg_tbl_cart` WHERE `thecarg_db`.`cg_tbl_cart`.`id` = ? LIMIT ? OFFSET ?
prisma:query COMMIT
prisma:query SELECT `thecarg_db`.`cg_tbl_seller_products`.`id`, `thecarg_db`.`cg_tbl_seller_products`.`seller_id`, `thecarg_db`.`cg_tbl_seller_products`.`product_id`, `thecarg_db`.`cg_tbl_seller_products`.`category_id`, `thecarg_db`.`cg_tbl_seller_products`.`subcategory_id`, `thecarg_db`.`cg_tbl_seller_products`.`mrp`, `thecarg_db`.`cg_tbl_seller_products`.`customer_selling_price`, `thecarg_db`.`cg_tbl_seller_products`.`garage_selling_price`, `thecarg_db`.`cg_tbl_seller_products`.`customer_discount_type`, `thecarg_db`.`cg_tbl_seller_products`.`customer_discount`, `thecarg_db`.`cg_tbl_seller_products`.`is_returnable`, `thecarg_db`.`cg_tbl_seller_products`.`return_days`, `thecarg_db`.`cg_tbl_seller_products`.`tax`, `thecarg_db`.`cg_tbl_seller_products`.`garage_discount_type`, `thecarg_db`.`cg_tbl_seller_products`.`garage_discount`, `thecarg_db`.`cg_tbl_seller_products`.`warranty_enabled`, `thecarg_db`.`cg_tbl_seller_products`.`warranty_duration`, `thecarg_db`.`cg_tbl_seller_products`.`warranty_duration_type`, `thecarg_db`.`cg_tbl_seller_products`.`warranty_document`, `thecarg_db`.`cg_tbl_seller_products`.`status`, `thecarg_db`.`cg_tbl_seller_products`.`created_at`, `thecarg_db`.`cg_tbl_seller_products`.`updated_at`, `thecarg_db`.`cg_tbl_seller_products`.`is_in_stock` FROM `thecarg_db`.`cg_tbl_seller_products` WHERE (`thecarg_db`.`cg_tbl_seller_products`.`product_id` = ? AND `thecarg_db`.`cg_tbl_seller_products`.`seller_id` = ? AND `thecarg_db`.`cg_tbl_seller_products`.`status` = ?) LIMIT ? OFFSET ?
prisma:query SELECT `thecarg_db`.`cg_tbl_zones`.`id` FROM `thecarg_db`.`cg_tbl_zones` WHERE (`thecarg_db`.`cg_tbl_zones`.`id` IN (?,?) AND `thecarg_db`.`cg_tbl_zones`.`status` = ?)
prisma:query SELECT `thecarg_db`.`cg_tbl_products`.`id`, `thecarg_db`.`cg_tbl_products`.`techdoc_article_id`, `thecarg_db`.`cg_tbl_products`.`techdoc_brand_id`, `thecarg_db`.`cg_tbl_products`.`article_number`, `thecarg_db`.`cg_tbl_products`.`brand_name`, `thecarg_db`.`cg_tbl_products`.`status`, `thecarg_db`.`cg_tbl_products`.`created_at`, `thecarg_db`.`cg_tbl_products`.`updated_at`, `thecarg_db`.`cg_tbl_products`.`assembly_group_node_id`, `thecarg_db`.`cg_tbl_products`.`generic_article_id` FROM `thecarg_db`.`cg_tbl_products` WHERE (`thecarg_db`.`cg_tbl_products`.`id` = ? AND `thecarg_db`.`cg_tbl_products`.`status` = ?) LIMIT ? OFFSET ?
prisma:query SELECT `thecarg_db`.`cg_tbl_seller_products`.`id`, `thecarg_db`.`cg_tbl_seller_products`.`seller_id`, `thecarg_db`.`cg_tbl_seller_products`.`product_id`, `thecarg_db`.`cg_tbl_seller_products`.`category_id`, `thecarg_db`.`cg_tbl_seller_products`.`subcategory_id`, `thecarg_db`.`cg_tbl_seller_products`.`mrp`, `thecarg_db`.`cg_tbl_seller_products`.`customer_selling_price`, `thecarg_db`.`cg_tbl_seller_products`.`garage_selling_price`, `thecarg_db`.`cg_tbl_seller_products`.`customer_discount_type`, `thecarg_db`.`cg_tbl_seller_products`.`customer_discount`, `thecarg_db`.`cg_tbl_seller_products`.`is_returnable`, `thecarg_db`.`cg_tbl_seller_products`.`return_days`, `thecarg_db`.`cg_tbl_seller_products`.`tax`, `thecarg_db`.`cg_tbl_seller_products`.`garage_discount_type`, `thecarg_db`.`cg_tbl_seller_products`.`garage_discount`, `thecarg_db`.`cg_tbl_seller_products`.`warranty_enabled`, `thecarg_db`.`cg_tbl_seller_products`.`warranty_duration`, `thecarg_db`.`cg_tbl_seller_products`.`warranty_duration_type`, `thecarg_db`.`cg_tbl_seller_products`.`warranty_document`, `thecarg_db`.`cg_tbl_seller_products`.`status`, `thecarg_db`.`cg_tbl_seller_products`.`created_at`, `thecarg_db`.`cg_tbl_seller_products`.`updated_at`, `thecarg_db`.`cg_tbl_seller_products`.`is_in_stock` FROM `thecarg_db`.`cg_tbl_seller_products` LEFT JOIN `thecarg_db`.`cg_tbl_sellers` AS `j1` ON (`j1`.`id`) = (`thecarg_db`.`cg_tbl_seller_products`.`seller_id`) WHERE (`thecarg_db`.`cg_tbl_seller_products`.`product_id` = ? AND `thecarg_db`.`cg_tbl_seller_products`.`seller_id` = ? AND `thecarg_db`.`cg_tbl_seller_products`.`status` = ? AND `thecarg_db`.`cg_tbl_seller_products`.`is_in_stock` = ? AND (`j1`.`status` = ? AND (`j1`.`id` IS NOT NULL))) LIMIT ? OFFSET ?
prisma:query SELECT `thecarg_db`.`cg_tbl_sellers`.`id`, `thecarg_db`.`cg_tbl_sellers`.`seller_id`, `thecarg_db`.`cg_tbl_sellers`.`first_name`, `thecarg_db`.`cg_tbl_sellers`.`last_name`, `thecarg_db`.`cg_tbl_sellers`.`mobile`, `thecarg_db`.`cg_tbl_sellers`.`email`, `thecarg_db`.`cg_tbl_sellers`.`trade_name`, `thecarg_db`.`cg_tbl_sellers`.`entity_type`, `thecarg_db`.`cg_tbl_sellers`.`aadhaar_number`, `thecarg_db`.`cg_tbl_sellers`.`pan_number`, `thecarg_db`.`cg_tbl_sellers`.`gstin_number`, `thecarg_db`.`cg_tbl_sellers`.`cin_number`, `thecarg_db`.`cg_tbl_sellers`.`operating_hours`, `thecarg_db`.`cg_tbl_sellers`.`specific_commission`, `thecarg_db`.`cg_tbl_sellers`.`customer_order_commission`, `thecarg_db`.`cg_tbl_sellers`.`garage_order_commission`, `thecarg_db`.`cg_tbl_sellers`.`requested_customer_order_commission`, `thecarg_db`.`cg_tbl_sellers`.`requested_garage_order_commission`, `thecarg_db`.`cg_tbl_sellers`.`bank_name`, `thecarg_db`.`cg_tbl_sellers`.`bank_account_number`, `thecarg_db`.`cg_tbl_sellers`.`bank_ifsc_code`, `thecarg_db`.`cg_tbl_sellers`.`address`, `thecarg_db`.`cg_tbl_sellers`.`latitude`, `thecarg_db`.`cg_tbl_sellers`.`longitude`, `thecarg_db`.`cg_tbl_sellers`.`state`, `thecarg_db`.`cg_tbl_sellers`.`city`, `thecarg_db`.`cg_tbl_sellers`.`zone`, `thecarg_db`.`cg_tbl_sellers`.`pincode`, `thecarg_db`.`cg_tbl_sellers`.`pan_card_file`, `thecarg_db`.`cg_tbl_sellers`.`gst_file`, `thecarg_db`.`cg_tbl_sellers`.`cin_file`, `thecarg_db`.`cg_tbl_sellers`.`cancelled_cheque_file`, `thecarg_db`.`cg_tbl_sellers`.`aadhaar_pan_signatory_file`, `thecarg_db`.`cg_tbl_sellers`.`other_documents_file`, `thecarg_db`.`cg_tbl_sellers`.`status`, `thecarg_db`.`cg_tbl_sellers`.`is_verified`, `thecarg_db`.`cg_tbl_sellers`.`fcm_token`, `thecarg_db`.`cg_tbl_sellers`.`subscription_id`, `thecarg_db`.`cg_tbl_sellers`.`subscription_start_date`, `thecarg_db`.`cg_tbl_sellers`.`subscription_end_date`, `thecarg_db`.`cg_tbl_sellers`.`created_at`, `thecarg_db`.`cg_tbl_sellers`.`updated_at` FROM `thecarg_db`.`cg_tbl_sellers` WHERE `thecarg_db`.`cg_tbl_sellers`.`id` IN (?)
prisma:query SELECT `thecarg_db`.`cg_tbl_cart`.`id`, `thecarg_db`.`cg_tbl_cart`.`user_id`, `thecarg_db`.`cg_tbl_cart`.`user_role_id`, `thecarg_db`.`cg_tbl_cart`.`seller_id`, `thecarg_db`.`cg_tbl_cart`.`product_id`, `thecarg_db`.`cg_tbl_cart`.`quantity`, `thecarg_db`.`cg_tbl_cart`.`price`, `thecarg_db`.`cg_tbl_cart`.`created_at`, `thecarg_db`.`cg_tbl_cart`.`updated_at` FROM `thecarg_db`.`cg_tbl_cart` WHERE (`thecarg_db`.`cg_tbl_cart`.`user_id` = ? AND `thecarg_db`.`cg_tbl_cart`.`user_role_id` = ? AND `thecarg_db`.`cg_tbl_cart`.`product_id` = ? AND `thecarg_db`.`cg_tbl_cart`.`seller_id` = ?) LIMIT ? OFFSET ?
prisma:query SELECT 1
prisma:query SELECT `thecarg_db`.`cg_tbl_zones`.`id` FROM `thecarg_db`.`cg_tbl_zones` WHERE (`thecarg_db`.`cg_tbl_zones`.`id` IN (?,?) AND `thecarg_db`.`cg_tbl_zones`.`status` = ?)
prisma:query SELECT 1
prisma:query SELECT `thecarg_db`.`cg_tbl_gig_reasons`.`id`, `thecarg_db`.`cg_tbl_gig_reasons`.`reason`, `thecarg_db`.`cg_tbl_gig_reasons`.`status`, `thecarg_db`.`cg_tbl_gig_reasons`.`created_at`, `thecarg_db`.`cg_tbl_gig_reasons`.`updated_at` FROM `thecarg_db`.`cg_tbl_gig_reasons` WHERE (`thecarg_db`.`cg_tbl_gig_reasons`.`id` = ? AND `thecarg_db`.`cg_tbl_gig_reasons`.`status` = ?) LIMIT ? OFFSET ?
prisma:query SELECT `thecarg_db`.`cg_tbl_user_addresses`.`id`, `thecarg_db`.`cg_tbl_user_addresses`.`user_id`, `thecarg_db`.`cg_tbl_user_addresses`.`role_id`, `thecarg_db`.`cg_tbl_user_addresses`.`address_title`, `thecarg_db`.`cg_tbl_user_addresses`.`contact_name`, `thecarg_db`.`cg_tbl_user_addresses`.`phone_number`, `thecarg_db`.`cg_tbl_user_addresses`.`flat_house_no`, `thecarg_db`.`cg_tbl_user_addresses`.`area_locality`, `thecarg_db`.`cg_tbl_user_addresses`.`landmark`, `thecarg_db`.`cg_tbl_user_addresses`.`pincode`, `thecarg_db`.`cg_tbl_user_addresses`.`city`, `thecarg_db`.`cg_tbl_user_addresses`.`state`, `thecarg_db`.`cg_tbl_user_addresses`.`latitude`, `thecarg_db`.`cg_tbl_user_addresses`.`longitude`, `thecarg_db`.`cg_tbl_user_addresses`.`full_address`, `thecarg_db`.`cg_tbl_user_addresses`.`is_default`, `thecarg_db`.`cg_tbl_user_addresses`.`status`, `thecarg_db`.`cg_tbl_user_addresses`.`created_at`, `thecarg_db`.`cg_tbl_user_addresses`.`updated_at` FROM `thecarg_db`.`cg_tbl_user_addresses` WHERE (`thecarg_db`.`cg_tbl_user_addresses`.`id` = ? AND `thecarg_db`.`cg_tbl_user_addresses`.`user_id` = ?) LIMIT ? OFFSET ?
prisma:query SELECT `thecarg_db`.`cg_tbl_vehicles_master`.`id`, `thecarg_db`.`cg_tbl_vehicles_master`.`user_id`, `thecarg_db`.`cg_tbl_vehicles_master`.`user_role_id`, `thecarg_db`.`cg_tbl_vehicles_master`.`vehicle_no`, `thecarg_db`.`cg_tbl_vehicles_master`.`make`, `thecarg_db`.`cg_tbl_vehicles_master`.`model`, `thecarg_db`.`cg_tbl_vehicles_master`.`year`, `thecarg_db`.`cg_tbl_vehicles_master`.`chassis_no`, `thecarg_db`.`cg_tbl_vehicles_master`.`odometer_reading_km`, `thecarg_db`.`cg_tbl_vehicles_master`.`vehicle_class_id`, `thecarg_db`.`cg_tbl_vehicles_master`.`vehicle_fuel_type_id`, `thecarg_db`.`cg_tbl_vehicles_master`.`vehicle_image`, `thecarg_db`.`cg_tbl_vehicles_master`.`vehicle_rc_img`, `thecarg_db`.`cg_tbl_vehicles_master`.`status`, `thecarg_db`.`cg_tbl_vehicles_master`.`deleted_status`, `thecarg_db`.`cg_tbl_vehicles_master`.`created_at`, `thecarg_db`.`cg_tbl_vehicles_master`.`updated_at` FROM `thecarg_db`.`cg_tbl_vehicles_master` WHERE (`thecarg_db`.`cg_tbl_vehicles_master`.`id` = ? AND `thecarg_db`.`cg_tbl_vehicles_master`.`user_id` = ?) LIMIT ? OFFSET ?
prisma:query SELECT `thecarg_db`.`cg_tbl_vehicle_classes`.`id`, `thecarg_db`.`cg_tbl_vehicle_classes`.`name`, `thecarg_db`.`cg_tbl_vehicle_classes`.`slug`, `thecarg_db`.`cg_tbl_vehicle_classes`.`status`, `thecarg_db`.`cg_tbl_vehicle_classes`.`created_at`, `thecarg_db`.`cg_tbl_vehicle_classes`.`updated_at` FROM `thecarg_db`.`cg_tbl_vehicle_classes` WHERE `thecarg_db`.`cg_tbl_vehicle_classes`.`id` IN (?)
prisma:query SELECT `thecarg_db`.`cg_tbl_vehicle_fuel_types`.`id`, `thecarg_db`.`cg_tbl_vehicle_fuel_types`.`name`, `thecarg_db`.`cg_tbl_vehicle_fuel_types`.`slug`, `thecarg_db`.`cg_tbl_vehicle_fuel_types`.`status`, `thecarg_db`.`cg_tbl_vehicle_fuel_types`.`created_at`, `thecarg_db`.`cg_tbl_vehicle_fuel_types`.`updated_at` FROM `thecarg_db`.`cg_tbl_vehicle_fuel_types` WHERE `thecarg_db`.`cg_tbl_vehicle_fuel_types`.`id` IN (?)
prisma:query SELECT `thecarg_db`.`cg_tbl_user_roles`.`id`, `thecarg_db`.`cg_tbl_user_roles`.`role_name`, `thecarg_db`.`cg_tbl_user_roles`.`role_slug`, `thecarg_db`.`cg_tbl_user_roles`.`status`, `thecarg_db`.`cg_tbl_user_roles`.`created_at`, `thecarg_db`.`cg_tbl_user_roles`.`updated_at` FROM `thecarg_db`.`cg_tbl_user_roles` WHERE `thecarg_db`.`cg_tbl_user_roles`.`role_slug` = ? LIMIT ? OFFSET ?
prisma:query SELECT `thecarg_db`.`cg_tbl_business_settings`.`id`, `thecarg_db`.`cg_tbl_business_settings`.`key`, `thecarg_db`.`cg_tbl_business_settings`.`value`, `thecarg_db`.`cg_tbl_business_settings`.`created_at`, `thecarg_db`.`cg_tbl_business_settings`.`updated_at` FROM `thecarg_db`.`cg_tbl_business_settings` WHERE (`thecarg_db`.`cg_tbl_business_settings`.`key` = ? AND 1=1) LIMIT ? OFFSET ?
prisma:query SELECT `thecarg_db`.`cg_tbl_freelancers`.`id`, `thecarg_db`.`cg_tbl_freelancers`.`latitude`, `thecarg_db`.`cg_tbl_freelancers`.`longitude`, `thecarg_db`.`cg_tbl_freelancers`.`skills`, `thecarg_db`.`cg_tbl_freelancers`.`vehicle_fuel_types`, `thecarg_db`.`cg_tbl_freelancers`.`vehicle_classes` FROM `thecarg_db`.`cg_tbl_freelancers` WHERE (`thecarg_db`.`cg_tbl_freelancers`.`status` = ? AND `thecarg_db`.`cg_tbl_freelancers`.`is_verified` = ? AND `thecarg_db`.`cg_tbl_freelancers`.`latitude` IS NOT NULL AND `thecarg_db`.`cg_tbl_freelancers`.`longitude` IS NOT NULL)
prisma:query SELECT `thecarg_db`.`cg_tbl_category_sub_category_setup`.`id`, `thecarg_db`.`cg_tbl_category_sub_category_setup`.`category_id`, `thecarg_db`.`cg_tbl_category_sub_category_setup`.`sub_category_id`, `thecarg_db`.`cg_tbl_category_sub_category_setup`.`role_id`, `thecarg_db`.`cg_tbl_category_sub_category_setup`.`est_amount_enabled`, `thecarg_db`.`cg_tbl_category_sub_category_setup`.`est_prepaid_amount`, `thecarg_db`.`cg_tbl_category_sub_category_setup`.`pickup_drop_enabled`, `thecarg_db`.`cg_tbl_category_sub_category_setup`.`pickup_drop_amount`, `thecarg_db`.`cg_tbl_category_sub_category_setup`.`pricing`, `thecarg_db`.`cg_tbl_category_sub_category_setup`.`priority`, `thecarg_db`.`cg_tbl_category_sub_category_setup`.`service_type`, `thecarg_db`.`cg_tbl_category_sub_category_setup`.`discount_type`, `thecarg_db`.`cg_tbl_category_sub_category_setup`.`discount_value`, `thecarg_db`.`cg_tbl_category_sub_category_setup`.`status`, `thecarg_db`.`cg_tbl_category_sub_category_setup`.`created_at`, `thecarg_db`.`cg_tbl_category_sub_category_setup`.`created_by`, `thecarg_db`.`cg_tbl_category_sub_category_setup`.`updated_at`, `thecarg_db`.`cg_tbl_category_sub_category_setup`.`vehicle_class_id`, `thecarg_db`.`cg_tbl_category_sub_category_setup`.`vehicle_fuel_type_id` FROM `thecarg_db`.`cg_tbl_category_sub_category_setup` WHERE (`thecarg_db`.`cg_tbl_category_sub_category_setup`.`category_id` = ? AND `thecarg_db`.`cg_tbl_category_sub_category_setup`.`sub_category_id` = ? AND `thecarg_db`.`cg_tbl_category_sub_category_setup`.`role_id` = ? AND `thecarg_db`.`cg_tbl_category_sub_category_setup`.`vehicle_class_id` = ? AND `thecarg_db`.`cg_tbl_category_sub_category_setup`.`vehicle_fuel_type_id` = ? AND `thecarg_db`.`cg_tbl_category_sub_category_setup`.`status` = ?) LIMIT ? OFFSET ?
prisma:query SELECT `thecarg_db`.`cg_tbl_categories`.`id`, `thecarg_db`.`cg_tbl_categories`.`category_name`, `thecarg_db`.`cg_tbl_categories`.`slug`, `thecarg_db`.`cg_tbl_categories`.`category_image`, `thecarg_db`.`cg_tbl_categories`.`status`, `thecarg_db`.`cg_tbl_categories`.`created_at`, `thecarg_db`.`cg_tbl_categories`.`created_by`, `thecarg_db`.`cg_tbl_categories`.`updated_at`, `thecarg_db`.`cg_tbl_categories`.`is_accident` FROM `thecarg_db`.`cg_tbl_categories` WHERE `thecarg_db`.`cg_tbl_categories`.`id` = ? LIMIT ? OFFSET ?
prisma:query SELECT `thecarg_db`.`cg_tbl_sub_categories`.`id`, `thecarg_db`.`cg_tbl_sub_categories`.`sub_category_name`, `thecarg_db`.`cg_tbl_sub_categories`.`slug`, `thecarg_db`.`cg_tbl_sub_categories`.`minimum_time`, `thecarg_db`.`cg_tbl_sub_categories`.`maximum_time`, `thecarg_db`.`cg_tbl_sub_categories`.`cover_image`, `thecarg_db`.`cg_tbl_sub_categories`.`gallery_images`, `thecarg_db`.`cg_tbl_sub_categories`.`about_services`, `thecarg_db`.`cg_tbl_sub_categories`.`prerequisites`, `thecarg_db`.`cg_tbl_sub_categories`.`content_blocks`, `thecarg_db`.`cg_tbl_sub_categories`.`status`, `thecarg_db`.`cg_tbl_sub_categories`.`created_at`, `thecarg_db`.`cg_tbl_sub_categories`.`created_by`, `thecarg_db`.`cg_tbl_sub_categories`.`updated_at` FROM `thecarg_db`.`cg_tbl_sub_categories` WHERE `thecarg_db`.`cg_tbl_sub_categories`.`id` = ? LIMIT ? OFFSET ?
[32m[nodemon] restarting due to changes...[39m
[32m[nodemon] starting `ts-node-esm src/server.js`[39m
prisma:info Starting a mysql pool with 9 connections.
[2026-06-24T12:14:38.838Z] [INFO]: Successfully connected to the MySQL Database via Prisma!
--------------------------------------------------

prisma:query SELECT `thecarg_db`.`cg_tbl_business_settings`.`id`, `thecarg_db`.`cg_tbl_business_settings`.`key`, `thecarg_db`.`cg_tbl_business_settings`.`value`, `thecarg_db`.`cg_tbl_business_settings`.`created_at`, `thecarg_db`.`cg_tbl_business_settings`.`updated_at` FROM `thecarg_db`.`cg_tbl_business_settings` WHERE `thecarg_db`.`cg_tbl_business_settings`.`key` = ? LIMIT ? OFFSET ?
prisma:query SELECT `thecarg_db`.`cg_tbl_business_settings`.`id`, `thecarg_db`.`cg_tbl_business_settings`.`key`, `thecarg_db`.`cg_tbl_business_settings`.`value`, `thecarg_db`.`cg_tbl_business_settings`.`created_at`, `thecarg_db`.`cg_tbl_business_settings`.`updated_at` FROM `thecarg_db`.`cg_tbl_business_settings` WHERE `thecarg_db`.`cg_tbl_business_settings`.`key` = ? LIMIT ? OFFSET ?
Firebase initialized successfully
[2026-06-24T12:14:38.861Z] [INFO]: Server is running in development mode on port 5000
--------------------------------------------------

[2026-06-24T12:14:38.863Z] [INFO]: Endpoint: http://localhost:5000
--------------------------------------------------

[32m[nodemon] clean exit - waiting for changes before restart[39m
[32m[nodemon] restarting due to changes...[39m
[32m[nodemon] starting `ts-node-esm src/server.js`[39m
prisma:info Starting a mysql pool with 9 connections.
[2026-06-24T12:16:42.950Z] [INFO]: Successfully connected to the MySQL Database via Prisma!
--------------------------------------------------

prisma:query SELECT `thecarg_db`.`cg_tbl_business_settings`.`id`, `thecarg_db`.`cg_tbl_business_settings`.`key`, `thecarg_db`.`cg_tbl_business_settings`.`value`, `thecarg_db`.`cg_tbl_business_settings`.`created_at`, `thecarg_db`.`cg_tbl_business_settings`.`updated_at` FROM `thecarg_db`.`cg_tbl_business_settings` WHERE `thecarg_db`.`cg_tbl_business_settings`.`key` = ? LIMIT ? OFFSET ?
prisma:query SELECT `thecarg_db`.`cg_tbl_business_settings`.`id`, `thecarg_db`.`cg_tbl_business_settings`.`key`, `thecarg_db`.`cg_tbl_business_settings`.`value`, `thecarg_db`.`cg_tbl_business_settings`.`created_at`, `thecarg_db`.`cg_tbl_business_settings`.`updated_at` FROM `thecarg_db`.`cg_tbl_business_settings` WHERE `thecarg_db`.`cg_tbl_business_settings`.`key` = ? LIMIT ? OFFSET ?
Firebase initialized successfully
[2026-06-24T12:16:42.969Z] [INFO]: Server is running in development mode on port 5000
--------------------------------------------------

[2026-06-24T12:16:42.970Z] [INFO]: Endpoint: http://localhost:5000
--------------------------------------------------

prisma:query SELECT 1
prisma:query SELECT `thecarg_db`.`cg_tbl_business_settings`.`id`, `thecarg_db`.`cg_tbl_business_settings`.`key`, `thecarg_db`.`cg_tbl_business_settings`.`value`, `thecarg_db`.`cg_tbl_business_settings`.`created_at`, `thecarg_db`.`cg_tbl_business_settings`.`updated_at` FROM `thecarg_db`.`cg_tbl_business_settings` WHERE `thecarg_db`.`cg_tbl_business_settings`.`key` IN (?,?,?,?)
prisma:query SELECT `thecarg_db`.`cg_tbl_vehicle_fuel_types`.`id`, `thecarg_db`.`cg_tbl_vehicle_fuel_types`.`name`, `thecarg_db`.`cg_tbl_vehicle_fuel_types`.`slug` FROM `thecarg_db`.`cg_tbl_vehicle_fuel_types` WHERE `thecarg_db`.`cg_tbl_vehicle_fuel_types`.`status` = ? ORDER BY `thecarg_db`.`cg_tbl_vehicle_fuel_types`.`name` ASC
prisma:query SELECT `thecarg_db`.`cg_tbl_vehicle_classes`.`id`, `thecarg_db`.`cg_tbl_vehicle_classes`.`name`, `thecarg_db`.`cg_tbl_vehicle_classes`.`slug` FROM `thecarg_db`.`cg_tbl_vehicle_classes` WHERE `thecarg_db`.`cg_tbl_vehicle_classes`.`status` = ? ORDER BY `thecarg_db`.`cg_tbl_vehicle_classes`.`name` ASC
prisma:query SELECT `thecarg_db`.`cg_tbl_gig_reasons`.`id`, `thecarg_db`.`cg_tbl_gig_reasons`.`reason` FROM `thecarg_db`.`cg_tbl_gig_reasons` WHERE `thecarg_db`.`cg_tbl_gig_reasons`.`status` = ? ORDER BY `thecarg_db`.`cg_tbl_gig_reasons`.`id` ASC
prisma:query SELECT `thecarg_db`.`cg_tbl_business_settings`.`id`, `thecarg_db`.`cg_tbl_business_settings`.`key`, `thecarg_db`.`cg_tbl_business_settings`.`value`, `thecarg_db`.`cg_tbl_business_settings`.`created_at`, `thecarg_db`.`cg_tbl_business_settings`.`updated_at` FROM `thecarg_db`.`cg_tbl_business_settings` WHERE (`thecarg_db`.`cg_tbl_business_settings`.`key` = ? AND 1=1) LIMIT ? OFFSET ?
prisma:query SELECT `thecarg_db`.`cg_tbl_business_settings`.`id`, `thecarg_db`.`cg_tbl_business_settings`.`key`, `thecarg_db`.`cg_tbl_business_settings`.`value`, `thecarg_db`.`cg_tbl_business_settings`.`created_at`, `thecarg_db`.`cg_tbl_business_settings`.`updated_at` FROM `thecarg_db`.`cg_tbl_business_settings` WHERE (`thecarg_db`.`cg_tbl_business_settings`.`key` = ? AND 1=1) LIMIT ? OFFSET ?
prisma:query SELECT `thecarg_db`.`cg_tbl_business_settings`.`id`, `thecarg_db`.`cg_tbl_business_settings`.`key`, `thecarg_db`.`cg_tbl_business_settings`.`value`, `thecarg_db`.`cg_tbl_business_settings`.`created_at`, `thecarg_db`.`cg_tbl_business_settings`.`updated_at` FROM `thecarg_db`.`cg_tbl_business_settings` WHERE (`thecarg_db`.`cg_tbl_business_settings`.`key` = ? AND 1=1) LIMIT ? OFFSET ?
prisma:query SELECT `thecarg_db`.`cg_tbl_customers`.`id`, `thecarg_db`.`cg_tbl_customers`.`full_name`, `thecarg_db`.`cg_tbl_customers`.`mobile`, `thecarg_db`.`cg_tbl_customers`.`email`, `thecarg_db`.`cg_tbl_customers`.`profile_photo_file`, `thecarg_db`.`cg_tbl_customers`.`status`, `thecarg_db`.`cg_tbl_customers`.`created_at`, `thecarg_db`.`cg_tbl_customers`.`updated_at`, `thecarg_db`.`cg_tbl_customers`.`date_of_birth`, `thecarg_db`.`cg_tbl_customers`.`fcm_token`, `thecarg_db`.`cg_tbl_customers`.`marriage_date`, `thecarg_db`.`cg_tbl_customers`.`ref_code`, `thecarg_db`.`cg_tbl_customers`.`referred_by` FROM `thecarg_db`.`cg_tbl_customers` WHERE (`thecarg_db`.`cg_tbl_customers`.`id` = ? AND 1=1) LIMIT ? OFFSET ?
prisma:query SELECT `thecarg_db`.`cg_tbl_customers`.`id`, `thecarg_db`.`cg_tbl_customers`.`full_name`, `thecarg_db`.`cg_tbl_customers`.`mobile`, `thecarg_db`.`cg_tbl_customers`.`email`, `thecarg_db`.`cg_tbl_customers`.`profile_photo_file`, `thecarg_db`.`cg_tbl_customers`.`status`, `thecarg_db`.`cg_tbl_customers`.`created_at`, `thecarg_db`.`cg_tbl_customers`.`updated_at`, `thecarg_db`.`cg_tbl_customers`.`date_of_birth`, `thecarg_db`.`cg_tbl_customers`.`fcm_token`, `thecarg_db`.`cg_tbl_customers`.`marriage_date`, `thecarg_db`.`cg_tbl_customers`.`ref_code`, `thecarg_db`.`cg_tbl_customers`.`referred_by` FROM `thecarg_db`.`cg_tbl_customers` WHERE (`thecarg_db`.`cg_tbl_customers`.`id` = ? AND 1=1) LIMIT ? OFFSET ?
prisma:query SELECT `thecarg_db`.`cg_tbl_customers`.`id`, `thecarg_db`.`cg_tbl_customers`.`full_name`, `thecarg_db`.`cg_tbl_customers`.`mobile`, `thecarg_db`.`cg_tbl_customers`.`email`, `thecarg_db`.`cg_tbl_customers`.`profile_photo_file`, `thecarg_db`.`cg_tbl_customers`.`status`, `thecarg_db`.`cg_tbl_customers`.`created_at`, `thecarg_db`.`cg_tbl_customers`.`updated_at`, `thecarg_db`.`cg_tbl_customers`.`date_of_birth`, `thecarg_db`.`cg_tbl_customers`.`fcm_token`, `thecarg_db`.`cg_tbl_customers`.`marriage_date`, `thecarg_db`.`cg_tbl_customers`.`ref_code`, `thecarg_db`.`cg_tbl_customers`.`referred_by` FROM `thecarg_db`.`cg_tbl_customers` WHERE (`thecarg_db`.`cg_tbl_customers`.`id` = ? AND 1=1) LIMIT ? OFFSET ?
prisma:query SELECT `thecarg_db`.`cg_tbl_customers`.`id`, `thecarg_db`.`cg_tbl_customers`.`full_name`, `thecarg_db`.`cg_tbl_customers`.`mobile`, `thecarg_db`.`cg_tbl_customers`.`email`, `thecarg_db`.`cg_tbl_customers`.`profile_photo_file`, `thecarg_db`.`cg_tbl_customers`.`status`, `thecarg_db`.`cg_tbl_customers`.`created_at`, `thecarg_db`.`cg_tbl_customers`.`updated_at`, `thecarg_db`.`cg_tbl_customers`.`date_of_birth`, `thecarg_db`.`cg_tbl_customers`.`fcm_token`, `thecarg_db`.`cg_tbl_customers`.`marriage_date`, `thecarg_db`.`cg_tbl_customers`.`ref_code`, `thecarg_db`.`cg_tbl_customers`.`referred_by` FROM `thecarg_db`.`cg_tbl_customers` WHERE `thecarg_db`.`cg_tbl_customers`.`id` = ? LIMIT ? OFFSET ?
prisma:query SELECT `thecarg_db`.`cg_tbl_business_settings`.`id`, `thecarg_db`.`cg_tbl_business_settings`.`key`, `thecarg_db`.`cg_tbl_business_settings`.`value`, `thecarg_db`.`cg_tbl_business_settings`.`created_at`, `thecarg_db`.`cg_tbl_business_settings`.`updated_at` FROM `thecarg_db`.`cg_tbl_business_settings` WHERE `thecarg_db`.`cg_tbl_business_settings`.`key` IN (?,?,?,?)
prisma:query SELECT COUNT(*) FROM (SELECT `thecarg_db`.`cg_tbl_categories`.`id` FROM `thecarg_db`.`cg_tbl_categories` WHERE (`thecarg_db`.`cg_tbl_categories`.`status` = ? AND (`thecarg_db`.`cg_tbl_categories`.`is_accident` = ? OR (`thecarg_db`.`cg_tbl_categories`.`id`) IN (SELECT `t1`.`category_id` FROM `thecarg_db`.`cg_tbl_category_sub_category_setup` AS `t1` LEFT JOIN `thecarg_db`.`cg_tbl_sub_categories` AS `j2` ON (`j2`.`id`) = (`t1`.`sub_category_id`) WHERE (`t1`.`status` = ? AND (`j2`.`status` = ? AND (`j2`.`id` IS NOT NULL)) AND `t1`.`category_id` IS NOT NULL))))) AS `sub`
prisma:query SELECT `thecarg_db`.`cg_tbl_categories`.`id`, `thecarg_db`.`cg_tbl_categories`.`category_name`, `thecarg_db`.`cg_tbl_categories`.`category_image`, `thecarg_db`.`cg_tbl_categories`.`is_accident` FROM `thecarg_db`.`cg_tbl_categories` WHERE (`thecarg_db`.`cg_tbl_categories`.`status` = ? AND (`thecarg_db`.`cg_tbl_categories`.`is_accident` = ? OR (`thecarg_db`.`cg_tbl_categories`.`id`) IN (SELECT `t1`.`category_id` FROM `thecarg_db`.`cg_tbl_category_sub_category_setup` AS `t1` LEFT JOIN `thecarg_db`.`cg_tbl_sub_categories` AS `j2` ON (`j2`.`id`) = (`t1`.`sub_category_id`) WHERE (`t1`.`status` = ? AND (`j2`.`status` = ? AND (`j2`.`id` IS NOT NULL)) AND `t1`.`service_type` IN (?,?) AND `t1`.`category_id` IS NOT NULL)))) ORDER BY `thecarg_db`.`cg_tbl_categories`.`id` ASC LIMIT ? OFFSET ?
prisma:query SELECT COUNT(*) FROM (SELECT `thecarg_db`.`cg_tbl_categories`.`id` FROM `thecarg_db`.`cg_tbl_categories` WHERE (`thecarg_db`.`cg_tbl_categories`.`status` = ? AND (`thecarg_db`.`cg_tbl_categories`.`is_accident` = ? OR (`thecarg_db`.`cg_tbl_categories`.`id`) IN (SELECT `t1`.`category_id` FROM `thecarg_db`.`cg_tbl_category_sub_category_setup` AS `t1` LEFT JOIN `thecarg_db`.`cg_tbl_sub_categories` AS `j2` ON (`j2`.`id`) = (`t1`.`sub_category_id`) WHERE (`t1`.`status` = ? AND (`j2`.`status` = ? AND (`j2`.`id` IS NOT NULL)) AND `t1`.`service_type` IN (?,?) AND `t1`.`category_id` IS NOT NULL))))) AS `sub`
prisma:query SELECT `thecarg_db`.`cg_tbl_categories`.`id`, `thecarg_db`.`cg_tbl_categories`.`category_name`, `thecarg_db`.`cg_tbl_categories`.`category_image`, `thecarg_db`.`cg_tbl_categories`.`is_accident` FROM `thecarg_db`.`cg_tbl_categories` WHERE (`thecarg_db`.`cg_tbl_categories`.`status` = ? AND (`thecarg_db`.`cg_tbl_categories`.`is_accident` = ? OR (`thecarg_db`.`cg_tbl_categories`.`id`) IN (SELECT `t1`.`category_id` FROM `thecarg_db`.`cg_tbl_category_sub_category_setup` AS `t1` LEFT JOIN `thecarg_db`.`cg_tbl_sub_categories` AS `j2` ON (`j2`.`id`) = (`t1`.`sub_category_id`) WHERE (`t1`.`status` = ? AND (`j2`.`status` = ? AND (`j2`.`id` IS NOT NULL)) AND `t1`.`category_id` IS NOT NULL)))) ORDER BY `thecarg_db`.`cg_tbl_categories`.`id` ASC LIMIT ? OFFSET ?
prisma:query SELECT `thecarg_db`.`cg_tbl_vehicle_fuel_types`.`id`, `thecarg_db`.`cg_tbl_vehicle_fuel_types`.`name`, `thecarg_db`.`cg_tbl_vehicle_fuel_types`.`slug` FROM `thecarg_db`.`cg_tbl_vehicle_fuel_types` WHERE `thecarg_db`.`cg_tbl_vehicle_fuel_types`.`status` = ? ORDER BY `thecarg_db`.`cg_tbl_vehicle_fuel_types`.`name` ASC
prisma:query SELECT `thecarg_db`.`cg_tbl_gig_reasons`.`id`, `thecarg_db`.`cg_tbl_gig_reasons`.`reason` FROM `thecarg_db`.`cg_tbl_gig_reasons` WHERE `thecarg_db`.`cg_tbl_gig_reasons`.`status` = ? ORDER BY `thecarg_db`.`cg_tbl_gig_reasons`.`id` ASC
prisma:query SELECT `thecarg_db`.`cg_tbl_vehicle_classes`.`id`, `thecarg_db`.`cg_tbl_vehicle_classes`.`name`, `thecarg_db`.`cg_tbl_vehicle_classes`.`slug` FROM `thecarg_db`.`cg_tbl_vehicle_classes` WHERE `thecarg_db`.`cg_tbl_vehicle_classes`.`status` = ? ORDER BY `thecarg_db`.`cg_tbl_vehicle_classes`.`name` ASC
prisma:query SELECT `thecarg_db`.`cg_tbl_user_roles`.`id`, `thecarg_db`.`cg_tbl_user_roles`.`role_name`, `thecarg_db`.`cg_tbl_user_roles`.`role_slug`, `thecarg_db`.`cg_tbl_user_roles`.`status`, `thecarg_db`.`cg_tbl_user_roles`.`created_at`, `thecarg_db`.`cg_tbl_user_roles`.`updated_at` FROM `thecarg_db`.`cg_tbl_user_roles` WHERE `thecarg_db`.`cg_tbl_user_roles`.`role_slug` = ? LIMIT ? OFFSET ?
prisma:query SELECT `thecarg_db`.`cg_tbl_user_roles`.`id`, `thecarg_db`.`cg_tbl_user_roles`.`role_name`, `thecarg_db`.`cg_tbl_user_roles`.`role_slug`, `thecarg_db`.`cg_tbl_user_roles`.`status`, `thecarg_db`.`cg_tbl_user_roles`.`created_at`, `thecarg_db`.`cg_tbl_user_roles`.`updated_at` FROM `thecarg_db`.`cg_tbl_user_roles` WHERE `thecarg_db`.`cg_tbl_user_roles`.`role_slug` = ? LIMIT ? OFFSET ?
prisma:query SELECT `thecarg_db`.`cg_tbl_user_roles`.`id`, `thecarg_db`.`cg_tbl_user_roles`.`role_name`, `thecarg_db`.`cg_tbl_user_roles`.`role_slug`, `thecarg_db`.`cg_tbl_user_roles`.`status`, `thecarg_db`.`cg_tbl_user_roles`.`created_at`, `thecarg_db`.`cg_tbl_user_roles`.`updated_at` FROM `thecarg_db`.`cg_tbl_user_roles` WHERE `thecarg_db`.`cg_tbl_user_roles`.`role_slug` = ? LIMIT ? OFFSET ?
prisma:query SELECT `thecarg_db`.`cg_tbl_user_roles`.`id`, `thecarg_db`.`cg_tbl_user_roles`.`role_name`, `thecarg_db`.`cg_tbl_user_roles`.`role_slug`, `thecarg_db`.`cg_tbl_user_roles`.`status`, `thecarg_db`.`cg_tbl_user_roles`.`created_at`, `thecarg_db`.`cg_tbl_user_roles`.`updated_at` FROM `thecarg_db`.`cg_tbl_user_roles` WHERE `thecarg_db`.`cg_tbl_user_roles`.`role_slug` = ? LIMIT ? OFFSET ?
prisma:query SELECT `thecarg_db`.`cg_tbl_user_roles`.`id`, `thecarg_db`.`cg_tbl_user_roles`.`role_name`, `thecarg_db`.`cg_tbl_user_roles`.`role_slug`, `thecarg_db`.`cg_tbl_user_roles`.`status`, `thecarg_db`.`cg_tbl_user_roles`.`created_at`, `thecarg_db`.`cg_tbl_user_roles`.`updated_at` FROM `thecarg_db`.`cg_tbl_user_roles` WHERE `thecarg_db`.`cg_tbl_user_roles`.`role_slug` = ? LIMIT ? OFFSET ?
prisma:query SELECT COUNT(*) FROM (SELECT `thecarg_db`.`cg_tbl_user_notifications`.`id` FROM `thecarg_db`.`cg_tbl_user_notifications` WHERE (`thecarg_db`.`cg_tbl_user_notifications`.`user_id` = ? AND `thecarg_db`.`cg_tbl_user_notifications`.`user_role_id` = ? AND `thecarg_db`.`cg_tbl_user_notifications`.`platform` = ?)) AS `sub`
prisma:query SELECT `thecarg_db`.`cg_tbl_user_notifications`.`id`, `thecarg_db`.`cg_tbl_user_notifications`.`user_id`, `thecarg_db`.`cg_tbl_user_notifications`.`user_role_id`, `thecarg_db`.`cg_tbl_user_notifications`.`data`, `thecarg_db`.`cg_tbl_user_notifications`.`platform`, `thecarg_db`.`cg_tbl_user_notifications`.`is_read`, `thecarg_db`.`cg_tbl_user_notifications`.`created_at` FROM `thecarg_db`.`cg_tbl_user_notifications` WHERE (`thecarg_db`.`cg_tbl_user_notifications`.`user_id` = ? AND `thecarg_db`.`cg_tbl_user_notifications`.`user_role_id` = ? AND `thecarg_db`.`cg_tbl_user_notifications`.`platform` = ?) ORDER BY `thecarg_db`.`cg_tbl_user_notifications`.`created_at` DESC LIMIT ? OFFSET ?
prisma:query SELECT `thecarg_db`.`cg_tbl_coupons`.`id`, `thecarg_db`.`cg_tbl_coupons`.`coupon_code`, `thecarg_db`.`cg_tbl_coupons`.`title`, `thecarg_db`.`cg_tbl_coupons`.`coupon_type`, `thecarg_db`.`cg_tbl_coupons`.`applicable_user_type`, `thecarg_db`.`cg_tbl_coupons`.`user_eligibility`, `thecarg_db`.`cg_tbl_coupons`.`discount_value`, `thecarg_db`.`cg_tbl_coupons`.`max_discount`, `thecarg_db`.`cg_tbl_coupons`.`min_order_value`, `thecarg_db`.`cg_tbl_coupons`.`valid_from`, `thecarg_db`.`cg_tbl_coupons`.`valid_to`, `thecarg_db`.`cg_tbl_coupons`.`total_usage_limit`, `thecarg_db`.`cg_tbl_coupons`.`total_uses`, `thecarg_db`.`cg_tbl_coupons`.`usage_per_user`, `thecarg_db`.`cg_tbl_coupons`.`category_restrictions`, `thecarg_db`.`cg_tbl_coupons`.`allow_stacking`, `thecarg_db`.`cg_tbl_coupons`.`module_type`, `thecarg_db`.`cg_tbl_coupons`.`zone_ids`, `thecarg_db`.`cg_tbl_coupons`.`vendor_id`, `thecarg_db`.`cg_tbl_coupons`.`created_at` FROM `thecarg_db`.`cg_tbl_coupons` WHERE (`thecarg_db`.`cg_tbl_coupons`.`status` = ? AND `thecarg_db`.`cg_tbl_coupons`.`applicable_user_type` IN (?,?) AND (`thecarg_db`.`cg_tbl_coupons`.`valid_from` IS NULL OR `thecarg_db`.`cg_tbl_coupons`.`valid_from` <= ?) AND (`thecarg_db`.`cg_tbl_coupons`.`valid_to` IS NULL OR `thecarg_db`.`cg_tbl_coupons`.`valid_to` >= ?)) ORDER BY `thecarg_db`.`cg_tbl_coupons`.`created_at` DESC
prisma:query SELECT COUNT(*) FROM (SELECT `thecarg_db`.`cg_table_tutorials`.`id` FROM `thecarg_db`.`cg_table_tutorials` WHERE (`thecarg_db`.`cg_table_tutorials`.`role_id` = ? AND `thecarg_db`.`cg_table_tutorials`.`status` = ?)) AS `sub`
prisma:query SELECT `thecarg_db`.`cg_table_tutorials`.`id`, `thecarg_db`.`cg_table_tutorials`.`role_id`, `thecarg_db`.`cg_table_tutorials`.`youtube_url`, `thecarg_db`.`cg_table_tutorials`.`status`, `thecarg_db`.`cg_table_tutorials`.`created_at`, `thecarg_db`.`cg_table_tutorials`.`created_by`, `thecarg_db`.`cg_table_tutorials`.`updated_at` FROM `thecarg_db`.`cg_table_tutorials` WHERE (`thecarg_db`.`cg_table_tutorials`.`role_id` = ? AND `thecarg_db`.`cg_table_tutorials`.`status` = ?) ORDER BY `thecarg_db`.`cg_table_tutorials`.`created_at` DESC LIMIT ? OFFSET ?
prisma:query SELECT COUNT(*) FROM (SELECT `thecarg_db`.`cg_tbl_user_addresses`.`id` FROM `thecarg_db`.`cg_tbl_user_addresses` WHERE (`thecarg_db`.`cg_tbl_user_addresses`.`user_id` = ? AND `thecarg_db`.`cg_tbl_user_addresses`.`role_id` = ? AND `thecarg_db`.`cg_tbl_user_addresses`.`status` = ?)) AS `sub`
prisma:query SELECT COUNT(*) FROM (SELECT `thecarg_db`.`cg_tbl_user_addresses`.`id` FROM `thecarg_db`.`cg_tbl_user_addresses` WHERE (`thecarg_db`.`cg_tbl_user_addresses`.`user_id` = ? AND `thecarg_db`.`cg_tbl_user_addresses`.`role_id` = ? AND `thecarg_db`.`cg_tbl_user_addresses`.`status` = ?)) AS `sub`
prisma:query SELECT COUNT(*) FROM (SELECT `thecarg_db`.`cg_tbl_vehicles_master`.`id` FROM `thecarg_db`.`cg_tbl_vehicles_master` WHERE (`thecarg_db`.`cg_tbl_vehicles_master`.`user_id` = ? AND `thecarg_db`.`cg_tbl_vehicles_master`.`user_role_id` = ? AND `thecarg_db`.`cg_tbl_vehicles_master`.`deleted_status` = ? AND `thecarg_db`.`cg_tbl_vehicles_master`.`status` = ?)) AS `sub`
prisma:query SELECT `thecarg_db`.`cg_tbl_categories`.`id`, `thecarg_db`.`cg_tbl_categories`.`category_name` FROM `thecarg_db`.`cg_tbl_categories` WHERE `thecarg_db`.`cg_tbl_categories`.`id` IN (?,?,?,?,?,?)
prisma:query SELECT `thecarg_db`.`cg_tbl_user_addresses`.`id`, `thecarg_db`.`cg_tbl_user_addresses`.`user_id`, `thecarg_db`.`cg_tbl_user_addresses`.`role_id`, `thecarg_db`.`cg_tbl_user_addresses`.`address_title`, `thecarg_db`.`cg_tbl_user_addresses`.`contact_name`, `thecarg_db`.`cg_tbl_user_addresses`.`phone_number`, `thecarg_db`.`cg_tbl_user_addresses`.`flat_house_no`, `thecarg_db`.`cg_tbl_user_addresses`.`area_locality`, `thecarg_db`.`cg_tbl_user_addresses`.`landmark`, `thecarg_db`.`cg_tbl_user_addresses`.`pincode`, `thecarg_db`.`cg_tbl_user_addresses`.`city`, `thecarg_db`.`cg_tbl_user_addresses`.`state`, `thecarg_db`.`cg_tbl_user_addresses`.`latitude`, `thecarg_db`.`cg_tbl_user_addresses`.`longitude`, `thecarg_db`.`cg_tbl_user_addresses`.`full_address`, `thecarg_db`.`cg_tbl_user_addresses`.`is_default`, `thecarg_db`.`cg_tbl_user_addresses`.`status`, `thecarg_db`.`cg_tbl_user_addresses`.`created_at`, `thecarg_db`.`cg_tbl_user_addresses`.`updated_at` FROM `thecarg_db`.`cg_tbl_user_addresses` WHERE (`thecarg_db`.`cg_tbl_user_addresses`.`user_id` = ? AND `thecarg_db`.`cg_tbl_user_addresses`.`role_id` = ? AND `thecarg_db`.`cg_tbl_user_addresses`.`status` = ?) ORDER BY `thecarg_db`.`cg_tbl_user_addresses`.`is_default` DESC, `thecarg_db`.`cg_tbl_user_addresses`.`id` DESC LIMIT ? OFFSET ?
prisma:query SELECT `thecarg_db`.`cg_tbl_user_addresses`.`id`, `thecarg_db`.`cg_tbl_user_addresses`.`user_id`, `thecarg_db`.`cg_tbl_user_addresses`.`role_id`, `thecarg_db`.`cg_tbl_user_addresses`.`address_title`, `thecarg_db`.`cg_tbl_user_addresses`.`contact_name`, `thecarg_db`.`cg_tbl_user_addresses`.`phone_number`, `thecarg_db`.`cg_tbl_user_addresses`.`flat_house_no`, `thecarg_db`.`cg_tbl_user_addresses`.`area_locality`, `thecarg_db`.`cg_tbl_user_addresses`.`landmark`, `thecarg_db`.`cg_tbl_user_addresses`.`pincode`, `thecarg_db`.`cg_tbl_user_addresses`.`city`, `thecarg_db`.`cg_tbl_user_addresses`.`state`, `thecarg_db`.`cg_tbl_user_addresses`.`latitude`, `thecarg_db`.`cg_tbl_user_addresses`.`longitude`, `thecarg_db`.`cg_tbl_user_addresses`.`full_address`, `thecarg_db`.`cg_tbl_user_addresses`.`is_default`, `thecarg_db`.`cg_tbl_user_addresses`.`status`, `thecarg_db`.`cg_tbl_user_addresses`.`created_at`, `thecarg_db`.`cg_tbl_user_addresses`.`updated_at` FROM `thecarg_db`.`cg_tbl_user_addresses` WHERE (`thecarg_db`.`cg_tbl_user_addresses`.`user_id` = ? AND `thecarg_db`.`cg_tbl_user_addresses`.`role_id` = ? AND `thecarg_db`.`cg_tbl_user_addresses`.`status` = ?) ORDER BY `thecarg_db`.`cg_tbl_user_addresses`.`is_default` DESC, `thecarg_db`.`cg_tbl_user_addresses`.`id` DESC LIMIT ? OFFSET ?
prisma:query SELECT `thecarg_db`.`cg_tbl_vehicles_master`.`id`, `thecarg_db`.`cg_tbl_vehicles_master`.`vehicle_no`, `thecarg_db`.`cg_tbl_vehicles_master`.`make`, `thecarg_db`.`cg_tbl_vehicles_master`.`model`, `thecarg_db`.`cg_tbl_vehicles_master`.`year`, `thecarg_db`.`cg_tbl_vehicles_master`.`chassis_no`, `thecarg_db`.`cg_tbl_vehicles_master`.`odometer_reading_km`, `thecarg_db`.`cg_tbl_vehicles_master`.`vehicle_image`, `thecarg_db`.`cg_tbl_vehicles_master`.`vehicle_rc_img`, `thecarg_db`.`cg_tbl_vehicles_master`.`vehicle_class_id`, `thecarg_db`.`cg_tbl_vehicles_master`.`vehicle_fuel_type_id` FROM `thecarg_db`.`cg_tbl_vehicles_master` WHERE (`thecarg_db`.`cg_tbl_vehicles_master`.`user_id` = ? AND `thecarg_db`.`cg_tbl_vehicles_master`.`user_role_id` = ? AND `thecarg_db`.`cg_tbl_vehicles_master`.`deleted_status` = ? AND `thecarg_db`.`cg_tbl_vehicles_master`.`status` = ?) ORDER BY `thecarg_db`.`cg_tbl_vehicles_master`.`id` DESC LIMIT ? OFFSET ?
prisma:query SELECT `thecarg_db`.`cg_tbl_vehicle_classes`.`id`, `thecarg_db`.`cg_tbl_vehicle_classes`.`name`, `thecarg_db`.`cg_tbl_vehicle_classes`.`slug` FROM `thecarg_db`.`cg_tbl_vehicle_classes` WHERE `thecarg_db`.`cg_tbl_vehicle_classes`.`id` IN (?,?)
prisma:query SELECT `thecarg_db`.`cg_tbl_vehicle_fuel_types`.`id`, `thecarg_db`.`cg_tbl_vehicle_fuel_types`.`name`, `thecarg_db`.`cg_tbl_vehicle_fuel_types`.`slug` FROM `thecarg_db`.`cg_tbl_vehicle_fuel_types` WHERE `thecarg_db`.`cg_tbl_vehicle_fuel_types`.`id` IN (?,?)
prisma:query BEGIN
prisma:query SELECT `thecarg_db`.`cg_tbl_customers`.`id` FROM `thecarg_db`.`cg_tbl_customers` WHERE (`thecarg_db`.`cg_tbl_customers`.`id` = ? AND 1=1)
prisma:query UPDATE `thecarg_db`.`cg_tbl_customers` SET `fcm_token` = ?, `updated_at` = ? WHERE (`thecarg_db`.`cg_tbl_customers`.`id` IN (?) AND (`thecarg_db`.`cg_tbl_customers`.`id` = ? AND 1=1))
prisma:query SELECT `thecarg_db`.`cg_tbl_customers`.`id`, `thecarg_db`.`cg_tbl_customers`.`full_name`, `thecarg_db`.`cg_tbl_customers`.`mobile`, `thecarg_db`.`cg_tbl_customers`.`email`, `thecarg_db`.`cg_tbl_customers`.`profile_photo_file`, `thecarg_db`.`cg_tbl_customers`.`status`, `thecarg_db`.`cg_tbl_customers`.`created_at`, `thecarg_db`.`cg_tbl_customers`.`updated_at`, `thecarg_db`.`cg_tbl_customers`.`date_of_birth`, `thecarg_db`.`cg_tbl_customers`.`fcm_token`, `thecarg_db`.`cg_tbl_customers`.`marriage_date`, `thecarg_db`.`cg_tbl_customers`.`ref_code`, `thecarg_db`.`cg_tbl_customers`.`referred_by` FROM `thecarg_db`.`cg_tbl_customers` WHERE `thecarg_db`.`cg_tbl_customers`.`id` = ? LIMIT ? OFFSET ?
prisma:query COMMIT
[2026-06-24T12:18:14.435Z] [INFO]: [ZONE_RESOLVE] Resolving zone for coordinates: (13.07281264, 80.19470259)
--------------------------------------------------

prisma:query SELECT id, status, zone_name AS zoneName, zone_code AS zoneCode, ABS(ST_Area(coordinates)) as area 
       FROM cg_tbl_zones 
       WHERE ST_Contains(coordinates, ST_GeomFromText(?))
       ORDER BY area ASC
prisma:query SELECT `thecarg_db`.`cg_tbl_category_sub_category_setup`.`id`, `thecarg_db`.`cg_tbl_category_sub_category_setup`.`sub_category_id`, `thecarg_db`.`cg_tbl_category_sub_category_setup`.`category_id` FROM `thecarg_db`.`cg_tbl_category_sub_category_setup` LEFT JOIN `thecarg_db`.`cg_tbl_sub_categories` AS `j1` ON (`j1`.`id`) = (`thecarg_db`.`cg_tbl_category_sub_category_setup`.`sub_category_id`) WHERE ((`thecarg_db`.`cg_tbl_category_sub_category_setup`.`status` = ? AND (`j1`.`status` = ? AND (`j1`.`id` IS NOT NULL))) AND `thecarg_db`.`cg_tbl_category_sub_category_setup`.`category_id` IN (?,?,?,?,?,?,?,?))
prisma:query SELECT `thecarg_db`.`cg_tbl_category_sub_category_setup`.`id`, `thecarg_db`.`cg_tbl_category_sub_category_setup`.`sub_category_id`, `thecarg_db`.`cg_tbl_category_sub_category_setup`.`category_id` FROM `thecarg_db`.`cg_tbl_category_sub_category_setup` LEFT JOIN `thecarg_db`.`cg_tbl_sub_categories` AS `j1` ON (`j1`.`id`) = (`thecarg_db`.`cg_tbl_category_sub_category_setup`.`sub_category_id`) WHERE ((`thecarg_db`.`cg_tbl_category_sub_category_setup`.`status` = ? AND (`j1`.`status` = ? AND (`j1`.`id` IS NOT NULL)) AND `thecarg_db`.`cg_tbl_category_sub_category_setup`.`service_type` IN (?,?)) AND `thecarg_db`.`cg_tbl_category_sub_category_setup`.`category_id` IN (?,?,?,?,?,?,?,?))
[2026-06-24T12:18:15.320Z] [INFO]: [BANNERS] Fetching banners for zoneIds: [13]
--------------------------------------------------

prisma:query 
      SELECT 
        'admin_banner' AS bannerSource,
        b.id,
        b.title,
        b.banner_image AS bannerImage,
        NULL AS userId,
        NULL AS userRoleId,
        NULL AS productId,
        b.created_at AS createdAt
      FROM cg_tbl_banners b
      WHERE b.status = 1 
        AND b.zone_id IN (?)

      UNION ALL

      SELECT 
        'advertisement' AS bannerSource,
        a.id,
        a.title,
        a.banner_image AS bannerImage,
        a.user_id AS userId,
        a.user_role_id AS userRoleId,
        a.product_id AS productId,
        a.created_at AS createdAt
      FROM cg_tbl_advertisements a
      WHERE a.status = 1 
        AND a.advertisement_type = 'banner'
        AND a.approval_status = 'approved'
        AND a.payment_status = 'paid'
        AND NOW() BETWEEN a.from_date AND a.to_date
        AND a.zone_id IN (?)
      ORDER BY createdAt DESC
    
prisma:query SELECT `thecarg_db`.`cg_tbl_zones`.`id` FROM `thecarg_db`.`cg_tbl_zones` WHERE (`thecarg_db`.`cg_tbl_zones`.`id` IN (?,?) AND `thecarg_db`.`cg_tbl_zones`.`status` = ?)
prisma:query SELECT `thecarg_db`.`cg_tbl_zones`.`id` FROM `thecarg_db`.`cg_tbl_zones` WHERE (`thecarg_db`.`cg_tbl_zones`.`id` IN (?,?) AND `thecarg_db`.`cg_tbl_zones`.`status` = ?)
prisma:query SELECT `thecarg_db`.`cg_tbl_sellers`.`id`, `thecarg_db`.`cg_tbl_sellers`.`status`, `thecarg_db`.`cg_tbl_sellers`.`operating_hours`, `thecarg_db`.`cg_tbl_sellers`.`zone` FROM `thecarg_db`.`cg_tbl_sellers` WHERE `thecarg_db`.`cg_tbl_sellers`.`status` = ?
prisma:query SELECT `thecarg_db`.`cg_tbl_sellers`.`id`, `thecarg_db`.`cg_tbl_sellers`.`status`, `thecarg_db`.`cg_tbl_sellers`.`operating_hours`, `thecarg_db`.`cg_tbl_sellers`.`zone` FROM `thecarg_db`.`cg_tbl_sellers` WHERE `thecarg_db`.`cg_tbl_sellers`.`status` = ?
prisma:query SELECT COUNT(`thecarg_db`.`cg_tbl_products`.`id`), `thecarg_db`.`cg_tbl_products`.`techdoc_brand_id`, `thecarg_db`.`cg_tbl_products`.`brand_name` FROM `thecarg_db`.`cg_tbl_products` WHERE (`thecarg_db`.`cg_tbl_products`.`status` = ? AND (`thecarg_db`.`cg_tbl_products`.`id`) IN (SELECT `t1`.`product_id` FROM `thecarg_db`.`cg_tbl_seller_products` AS `t1` WHERE (`t1`.`status` = ? AND `t1`.`is_in_stock` = ? AND `t1`.`seller_id` IN (?) AND `t1`.`product_id` IS NOT NULL))) GROUP BY `thecarg_db`.`cg_tbl_products`.`techdoc_brand_id`, `thecarg_db`.`cg_tbl_products`.`brand_name` ORDER BY `thecarg_db`.`cg_tbl_products`.`techdoc_brand_id` ASC LIMIT ? OFFSET ?
prisma:query SELECT `thecarg_db`.`cg_tbl_products`.`assembly_group_node_id`, `thecarg_db`.`cg_tbl_products`.`generic_article_id` FROM `thecarg_db`.`cg_tbl_products` WHERE (`thecarg_db`.`cg_tbl_products`.`status` = ? AND (`thecarg_db`.`cg_tbl_products`.`id`) IN (SELECT `t1`.`product_id` FROM `thecarg_db`.`cg_tbl_seller_products` AS `t1` WHERE (`t1`.`status` = ? AND `t1`.`is_in_stock` = ? AND `t1`.`seller_id` IN (?) AND `t1`.`product_id` IS NOT NULL))) GROUP BY `thecarg_db`.`cg_tbl_products`.`assembly_group_node_id`, `thecarg_db`.`cg_tbl_products`.`generic_article_id`
prisma:query SELECT COUNT(`thecarg_db`.`cg_tbl_products`.`id`), `thecarg_db`.`cg_tbl_products`.`techdoc_brand_id` FROM `thecarg_db`.`cg_tbl_products` WHERE (`thecarg_db`.`cg_tbl_products`.`status` = ? AND (`thecarg_db`.`cg_tbl_products`.`id`) IN (SELECT `t1`.`product_id` FROM `thecarg_db`.`cg_tbl_seller_products` AS `t1` WHERE (`t1`.`status` = ? AND `t1`.`is_in_stock` = ? AND `t1`.`seller_id` IN (?) AND `t1`.`product_id` IS NOT NULL))) GROUP BY `thecarg_db`.`cg_tbl_products`.`techdoc_brand_id`
prisma:query SELECT `thecarg_db`.`cg_tbl_business_settings`.`id`, `thecarg_db`.`cg_tbl_business_settings`.`key`, `thecarg_db`.`cg_tbl_business_settings`.`value`, `thecarg_db`.`cg_tbl_business_settings`.`created_at`, `thecarg_db`.`cg_tbl_business_settings`.`updated_at` FROM `thecarg_db`.`cg_tbl_business_settings` WHERE `thecarg_db`.`cg_tbl_business_settings`.`key` = ? LIMIT ? OFFSET ?
prisma:query SELECT `thecarg_db`.`cg_tbl_business_settings`.`id`, `thecarg_db`.`cg_tbl_business_settings`.`key`, `thecarg_db`.`cg_tbl_business_settings`.`value`, `thecarg_db`.`cg_tbl_business_settings`.`created_at`, `thecarg_db`.`cg_tbl_business_settings`.`updated_at` FROM `thecarg_db`.`cg_tbl_business_settings` WHERE `thecarg_db`.`cg_tbl_business_settings`.`key` = ? LIMIT ? OFFSET ?
prisma:query SELECT `thecarg_db`.`cg_tbl_business_settings`.`id`, `thecarg_db`.`cg_tbl_business_settings`.`key`, `thecarg_db`.`cg_tbl_business_settings`.`value`, `thecarg_db`.`cg_tbl_business_settings`.`created_at`, `thecarg_db`.`cg_tbl_business_settings`.`updated_at` FROM `thecarg_db`.`cg_tbl_business_settings` WHERE `thecarg_db`.`cg_tbl_business_settings`.`key` = ? LIMIT ? OFFSET ?
prisma:query SELECT `thecarg_db`.`cg_tbl_business_settings`.`id`, `thecarg_db`.`cg_tbl_business_settings`.`key`, `thecarg_db`.`cg_tbl_business_settings`.`value`, `thecarg_db`.`cg_tbl_business_settings`.`created_at`, `thecarg_db`.`cg_tbl_business_settings`.`updated_at` FROM `thecarg_db`.`cg_tbl_business_settings` WHERE `thecarg_db`.`cg_tbl_business_settings`.`key` = ? LIMIT ? OFFSET ?
prisma:query SELECT `thecarg_db`.`cg_tbl_business_settings`.`id`, `thecarg_db`.`cg_tbl_business_settings`.`key`, `thecarg_db`.`cg_tbl_business_settings`.`value`, `thecarg_db`.`cg_tbl_business_settings`.`created_at`, `thecarg_db`.`cg_tbl_business_settings`.`updated_at` FROM `thecarg_db`.`cg_tbl_business_settings` WHERE `thecarg_db`.`cg_tbl_business_settings`.`key` = ? LIMIT ? OFFSET ?
prisma:query SELECT `thecarg_db`.`cg_tbl_business_settings`.`id`, `thecarg_db`.`cg_tbl_business_settings`.`key`, `thecarg_db`.`cg_tbl_business_settings`.`value`, `thecarg_db`.`cg_tbl_business_settings`.`created_at`, `thecarg_db`.`cg_tbl_business_settings`.`updated_at` FROM `thecarg_db`.`cg_tbl_business_settings` WHERE `thecarg_db`.`cg_tbl_business_settings`.`key` = ? LIMIT ? OFFSET ?
prisma:query SELECT `thecarg_db`.`cg_tbl_business_settings`.`id`, `thecarg_db`.`cg_tbl_business_settings`.`key`, `thecarg_db`.`cg_tbl_business_settings`.`value`, `thecarg_db`.`cg_tbl_business_settings`.`created_at`, `thecarg_db`.`cg_tbl_business_settings`.`updated_at` FROM `thecarg_db`.`cg_tbl_business_settings` WHERE `thecarg_db`.`cg_tbl_business_settings`.`key` = ? LIMIT ? OFFSET ?
prisma:query SELECT `thecarg_db`.`cg_tbl_business_settings`.`id`, `thecarg_db`.`cg_tbl_business_settings`.`key`, `thecarg_db`.`cg_tbl_business_settings`.`value`, `thecarg_db`.`cg_tbl_business_settings`.`created_at`, `thecarg_db`.`cg_tbl_business_settings`.`updated_at` FROM `thecarg_db`.`cg_tbl_business_settings` WHERE `thecarg_db`.`cg_tbl_business_settings`.`key` = ? LIMIT ? OFFSET ?
[2026-06-24T12:18:21.051Z] [INFO]: TecDoc → getGenericArticles | provider: 25791 | country: IN | url: https://webservice.tecalliance.services/pegasus-3-0/services/TecdocToCatDLB.jsonEndpoint
--------------------------------------------------

[2026-06-24T12:18:21.096Z] [INFO]: TecDoc → getBrands | provider: 25791 | country: IN | url: https://webservice.tecalliance.services/pegasus-3-0/services/TecdocToCatDLB.jsonEndpoint
--------------------------------------------------

prisma:query SELECT `thecarg_db`.`cg_tbl_products`.`assembly_group_node_id`, `thecarg_db`.`cg_tbl_products`.`generic_article_id` FROM `thecarg_db`.`cg_tbl_products` WHERE `thecarg_db`.`cg_tbl_products`.`status` = ? GROUP BY `thecarg_db`.`cg_tbl_products`.`assembly_group_node_id`, `thecarg_db`.`cg_tbl_products`.`generic_article_id`
[2026-06-24T12:18:21.973Z] [INFO]: TecDoc → getArticles | provider: 25791 | country: IN | url: https://webservice.tecalliance.services/pegasus-3-0/services/TecdocToCatDLB.jsonEndpoint
--------------------------------------------------

[2026-06-24T12:18:32.205Z] [INFO]: [ZONE_RESOLVE] Resolving zone for coordinates: (13.07281264, 80.19470259)
--------------------------------------------------

prisma:query SELECT 1
prisma:query SELECT id, status, zone_name AS zoneName, zone_code AS zoneCode, ABS(ST_Area(coordinates)) as area 
       FROM cg_tbl_zones 
       WHERE ST_Contains(coordinates, ST_GeomFromText(?))
       ORDER BY area ASC
[2026-06-24T12:18:32.332Z] [INFO]: [BANNERS] Fetching banners for zoneIds: [13]
--------------------------------------------------

prisma:query 
      SELECT 
        'admin_banner' AS bannerSource,
        b.id,
        b.title,
        b.banner_image AS bannerImage,
        NULL AS userId,
        NULL AS userRoleId,
        NULL AS productId,
        b.created_at AS createdAt
      FROM cg_tbl_banners b
      WHERE b.status = 1 
        AND b.zone_id IN (?)

      UNION ALL

      SELECT 
        'advertisement' AS bannerSource,
        a.id,
        a.title,
        a.banner_image AS bannerImage,
        a.user_id AS userId,
        a.user_role_id AS userRoleId,
        a.product_id AS productId,
        a.created_at AS createdAt
      FROM cg_tbl_advertisements a
      WHERE a.status = 1 
        AND a.advertisement_type = 'banner'
        AND a.approval_status = 'approved'
        AND a.payment_status = 'paid'
        AND NOW() BETWEEN a.from_date AND a.to_date
        AND a.zone_id IN (?)
      ORDER BY createdAt DESC
    
prisma:query SELECT 1
prisma:query SELECT `thecarg_db`.`cg_tbl_zones`.`id` FROM `thecarg_db`.`cg_tbl_zones` WHERE (`thecarg_db`.`cg_tbl_zones`.`id` IN (?) AND `thecarg_db`.`cg_tbl_zones`.`status` = ?)
prisma:query SELECT `thecarg_db`.`cg_tbl_sellers`.`id`, `thecarg_db`.`cg_tbl_sellers`.`status`, `thecarg_db`.`cg_tbl_sellers`.`operating_hours`, `thecarg_db`.`cg_tbl_sellers`.`zone` FROM `thecarg_db`.`cg_tbl_sellers` WHERE `thecarg_db`.`cg_tbl_sellers`.`status` = ?
prisma:query SELECT `thecarg_db`.`cg_tbl_products`.`id`, `thecarg_db`.`cg_tbl_products`.`article_number` FROM `thecarg_db`.`cg_tbl_products` WHERE (`thecarg_db`.`cg_tbl_products`.`status` = ? AND (`thecarg_db`.`cg_tbl_products`.`id`) IN (SELECT `t1`.`product_id` FROM `thecarg_db`.`cg_tbl_seller_products` AS `t1` WHERE (`t1`.`status` = ? AND `t1`.`seller_id` IN (?) AND `t1`.`product_id` IS NOT NULL)) AND `thecarg_db`.`cg_tbl_products`.`generic_article_id` = ? AND `thecarg_db`.`cg_tbl_products`.`assembly_group_node_id` = ?) ORDER BY `thecarg_db`.`cg_tbl_products`.`id` ASC
prisma:query SELECT `thecarg_db`.`cg_tbl_products`.`article_number` FROM `thecarg_db`.`cg_tbl_products` WHERE `thecarg_db`.`cg_tbl_products`.`id` IN (?,?) GROUP BY `thecarg_db`.`cg_tbl_products`.`article_number`
prisma:query SELECT MIN(`thecarg_db`.`cg_tbl_products`.`id`), `thecarg_db`.`cg_tbl_products`.`article_number` FROM `thecarg_db`.`cg_tbl_products` WHERE `thecarg_db`.`cg_tbl_products`.`id` IN (?,?) GROUP BY `thecarg_db`.`cg_tbl_products`.`article_number` ORDER BY MIN(`thecarg_db`.`cg_tbl_products`.`id`) ASC LIMIT ? OFFSET ?
prisma:query SELECT `thecarg_db`.`cg_tbl_products`.`id`, `thecarg_db`.`cg_tbl_products`.`techdoc_article_id`, `thecarg_db`.`cg_tbl_products`.`techdoc_brand_id`, `thecarg_db`.`cg_tbl_products`.`article_number`, `thecarg_db`.`cg_tbl_products`.`brand_name`, `thecarg_db`.`cg_tbl_products`.`status`, `thecarg_db`.`cg_tbl_products`.`created_at`, `thecarg_db`.`cg_tbl_products`.`updated_at`, `thecarg_db`.`cg_tbl_products`.`assembly_group_node_id`, `thecarg_db`.`cg_tbl_products`.`generic_article_id` FROM `thecarg_db`.`cg_tbl_products` WHERE `thecarg_db`.`cg_tbl_products`.`id` IN (?,?) ORDER BY `thecarg_db`.`cg_tbl_products`.`id` ASC
[2026-06-24T12:18:59.023Z] [INFO]: TecDoc → getArticles | provider: 25791 | country: IN | url: https://webservice.tecalliance.services/pegasus-3-0/services/TecdocToCatDLB.jsonEndpoint
--------------------------------------------------

[2026-06-24T12:18:59.025Z] [INFO]: TecDoc → getArticles | provider: 25791 | country: IN | url: https://webservice.tecalliance.services/pegasus-3-0/services/TecdocToCatDLB.jsonEndpoint
--------------------------------------------------

[2026-06-24T12:18:59.586Z] [INFO]: TecDoc → getArticles | provider: 25791 | country: IN | url: https://webservice.tecalliance.services/pegasus-3-0/services/TecdocToCatDLB.jsonEndpoint
--------------------------------------------------

[2026-06-24T12:18:59.595Z] [INFO]: TecDoc → getArticles | provider: 25791 | country: IN | url: https://webservice.tecalliance.services/pegasus-3-0/services/TecdocToCatDLB.jsonEndpoint
--------------------------------------------------

prisma:query SELECT `thecarg_db`.`cg_tbl_products`.`id`, `thecarg_db`.`cg_tbl_products`.`techdoc_article_id` FROM `thecarg_db`.`cg_tbl_products` WHERE (`thecarg_db`.`cg_tbl_products`.`techdoc_article_id` IN (?,?) AND `thecarg_db`.`cg_tbl_products`.`status` = ? AND `thecarg_db`.`cg_tbl_products`.`id` IN (?,?))
prisma:query SELECT `thecarg_db`.`cg_tbl_seller_products`.`id`, `thecarg_db`.`cg_tbl_seller_products`.`product_id`, `thecarg_db`.`cg_tbl_seller_products`.`customer_selling_price`, `thecarg_db`.`cg_tbl_seller_products`.`garage_selling_price`, `thecarg_db`.`cg_tbl_seller_products`.`mrp`, `thecarg_db`.`cg_tbl_seller_products`.`customer_discount_type`, `thecarg_db`.`cg_tbl_seller_products`.`customer_discount`, `thecarg_db`.`cg_tbl_seller_products`.`garage_discount_type`, `thecarg_db`.`cg_tbl_seller_products`.`garage_discount`, `thecarg_db`.`cg_tbl_seller_products`.`is_in_stock`, `thecarg_db`.`cg_tbl_seller_products`.`is_returnable`, `thecarg_db`.`cg_tbl_seller_products`.`return_days`, `thecarg_db`.`cg_tbl_seller_products`.`warranty_enabled`, `thecarg_db`.`cg_tbl_seller_products`.`warranty_duration`, `thecarg_db`.`cg_tbl_seller_products`.`warranty_duration_type`, `thecarg_db`.`cg_tbl_seller_products`.`warranty_document`, `thecarg_db`.`cg_tbl_seller_products`.`tax`, `thecarg_db`.`cg_tbl_seller_products`.`seller_id` FROM `thecarg_db`.`cg_tbl_seller_products` LEFT JOIN `thecarg_db`.`cg_tbl_sellers` AS `j1` ON (`j1`.`id`) = (`thecarg_db`.`cg_tbl_seller_products`.`seller_id`) WHERE (`thecarg_db`.`cg_tbl_seller_products`.`product_id` IN (?,?) AND `thecarg_db`.`cg_tbl_seller_products`.`status` = ? AND (`j1`.`status` = ? AND (`j1`.`id` IS NOT NULL))) ORDER BY `thecarg_db`.`cg_tbl_seller_products`.`customer_selling_price` ASC
prisma:query SELECT `thecarg_db`.`cg_tbl_sellers`.`id`, `thecarg_db`.`cg_tbl_sellers`.`seller_id`, `thecarg_db`.`cg_tbl_sellers`.`first_name`, `thecarg_db`.`cg_tbl_sellers`.`last_name`, `thecarg_db`.`cg_tbl_sellers`.`trade_name`, `thecarg_db`.`cg_tbl_sellers`.`city`, `thecarg_db`.`cg_tbl_sellers`.`state`, `thecarg_db`.`cg_tbl_sellers`.`email`, `thecarg_db`.`cg_tbl_sellers`.`mobile`, `thecarg_db`.`cg_tbl_sellers`.`address`, `thecarg_db`.`cg_tbl_sellers`.`pincode`, `thecarg_db`.`cg_tbl_sellers`.`status`, `thecarg_db`.`cg_tbl_sellers`.`operating_hours`, `thecarg_db`.`cg_tbl_sellers`.`zone`, `thecarg_db`.`cg_tbl_sellers`.`latitude`, `thecarg_db`.`cg_tbl_sellers`.`longitude` FROM `thecarg_db`.`cg_tbl_sellers` WHERE `thecarg_db`.`cg_tbl_sellers`.`id` IN (?)
prisma:query SELECT `thecarg_db`.`cg_tbl_zones`.`id`, `thecarg_db`.`cg_tbl_zones`.`zone_name` FROM `thecarg_db`.`cg_tbl_zones` WHERE 1=1
prisma:query SELECT `thecarg_db`.`cg_tbl_zones`.`id` FROM `thecarg_db`.`cg_tbl_zones` WHERE (`thecarg_db`.`cg_tbl_zones`.`id` IN (?) AND `thecarg_db`.`cg_tbl_zones`.`status` = ?)
prisma:query SELECT `thecarg_db`.`cg_tbl_products`.`id`, `thecarg_db`.`cg_tbl_products`.`techdoc_article_id`, `thecarg_db`.`cg_tbl_products`.`techdoc_brand_id`, `thecarg_db`.`cg_tbl_products`.`article_number`, `thecarg_db`.`cg_tbl_products`.`brand_name`, `thecarg_db`.`cg_tbl_products`.`status`, `thecarg_db`.`cg_tbl_products`.`created_at`, `thecarg_db`.`cg_tbl_products`.`updated_at`, `thecarg_db`.`cg_tbl_products`.`assembly_group_node_id`, `thecarg_db`.`cg_tbl_products`.`generic_article_id` FROM `thecarg_db`.`cg_tbl_products` WHERE (`thecarg_db`.`cg_tbl_products`.`id` = ? AND `thecarg_db`.`cg_tbl_products`.`status` = ?) LIMIT ? OFFSET ?
[2026-06-24T12:19:01.230Z] [INFO]: TecDoc → getArticles | provider: 25791 | country: IN | url: https://webservice.tecalliance.services/pegasus-3-0/services/TecdocToCatDLB.jsonEndpoint
--------------------------------------------------

prisma:query SELECT `thecarg_db`.`cg_tbl_zones`.`id` FROM `thecarg_db`.`cg_tbl_zones` WHERE (`thecarg_db`.`cg_tbl_zones`.`id` IN (?) AND `thecarg_db`.`cg_tbl_zones`.`status` = ?)
prisma:query SELECT `thecarg_db`.`cg_tbl_sellers`.`id`, `thecarg_db`.`cg_tbl_sellers`.`status`, `thecarg_db`.`cg_tbl_sellers`.`operating_hours`, `thecarg_db`.`cg_tbl_sellers`.`zone` FROM `thecarg_db`.`cg_tbl_sellers` WHERE `thecarg_db`.`cg_tbl_sellers`.`status` = ?
prisma:query SELECT `thecarg_db`.`cg_tbl_products`.`id`, `thecarg_db`.`cg_tbl_products`.`article_number` FROM `thecarg_db`.`cg_tbl_products` WHERE (`thecarg_db`.`cg_tbl_products`.`status` = ? AND (`thecarg_db`.`cg_tbl_products`.`id`) IN (SELECT `t1`.`product_id` FROM `thecarg_db`.`cg_tbl_seller_products` AS `t1` WHERE (`t1`.`status` = ? AND `t1`.`seller_id` IN (?) AND `t1`.`product_id` IS NOT NULL)) AND `thecarg_db`.`cg_tbl_products`.`generic_article_id` = ? AND `thecarg_db`.`cg_tbl_products`.`assembly_group_node_id` = ?) ORDER BY `thecarg_db`.`cg_tbl_products`.`id` ASC
prisma:query SELECT `thecarg_db`.`cg_tbl_products`.`article_number` FROM `thecarg_db`.`cg_tbl_products` WHERE `thecarg_db`.`cg_tbl_products`.`id` IN (?,?) GROUP BY `thecarg_db`.`cg_tbl_products`.`article_number`
prisma:query SELECT MIN(`thecarg_db`.`cg_tbl_products`.`id`), `thecarg_db`.`cg_tbl_products`.`article_number` FROM `thecarg_db`.`cg_tbl_products` WHERE `thecarg_db`.`cg_tbl_products`.`id` IN (?,?) GROUP BY `thecarg_db`.`cg_tbl_products`.`article_number` ORDER BY MIN(`thecarg_db`.`cg_tbl_products`.`id`) ASC LIMIT ? OFFSET ?
prisma:query SELECT `thecarg_db`.`cg_tbl_products`.`id`, `thecarg_db`.`cg_tbl_products`.`techdoc_article_id`, `thecarg_db`.`cg_tbl_products`.`techdoc_brand_id`, `thecarg_db`.`cg_tbl_products`.`article_number`, `thecarg_db`.`cg_tbl_products`.`brand_name`, `thecarg_db`.`cg_tbl_products`.`status`, `thecarg_db`.`cg_tbl_products`.`created_at`, `thecarg_db`.`cg_tbl_products`.`updated_at`, `thecarg_db`.`cg_tbl_products`.`assembly_group_node_id`, `thecarg_db`.`cg_tbl_products`.`generic_article_id` FROM `thecarg_db`.`cg_tbl_products` WHERE `thecarg_db`.`cg_tbl_products`.`id` IN (?,?) ORDER BY `thecarg_db`.`cg_tbl_products`.`id` ASC
[2026-06-24T12:19:01.255Z] [INFO]: TecDoc → getArticles | provider: 25791 | country: IN | url: https://webservice.tecalliance.services/pegasus-3-0/services/TecdocToCatDLB.jsonEndpoint
--------------------------------------------------

[2026-06-24T12:19:01.258Z] [INFO]: TecDoc → getArticles | provider: 25791 | country: IN | url: https://webservice.tecalliance.services/pegasus-3-0/services/TecdocToCatDLB.jsonEndpoint
--------------------------------------------------

[2026-06-24T12:19:01.387Z] [INFO]: TecDoc → getArticles | provider: 25791 | country: IN | url: https://webservice.tecalliance.services/pegasus-3-0/services/TecdocToCatDLB.jsonEndpoint
--------------------------------------------------

[2026-06-24T12:19:01.420Z] [INFO]: TecDoc → getArticles | provider: 25791 | country: IN | url: https://webservice.tecalliance.services/pegasus-3-0/services/TecdocToCatDLB.jsonEndpoint
--------------------------------------------------

[2026-06-24T12:19:01.598Z] [INFO]: TecDoc → getArticleLinkedAllLinkingTarget4 | provider: 25791 | country: IN | url: https://webservice.tecalliance.services/pegasus-3-0/services/TecdocToCatDLB.jsonEndpoint
--------------------------------------------------

[2026-06-24T12:19:01.735Z] [INFO]: TecDoc → getArticles | provider: 25791 | country: IN | url: https://webservice.tecalliance.services/pegasus-3-0/services/TecdocToCatDLB.jsonEndpoint
--------------------------------------------------

[2026-06-24T12:19:01.840Z] [INFO]: TecDoc → getArticleLinkedAllLinkingTargetsByIds3 | provider: 25791 | country: IN | url: https://webservice.tecalliance.services/pegasus-3-0/services/TecdocToCatDLB.jsonEndpoint
--------------------------------------------------

prisma:query SELECT `thecarg_db`.`cg_tbl_products`.`id`, `thecarg_db`.`cg_tbl_products`.`techdoc_article_id` FROM `thecarg_db`.`cg_tbl_products` WHERE (`thecarg_db`.`cg_tbl_products`.`techdoc_article_id` IN (?,?) AND `thecarg_db`.`cg_tbl_products`.`status` = ? AND `thecarg_db`.`cg_tbl_products`.`id` IN (?,?))
prisma:query SELECT `thecarg_db`.`cg_tbl_seller_products`.`id`, `thecarg_db`.`cg_tbl_seller_products`.`product_id`, `thecarg_db`.`cg_tbl_seller_products`.`customer_selling_price`, `thecarg_db`.`cg_tbl_seller_products`.`garage_selling_price`, `thecarg_db`.`cg_tbl_seller_products`.`mrp`, `thecarg_db`.`cg_tbl_seller_products`.`customer_discount_type`, `thecarg_db`.`cg_tbl_seller_products`.`customer_discount`, `thecarg_db`.`cg_tbl_seller_products`.`garage_discount_type`, `thecarg_db`.`cg_tbl_seller_products`.`garage_discount`, `thecarg_db`.`cg_tbl_seller_products`.`is_in_stock`, `thecarg_db`.`cg_tbl_seller_products`.`is_returnable`, `thecarg_db`.`cg_tbl_seller_products`.`return_days`, `thecarg_db`.`cg_tbl_seller_products`.`warranty_enabled`, `thecarg_db`.`cg_tbl_seller_products`.`warranty_duration`, `thecarg_db`.`cg_tbl_seller_products`.`warranty_duration_type`, `thecarg_db`.`cg_tbl_seller_products`.`warranty_document`, `thecarg_db`.`cg_tbl_seller_products`.`tax`, `thecarg_db`.`cg_tbl_seller_products`.`seller_id` FROM `thecarg_db`.`cg_tbl_seller_products` LEFT JOIN `thecarg_db`.`cg_tbl_sellers` AS `j1` ON (`j1`.`id`) = (`thecarg_db`.`cg_tbl_seller_products`.`seller_id`) WHERE (`thecarg_db`.`cg_tbl_seller_products`.`product_id` IN (?,?) AND `thecarg_db`.`cg_tbl_seller_products`.`status` = ? AND (`j1`.`status` = ? AND (`j1`.`id` IS NOT NULL))) ORDER BY `thecarg_db`.`cg_tbl_seller_products`.`customer_selling_price` ASC
prisma:query SELECT `thecarg_db`.`cg_tbl_sellers`.`id`, `thecarg_db`.`cg_tbl_sellers`.`seller_id`, `thecarg_db`.`cg_tbl_sellers`.`first_name`, `thecarg_db`.`cg_tbl_sellers`.`last_name`, `thecarg_db`.`cg_tbl_sellers`.`trade_name`, `thecarg_db`.`cg_tbl_sellers`.`city`, `thecarg_db`.`cg_tbl_sellers`.`state`, `thecarg_db`.`cg_tbl_sellers`.`email`, `thecarg_db`.`cg_tbl_sellers`.`mobile`, `thecarg_db`.`cg_tbl_sellers`.`address`, `thecarg_db`.`cg_tbl_sellers`.`pincode`, `thecarg_db`.`cg_tbl_sellers`.`status`, `thecarg_db`.`cg_tbl_sellers`.`operating_hours`, `thecarg_db`.`cg_tbl_sellers`.`zone`, `thecarg_db`.`cg_tbl_sellers`.`latitude`, `thecarg_db`.`cg_tbl_sellers`.`longitude` FROM `thecarg_db`.`cg_tbl_sellers` WHERE `thecarg_db`.`cg_tbl_sellers`.`id` IN (?)
prisma:query SELECT `thecarg_db`.`cg_tbl_zones`.`id`, `thecarg_db`.`cg_tbl_zones`.`zone_name` FROM `thecarg_db`.`cg_tbl_zones` WHERE 1=1
prisma:query SELECT `thecarg_db`.`cg_tbl_seller_products`.`id`, `thecarg_db`.`cg_tbl_seller_products`.`customer_selling_price`, `thecarg_db`.`cg_tbl_seller_products`.`garage_selling_price`, `thecarg_db`.`cg_tbl_seller_products`.`mrp`, `thecarg_db`.`cg_tbl_seller_products`.`customer_discount_type`, `thecarg_db`.`cg_tbl_seller_products`.`customer_discount`, `thecarg_db`.`cg_tbl_seller_products`.`garage_discount_type`, `thecarg_db`.`cg_tbl_seller_products`.`garage_discount`, `thecarg_db`.`cg_tbl_seller_products`.`is_in_stock`, `thecarg_db`.`cg_tbl_seller_products`.`is_returnable`, `thecarg_db`.`cg_tbl_seller_products`.`return_days`, `thecarg_db`.`cg_tbl_seller_products`.`warranty_enabled`, `thecarg_db`.`cg_tbl_seller_products`.`warranty_duration`, `thecarg_db`.`cg_tbl_seller_products`.`warranty_duration_type`, `thecarg_db`.`cg_tbl_seller_products`.`warranty_document`, `thecarg_db`.`cg_tbl_seller_products`.`tax`, `thecarg_db`.`cg_tbl_seller_products`.`seller_id` FROM `thecarg_db`.`cg_tbl_seller_products` LEFT JOIN `thecarg_db`.`cg_tbl_sellers` AS `j1` ON (`j1`.`id`) = (`thecarg_db`.`cg_tbl_seller_products`.`seller_id`) WHERE (`thecarg_db`.`cg_tbl_seller_products`.`product_id` = ? AND `thecarg_db`.`cg_tbl_seller_products`.`status` = ? AND (`j1`.`status` = ? AND (`j1`.`id` IS NOT NULL))) ORDER BY `thecarg_db`.`cg_tbl_seller_products`.`customer_selling_price` ASC
prisma:query SELECT `thecarg_db`.`cg_tbl_sellers`.`id`, `thecarg_db`.`cg_tbl_sellers`.`seller_id`, `thecarg_db`.`cg_tbl_sellers`.`first_name`, `thecarg_db`.`cg_tbl_sellers`.`last_name`, `thecarg_db`.`cg_tbl_sellers`.`trade_name`, `thecarg_db`.`cg_tbl_sellers`.`city`, `thecarg_db`.`cg_tbl_sellers`.`state`, `thecarg_db`.`cg_tbl_sellers`.`email`, `thecarg_db`.`cg_tbl_sellers`.`mobile`, `thecarg_db`.`cg_tbl_sellers`.`address`, `thecarg_db`.`cg_tbl_sellers`.`pincode`, `thecarg_db`.`cg_tbl_sellers`.`status`, `thecarg_db`.`cg_tbl_sellers`.`operating_hours`, `thecarg_db`.`cg_tbl_sellers`.`zone`, `thecarg_db`.`cg_tbl_sellers`.`latitude`, `thecarg_db`.`cg_tbl_sellers`.`longitude` FROM `thecarg_db`.`cg_tbl_sellers` WHERE `thecarg_db`.`cg_tbl_sellers`.`id` IN (?)
prisma:query SELECT `thecarg_db`.`cg_tbl_zones`.`id`, `thecarg_db`.`cg_tbl_zones`.`zone_name` FROM `thecarg_db`.`cg_tbl_zones` WHERE 1=1
prisma:query SELECT 1
prisma:query SELECT 1
prisma:query SELECT `thecarg_db`.`cg_tbl_zones`.`id` FROM `thecarg_db`.`cg_tbl_zones` WHERE (`thecarg_db`.`cg_tbl_zones`.`id` IN (?) AND `thecarg_db`.`cg_tbl_zones`.`status` = ?)
prisma:query SELECT `thecarg_db`.`cg_tbl_zones`.`id` FROM `thecarg_db`.`cg_tbl_zones` WHERE (`thecarg_db`.`cg_tbl_zones`.`id` IN (?) AND `thecarg_db`.`cg_tbl_zones`.`status` = ?)
prisma:query SELECT `thecarg_db`.`cg_tbl_zones`.`id` FROM `thecarg_db`.`cg_tbl_zones` WHERE (`thecarg_db`.`cg_tbl_zones`.`id` IN (?) AND `thecarg_db`.`cg_tbl_zones`.`status` = ?)
prisma:query SELECT 1
prisma:query SELECT `thecarg_db`.`cg_tbl_sellers`.`id`, `thecarg_db`.`cg_tbl_sellers`.`status`, `thecarg_db`.`cg_tbl_sellers`.`operating_hours`, `thecarg_db`.`cg_tbl_sellers`.`zone` FROM `thecarg_db`.`cg_tbl_sellers` WHERE `thecarg_db`.`cg_tbl_sellers`.`status` = ?
prisma:query SELECT COUNT(*) FROM (SELECT `thecarg_db`.`cg_tbl_cart`.`id` FROM `thecarg_db`.`cg_tbl_cart` WHERE (`thecarg_db`.`cg_tbl_cart`.`user_id` = ? AND `thecarg_db`.`cg_tbl_cart`.`user_role_id` = ?)) AS `sub`
prisma:query SELECT COUNT(*) FROM (SELECT `thecarg_db`.`cg_tbl_cart`.`id` FROM `thecarg_db`.`cg_tbl_cart` WHERE (`thecarg_db`.`cg_tbl_cart`.`user_id` = ? AND `thecarg_db`.`cg_tbl_cart`.`user_role_id` = ?)) AS `sub`
prisma:query SELECT `thecarg_db`.`cg_tbl_products`.`id`, `thecarg_db`.`cg_tbl_products`.`article_number` FROM `thecarg_db`.`cg_tbl_products` WHERE (`thecarg_db`.`cg_tbl_products`.`status` = ? AND (`thecarg_db`.`cg_tbl_products`.`id`) IN (SELECT `t1`.`product_id` FROM `thecarg_db`.`cg_tbl_seller_products` AS `t1` WHERE (`t1`.`status` = ? AND `t1`.`seller_id` IN (?) AND `t1`.`product_id` IS NOT NULL)) AND `thecarg_db`.`cg_tbl_products`.`generic_article_id` = ? AND `thecarg_db`.`cg_tbl_products`.`assembly_group_node_id` = ?) ORDER BY `thecarg_db`.`cg_tbl_products`.`id` ASC
prisma:query SELECT `thecarg_db`.`cg_tbl_cart`.`id`, `thecarg_db`.`cg_tbl_cart`.`user_id`, `thecarg_db`.`cg_tbl_cart`.`user_role_id`, `thecarg_db`.`cg_tbl_cart`.`seller_id`, `thecarg_db`.`cg_tbl_cart`.`product_id`, `thecarg_db`.`cg_tbl_cart`.`quantity`, `thecarg_db`.`cg_tbl_cart`.`price`, `thecarg_db`.`cg_tbl_cart`.`created_at`, `thecarg_db`.`cg_tbl_cart`.`updated_at` FROM `thecarg_db`.`cg_tbl_cart` WHERE (`thecarg_db`.`cg_tbl_cart`.`user_id` = ? AND `thecarg_db`.`cg_tbl_cart`.`user_role_id` = ?) ORDER BY `thecarg_db`.`cg_tbl_cart`.`created_at` DESC LIMIT ? OFFSET ?
prisma:query SELECT `thecarg_db`.`cg_tbl_cart`.`id`, `thecarg_db`.`cg_tbl_cart`.`user_id`, `thecarg_db`.`cg_tbl_cart`.`user_role_id`, `thecarg_db`.`cg_tbl_cart`.`seller_id`, `thecarg_db`.`cg_tbl_cart`.`product_id`, `thecarg_db`.`cg_tbl_cart`.`quantity`, `thecarg_db`.`cg_tbl_cart`.`price`, `thecarg_db`.`cg_tbl_cart`.`created_at`, `thecarg_db`.`cg_tbl_cart`.`updated_at` FROM `thecarg_db`.`cg_tbl_cart` WHERE (`thecarg_db`.`cg_tbl_cart`.`user_id` = ? AND `thecarg_db`.`cg_tbl_cart`.`user_role_id` = ?) ORDER BY `thecarg_db`.`cg_tbl_cart`.`created_at` DESC LIMIT ? OFFSET ?
prisma:query SELECT `thecarg_db`.`cg_tbl_products`.`id`, `thecarg_db`.`cg_tbl_products`.`techdoc_article_id`, `thecarg_db`.`cg_tbl_products`.`techdoc_brand_id`, `thecarg_db`.`cg_tbl_products`.`article_number`, `thecarg_db`.`cg_tbl_products`.`brand_name`, `thecarg_db`.`cg_tbl_products`.`status`, `thecarg_db`.`cg_tbl_products`.`created_at`, `thecarg_db`.`cg_tbl_products`.`updated_at`, `thecarg_db`.`cg_tbl_products`.`assembly_group_node_id`, `thecarg_db`.`cg_tbl_products`.`generic_article_id` FROM `thecarg_db`.`cg_tbl_products` WHERE `thecarg_db`.`cg_tbl_products`.`id` IN (?)
prisma:query SELECT `thecarg_db`.`cg_tbl_products`.`id`, `thecarg_db`.`cg_tbl_products`.`techdoc_article_id`, `thecarg_db`.`cg_tbl_products`.`techdoc_brand_id`, `thecarg_db`.`cg_tbl_products`.`article_number`, `thecarg_db`.`cg_tbl_products`.`brand_name`, `thecarg_db`.`cg_tbl_products`.`status`, `thecarg_db`.`cg_tbl_products`.`created_at`, `thecarg_db`.`cg_tbl_products`.`updated_at`, `thecarg_db`.`cg_tbl_products`.`assembly_group_node_id`, `thecarg_db`.`cg_tbl_products`.`generic_article_id` FROM `thecarg_db`.`cg_tbl_products` WHERE `thecarg_db`.`cg_tbl_products`.`id` IN (?)
[2026-06-24T12:19:39.000Z] [INFO]: TecDoc → getArticles | provider: 25791 | country: IN | url: https://webservice.tecalliance.services/pegasus-3-0/services/TecdocToCatDLB.jsonEndpoint
--------------------------------------------------

[2026-06-24T12:19:39.004Z] [INFO]: TecDoc → getArticles | provider: 25791 | country: IN | url: https://webservice.tecalliance.services/pegasus-3-0/services/TecdocToCatDLB.jsonEndpoint
--------------------------------------------------

prisma:query SELECT `thecarg_db`.`cg_tbl_products`.`article_number` FROM `thecarg_db`.`cg_tbl_products` WHERE `thecarg_db`.`cg_tbl_products`.`id` IN (?,?) GROUP BY `thecarg_db`.`cg_tbl_products`.`article_number`
prisma:query SELECT MIN(`thecarg_db`.`cg_tbl_products`.`id`), `thecarg_db`.`cg_tbl_products`.`article_number` FROM `thecarg_db`.`cg_tbl_products` WHERE `thecarg_db`.`cg_tbl_products`.`id` IN (?,?) GROUP BY `thecarg_db`.`cg_tbl_products`.`article_number` ORDER BY MIN(`thecarg_db`.`cg_tbl_products`.`id`) ASC LIMIT ? OFFSET ?
prisma:query SELECT `thecarg_db`.`cg_tbl_products`.`id`, `thecarg_db`.`cg_tbl_products`.`techdoc_article_id`, `thecarg_db`.`cg_tbl_products`.`techdoc_brand_id`, `thecarg_db`.`cg_tbl_products`.`article_number`, `thecarg_db`.`cg_tbl_products`.`brand_name`, `thecarg_db`.`cg_tbl_products`.`status`, `thecarg_db`.`cg_tbl_products`.`created_at`, `thecarg_db`.`cg_tbl_products`.`updated_at`, `thecarg_db`.`cg_tbl_products`.`assembly_group_node_id`, `thecarg_db`.`cg_tbl_products`.`generic_article_id` FROM `thecarg_db`.`cg_tbl_products` WHERE `thecarg_db`.`cg_tbl_products`.`id` IN (?,?) ORDER BY `thecarg_db`.`cg_tbl_products`.`id` ASC
[2026-06-24T12:19:39.016Z] [INFO]: TecDoc → getArticles | provider: 25791 | country: IN | url: https://webservice.tecalliance.services/pegasus-3-0/services/TecdocToCatDLB.jsonEndpoint
--------------------------------------------------

[2026-06-24T12:19:39.038Z] [INFO]: TecDoc → getArticles | provider: 25791 | country: IN | url: https://webservice.tecalliance.services/pegasus-3-0/services/TecdocToCatDLB.jsonEndpoint
--------------------------------------------------

[2026-06-24T12:19:39.462Z] [INFO]: TecDoc → getArticles | provider: 25791 | country: IN | url: https://webservice.tecalliance.services/pegasus-3-0/services/TecdocToCatDLB.jsonEndpoint
--------------------------------------------------

[2026-06-24T12:19:39.476Z] [INFO]: TecDoc → getArticles | provider: 25791 | country: IN | url: https://webservice.tecalliance.services/pegasus-3-0/services/TecdocToCatDLB.jsonEndpoint
--------------------------------------------------

[2026-06-24T12:19:39.487Z] [INFO]: TecDoc → getArticles | provider: 25791 | country: IN | url: https://webservice.tecalliance.services/pegasus-3-0/services/TecdocToCatDLB.jsonEndpoint
--------------------------------------------------

[2026-06-24T12:19:39.506Z] [INFO]: TecDoc → getArticles | provider: 25791 | country: IN | url: https://webservice.tecalliance.services/pegasus-3-0/services/TecdocToCatDLB.jsonEndpoint
--------------------------------------------------

prisma:query SELECT `thecarg_db`.`cg_tbl_seller_products`.`id`, `thecarg_db`.`cg_tbl_seller_products`.`seller_id`, `thecarg_db`.`cg_tbl_seller_products`.`product_id`, `thecarg_db`.`cg_tbl_seller_products`.`category_id`, `thecarg_db`.`cg_tbl_seller_products`.`subcategory_id`, `thecarg_db`.`cg_tbl_seller_products`.`mrp`, `thecarg_db`.`cg_tbl_seller_products`.`customer_selling_price`, `thecarg_db`.`cg_tbl_seller_products`.`garage_selling_price`, `thecarg_db`.`cg_tbl_seller_products`.`customer_discount_type`, `thecarg_db`.`cg_tbl_seller_products`.`customer_discount`, `thecarg_db`.`cg_tbl_seller_products`.`is_returnable`, `thecarg_db`.`cg_tbl_seller_products`.`return_days`, `thecarg_db`.`cg_tbl_seller_products`.`tax`, `thecarg_db`.`cg_tbl_seller_products`.`garage_discount_type`, `thecarg_db`.`cg_tbl_seller_products`.`garage_discount`, `thecarg_db`.`cg_tbl_seller_products`.`warranty_enabled`, `thecarg_db`.`cg_tbl_seller_products`.`warranty_duration`, `thecarg_db`.`cg_tbl_seller_products`.`warranty_duration_type`, `thecarg_db`.`cg_tbl_seller_products`.`warranty_document`, `thecarg_db`.`cg_tbl_seller_products`.`status`, `thecarg_db`.`cg_tbl_seller_products`.`created_at`, `thecarg_db`.`cg_tbl_seller_products`.`updated_at`, `thecarg_db`.`cg_tbl_seller_products`.`is_in_stock` FROM `thecarg_db`.`cg_tbl_seller_products` LEFT JOIN `thecarg_db`.`cg_tbl_sellers` AS `j1` ON (`j1`.`id`) = (`thecarg_db`.`cg_tbl_seller_products`.`seller_id`) WHERE (`thecarg_db`.`cg_tbl_seller_products`.`product_id` = ? AND `thecarg_db`.`cg_tbl_seller_products`.`seller_id` = ? AND `thecarg_db`.`cg_tbl_seller_products`.`status` = ? AND `thecarg_db`.`cg_tbl_seller_products`.`is_in_stock` = ? AND (`j1`.`status` = ? AND (`j1`.`id` IS NOT NULL))) LIMIT ? OFFSET ?
prisma:query SELECT `thecarg_db`.`cg_tbl_seller_products`.`id`, `thecarg_db`.`cg_tbl_seller_products`.`seller_id`, `thecarg_db`.`cg_tbl_seller_products`.`product_id`, `thecarg_db`.`cg_tbl_seller_products`.`category_id`, `thecarg_db`.`cg_tbl_seller_products`.`subcategory_id`, `thecarg_db`.`cg_tbl_seller_products`.`mrp`, `thecarg_db`.`cg_tbl_seller_products`.`customer_selling_price`, `thecarg_db`.`cg_tbl_seller_products`.`garage_selling_price`, `thecarg_db`.`cg_tbl_seller_products`.`customer_discount_type`, `thecarg_db`.`cg_tbl_seller_products`.`customer_discount`, `thecarg_db`.`cg_tbl_seller_products`.`is_returnable`, `thecarg_db`.`cg_tbl_seller_products`.`return_days`, `thecarg_db`.`cg_tbl_seller_products`.`tax`, `thecarg_db`.`cg_tbl_seller_products`.`garage_discount_type`, `thecarg_db`.`cg_tbl_seller_products`.`garage_discount`, `thecarg_db`.`cg_tbl_seller_products`.`warranty_enabled`, `thecarg_db`.`cg_tbl_seller_products`.`warranty_duration`, `thecarg_db`.`cg_tbl_seller_products`.`warranty_duration_type`, `thecarg_db`.`cg_tbl_seller_products`.`warranty_document`, `thecarg_db`.`cg_tbl_seller_products`.`status`, `thecarg_db`.`cg_tbl_seller_products`.`created_at`, `thecarg_db`.`cg_tbl_seller_products`.`updated_at`, `thecarg_db`.`cg_tbl_seller_products`.`is_in_stock` FROM `thecarg_db`.`cg_tbl_seller_products` LEFT JOIN `thecarg_db`.`cg_tbl_sellers` AS `j1` ON (`j1`.`id`) = (`thecarg_db`.`cg_tbl_seller_products`.`seller_id`) WHERE (`thecarg_db`.`cg_tbl_seller_products`.`product_id` = ? AND `thecarg_db`.`cg_tbl_seller_products`.`seller_id` = ? AND `thecarg_db`.`cg_tbl_seller_products`.`status` = ? AND `thecarg_db`.`cg_tbl_seller_products`.`is_in_stock` = ? AND (`j1`.`status` = ? AND (`j1`.`id` IS NOT NULL))) LIMIT ? OFFSET ?
prisma:query SELECT `thecarg_db`.`cg_tbl_sellers`.`id`, `thecarg_db`.`cg_tbl_sellers`.`seller_id`, `thecarg_db`.`cg_tbl_sellers`.`first_name`, `thecarg_db`.`cg_tbl_sellers`.`last_name`, `thecarg_db`.`cg_tbl_sellers`.`mobile`, `thecarg_db`.`cg_tbl_sellers`.`email`, `thecarg_db`.`cg_tbl_sellers`.`trade_name`, `thecarg_db`.`cg_tbl_sellers`.`entity_type`, `thecarg_db`.`cg_tbl_sellers`.`aadhaar_number`, `thecarg_db`.`cg_tbl_sellers`.`pan_number`, `thecarg_db`.`cg_tbl_sellers`.`gstin_number`, `thecarg_db`.`cg_tbl_sellers`.`cin_number`, `thecarg_db`.`cg_tbl_sellers`.`operating_hours`, `thecarg_db`.`cg_tbl_sellers`.`specific_commission`, `thecarg_db`.`cg_tbl_sellers`.`customer_order_commission`, `thecarg_db`.`cg_tbl_sellers`.`garage_order_commission`, `thecarg_db`.`cg_tbl_sellers`.`requested_customer_order_commission`, `thecarg_db`.`cg_tbl_sellers`.`requested_garage_order_commission`, `thecarg_db`.`cg_tbl_sellers`.`bank_name`, `thecarg_db`.`cg_tbl_sellers`.`bank_account_number`, `thecarg_db`.`cg_tbl_sellers`.`bank_ifsc_code`, `thecarg_db`.`cg_tbl_sellers`.`address`, `thecarg_db`.`cg_tbl_sellers`.`latitude`, `thecarg_db`.`cg_tbl_sellers`.`longitude`, `thecarg_db`.`cg_tbl_sellers`.`state`, `thecarg_db`.`cg_tbl_sellers`.`city`, `thecarg_db`.`cg_tbl_sellers`.`zone`, `thecarg_db`.`cg_tbl_sellers`.`pincode`, `thecarg_db`.`cg_tbl_sellers`.`pan_card_file`, `thecarg_db`.`cg_tbl_sellers`.`gst_file`, `thecarg_db`.`cg_tbl_sellers`.`cin_file`, `thecarg_db`.`cg_tbl_sellers`.`cancelled_cheque_file`, `thecarg_db`.`cg_tbl_sellers`.`aadhaar_pan_signatory_file`, `thecarg_db`.`cg_tbl_sellers`.`other_documents_file`, `thecarg_db`.`cg_tbl_sellers`.`status`, `thecarg_db`.`cg_tbl_sellers`.`is_verified`, `thecarg_db`.`cg_tbl_sellers`.`fcm_token`, `thecarg_db`.`cg_tbl_sellers`.`subscription_id`, `thecarg_db`.`cg_tbl_sellers`.`subscription_start_date`, `thecarg_db`.`cg_tbl_sellers`.`subscription_end_date`, `thecarg_db`.`cg_tbl_sellers`.`created_at`, `thecarg_db`.`cg_tbl_sellers`.`updated_at` FROM `thecarg_db`.`cg_tbl_sellers` WHERE `thecarg_db`.`cg_tbl_sellers`.`id` IN (?)
prisma:query SELECT `thecarg_db`.`cg_tbl_sellers`.`id`, `thecarg_db`.`cg_tbl_sellers`.`seller_id`, `thecarg_db`.`cg_tbl_sellers`.`first_name`, `thecarg_db`.`cg_tbl_sellers`.`last_name`, `thecarg_db`.`cg_tbl_sellers`.`mobile`, `thecarg_db`.`cg_tbl_sellers`.`email`, `thecarg_db`.`cg_tbl_sellers`.`trade_name`, `thecarg_db`.`cg_tbl_sellers`.`entity_type`, `thecarg_db`.`cg_tbl_sellers`.`aadhaar_number`, `thecarg_db`.`cg_tbl_sellers`.`pan_number`, `thecarg_db`.`cg_tbl_sellers`.`gstin_number`, `thecarg_db`.`cg_tbl_sellers`.`cin_number`, `thecarg_db`.`cg_tbl_sellers`.`operating_hours`, `thecarg_db`.`cg_tbl_sellers`.`specific_commission`, `thecarg_db`.`cg_tbl_sellers`.`customer_order_commission`, `thecarg_db`.`cg_tbl_sellers`.`garage_order_commission`, `thecarg_db`.`cg_tbl_sellers`.`requested_customer_order_commission`, `thecarg_db`.`cg_tbl_sellers`.`requested_garage_order_commission`, `thecarg_db`.`cg_tbl_sellers`.`bank_name`, `thecarg_db`.`cg_tbl_sellers`.`bank_account_number`, `thecarg_db`.`cg_tbl_sellers`.`bank_ifsc_code`, `thecarg_db`.`cg_tbl_sellers`.`address`, `thecarg_db`.`cg_tbl_sellers`.`latitude`, `thecarg_db`.`cg_tbl_sellers`.`longitude`, `thecarg_db`.`cg_tbl_sellers`.`state`, `thecarg_db`.`cg_tbl_sellers`.`city`, `thecarg_db`.`cg_tbl_sellers`.`zone`, `thecarg_db`.`cg_tbl_sellers`.`pincode`, `thecarg_db`.`cg_tbl_sellers`.`pan_card_file`, `thecarg_db`.`cg_tbl_sellers`.`gst_file`, `thecarg_db`.`cg_tbl_sellers`.`cin_file`, `thecarg_db`.`cg_tbl_sellers`.`cancelled_cheque_file`, `thecarg_db`.`cg_tbl_sellers`.`aadhaar_pan_signatory_file`, `thecarg_db`.`cg_tbl_sellers`.`other_documents_file`, `thecarg_db`.`cg_tbl_sellers`.`status`, `thecarg_db`.`cg_tbl_sellers`.`is_verified`, `thecarg_db`.`cg_tbl_sellers`.`fcm_token`, `thecarg_db`.`cg_tbl_sellers`.`subscription_id`, `thecarg_db`.`cg_tbl_sellers`.`subscription_start_date`, `thecarg_db`.`cg_tbl_sellers`.`subscription_end_date`, `thecarg_db`.`cg_tbl_sellers`.`created_at`, `thecarg_db`.`cg_tbl_sellers`.`updated_at` FROM `thecarg_db`.`cg_tbl_sellers` WHERE `thecarg_db`.`cg_tbl_sellers`.`id` IN (?)
prisma:query SELECT `thecarg_db`.`cg_tbl_products`.`id`, `thecarg_db`.`cg_tbl_products`.`techdoc_article_id` FROM `thecarg_db`.`cg_tbl_products` WHERE (`thecarg_db`.`cg_tbl_products`.`techdoc_article_id` IN (?,?) AND `thecarg_db`.`cg_tbl_products`.`status` = ? AND `thecarg_db`.`cg_tbl_products`.`id` IN (?,?))
prisma:query SELECT `thecarg_db`.`cg_tbl_seller_products`.`id`, `thecarg_db`.`cg_tbl_seller_products`.`product_id`, `thecarg_db`.`cg_tbl_seller_products`.`customer_selling_price`, `thecarg_db`.`cg_tbl_seller_products`.`garage_selling_price`, `thecarg_db`.`cg_tbl_seller_products`.`mrp`, `thecarg_db`.`cg_tbl_seller_products`.`customer_discount_type`, `thecarg_db`.`cg_tbl_seller_products`.`customer_discount`, `thecarg_db`.`cg_tbl_seller_products`.`garage_discount_type`, `thecarg_db`.`cg_tbl_seller_products`.`garage_discount`, `thecarg_db`.`cg_tbl_seller_products`.`is_in_stock`, `thecarg_db`.`cg_tbl_seller_products`.`is_returnable`, `thecarg_db`.`cg_tbl_seller_products`.`return_days`, `thecarg_db`.`cg_tbl_seller_products`.`warranty_enabled`, `thecarg_db`.`cg_tbl_seller_products`.`warranty_duration`, `thecarg_db`.`cg_tbl_seller_products`.`warranty_duration_type`, `thecarg_db`.`cg_tbl_seller_products`.`warranty_document`, `thecarg_db`.`cg_tbl_seller_products`.`tax`, `thecarg_db`.`cg_tbl_seller_products`.`seller_id` FROM `thecarg_db`.`cg_tbl_seller_products` LEFT JOIN `thecarg_db`.`cg_tbl_sellers` AS `j1` ON (`j1`.`id`) = (`thecarg_db`.`cg_tbl_seller_products`.`seller_id`) WHERE (`thecarg_db`.`cg_tbl_seller_products`.`product_id` IN (?,?) AND `thecarg_db`.`cg_tbl_seller_products`.`status` = ? AND (`j1`.`status` = ? AND (`j1`.`id` IS NOT NULL))) ORDER BY `thecarg_db`.`cg_tbl_seller_products`.`customer_selling_price` ASC
prisma:query SELECT `thecarg_db`.`cg_tbl_sellers`.`id`, `thecarg_db`.`cg_tbl_sellers`.`seller_id`, `thecarg_db`.`cg_tbl_sellers`.`first_name`, `thecarg_db`.`cg_tbl_sellers`.`last_name`, `thecarg_db`.`cg_tbl_sellers`.`trade_name`, `thecarg_db`.`cg_tbl_sellers`.`city`, `thecarg_db`.`cg_tbl_sellers`.`state`, `thecarg_db`.`cg_tbl_sellers`.`email`, `thecarg_db`.`cg_tbl_sellers`.`mobile`, `thecarg_db`.`cg_tbl_sellers`.`address`, `thecarg_db`.`cg_tbl_sellers`.`pincode`, `thecarg_db`.`cg_tbl_sellers`.`status`, `thecarg_db`.`cg_tbl_sellers`.`operating_hours`, `thecarg_db`.`cg_tbl_sellers`.`zone`, `thecarg_db`.`cg_tbl_sellers`.`latitude`, `thecarg_db`.`cg_tbl_sellers`.`longitude` FROM `thecarg_db`.`cg_tbl_sellers` WHERE `thecarg_db`.`cg_tbl_sellers`.`id` IN (?)
prisma:query SELECT `thecarg_db`.`cg_tbl_zones`.`id`, `thecarg_db`.`cg_tbl_zones`.`zone_name` FROM `thecarg_db`.`cg_tbl_zones` WHERE 1=1
prisma:query SELECT `thecarg_db`.`cg_tbl_zones`.`id` FROM `thecarg_db`.`cg_tbl_zones` WHERE (`thecarg_db`.`cg_tbl_zones`.`id` IN (?) AND `thecarg_db`.`cg_tbl_zones`.`status` = ?)
prisma:query SELECT `thecarg_db`.`cg_tbl_sellers`.`id`, `thecarg_db`.`cg_tbl_sellers`.`status`, `thecarg_db`.`cg_tbl_sellers`.`operating_hours`, `thecarg_db`.`cg_tbl_sellers`.`zone` FROM `thecarg_db`.`cg_tbl_sellers` WHERE `thecarg_db`.`cg_tbl_sellers`.`status` = ?
prisma:query SELECT `thecarg_db`.`cg_tbl_products`.`id`, `thecarg_db`.`cg_tbl_products`.`article_number` FROM `thecarg_db`.`cg_tbl_products` WHERE (`thecarg_db`.`cg_tbl_products`.`status` = ? AND (`thecarg_db`.`cg_tbl_products`.`id`) IN (SELECT `t1`.`product_id` FROM `thecarg_db`.`cg_tbl_seller_products` AS `t1` WHERE (`t1`.`status` = ? AND `t1`.`seller_id` IN (?) AND `t1`.`product_id` IS NOT NULL)) AND `thecarg_db`.`cg_tbl_products`.`generic_article_id` = ? AND `thecarg_db`.`cg_tbl_products`.`assembly_group_node_id` = ?) ORDER BY `thecarg_db`.`cg_tbl_products`.`id` ASC
prisma:query SELECT `thecarg_db`.`cg_tbl_products`.`article_number` FROM `thecarg_db`.`cg_tbl_products` WHERE `thecarg_db`.`cg_tbl_products`.`id` IN (?,?) GROUP BY `thecarg_db`.`cg_tbl_products`.`article_number`
prisma:query SELECT MIN(`thecarg_db`.`cg_tbl_products`.`id`), `thecarg_db`.`cg_tbl_products`.`article_number` FROM `thecarg_db`.`cg_tbl_products` WHERE `thecarg_db`.`cg_tbl_products`.`id` IN (?,?) GROUP BY `thecarg_db`.`cg_tbl_products`.`article_number` ORDER BY MIN(`thecarg_db`.`cg_tbl_products`.`id`) ASC LIMIT ? OFFSET ?
prisma:query SELECT `thecarg_db`.`cg_tbl_products`.`id`, `thecarg_db`.`cg_tbl_products`.`techdoc_article_id`, `thecarg_db`.`cg_tbl_products`.`techdoc_brand_id`, `thecarg_db`.`cg_tbl_products`.`article_number`, `thecarg_db`.`cg_tbl_products`.`brand_name`, `thecarg_db`.`cg_tbl_products`.`status`, `thecarg_db`.`cg_tbl_products`.`created_at`, `thecarg_db`.`cg_tbl_products`.`updated_at`, `thecarg_db`.`cg_tbl_products`.`assembly_group_node_id`, `thecarg_db`.`cg_tbl_products`.`generic_article_id` FROM `thecarg_db`.`cg_tbl_products` WHERE `thecarg_db`.`cg_tbl_products`.`id` IN (?,?) ORDER BY `thecarg_db`.`cg_tbl_products`.`id` ASC
[2026-06-24T12:19:40.656Z] [INFO]: TecDoc → getArticles | provider: 25791 | country: IN | url: https://webservice.tecalliance.services/pegasus-3-0/services/TecdocToCatDLB.jsonEndpoint
--------------------------------------------------

[2026-06-24T12:19:40.659Z] [INFO]: TecDoc → getArticles | provider: 25791 | country: IN | url: https://webservice.tecalliance.services/pegasus-3-0/services/TecdocToCatDLB.jsonEndpoint
--------------------------------------------------

[2026-06-24T12:19:40.814Z] [INFO]: TecDoc → getArticles | provider: 25791 | country: IN | url: https://webservice.tecalliance.services/pegasus-3-0/services/TecdocToCatDLB.jsonEndpoint
--------------------------------------------------

[2026-06-24T12:19:40.820Z] [INFO]: TecDoc → getArticles | provider: 25791 | country: IN | url: https://webservice.tecalliance.services/pegasus-3-0/services/TecdocToCatDLB.jsonEndpoint
--------------------------------------------------

prisma:query SELECT `thecarg_db`.`cg_tbl_products`.`id`, `thecarg_db`.`cg_tbl_products`.`techdoc_article_id` FROM `thecarg_db`.`cg_tbl_products` WHERE (`thecarg_db`.`cg_tbl_products`.`techdoc_article_id` IN (?,?) AND `thecarg_db`.`cg_tbl_products`.`status` = ? AND `thecarg_db`.`cg_tbl_products`.`id` IN (?,?))
prisma:query SELECT `thecarg_db`.`cg_tbl_seller_products`.`id`, `thecarg_db`.`cg_tbl_seller_products`.`product_id`, `thecarg_db`.`cg_tbl_seller_products`.`customer_selling_price`, `thecarg_db`.`cg_tbl_seller_products`.`garage_selling_price`, `thecarg_db`.`cg_tbl_seller_products`.`mrp`, `thecarg_db`.`cg_tbl_seller_products`.`customer_discount_type`, `thecarg_db`.`cg_tbl_seller_products`.`customer_discount`, `thecarg_db`.`cg_tbl_seller_products`.`garage_discount_type`, `thecarg_db`.`cg_tbl_seller_products`.`garage_discount`, `thecarg_db`.`cg_tbl_seller_products`.`is_in_stock`, `thecarg_db`.`cg_tbl_seller_products`.`is_returnable`, `thecarg_db`.`cg_tbl_seller_products`.`return_days`, `thecarg_db`.`cg_tbl_seller_products`.`warranty_enabled`, `thecarg_db`.`cg_tbl_seller_products`.`warranty_duration`, `thecarg_db`.`cg_tbl_seller_products`.`warranty_duration_type`, `thecarg_db`.`cg_tbl_seller_products`.`warranty_document`, `thecarg_db`.`cg_tbl_seller_products`.`tax`, `thecarg_db`.`cg_tbl_seller_products`.`seller_id` FROM `thecarg_db`.`cg_tbl_seller_products` LEFT JOIN `thecarg_db`.`cg_tbl_sellers` AS `j1` ON (`j1`.`id`) = (`thecarg_db`.`cg_tbl_seller_products`.`seller_id`) WHERE (`thecarg_db`.`cg_tbl_seller_products`.`product_id` IN (?,?) AND `thecarg_db`.`cg_tbl_seller_products`.`status` = ? AND (`j1`.`status` = ? AND (`j1`.`id` IS NOT NULL))) ORDER BY `thecarg_db`.`cg_tbl_seller_products`.`customer_selling_price` ASC
prisma:query SELECT `thecarg_db`.`cg_tbl_sellers`.`id`, `thecarg_db`.`cg_tbl_sellers`.`seller_id`, `thecarg_db`.`cg_tbl_sellers`.`first_name`, `thecarg_db`.`cg_tbl_sellers`.`last_name`, `thecarg_db`.`cg_tbl_sellers`.`trade_name`, `thecarg_db`.`cg_tbl_sellers`.`city`, `thecarg_db`.`cg_tbl_sellers`.`state`, `thecarg_db`.`cg_tbl_sellers`.`email`, `thecarg_db`.`cg_tbl_sellers`.`mobile`, `thecarg_db`.`cg_tbl_sellers`.`address`, `thecarg_db`.`cg_tbl_sellers`.`pincode`, `thecarg_db`.`cg_tbl_sellers`.`status`, `thecarg_db`.`cg_tbl_sellers`.`operating_hours`, `thecarg_db`.`cg_tbl_sellers`.`zone`, `thecarg_db`.`cg_tbl_sellers`.`latitude`, `thecarg_db`.`cg_tbl_sellers`.`longitude` FROM `thecarg_db`.`cg_tbl_sellers` WHERE `thecarg_db`.`cg_tbl_sellers`.`id` IN (?)
prisma:query SELECT `thecarg_db`.`cg_tbl_zones`.`id`, `thecarg_db`.`cg_tbl_zones`.`zone_name` FROM `thecarg_db`.`cg_tbl_zones` WHERE 1=1
[32m[nodemon] restarting due to changes...[39m
[32m[nodemon] starting `ts-node-esm src/server.js`[39m
[32m[nodemon] restarting due to changes...[39m
[32m[nodemon] starting `ts-node-esm src/server.js`[39m
prisma:info Starting a mysql pool with 9 connections.
[2026-06-24T12:20:10.047Z] [INFO]: Successfully connected to the MySQL Database via Prisma!
--------------------------------------------------

prisma:query SELECT `thecarg_db`.`cg_tbl_business_settings`.`id`, `thecarg_db`.`cg_tbl_business_settings`.`key`, `thecarg_db`.`cg_tbl_business_settings`.`value`, `thecarg_db`.`cg_tbl_business_settings`.`created_at`, `thecarg_db`.`cg_tbl_business_settings`.`updated_at` FROM `thecarg_db`.`cg_tbl_business_settings` WHERE `thecarg_db`.`cg_tbl_business_settings`.`key` = ? LIMIT ? OFFSET ?
prisma:query SELECT `thecarg_db`.`cg_tbl_business_settings`.`id`, `thecarg_db`.`cg_tbl_business_settings`.`key`, `thecarg_db`.`cg_tbl_business_settings`.`value`, `thecarg_db`.`cg_tbl_business_settings`.`created_at`, `thecarg_db`.`cg_tbl_business_settings`.`updated_at` FROM `thecarg_db`.`cg_tbl_business_settings` WHERE `thecarg_db`.`cg_tbl_business_settings`.`key` = ? LIMIT ? OFFSET ?
Firebase initialized successfully
[2026-06-24T12:20:10.081Z] [INFO]: Server is running in development mode on port 5000
--------------------------------------------------

[2026-06-24T12:20:10.083Z] [INFO]: Endpoint: http://localhost:5000
--------------------------------------------------

prisma:query SELECT `thecarg_db`.`cg_tbl_zones`.`id` FROM `thecarg_db`.`cg_tbl_zones` WHERE (`thecarg_db`.`cg_tbl_zones`.`id` IN (?) AND `thecarg_db`.`cg_tbl_zones`.`status` = ?)
prisma:query SELECT `thecarg_db`.`cg_tbl_sellers`.`id`, `thecarg_db`.`cg_tbl_sellers`.`status`, `thecarg_db`.`cg_tbl_sellers`.`operating_hours`, `thecarg_db`.`cg_tbl_sellers`.`zone` FROM `thecarg_db`.`cg_tbl_sellers` WHERE `thecarg_db`.`cg_tbl_sellers`.`status` = ?
prisma:query SELECT `thecarg_db`.`cg_tbl_zones`.`id` FROM `thecarg_db`.`cg_tbl_zones` WHERE (`thecarg_db`.`cg_tbl_zones`.`id` IN (?) AND `thecarg_db`.`cg_tbl_zones`.`status` = ?)
prisma:query SELECT `thecarg_db`.`cg_tbl_products`.`id`, `thecarg_db`.`cg_tbl_products`.`article_number` FROM `thecarg_db`.`cg_tbl_products` WHERE (`thecarg_db`.`cg_tbl_products`.`status` = ? AND (`thecarg_db`.`cg_tbl_products`.`id`) IN (SELECT `t1`.`product_id` FROM `thecarg_db`.`cg_tbl_seller_products` AS `t1` WHERE (`t1`.`status` = ? AND `t1`.`seller_id` IN (?) AND `t1`.`product_id` IS NOT NULL)) AND `thecarg_db`.`cg_tbl_products`.`generic_article_id` = ? AND `thecarg_db`.`cg_tbl_products`.`assembly_group_node_id` = ?) ORDER BY `thecarg_db`.`cg_tbl_products`.`id` ASC
prisma:query SELECT `thecarg_db`.`cg_tbl_products`.`article_number` FROM `thecarg_db`.`cg_tbl_products` WHERE `thecarg_db`.`cg_tbl_products`.`id` IN (?,?) GROUP BY `thecarg_db`.`cg_tbl_products`.`article_number`
prisma:query SELECT MIN(`thecarg_db`.`cg_tbl_products`.`id`), `thecarg_db`.`cg_tbl_products`.`article_number` FROM `thecarg_db`.`cg_tbl_products` WHERE `thecarg_db`.`cg_tbl_products`.`id` IN (?,?) GROUP BY `thecarg_db`.`cg_tbl_products`.`article_number` ORDER BY MIN(`thecarg_db`.`cg_tbl_products`.`id`) ASC LIMIT ? OFFSET ?
prisma:query SELECT `thecarg_db`.`cg_tbl_products`.`id`, `thecarg_db`.`cg_tbl_products`.`techdoc_article_id`, `thecarg_db`.`cg_tbl_products`.`techdoc_brand_id`, `thecarg_db`.`cg_tbl_products`.`article_number`, `thecarg_db`.`cg_tbl_products`.`brand_name`, `thecarg_db`.`cg_tbl_products`.`status`, `thecarg_db`.`cg_tbl_products`.`created_at`, `thecarg_db`.`cg_tbl_products`.`updated_at`, `thecarg_db`.`cg_tbl_products`.`assembly_group_node_id`, `thecarg_db`.`cg_tbl_products`.`generic_article_id` FROM `thecarg_db`.`cg_tbl_products` WHERE `thecarg_db`.`cg_tbl_products`.`id` IN (?,?) ORDER BY `thecarg_db`.`cg_tbl_products`.`id` ASC
prisma:query SELECT `thecarg_db`.`cg_tbl_user_roles`.`id`, `thecarg_db`.`cg_tbl_user_roles`.`role_name`, `thecarg_db`.`cg_tbl_user_roles`.`role_slug`, `thecarg_db`.`cg_tbl_user_roles`.`status`, `thecarg_db`.`cg_tbl_user_roles`.`created_at`, `thecarg_db`.`cg_tbl_user_roles`.`updated_at` FROM `thecarg_db`.`cg_tbl_user_roles` WHERE `thecarg_db`.`cg_tbl_user_roles`.`role_slug` = ? LIMIT ? OFFSET ?
prisma:query SELECT `thecarg_db`.`cg_tbl_business_settings`.`id`, `thecarg_db`.`cg_tbl_business_settings`.`key`, `thecarg_db`.`cg_tbl_business_settings`.`value`, `thecarg_db`.`cg_tbl_business_settings`.`created_at`, `thecarg_db`.`cg_tbl_business_settings`.`updated_at` FROM `thecarg_db`.`cg_tbl_business_settings` WHERE `thecarg_db`.`cg_tbl_business_settings`.`key` = ? LIMIT ? OFFSET ?
prisma:query SELECT `thecarg_db`.`cg_tbl_business_settings`.`id`, `thecarg_db`.`cg_tbl_business_settings`.`key`, `thecarg_db`.`cg_tbl_business_settings`.`value`, `thecarg_db`.`cg_tbl_business_settings`.`created_at`, `thecarg_db`.`cg_tbl_business_settings`.`updated_at` FROM `thecarg_db`.`cg_tbl_business_settings` WHERE `thecarg_db`.`cg_tbl_business_settings`.`key` = ? LIMIT ? OFFSET ?
prisma:query SELECT `thecarg_db`.`cg_tbl_business_settings`.`id`, `thecarg_db`.`cg_tbl_business_settings`.`key`, `thecarg_db`.`cg_tbl_business_settings`.`value`, `thecarg_db`.`cg_tbl_business_settings`.`created_at`, `thecarg_db`.`cg_tbl_business_settings`.`updated_at` FROM `thecarg_db`.`cg_tbl_business_settings` WHERE `thecarg_db`.`cg_tbl_business_settings`.`key` = ? LIMIT ? OFFSET ?
prisma:query SELECT `thecarg_db`.`cg_tbl_business_settings`.`id`, `thecarg_db`.`cg_tbl_business_settings`.`key`, `thecarg_db`.`cg_tbl_business_settings`.`value`, `thecarg_db`.`cg_tbl_business_settings`.`created_at`, `thecarg_db`.`cg_tbl_business_settings`.`updated_at` FROM `thecarg_db`.`cg_tbl_business_settings` WHERE `thecarg_db`.`cg_tbl_business_settings`.`key` = ? LIMIT ? OFFSET ?
prisma:query SELECT COUNT(*) FROM (SELECT `thecarg_db`.`cg_tbl_cart`.`id` FROM `thecarg_db`.`cg_tbl_cart` WHERE (`thecarg_db`.`cg_tbl_cart`.`user_id` = ? AND `thecarg_db`.`cg_tbl_cart`.`user_role_id` = ?)) AS `sub`
prisma:query SELECT `thecarg_db`.`cg_tbl_business_settings`.`id`, `thecarg_db`.`cg_tbl_business_settings`.`key`, `thecarg_db`.`cg_tbl_business_settings`.`value`, `thecarg_db`.`cg_tbl_business_settings`.`created_at`, `thecarg_db`.`cg_tbl_business_settings`.`updated_at` FROM `thecarg_db`.`cg_tbl_business_settings` WHERE `thecarg_db`.`cg_tbl_business_settings`.`key` = ? LIMIT ? OFFSET ?
prisma:query SELECT `thecarg_db`.`cg_tbl_business_settings`.`id`, `thecarg_db`.`cg_tbl_business_settings`.`key`, `thecarg_db`.`cg_tbl_business_settings`.`value`, `thecarg_db`.`cg_tbl_business_settings`.`created_at`, `thecarg_db`.`cg_tbl_business_settings`.`updated_at` FROM `thecarg_db`.`cg_tbl_business_settings` WHERE `thecarg_db`.`cg_tbl_business_settings`.`key` = ? LIMIT ? OFFSET ?
prisma:query SELECT `thecarg_db`.`cg_tbl_business_settings`.`id`, `thecarg_db`.`cg_tbl_business_settings`.`key`, `thecarg_db`.`cg_tbl_business_settings`.`value`, `thecarg_db`.`cg_tbl_business_settings`.`created_at`, `thecarg_db`.`cg_tbl_business_settings`.`updated_at` FROM `thecarg_db`.`cg_tbl_business_settings` WHERE `thecarg_db`.`cg_tbl_business_settings`.`key` = ? LIMIT ? OFFSET ?
prisma:query SELECT `thecarg_db`.`cg_tbl_business_settings`.`id`, `thecarg_db`.`cg_tbl_business_settings`.`key`, `thecarg_db`.`cg_tbl_business_settings`.`value`, `thecarg_db`.`cg_tbl_business_settings`.`created_at`, `thecarg_db`.`cg_tbl_business_settings`.`updated_at` FROM `thecarg_db`.`cg_tbl_business_settings` WHERE `thecarg_db`.`cg_tbl_business_settings`.`key` = ? LIMIT ? OFFSET ?
[2026-06-24T12:20:10.379Z] [INFO]: TecDoc → getArticles | provider: 25791 | country: IN | url: https://webservice.tecalliance.services/pegasus-3-0/services/TecdocToCatDLB.jsonEndpoint
--------------------------------------------------

[2026-06-24T12:20:10.497Z] [INFO]: TecDoc → getArticles | provider: 25791 | country: IN | url: https://webservice.tecalliance.services/pegasus-3-0/services/TecdocToCatDLB.jsonEndpoint
--------------------------------------------------

prisma:query SELECT `thecarg_db`.`cg_tbl_cart`.`id`, `thecarg_db`.`cg_tbl_cart`.`user_id`, `thecarg_db`.`cg_tbl_cart`.`user_role_id`, `thecarg_db`.`cg_tbl_cart`.`seller_id`, `thecarg_db`.`cg_tbl_cart`.`product_id`, `thecarg_db`.`cg_tbl_cart`.`quantity`, `thecarg_db`.`cg_tbl_cart`.`price`, `thecarg_db`.`cg_tbl_cart`.`created_at`, `thecarg_db`.`cg_tbl_cart`.`updated_at` FROM `thecarg_db`.`cg_tbl_cart` WHERE (`thecarg_db`.`cg_tbl_cart`.`user_id` = ? AND `thecarg_db`.`cg_tbl_cart`.`user_role_id` = ?) ORDER BY `thecarg_db`.`cg_tbl_cart`.`created_at` DESC LIMIT ? OFFSET ?
prisma:query SELECT `thecarg_db`.`cg_tbl_products`.`id`, `thecarg_db`.`cg_tbl_products`.`techdoc_article_id`, `thecarg_db`.`cg_tbl_products`.`techdoc_brand_id`, `thecarg_db`.`cg_tbl_products`.`article_number`, `thecarg_db`.`cg_tbl_products`.`brand_name`, `thecarg_db`.`cg_tbl_products`.`status`, `thecarg_db`.`cg_tbl_products`.`created_at`, `thecarg_db`.`cg_tbl_products`.`updated_at`, `thecarg_db`.`cg_tbl_products`.`assembly_group_node_id`, `thecarg_db`.`cg_tbl_products`.`generic_article_id` FROM `thecarg_db`.`cg_tbl_products` WHERE `thecarg_db`.`cg_tbl_products`.`id` IN (?)
[2026-06-24T12:20:10.503Z] [INFO]: TecDoc → getArticles | provider: 25791 | country: IN | url: https://webservice.tecalliance.services/pegasus-3-0/services/TecdocToCatDLB.jsonEndpoint
--------------------------------------------------

[2026-06-24T12:20:13.732Z] [INFO]: TecDoc → getArticles | provider: 25791 | country: IN | url: https://webservice.tecalliance.services/pegasus-3-0/services/TecdocToCatDLB.jsonEndpoint
--------------------------------------------------

prisma:query SELECT `thecarg_db`.`cg_tbl_seller_products`.`id`, `thecarg_db`.`cg_tbl_seller_products`.`seller_id`, `thecarg_db`.`cg_tbl_seller_products`.`product_id`, `thecarg_db`.`cg_tbl_seller_products`.`category_id`, `thecarg_db`.`cg_tbl_seller_products`.`subcategory_id`, `thecarg_db`.`cg_tbl_seller_products`.`mrp`, `thecarg_db`.`cg_tbl_seller_products`.`customer_selling_price`, `thecarg_db`.`cg_tbl_seller_products`.`garage_selling_price`, `thecarg_db`.`cg_tbl_seller_products`.`customer_discount_type`, `thecarg_db`.`cg_tbl_seller_products`.`customer_discount`, `thecarg_db`.`cg_tbl_seller_products`.`is_returnable`, `thecarg_db`.`cg_tbl_seller_products`.`return_days`, `thecarg_db`.`cg_tbl_seller_products`.`tax`, `thecarg_db`.`cg_tbl_seller_products`.`garage_discount_type`, `thecarg_db`.`cg_tbl_seller_products`.`garage_discount`, `thecarg_db`.`cg_tbl_seller_products`.`warranty_enabled`, `thecarg_db`.`cg_tbl_seller_products`.`warranty_duration`, `thecarg_db`.`cg_tbl_seller_products`.`warranty_duration_type`, `thecarg_db`.`cg_tbl_seller_products`.`warranty_document`, `thecarg_db`.`cg_tbl_seller_products`.`status`, `thecarg_db`.`cg_tbl_seller_products`.`created_at`, `thecarg_db`.`cg_tbl_seller_products`.`updated_at`, `thecarg_db`.`cg_tbl_seller_products`.`is_in_stock` FROM `thecarg_db`.`cg_tbl_seller_products` LEFT JOIN `thecarg_db`.`cg_tbl_sellers` AS `j1` ON (`j1`.`id`) = (`thecarg_db`.`cg_tbl_seller_products`.`seller_id`) WHERE (`thecarg_db`.`cg_tbl_seller_products`.`product_id` = ? AND `thecarg_db`.`cg_tbl_seller_products`.`seller_id` = ? AND `thecarg_db`.`cg_tbl_seller_products`.`status` = ? AND `thecarg_db`.`cg_tbl_seller_products`.`is_in_stock` = ? AND (`j1`.`status` = ? AND (`j1`.`id` IS NOT NULL))) LIMIT ? OFFSET ?
prisma:query SELECT `thecarg_db`.`cg_tbl_sellers`.`id`, `thecarg_db`.`cg_tbl_sellers`.`seller_id`, `thecarg_db`.`cg_tbl_sellers`.`first_name`, `thecarg_db`.`cg_tbl_sellers`.`last_name`, `thecarg_db`.`cg_tbl_sellers`.`mobile`, `thecarg_db`.`cg_tbl_sellers`.`email`, `thecarg_db`.`cg_tbl_sellers`.`trade_name`, `thecarg_db`.`cg_tbl_sellers`.`entity_type`, `thecarg_db`.`cg_tbl_sellers`.`aadhaar_number`, `thecarg_db`.`cg_tbl_sellers`.`pan_number`, `thecarg_db`.`cg_tbl_sellers`.`gstin_number`, `thecarg_db`.`cg_tbl_sellers`.`cin_number`, `thecarg_db`.`cg_tbl_sellers`.`operating_hours`, `thecarg_db`.`cg_tbl_sellers`.`specific_commission`, `thecarg_db`.`cg_tbl_sellers`.`customer_order_commission`, `thecarg_db`.`cg_tbl_sellers`.`garage_order_commission`, `thecarg_db`.`cg_tbl_sellers`.`requested_customer_order_commission`, `thecarg_db`.`cg_tbl_sellers`.`requested_garage_order_commission`, `thecarg_db`.`cg_tbl_sellers`.`bank_name`, `thecarg_db`.`cg_tbl_sellers`.`bank_account_number`, `thecarg_db`.`cg_tbl_sellers`.`bank_ifsc_code`, `thecarg_db`.`cg_tbl_sellers`.`address`, `thecarg_db`.`cg_tbl_sellers`.`latitude`, `thecarg_db`.`cg_tbl_sellers`.`longitude`, `thecarg_db`.`cg_tbl_sellers`.`state`, `thecarg_db`.`cg_tbl_sellers`.`city`, `thecarg_db`.`cg_tbl_sellers`.`zone`, `thecarg_db`.`cg_tbl_sellers`.`pincode`, `thecarg_db`.`cg_tbl_sellers`.`pan_card_file`, `thecarg_db`.`cg_tbl_sellers`.`gst_file`, `thecarg_db`.`cg_tbl_sellers`.`cin_file`, `thecarg_db`.`cg_tbl_sellers`.`cancelled_cheque_file`, `thecarg_db`.`cg_tbl_sellers`.`aadhaar_pan_signatory_file`, `thecarg_db`.`cg_tbl_sellers`.`other_documents_file`, `thecarg_db`.`cg_tbl_sellers`.`status`, `thecarg_db`.`cg_tbl_sellers`.`is_verified`, `thecarg_db`.`cg_tbl_sellers`.`fcm_token`, `thecarg_db`.`cg_tbl_sellers`.`subscription_id`, `thecarg_db`.`cg_tbl_sellers`.`subscription_start_date`, `thecarg_db`.`cg_tbl_sellers`.`subscription_end_date`, `thecarg_db`.`cg_tbl_sellers`.`created_at`, `thecarg_db`.`cg_tbl_sellers`.`updated_at` FROM `thecarg_db`.`cg_tbl_sellers` WHERE `thecarg_db`.`cg_tbl_sellers`.`id` IN (?)
[2026-06-24T12:20:14.156Z] [INFO]: TecDoc → getArticles | provider: 25791 | country: IN | url: https://webservice.tecalliance.services/pegasus-3-0/services/TecdocToCatDLB.jsonEndpoint
--------------------------------------------------

[2026-06-24T12:20:14.167Z] [INFO]: TecDoc → getArticles | provider: 25791 | country: IN | url: https://webservice.tecalliance.services/pegasus-3-0/services/TecdocToCatDLB.jsonEndpoint
--------------------------------------------------

prisma:query SELECT `thecarg_db`.`cg_tbl_products`.`id`, `thecarg_db`.`cg_tbl_products`.`techdoc_article_id` FROM `thecarg_db`.`cg_tbl_products` WHERE (`thecarg_db`.`cg_tbl_products`.`techdoc_article_id` IN (?,?) AND `thecarg_db`.`cg_tbl_products`.`status` = ? AND `thecarg_db`.`cg_tbl_products`.`id` IN (?,?))
prisma:query SELECT `thecarg_db`.`cg_tbl_seller_products`.`id`, `thecarg_db`.`cg_tbl_seller_products`.`product_id`, `thecarg_db`.`cg_tbl_seller_products`.`customer_selling_price`, `thecarg_db`.`cg_tbl_seller_products`.`garage_selling_price`, `thecarg_db`.`cg_tbl_seller_products`.`mrp`, `thecarg_db`.`cg_tbl_seller_products`.`customer_discount_type`, `thecarg_db`.`cg_tbl_seller_products`.`customer_discount`, `thecarg_db`.`cg_tbl_seller_products`.`garage_discount_type`, `thecarg_db`.`cg_tbl_seller_products`.`garage_discount`, `thecarg_db`.`cg_tbl_seller_products`.`is_in_stock`, `thecarg_db`.`cg_tbl_seller_products`.`is_returnable`, `thecarg_db`.`cg_tbl_seller_products`.`return_days`, `thecarg_db`.`cg_tbl_seller_products`.`warranty_enabled`, `thecarg_db`.`cg_tbl_seller_products`.`warranty_duration`, `thecarg_db`.`cg_tbl_seller_products`.`warranty_duration_type`, `thecarg_db`.`cg_tbl_seller_products`.`warranty_document`, `thecarg_db`.`cg_tbl_seller_products`.`tax`, `thecarg_db`.`cg_tbl_seller_products`.`seller_id` FROM `thecarg_db`.`cg_tbl_seller_products` LEFT JOIN `thecarg_db`.`cg_tbl_sellers` AS `j1` ON (`j1`.`id`) = (`thecarg_db`.`cg_tbl_seller_products`.`seller_id`) WHERE (`thecarg_db`.`cg_tbl_seller_products`.`product_id` IN (?,?) AND `thecarg_db`.`cg_tbl_seller_products`.`status` = ? AND (`j1`.`status` = ? AND (`j1`.`id` IS NOT NULL))) ORDER BY `thecarg_db`.`cg_tbl_seller_products`.`customer_selling_price` ASC
prisma:query SELECT `thecarg_db`.`cg_tbl_sellers`.`id`, `thecarg_db`.`cg_tbl_sellers`.`seller_id`, `thecarg_db`.`cg_tbl_sellers`.`first_name`, `thecarg_db`.`cg_tbl_sellers`.`last_name`, `thecarg_db`.`cg_tbl_sellers`.`trade_name`, `thecarg_db`.`cg_tbl_sellers`.`city`, `thecarg_db`.`cg_tbl_sellers`.`state`, `thecarg_db`.`cg_tbl_sellers`.`email`, `thecarg_db`.`cg_tbl_sellers`.`mobile`, `thecarg_db`.`cg_tbl_sellers`.`address`, `thecarg_db`.`cg_tbl_sellers`.`pincode`, `thecarg_db`.`cg_tbl_sellers`.`status`, `thecarg_db`.`cg_tbl_sellers`.`operating_hours`, `thecarg_db`.`cg_tbl_sellers`.`zone`, `thecarg_db`.`cg_tbl_sellers`.`latitude`, `thecarg_db`.`cg_tbl_sellers`.`longitude` FROM `thecarg_db`.`cg_tbl_sellers` WHERE `thecarg_db`.`cg_tbl_sellers`.`id` IN (?)
prisma:query SELECT `thecarg_db`.`cg_tbl_zones`.`id`, `thecarg_db`.`cg_tbl_zones`.`zone_name` FROM `thecarg_db`.`cg_tbl_zones` WHERE 1=1
[32m[nodemon] restarting due to changes...[39m
prisma:query SELECT `thecarg_db`.`cg_tbl_zones`.`id` FROM `thecarg_db`.`cg_tbl_zones` WHERE (`thecarg_db`.`cg_tbl_zones`.`id` IN (?) AND `thecarg_db`.`cg_tbl_zones`.`status` = ?)
prisma:query SELECT `thecarg_db`.`cg_tbl_sellers`.`id`, `thecarg_db`.`cg_tbl_sellers`.`status`, `thecarg_db`.`cg_tbl_sellers`.`operating_hours`, `thecarg_db`.`cg_tbl_sellers`.`zone` FROM `thecarg_db`.`cg_tbl_sellers` WHERE `thecarg_db`.`cg_tbl_sellers`.`status` = ?
prisma:query SELECT `thecarg_db`.`cg_tbl_products`.`id`, `thecarg_db`.`cg_tbl_products`.`article_number` FROM `thecarg_db`.`cg_tbl_products` WHERE (`thecarg_db`.`cg_tbl_products`.`status` = ? AND (`thecarg_db`.`cg_tbl_products`.`id`) IN (SELECT `t1`.`product_id` FROM `thecarg_db`.`cg_tbl_seller_products` AS `t1` WHERE (`t1`.`status` = ? AND `t1`.`seller_id` IN (?) AND `t1`.`product_id` IS NOT NULL)) AND `thecarg_db`.`cg_tbl_products`.`generic_article_id` = ? AND `thecarg_db`.`cg_tbl_products`.`assembly_group_node_id` = ?) ORDER BY `thecarg_db`.`cg_tbl_products`.`id` ASC
prisma:query SELECT `thecarg_db`.`cg_tbl_products`.`article_number` FROM `thecarg_db`.`cg_tbl_products` WHERE `thecarg_db`.`cg_tbl_products`.`id` IN (?,?) GROUP BY `thecarg_db`.`cg_tbl_products`.`article_number`
prisma:query SELECT MIN(`thecarg_db`.`cg_tbl_products`.`id`), `thecarg_db`.`cg_tbl_products`.`article_number` FROM `thecarg_db`.`cg_tbl_products` WHERE `thecarg_db`.`cg_tbl_products`.`id` IN (?,?) GROUP BY `thecarg_db`.`cg_tbl_products`.`article_number` ORDER BY MIN(`thecarg_db`.`cg_tbl_products`.`id`) ASC LIMIT ? OFFSET ?
prisma:query SELECT `thecarg_db`.`cg_tbl_products`.`id`, `thecarg_db`.`cg_tbl_products`.`techdoc_article_id`, `thecarg_db`.`cg_tbl_products`.`techdoc_brand_id`, `thecarg_db`.`cg_tbl_products`.`article_number`, `thecarg_db`.`cg_tbl_products`.`brand_name`, `thecarg_db`.`cg_tbl_products`.`status`, `thecarg_db`.`cg_tbl_products`.`created_at`, `thecarg_db`.`cg_tbl_products`.`updated_at`, `thecarg_db`.`cg_tbl_products`.`assembly_group_node_id`, `thecarg_db`.`cg_tbl_products`.`generic_article_id` FROM `thecarg_db`.`cg_tbl_products` WHERE `thecarg_db`.`cg_tbl_products`.`id` IN (?,?) ORDER BY `thecarg_db`.`cg_tbl_products`.`id` ASC
[2026-06-24T12:20:17.327Z] [INFO]: TecDoc → getArticles | provider: 25791 | country: IN | url: https://webservice.tecalliance.services/pegasus-3-0/services/TecdocToCatDLB.jsonEndpoint
--------------------------------------------------

[2026-06-24T12:20:17.330Z] [INFO]: TecDoc → getArticles | provider: 25791 | country: IN | url: https://webservice.tecalliance.services/pegasus-3-0/services/TecdocToCatDLB.jsonEndpoint
--------------------------------------------------

[32m[nodemon] starting `ts-node-esm src/server.js`[39m
prisma:info Starting a mysql pool with 9 connections.
[2026-06-24T12:20:22.134Z] [INFO]: Successfully connected to the MySQL Database via Prisma!
--------------------------------------------------

prisma:query SELECT `thecarg_db`.`cg_tbl_business_settings`.`id`, `thecarg_db`.`cg_tbl_business_settings`.`key`, `thecarg_db`.`cg_tbl_business_settings`.`value`, `thecarg_db`.`cg_tbl_business_settings`.`created_at`, `thecarg_db`.`cg_tbl_business_settings`.`updated_at` FROM `thecarg_db`.`cg_tbl_business_settings` WHERE `thecarg_db`.`cg_tbl_business_settings`.`key` = ? LIMIT ? OFFSET ?
prisma:query SELECT `thecarg_db`.`cg_tbl_business_settings`.`id`, `thecarg_db`.`cg_tbl_business_settings`.`key`, `thecarg_db`.`cg_tbl_business_settings`.`value`, `thecarg_db`.`cg_tbl_business_settings`.`created_at`, `thecarg_db`.`cg_tbl_business_settings`.`updated_at` FROM `thecarg_db`.`cg_tbl_business_settings` WHERE `thecarg_db`.`cg_tbl_business_settings`.`key` = ? LIMIT ? OFFSET ?
Firebase initialized successfully
[2026-06-24T12:20:22.154Z] [INFO]: Server is running in development mode on port 5000
--------------------------------------------------

[2026-06-24T12:20:22.156Z] [INFO]: Endpoint: http://localhost:5000
--------------------------------------------------

[32m[nodemon] clean exit - waiting for changes before restart[39m
[32m[nodemon] restarting due to changes...[39m
[32m[nodemon] starting `ts-node-esm src/server.js`[39m
[32m[nodemon] restarting due to changes...[39m
[32m[nodemon] starting `ts-node-esm src/server.js`[39m
prisma:info Starting a mysql pool with 9 connections.
[2026-06-24T12:24:59.620Z] [INFO]: Successfully connected to the MySQL Database via Prisma!
--------------------------------------------------

prisma:query SELECT `thecarg_db`.`cg_tbl_business_settings`.`id`, `thecarg_db`.`cg_tbl_business_settings`.`key`, `thecarg_db`.`cg_tbl_business_settings`.`value`, `thecarg_db`.`cg_tbl_business_settings`.`created_at`, `thecarg_db`.`cg_tbl_business_settings`.`updated_at` FROM `thecarg_db`.`cg_tbl_business_settings` WHERE `thecarg_db`.`cg_tbl_business_settings`.`key` = ? LIMIT ? OFFSET ?
prisma:query SELECT `thecarg_db`.`cg_tbl_business_settings`.`id`, `thecarg_db`.`cg_tbl_business_settings`.`key`, `thecarg_db`.`cg_tbl_business_settings`.`value`, `thecarg_db`.`cg_tbl_business_settings`.`created_at`, `thecarg_db`.`cg_tbl_business_settings`.`updated_at` FROM `thecarg_db`.`cg_tbl_business_settings` WHERE `thecarg_db`.`cg_tbl_business_settings`.`key` = ? LIMIT ? OFFSET ?
Firebase initialized successfully
[2026-06-24T12:24:59.647Z] [INFO]: Server is running in development mode on port 5000
--------------------------------------------------

[2026-06-24T12:24:59.649Z] [INFO]: Endpoint: http://localhost:5000
--------------------------------------------------

prisma:query SELECT `thecarg_db`.`cg_tbl_business_settings`.`id`, `thecarg_db`.`cg_tbl_business_settings`.`key`, `thecarg_db`.`cg_tbl_business_settings`.`value`, `thecarg_db`.`cg_tbl_business_settings`.`created_at`, `thecarg_db`.`cg_tbl_business_settings`.`updated_at` FROM `thecarg_db`.`cg_tbl_business_settings` WHERE `thecarg_db`.`cg_tbl_business_settings`.`key` IN (?,?,?,?)
prisma:query SELECT `thecarg_db`.`cg_tbl_gig_reasons`.`id`, `thecarg_db`.`cg_tbl_gig_reasons`.`reason` FROM `thecarg_db`.`cg_tbl_gig_reasons` WHERE `thecarg_db`.`cg_tbl_gig_reasons`.`status` = ? ORDER BY `thecarg_db`.`cg_tbl_gig_reasons`.`id` ASC
prisma:query SELECT `thecarg_db`.`cg_tbl_vehicle_classes`.`id`, `thecarg_db`.`cg_tbl_vehicle_classes`.`name`, `thecarg_db`.`cg_tbl_vehicle_classes`.`slug` FROM `thecarg_db`.`cg_tbl_vehicle_classes` WHERE `thecarg_db`.`cg_tbl_vehicle_classes`.`status` = ? ORDER BY `thecarg_db`.`cg_tbl_vehicle_classes`.`name` ASC
prisma:query SELECT `thecarg_db`.`cg_tbl_vehicle_fuel_types`.`id`, `thecarg_db`.`cg_tbl_vehicle_fuel_types`.`name`, `thecarg_db`.`cg_tbl_vehicle_fuel_types`.`slug` FROM `thecarg_db`.`cg_tbl_vehicle_fuel_types` WHERE `thecarg_db`.`cg_tbl_vehicle_fuel_types`.`status` = ? ORDER BY `thecarg_db`.`cg_tbl_vehicle_fuel_types`.`name` ASC
prisma:query SELECT `thecarg_db`.`cg_tbl_business_settings`.`id`, `thecarg_db`.`cg_tbl_business_settings`.`key`, `thecarg_db`.`cg_tbl_business_settings`.`value`, `thecarg_db`.`cg_tbl_business_settings`.`created_at`, `thecarg_db`.`cg_tbl_business_settings`.`updated_at` FROM `thecarg_db`.`cg_tbl_business_settings` WHERE (`thecarg_db`.`cg_tbl_business_settings`.`key` = ? AND 1=1) LIMIT ? OFFSET ?
prisma:query SELECT `thecarg_db`.`cg_tbl_business_settings`.`id`, `thecarg_db`.`cg_tbl_business_settings`.`key`, `thecarg_db`.`cg_tbl_business_settings`.`value`, `thecarg_db`.`cg_tbl_business_settings`.`created_at`, `thecarg_db`.`cg_tbl_business_settings`.`updated_at` FROM `thecarg_db`.`cg_tbl_business_settings` WHERE (`thecarg_db`.`cg_tbl_business_settings`.`key` = ? AND 1=1) LIMIT ? OFFSET ?
prisma:query SELECT `thecarg_db`.`cg_tbl_business_settings`.`id`, `thecarg_db`.`cg_tbl_business_settings`.`key`, `thecarg_db`.`cg_tbl_business_settings`.`value`, `thecarg_db`.`cg_tbl_business_settings`.`created_at`, `thecarg_db`.`cg_tbl_business_settings`.`updated_at` FROM `thecarg_db`.`cg_tbl_business_settings` WHERE `thecarg_db`.`cg_tbl_business_settings`.`key` IN (?,?,?,?)
prisma:query SELECT `thecarg_db`.`cg_tbl_business_settings`.`id`, `thecarg_db`.`cg_tbl_business_settings`.`key`, `thecarg_db`.`cg_tbl_business_settings`.`value`, `thecarg_db`.`cg_tbl_business_settings`.`created_at`, `thecarg_db`.`cg_tbl_business_settings`.`updated_at` FROM `thecarg_db`.`cg_tbl_business_settings` WHERE (`thecarg_db`.`cg_tbl_business_settings`.`key` = ? AND 1=1) LIMIT ? OFFSET ?
prisma:query SELECT `thecarg_db`.`cg_tbl_vehicle_classes`.`id`, `thecarg_db`.`cg_tbl_vehicle_classes`.`name`, `thecarg_db`.`cg_tbl_vehicle_classes`.`slug` FROM `thecarg_db`.`cg_tbl_vehicle_classes` WHERE `thecarg_db`.`cg_tbl_vehicle_classes`.`status` = ? ORDER BY `thecarg_db`.`cg_tbl_vehicle_classes`.`name` ASC
prisma:query SELECT `thecarg_db`.`cg_tbl_customers`.`id`, `thecarg_db`.`cg_tbl_customers`.`full_name`, `thecarg_db`.`cg_tbl_customers`.`mobile`, `thecarg_db`.`cg_tbl_customers`.`email`, `thecarg_db`.`cg_tbl_customers`.`profile_photo_file`, `thecarg_db`.`cg_tbl_customers`.`status`, `thecarg_db`.`cg_tbl_customers`.`created_at`, `thecarg_db`.`cg_tbl_customers`.`updated_at`, `thecarg_db`.`cg_tbl_customers`.`date_of_birth`, `thecarg_db`.`cg_tbl_customers`.`fcm_token`, `thecarg_db`.`cg_tbl_customers`.`marriage_date`, `thecarg_db`.`cg_tbl_customers`.`ref_code`, `thecarg_db`.`cg_tbl_customers`.`referred_by` FROM `thecarg_db`.`cg_tbl_customers` WHERE (`thecarg_db`.`cg_tbl_customers`.`id` = ? AND 1=1) LIMIT ? OFFSET ?
prisma:query SELECT `thecarg_db`.`cg_tbl_customers`.`id`, `thecarg_db`.`cg_tbl_customers`.`full_name`, `thecarg_db`.`cg_tbl_customers`.`mobile`, `thecarg_db`.`cg_tbl_customers`.`email`, `thecarg_db`.`cg_tbl_customers`.`profile_photo_file`, `thecarg_db`.`cg_tbl_customers`.`status`, `thecarg_db`.`cg_tbl_customers`.`created_at`, `thecarg_db`.`cg_tbl_customers`.`updated_at`, `thecarg_db`.`cg_tbl_customers`.`date_of_birth`, `thecarg_db`.`cg_tbl_customers`.`fcm_token`, `thecarg_db`.`cg_tbl_customers`.`marriage_date`, `thecarg_db`.`cg_tbl_customers`.`ref_code`, `thecarg_db`.`cg_tbl_customers`.`referred_by` FROM `thecarg_db`.`cg_tbl_customers` WHERE `thecarg_db`.`cg_tbl_customers`.`id` = ? LIMIT ? OFFSET ?
prisma:query SELECT `thecarg_db`.`cg_tbl_customers`.`id`, `thecarg_db`.`cg_tbl_customers`.`full_name`, `thecarg_db`.`cg_tbl_customers`.`mobile`, `thecarg_db`.`cg_tbl_customers`.`email`, `thecarg_db`.`cg_tbl_customers`.`profile_photo_file`, `thecarg_db`.`cg_tbl_customers`.`status`, `thecarg_db`.`cg_tbl_customers`.`created_at`, `thecarg_db`.`cg_tbl_customers`.`updated_at`, `thecarg_db`.`cg_tbl_customers`.`date_of_birth`, `thecarg_db`.`cg_tbl_customers`.`fcm_token`, `thecarg_db`.`cg_tbl_customers`.`marriage_date`, `thecarg_db`.`cg_tbl_customers`.`ref_code`, `thecarg_db`.`cg_tbl_customers`.`referred_by` FROM `thecarg_db`.`cg_tbl_customers` WHERE (`thecarg_db`.`cg_tbl_customers`.`id` = ? AND 1=1) LIMIT ? OFFSET ?
prisma:query SELECT `thecarg_db`.`cg_tbl_vehicle_fuel_types`.`id`, `thecarg_db`.`cg_tbl_vehicle_fuel_types`.`name`, `thecarg_db`.`cg_tbl_vehicle_fuel_types`.`slug` FROM `thecarg_db`.`cg_tbl_vehicle_fuel_types` WHERE `thecarg_db`.`cg_tbl_vehicle_fuel_types`.`status` = ? ORDER BY `thecarg_db`.`cg_tbl_vehicle_fuel_types`.`name` ASC
prisma:query SELECT `thecarg_db`.`cg_tbl_gig_reasons`.`id`, `thecarg_db`.`cg_tbl_gig_reasons`.`reason` FROM `thecarg_db`.`cg_tbl_gig_reasons` WHERE `thecarg_db`.`cg_tbl_gig_reasons`.`status` = ? ORDER BY `thecarg_db`.`cg_tbl_gig_reasons`.`id` ASC
prisma:query SELECT `thecarg_db`.`cg_tbl_user_roles`.`id`, `thecarg_db`.`cg_tbl_user_roles`.`role_name`, `thecarg_db`.`cg_tbl_user_roles`.`role_slug`, `thecarg_db`.`cg_tbl_user_roles`.`status`, `thecarg_db`.`cg_tbl_user_roles`.`created_at`, `thecarg_db`.`cg_tbl_user_roles`.`updated_at` FROM `thecarg_db`.`cg_tbl_user_roles` WHERE `thecarg_db`.`cg_tbl_user_roles`.`role_slug` = ? LIMIT ? OFFSET ?
prisma:query SELECT `thecarg_db`.`cg_tbl_customers`.`id`, `thecarg_db`.`cg_tbl_customers`.`full_name`, `thecarg_db`.`cg_tbl_customers`.`mobile`, `thecarg_db`.`cg_tbl_customers`.`email`, `thecarg_db`.`cg_tbl_customers`.`profile_photo_file`, `thecarg_db`.`cg_tbl_customers`.`status`, `thecarg_db`.`cg_tbl_customers`.`created_at`, `thecarg_db`.`cg_tbl_customers`.`updated_at`, `thecarg_db`.`cg_tbl_customers`.`date_of_birth`, `thecarg_db`.`cg_tbl_customers`.`fcm_token`, `thecarg_db`.`cg_tbl_customers`.`marriage_date`, `thecarg_db`.`cg_tbl_customers`.`ref_code`, `thecarg_db`.`cg_tbl_customers`.`referred_by` FROM `thecarg_db`.`cg_tbl_customers` WHERE (`thecarg_db`.`cg_tbl_customers`.`id` = ? AND 1=1) LIMIT ? OFFSET ?
prisma:query SELECT `thecarg_db`.`cg_tbl_user_roles`.`id`, `thecarg_db`.`cg_tbl_user_roles`.`role_name`, `thecarg_db`.`cg_tbl_user_roles`.`role_slug`, `thecarg_db`.`cg_tbl_user_roles`.`status`, `thecarg_db`.`cg_tbl_user_roles`.`created_at`, `thecarg_db`.`cg_tbl_user_roles`.`updated_at` FROM `thecarg_db`.`cg_tbl_user_roles` WHERE `thecarg_db`.`cg_tbl_user_roles`.`role_slug` = ? LIMIT ? OFFSET ?
prisma:query SELECT `thecarg_db`.`cg_tbl_coupons`.`id`, `thecarg_db`.`cg_tbl_coupons`.`coupon_code`, `thecarg_db`.`cg_tbl_coupons`.`title`, `thecarg_db`.`cg_tbl_coupons`.`coupon_type`, `thecarg_db`.`cg_tbl_coupons`.`applicable_user_type`, `thecarg_db`.`cg_tbl_coupons`.`user_eligibility`, `thecarg_db`.`cg_tbl_coupons`.`discount_value`, `thecarg_db`.`cg_tbl_coupons`.`max_discount`, `thecarg_db`.`cg_tbl_coupons`.`min_order_value`, `thecarg_db`.`cg_tbl_coupons`.`valid_from`, `thecarg_db`.`cg_tbl_coupons`.`valid_to`, `thecarg_db`.`cg_tbl_coupons`.`total_usage_limit`, `thecarg_db`.`cg_tbl_coupons`.`total_uses`, `thecarg_db`.`cg_tbl_coupons`.`usage_per_user`, `thecarg_db`.`cg_tbl_coupons`.`category_restrictions`, `thecarg_db`.`cg_tbl_coupons`.`allow_stacking`, `thecarg_db`.`cg_tbl_coupons`.`module_type`, `thecarg_db`.`cg_tbl_coupons`.`zone_ids`, `thecarg_db`.`cg_tbl_coupons`.`vendor_id`, `thecarg_db`.`cg_tbl_coupons`.`created_at` FROM `thecarg_db`.`cg_tbl_coupons` WHERE (`thecarg_db`.`cg_tbl_coupons`.`status` = ? AND `thecarg_db`.`cg_tbl_coupons`.`applicable_user_type` IN (?,?) AND (`thecarg_db`.`cg_tbl_coupons`.`valid_from` IS NULL OR `thecarg_db`.`cg_tbl_coupons`.`valid_from` <= ?) AND (`thecarg_db`.`cg_tbl_coupons`.`valid_to` IS NULL OR `thecarg_db`.`cg_tbl_coupons`.`valid_to` >= ?)) ORDER BY `thecarg_db`.`cg_tbl_coupons`.`created_at` DESC
prisma:query SELECT `thecarg_db`.`cg_tbl_categories`.`id`, `thecarg_db`.`cg_tbl_categories`.`category_name`, `thecarg_db`.`cg_tbl_categories`.`category_image`, `thecarg_db`.`cg_tbl_categories`.`is_accident` FROM `thecarg_db`.`cg_tbl_categories` WHERE (`thecarg_db`.`cg_tbl_categories`.`status` = ? AND (`thecarg_db`.`cg_tbl_categories`.`is_accident` = ? OR (`thecarg_db`.`cg_tbl_categories`.`id`) IN (SELECT `t1`.`category_id` FROM `thecarg_db`.`cg_tbl_category_sub_category_setup` AS `t1` LEFT JOIN `thecarg_db`.`cg_tbl_sub_categories` AS `j2` ON (`j2`.`id`) = (`t1`.`sub_category_id`) WHERE (`t1`.`status` = ? AND (`j2`.`status` = ? AND (`j2`.`id` IS NOT NULL)) AND `t1`.`category_id` IS NOT NULL)))) ORDER BY `thecarg_db`.`cg_tbl_categories`.`id` ASC LIMIT ? OFFSET ?
prisma:query SELECT `thecarg_db`.`cg_tbl_categories`.`id`, `thecarg_db`.`cg_tbl_categories`.`category_name`, `thecarg_db`.`cg_tbl_categories`.`category_image`, `thecarg_db`.`cg_tbl_categories`.`is_accident` FROM `thecarg_db`.`cg_tbl_categories` WHERE (`thecarg_db`.`cg_tbl_categories`.`status` = ? AND (`thecarg_db`.`cg_tbl_categories`.`is_accident` = ? OR (`thecarg_db`.`cg_tbl_categories`.`id`) IN (SELECT `t1`.`category_id` FROM `thecarg_db`.`cg_tbl_category_sub_category_setup` AS `t1` LEFT JOIN `thecarg_db`.`cg_tbl_sub_categories` AS `j2` ON (`j2`.`id`) = (`t1`.`sub_category_id`) WHERE (`t1`.`status` = ? AND (`j2`.`status` = ? AND (`j2`.`id` IS NOT NULL)) AND `t1`.`service_type` IN (?,?) AND `t1`.`category_id` IS NOT NULL)))) ORDER BY `thecarg_db`.`cg_tbl_categories`.`id` ASC LIMIT ? OFFSET ?
prisma:query SELECT COUNT(*) FROM (SELECT `thecarg_db`.`cg_tbl_categories`.`id` FROM `thecarg_db`.`cg_tbl_categories` WHERE (`thecarg_db`.`cg_tbl_categories`.`status` = ? AND (`thecarg_db`.`cg_tbl_categories`.`is_accident` = ? OR (`thecarg_db`.`cg_tbl_categories`.`id`) IN (SELECT `t1`.`category_id` FROM `thecarg_db`.`cg_tbl_category_sub_category_setup` AS `t1` LEFT JOIN `thecarg_db`.`cg_tbl_sub_categories` AS `j2` ON (`j2`.`id`) = (`t1`.`sub_category_id`) WHERE (`t1`.`status` = ? AND (`j2`.`status` = ? AND (`j2`.`id` IS NOT NULL)) AND `t1`.`category_id` IS NOT NULL))))) AS `sub`
prisma:query SELECT COUNT(*) FROM (SELECT `thecarg_db`.`cg_tbl_categories`.`id` FROM `thecarg_db`.`cg_tbl_categories` WHERE (`thecarg_db`.`cg_tbl_categories`.`status` = ? AND (`thecarg_db`.`cg_tbl_categories`.`is_accident` = ? OR (`thecarg_db`.`cg_tbl_categories`.`id`) IN (SELECT `t1`.`category_id` FROM `thecarg_db`.`cg_tbl_category_sub_category_setup` AS `t1` LEFT JOIN `thecarg_db`.`cg_tbl_sub_categories` AS `j2` ON (`j2`.`id`) = (`t1`.`sub_category_id`) WHERE (`t1`.`status` = ? AND (`j2`.`status` = ? AND (`j2`.`id` IS NOT NULL)) AND `t1`.`service_type` IN (?,?) AND `t1`.`category_id` IS NOT NULL))))) AS `sub`
prisma:query BEGIN
prisma:query SELECT `thecarg_db`.`cg_tbl_customers`.`id` FROM `thecarg_db`.`cg_tbl_customers` WHERE (`thecarg_db`.`cg_tbl_customers`.`id` = ? AND 1=1)
prisma:query UPDATE `thecarg_db`.`cg_tbl_customers` SET `fcm_token` = ?, `updated_at` = ? WHERE (`thecarg_db`.`cg_tbl_customers`.`id` IN (?) AND (`thecarg_db`.`cg_tbl_customers`.`id` = ? AND 1=1))
prisma:query SELECT `thecarg_db`.`cg_tbl_customers`.`id`, `thecarg_db`.`cg_tbl_customers`.`full_name`, `thecarg_db`.`cg_tbl_customers`.`mobile`, `thecarg_db`.`cg_tbl_customers`.`email`, `thecarg_db`.`cg_tbl_customers`.`profile_photo_file`, `thecarg_db`.`cg_tbl_customers`.`status`, `thecarg_db`.`cg_tbl_customers`.`created_at`, `thecarg_db`.`cg_tbl_customers`.`updated_at`, `thecarg_db`.`cg_tbl_customers`.`date_of_birth`, `thecarg_db`.`cg_tbl_customers`.`fcm_token`, `thecarg_db`.`cg_tbl_customers`.`marriage_date`, `thecarg_db`.`cg_tbl_customers`.`ref_code`, `thecarg_db`.`cg_tbl_customers`.`referred_by` FROM `thecarg_db`.`cg_tbl_customers` WHERE `thecarg_db`.`cg_tbl_customers`.`id` = ? LIMIT ? OFFSET ?
prisma:query COMMIT
prisma:query SELECT `thecarg_db`.`cg_tbl_user_roles`.`id`, `thecarg_db`.`cg_tbl_user_roles`.`role_name`, `thecarg_db`.`cg_tbl_user_roles`.`role_slug`, `thecarg_db`.`cg_tbl_user_roles`.`status`, `thecarg_db`.`cg_tbl_user_roles`.`created_at`, `thecarg_db`.`cg_tbl_user_roles`.`updated_at` FROM `thecarg_db`.`cg_tbl_user_roles` WHERE `thecarg_db`.`cg_tbl_user_roles`.`role_slug` = ? LIMIT ? OFFSET ?
prisma:query SELECT `thecarg_db`.`cg_tbl_user_roles`.`id`, `thecarg_db`.`cg_tbl_user_roles`.`role_name`, `thecarg_db`.`cg_tbl_user_roles`.`role_slug`, `thecarg_db`.`cg_tbl_user_roles`.`status`, `thecarg_db`.`cg_tbl_user_roles`.`created_at`, `thecarg_db`.`cg_tbl_user_roles`.`updated_at` FROM `thecarg_db`.`cg_tbl_user_roles` WHERE `thecarg_db`.`cg_tbl_user_roles`.`role_slug` = ? LIMIT ? OFFSET ?
prisma:query SELECT `thecarg_db`.`cg_tbl_categories`.`id`, `thecarg_db`.`cg_tbl_categories`.`category_name` FROM `thecarg_db`.`cg_tbl_categories` WHERE `thecarg_db`.`cg_tbl_categories`.`id` IN (?,?,?,?,?,?)
prisma:query SELECT COUNT(*) FROM (SELECT `thecarg_db`.`cg_tbl_user_notifications`.`id` FROM `thecarg_db`.`cg_tbl_user_notifications` WHERE (`thecarg_db`.`cg_tbl_user_notifications`.`user_id` = ? AND `thecarg_db`.`cg_tbl_user_notifications`.`user_role_id` = ? AND `thecarg_db`.`cg_tbl_user_notifications`.`platform` = ?)) AS `sub`
prisma:query SELECT `thecarg_db`.`cg_tbl_user_notifications`.`id`, `thecarg_db`.`cg_tbl_user_notifications`.`user_id`, `thecarg_db`.`cg_tbl_user_notifications`.`user_role_id`, `thecarg_db`.`cg_tbl_user_notifications`.`data`, `thecarg_db`.`cg_tbl_user_notifications`.`platform`, `thecarg_db`.`cg_tbl_user_notifications`.`is_read`, `thecarg_db`.`cg_tbl_user_notifications`.`created_at` FROM `thecarg_db`.`cg_tbl_user_notifications` WHERE (`thecarg_db`.`cg_tbl_user_notifications`.`user_id` = ? AND `thecarg_db`.`cg_tbl_user_notifications`.`user_role_id` = ? AND `thecarg_db`.`cg_tbl_user_notifications`.`platform` = ?) ORDER BY `thecarg_db`.`cg_tbl_user_notifications`.`created_at` DESC LIMIT ? OFFSET ?
prisma:query SELECT COUNT(*) FROM (SELECT `thecarg_db`.`cg_tbl_vehicles_master`.`id` FROM `thecarg_db`.`cg_tbl_vehicles_master` WHERE (`thecarg_db`.`cg_tbl_vehicles_master`.`user_id` = ? AND `thecarg_db`.`cg_tbl_vehicles_master`.`user_role_id` = ? AND `thecarg_db`.`cg_tbl_vehicles_master`.`deleted_status` = ? AND `thecarg_db`.`cg_tbl_vehicles_master`.`status` = ?)) AS `sub`
prisma:query SELECT COUNT(*) FROM (SELECT `thecarg_db`.`cg_tbl_user_addresses`.`id` FROM `thecarg_db`.`cg_tbl_user_addresses` WHERE (`thecarg_db`.`cg_tbl_user_addresses`.`user_id` = ? AND `thecarg_db`.`cg_tbl_user_addresses`.`role_id` = ? AND `thecarg_db`.`cg_tbl_user_addresses`.`status` = ?)) AS `sub`
prisma:query SELECT COUNT(*) FROM (SELECT `thecarg_db`.`cg_tbl_user_addresses`.`id` FROM `thecarg_db`.`cg_tbl_user_addresses` WHERE (`thecarg_db`.`cg_tbl_user_addresses`.`user_id` = ? AND `thecarg_db`.`cg_tbl_user_addresses`.`role_id` = ? AND `thecarg_db`.`cg_tbl_user_addresses`.`status` = ?)) AS `sub`
prisma:query SELECT COUNT(*) FROM (SELECT `thecarg_db`.`cg_table_tutorials`.`id` FROM `thecarg_db`.`cg_table_tutorials` WHERE (`thecarg_db`.`cg_table_tutorials`.`role_id` = ? AND `thecarg_db`.`cg_table_tutorials`.`status` = ?)) AS `sub`
prisma:query SELECT `thecarg_db`.`cg_table_tutorials`.`id`, `thecarg_db`.`cg_table_tutorials`.`role_id`, `thecarg_db`.`cg_table_tutorials`.`youtube_url`, `thecarg_db`.`cg_table_tutorials`.`status`, `thecarg_db`.`cg_table_tutorials`.`created_at`, `thecarg_db`.`cg_table_tutorials`.`created_by`, `thecarg_db`.`cg_table_tutorials`.`updated_at` FROM `thecarg_db`.`cg_table_tutorials` WHERE (`thecarg_db`.`cg_table_tutorials`.`role_id` = ? AND `thecarg_db`.`cg_table_tutorials`.`status` = ?) ORDER BY `thecarg_db`.`cg_table_tutorials`.`created_at` DESC LIMIT ? OFFSET ?
prisma:query SELECT `thecarg_db`.`cg_tbl_vehicles_master`.`id`, `thecarg_db`.`cg_tbl_vehicles_master`.`vehicle_no`, `thecarg_db`.`cg_tbl_vehicles_master`.`make`, `thecarg_db`.`cg_tbl_vehicles_master`.`model`, `thecarg_db`.`cg_tbl_vehicles_master`.`year`, `thecarg_db`.`cg_tbl_vehicles_master`.`chassis_no`, `thecarg_db`.`cg_tbl_vehicles_master`.`odometer_reading_km`, `thecarg_db`.`cg_tbl_vehicles_master`.`vehicle_image`, `thecarg_db`.`cg_tbl_vehicles_master`.`vehicle_rc_img`, `thecarg_db`.`cg_tbl_vehicles_master`.`vehicle_class_id`, `thecarg_db`.`cg_tbl_vehicles_master`.`vehicle_fuel_type_id` FROM `thecarg_db`.`cg_tbl_vehicles_master` WHERE (`thecarg_db`.`cg_tbl_vehicles_master`.`user_id` = ? AND `thecarg_db`.`cg_tbl_vehicles_master`.`user_role_id` = ? AND `thecarg_db`.`cg_tbl_vehicles_master`.`deleted_status` = ? AND `thecarg_db`.`cg_tbl_vehicles_master`.`status` = ?) ORDER BY `thecarg_db`.`cg_tbl_vehicles_master`.`id` DESC LIMIT ? OFFSET ?
prisma:query SELECT `thecarg_db`.`cg_tbl_vehicle_classes`.`id`, `thecarg_db`.`cg_tbl_vehicle_classes`.`name`, `thecarg_db`.`cg_tbl_vehicle_classes`.`slug` FROM `thecarg_db`.`cg_tbl_vehicle_classes` WHERE `thecarg_db`.`cg_tbl_vehicle_classes`.`id` IN (?,?)
prisma:query SELECT `thecarg_db`.`cg_tbl_user_addresses`.`id`, `thecarg_db`.`cg_tbl_user_addresses`.`user_id`, `thecarg_db`.`cg_tbl_user_addresses`.`role_id`, `thecarg_db`.`cg_tbl_user_addresses`.`address_title`, `thecarg_db`.`cg_tbl_user_addresses`.`contact_name`, `thecarg_db`.`cg_tbl_user_addresses`.`phone_number`, `thecarg_db`.`cg_tbl_user_addresses`.`flat_house_no`, `thecarg_db`.`cg_tbl_user_addresses`.`area_locality`, `thecarg_db`.`cg_tbl_user_addresses`.`landmark`, `thecarg_db`.`cg_tbl_user_addresses`.`pincode`, `thecarg_db`.`cg_tbl_user_addresses`.`city`, `thecarg_db`.`cg_tbl_user_addresses`.`state`, `thecarg_db`.`cg_tbl_user_addresses`.`latitude`, `thecarg_db`.`cg_tbl_user_addresses`.`longitude`, `thecarg_db`.`cg_tbl_user_addresses`.`full_address`, `thecarg_db`.`cg_tbl_user_addresses`.`is_default`, `thecarg_db`.`cg_tbl_user_addresses`.`status`, `thecarg_db`.`cg_tbl_user_addresses`.`created_at`, `thecarg_db`.`cg_tbl_user_addresses`.`updated_at` FROM `thecarg_db`.`cg_tbl_user_addresses` WHERE (`thecarg_db`.`cg_tbl_user_addresses`.`user_id` = ? AND `thecarg_db`.`cg_tbl_user_addresses`.`role_id` = ? AND `thecarg_db`.`cg_tbl_user_addresses`.`status` = ?) ORDER BY `thecarg_db`.`cg_tbl_user_addresses`.`is_default` DESC, `thecarg_db`.`cg_tbl_user_addresses`.`id` DESC LIMIT ? OFFSET ?
prisma:query SELECT `thecarg_db`.`cg_tbl_user_addresses`.`id`, `thecarg_db`.`cg_tbl_user_addresses`.`user_id`, `thecarg_db`.`cg_tbl_user_addresses`.`role_id`, `thecarg_db`.`cg_tbl_user_addresses`.`address_title`, `thecarg_db`.`cg_tbl_user_addresses`.`contact_name`, `thecarg_db`.`cg_tbl_user_addresses`.`phone_number`, `thecarg_db`.`cg_tbl_user_addresses`.`flat_house_no`, `thecarg_db`.`cg_tbl_user_addresses`.`area_locality`, `thecarg_db`.`cg_tbl_user_addresses`.`landmark`, `thecarg_db`.`cg_tbl_user_addresses`.`pincode`, `thecarg_db`.`cg_tbl_user_addresses`.`city`, `thecarg_db`.`cg_tbl_user_addresses`.`state`, `thecarg_db`.`cg_tbl_user_addresses`.`latitude`, `thecarg_db`.`cg_tbl_user_addresses`.`longitude`, `thecarg_db`.`cg_tbl_user_addresses`.`full_address`, `thecarg_db`.`cg_tbl_user_addresses`.`is_default`, `thecarg_db`.`cg_tbl_user_addresses`.`status`, `thecarg_db`.`cg_tbl_user_addresses`.`created_at`, `thecarg_db`.`cg_tbl_user_addresses`.`updated_at` FROM `thecarg_db`.`cg_tbl_user_addresses` WHERE (`thecarg_db`.`cg_tbl_user_addresses`.`user_id` = ? AND `thecarg_db`.`cg_tbl_user_addresses`.`role_id` = ? AND `thecarg_db`.`cg_tbl_user_addresses`.`status` = ?) ORDER BY `thecarg_db`.`cg_tbl_user_addresses`.`is_default` DESC, `thecarg_db`.`cg_tbl_user_addresses`.`id` DESC LIMIT ? OFFSET ?
prisma:query SELECT `thecarg_db`.`cg_tbl_vehicle_fuel_types`.`id`, `thecarg_db`.`cg_tbl_vehicle_fuel_types`.`name`, `thecarg_db`.`cg_tbl_vehicle_fuel_types`.`slug` FROM `thecarg_db`.`cg_tbl_vehicle_fuel_types` WHERE `thecarg_db`.`cg_tbl_vehicle_fuel_types`.`id` IN (?,?)
prisma:query SELECT `thecarg_db`.`cg_tbl_category_sub_category_setup`.`id`, `thecarg_db`.`cg_tbl_category_sub_category_setup`.`sub_category_id`, `thecarg_db`.`cg_tbl_category_sub_category_setup`.`category_id` FROM `thecarg_db`.`cg_tbl_category_sub_category_setup` LEFT JOIN `thecarg_db`.`cg_tbl_sub_categories` AS `j1` ON (`j1`.`id`) = (`thecarg_db`.`cg_tbl_category_sub_category_setup`.`sub_category_id`) WHERE ((`thecarg_db`.`cg_tbl_category_sub_category_setup`.`status` = ? AND (`j1`.`status` = ? AND (`j1`.`id` IS NOT NULL))) AND `thecarg_db`.`cg_tbl_category_sub_category_setup`.`category_id` IN (?,?,?,?,?,?,?,?))
prisma:query SELECT `thecarg_db`.`cg_tbl_category_sub_category_setup`.`id`, `thecarg_db`.`cg_tbl_category_sub_category_setup`.`sub_category_id`, `thecarg_db`.`cg_tbl_category_sub_category_setup`.`category_id` FROM `thecarg_db`.`cg_tbl_category_sub_category_setup` LEFT JOIN `thecarg_db`.`cg_tbl_sub_categories` AS `j1` ON (`j1`.`id`) = (`thecarg_db`.`cg_tbl_category_sub_category_setup`.`sub_category_id`) WHERE ((`thecarg_db`.`cg_tbl_category_sub_category_setup`.`status` = ? AND (`j1`.`status` = ? AND (`j1`.`id` IS NOT NULL)) AND `thecarg_db`.`cg_tbl_category_sub_category_setup`.`service_type` IN (?,?)) AND `thecarg_db`.`cg_tbl_category_sub_category_setup`.`category_id` IN (?,?,?,?,?,?,?,?))
[2026-06-24T12:25:11.551Z] [INFO]: [ZONE_RESOLVE] Resolving zone for coordinates: (13.07281264, 80.19470259)
--------------------------------------------------

prisma:query SELECT id, status, zone_name AS zoneName, zone_code AS zoneCode, ABS(ST_Area(coordinates)) as area 
       FROM cg_tbl_zones 
       WHERE ST_Contains(coordinates, ST_GeomFromText(?))
       ORDER BY area ASC
[2026-06-24T12:25:11.644Z] [INFO]: [BANNERS] Fetching banners for zoneIds: [13]
--------------------------------------------------

prisma:query 
      SELECT 
        'admin_banner' AS bannerSource,
        b.id,
        b.title,
        b.banner_image AS bannerImage,
        NULL AS userId,
        NULL AS userRoleId,
        NULL AS productId,
        b.created_at AS createdAt
      FROM cg_tbl_banners b
      WHERE b.status = 1 
        AND b.zone_id IN (?)

      UNION ALL

      SELECT 
        'advertisement' AS bannerSource,
        a.id,
        a.title,
        a.banner_image AS bannerImage,
        a.user_id AS userId,
        a.user_role_id AS userRoleId,
        a.product_id AS productId,
        a.created_at AS createdAt
      FROM cg_tbl_advertisements a
      WHERE a.status = 1 
        AND a.advertisement_type = 'banner'
        AND a.approval_status = 'approved'
        AND a.payment_status = 'paid'
        AND NOW() BETWEEN a.from_date AND a.to_date
        AND a.zone_id IN (?)
      ORDER BY createdAt DESC
    
prisma:query SELECT `thecarg_db`.`cg_tbl_zones`.`id` FROM `thecarg_db`.`cg_tbl_zones` WHERE (`thecarg_db`.`cg_tbl_zones`.`id` IN (?,?) AND `thecarg_db`.`cg_tbl_zones`.`status` = ?)
prisma:query SELECT `thecarg_db`.`cg_tbl_zones`.`id` FROM `thecarg_db`.`cg_tbl_zones` WHERE (`thecarg_db`.`cg_tbl_zones`.`id` IN (?,?) AND `thecarg_db`.`cg_tbl_zones`.`status` = ?)
prisma:query SELECT `thecarg_db`.`cg_tbl_sellers`.`id`, `thecarg_db`.`cg_tbl_sellers`.`status`, `thecarg_db`.`cg_tbl_sellers`.`operating_hours`, `thecarg_db`.`cg_tbl_sellers`.`zone` FROM `thecarg_db`.`cg_tbl_sellers` WHERE `thecarg_db`.`cg_tbl_sellers`.`status` = ?
prisma:query SELECT `thecarg_db`.`cg_tbl_sellers`.`id`, `thecarg_db`.`cg_tbl_sellers`.`status`, `thecarg_db`.`cg_tbl_sellers`.`operating_hours`, `thecarg_db`.`cg_tbl_sellers`.`zone` FROM `thecarg_db`.`cg_tbl_sellers` WHERE `thecarg_db`.`cg_tbl_sellers`.`status` = ?
prisma:query SELECT COUNT(`thecarg_db`.`cg_tbl_products`.`id`), `thecarg_db`.`cg_tbl_products`.`techdoc_brand_id` FROM `thecarg_db`.`cg_tbl_products` WHERE (`thecarg_db`.`cg_tbl_products`.`status` = ? AND (`thecarg_db`.`cg_tbl_products`.`id`) IN (SELECT `t1`.`product_id` FROM `thecarg_db`.`cg_tbl_seller_products` AS `t1` WHERE (`t1`.`status` = ? AND `t1`.`is_in_stock` = ? AND `t1`.`seller_id` IN (?) AND `t1`.`product_id` IS NOT NULL))) GROUP BY `thecarg_db`.`cg_tbl_products`.`techdoc_brand_id`
prisma:query SELECT `thecarg_db`.`cg_tbl_products`.`assembly_group_node_id`, `thecarg_db`.`cg_tbl_products`.`generic_article_id` FROM `thecarg_db`.`cg_tbl_products` WHERE (`thecarg_db`.`cg_tbl_products`.`status` = ? AND (`thecarg_db`.`cg_tbl_products`.`id`) IN (SELECT `t1`.`product_id` FROM `thecarg_db`.`cg_tbl_seller_products` AS `t1` WHERE (`t1`.`status` = ? AND `t1`.`is_in_stock` = ? AND `t1`.`seller_id` IN (?) AND `t1`.`product_id` IS NOT NULL))) GROUP BY `thecarg_db`.`cg_tbl_products`.`assembly_group_node_id`, `thecarg_db`.`cg_tbl_products`.`generic_article_id`
prisma:query SELECT COUNT(`thecarg_db`.`cg_tbl_products`.`id`), `thecarg_db`.`cg_tbl_products`.`techdoc_brand_id`, `thecarg_db`.`cg_tbl_products`.`brand_name` FROM `thecarg_db`.`cg_tbl_products` WHERE (`thecarg_db`.`cg_tbl_products`.`status` = ? AND (`thecarg_db`.`cg_tbl_products`.`id`) IN (SELECT `t1`.`product_id` FROM `thecarg_db`.`cg_tbl_seller_products` AS `t1` WHERE (`t1`.`status` = ? AND `t1`.`is_in_stock` = ? AND `t1`.`seller_id` IN (?) AND `t1`.`product_id` IS NOT NULL))) GROUP BY `thecarg_db`.`cg_tbl_products`.`techdoc_brand_id`, `thecarg_db`.`cg_tbl_products`.`brand_name` ORDER BY `thecarg_db`.`cg_tbl_products`.`techdoc_brand_id` ASC LIMIT ? OFFSET ?
prisma:query SELECT `thecarg_db`.`cg_tbl_business_settings`.`id`, `thecarg_db`.`cg_tbl_business_settings`.`key`, `thecarg_db`.`cg_tbl_business_settings`.`value`, `thecarg_db`.`cg_tbl_business_settings`.`created_at`, `thecarg_db`.`cg_tbl_business_settings`.`updated_at` FROM `thecarg_db`.`cg_tbl_business_settings` WHERE `thecarg_db`.`cg_tbl_business_settings`.`key` = ? LIMIT ? OFFSET ?
prisma:query SELECT `thecarg_db`.`cg_tbl_business_settings`.`id`, `thecarg_db`.`cg_tbl_business_settings`.`key`, `thecarg_db`.`cg_tbl_business_settings`.`value`, `thecarg_db`.`cg_tbl_business_settings`.`created_at`, `thecarg_db`.`cg_tbl_business_settings`.`updated_at` FROM `thecarg_db`.`cg_tbl_business_settings` WHERE `thecarg_db`.`cg_tbl_business_settings`.`key` = ? LIMIT ? OFFSET ?
prisma:query SELECT `thecarg_db`.`cg_tbl_business_settings`.`id`, `thecarg_db`.`cg_tbl_business_settings`.`key`, `thecarg_db`.`cg_tbl_business_settings`.`value`, `thecarg_db`.`cg_tbl_business_settings`.`created_at`, `thecarg_db`.`cg_tbl_business_settings`.`updated_at` FROM `thecarg_db`.`cg_tbl_business_settings` WHERE `thecarg_db`.`cg_tbl_business_settings`.`key` = ? LIMIT ? OFFSET ?
prisma:query SELECT `thecarg_db`.`cg_tbl_business_settings`.`id`, `thecarg_db`.`cg_tbl_business_settings`.`key`, `thecarg_db`.`cg_tbl_business_settings`.`value`, `thecarg_db`.`cg_tbl_business_settings`.`created_at`, `thecarg_db`.`cg_tbl_business_settings`.`updated_at` FROM `thecarg_db`.`cg_tbl_business_settings` WHERE `thecarg_db`.`cg_tbl_business_settings`.`key` = ? LIMIT ? OFFSET ?
prisma:query SELECT `thecarg_db`.`cg_tbl_business_settings`.`id`, `thecarg_db`.`cg_tbl_business_settings`.`key`, `thecarg_db`.`cg_tbl_business_settings`.`value`, `thecarg_db`.`cg_tbl_business_settings`.`created_at`, `thecarg_db`.`cg_tbl_business_settings`.`updated_at` FROM `thecarg_db`.`cg_tbl_business_settings` WHERE `thecarg_db`.`cg_tbl_business_settings`.`key` = ? LIMIT ? OFFSET ?
prisma:query SELECT `thecarg_db`.`cg_tbl_business_settings`.`id`, `thecarg_db`.`cg_tbl_business_settings`.`key`, `thecarg_db`.`cg_tbl_business_settings`.`value`, `thecarg_db`.`cg_tbl_business_settings`.`created_at`, `thecarg_db`.`cg_tbl_business_settings`.`updated_at` FROM `thecarg_db`.`cg_tbl_business_settings` WHERE `thecarg_db`.`cg_tbl_business_settings`.`key` = ? LIMIT ? OFFSET ?
prisma:query SELECT `thecarg_db`.`cg_tbl_business_settings`.`id`, `thecarg_db`.`cg_tbl_business_settings`.`key`, `thecarg_db`.`cg_tbl_business_settings`.`value`, `thecarg_db`.`cg_tbl_business_settings`.`created_at`, `thecarg_db`.`cg_tbl_business_settings`.`updated_at` FROM `thecarg_db`.`cg_tbl_business_settings` WHERE `thecarg_db`.`cg_tbl_business_settings`.`key` = ? LIMIT ? OFFSET ?
prisma:query SELECT `thecarg_db`.`cg_tbl_business_settings`.`id`, `thecarg_db`.`cg_tbl_business_settings`.`key`, `thecarg_db`.`cg_tbl_business_settings`.`value`, `thecarg_db`.`cg_tbl_business_settings`.`created_at`, `thecarg_db`.`cg_tbl_business_settings`.`updated_at` FROM `thecarg_db`.`cg_tbl_business_settings` WHERE `thecarg_db`.`cg_tbl_business_settings`.`key` = ? LIMIT ? OFFSET ?
[2026-06-24T12:25:16.898Z] [INFO]: TecDoc → getBrands | provider: 25791 | country: IN | url: https://webservice.tecalliance.services/pegasus-3-0/services/TecdocToCatDLB.jsonEndpoint
--------------------------------------------------

[2026-06-24T12:25:16.945Z] [INFO]: TecDoc → getGenericArticles | provider: 25791 | country: IN | url: https://webservice.tecalliance.services/pegasus-3-0/services/TecdocToCatDLB.jsonEndpoint
--------------------------------------------------

prisma:query SELECT `thecarg_db`.`cg_tbl_products`.`assembly_group_node_id`, `thecarg_db`.`cg_tbl_products`.`generic_article_id` FROM `thecarg_db`.`cg_tbl_products` WHERE `thecarg_db`.`cg_tbl_products`.`status` = ? GROUP BY `thecarg_db`.`cg_tbl_products`.`assembly_group_node_id`, `thecarg_db`.`cg_tbl_products`.`generic_article_id`
[2026-06-24T12:25:17.765Z] [INFO]: TecDoc → getArticles | provider: 25791 | country: IN | url: https://webservice.tecalliance.services/pegasus-3-0/services/TecdocToCatDLB.jsonEndpoint
--------------------------------------------------

[2026-06-24T12:25:22.174Z] [INFO]: [ZONE_RESOLVE] Resolving zone for coordinates: (13.07281264, 80.19470259)
--------------------------------------------------

prisma:query SELECT id, status, zone_name AS zoneName, zone_code AS zoneCode, ABS(ST_Area(coordinates)) as area 
       FROM cg_tbl_zones 
       WHERE ST_Contains(coordinates, ST_GeomFromText(?))
       ORDER BY area ASC
[2026-06-24T12:25:22.383Z] [INFO]: [BANNERS] Fetching banners for zoneIds: [13]
--------------------------------------------------

prisma:query 
      SELECT 
        'admin_banner' AS bannerSource,
        b.id,
        b.title,
        b.banner_image AS bannerImage,
        NULL AS userId,
        NULL AS userRoleId,
        NULL AS productId,
        b.created_at AS createdAt
      FROM cg_tbl_banners b
      WHERE b.status = 1 
        AND b.zone_id IN (?)

      UNION ALL

      SELECT 
        'advertisement' AS bannerSource,
        a.id,
        a.title,
        a.banner_image AS bannerImage,
        a.user_id AS userId,
        a.user_role_id AS userRoleId,
        a.product_id AS productId,
        a.created_at AS createdAt
      FROM cg_tbl_advertisements a
      WHERE a.status = 1 
        AND a.advertisement_type = 'banner'
        AND a.approval_status = 'approved'
        AND a.payment_status = 'paid'
        AND NOW() BETWEEN a.from_date AND a.to_date
        AND a.zone_id IN (?)
      ORDER BY createdAt DESC
    
prisma:query SELECT 1
prisma:query SELECT `thecarg_db`.`cg_tbl_zones`.`id` FROM `thecarg_db`.`cg_tbl_zones` WHERE (`thecarg_db`.`cg_tbl_zones`.`id` IN (?) AND `thecarg_db`.`cg_tbl_zones`.`status` = ?)
prisma:query SELECT `thecarg_db`.`cg_tbl_sellers`.`id`, `thecarg_db`.`cg_tbl_sellers`.`status`, `thecarg_db`.`cg_tbl_sellers`.`operating_hours`, `thecarg_db`.`cg_tbl_sellers`.`zone` FROM `thecarg_db`.`cg_tbl_sellers` WHERE `thecarg_db`.`cg_tbl_sellers`.`status` = ?
prisma:query SELECT `thecarg_db`.`cg_tbl_products`.`id`, `thecarg_db`.`cg_tbl_products`.`article_number` FROM `thecarg_db`.`cg_tbl_products` WHERE (`thecarg_db`.`cg_tbl_products`.`status` = ? AND (`thecarg_db`.`cg_tbl_products`.`id`) IN (SELECT `t1`.`product_id` FROM `thecarg_db`.`cg_tbl_seller_products` AS `t1` WHERE (`t1`.`status` = ? AND `t1`.`seller_id` IN (?) AND `t1`.`product_id` IS NOT NULL)) AND `thecarg_db`.`cg_tbl_products`.`generic_article_id` = ? AND `thecarg_db`.`cg_tbl_products`.`assembly_group_node_id` = ?) ORDER BY `thecarg_db`.`cg_tbl_products`.`id` ASC
prisma:query SELECT `thecarg_db`.`cg_tbl_products`.`article_number` FROM `thecarg_db`.`cg_tbl_products` WHERE `thecarg_db`.`cg_tbl_products`.`id` IN (?,?) GROUP BY `thecarg_db`.`cg_tbl_products`.`article_number`
prisma:query SELECT MIN(`thecarg_db`.`cg_tbl_products`.`id`), `thecarg_db`.`cg_tbl_products`.`article_number` FROM `thecarg_db`.`cg_tbl_products` WHERE `thecarg_db`.`cg_tbl_products`.`id` IN (?,?) GROUP BY `thecarg_db`.`cg_tbl_products`.`article_number` ORDER BY MIN(`thecarg_db`.`cg_tbl_products`.`id`) ASC LIMIT ? OFFSET ?
prisma:query SELECT `thecarg_db`.`cg_tbl_products`.`id`, `thecarg_db`.`cg_tbl_products`.`techdoc_article_id`, `thecarg_db`.`cg_tbl_products`.`techdoc_brand_id`, `thecarg_db`.`cg_tbl_products`.`article_number`, `thecarg_db`.`cg_tbl_products`.`brand_name`, `thecarg_db`.`cg_tbl_products`.`status`, `thecarg_db`.`cg_tbl_products`.`created_at`, `thecarg_db`.`cg_tbl_products`.`updated_at`, `thecarg_db`.`cg_tbl_products`.`assembly_group_node_id`, `thecarg_db`.`cg_tbl_products`.`generic_article_id` FROM `thecarg_db`.`cg_tbl_products` WHERE `thecarg_db`.`cg_tbl_products`.`id` IN (?,?) ORDER BY `thecarg_db`.`cg_tbl_products`.`id` ASC
[2026-06-24T12:25:30.860Z] [INFO]: TecDoc → getArticles | provider: 25791 | country: IN | url: https://webservice.tecalliance.services/pegasus-3-0/services/TecdocToCatDLB.jsonEndpoint
--------------------------------------------------

[2026-06-24T12:25:30.863Z] [INFO]: TecDoc → getArticles | provider: 25791 | country: IN | url: https://webservice.tecalliance.services/pegasus-3-0/services/TecdocToCatDLB.jsonEndpoint
--------------------------------------------------

[2026-06-24T12:25:31.329Z] [INFO]: TecDoc → getArticles | provider: 25791 | country: IN | url: https://webservice.tecalliance.services/pegasus-3-0/services/TecdocToCatDLB.jsonEndpoint
--------------------------------------------------

[2026-06-24T12:25:31.336Z] [INFO]: TecDoc → getArticles | provider: 25791 | country: IN | url: https://webservice.tecalliance.services/pegasus-3-0/services/TecdocToCatDLB.jsonEndpoint
--------------------------------------------------

prisma:query SELECT `thecarg_db`.`cg_tbl_products`.`id`, `thecarg_db`.`cg_tbl_products`.`techdoc_article_id` FROM `thecarg_db`.`cg_tbl_products` WHERE (`thecarg_db`.`cg_tbl_products`.`techdoc_article_id` IN (?,?) AND `thecarg_db`.`cg_tbl_products`.`status` = ? AND `thecarg_db`.`cg_tbl_products`.`id` IN (?,?))
prisma:query SELECT `thecarg_db`.`cg_tbl_seller_products`.`id`, `thecarg_db`.`cg_tbl_seller_products`.`product_id`, `thecarg_db`.`cg_tbl_seller_products`.`customer_selling_price`, `thecarg_db`.`cg_tbl_seller_products`.`garage_selling_price`, `thecarg_db`.`cg_tbl_seller_products`.`mrp`, `thecarg_db`.`cg_tbl_seller_products`.`customer_discount_type`, `thecarg_db`.`cg_tbl_seller_products`.`customer_discount`, `thecarg_db`.`cg_tbl_seller_products`.`garage_discount_type`, `thecarg_db`.`cg_tbl_seller_products`.`garage_discount`, `thecarg_db`.`cg_tbl_seller_products`.`is_in_stock`, `thecarg_db`.`cg_tbl_seller_products`.`is_returnable`, `thecarg_db`.`cg_tbl_seller_products`.`return_days`, `thecarg_db`.`cg_tbl_seller_products`.`warranty_enabled`, `thecarg_db`.`cg_tbl_seller_products`.`warranty_duration`, `thecarg_db`.`cg_tbl_seller_products`.`warranty_duration_type`, `thecarg_db`.`cg_tbl_seller_products`.`warranty_document`, `thecarg_db`.`cg_tbl_seller_products`.`tax`, `thecarg_db`.`cg_tbl_seller_products`.`seller_id` FROM `thecarg_db`.`cg_tbl_seller_products` LEFT JOIN `thecarg_db`.`cg_tbl_sellers` AS `j1` ON (`j1`.`id`) = (`thecarg_db`.`cg_tbl_seller_products`.`seller_id`) WHERE (`thecarg_db`.`cg_tbl_seller_products`.`product_id` IN (?,?) AND `thecarg_db`.`cg_tbl_seller_products`.`status` = ? AND (`j1`.`status` = ? AND (`j1`.`id` IS NOT NULL))) ORDER BY `thecarg_db`.`cg_tbl_seller_products`.`customer_selling_price` ASC
prisma:query SELECT `thecarg_db`.`cg_tbl_sellers`.`id`, `thecarg_db`.`cg_tbl_sellers`.`seller_id`, `thecarg_db`.`cg_tbl_sellers`.`first_name`, `thecarg_db`.`cg_tbl_sellers`.`last_name`, `thecarg_db`.`cg_tbl_sellers`.`trade_name`, `thecarg_db`.`cg_tbl_sellers`.`city`, `thecarg_db`.`cg_tbl_sellers`.`state`, `thecarg_db`.`cg_tbl_sellers`.`email`, `thecarg_db`.`cg_tbl_sellers`.`mobile`, `thecarg_db`.`cg_tbl_sellers`.`address`, `thecarg_db`.`cg_tbl_sellers`.`pincode`, `thecarg_db`.`cg_tbl_sellers`.`status`, `thecarg_db`.`cg_tbl_sellers`.`operating_hours`, `thecarg_db`.`cg_tbl_sellers`.`zone`, `thecarg_db`.`cg_tbl_sellers`.`latitude`, `thecarg_db`.`cg_tbl_sellers`.`longitude` FROM `thecarg_db`.`cg_tbl_sellers` WHERE `thecarg_db`.`cg_tbl_sellers`.`id` IN (?)
prisma:query SELECT `thecarg_db`.`cg_tbl_zones`.`id`, `thecarg_db`.`cg_tbl_zones`.`zone_name` FROM `thecarg_db`.`cg_tbl_zones` WHERE 1=1
prisma:query SELECT `thecarg_db`.`cg_tbl_zones`.`id` FROM `thecarg_db`.`cg_tbl_zones` WHERE (`thecarg_db`.`cg_tbl_zones`.`id` IN (?) AND `thecarg_db`.`cg_tbl_zones`.`status` = ?)
prisma:query SELECT `thecarg_db`.`cg_tbl_zones`.`id` FROM `thecarg_db`.`cg_tbl_zones` WHERE (`thecarg_db`.`cg_tbl_zones`.`id` IN (?) AND `thecarg_db`.`cg_tbl_zones`.`status` = ?)
prisma:query SELECT 1
prisma:query SELECT `thecarg_db`.`cg_tbl_sellers`.`id`, `thecarg_db`.`cg_tbl_sellers`.`status`, `thecarg_db`.`cg_tbl_sellers`.`operating_hours`, `thecarg_db`.`cg_tbl_sellers`.`zone` FROM `thecarg_db`.`cg_tbl_sellers` WHERE `thecarg_db`.`cg_tbl_sellers`.`status` = ?
prisma:query SELECT `thecarg_db`.`cg_tbl_products`.`id`, `thecarg_db`.`cg_tbl_products`.`article_number` FROM `thecarg_db`.`cg_tbl_products` WHERE (`thecarg_db`.`cg_tbl_products`.`status` = ? AND (`thecarg_db`.`cg_tbl_products`.`id`) IN (SELECT `t1`.`product_id` FROM `thecarg_db`.`cg_tbl_seller_products` AS `t1` WHERE (`t1`.`status` = ? AND `t1`.`seller_id` IN (?) AND `t1`.`product_id` IS NOT NULL)) AND `thecarg_db`.`cg_tbl_products`.`generic_article_id` = ? AND `thecarg_db`.`cg_tbl_products`.`assembly_group_node_id` = ?) ORDER BY `thecarg_db`.`cg_tbl_products`.`id` ASC
prisma:query SELECT COUNT(*) FROM (SELECT `thecarg_db`.`cg_tbl_cart`.`id` FROM `thecarg_db`.`cg_tbl_cart` WHERE (`thecarg_db`.`cg_tbl_cart`.`user_id` = ? AND `thecarg_db`.`cg_tbl_cart`.`user_role_id` = ?)) AS `sub`
prisma:query SELECT `thecarg_db`.`cg_tbl_products`.`article_number` FROM `thecarg_db`.`cg_tbl_products` WHERE `thecarg_db`.`cg_tbl_products`.`id` IN (?,?) GROUP BY `thecarg_db`.`cg_tbl_products`.`article_number`
prisma:query SELECT `thecarg_db`.`cg_tbl_cart`.`id`, `thecarg_db`.`cg_tbl_cart`.`user_id`, `thecarg_db`.`cg_tbl_cart`.`user_role_id`, `thecarg_db`.`cg_tbl_cart`.`seller_id`, `thecarg_db`.`cg_tbl_cart`.`product_id`, `thecarg_db`.`cg_tbl_cart`.`quantity`, `thecarg_db`.`cg_tbl_cart`.`price`, `thecarg_db`.`cg_tbl_cart`.`created_at`, `thecarg_db`.`cg_tbl_cart`.`updated_at` FROM `thecarg_db`.`cg_tbl_cart` WHERE (`thecarg_db`.`cg_tbl_cart`.`user_id` = ? AND `thecarg_db`.`cg_tbl_cart`.`user_role_id` = ?) ORDER BY `thecarg_db`.`cg_tbl_cart`.`created_at` DESC LIMIT ? OFFSET ?
prisma:query SELECT `thecarg_db`.`cg_tbl_products`.`id`, `thecarg_db`.`cg_tbl_products`.`techdoc_article_id`, `thecarg_db`.`cg_tbl_products`.`techdoc_brand_id`, `thecarg_db`.`cg_tbl_products`.`article_number`, `thecarg_db`.`cg_tbl_products`.`brand_name`, `thecarg_db`.`cg_tbl_products`.`status`, `thecarg_db`.`cg_tbl_products`.`created_at`, `thecarg_db`.`cg_tbl_products`.`updated_at`, `thecarg_db`.`cg_tbl_products`.`assembly_group_node_id`, `thecarg_db`.`cg_tbl_products`.`generic_article_id` FROM `thecarg_db`.`cg_tbl_products` WHERE `thecarg_db`.`cg_tbl_products`.`id` IN (?)
prisma:query SELECT MIN(`thecarg_db`.`cg_tbl_products`.`id`), `thecarg_db`.`cg_tbl_products`.`article_number` FROM `thecarg_db`.`cg_tbl_products` WHERE `thecarg_db`.`cg_tbl_products`.`id` IN (?,?) GROUP BY `thecarg_db`.`cg_tbl_products`.`article_number` ORDER BY MIN(`thecarg_db`.`cg_tbl_products`.`id`) ASC LIMIT ? OFFSET ?
[2026-06-24T12:25:33.908Z] [INFO]: TecDoc → getArticles | provider: 25791 | country: IN | url: https://webservice.tecalliance.services/pegasus-3-0/services/TecdocToCatDLB.jsonEndpoint
--------------------------------------------------

prisma:query SELECT `thecarg_db`.`cg_tbl_products`.`id`, `thecarg_db`.`cg_tbl_products`.`techdoc_article_id`, `thecarg_db`.`cg_tbl_products`.`techdoc_brand_id`, `thecarg_db`.`cg_tbl_products`.`article_number`, `thecarg_db`.`cg_tbl_products`.`brand_name`, `thecarg_db`.`cg_tbl_products`.`status`, `thecarg_db`.`cg_tbl_products`.`created_at`, `thecarg_db`.`cg_tbl_products`.`updated_at`, `thecarg_db`.`cg_tbl_products`.`assembly_group_node_id`, `thecarg_db`.`cg_tbl_products`.`generic_article_id` FROM `thecarg_db`.`cg_tbl_products` WHERE `thecarg_db`.`cg_tbl_products`.`id` IN (?,?) ORDER BY `thecarg_db`.`cg_tbl_products`.`id` ASC
[2026-06-24T12:25:33.917Z] [INFO]: TecDoc → getArticles | provider: 25791 | country: IN | url: https://webservice.tecalliance.services/pegasus-3-0/services/TecdocToCatDLB.jsonEndpoint
--------------------------------------------------

[2026-06-24T12:25:33.922Z] [INFO]: TecDoc → getArticles | provider: 25791 | country: IN | url: https://webservice.tecalliance.services/pegasus-3-0/services/TecdocToCatDLB.jsonEndpoint
--------------------------------------------------

[2026-06-24T12:25:34.073Z] [INFO]: TecDoc → getArticles | provider: 25791 | country: IN | url: https://webservice.tecalliance.services/pegasus-3-0/services/TecdocToCatDLB.jsonEndpoint
--------------------------------------------------

[2026-06-24T12:25:34.086Z] [INFO]: TecDoc → getArticles | provider: 25791 | country: IN | url: https://webservice.tecalliance.services/pegasus-3-0/services/TecdocToCatDLB.jsonEndpoint
--------------------------------------------------

prisma:query SELECT `thecarg_db`.`cg_tbl_zones`.`id` FROM `thecarg_db`.`cg_tbl_zones` WHERE (`thecarg_db`.`cg_tbl_zones`.`id` IN (?) AND `thecarg_db`.`cg_tbl_zones`.`status` = ?)
prisma:query SELECT `thecarg_db`.`cg_tbl_products`.`id`, `thecarg_db`.`cg_tbl_products`.`techdoc_article_id`, `thecarg_db`.`cg_tbl_products`.`techdoc_brand_id`, `thecarg_db`.`cg_tbl_products`.`article_number`, `thecarg_db`.`cg_tbl_products`.`brand_name`, `thecarg_db`.`cg_tbl_products`.`status`, `thecarg_db`.`cg_tbl_products`.`created_at`, `thecarg_db`.`cg_tbl_products`.`updated_at`, `thecarg_db`.`cg_tbl_products`.`assembly_group_node_id`, `thecarg_db`.`cg_tbl_products`.`generic_article_id` FROM `thecarg_db`.`cg_tbl_products` WHERE (`thecarg_db`.`cg_tbl_products`.`id` = ? AND `thecarg_db`.`cg_tbl_products`.`status` = ?) LIMIT ? OFFSET ?
[2026-06-24T12:25:34.192Z] [INFO]: TecDoc → getArticles | provider: 25791 | country: IN | url: https://webservice.tecalliance.services/pegasus-3-0/services/TecdocToCatDLB.jsonEndpoint
--------------------------------------------------

prisma:query SELECT `thecarg_db`.`cg_tbl_seller_products`.`id`, `thecarg_db`.`cg_tbl_seller_products`.`seller_id`, `thecarg_db`.`cg_tbl_seller_products`.`product_id`, `thecarg_db`.`cg_tbl_seller_products`.`category_id`, `thecarg_db`.`cg_tbl_seller_products`.`subcategory_id`, `thecarg_db`.`cg_tbl_seller_products`.`mrp`, `thecarg_db`.`cg_tbl_seller_products`.`customer_selling_price`, `thecarg_db`.`cg_tbl_seller_products`.`garage_selling_price`, `thecarg_db`.`cg_tbl_seller_products`.`customer_discount_type`, `thecarg_db`.`cg_tbl_seller_products`.`customer_discount`, `thecarg_db`.`cg_tbl_seller_products`.`is_returnable`, `thecarg_db`.`cg_tbl_seller_products`.`return_days`, `thecarg_db`.`cg_tbl_seller_products`.`tax`, `thecarg_db`.`cg_tbl_seller_products`.`garage_discount_type`, `thecarg_db`.`cg_tbl_seller_products`.`garage_discount`, `thecarg_db`.`cg_tbl_seller_products`.`warranty_enabled`, `thecarg_db`.`cg_tbl_seller_products`.`warranty_duration`, `thecarg_db`.`cg_tbl_seller_products`.`warranty_duration_type`, `thecarg_db`.`cg_tbl_seller_products`.`warranty_document`, `thecarg_db`.`cg_tbl_seller_products`.`status`, `thecarg_db`.`cg_tbl_seller_products`.`created_at`, `thecarg_db`.`cg_tbl_seller_products`.`updated_at`, `thecarg_db`.`cg_tbl_seller_products`.`is_in_stock` FROM `thecarg_db`.`cg_tbl_seller_products` LEFT JOIN `thecarg_db`.`cg_tbl_sellers` AS `j1` ON (`j1`.`id`) = (`thecarg_db`.`cg_tbl_seller_products`.`seller_id`) WHERE (`thecarg_db`.`cg_tbl_seller_products`.`product_id` = ? AND `thecarg_db`.`cg_tbl_seller_products`.`seller_id` = ? AND `thecarg_db`.`cg_tbl_seller_products`.`status` = ? AND `thecarg_db`.`cg_tbl_seller_products`.`is_in_stock` = ? AND (`j1`.`status` = ? AND (`j1`.`id` IS NOT NULL))) LIMIT ? OFFSET ?
prisma:query SELECT `thecarg_db`.`cg_tbl_sellers`.`id`, `thecarg_db`.`cg_tbl_sellers`.`seller_id`, `thecarg_db`.`cg_tbl_sellers`.`first_name`, `thecarg_db`.`cg_tbl_sellers`.`last_name`, `thecarg_db`.`cg_tbl_sellers`.`mobile`, `thecarg_db`.`cg_tbl_sellers`.`email`, `thecarg_db`.`cg_tbl_sellers`.`trade_name`, `thecarg_db`.`cg_tbl_sellers`.`entity_type`, `thecarg_db`.`cg_tbl_sellers`.`aadhaar_number`, `thecarg_db`.`cg_tbl_sellers`.`pan_number`, `thecarg_db`.`cg_tbl_sellers`.`gstin_number`, `thecarg_db`.`cg_tbl_sellers`.`cin_number`, `thecarg_db`.`cg_tbl_sellers`.`operating_hours`, `thecarg_db`.`cg_tbl_sellers`.`specific_commission`, `thecarg_db`.`cg_tbl_sellers`.`customer_order_commission`, `thecarg_db`.`cg_tbl_sellers`.`garage_order_commission`, `thecarg_db`.`cg_tbl_sellers`.`requested_customer_order_commission`, `thecarg_db`.`cg_tbl_sellers`.`requested_garage_order_commission`, `thecarg_db`.`cg_tbl_sellers`.`bank_name`, `thecarg_db`.`cg_tbl_sellers`.`bank_account_number`, `thecarg_db`.`cg_tbl_sellers`.`bank_ifsc_code`, `thecarg_db`.`cg_tbl_sellers`.`address`, `thecarg_db`.`cg_tbl_sellers`.`latitude`, `thecarg_db`.`cg_tbl_sellers`.`longitude`, `thecarg_db`.`cg_tbl_sellers`.`state`, `thecarg_db`.`cg_tbl_sellers`.`city`, `thecarg_db`.`cg_tbl_sellers`.`zone`, `thecarg_db`.`cg_tbl_sellers`.`pincode`, `thecarg_db`.`cg_tbl_sellers`.`pan_card_file`, `thecarg_db`.`cg_tbl_sellers`.`gst_file`, `thecarg_db`.`cg_tbl_sellers`.`cin_file`, `thecarg_db`.`cg_tbl_sellers`.`cancelled_cheque_file`, `thecarg_db`.`cg_tbl_sellers`.`aadhaar_pan_signatory_file`, `thecarg_db`.`cg_tbl_sellers`.`other_documents_file`, `thecarg_db`.`cg_tbl_sellers`.`status`, `thecarg_db`.`cg_tbl_sellers`.`is_verified`, `thecarg_db`.`cg_tbl_sellers`.`fcm_token`, `thecarg_db`.`cg_tbl_sellers`.`subscription_id`, `thecarg_db`.`cg_tbl_sellers`.`subscription_start_date`, `thecarg_db`.`cg_tbl_sellers`.`subscription_end_date`, `thecarg_db`.`cg_tbl_sellers`.`created_at`, `thecarg_db`.`cg_tbl_sellers`.`updated_at` FROM `thecarg_db`.`cg_tbl_sellers` WHERE `thecarg_db`.`cg_tbl_sellers`.`id` IN (?)
[2026-06-24T12:25:34.402Z] [INFO]: TecDoc → getArticles | provider: 25791 | country: IN | url: https://webservice.tecalliance.services/pegasus-3-0/services/TecdocToCatDLB.jsonEndpoint
--------------------------------------------------

prisma:query SELECT `thecarg_db`.`cg_tbl_products`.`id`, `thecarg_db`.`cg_tbl_products`.`techdoc_article_id` FROM `thecarg_db`.`cg_tbl_products` WHERE (`thecarg_db`.`cg_tbl_products`.`techdoc_article_id` IN (?,?) AND `thecarg_db`.`cg_tbl_products`.`status` = ? AND `thecarg_db`.`cg_tbl_products`.`id` IN (?,?))
prisma:query SELECT `thecarg_db`.`cg_tbl_seller_products`.`id`, `thecarg_db`.`cg_tbl_seller_products`.`product_id`, `thecarg_db`.`cg_tbl_seller_products`.`customer_selling_price`, `thecarg_db`.`cg_tbl_seller_products`.`garage_selling_price`, `thecarg_db`.`cg_tbl_seller_products`.`mrp`, `thecarg_db`.`cg_tbl_seller_products`.`customer_discount_type`, `thecarg_db`.`cg_tbl_seller_products`.`customer_discount`, `thecarg_db`.`cg_tbl_seller_products`.`garage_discount_type`, `thecarg_db`.`cg_tbl_seller_products`.`garage_discount`, `thecarg_db`.`cg_tbl_seller_products`.`is_in_stock`, `thecarg_db`.`cg_tbl_seller_products`.`is_returnable`, `thecarg_db`.`cg_tbl_seller_products`.`return_days`, `thecarg_db`.`cg_tbl_seller_products`.`warranty_enabled`, `thecarg_db`.`cg_tbl_seller_products`.`warranty_duration`, `thecarg_db`.`cg_tbl_seller_products`.`warranty_duration_type`, `thecarg_db`.`cg_tbl_seller_products`.`warranty_document`, `thecarg_db`.`cg_tbl_seller_products`.`tax`, `thecarg_db`.`cg_tbl_seller_products`.`seller_id` FROM `thecarg_db`.`cg_tbl_seller_products` LEFT JOIN `thecarg_db`.`cg_tbl_sellers` AS `j1` ON (`j1`.`id`) = (`thecarg_db`.`cg_tbl_seller_products`.`seller_id`) WHERE (`thecarg_db`.`cg_tbl_seller_products`.`product_id` IN (?,?) AND `thecarg_db`.`cg_tbl_seller_products`.`status` = ? AND (`j1`.`status` = ? AND (`j1`.`id` IS NOT NULL))) ORDER BY `thecarg_db`.`cg_tbl_seller_products`.`customer_selling_price` ASC
prisma:query SELECT `thecarg_db`.`cg_tbl_sellers`.`id`, `thecarg_db`.`cg_tbl_sellers`.`seller_id`, `thecarg_db`.`cg_tbl_sellers`.`first_name`, `thecarg_db`.`cg_tbl_sellers`.`last_name`, `thecarg_db`.`cg_tbl_sellers`.`trade_name`, `thecarg_db`.`cg_tbl_sellers`.`city`, `thecarg_db`.`cg_tbl_sellers`.`state`, `thecarg_db`.`cg_tbl_sellers`.`email`, `thecarg_db`.`cg_tbl_sellers`.`mobile`, `thecarg_db`.`cg_tbl_sellers`.`address`, `thecarg_db`.`cg_tbl_sellers`.`pincode`, `thecarg_db`.`cg_tbl_sellers`.`status`, `thecarg_db`.`cg_tbl_sellers`.`operating_hours`, `thecarg_db`.`cg_tbl_sellers`.`zone`, `thecarg_db`.`cg_tbl_sellers`.`latitude`, `thecarg_db`.`cg_tbl_sellers`.`longitude` FROM `thecarg_db`.`cg_tbl_sellers` WHERE `thecarg_db`.`cg_tbl_sellers`.`id` IN (?)
prisma:query SELECT `thecarg_db`.`cg_tbl_zones`.`id`, `thecarg_db`.`cg_tbl_zones`.`zone_name` FROM `thecarg_db`.`cg_tbl_zones` WHERE 1=1
[2026-06-24T12:25:34.661Z] [INFO]: TecDoc → getArticles | provider: 25791 | country: IN | url: https://webservice.tecalliance.services/pegasus-3-0/services/TecdocToCatDLB.jsonEndpoint
--------------------------------------------------

[2026-06-24T12:25:34.829Z] [INFO]: TecDoc → getArticleLinkedAllLinkingTarget4 | provider: 25791 | country: IN | url: https://webservice.tecalliance.services/pegasus-3-0/services/TecdocToCatDLB.jsonEndpoint
--------------------------------------------------

[2026-06-24T12:25:34.997Z] [INFO]: TecDoc → getArticleLinkedAllLinkingTargetsByIds3 | provider: 25791 | country: IN | url: https://webservice.tecalliance.services/pegasus-3-0/services/TecdocToCatDLB.jsonEndpoint
--------------------------------------------------

prisma:query SELECT `thecarg_db`.`cg_tbl_seller_products`.`id`, `thecarg_db`.`cg_tbl_seller_products`.`customer_selling_price`, `thecarg_db`.`cg_tbl_seller_products`.`garage_selling_price`, `thecarg_db`.`cg_tbl_seller_products`.`mrp`, `thecarg_db`.`cg_tbl_seller_products`.`customer_discount_type`, `thecarg_db`.`cg_tbl_seller_products`.`customer_discount`, `thecarg_db`.`cg_tbl_seller_products`.`garage_discount_type`, `thecarg_db`.`cg_tbl_seller_products`.`garage_discount`, `thecarg_db`.`cg_tbl_seller_products`.`is_in_stock`, `thecarg_db`.`cg_tbl_seller_products`.`is_returnable`, `thecarg_db`.`cg_tbl_seller_products`.`return_days`, `thecarg_db`.`cg_tbl_seller_products`.`warranty_enabled`, `thecarg_db`.`cg_tbl_seller_products`.`warranty_duration`, `thecarg_db`.`cg_tbl_seller_products`.`warranty_duration_type`, `thecarg_db`.`cg_tbl_seller_products`.`warranty_document`, `thecarg_db`.`cg_tbl_seller_products`.`tax`, `thecarg_db`.`cg_tbl_seller_products`.`seller_id` FROM `thecarg_db`.`cg_tbl_seller_products` LEFT JOIN `thecarg_db`.`cg_tbl_sellers` AS `j1` ON (`j1`.`id`) = (`thecarg_db`.`cg_tbl_seller_products`.`seller_id`) WHERE (`thecarg_db`.`cg_tbl_seller_products`.`product_id` = ? AND `thecarg_db`.`cg_tbl_seller_products`.`status` = ? AND (`j1`.`status` = ? AND (`j1`.`id` IS NOT NULL))) ORDER BY `thecarg_db`.`cg_tbl_seller_products`.`customer_selling_price` ASC
prisma:query SELECT `thecarg_db`.`cg_tbl_sellers`.`id`, `thecarg_db`.`cg_tbl_sellers`.`seller_id`, `thecarg_db`.`cg_tbl_sellers`.`first_name`, `thecarg_db`.`cg_tbl_sellers`.`last_name`, `thecarg_db`.`cg_tbl_sellers`.`trade_name`, `thecarg_db`.`cg_tbl_sellers`.`city`, `thecarg_db`.`cg_tbl_sellers`.`state`, `thecarg_db`.`cg_tbl_sellers`.`email`, `thecarg_db`.`cg_tbl_sellers`.`mobile`, `thecarg_db`.`cg_tbl_sellers`.`address`, `thecarg_db`.`cg_tbl_sellers`.`pincode`, `thecarg_db`.`cg_tbl_sellers`.`status`, `thecarg_db`.`cg_tbl_sellers`.`operating_hours`, `thecarg_db`.`cg_tbl_sellers`.`zone`, `thecarg_db`.`cg_tbl_sellers`.`latitude`, `thecarg_db`.`cg_tbl_sellers`.`longitude` FROM `thecarg_db`.`cg_tbl_sellers` WHERE `thecarg_db`.`cg_tbl_sellers`.`id` IN (?)
prisma:query SELECT `thecarg_db`.`cg_tbl_zones`.`id`, `thecarg_db`.`cg_tbl_zones`.`zone_name` FROM `thecarg_db`.`cg_tbl_zones` WHERE 1=1
prisma:query SELECT `thecarg_db`.`cg_tbl_zones`.`id` FROM `thecarg_db`.`cg_tbl_zones` WHERE (`thecarg_db`.`cg_tbl_zones`.`id` IN (?) AND `thecarg_db`.`cg_tbl_zones`.`status` = ?)
prisma:query SELECT `thecarg_db`.`cg_tbl_zones`.`id` FROM `thecarg_db`.`cg_tbl_zones` WHERE (`thecarg_db`.`cg_tbl_zones`.`id` IN (?) AND `thecarg_db`.`cg_tbl_zones`.`status` = ?)
prisma:query SELECT COUNT(*) FROM (SELECT `thecarg_db`.`cg_tbl_cart`.`id` FROM `thecarg_db`.`cg_tbl_cart` WHERE (`thecarg_db`.`cg_tbl_cart`.`user_id` = ? AND `thecarg_db`.`cg_tbl_cart`.`user_role_id` = ?)) AS `sub`
prisma:query SELECT `thecarg_db`.`cg_tbl_sellers`.`id`, `thecarg_db`.`cg_tbl_sellers`.`status`, `thecarg_db`.`cg_tbl_sellers`.`operating_hours`, `thecarg_db`.`cg_tbl_sellers`.`zone` FROM `thecarg_db`.`cg_tbl_sellers` WHERE `thecarg_db`.`cg_tbl_sellers`.`status` = ?
prisma:query SELECT `thecarg_db`.`cg_tbl_cart`.`id`, `thecarg_db`.`cg_tbl_cart`.`user_id`, `thecarg_db`.`cg_tbl_cart`.`user_role_id`, `thecarg_db`.`cg_tbl_cart`.`seller_id`, `thecarg_db`.`cg_tbl_cart`.`product_id`, `thecarg_db`.`cg_tbl_cart`.`quantity`, `thecarg_db`.`cg_tbl_cart`.`price`, `thecarg_db`.`cg_tbl_cart`.`created_at`, `thecarg_db`.`cg_tbl_cart`.`updated_at` FROM `thecarg_db`.`cg_tbl_cart` WHERE (`thecarg_db`.`cg_tbl_cart`.`user_id` = ? AND `thecarg_db`.`cg_tbl_cart`.`user_role_id` = ?) ORDER BY `thecarg_db`.`cg_tbl_cart`.`created_at` DESC LIMIT ? OFFSET ?
prisma:query SELECT `thecarg_db`.`cg_tbl_products`.`id`, `thecarg_db`.`cg_tbl_products`.`techdoc_article_id`, `thecarg_db`.`cg_tbl_products`.`techdoc_brand_id`, `thecarg_db`.`cg_tbl_products`.`article_number`, `thecarg_db`.`cg_tbl_products`.`brand_name`, `thecarg_db`.`cg_tbl_products`.`status`, `thecarg_db`.`cg_tbl_products`.`created_at`, `thecarg_db`.`cg_tbl_products`.`updated_at`, `thecarg_db`.`cg_tbl_products`.`assembly_group_node_id`, `thecarg_db`.`cg_tbl_products`.`generic_article_id` FROM `thecarg_db`.`cg_tbl_products` WHERE `thecarg_db`.`cg_tbl_products`.`id` IN (?)
prisma:query SELECT `thecarg_db`.`cg_tbl_products`.`id`, `thecarg_db`.`cg_tbl_products`.`article_number` FROM `thecarg_db`.`cg_tbl_products` WHERE (`thecarg_db`.`cg_tbl_products`.`status` = ? AND (`thecarg_db`.`cg_tbl_products`.`id`) IN (SELECT `t1`.`product_id` FROM `thecarg_db`.`cg_tbl_seller_products` AS `t1` WHERE (`t1`.`status` = ? AND `t1`.`seller_id` IN (?) AND `t1`.`product_id` IS NOT NULL)) AND `thecarg_db`.`cg_tbl_products`.`generic_article_id` = ? AND `thecarg_db`.`cg_tbl_products`.`assembly_group_node_id` = ?) ORDER BY `thecarg_db`.`cg_tbl_products`.`id` ASC
[2026-06-24T12:25:37.188Z] [INFO]: TecDoc → getArticles | provider: 25791 | country: IN | url: https://webservice.tecalliance.services/pegasus-3-0/services/TecdocToCatDLB.jsonEndpoint
--------------------------------------------------

prisma:query SELECT `thecarg_db`.`cg_tbl_products`.`article_number` FROM `thecarg_db`.`cg_tbl_products` WHERE `thecarg_db`.`cg_tbl_products`.`id` IN (?,?) GROUP BY `thecarg_db`.`cg_tbl_products`.`article_number`
prisma:query SELECT MIN(`thecarg_db`.`cg_tbl_products`.`id`), `thecarg_db`.`cg_tbl_products`.`article_number` FROM `thecarg_db`.`cg_tbl_products` WHERE `thecarg_db`.`cg_tbl_products`.`id` IN (?,?) GROUP BY `thecarg_db`.`cg_tbl_products`.`article_number` ORDER BY MIN(`thecarg_db`.`cg_tbl_products`.`id`) ASC LIMIT ? OFFSET ?
prisma:query SELECT `thecarg_db`.`cg_tbl_products`.`id`, `thecarg_db`.`cg_tbl_products`.`techdoc_article_id`, `thecarg_db`.`cg_tbl_products`.`techdoc_brand_id`, `thecarg_db`.`cg_tbl_products`.`article_number`, `thecarg_db`.`cg_tbl_products`.`brand_name`, `thecarg_db`.`cg_tbl_products`.`status`, `thecarg_db`.`cg_tbl_products`.`created_at`, `thecarg_db`.`cg_tbl_products`.`updated_at`, `thecarg_db`.`cg_tbl_products`.`assembly_group_node_id`, `thecarg_db`.`cg_tbl_products`.`generic_article_id` FROM `thecarg_db`.`cg_tbl_products` WHERE `thecarg_db`.`cg_tbl_products`.`id` IN (?,?) ORDER BY `thecarg_db`.`cg_tbl_products`.`id` ASC
[2026-06-24T12:25:37.204Z] [INFO]: TecDoc → getArticles | provider: 25791 | country: IN | url: https://webservice.tecalliance.services/pegasus-3-0/services/TecdocToCatDLB.jsonEndpoint
--------------------------------------------------

[2026-06-24T12:25:37.206Z] [INFO]: TecDoc → getArticles | provider: 25791 | country: IN | url: https://webservice.tecalliance.services/pegasus-3-0/services/TecdocToCatDLB.jsonEndpoint
--------------------------------------------------

[2026-06-24T12:25:37.389Z] [INFO]: TecDoc → getArticles | provider: 25791 | country: IN | url: https://webservice.tecalliance.services/pegasus-3-0/services/TecdocToCatDLB.jsonEndpoint
--------------------------------------------------

[2026-06-24T12:25:37.395Z] [INFO]: TecDoc → getArticles | provider: 25791 | country: IN | url: https://webservice.tecalliance.services/pegasus-3-0/services/TecdocToCatDLB.jsonEndpoint
--------------------------------------------------

[2026-06-24T12:25:37.561Z] [INFO]: TecDoc → getArticles | provider: 25791 | country: IN | url: https://webservice.tecalliance.services/pegasus-3-0/services/TecdocToCatDLB.jsonEndpoint
--------------------------------------------------

prisma:query SELECT `thecarg_db`.`cg_tbl_products`.`id`, `thecarg_db`.`cg_tbl_products`.`techdoc_article_id` FROM `thecarg_db`.`cg_tbl_products` WHERE (`thecarg_db`.`cg_tbl_products`.`techdoc_article_id` IN (?,?) AND `thecarg_db`.`cg_tbl_products`.`status` = ? AND `thecarg_db`.`cg_tbl_products`.`id` IN (?,?))
prisma:query SELECT `thecarg_db`.`cg_tbl_seller_products`.`id`, `thecarg_db`.`cg_tbl_seller_products`.`product_id`, `thecarg_db`.`cg_tbl_seller_products`.`customer_selling_price`, `thecarg_db`.`cg_tbl_seller_products`.`garage_selling_price`, `thecarg_db`.`cg_tbl_seller_products`.`mrp`, `thecarg_db`.`cg_tbl_seller_products`.`customer_discount_type`, `thecarg_db`.`cg_tbl_seller_products`.`customer_discount`, `thecarg_db`.`cg_tbl_seller_products`.`garage_discount_type`, `thecarg_db`.`cg_tbl_seller_products`.`garage_discount`, `thecarg_db`.`cg_tbl_seller_products`.`is_in_stock`, `thecarg_db`.`cg_tbl_seller_products`.`is_returnable`, `thecarg_db`.`cg_tbl_seller_products`.`return_days`, `thecarg_db`.`cg_tbl_seller_products`.`warranty_enabled`, `thecarg_db`.`cg_tbl_seller_products`.`warranty_duration`, `thecarg_db`.`cg_tbl_seller_products`.`warranty_duration_type`, `thecarg_db`.`cg_tbl_seller_products`.`warranty_document`, `thecarg_db`.`cg_tbl_seller_products`.`tax`, `thecarg_db`.`cg_tbl_seller_products`.`seller_id` FROM `thecarg_db`.`cg_tbl_seller_products` LEFT JOIN `thecarg_db`.`cg_tbl_sellers` AS `j1` ON (`j1`.`id`) = (`thecarg_db`.`cg_tbl_seller_products`.`seller_id`) WHERE (`thecarg_db`.`cg_tbl_seller_products`.`product_id` IN (?,?) AND `thecarg_db`.`cg_tbl_seller_products`.`status` = ? AND (`j1`.`status` = ? AND (`j1`.`id` IS NOT NULL))) ORDER BY `thecarg_db`.`cg_tbl_seller_products`.`customer_selling_price` ASC
prisma:query SELECT `thecarg_db`.`cg_tbl_sellers`.`id`, `thecarg_db`.`cg_tbl_sellers`.`seller_id`, `thecarg_db`.`cg_tbl_sellers`.`first_name`, `thecarg_db`.`cg_tbl_sellers`.`last_name`, `thecarg_db`.`cg_tbl_sellers`.`trade_name`, `thecarg_db`.`cg_tbl_sellers`.`city`, `thecarg_db`.`cg_tbl_sellers`.`state`, `thecarg_db`.`cg_tbl_sellers`.`email`, `thecarg_db`.`cg_tbl_sellers`.`mobile`, `thecarg_db`.`cg_tbl_sellers`.`address`, `thecarg_db`.`cg_tbl_sellers`.`pincode`, `thecarg_db`.`cg_tbl_sellers`.`status`, `thecarg_db`.`cg_tbl_sellers`.`operating_hours`, `thecarg_db`.`cg_tbl_sellers`.`zone`, `thecarg_db`.`cg_tbl_sellers`.`latitude`, `thecarg_db`.`cg_tbl_sellers`.`longitude` FROM `thecarg_db`.`cg_tbl_sellers` WHERE `thecarg_db`.`cg_tbl_sellers`.`id` IN (?)
prisma:query SELECT `thecarg_db`.`cg_tbl_zones`.`id`, `thecarg_db`.`cg_tbl_zones`.`zone_name` FROM `thecarg_db`.`cg_tbl_zones` WHERE 1=1
prisma:query SELECT `thecarg_db`.`cg_tbl_seller_products`.`id`, `thecarg_db`.`cg_tbl_seller_products`.`seller_id`, `thecarg_db`.`cg_tbl_seller_products`.`product_id`, `thecarg_db`.`cg_tbl_seller_products`.`category_id`, `thecarg_db`.`cg_tbl_seller_products`.`subcategory_id`, `thecarg_db`.`cg_tbl_seller_products`.`mrp`, `thecarg_db`.`cg_tbl_seller_products`.`customer_selling_price`, `thecarg_db`.`cg_tbl_seller_products`.`garage_selling_price`, `thecarg_db`.`cg_tbl_seller_products`.`customer_discount_type`, `thecarg_db`.`cg_tbl_seller_products`.`customer_discount`, `thecarg_db`.`cg_tbl_seller_products`.`is_returnable`, `thecarg_db`.`cg_tbl_seller_products`.`return_days`, `thecarg_db`.`cg_tbl_seller_products`.`tax`, `thecarg_db`.`cg_tbl_seller_products`.`garage_discount_type`, `thecarg_db`.`cg_tbl_seller_products`.`garage_discount`, `thecarg_db`.`cg_tbl_seller_products`.`warranty_enabled`, `thecarg_db`.`cg_tbl_seller_products`.`warranty_duration`, `thecarg_db`.`cg_tbl_seller_products`.`warranty_duration_type`, `thecarg_db`.`cg_tbl_seller_products`.`warranty_document`, `thecarg_db`.`cg_tbl_seller_products`.`status`, `thecarg_db`.`cg_tbl_seller_products`.`created_at`, `thecarg_db`.`cg_tbl_seller_products`.`updated_at`, `thecarg_db`.`cg_tbl_seller_products`.`is_in_stock` FROM `thecarg_db`.`cg_tbl_seller_products` LEFT JOIN `thecarg_db`.`cg_tbl_sellers` AS `j1` ON (`j1`.`id`) = (`thecarg_db`.`cg_tbl_seller_products`.`seller_id`) WHERE (`thecarg_db`.`cg_tbl_seller_products`.`product_id` = ? AND `thecarg_db`.`cg_tbl_seller_products`.`seller_id` = ? AND `thecarg_db`.`cg_tbl_seller_products`.`status` = ? AND `thecarg_db`.`cg_tbl_seller_products`.`is_in_stock` = ? AND (`j1`.`status` = ? AND (`j1`.`id` IS NOT NULL))) LIMIT ? OFFSET ?
prisma:query SELECT `thecarg_db`.`cg_tbl_sellers`.`id`, `thecarg_db`.`cg_tbl_sellers`.`seller_id`, `thecarg_db`.`cg_tbl_sellers`.`first_name`, `thecarg_db`.`cg_tbl_sellers`.`last_name`, `thecarg_db`.`cg_tbl_sellers`.`mobile`, `thecarg_db`.`cg_tbl_sellers`.`email`, `thecarg_db`.`cg_tbl_sellers`.`trade_name`, `thecarg_db`.`cg_tbl_sellers`.`entity_type`, `thecarg_db`.`cg_tbl_sellers`.`aadhaar_number`, `thecarg_db`.`cg_tbl_sellers`.`pan_number`, `thecarg_db`.`cg_tbl_sellers`.`gstin_number`, `thecarg_db`.`cg_tbl_sellers`.`cin_number`, `thecarg_db`.`cg_tbl_sellers`.`operating_hours`, `thecarg_db`.`cg_tbl_sellers`.`specific_commission`, `thecarg_db`.`cg_tbl_sellers`.`customer_order_commission`, `thecarg_db`.`cg_tbl_sellers`.`garage_order_commission`, `thecarg_db`.`cg_tbl_sellers`.`requested_customer_order_commission`, `thecarg_db`.`cg_tbl_sellers`.`requested_garage_order_commission`, `thecarg_db`.`cg_tbl_sellers`.`bank_name`, `thecarg_db`.`cg_tbl_sellers`.`bank_account_number`, `thecarg_db`.`cg_tbl_sellers`.`bank_ifsc_code`, `thecarg_db`.`cg_tbl_sellers`.`address`, `thecarg_db`.`cg_tbl_sellers`.`latitude`, `thecarg_db`.`cg_tbl_sellers`.`longitude`, `thecarg_db`.`cg_tbl_sellers`.`state`, `thecarg_db`.`cg_tbl_sellers`.`city`, `thecarg_db`.`cg_tbl_sellers`.`zone`, `thecarg_db`.`cg_tbl_sellers`.`pincode`, `thecarg_db`.`cg_tbl_sellers`.`pan_card_file`, `thecarg_db`.`cg_tbl_sellers`.`gst_file`, `thecarg_db`.`cg_tbl_sellers`.`cin_file`, `thecarg_db`.`cg_tbl_sellers`.`cancelled_cheque_file`, `thecarg_db`.`cg_tbl_sellers`.`aadhaar_pan_signatory_file`, `thecarg_db`.`cg_tbl_sellers`.`other_documents_file`, `thecarg_db`.`cg_tbl_sellers`.`status`, `thecarg_db`.`cg_tbl_sellers`.`is_verified`, `thecarg_db`.`cg_tbl_sellers`.`fcm_token`, `thecarg_db`.`cg_tbl_sellers`.`subscription_id`, `thecarg_db`.`cg_tbl_sellers`.`subscription_start_date`, `thecarg_db`.`cg_tbl_sellers`.`subscription_end_date`, `thecarg_db`.`cg_tbl_sellers`.`created_at`, `thecarg_db`.`cg_tbl_sellers`.`updated_at` FROM `thecarg_db`.`cg_tbl_sellers` WHERE `thecarg_db`.`cg_tbl_sellers`.`id` IN (?)
prisma:query SELECT `thecarg_db`.`cg_tbl_zones`.`id` FROM `thecarg_db`.`cg_tbl_zones` WHERE (`thecarg_db`.`cg_tbl_zones`.`id` IN (?) AND `thecarg_db`.`cg_tbl_zones`.`status` = ?)
prisma:query SELECT `thecarg_db`.`cg_tbl_sellers`.`id`, `thecarg_db`.`cg_tbl_sellers`.`status`, `thecarg_db`.`cg_tbl_sellers`.`operating_hours`, `thecarg_db`.`cg_tbl_sellers`.`zone` FROM `thecarg_db`.`cg_tbl_sellers` WHERE `thecarg_db`.`cg_tbl_sellers`.`status` = ?
prisma:query SELECT `thecarg_db`.`cg_tbl_products`.`id`, `thecarg_db`.`cg_tbl_products`.`article_number` FROM `thecarg_db`.`cg_tbl_products` WHERE (`thecarg_db`.`cg_tbl_products`.`status` = ? AND (`thecarg_db`.`cg_tbl_products`.`id`) IN (SELECT `t1`.`product_id` FROM `thecarg_db`.`cg_tbl_seller_products` AS `t1` WHERE (`t1`.`status` = ? AND `t1`.`seller_id` IN (?) AND `t1`.`product_id` IS NOT NULL)) AND `thecarg_db`.`cg_tbl_products`.`generic_article_id` = ? AND `thecarg_db`.`cg_tbl_products`.`assembly_group_node_id` = ?) ORDER BY `thecarg_db`.`cg_tbl_products`.`id` ASC
prisma:query SELECT `thecarg_db`.`cg_tbl_products`.`article_number` FROM `thecarg_db`.`cg_tbl_products` WHERE `thecarg_db`.`cg_tbl_products`.`id` IN (?,?) GROUP BY `thecarg_db`.`cg_tbl_products`.`article_number`
prisma:query SELECT MIN(`thecarg_db`.`cg_tbl_products`.`id`), `thecarg_db`.`cg_tbl_products`.`article_number` FROM `thecarg_db`.`cg_tbl_products` WHERE `thecarg_db`.`cg_tbl_products`.`id` IN (?,?) GROUP BY `thecarg_db`.`cg_tbl_products`.`article_number` ORDER BY MIN(`thecarg_db`.`cg_tbl_products`.`id`) ASC LIMIT ? OFFSET ?
prisma:query SELECT `thecarg_db`.`cg_tbl_products`.`id`, `thecarg_db`.`cg_tbl_products`.`techdoc_article_id`, `thecarg_db`.`cg_tbl_products`.`techdoc_brand_id`, `thecarg_db`.`cg_tbl_products`.`article_number`, `thecarg_db`.`cg_tbl_products`.`brand_name`, `thecarg_db`.`cg_tbl_products`.`status`, `thecarg_db`.`cg_tbl_products`.`created_at`, `thecarg_db`.`cg_tbl_products`.`updated_at`, `thecarg_db`.`cg_tbl_products`.`assembly_group_node_id`, `thecarg_db`.`cg_tbl_products`.`generic_article_id` FROM `thecarg_db`.`cg_tbl_products` WHERE `thecarg_db`.`cg_tbl_products`.`id` IN (?,?) ORDER BY `thecarg_db`.`cg_tbl_products`.`id` ASC
[2026-06-24T12:25:39.690Z] [INFO]: TecDoc → getArticles | provider: 25791 | country: IN | url: https://webservice.tecalliance.services/pegasus-3-0/services/TecdocToCatDLB.jsonEndpoint
--------------------------------------------------

[2026-06-24T12:25:39.693Z] [INFO]: TecDoc → getArticles | provider: 25791 | country: IN | url: https://webservice.tecalliance.services/pegasus-3-0/services/TecdocToCatDLB.jsonEndpoint
--------------------------------------------------

[2026-06-24T12:25:40.422Z] [INFO]: TecDoc → getArticles | provider: 25791 | country: IN | url: https://webservice.tecalliance.services/pegasus-3-0/services/TecdocToCatDLB.jsonEndpoint
--------------------------------------------------

[2026-06-24T12:25:40.469Z] [INFO]: TecDoc → getArticles | provider: 25791 | country: IN | url: https://webservice.tecalliance.services/pegasus-3-0/services/TecdocToCatDLB.jsonEndpoint
--------------------------------------------------

prisma:query SELECT `thecarg_db`.`cg_tbl_products`.`id`, `thecarg_db`.`cg_tbl_products`.`techdoc_article_id` FROM `thecarg_db`.`cg_tbl_products` WHERE (`thecarg_db`.`cg_tbl_products`.`techdoc_article_id` IN (?,?) AND `thecarg_db`.`cg_tbl_products`.`status` = ? AND `thecarg_db`.`cg_tbl_products`.`id` IN (?,?))
prisma:query SELECT `thecarg_db`.`cg_tbl_seller_products`.`id`, `thecarg_db`.`cg_tbl_seller_products`.`product_id`, `thecarg_db`.`cg_tbl_seller_products`.`customer_selling_price`, `thecarg_db`.`cg_tbl_seller_products`.`garage_selling_price`, `thecarg_db`.`cg_tbl_seller_products`.`mrp`, `thecarg_db`.`cg_tbl_seller_products`.`customer_discount_type`, `thecarg_db`.`cg_tbl_seller_products`.`customer_discount`, `thecarg_db`.`cg_tbl_seller_products`.`garage_discount_type`, `thecarg_db`.`cg_tbl_seller_products`.`garage_discount`, `thecarg_db`.`cg_tbl_seller_products`.`is_in_stock`, `thecarg_db`.`cg_tbl_seller_products`.`is_returnable`, `thecarg_db`.`cg_tbl_seller_products`.`return_days`, `thecarg_db`.`cg_tbl_seller_products`.`warranty_enabled`, `thecarg_db`.`cg_tbl_seller_products`.`warranty_duration`, `thecarg_db`.`cg_tbl_seller_products`.`warranty_duration_type`, `thecarg_db`.`cg_tbl_seller_products`.`warranty_document`, `thecarg_db`.`cg_tbl_seller_products`.`tax`, `thecarg_db`.`cg_tbl_seller_products`.`seller_id` FROM `thecarg_db`.`cg_tbl_seller_products` LEFT JOIN `thecarg_db`.`cg_tbl_sellers` AS `j1` ON (`j1`.`id`) = (`thecarg_db`.`cg_tbl_seller_products`.`seller_id`) WHERE (`thecarg_db`.`cg_tbl_seller_products`.`product_id` IN (?,?) AND `thecarg_db`.`cg_tbl_seller_products`.`status` = ? AND (`j1`.`status` = ? AND (`j1`.`id` IS NOT NULL))) ORDER BY `thecarg_db`.`cg_tbl_seller_products`.`customer_selling_price` ASC
prisma:query SELECT `thecarg_db`.`cg_tbl_sellers`.`id`, `thecarg_db`.`cg_tbl_sellers`.`seller_id`, `thecarg_db`.`cg_tbl_sellers`.`first_name`, `thecarg_db`.`cg_tbl_sellers`.`last_name`, `thecarg_db`.`cg_tbl_sellers`.`trade_name`, `thecarg_db`.`cg_tbl_sellers`.`city`, `thecarg_db`.`cg_tbl_sellers`.`state`, `thecarg_db`.`cg_tbl_sellers`.`email`, `thecarg_db`.`cg_tbl_sellers`.`mobile`, `thecarg_db`.`cg_tbl_sellers`.`address`, `thecarg_db`.`cg_tbl_sellers`.`pincode`, `thecarg_db`.`cg_tbl_sellers`.`status`, `thecarg_db`.`cg_tbl_sellers`.`operating_hours`, `thecarg_db`.`cg_tbl_sellers`.`zone`, `thecarg_db`.`cg_tbl_sellers`.`latitude`, `thecarg_db`.`cg_tbl_sellers`.`longitude` FROM `thecarg_db`.`cg_tbl_sellers` WHERE `thecarg_db`.`cg_tbl_sellers`.`id` IN (?)
prisma:query SELECT `thecarg_db`.`cg_tbl_zones`.`id`, `thecarg_db`.`cg_tbl_zones`.`zone_name` FROM `thecarg_db`.`cg_tbl_zones` WHERE 1=1
prisma:query SELECT `thecarg_db`.`cg_tbl_zones`.`id` FROM `thecarg_db`.`cg_tbl_zones` WHERE (`thecarg_db`.`cg_tbl_zones`.`id` IN (?) AND `thecarg_db`.`cg_tbl_zones`.`status` = ?)
prisma:query SELECT `thecarg_db`.`cg_tbl_sellers`.`id`, `thecarg_db`.`cg_tbl_sellers`.`status`, `thecarg_db`.`cg_tbl_sellers`.`operating_hours`, `thecarg_db`.`cg_tbl_sellers`.`zone` FROM `thecarg_db`.`cg_tbl_sellers` WHERE `thecarg_db`.`cg_tbl_sellers`.`status` = ?
prisma:query SELECT `thecarg_db`.`cg_tbl_products`.`id`, `thecarg_db`.`cg_tbl_products`.`article_number` FROM `thecarg_db`.`cg_tbl_products` WHERE (`thecarg_db`.`cg_tbl_products`.`status` = ? AND (`thecarg_db`.`cg_tbl_products`.`id`) IN (SELECT `t1`.`product_id` FROM `thecarg_db`.`cg_tbl_seller_products` AS `t1` WHERE (`t1`.`status` = ? AND `t1`.`seller_id` IN (?) AND `t1`.`product_id` IS NOT NULL)) AND `thecarg_db`.`cg_tbl_products`.`generic_article_id` = ? AND `thecarg_db`.`cg_tbl_products`.`assembly_group_node_id` = ?) ORDER BY `thecarg_db`.`cg_tbl_products`.`id` ASC
prisma:query SELECT `thecarg_db`.`cg_tbl_products`.`article_number` FROM `thecarg_db`.`cg_tbl_products` WHERE `thecarg_db`.`cg_tbl_products`.`id` IN (?,?) GROUP BY `thecarg_db`.`cg_tbl_products`.`article_number`
prisma:query SELECT MIN(`thecarg_db`.`cg_tbl_products`.`id`), `thecarg_db`.`cg_tbl_products`.`article_number` FROM `thecarg_db`.`cg_tbl_products` WHERE `thecarg_db`.`cg_tbl_products`.`id` IN (?,?) GROUP BY `thecarg_db`.`cg_tbl_products`.`article_number` ORDER BY MIN(`thecarg_db`.`cg_tbl_products`.`id`) ASC LIMIT ? OFFSET ?
prisma:query SELECT `thecarg_db`.`cg_tbl_products`.`id`, `thecarg_db`.`cg_tbl_products`.`techdoc_article_id`, `thecarg_db`.`cg_tbl_products`.`techdoc_brand_id`, `thecarg_db`.`cg_tbl_products`.`article_number`, `thecarg_db`.`cg_tbl_products`.`brand_name`, `thecarg_db`.`cg_tbl_products`.`status`, `thecarg_db`.`cg_tbl_products`.`created_at`, `thecarg_db`.`cg_tbl_products`.`updated_at`, `thecarg_db`.`cg_tbl_products`.`assembly_group_node_id`, `thecarg_db`.`cg_tbl_products`.`generic_article_id` FROM `thecarg_db`.`cg_tbl_products` WHERE `thecarg_db`.`cg_tbl_products`.`id` IN (?,?) ORDER BY `thecarg_db`.`cg_tbl_products`.`id` ASC
[2026-06-24T12:25:41.803Z] [INFO]: TecDoc → getArticles | provider: 25791 | country: IN | url: https://webservice.tecalliance.services/pegasus-3-0/services/TecdocToCatDLB.jsonEndpoint
--------------------------------------------------

[2026-06-24T12:25:41.805Z] [INFO]: TecDoc → getArticles | provider: 25791 | country: IN | url: https://webservice.tecalliance.services/pegasus-3-0/services/TecdocToCatDLB.jsonEndpoint
--------------------------------------------------

[2026-06-24T12:25:41.964Z] [INFO]: TecDoc → getArticles | provider: 25791 | country: IN | url: https://webservice.tecalliance.services/pegasus-3-0/services/TecdocToCatDLB.jsonEndpoint
--------------------------------------------------

[2026-06-24T12:25:41.978Z] [INFO]: TecDoc → getArticles | provider: 25791 | country: IN | url: https://webservice.tecalliance.services/pegasus-3-0/services/TecdocToCatDLB.jsonEndpoint
--------------------------------------------------

prisma:query SELECT `thecarg_db`.`cg_tbl_products`.`id`, `thecarg_db`.`cg_tbl_products`.`techdoc_article_id` FROM `thecarg_db`.`cg_tbl_products` WHERE (`thecarg_db`.`cg_tbl_products`.`techdoc_article_id` IN (?,?) AND `thecarg_db`.`cg_tbl_products`.`status` = ? AND `thecarg_db`.`cg_tbl_products`.`id` IN (?,?))
prisma:query SELECT `thecarg_db`.`cg_tbl_seller_products`.`id`, `thecarg_db`.`cg_tbl_seller_products`.`product_id`, `thecarg_db`.`cg_tbl_seller_products`.`customer_selling_price`, `thecarg_db`.`cg_tbl_seller_products`.`garage_selling_price`, `thecarg_db`.`cg_tbl_seller_products`.`mrp`, `thecarg_db`.`cg_tbl_seller_products`.`customer_discount_type`, `thecarg_db`.`cg_tbl_seller_products`.`customer_discount`, `thecarg_db`.`cg_tbl_seller_products`.`garage_discount_type`, `thecarg_db`.`cg_tbl_seller_products`.`garage_discount`, `thecarg_db`.`cg_tbl_seller_products`.`is_in_stock`, `thecarg_db`.`cg_tbl_seller_products`.`is_returnable`, `thecarg_db`.`cg_tbl_seller_products`.`return_days`, `thecarg_db`.`cg_tbl_seller_products`.`warranty_enabled`, `thecarg_db`.`cg_tbl_seller_products`.`warranty_duration`, `thecarg_db`.`cg_tbl_seller_products`.`warranty_duration_type`, `thecarg_db`.`cg_tbl_seller_products`.`warranty_document`, `thecarg_db`.`cg_tbl_seller_products`.`tax`, `thecarg_db`.`cg_tbl_seller_products`.`seller_id` FROM `thecarg_db`.`cg_tbl_seller_products` LEFT JOIN `thecarg_db`.`cg_tbl_sellers` AS `j1` ON (`j1`.`id`) = (`thecarg_db`.`cg_tbl_seller_products`.`seller_id`) WHERE (`thecarg_db`.`cg_tbl_seller_products`.`product_id` IN (?,?) AND `thecarg_db`.`cg_tbl_seller_products`.`status` = ? AND (`j1`.`status` = ? AND (`j1`.`id` IS NOT NULL))) ORDER BY `thecarg_db`.`cg_tbl_seller_products`.`customer_selling_price` ASC
prisma:query SELECT `thecarg_db`.`cg_tbl_sellers`.`id`, `thecarg_db`.`cg_tbl_sellers`.`seller_id`, `thecarg_db`.`cg_tbl_sellers`.`first_name`, `thecarg_db`.`cg_tbl_sellers`.`last_name`, `thecarg_db`.`cg_tbl_sellers`.`trade_name`, `thecarg_db`.`cg_tbl_sellers`.`city`, `thecarg_db`.`cg_tbl_sellers`.`state`, `thecarg_db`.`cg_tbl_sellers`.`email`, `thecarg_db`.`cg_tbl_sellers`.`mobile`, `thecarg_db`.`cg_tbl_sellers`.`address`, `thecarg_db`.`cg_tbl_sellers`.`pincode`, `thecarg_db`.`cg_tbl_sellers`.`status`, `thecarg_db`.`cg_tbl_sellers`.`operating_hours`, `thecarg_db`.`cg_tbl_sellers`.`zone`, `thecarg_db`.`cg_tbl_sellers`.`latitude`, `thecarg_db`.`cg_tbl_sellers`.`longitude` FROM `thecarg_db`.`cg_tbl_sellers` WHERE `thecarg_db`.`cg_tbl_sellers`.`id` IN (?)
prisma:query SELECT `thecarg_db`.`cg_tbl_zones`.`id`, `thecarg_db`.`cg_tbl_zones`.`zone_name` FROM `thecarg_db`.`cg_tbl_zones` WHERE 1=1
prisma:query SELECT 1
prisma:query SELECT `thecarg_db`.`cg_tbl_zones`.`id` FROM `thecarg_db`.`cg_tbl_zones` WHERE (`thecarg_db`.`cg_tbl_zones`.`id` IN (?) AND `thecarg_db`.`cg_tbl_zones`.`status` = ?)
prisma:query SELECT `thecarg_db`.`cg_tbl_sellers`.`id`, `thecarg_db`.`cg_tbl_sellers`.`status`, `thecarg_db`.`cg_tbl_sellers`.`operating_hours`, `thecarg_db`.`cg_tbl_sellers`.`zone` FROM `thecarg_db`.`cg_tbl_sellers` WHERE `thecarg_db`.`cg_tbl_sellers`.`status` = ?
prisma:query SELECT `thecarg_db`.`cg_tbl_products`.`id`, `thecarg_db`.`cg_tbl_products`.`article_number` FROM `thecarg_db`.`cg_tbl_products` WHERE (`thecarg_db`.`cg_tbl_products`.`status` = ? AND (`thecarg_db`.`cg_tbl_products`.`id`) IN (SELECT `t1`.`product_id` FROM `thecarg_db`.`cg_tbl_seller_products` AS `t1` WHERE (`t1`.`status` = ? AND `t1`.`seller_id` IN (?) AND `t1`.`product_id` IS NOT NULL)) AND `thecarg_db`.`cg_tbl_products`.`generic_article_id` = ? AND `thecarg_db`.`cg_tbl_products`.`assembly_group_node_id` = ?) ORDER BY `thecarg_db`.`cg_tbl_products`.`id` ASC
prisma:query SELECT `thecarg_db`.`cg_tbl_products`.`article_number` FROM `thecarg_db`.`cg_tbl_products` WHERE `thecarg_db`.`cg_tbl_products`.`id` IN (?,?) GROUP BY `thecarg_db`.`cg_tbl_products`.`article_number`
prisma:query SELECT MIN(`thecarg_db`.`cg_tbl_products`.`id`), `thecarg_db`.`cg_tbl_products`.`article_number` FROM `thecarg_db`.`cg_tbl_products` WHERE `thecarg_db`.`cg_tbl_products`.`id` IN (?,?) GROUP BY `thecarg_db`.`cg_tbl_products`.`article_number` ORDER BY MIN(`thecarg_db`.`cg_tbl_products`.`id`) ASC LIMIT ? OFFSET ?
prisma:query SELECT `thecarg_db`.`cg_tbl_products`.`id`, `thecarg_db`.`cg_tbl_products`.`techdoc_article_id`, `thecarg_db`.`cg_tbl_products`.`techdoc_brand_id`, `thecarg_db`.`cg_tbl_products`.`article_number`, `thecarg_db`.`cg_tbl_products`.`brand_name`, `thecarg_db`.`cg_tbl_products`.`status`, `thecarg_db`.`cg_tbl_products`.`created_at`, `thecarg_db`.`cg_tbl_products`.`updated_at`, `thecarg_db`.`cg_tbl_products`.`assembly_group_node_id`, `thecarg_db`.`cg_tbl_products`.`generic_article_id` FROM `thecarg_db`.`cg_tbl_products` WHERE `thecarg_db`.`cg_tbl_products`.`id` IN (?,?) ORDER BY `thecarg_db`.`cg_tbl_products`.`id` ASC
[2026-06-24T12:27:51.433Z] [INFO]: TecDoc → getArticles | provider: 25791 | country: IN | url: https://webservice.tecalliance.services/pegasus-3-0/services/TecdocToCatDLB.jsonEndpoint
--------------------------------------------------

[2026-06-24T12:27:51.446Z] [INFO]: TecDoc → getArticles | provider: 25791 | country: IN | url: https://webservice.tecalliance.services/pegasus-3-0/services/TecdocToCatDLB.jsonEndpoint
--------------------------------------------------

[2026-06-24T12:27:51.930Z] [INFO]: TecDoc → getArticles | provider: 25791 | country: IN | url: https://webservice.tecalliance.services/pegasus-3-0/services/TecdocToCatDLB.jsonEndpoint
--------------------------------------------------

[2026-06-24T12:27:51.935Z] [INFO]: TecDoc → getArticles | provider: 25791 | country: IN | url: https://webservice.tecalliance.services/pegasus-3-0/services/TecdocToCatDLB.jsonEndpoint
--------------------------------------------------

prisma:query SELECT `thecarg_db`.`cg_tbl_products`.`id`, `thecarg_db`.`cg_tbl_products`.`techdoc_article_id` FROM `thecarg_db`.`cg_tbl_products` WHERE (`thecarg_db`.`cg_tbl_products`.`techdoc_article_id` IN (?,?) AND `thecarg_db`.`cg_tbl_products`.`status` = ? AND `thecarg_db`.`cg_tbl_products`.`id` IN (?,?))
prisma:query SELECT `thecarg_db`.`cg_tbl_seller_products`.`id`, `thecarg_db`.`cg_tbl_seller_products`.`product_id`, `thecarg_db`.`cg_tbl_seller_products`.`customer_selling_price`, `thecarg_db`.`cg_tbl_seller_products`.`garage_selling_price`, `thecarg_db`.`cg_tbl_seller_products`.`mrp`, `thecarg_db`.`cg_tbl_seller_products`.`customer_discount_type`, `thecarg_db`.`cg_tbl_seller_products`.`customer_discount`, `thecarg_db`.`cg_tbl_seller_products`.`garage_discount_type`, `thecarg_db`.`cg_tbl_seller_products`.`garage_discount`, `thecarg_db`.`cg_tbl_seller_products`.`is_in_stock`, `thecarg_db`.`cg_tbl_seller_products`.`is_returnable`, `thecarg_db`.`cg_tbl_seller_products`.`return_days`, `thecarg_db`.`cg_tbl_seller_products`.`warranty_enabled`, `thecarg_db`.`cg_tbl_seller_products`.`warranty_duration`, `thecarg_db`.`cg_tbl_seller_products`.`warranty_duration_type`, `thecarg_db`.`cg_tbl_seller_products`.`warranty_document`, `thecarg_db`.`cg_tbl_seller_products`.`tax`, `thecarg_db`.`cg_tbl_seller_products`.`seller_id` FROM `thecarg_db`.`cg_tbl_seller_products` LEFT JOIN `thecarg_db`.`cg_tbl_sellers` AS `j1` ON (`j1`.`id`) = (`thecarg_db`.`cg_tbl_seller_products`.`seller_id`) WHERE (`thecarg_db`.`cg_tbl_seller_products`.`product_id` IN (?,?) AND `thecarg_db`.`cg_tbl_seller_products`.`status` = ? AND (`j1`.`status` = ? AND (`j1`.`id` IS NOT NULL))) ORDER BY `thecarg_db`.`cg_tbl_seller_products`.`customer_selling_price` ASC
prisma:query SELECT `thecarg_db`.`cg_tbl_sellers`.`id`, `thecarg_db`.`cg_tbl_sellers`.`seller_id`, `thecarg_db`.`cg_tbl_sellers`.`first_name`, `thecarg_db`.`cg_tbl_sellers`.`last_name`, `thecarg_db`.`cg_tbl_sellers`.`trade_name`, `thecarg_db`.`cg_tbl_sellers`.`city`, `thecarg_db`.`cg_tbl_sellers`.`state`, `thecarg_db`.`cg_tbl_sellers`.`email`, `thecarg_db`.`cg_tbl_sellers`.`mobile`, `thecarg_db`.`cg_tbl_sellers`.`address`, `thecarg_db`.`cg_tbl_sellers`.`pincode`, `thecarg_db`.`cg_tbl_sellers`.`status`, `thecarg_db`.`cg_tbl_sellers`.`operating_hours`, `thecarg_db`.`cg_tbl_sellers`.`zone`, `thecarg_db`.`cg_tbl_sellers`.`latitude`, `thecarg_db`.`cg_tbl_sellers`.`longitude` FROM `thecarg_db`.`cg_tbl_sellers` WHERE `thecarg_db`.`cg_tbl_sellers`.`id` IN (?)
prisma:query SELECT `thecarg_db`.`cg_tbl_zones`.`id`, `thecarg_db`.`cg_tbl_zones`.`zone_name` FROM `thecarg_db`.`cg_tbl_zones` WHERE 1=1
prisma:query SELECT 1
prisma:query SELECT 1
prisma:query SELECT 1
prisma:query SELECT 1
prisma:query SELECT `thecarg_db`.`cg_tbl_business_settings`.`id`, `thecarg_db`.`cg_tbl_business_settings`.`key`, `thecarg_db`.`cg_tbl_business_settings`.`value`, `thecarg_db`.`cg_tbl_business_settings`.`created_at`, `thecarg_db`.`cg_tbl_business_settings`.`updated_at` FROM `thecarg_db`.`cg_tbl_business_settings` WHERE `thecarg_db`.`cg_tbl_business_settings`.`key` IN (?,?,?,?)
prisma:query SELECT id, zone_name AS zoneName, zone_code AS zoneCode FROM cg_tbl_zones WHERE status = 1 ORDER BY zone_name ASC
prisma:query SELECT `thecarg_db`.`cg_tbl_vehicle_fuel_types`.`id`, `thecarg_db`.`cg_tbl_vehicle_fuel_types`.`name`, `thecarg_db`.`cg_tbl_vehicle_fuel_types`.`slug` FROM `thecarg_db`.`cg_tbl_vehicle_fuel_types` WHERE `thecarg_db`.`cg_tbl_vehicle_fuel_types`.`status` = ? ORDER BY `thecarg_db`.`cg_tbl_vehicle_fuel_types`.`name` ASC
prisma:query SELECT `thecarg_db`.`cg_tbl_vehicle_classes`.`id`, `thecarg_db`.`cg_tbl_vehicle_classes`.`name`, `thecarg_db`.`cg_tbl_vehicle_classes`.`slug` FROM `thecarg_db`.`cg_tbl_vehicle_classes` WHERE `thecarg_db`.`cg_tbl_vehicle_classes`.`status` = ? ORDER BY `thecarg_db`.`cg_tbl_vehicle_classes`.`name` ASC
prisma:query SELECT `thecarg_db`.`cg_tbl_languages`.`id`, `thecarg_db`.`cg_tbl_languages`.`name`, `thecarg_db`.`cg_tbl_languages`.`slug` FROM `thecarg_db`.`cg_tbl_languages` WHERE `thecarg_db`.`cg_tbl_languages`.`status` = ? ORDER BY `thecarg_db`.`cg_tbl_languages`.`name` ASC
prisma:query SELECT `thecarg_db`.`cg_tbl_zones`.`id` FROM `thecarg_db`.`cg_tbl_zones` WHERE (`thecarg_db`.`cg_tbl_zones`.`id` IN (?) AND `thecarg_db`.`cg_tbl_zones`.`status` = ?)
prisma:query SELECT `thecarg_db`.`cg_tbl_sellers`.`id`, `thecarg_db`.`cg_tbl_sellers`.`status`, `thecarg_db`.`cg_tbl_sellers`.`operating_hours`, `thecarg_db`.`cg_tbl_sellers`.`zone` FROM `thecarg_db`.`cg_tbl_sellers` WHERE `thecarg_db`.`cg_tbl_sellers`.`status` = ?
prisma:query SELECT `thecarg_db`.`cg_tbl_products`.`id`, `thecarg_db`.`cg_tbl_products`.`article_number` FROM `thecarg_db`.`cg_tbl_products` WHERE (`thecarg_db`.`cg_tbl_products`.`status` = ? AND (`thecarg_db`.`cg_tbl_products`.`id`) IN (SELECT `t1`.`product_id` FROM `thecarg_db`.`cg_tbl_seller_products` AS `t1` WHERE (`t1`.`status` = ? AND `t1`.`seller_id` IN (?) AND `t1`.`product_id` IS NOT NULL)) AND `thecarg_db`.`cg_tbl_products`.`generic_article_id` = ? AND `thecarg_db`.`cg_tbl_products`.`assembly_group_node_id` = ?) ORDER BY `thecarg_db`.`cg_tbl_products`.`id` ASC
prisma:query SELECT `thecarg_db`.`cg_tbl_products`.`article_number` FROM `thecarg_db`.`cg_tbl_products` WHERE `thecarg_db`.`cg_tbl_products`.`id` IN (?,?) GROUP BY `thecarg_db`.`cg_tbl_products`.`article_number`
prisma:query SELECT MIN(`thecarg_db`.`cg_tbl_products`.`id`), `thecarg_db`.`cg_tbl_products`.`article_number` FROM `thecarg_db`.`cg_tbl_products` WHERE `thecarg_db`.`cg_tbl_products`.`id` IN (?,?) GROUP BY `thecarg_db`.`cg_tbl_products`.`article_number` ORDER BY MIN(`thecarg_db`.`cg_tbl_products`.`id`) ASC LIMIT ? OFFSET ?
prisma:query SELECT `thecarg_db`.`cg_tbl_products`.`id`, `thecarg_db`.`cg_tbl_products`.`techdoc_article_id`, `thecarg_db`.`cg_tbl_products`.`techdoc_brand_id`, `thecarg_db`.`cg_tbl_products`.`article_number`, `thecarg_db`.`cg_tbl_products`.`brand_name`, `thecarg_db`.`cg_tbl_products`.`status`, `thecarg_db`.`cg_tbl_products`.`created_at`, `thecarg_db`.`cg_tbl_products`.`updated_at`, `thecarg_db`.`cg_tbl_products`.`assembly_group_node_id`, `thecarg_db`.`cg_tbl_products`.`generic_article_id` FROM `thecarg_db`.`cg_tbl_products` WHERE `thecarg_db`.`cg_tbl_products`.`id` IN (?,?) ORDER BY `thecarg_db`.`cg_tbl_products`.`id` ASC
[2026-06-24T12:28:06.302Z] [INFO]: TecDoc → getArticles | provider: 25791 | country: IN | url: https://webservice.tecalliance.services/pegasus-3-0/services/TecdocToCatDLB.jsonEndpoint
--------------------------------------------------

[2026-06-24T12:28:06.306Z] [INFO]: TecDoc → getArticles | provider: 25791 | country: IN | url: https://webservice.tecalliance.services/pegasus-3-0/services/TecdocToCatDLB.jsonEndpoint
--------------------------------------------------

[2026-06-24T12:28:06.775Z] [INFO]: TecDoc → getArticles | provider: 25791 | country: IN | url: https://webservice.tecalliance.services/pegasus-3-0/services/TecdocToCatDLB.jsonEndpoint
--------------------------------------------------

[2026-06-24T12:28:06.791Z] [INFO]: TecDoc → getArticles | provider: 25791 | country: IN | url: https://webservice.tecalliance.services/pegasus-3-0/services/TecdocToCatDLB.jsonEndpoint
--------------------------------------------------

prisma:query SELECT `thecarg_db`.`cg_tbl_products`.`id`, `thecarg_db`.`cg_tbl_products`.`techdoc_article_id` FROM `thecarg_db`.`cg_tbl_products` WHERE (`thecarg_db`.`cg_tbl_products`.`techdoc_article_id` IN (?,?) AND `thecarg_db`.`cg_tbl_products`.`status` = ? AND `thecarg_db`.`cg_tbl_products`.`id` IN (?,?))
prisma:query SELECT `thecarg_db`.`cg_tbl_seller_products`.`id`, `thecarg_db`.`cg_tbl_seller_products`.`product_id`, `thecarg_db`.`cg_tbl_seller_products`.`customer_selling_price`, `thecarg_db`.`cg_tbl_seller_products`.`garage_selling_price`, `thecarg_db`.`cg_tbl_seller_products`.`mrp`, `thecarg_db`.`cg_tbl_seller_products`.`customer_discount_type`, `thecarg_db`.`cg_tbl_seller_products`.`customer_discount`, `thecarg_db`.`cg_tbl_seller_products`.`garage_discount_type`, `thecarg_db`.`cg_tbl_seller_products`.`garage_discount`, `thecarg_db`.`cg_tbl_seller_products`.`is_in_stock`, `thecarg_db`.`cg_tbl_seller_products`.`is_returnable`, `thecarg_db`.`cg_tbl_seller_products`.`return_days`, `thecarg_db`.`cg_tbl_seller_products`.`warranty_enabled`, `thecarg_db`.`cg_tbl_seller_products`.`warranty_duration`, `thecarg_db`.`cg_tbl_seller_products`.`warranty_duration_type`, `thecarg_db`.`cg_tbl_seller_products`.`warranty_document`, `thecarg_db`.`cg_tbl_seller_products`.`tax`, `thecarg_db`.`cg_tbl_seller_products`.`seller_id` FROM `thecarg_db`.`cg_tbl_seller_products` LEFT JOIN `thecarg_db`.`cg_tbl_sellers` AS `j1` ON (`j1`.`id`) = (`thecarg_db`.`cg_tbl_seller_products`.`seller_id`) WHERE (`thecarg_db`.`cg_tbl_seller_products`.`product_id` IN (?,?) AND `thecarg_db`.`cg_tbl_seller_products`.`status` = ? AND (`j1`.`status` = ? AND (`j1`.`id` IS NOT NULL))) ORDER BY `thecarg_db`.`cg_tbl_seller_products`.`customer_selling_price` ASC
prisma:query SELECT `thecarg_db`.`cg_tbl_sellers`.`id`, `thecarg_db`.`cg_tbl_sellers`.`seller_id`, `thecarg_db`.`cg_tbl_sellers`.`first_name`, `thecarg_db`.`cg_tbl_sellers`.`last_name`, `thecarg_db`.`cg_tbl_sellers`.`trade_name`, `thecarg_db`.`cg_tbl_sellers`.`city`, `thecarg_db`.`cg_tbl_sellers`.`state`, `thecarg_db`.`cg_tbl_sellers`.`email`, `thecarg_db`.`cg_tbl_sellers`.`mobile`, `thecarg_db`.`cg_tbl_sellers`.`address`, `thecarg_db`.`cg_tbl_sellers`.`pincode`, `thecarg_db`.`cg_tbl_sellers`.`status`, `thecarg_db`.`cg_tbl_sellers`.`operating_hours`, `thecarg_db`.`cg_tbl_sellers`.`zone`, `thecarg_db`.`cg_tbl_sellers`.`latitude`, `thecarg_db`.`cg_tbl_sellers`.`longitude` FROM `thecarg_db`.`cg_tbl_sellers` WHERE `thecarg_db`.`cg_tbl_sellers`.`id` IN (?)
prisma:query SELECT `thecarg_db`.`cg_tbl_zones`.`id`, `thecarg_db`.`cg_tbl_zones`.`zone_name` FROM `thecarg_db`.`cg_tbl_zones` WHERE 1=1
prisma:query SELECT `thecarg_db`.`cg_tbl_zones`.`id` FROM `thecarg_db`.`cg_tbl_zones` WHERE (`thecarg_db`.`cg_tbl_zones`.`id` IN (?) AND `thecarg_db`.`cg_tbl_zones`.`status` = ?)
prisma:query SELECT `thecarg_db`.`cg_tbl_sellers`.`id`, `thecarg_db`.`cg_tbl_sellers`.`status`, `thecarg_db`.`cg_tbl_sellers`.`operating_hours`, `thecarg_db`.`cg_tbl_sellers`.`zone` FROM `thecarg_db`.`cg_tbl_sellers` WHERE `thecarg_db`.`cg_tbl_sellers`.`status` = ?
prisma:query SELECT `thecarg_db`.`cg_tbl_products`.`id`, `thecarg_db`.`cg_tbl_products`.`article_number` FROM `thecarg_db`.`cg_tbl_products` WHERE (`thecarg_db`.`cg_tbl_products`.`status` = ? AND (`thecarg_db`.`cg_tbl_products`.`id`) IN (SELECT `t1`.`product_id` FROM `thecarg_db`.`cg_tbl_seller_products` AS `t1` WHERE (`t1`.`status` = ? AND `t1`.`seller_id` IN (?) AND `t1`.`product_id` IS NOT NULL)) AND `thecarg_db`.`cg_tbl_products`.`generic_article_id` = ? AND `thecarg_db`.`cg_tbl_products`.`assembly_group_node_id` = ?) ORDER BY `thecarg_db`.`cg_tbl_products`.`id` ASC
prisma:query SELECT `thecarg_db`.`cg_tbl_products`.`article_number` FROM `thecarg_db`.`cg_tbl_products` WHERE `thecarg_db`.`cg_tbl_products`.`id` IN (?,?) GROUP BY `thecarg_db`.`cg_tbl_products`.`article_number`
prisma:query SELECT MIN(`thecarg_db`.`cg_tbl_products`.`id`), `thecarg_db`.`cg_tbl_products`.`article_number` FROM `thecarg_db`.`cg_tbl_products` WHERE `thecarg_db`.`cg_tbl_products`.`id` IN (?,?) GROUP BY `thecarg_db`.`cg_tbl_products`.`article_number` ORDER BY MIN(`thecarg_db`.`cg_tbl_products`.`id`) ASC LIMIT ? OFFSET ?
prisma:query SELECT `thecarg_db`.`cg_tbl_products`.`id`, `thecarg_db`.`cg_tbl_products`.`techdoc_article_id`, `thecarg_db`.`cg_tbl_products`.`techdoc_brand_id`, `thecarg_db`.`cg_tbl_products`.`article_number`, `thecarg_db`.`cg_tbl_products`.`brand_name`, `thecarg_db`.`cg_tbl_products`.`status`, `thecarg_db`.`cg_tbl_products`.`created_at`, `thecarg_db`.`cg_tbl_products`.`updated_at`, `thecarg_db`.`cg_tbl_products`.`assembly_group_node_id`, `thecarg_db`.`cg_tbl_products`.`generic_article_id` FROM `thecarg_db`.`cg_tbl_products` WHERE `thecarg_db`.`cg_tbl_products`.`id` IN (?,?) ORDER BY `thecarg_db`.`cg_tbl_products`.`id` ASC
[2026-06-24T12:28:07.859Z] [INFO]: TecDoc → getArticles | provider: 25791 | country: IN | url: https://webservice.tecalliance.services/pegasus-3-0/services/TecdocToCatDLB.jsonEndpoint
--------------------------------------------------

[2026-06-24T12:28:07.862Z] [INFO]: TecDoc → getArticles | provider: 25791 | country: IN | url: https://webservice.tecalliance.services/pegasus-3-0/services/TecdocToCatDLB.jsonEndpoint
--------------------------------------------------

[2026-06-24T12:28:08.020Z] [INFO]: TecDoc → getArticles | provider: 25791 | country: IN | url: https://webservice.tecalliance.services/pegasus-3-0/services/TecdocToCatDLB.jsonEndpoint
--------------------------------------------------

[2026-06-24T12:28:08.027Z] [INFO]: TecDoc → getArticles | provider: 25791 | country: IN | url: https://webservice.tecalliance.services/pegasus-3-0/services/TecdocToCatDLB.jsonEndpoint
--------------------------------------------------

prisma:query SELECT `thecarg_db`.`cg_tbl_products`.`id`, `thecarg_db`.`cg_tbl_products`.`techdoc_article_id` FROM `thecarg_db`.`cg_tbl_products` WHERE (`thecarg_db`.`cg_tbl_products`.`techdoc_article_id` IN (?,?) AND `thecarg_db`.`cg_tbl_products`.`status` = ? AND `thecarg_db`.`cg_tbl_products`.`id` IN (?,?))
prisma:query SELECT `thecarg_db`.`cg_tbl_seller_products`.`id`, `thecarg_db`.`cg_tbl_seller_products`.`product_id`, `thecarg_db`.`cg_tbl_seller_products`.`customer_selling_price`, `thecarg_db`.`cg_tbl_seller_products`.`garage_selling_price`, `thecarg_db`.`cg_tbl_seller_products`.`mrp`, `thecarg_db`.`cg_tbl_seller_products`.`customer_discount_type`, `thecarg_db`.`cg_tbl_seller_products`.`customer_discount`, `thecarg_db`.`cg_tbl_seller_products`.`garage_discount_type`, `thecarg_db`.`cg_tbl_seller_products`.`garage_discount`, `thecarg_db`.`cg_tbl_seller_products`.`is_in_stock`, `thecarg_db`.`cg_tbl_seller_products`.`is_returnable`, `thecarg_db`.`cg_tbl_seller_products`.`return_days`, `thecarg_db`.`cg_tbl_seller_products`.`warranty_enabled`, `thecarg_db`.`cg_tbl_seller_products`.`warranty_duration`, `thecarg_db`.`cg_tbl_seller_products`.`warranty_duration_type`, `thecarg_db`.`cg_tbl_seller_products`.`warranty_document`, `thecarg_db`.`cg_tbl_seller_products`.`tax`, `thecarg_db`.`cg_tbl_seller_products`.`seller_id` FROM `thecarg_db`.`cg_tbl_seller_products` LEFT JOIN `thecarg_db`.`cg_tbl_sellers` AS `j1` ON (`j1`.`id`) = (`thecarg_db`.`cg_tbl_seller_products`.`seller_id`) WHERE (`thecarg_db`.`cg_tbl_seller_products`.`product_id` IN (?,?) AND `thecarg_db`.`cg_tbl_seller_products`.`status` = ? AND (`j1`.`status` = ? AND (`j1`.`id` IS NOT NULL))) ORDER BY `thecarg_db`.`cg_tbl_seller_products`.`customer_selling_price` ASC
prisma:query SELECT `thecarg_db`.`cg_tbl_sellers`.`id`, `thecarg_db`.`cg_tbl_sellers`.`seller_id`, `thecarg_db`.`cg_tbl_sellers`.`first_name`, `thecarg_db`.`cg_tbl_sellers`.`last_name`, `thecarg_db`.`cg_tbl_sellers`.`trade_name`, `thecarg_db`.`cg_tbl_sellers`.`city`, `thecarg_db`.`cg_tbl_sellers`.`state`, `thecarg_db`.`cg_tbl_sellers`.`email`, `thecarg_db`.`cg_tbl_sellers`.`mobile`, `thecarg_db`.`cg_tbl_sellers`.`address`, `thecarg_db`.`cg_tbl_sellers`.`pincode`, `thecarg_db`.`cg_tbl_sellers`.`status`, `thecarg_db`.`cg_tbl_sellers`.`operating_hours`, `thecarg_db`.`cg_tbl_sellers`.`zone`, `thecarg_db`.`cg_tbl_sellers`.`latitude`, `thecarg_db`.`cg_tbl_sellers`.`longitude` FROM `thecarg_db`.`cg_tbl_sellers` WHERE `thecarg_db`.`cg_tbl_sellers`.`id` IN (?)
prisma:query SELECT `thecarg_db`.`cg_tbl_zones`.`id`, `thecarg_db`.`cg_tbl_zones`.`zone_name` FROM `thecarg_db`.`cg_tbl_zones` WHERE 1=1
prisma:query SELECT `thecarg_db`.`cg_tbl_garages`.`id`, `thecarg_db`.`cg_tbl_garages`.`garage_id`, `thecarg_db`.`cg_tbl_garages`.`multiple_garages`, `thecarg_db`.`cg_tbl_garages`.`first_name`, `thecarg_db`.`cg_tbl_garages`.`last_name`, `thecarg_db`.`cg_tbl_garages`.`mobile`, `thecarg_db`.`cg_tbl_garages`.`email`, `thecarg_db`.`cg_tbl_garages`.`trade_name`, `thecarg_db`.`cg_tbl_garages`.`entity_type`, `thecarg_db`.`cg_tbl_garages`.`language`, `thecarg_db`.`cg_tbl_garages`.`aadhaar_number`, `thecarg_db`.`cg_tbl_garages`.`pan_number`, `thecarg_db`.`cg_tbl_garages`.`gstin_number`, `thecarg_db`.`cg_tbl_garages`.`cin_number`, `thecarg_db`.`cg_tbl_garages`.`dob`, `thecarg_db`.`cg_tbl_garages`.`address`, `thecarg_db`.`cg_tbl_garages`.`state`, `thecarg_db`.`cg_tbl_garages`.`city`, `thecarg_db`.`cg_tbl_garages`.`zone`, `thecarg_db`.`cg_tbl_garages`.`pincode`, `thecarg_db`.`cg_tbl_garages`.`latitude`, `thecarg_db`.`cg_tbl_garages`.`longitude`, `thecarg_db`.`cg_tbl_garages`.`bank_name`, `thecarg_db`.`cg_tbl_garages`.`bank_account_number`, `thecarg_db`.`cg_tbl_garages`.`bank_ifsc_code`, `thecarg_db`.`cg_tbl_garages`.`operating_hours`, `thecarg_db`.`cg_tbl_garages`.`vehicle_fuel_types`, `thecarg_db`.`cg_tbl_garages`.`vehicle_classes`, `thecarg_db`.`cg_tbl_garages`.`ev_safety_certificate_file`, `thecarg_db`.`cg_tbl_garages`.`pan_card_file`, `thecarg_db`.`cg_tbl_garages`.`gst_file`, `thecarg_db`.`cg_tbl_garages`.`cin_file`, `thecarg_db`.`cg_tbl_garages`.`bank_document_file`, `thecarg_db`.`cg_tbl_garages`.`aadhaar_card_file`, `thecarg_db`.`cg_tbl_garages`.`profile_photo_file`, `thecarg_db`.`cg_tbl_garages`.`infrastructure_image_file`, `thecarg_db`.`cg_tbl_garages`.`services`, `thecarg_db`.`cg_tbl_garages`.`status`, `thecarg_db`.`cg_tbl_garages`.`is_parent`, `thecarg_db`.`cg_tbl_garages`.`parent_id`, `thecarg_db`.`cg_tbl_garages`.`is_verified`, `thecarg_db`.`cg_tbl_garages`.`fcm_token`, `thecarg_db`.`cg_tbl_garages`.`subscription_id`, `thecarg_db`.`cg_tbl_garages`.`subscription_start_date`, `thecarg_db`.`cg_tbl_garages`.`subscription_end_date`, `thecarg_db`.`cg_tbl_garages`.`created_at`, `thecarg_db`.`cg_tbl_garages`.`updated_at` FROM `thecarg_db`.`cg_tbl_garages` WHERE `thecarg_db`.`cg_tbl_garages`.`id` = ? LIMIT ? OFFSET ?
prisma:query SELECT `thecarg_db`.`cg_tbl_vehicle_classes`.`id`, `thecarg_db`.`cg_tbl_vehicle_classes`.`name`, `thecarg_db`.`cg_tbl_vehicle_classes`.`slug`, `thecarg_db`.`cg_tbl_vehicle_classes`.`status`, `thecarg_db`.`cg_tbl_vehicle_classes`.`created_at`, `thecarg_db`.`cg_tbl_vehicle_classes`.`updated_at` FROM `thecarg_db`.`cg_tbl_vehicle_classes` WHERE (`thecarg_db`.`cg_tbl_vehicle_classes`.`id` IN (?) AND `thecarg_db`.`cg_tbl_vehicle_classes`.`status` = ?)
prisma:query SELECT 1
prisma:query SELECT `thecarg_db`.`cg_tbl_garages`.`id`, `thecarg_db`.`cg_tbl_garages`.`garage_id`, `thecarg_db`.`cg_tbl_garages`.`multiple_garages`, `thecarg_db`.`cg_tbl_garages`.`first_name`, `thecarg_db`.`cg_tbl_garages`.`last_name`, `thecarg_db`.`cg_tbl_garages`.`mobile`, `thecarg_db`.`cg_tbl_garages`.`email`, `thecarg_db`.`cg_tbl_garages`.`trade_name`, `thecarg_db`.`cg_tbl_garages`.`entity_type`, `thecarg_db`.`cg_tbl_garages`.`language`, `thecarg_db`.`cg_tbl_garages`.`aadhaar_number`, `thecarg_db`.`cg_tbl_garages`.`pan_number`, `thecarg_db`.`cg_tbl_garages`.`gstin_number`, `thecarg_db`.`cg_tbl_garages`.`cin_number`, `thecarg_db`.`cg_tbl_garages`.`dob`, `thecarg_db`.`cg_tbl_garages`.`address`, `thecarg_db`.`cg_tbl_garages`.`state`, `thecarg_db`.`cg_tbl_garages`.`city`, `thecarg_db`.`cg_tbl_garages`.`zone`, `thecarg_db`.`cg_tbl_garages`.`pincode`, `thecarg_db`.`cg_tbl_garages`.`latitude`, `thecarg_db`.`cg_tbl_garages`.`longitude`, `thecarg_db`.`cg_tbl_garages`.`bank_name`, `thecarg_db`.`cg_tbl_garages`.`bank_account_number`, `thecarg_db`.`cg_tbl_garages`.`bank_ifsc_code`, `thecarg_db`.`cg_tbl_garages`.`operating_hours`, `thecarg_db`.`cg_tbl_garages`.`vehicle_fuel_types`, `thecarg_db`.`cg_tbl_garages`.`vehicle_classes`, `thecarg_db`.`cg_tbl_garages`.`ev_safety_certificate_file`, `thecarg_db`.`cg_tbl_garages`.`pan_card_file`, `thecarg_db`.`cg_tbl_garages`.`gst_file`, `thecarg_db`.`cg_tbl_garages`.`cin_file`, `thecarg_db`.`cg_tbl_garages`.`bank_document_file`, `thecarg_db`.`cg_tbl_garages`.`aadhaar_card_file`, `thecarg_db`.`cg_tbl_garages`.`profile_photo_file`, `thecarg_db`.`cg_tbl_garages`.`infrastructure_image_file`, `thecarg_db`.`cg_tbl_garages`.`services`, `thecarg_db`.`cg_tbl_garages`.`status`, `thecarg_db`.`cg_tbl_garages`.`is_parent`, `thecarg_db`.`cg_tbl_garages`.`parent_id`, `thecarg_db`.`cg_tbl_garages`.`is_verified`, `thecarg_db`.`cg_tbl_garages`.`fcm_token`, `thecarg_db`.`cg_tbl_garages`.`subscription_id`, `thecarg_db`.`cg_tbl_garages`.`subscription_start_date`, `thecarg_db`.`cg_tbl_garages`.`subscription_end_date`, `thecarg_db`.`cg_tbl_garages`.`created_at`, `thecarg_db`.`cg_tbl_garages`.`updated_at` FROM `thecarg_db`.`cg_tbl_garages` WHERE (`thecarg_db`.`cg_tbl_garages`.`id` = ? AND 1=1) LIMIT ? OFFSET ?
prisma:query SELECT `thecarg_db`.`cg_tbl_garages`.`id`, `thecarg_db`.`cg_tbl_garages`.`garage_id`, `thecarg_db`.`cg_tbl_garages`.`multiple_garages`, `thecarg_db`.`cg_tbl_garages`.`first_name`, `thecarg_db`.`cg_tbl_garages`.`last_name`, `thecarg_db`.`cg_tbl_garages`.`mobile`, `thecarg_db`.`cg_tbl_garages`.`email`, `thecarg_db`.`cg_tbl_garages`.`trade_name`, `thecarg_db`.`cg_tbl_garages`.`entity_type`, `thecarg_db`.`cg_tbl_garages`.`language`, `thecarg_db`.`cg_tbl_garages`.`aadhaar_number`, `thecarg_db`.`cg_tbl_garages`.`pan_number`, `thecarg_db`.`cg_tbl_garages`.`gstin_number`, `thecarg_db`.`cg_tbl_garages`.`cin_number`, `thecarg_db`.`cg_tbl_garages`.`dob`, `thecarg_db`.`cg_tbl_garages`.`address`, `thecarg_db`.`cg_tbl_garages`.`state`, `thecarg_db`.`cg_tbl_garages`.`city`, `thecarg_db`.`cg_tbl_garages`.`zone`, `thecarg_db`.`cg_tbl_garages`.`pincode`, `thecarg_db`.`cg_tbl_garages`.`latitude`, `thecarg_db`.`cg_tbl_garages`.`longitude`, `thecarg_db`.`cg_tbl_garages`.`bank_name`, `thecarg_db`.`cg_tbl_garages`.`bank_account_number`, `thecarg_db`.`cg_tbl_garages`.`bank_ifsc_code`, `thecarg_db`.`cg_tbl_garages`.`operating_hours`, `thecarg_db`.`cg_tbl_garages`.`vehicle_fuel_types`, `thecarg_db`.`cg_tbl_garages`.`vehicle_classes`, `thecarg_db`.`cg_tbl_garages`.`ev_safety_certificate_file`, `thecarg_db`.`cg_tbl_garages`.`pan_card_file`, `thecarg_db`.`cg_tbl_garages`.`gst_file`, `thecarg_db`.`cg_tbl_garages`.`cin_file`, `thecarg_db`.`cg_tbl_garages`.`bank_document_file`, `thecarg_db`.`cg_tbl_garages`.`aadhaar_card_file`, `thecarg_db`.`cg_tbl_garages`.`profile_photo_file`, `thecarg_db`.`cg_tbl_garages`.`infrastructure_image_file`, `thecarg_db`.`cg_tbl_garages`.`services`, `thecarg_db`.`cg_tbl_garages`.`status`, `thecarg_db`.`cg_tbl_garages`.`is_parent`, `thecarg_db`.`cg_tbl_garages`.`parent_id`, `thecarg_db`.`cg_tbl_garages`.`is_verified`, `thecarg_db`.`cg_tbl_garages`.`fcm_token`, `thecarg_db`.`cg_tbl_garages`.`subscription_id`, `thecarg_db`.`cg_tbl_garages`.`subscription_start_date`, `thecarg_db`.`cg_tbl_garages`.`subscription_end_date`, `thecarg_db`.`cg_tbl_garages`.`created_at`, `thecarg_db`.`cg_tbl_garages`.`updated_at` FROM `thecarg_db`.`cg_tbl_garages` WHERE (`thecarg_db`.`cg_tbl_garages`.`parent_id` = ? AND `thecarg_db`.`cg_tbl_garages`.`is_parent` = ? AND `thecarg_db`.`cg_tbl_garages`.`status` <> ?) ORDER BY `thecarg_db`.`cg_tbl_garages`.`created_at` DESC
prisma:query SELECT `thecarg_db`.`cg_tbl_vehicle_fuel_types`.`id`, `thecarg_db`.`cg_tbl_vehicle_fuel_types`.`name`, `thecarg_db`.`cg_tbl_vehicle_fuel_types`.`slug`, `thecarg_db`.`cg_tbl_vehicle_fuel_types`.`status`, `thecarg_db`.`cg_tbl_vehicle_fuel_types`.`created_at`, `thecarg_db`.`cg_tbl_vehicle_fuel_types`.`updated_at` FROM `thecarg_db`.`cg_tbl_vehicle_fuel_types` WHERE (`thecarg_db`.`cg_tbl_vehicle_fuel_types`.`id` IN (?) AND `thecarg_db`.`cg_tbl_vehicle_fuel_types`.`status` = ?)
prisma:query SELECT `thecarg_db`.`cg_tbl_garages`.`id`, `thecarg_db`.`cg_tbl_garages`.`garage_id`, `thecarg_db`.`cg_tbl_garages`.`multiple_garages`, `thecarg_db`.`cg_tbl_garages`.`first_name`, `thecarg_db`.`cg_tbl_garages`.`last_name`, `thecarg_db`.`cg_tbl_garages`.`mobile`, `thecarg_db`.`cg_tbl_garages`.`email`, `thecarg_db`.`cg_tbl_garages`.`trade_name`, `thecarg_db`.`cg_tbl_garages`.`entity_type`, `thecarg_db`.`cg_tbl_garages`.`language`, `thecarg_db`.`cg_tbl_garages`.`aadhaar_number`, `thecarg_db`.`cg_tbl_garages`.`pan_number`, `thecarg_db`.`cg_tbl_garages`.`gstin_number`, `thecarg_db`.`cg_tbl_garages`.`cin_number`, `thecarg_db`.`cg_tbl_garages`.`dob`, `thecarg_db`.`cg_tbl_garages`.`address`, `thecarg_db`.`cg_tbl_garages`.`state`, `thecarg_db`.`cg_tbl_garages`.`city`, `thecarg_db`.`cg_tbl_garages`.`zone`, `thecarg_db`.`cg_tbl_garages`.`pincode`, `thecarg_db`.`cg_tbl_garages`.`latitude`, `thecarg_db`.`cg_tbl_garages`.`longitude`, `thecarg_db`.`cg_tbl_garages`.`bank_name`, `thecarg_db`.`cg_tbl_garages`.`bank_account_number`, `thecarg_db`.`cg_tbl_garages`.`bank_ifsc_code`, `thecarg_db`.`cg_tbl_garages`.`operating_hours`, `thecarg_db`.`cg_tbl_garages`.`vehicle_fuel_types`, `thecarg_db`.`cg_tbl_garages`.`vehicle_classes`, `thecarg_db`.`cg_tbl_garages`.`ev_safety_certificate_file`, `thecarg_db`.`cg_tbl_garages`.`pan_card_file`, `thecarg_db`.`cg_tbl_garages`.`gst_file`, `thecarg_db`.`cg_tbl_garages`.`cin_file`, `thecarg_db`.`cg_tbl_garages`.`bank_document_file`, `thecarg_db`.`cg_tbl_garages`.`aadhaar_card_file`, `thecarg_db`.`cg_tbl_garages`.`profile_photo_file`, `thecarg_db`.`cg_tbl_garages`.`infrastructure_image_file`, `thecarg_db`.`cg_tbl_garages`.`services`, `thecarg_db`.`cg_tbl_garages`.`status`, `thecarg_db`.`cg_tbl_garages`.`is_parent`, `thecarg_db`.`cg_tbl_garages`.`parent_id`, `thecarg_db`.`cg_tbl_garages`.`is_verified`, `thecarg_db`.`cg_tbl_garages`.`fcm_token`, `thecarg_db`.`cg_tbl_garages`.`subscription_id`, `thecarg_db`.`cg_tbl_garages`.`subscription_start_date`, `thecarg_db`.`cg_tbl_garages`.`subscription_end_date`, `thecarg_db`.`cg_tbl_garages`.`created_at`, `thecarg_db`.`cg_tbl_garages`.`updated_at` FROM `thecarg_db`.`cg_tbl_garages` WHERE (`thecarg_db`.`cg_tbl_garages`.`parent_id` = ? AND `thecarg_db`.`cg_tbl_garages`.`is_parent` = ? AND `thecarg_db`.`cg_tbl_garages`.`status` <> ?) ORDER BY `thecarg_db`.`cg_tbl_garages`.`created_at` DESC
prisma:query SELECT 1
prisma:query SELECT `thecarg_db`.`cg_tbl_languages`.`id`, `thecarg_db`.`cg_tbl_languages`.`name`, `thecarg_db`.`cg_tbl_languages`.`slug`, `thecarg_db`.`cg_tbl_languages`.`status`, `thecarg_db`.`cg_tbl_languages`.`created_at`, `thecarg_db`.`cg_tbl_languages`.`updated_at` FROM `thecarg_db`.`cg_tbl_languages` WHERE (`thecarg_db`.`cg_tbl_languages`.`id` IN (?,?,?) AND `thecarg_db`.`cg_tbl_languages`.`status` = ?)
prisma:query SELECT `thecarg_db`.`cg_tbl_user_roles`.`id`, `thecarg_db`.`cg_tbl_user_roles`.`role_name`, `thecarg_db`.`cg_tbl_user_roles`.`role_slug`, `thecarg_db`.`cg_tbl_user_roles`.`status`, `thecarg_db`.`cg_tbl_user_roles`.`created_at`, `thecarg_db`.`cg_tbl_user_roles`.`updated_at` FROM `thecarg_db`.`cg_tbl_user_roles` WHERE `thecarg_db`.`cg_tbl_user_roles`.`role_slug` = ? LIMIT ? OFFSET ?
prisma:query SELECT COUNT(*) FROM (SELECT `thecarg_db`.`cg_tbl_user_addresses`.`id` FROM `thecarg_db`.`cg_tbl_user_addresses` WHERE (`thecarg_db`.`cg_tbl_user_addresses`.`user_id` = ? AND `thecarg_db`.`cg_tbl_user_addresses`.`role_id` = ? AND `thecarg_db`.`cg_tbl_user_addresses`.`status` = ?)) AS `sub`
prisma:query SELECT `thecarg_db`.`cg_tbl_user_roles`.`id`, `thecarg_db`.`cg_tbl_user_roles`.`role_name`, `thecarg_db`.`cg_tbl_user_roles`.`role_slug`, `thecarg_db`.`cg_tbl_user_roles`.`status`, `thecarg_db`.`cg_tbl_user_roles`.`created_at`, `thecarg_db`.`cg_tbl_user_roles`.`updated_at` FROM `thecarg_db`.`cg_tbl_user_roles` WHERE `thecarg_db`.`cg_tbl_user_roles`.`role_slug` = ? LIMIT ? OFFSET ?
prisma:query SELECT `thecarg_db`.`cg_tbl_user_roles`.`id`, `thecarg_db`.`cg_tbl_user_roles`.`role_name`, `thecarg_db`.`cg_tbl_user_roles`.`role_slug`, `thecarg_db`.`cg_tbl_user_roles`.`status`, `thecarg_db`.`cg_tbl_user_roles`.`created_at`, `thecarg_db`.`cg_tbl_user_roles`.`updated_at` FROM `thecarg_db`.`cg_tbl_user_roles` WHERE `thecarg_db`.`cg_tbl_user_roles`.`role_slug` = ? LIMIT ? OFFSET ?
prisma:query SELECT `thecarg_db`.`cg_tbl_user_addresses`.`id`, `thecarg_db`.`cg_tbl_user_addresses`.`user_id`, `thecarg_db`.`cg_tbl_user_addresses`.`role_id`, `thecarg_db`.`cg_tbl_user_addresses`.`address_title`, `thecarg_db`.`cg_tbl_user_addresses`.`contact_name`, `thecarg_db`.`cg_tbl_user_addresses`.`phone_number`, `thecarg_db`.`cg_tbl_user_addresses`.`flat_house_no`, `thecarg_db`.`cg_tbl_user_addresses`.`area_locality`, `thecarg_db`.`cg_tbl_user_addresses`.`landmark`, `thecarg_db`.`cg_tbl_user_addresses`.`pincode`, `thecarg_db`.`cg_tbl_user_addresses`.`city`, `thecarg_db`.`cg_tbl_user_addresses`.`state`, `thecarg_db`.`cg_tbl_user_addresses`.`latitude`, `thecarg_db`.`cg_tbl_user_addresses`.`longitude`, `thecarg_db`.`cg_tbl_user_addresses`.`full_address`, `thecarg_db`.`cg_tbl_user_addresses`.`is_default`, `thecarg_db`.`cg_tbl_user_addresses`.`status`, `thecarg_db`.`cg_tbl_user_addresses`.`created_at`, `thecarg_db`.`cg_tbl_user_addresses`.`updated_at` FROM `thecarg_db`.`cg_tbl_user_addresses` WHERE (`thecarg_db`.`cg_tbl_user_addresses`.`user_id` = ? AND `thecarg_db`.`cg_tbl_user_addresses`.`role_id` = ? AND `thecarg_db`.`cg_tbl_user_addresses`.`status` = ?) ORDER BY `thecarg_db`.`cg_tbl_user_addresses`.`is_default` DESC, `thecarg_db`.`cg_tbl_user_addresses`.`created_at` DESC LIMIT ? OFFSET ?
prisma:query SELECT `thecarg_db`.`cg_tbl_profile_update_requests`.`id`, `thecarg_db`.`cg_tbl_profile_update_requests`.`user_id`, `thecarg_db`.`cg_tbl_profile_update_requests`.`user_role_id`, `thecarg_db`.`cg_tbl_profile_update_requests`.`change_data`, `thecarg_db`.`cg_tbl_profile_update_requests`.`status`, `thecarg_db`.`cg_tbl_profile_update_requests`.`action_by`, `thecarg_db`.`cg_tbl_profile_update_requests`.`action_at`, `thecarg_db`.`cg_tbl_profile_update_requests`.`rejection_reason`, `thecarg_db`.`cg_tbl_profile_update_requests`.`created_at`, `thecarg_db`.`cg_tbl_profile_update_requests`.`updated_at` FROM `thecarg_db`.`cg_tbl_profile_update_requests` WHERE (`thecarg_db`.`cg_tbl_profile_update_requests`.`user_id` IN (?,?,?,?,?) AND `thecarg_db`.`cg_tbl_profile_update_requests`.`user_role_id` = ? AND `thecarg_db`.`cg_tbl_profile_update_requests`.`status` = ?)
prisma:query SELECT `thecarg_db`.`cg_tbl_profile_update_requests`.`id`, `thecarg_db`.`cg_tbl_profile_update_requests`.`user_id`, `thecarg_db`.`cg_tbl_profile_update_requests`.`user_role_id`, `thecarg_db`.`cg_tbl_profile_update_requests`.`change_data`, `thecarg_db`.`cg_tbl_profile_update_requests`.`status`, `thecarg_db`.`cg_tbl_profile_update_requests`.`action_by`, `thecarg_db`.`cg_tbl_profile_update_requests`.`action_at`, `thecarg_db`.`cg_tbl_profile_update_requests`.`rejection_reason`, `thecarg_db`.`cg_tbl_profile_update_requests`.`created_at`, `thecarg_db`.`cg_tbl_profile_update_requests`.`updated_at` FROM `thecarg_db`.`cg_tbl_profile_update_requests` WHERE (`thecarg_db`.`cg_tbl_profile_update_requests`.`user_id` IN (?,?,?,?,?) AND `thecarg_db`.`cg_tbl_profile_update_requests`.`user_role_id` = ? AND `thecarg_db`.`cg_tbl_profile_update_requests`.`status` = ?)
prisma:query SELECT `thecarg_db`.`cg_tbl_profile_update_requests`.`id`, `thecarg_db`.`cg_tbl_profile_update_requests`.`user_id`, `thecarg_db`.`cg_tbl_profile_update_requests`.`user_role_id`, `thecarg_db`.`cg_tbl_profile_update_requests`.`change_data`, `thecarg_db`.`cg_tbl_profile_update_requests`.`status`, `thecarg_db`.`cg_tbl_profile_update_requests`.`action_by`, `thecarg_db`.`cg_tbl_profile_update_requests`.`action_at`, `thecarg_db`.`cg_tbl_profile_update_requests`.`rejection_reason`, `thecarg_db`.`cg_tbl_profile_update_requests`.`created_at`, `thecarg_db`.`cg_tbl_profile_update_requests`.`updated_at` FROM `thecarg_db`.`cg_tbl_profile_update_requests` WHERE (`thecarg_db`.`cg_tbl_profile_update_requests`.`user_id` = ? AND `thecarg_db`.`cg_tbl_profile_update_requests`.`user_role_id` = ? AND `thecarg_db`.`cg_tbl_profile_update_requests`.`status` = ?)
prisma:query SELECT `thecarg_db`.`cg_tbl_user_subscriptions`.`id`, `thecarg_db`.`cg_tbl_user_subscriptions`.`user_id`, `thecarg_db`.`cg_tbl_user_subscriptions`.`user_role_id`, `thecarg_db`.`cg_tbl_user_subscriptions`.`subscription_plan_id`, `thecarg_db`.`cg_tbl_user_subscriptions`.`plan_title`, `thecarg_db`.`cg_tbl_user_subscriptions`.`plan_type`, `thecarg_db`.`cg_tbl_user_subscriptions`.`amount`, `thecarg_db`.`cg_tbl_user_subscriptions`.`gst_percentage`, `thecarg_db`.`cg_tbl_user_subscriptions`.`gst_amount`, `thecarg_db`.`cg_tbl_user_subscriptions`.`total_amount`, `thecarg_db`.`cg_tbl_user_subscriptions`.`gateway_name`, `thecarg_db`.`cg_tbl_user_subscriptions`.`gateway_order_id`, `thecarg_db`.`cg_tbl_user_subscriptions`.`gateway_payment_id`, `thecarg_db`.`cg_tbl_user_subscriptions`.`status`, `thecarg_db`.`cg_tbl_user_subscriptions`.`subscription_start_date`, `thecarg_db`.`cg_tbl_user_subscriptions`.`subscription_end_date`, `thecarg_db`.`cg_tbl_user_subscriptions`.`created_at`, `thecarg_db`.`cg_tbl_user_subscriptions`.`updated_at` FROM `thecarg_db`.`cg_tbl_user_subscriptions` WHERE (`thecarg_db`.`cg_tbl_user_subscriptions`.`user_id` = ? AND `thecarg_db`.`cg_tbl_user_subscriptions`.`user_role_id` = ? AND `thecarg_db`.`cg_tbl_user_subscriptions`.`status` = ? AND `thecarg_db`.`cg_tbl_user_subscriptions`.`subscription_end_date` > ?) ORDER BY `thecarg_db`.`cg_tbl_user_subscriptions`.`subscription_end_date` DESC, `thecarg_db`.`cg_tbl_user_subscriptions`.`created_at` DESC LIMIT ? OFFSET ?
prisma:query SELECT `thecarg_db`.`cg_tbl_categories`.`id`, `thecarg_db`.`cg_tbl_categories`.`category_name`, `thecarg_db`.`cg_tbl_categories`.`category_image`, `thecarg_db`.`cg_tbl_categories`.`is_accident` FROM `thecarg_db`.`cg_tbl_categories` WHERE (`thecarg_db`.`cg_tbl_categories`.`status` = ? AND (`thecarg_db`.`cg_tbl_categories`.`is_accident` = ? OR (`thecarg_db`.`cg_tbl_categories`.`id`) IN (SELECT `t1`.`category_id` FROM `thecarg_db`.`cg_tbl_category_sub_category_setup` AS `t1` LEFT JOIN `thecarg_db`.`cg_tbl_sub_categories` AS `j2` ON (`j2`.`id`) = (`t1`.`sub_category_id`) WHERE (`t1`.`status` = ? AND (`j2`.`status` = ? AND (`j2`.`id` IS NOT NULL)) AND `t1`.`category_id` IS NOT NULL)))) ORDER BY `thecarg_db`.`cg_tbl_categories`.`id` ASC LIMIT ? OFFSET ?
prisma:query SELECT COUNT(*) FROM (SELECT `thecarg_db`.`cg_tbl_categories`.`id` FROM `thecarg_db`.`cg_tbl_categories` WHERE (`thecarg_db`.`cg_tbl_categories`.`status` = ? AND (`thecarg_db`.`cg_tbl_categories`.`is_accident` = ? OR (`thecarg_db`.`cg_tbl_categories`.`id`) IN (SELECT `t1`.`category_id` FROM `thecarg_db`.`cg_tbl_category_sub_category_setup` AS `t1` LEFT JOIN `thecarg_db`.`cg_tbl_sub_categories` AS `j2` ON (`j2`.`id`) = (`t1`.`sub_category_id`) WHERE (`t1`.`status` = ? AND (`j2`.`status` = ? AND (`j2`.`id` IS NOT NULL)) AND `t1`.`category_id` IS NOT NULL))))) AS `sub`
prisma:query SELECT `thecarg_db`.`cg_tbl_subscription_plans`.`id`, `thecarg_db`.`cg_tbl_subscription_plans`.`user_role_id`, `thecarg_db`.`cg_tbl_subscription_plans`.`title`, `thecarg_db`.`cg_tbl_subscription_plans`.`plan_type`, `thecarg_db`.`cg_tbl_subscription_plans`.`price`, `thecarg_db`.`cg_tbl_subscription_plans`.`gst_percentage`, `thecarg_db`.`cg_tbl_subscription_plans`.`features`, `thecarg_db`.`cg_tbl_subscription_plans`.`status`, `thecarg_db`.`cg_tbl_subscription_plans`.`created_at`, `thecarg_db`.`cg_tbl_subscription_plans`.`updated_at` FROM `thecarg_db`.`cg_tbl_subscription_plans` WHERE `thecarg_db`.`cg_tbl_subscription_plans`.`id` = ? LIMIT ? OFFSET ?
prisma:query SELECT `thecarg_db`.`cg_tbl_category_sub_category_setup`.`id`, `thecarg_db`.`cg_tbl_category_sub_category_setup`.`sub_category_id`, `thecarg_db`.`cg_tbl_category_sub_category_setup`.`category_id` FROM `thecarg_db`.`cg_tbl_category_sub_category_setup` LEFT JOIN `thecarg_db`.`cg_tbl_sub_categories` AS `j1` ON (`j1`.`id`) = (`thecarg_db`.`cg_tbl_category_sub_category_setup`.`sub_category_id`) WHERE ((`thecarg_db`.`cg_tbl_category_sub_category_setup`.`status` = ? AND (`j1`.`status` = ? AND (`j1`.`id` IS NOT NULL))) AND `thecarg_db`.`cg_tbl_category_sub_category_setup`.`category_id` IN (?,?,?,?,?,?,?,?))
prisma:query SELECT 1
prisma:query BEGIN
prisma:query SELECT `thecarg_db`.`cg_tbl_garages`.`id` FROM `thecarg_db`.`cg_tbl_garages` WHERE (`thecarg_db`.`cg_tbl_garages`.`id` = ? AND 1=1)
prisma:query UPDATE `thecarg_db`.`cg_tbl_garages` SET `fcm_token` = ?, `updated_at` = ? WHERE (`thecarg_db`.`cg_tbl_garages`.`id` IN (?) AND (`thecarg_db`.`cg_tbl_garages`.`id` = ? AND 1=1))
prisma:query SELECT `thecarg_db`.`cg_tbl_garages`.`id`, `thecarg_db`.`cg_tbl_garages`.`garage_id`, `thecarg_db`.`cg_tbl_garages`.`multiple_garages`, `thecarg_db`.`cg_tbl_garages`.`first_name`, `thecarg_db`.`cg_tbl_garages`.`last_name`, `thecarg_db`.`cg_tbl_garages`.`mobile`, `thecarg_db`.`cg_tbl_garages`.`email`, `thecarg_db`.`cg_tbl_garages`.`trade_name`, `thecarg_db`.`cg_tbl_garages`.`entity_type`, `thecarg_db`.`cg_tbl_garages`.`language`, `thecarg_db`.`cg_tbl_garages`.`aadhaar_number`, `thecarg_db`.`cg_tbl_garages`.`pan_number`, `thecarg_db`.`cg_tbl_garages`.`gstin_number`, `thecarg_db`.`cg_tbl_garages`.`cin_number`, `thecarg_db`.`cg_tbl_garages`.`dob`, `thecarg_db`.`cg_tbl_garages`.`address`, `thecarg_db`.`cg_tbl_garages`.`state`, `thecarg_db`.`cg_tbl_garages`.`city`, `thecarg_db`.`cg_tbl_garages`.`zone`, `thecarg_db`.`cg_tbl_garages`.`pincode`, `thecarg_db`.`cg_tbl_garages`.`latitude`, `thecarg_db`.`cg_tbl_garages`.`longitude`, `thecarg_db`.`cg_tbl_garages`.`bank_name`, `thecarg_db`.`cg_tbl_garages`.`bank_account_number`, `thecarg_db`.`cg_tbl_garages`.`bank_ifsc_code`, `thecarg_db`.`cg_tbl_garages`.`operating_hours`, `thecarg_db`.`cg_tbl_garages`.`vehicle_fuel_types`, `thecarg_db`.`cg_tbl_garages`.`vehicle_classes`, `thecarg_db`.`cg_tbl_garages`.`ev_safety_certificate_file`, `thecarg_db`.`cg_tbl_garages`.`pan_card_file`, `thecarg_db`.`cg_tbl_garages`.`gst_file`, `thecarg_db`.`cg_tbl_garages`.`cin_file`, `thecarg_db`.`cg_tbl_garages`.`bank_document_file`, `thecarg_db`.`cg_tbl_garages`.`aadhaar_card_file`, `thecarg_db`.`cg_tbl_garages`.`profile_photo_file`, `thecarg_db`.`cg_tbl_garages`.`infrastructure_image_file`, `thecarg_db`.`cg_tbl_garages`.`services`, `thecarg_db`.`cg_tbl_garages`.`status`, `thecarg_db`.`cg_tbl_garages`.`is_parent`, `thecarg_db`.`cg_tbl_garages`.`parent_id`, `thecarg_db`.`cg_tbl_garages`.`is_verified`, `thecarg_db`.`cg_tbl_garages`.`fcm_token`, `thecarg_db`.`cg_tbl_garages`.`subscription_id`, `thecarg_db`.`cg_tbl_garages`.`subscription_start_date`, `thecarg_db`.`cg_tbl_garages`.`subscription_end_date`, `thecarg_db`.`cg_tbl_garages`.`created_at`, `thecarg_db`.`cg_tbl_garages`.`updated_at` FROM `thecarg_db`.`cg_tbl_garages` WHERE `thecarg_db`.`cg_tbl_garages`.`id` = ? LIMIT ? OFFSET ?
prisma:query COMMIT
[2026-06-24T12:28:18.234Z] [INFO]: [ZONE_RESOLVE] Resolving zone for coordinates: (13.069852978031037, 80.19511070046688)
--------------------------------------------------

prisma:query SELECT 1
prisma:query SELECT id, status, zone_name AS zoneName, zone_code AS zoneCode, ABS(ST_Area(coordinates)) as area 
       FROM cg_tbl_zones 
       WHERE ST_Contains(coordinates, ST_GeomFromText(?))
       ORDER BY area ASC
[2026-06-24T12:28:18.424Z] [INFO]: [BANNERS] Fetching garage banners for zoneIds: [13, 11]
--------------------------------------------------

prisma:query 
      SELECT 
        'admin_banner' AS bannerSource,
        b.id,
        b.title,
        b.banner_image AS bannerImage,
        NULL AS userId,
        NULL AS userRoleId,
        NULL AS productId,
        b.created_at AS createdAt
      FROM cg_tbl_banners b
      WHERE b.status = 1 
        AND b.zone_id IN (?,?)

      UNION ALL

      SELECT 
        'advertisement' AS bannerSource,
        a.id,
        a.title,
        a.banner_image AS bannerImage,
        a.user_id AS userId,
        a.user_role_id AS userRoleId,
        a.product_id AS productId,
        a.created_at AS createdAt
      FROM cg_tbl_advertisements a
      WHERE a.status = 1 
        AND a.advertisement_type = 'banner'
        AND a.approval_status = 'approved'
        AND a.payment_status = 'paid'
        AND NOW() BETWEEN a.from_date AND a.to_date
        AND a.zone_id IN (?,?)
      ORDER BY createdAt DESC
    
prisma:query SELECT `thecarg_db`.`cg_tbl_zones`.`id` FROM `thecarg_db`.`cg_tbl_zones` WHERE (`thecarg_db`.`cg_tbl_zones`.`id` IN (?,?) AND `thecarg_db`.`cg_tbl_zones`.`status` = ?)
prisma:query SELECT `thecarg_db`.`cg_tbl_zones`.`id` FROM `thecarg_db`.`cg_tbl_zones` WHERE (`thecarg_db`.`cg_tbl_zones`.`id` IN (?,?) AND `thecarg_db`.`cg_tbl_zones`.`status` = ?)
prisma:query SELECT `thecarg_db`.`cg_tbl_sellers`.`id`, `thecarg_db`.`cg_tbl_sellers`.`status`, `thecarg_db`.`cg_tbl_sellers`.`operating_hours`, `thecarg_db`.`cg_tbl_sellers`.`zone` FROM `thecarg_db`.`cg_tbl_sellers` WHERE `thecarg_db`.`cg_tbl_sellers`.`status` = ?
prisma:query SELECT `thecarg_db`.`cg_tbl_sellers`.`id`, `thecarg_db`.`cg_tbl_sellers`.`status`, `thecarg_db`.`cg_tbl_sellers`.`operating_hours`, `thecarg_db`.`cg_tbl_sellers`.`zone` FROM `thecarg_db`.`cg_tbl_sellers` WHERE `thecarg_db`.`cg_tbl_sellers`.`status` = ?
prisma:query SELECT COUNT(`thecarg_db`.`cg_tbl_products`.`id`), `thecarg_db`.`cg_tbl_products`.`techdoc_brand_id` FROM `thecarg_db`.`cg_tbl_products` WHERE (`thecarg_db`.`cg_tbl_products`.`status` = ? AND (`thecarg_db`.`cg_tbl_products`.`id`) IN (SELECT `t1`.`product_id` FROM `thecarg_db`.`cg_tbl_seller_products` AS `t1` WHERE (`t1`.`status` = ? AND `t1`.`is_in_stock` = ? AND `t1`.`seller_id` IN (?) AND `t1`.`product_id` IS NOT NULL))) GROUP BY `thecarg_db`.`cg_tbl_products`.`techdoc_brand_id`
prisma:query SELECT `thecarg_db`.`cg_tbl_products`.`assembly_group_node_id`, `thecarg_db`.`cg_tbl_products`.`generic_article_id` FROM `thecarg_db`.`cg_tbl_products` WHERE (`thecarg_db`.`cg_tbl_products`.`status` = ? AND (`thecarg_db`.`cg_tbl_products`.`id`) IN (SELECT `t1`.`product_id` FROM `thecarg_db`.`cg_tbl_seller_products` AS `t1` WHERE (`t1`.`status` = ? AND `t1`.`is_in_stock` = ? AND `t1`.`seller_id` IN (?) AND `t1`.`product_id` IS NOT NULL))) GROUP BY `thecarg_db`.`cg_tbl_products`.`assembly_group_node_id`, `thecarg_db`.`cg_tbl_products`.`generic_article_id`
prisma:query SELECT COUNT(`thecarg_db`.`cg_tbl_products`.`id`), `thecarg_db`.`cg_tbl_products`.`techdoc_brand_id`, `thecarg_db`.`cg_tbl_products`.`brand_name` FROM `thecarg_db`.`cg_tbl_products` WHERE (`thecarg_db`.`cg_tbl_products`.`status` = ? AND (`thecarg_db`.`cg_tbl_products`.`id`) IN (SELECT `t1`.`product_id` FROM `thecarg_db`.`cg_tbl_seller_products` AS `t1` WHERE (`t1`.`status` = ? AND `t1`.`is_in_stock` = ? AND `t1`.`seller_id` IN (?) AND `t1`.`product_id` IS NOT NULL))) GROUP BY `thecarg_db`.`cg_tbl_products`.`techdoc_brand_id`, `thecarg_db`.`cg_tbl_products`.`brand_name` ORDER BY `thecarg_db`.`cg_tbl_products`.`techdoc_brand_id` ASC LIMIT ? OFFSET ?
[2026-06-24T12:28:20.846Z] [INFO]: TecDoc → getGenericArticles | provider: 25791 | country: IN | url: https://webservice.tecalliance.services/pegasus-3-0/services/TecdocToCatDLB.jsonEndpoint
--------------------------------------------------

[2026-06-24T12:28:20.850Z] [INFO]: TecDoc → getBrands | provider: 25791 | country: IN | url: https://webservice.tecalliance.services/pegasus-3-0/services/TecdocToCatDLB.jsonEndpoint
--------------------------------------------------

prisma:query SELECT `thecarg_db`.`cg_tbl_products`.`assembly_group_node_id`, `thecarg_db`.`cg_tbl_products`.`generic_article_id` FROM `thecarg_db`.`cg_tbl_products` WHERE `thecarg_db`.`cg_tbl_products`.`status` = ? GROUP BY `thecarg_db`.`cg_tbl_products`.`assembly_group_node_id`, `thecarg_db`.`cg_tbl_products`.`generic_article_id`
[2026-06-24T12:28:21.680Z] [INFO]: TecDoc → getArticles | provider: 25791 | country: IN | url: https://webservice.tecalliance.services/pegasus-3-0/services/TecdocToCatDLB.jsonEndpoint
--------------------------------------------------

prisma:query SELECT 1
prisma:query SELECT `thecarg_db`.`cg_tbl_zones`.`id` FROM `thecarg_db`.`cg_tbl_zones` WHERE (`thecarg_db`.`cg_tbl_zones`.`id` IN (?,?) AND `thecarg_db`.`cg_tbl_zones`.`status` = ?)
prisma:query SELECT `thecarg_db`.`cg_tbl_sellers`.`id`, `thecarg_db`.`cg_tbl_sellers`.`status`, `thecarg_db`.`cg_tbl_sellers`.`operating_hours`, `thecarg_db`.`cg_tbl_sellers`.`zone` FROM `thecarg_db`.`cg_tbl_sellers` WHERE `thecarg_db`.`cg_tbl_sellers`.`status` = ?
prisma:query SELECT `thecarg_db`.`cg_tbl_products`.`id`, `thecarg_db`.`cg_tbl_products`.`article_number` FROM `thecarg_db`.`cg_tbl_products` WHERE (`thecarg_db`.`cg_tbl_products`.`status` = ? AND (`thecarg_db`.`cg_tbl_products`.`id`) IN (SELECT `t1`.`product_id` FROM `thecarg_db`.`cg_tbl_seller_products` AS `t1` WHERE (`t1`.`status` = ? AND `t1`.`seller_id` IN (?) AND `t1`.`product_id` IS NOT NULL))) ORDER BY `thecarg_db`.`cg_tbl_products`.`id` ASC
prisma:query SELECT `thecarg_db`.`cg_tbl_products`.`article_number` FROM `thecarg_db`.`cg_tbl_products` WHERE `thecarg_db`.`cg_tbl_products`.`id` IN (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?) GROUP BY `thecarg_db`.`cg_tbl_products`.`article_number`
prisma:query SELECT MIN(`thecarg_db`.`cg_tbl_products`.`id`), `thecarg_db`.`cg_tbl_products`.`article_number` FROM `thecarg_db`.`cg_tbl_products` WHERE `thecarg_db`.`cg_tbl_products`.`id` IN (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?) GROUP BY `thecarg_db`.`cg_tbl_products`.`article_number` ORDER BY MIN(`thecarg_db`.`cg_tbl_products`.`id`) ASC LIMIT ? OFFSET ?
prisma:query SELECT `thecarg_db`.`cg_tbl_products`.`id`, `thecarg_db`.`cg_tbl_products`.`techdoc_article_id`, `thecarg_db`.`cg_tbl_products`.`techdoc_brand_id`, `thecarg_db`.`cg_tbl_products`.`article_number`, `thecarg_db`.`cg_tbl_products`.`brand_name`, `thecarg_db`.`cg_tbl_products`.`status`, `thecarg_db`.`cg_tbl_products`.`created_at`, `thecarg_db`.`cg_tbl_products`.`updated_at`, `thecarg_db`.`cg_tbl_products`.`assembly_group_node_id`, `thecarg_db`.`cg_tbl_products`.`generic_article_id` FROM `thecarg_db`.`cg_tbl_products` WHERE `thecarg_db`.`cg_tbl_products`.`id` IN (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?) ORDER BY `thecarg_db`.`cg_tbl_products`.`id` ASC
[2026-06-24T12:28:34.301Z] [INFO]: TecDoc → getArticles | provider: 25791 | country: IN | url: https://webservice.tecalliance.services/pegasus-3-0/services/TecdocToCatDLB.jsonEndpoint
--------------------------------------------------

[2026-06-24T12:28:34.305Z] [INFO]: TecDoc → getArticles | provider: 25791 | country: IN | url: https://webservice.tecalliance.services/pegasus-3-0/services/TecdocToCatDLB.jsonEndpoint
--------------------------------------------------

[2026-06-24T12:28:34.309Z] [INFO]: TecDoc → getArticles | provider: 25791 | country: IN | url: https://webservice.tecalliance.services/pegasus-3-0/services/TecdocToCatDLB.jsonEndpoint
--------------------------------------------------

[2026-06-24T12:28:34.311Z] [INFO]: TecDoc → getArticles | provider: 25791 | country: IN | url: https://webservice.tecalliance.services/pegasus-3-0/services/TecdocToCatDLB.jsonEndpoint
--------------------------------------------------

[2026-06-24T12:28:34.314Z] [INFO]: TecDoc → getArticles | provider: 25791 | country: IN | url: https://webservice.tecalliance.services/pegasus-3-0/services/TecdocToCatDLB.jsonEndpoint
--------------------------------------------------

[2026-06-24T12:28:34.317Z] [INFO]: TecDoc → getArticles | provider: 25791 | country: IN | url: https://webservice.tecalliance.services/pegasus-3-0/services/TecdocToCatDLB.jsonEndpoint
--------------------------------------------------

[2026-06-24T12:28:34.318Z] [INFO]: TecDoc → getArticles | provider: 25791 | country: IN | url: https://webservice.tecalliance.services/pegasus-3-0/services/TecdocToCatDLB.jsonEndpoint
--------------------------------------------------

[2026-06-24T12:28:34.322Z] [INFO]: TecDoc → getArticles | provider: 25791 | country: IN | url: https://webservice.tecalliance.services/pegasus-3-0/services/TecdocToCatDLB.jsonEndpoint
--------------------------------------------------

[2026-06-24T12:28:34.324Z] [INFO]: TecDoc → getArticles | provider: 25791 | country: IN | url: https://webservice.tecalliance.services/pegasus-3-0/services/TecdocToCatDLB.jsonEndpoint
--------------------------------------------------

[2026-06-24T12:28:34.326Z] [INFO]: TecDoc → getArticles | provider: 25791 | country: IN | url: https://webservice.tecalliance.services/pegasus-3-0/services/TecdocToCatDLB.jsonEndpoint
--------------------------------------------------

[2026-06-24T12:28:34.328Z] [INFO]: TecDoc → getArticles | provider: 25791 | country: IN | url: https://webservice.tecalliance.services/pegasus-3-0/services/TecdocToCatDLB.jsonEndpoint
--------------------------------------------------

[2026-06-24T12:28:34.330Z] [INFO]: TecDoc → getArticles | provider: 25791 | country: IN | url: https://webservice.tecalliance.services/pegasus-3-0/services/TecdocToCatDLB.jsonEndpoint
--------------------------------------------------

[2026-06-24T12:28:34.332Z] [INFO]: TecDoc → getArticles | provider: 25791 | country: IN | url: https://webservice.tecalliance.services/pegasus-3-0/services/TecdocToCatDLB.jsonEndpoint
--------------------------------------------------

[2026-06-24T12:28:34.335Z] [INFO]: TecDoc → getArticles | provider: 25791 | country: IN | url: https://webservice.tecalliance.services/pegasus-3-0/services/TecdocToCatDLB.jsonEndpoint
--------------------------------------------------

[2026-06-24T12:28:34.337Z] [INFO]: TecDoc → getArticles | provider: 25791 | country: IN | url: https://webservice.tecalliance.services/pegasus-3-0/services/TecdocToCatDLB.jsonEndpoint
--------------------------------------------------

[2026-06-24T12:28:34.340Z] [INFO]: TecDoc → getArticles | provider: 25791 | country: IN | url: https://webservice.tecalliance.services/pegasus-3-0/services/TecdocToCatDLB.jsonEndpoint
--------------------------------------------------

[2026-06-24T12:28:34.342Z] [INFO]: TecDoc → getArticles | provider: 25791 | country: IN | url: https://webservice.tecalliance.services/pegasus-3-0/services/TecdocToCatDLB.jsonEndpoint
--------------------------------------------------

[2026-06-24T12:28:34.345Z] [INFO]: TecDoc → getArticles | provider: 25791 | country: IN | url: https://webservice.tecalliance.services/pegasus-3-0/services/TecdocToCatDLB.jsonEndpoint
--------------------------------------------------

[2026-06-24T12:28:34.829Z] [INFO]: TecDoc → getArticles | provider: 25791 | country: IN | url: https://webservice.tecalliance.services/pegasus-3-0/services/TecdocToCatDLB.jsonEndpoint
--------------------------------------------------

[2026-06-24T12:28:34.840Z] [INFO]: TecDoc → getArticles | provider: 25791 | country: IN | url: https://webservice.tecalliance.services/pegasus-3-0/services/TecdocToCatDLB.jsonEndpoint
--------------------------------------------------

[2026-06-24T12:28:34.845Z] [INFO]: TecDoc → getArticles | provider: 25791 | country: IN | url: https://webservice.tecalliance.services/pegasus-3-0/services/TecdocToCatDLB.jsonEndpoint
--------------------------------------------------

[2026-06-24T12:28:34.851Z] [INFO]: TecDoc → getArticles | provider: 25791 | country: IN | url: https://webservice.tecalliance.services/pegasus-3-0/services/TecdocToCatDLB.jsonEndpoint
--------------------------------------------------

[2026-06-24T12:28:34.857Z] [INFO]: TecDoc → getArticles | provider: 25791 | country: IN | url: https://webservice.tecalliance.services/pegasus-3-0/services/TecdocToCatDLB.jsonEndpoint
--------------------------------------------------

[2026-06-24T12:28:34.863Z] [INFO]: TecDoc → getArticles | provider: 25791 | country: IN | url: https://webservice.tecalliance.services/pegasus-3-0/services/TecdocToCatDLB.jsonEndpoint
--------------------------------------------------

[2026-06-24T12:28:34.873Z] [INFO]: TecDoc → getArticles | provider: 25791 | country: IN | url: https://webservice.tecalliance.services/pegasus-3-0/services/TecdocToCatDLB.jsonEndpoint
--------------------------------------------------

[2026-06-24T12:28:34.880Z] [INFO]: TecDoc → getArticles | provider: 25791 | country: IN | url: https://webservice.tecalliance.services/pegasus-3-0/services/TecdocToCatDLB.jsonEndpoint
--------------------------------------------------

[2026-06-24T12:28:34.885Z] [INFO]: TecDoc → getArticles | provider: 25791 | country: IN | url: https://webservice.tecalliance.services/pegasus-3-0/services/TecdocToCatDLB.jsonEndpoint
--------------------------------------------------

[2026-06-24T12:28:34.891Z] [INFO]: TecDoc → getArticles | provider: 25791 | country: IN | url: https://webservice.tecalliance.services/pegasus-3-0/services/TecdocToCatDLB.jsonEndpoint
--------------------------------------------------

[2026-06-24T12:28:34.897Z] [INFO]: TecDoc → getArticles | provider: 25791 | country: IN | url: https://webservice.tecalliance.services/pegasus-3-0/services/TecdocToCatDLB.jsonEndpoint
--------------------------------------------------

[2026-06-24T12:28:35.093Z] [INFO]: TecDoc → getArticles | provider: 25791 | country: IN | url: https://webservice.tecalliance.services/pegasus-3-0/services/TecdocToCatDLB.jsonEndpoint
--------------------------------------------------

[2026-06-24T12:28:35.104Z] [INFO]: TecDoc → getArticles | provider: 25791 | country: IN | url: https://webservice.tecalliance.services/pegasus-3-0/services/TecdocToCatDLB.jsonEndpoint
--------------------------------------------------

[2026-06-24T12:28:35.120Z] [INFO]: TecDoc → getArticles | provider: 25791 | country: IN | url: https://webservice.tecalliance.services/pegasus-3-0/services/TecdocToCatDLB.jsonEndpoint
--------------------------------------------------

[2026-06-24T12:28:35.132Z] [INFO]: TecDoc → getArticles | provider: 25791 | country: IN | url: https://webservice.tecalliance.services/pegasus-3-0/services/TecdocToCatDLB.jsonEndpoint
--------------------------------------------------

[2026-06-24T12:28:35.142Z] [INFO]: TecDoc → getArticles | provider: 25791 | country: IN | url: https://webservice.tecalliance.services/pegasus-3-0/services/TecdocToCatDLB.jsonEndpoint
--------------------------------------------------

[2026-06-24T12:28:35.150Z] [INFO]: TecDoc → getArticles | provider: 25791 | country: IN | url: https://webservice.tecalliance.services/pegasus-3-0/services/TecdocToCatDLB.jsonEndpoint
--------------------------------------------------

[2026-06-24T12:28:35.205Z] [INFO]: TecDoc → getArticles | provider: 25791 | country: IN | url: https://webservice.tecalliance.services/pegasus-3-0/services/TecdocToCatDLB.jsonEndpoint
--------------------------------------------------

prisma:query SELECT `thecarg_db`.`cg_tbl_products`.`id`, `thecarg_db`.`cg_tbl_products`.`techdoc_article_id` FROM `thecarg_db`.`cg_tbl_products` WHERE (`thecarg_db`.`cg_tbl_products`.`techdoc_article_id` IN (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?) AND `thecarg_db`.`cg_tbl_products`.`status` = ? AND `thecarg_db`.`cg_tbl_products`.`id` IN (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?))
prisma:query SELECT `thecarg_db`.`cg_tbl_seller_products`.`id`, `thecarg_db`.`cg_tbl_seller_products`.`product_id`, `thecarg_db`.`cg_tbl_seller_products`.`customer_selling_price`, `thecarg_db`.`cg_tbl_seller_products`.`garage_selling_price`, `thecarg_db`.`cg_tbl_seller_products`.`mrp`, `thecarg_db`.`cg_tbl_seller_products`.`customer_discount_type`, `thecarg_db`.`cg_tbl_seller_products`.`customer_discount`, `thecarg_db`.`cg_tbl_seller_products`.`garage_discount_type`, `thecarg_db`.`cg_tbl_seller_products`.`garage_discount`, `thecarg_db`.`cg_tbl_seller_products`.`is_in_stock`, `thecarg_db`.`cg_tbl_seller_products`.`is_returnable`, `thecarg_db`.`cg_tbl_seller_products`.`return_days`, `thecarg_db`.`cg_tbl_seller_products`.`warranty_enabled`, `thecarg_db`.`cg_tbl_seller_products`.`warranty_duration`, `thecarg_db`.`cg_tbl_seller_products`.`warranty_duration_type`, `thecarg_db`.`cg_tbl_seller_products`.`warranty_document`, `thecarg_db`.`cg_tbl_seller_products`.`tax`, `thecarg_db`.`cg_tbl_seller_products`.`seller_id` FROM `thecarg_db`.`cg_tbl_seller_products` LEFT JOIN `thecarg_db`.`cg_tbl_sellers` AS `j1` ON (`j1`.`id`) = (`thecarg_db`.`cg_tbl_seller_products`.`seller_id`) WHERE (`thecarg_db`.`cg_tbl_seller_products`.`product_id` IN (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?) AND `thecarg_db`.`cg_tbl_seller_products`.`status` = ? AND (`j1`.`status` = ? AND (`j1`.`id` IS NOT NULL))) ORDER BY `thecarg_db`.`cg_tbl_seller_products`.`garage_selling_price` ASC
prisma:query SELECT `thecarg_db`.`cg_tbl_sellers`.`id`, `thecarg_db`.`cg_tbl_sellers`.`seller_id`, `thecarg_db`.`cg_tbl_sellers`.`first_name`, `thecarg_db`.`cg_tbl_sellers`.`last_name`, `thecarg_db`.`cg_tbl_sellers`.`trade_name`, `thecarg_db`.`cg_tbl_sellers`.`city`, `thecarg_db`.`cg_tbl_sellers`.`state`, `thecarg_db`.`cg_tbl_sellers`.`email`, `thecarg_db`.`cg_tbl_sellers`.`mobile`, `thecarg_db`.`cg_tbl_sellers`.`address`, `thecarg_db`.`cg_tbl_sellers`.`pincode`, `thecarg_db`.`cg_tbl_sellers`.`status`, `thecarg_db`.`cg_tbl_sellers`.`operating_hours`, `thecarg_db`.`cg_tbl_sellers`.`zone`, `thecarg_db`.`cg_tbl_sellers`.`latitude`, `thecarg_db`.`cg_tbl_sellers`.`longitude` FROM `thecarg_db`.`cg_tbl_sellers` WHERE `thecarg_db`.`cg_tbl_sellers`.`id` IN (?)
prisma:query SELECT `thecarg_db`.`cg_tbl_zones`.`id`, `thecarg_db`.`cg_tbl_zones`.`zone_name` FROM `thecarg_db`.`cg_tbl_zones` WHERE 1=1
prisma:query SELECT `thecarg_db`.`cg_tbl_zones`.`id` FROM `thecarg_db`.`cg_tbl_zones` WHERE (`thecarg_db`.`cg_tbl_zones`.`id` IN (?,?) AND `thecarg_db`.`cg_tbl_zones`.`status` = ?)
prisma:query SELECT `thecarg_db`.`cg_tbl_sellers`.`id`, `thecarg_db`.`cg_tbl_sellers`.`status`, `thecarg_db`.`cg_tbl_sellers`.`operating_hours`, `thecarg_db`.`cg_tbl_sellers`.`zone` FROM `thecarg_db`.`cg_tbl_sellers` WHERE `thecarg_db`.`cg_tbl_sellers`.`status` = ?
prisma:query SELECT `thecarg_db`.`cg_tbl_products`.`id`, `thecarg_db`.`cg_tbl_products`.`article_number` FROM `thecarg_db`.`cg_tbl_products` WHERE (`thecarg_db`.`cg_tbl_products`.`status` = ? AND (`thecarg_db`.`cg_tbl_products`.`id`) IN (SELECT `t1`.`product_id` FROM `thecarg_db`.`cg_tbl_seller_products` AS `t1` WHERE (`t1`.`status` = ? AND `t1`.`seller_id` IN (?) AND `t1`.`product_id` IS NOT NULL))) ORDER BY `thecarg_db`.`cg_tbl_products`.`id` ASC
prisma:query SELECT `thecarg_db`.`cg_tbl_products`.`article_number` FROM `thecarg_db`.`cg_tbl_products` WHERE `thecarg_db`.`cg_tbl_products`.`id` IN (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?) GROUP BY `thecarg_db`.`cg_tbl_products`.`article_number`
prisma:query SELECT MIN(`thecarg_db`.`cg_tbl_products`.`id`), `thecarg_db`.`cg_tbl_products`.`article_number` FROM `thecarg_db`.`cg_tbl_products` WHERE `thecarg_db`.`cg_tbl_products`.`id` IN (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?) GROUP BY `thecarg_db`.`cg_tbl_products`.`article_number` ORDER BY MIN(`thecarg_db`.`cg_tbl_products`.`id`) ASC LIMIT ? OFFSET ?
prisma:query SELECT `thecarg_db`.`cg_tbl_products`.`id`, `thecarg_db`.`cg_tbl_products`.`techdoc_article_id`, `thecarg_db`.`cg_tbl_products`.`techdoc_brand_id`, `thecarg_db`.`cg_tbl_products`.`article_number`, `thecarg_db`.`cg_tbl_products`.`brand_name`, `thecarg_db`.`cg_tbl_products`.`status`, `thecarg_db`.`cg_tbl_products`.`created_at`, `thecarg_db`.`cg_tbl_products`.`updated_at`, `thecarg_db`.`cg_tbl_products`.`assembly_group_node_id`, `thecarg_db`.`cg_tbl_products`.`generic_article_id` FROM `thecarg_db`.`cg_tbl_products` WHERE `thecarg_db`.`cg_tbl_products`.`id` IN (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?) ORDER BY `thecarg_db`.`cg_tbl_products`.`id` ASC
[2026-06-24T12:28:39.612Z] [INFO]: TecDoc → getArticles | provider: 25791 | country: IN | url: https://webservice.tecalliance.services/pegasus-3-0/services/TecdocToCatDLB.jsonEndpoint
--------------------------------------------------

[2026-06-24T12:28:39.614Z] [INFO]: TecDoc → getArticles | provider: 25791 | country: IN | url: https://webservice.tecalliance.services/pegasus-3-0/services/TecdocToCatDLB.jsonEndpoint
--------------------------------------------------

[2026-06-24T12:28:39.616Z] [INFO]: TecDoc → getArticles | provider: 25791 | country: IN | url: https://webservice.tecalliance.services/pegasus-3-0/services/TecdocToCatDLB.jsonEndpoint
--------------------------------------------------

[2026-06-24T12:28:39.618Z] [INFO]: TecDoc → getArticles | provider: 25791 | country: IN | url: https://webservice.tecalliance.services/pegasus-3-0/services/TecdocToCatDLB.jsonEndpoint
--------------------------------------------------

[2026-06-24T12:28:39.620Z] [INFO]: TecDoc → getArticles | provider: 25791 | country: IN | url: https://webservice.tecalliance.services/pegasus-3-0/services/TecdocToCatDLB.jsonEndpoint
--------------------------------------------------

[2026-06-24T12:28:39.623Z] [INFO]: TecDoc → getArticles | provider: 25791 | country: IN | url: https://webservice.tecalliance.services/pegasus-3-0/services/TecdocToCatDLB.jsonEndpoint
--------------------------------------------------

[2026-06-24T12:28:39.625Z] [INFO]: TecDoc → getArticles | provider: 25791 | country: IN | url: https://webservice.tecalliance.services/pegasus-3-0/services/TecdocToCatDLB.jsonEndpoint
--------------------------------------------------

[2026-06-24T12:28:39.628Z] [INFO]: TecDoc → getArticles | provider: 25791 | country: IN | url: https://webservice.tecalliance.services/pegasus-3-0/services/TecdocToCatDLB.jsonEndpoint
--------------------------------------------------

[2026-06-24T12:28:39.630Z] [INFO]: TecDoc → getArticles | provider: 25791 | country: IN | url: https://webservice.tecalliance.services/pegasus-3-0/services/TecdocToCatDLB.jsonEndpoint
--------------------------------------------------

[2026-06-24T12:28:39.632Z] [INFO]: TecDoc → getArticles | provider: 25791 | country: IN | url: https://webservice.tecalliance.services/pegasus-3-0/services/TecdocToCatDLB.jsonEndpoint
--------------------------------------------------

[2026-06-24T12:28:39.634Z] [INFO]: TecDoc → getArticles | provider: 25791 | country: IN | url: https://webservice.tecalliance.services/pegasus-3-0/services/TecdocToCatDLB.jsonEndpoint
--------------------------------------------------

[2026-06-24T12:28:39.636Z] [INFO]: TecDoc → getArticles | provider: 25791 | country: IN | url: https://webservice.tecalliance.services/pegasus-3-0/services/TecdocToCatDLB.jsonEndpoint
--------------------------------------------------

[2026-06-24T12:28:39.639Z] [INFO]: TecDoc → getArticles | provider: 25791 | country: IN | url: https://webservice.tecalliance.services/pegasus-3-0/services/TecdocToCatDLB.jsonEndpoint
--------------------------------------------------

[2026-06-24T12:28:39.642Z] [INFO]: TecDoc → getArticles | provider: 25791 | country: IN | url: https://webservice.tecalliance.services/pegasus-3-0/services/TecdocToCatDLB.jsonEndpoint
--------------------------------------------------

[2026-06-24T12:28:39.644Z] [INFO]: TecDoc → getArticles | provider: 25791 | country: IN | url: https://webservice.tecalliance.services/pegasus-3-0/services/TecdocToCatDLB.jsonEndpoint
--------------------------------------------------

[2026-06-24T12:28:39.646Z] [INFO]: TecDoc → getArticles | provider: 25791 | country: IN | url: https://webservice.tecalliance.services/pegasus-3-0/services/TecdocToCatDLB.jsonEndpoint
--------------------------------------------------

[2026-06-24T12:28:39.648Z] [INFO]: TecDoc → getArticles | provider: 25791 | country: IN | url: https://webservice.tecalliance.services/pegasus-3-0/services/TecdocToCatDLB.jsonEndpoint
--------------------------------------------------

[2026-06-24T12:28:39.651Z] [INFO]: TecDoc → getArticles | provider: 25791 | country: IN | url: https://webservice.tecalliance.services/pegasus-3-0/services/TecdocToCatDLB.jsonEndpoint
--------------------------------------------------

[2026-06-24T12:28:40.264Z] [INFO]: TecDoc → getArticles | provider: 25791 | country: IN | url: https://webservice.tecalliance.services/pegasus-3-0/services/TecdocToCatDLB.jsonEndpoint
--------------------------------------------------

[2026-06-24T12:28:40.269Z] [INFO]: TecDoc → getArticles | provider: 25791 | country: IN | url: https://webservice.tecalliance.services/pegasus-3-0/services/TecdocToCatDLB.jsonEndpoint
--------------------------------------------------

[2026-06-24T12:28:40.277Z] [INFO]: TecDoc → getArticles | provider: 25791 | country: IN | url: https://webservice.tecalliance.services/pegasus-3-0/services/TecdocToCatDLB.jsonEndpoint
--------------------------------------------------

[2026-06-24T12:28:40.283Z] [INFO]: TecDoc → getArticles | provider: 25791 | country: IN | url: https://webservice.tecalliance.services/pegasus-3-0/services/TecdocToCatDLB.jsonEndpoint
--------------------------------------------------

[2026-06-24T12:28:40.289Z] [INFO]: TecDoc → getArticles | provider: 25791 | country: IN | url: https://webservice.tecalliance.services/pegasus-3-0/services/TecdocToCatDLB.jsonEndpoint
--------------------------------------------------

[2026-06-24T12:28:40.296Z] [INFO]: TecDoc → getArticles | provider: 25791 | country: IN | url: https://webservice.tecalliance.services/pegasus-3-0/services/TecdocToCatDLB.jsonEndpoint
--------------------------------------------------

[2026-06-24T12:28:40.306Z] [INFO]: TecDoc → getArticles | provider: 25791 | country: IN | url: https://webservice.tecalliance.services/pegasus-3-0/services/TecdocToCatDLB.jsonEndpoint
--------------------------------------------------

[2026-06-24T12:28:40.312Z] [INFO]: TecDoc → getArticles | provider: 25791 | country: IN | url: https://webservice.tecalliance.services/pegasus-3-0/services/TecdocToCatDLB.jsonEndpoint
--------------------------------------------------

[2026-06-24T12:28:40.317Z] [INFO]: TecDoc → getArticles | provider: 25791 | country: IN | url: https://webservice.tecalliance.services/pegasus-3-0/services/TecdocToCatDLB.jsonEndpoint
--------------------------------------------------

[2026-06-24T12:28:40.323Z] [INFO]: TecDoc → getArticles | provider: 25791 | country: IN | url: https://webservice.tecalliance.services/pegasus-3-0/services/TecdocToCatDLB.jsonEndpoint
--------------------------------------------------

[2026-06-24T12:28:40.329Z] [INFO]: TecDoc → getArticles | provider: 25791 | country: IN | url: https://webservice.tecalliance.services/pegasus-3-0/services/TecdocToCatDLB.jsonEndpoint
--------------------------------------------------

[2026-06-24T12:28:40.339Z] [INFO]: TecDoc → getArticles | provider: 25791 | country: IN | url: https://webservice.tecalliance.services/pegasus-3-0/services/TecdocToCatDLB.jsonEndpoint
--------------------------------------------------

[2026-06-24T12:28:40.345Z] [INFO]: TecDoc → getArticles | provider: 25791 | country: IN | url: https://webservice.tecalliance.services/pegasus-3-0/services/TecdocToCatDLB.jsonEndpoint
--------------------------------------------------

[2026-06-24T12:28:40.351Z] [INFO]: TecDoc → getArticles | provider: 25791 | country: IN | url: https://webservice.tecalliance.services/pegasus-3-0/services/TecdocToCatDLB.jsonEndpoint
--------------------------------------------------

[2026-06-24T12:28:40.359Z] [INFO]: TecDoc → getArticles | provider: 25791 | country: IN | url: https://webservice.tecalliance.services/pegasus-3-0/services/TecdocToCatDLB.jsonEndpoint
--------------------------------------------------

[2026-06-24T12:28:40.365Z] [INFO]: TecDoc → getArticles | provider: 25791 | country: IN | url: https://webservice.tecalliance.services/pegasus-3-0/services/TecdocToCatDLB.jsonEndpoint
--------------------------------------------------

[2026-06-24T12:28:40.370Z] [INFO]: TecDoc → getArticles | provider: 25791 | country: IN | url: https://webservice.tecalliance.services/pegasus-3-0/services/TecdocToCatDLB.jsonEndpoint
--------------------------------------------------

[2026-06-24T12:28:40.376Z] [INFO]: TecDoc → getArticles | provider: 25791 | country: IN | url: https://webservice.tecalliance.services/pegasus-3-0/services/TecdocToCatDLB.jsonEndpoint
--------------------------------------------------

prisma:query SELECT `thecarg_db`.`cg_tbl_products`.`id`, `thecarg_db`.`cg_tbl_products`.`techdoc_article_id` FROM `thecarg_db`.`cg_tbl_products` WHERE (`thecarg_db`.`cg_tbl_products`.`techdoc_article_id` IN (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?) AND `thecarg_db`.`cg_tbl_products`.`status` = ? AND `thecarg_db`.`cg_tbl_products`.`id` IN (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?))
prisma:query SELECT `thecarg_db`.`cg_tbl_seller_products`.`id`, `thecarg_db`.`cg_tbl_seller_products`.`product_id`, `thecarg_db`.`cg_tbl_seller_products`.`customer_selling_price`, `thecarg_db`.`cg_tbl_seller_products`.`garage_selling_price`, `thecarg_db`.`cg_tbl_seller_products`.`mrp`, `thecarg_db`.`cg_tbl_seller_products`.`customer_discount_type`, `thecarg_db`.`cg_tbl_seller_products`.`customer_discount`, `thecarg_db`.`cg_tbl_seller_products`.`garage_discount_type`, `thecarg_db`.`cg_tbl_seller_products`.`garage_discount`, `thecarg_db`.`cg_tbl_seller_products`.`is_in_stock`, `thecarg_db`.`cg_tbl_seller_products`.`is_returnable`, `thecarg_db`.`cg_tbl_seller_products`.`return_days`, `thecarg_db`.`cg_tbl_seller_products`.`warranty_enabled`, `thecarg_db`.`cg_tbl_seller_products`.`warranty_duration`, `thecarg_db`.`cg_tbl_seller_products`.`warranty_duration_type`, `thecarg_db`.`cg_tbl_seller_products`.`warranty_document`, `thecarg_db`.`cg_tbl_seller_products`.`tax`, `thecarg_db`.`cg_tbl_seller_products`.`seller_id` FROM `thecarg_db`.`cg_tbl_seller_products` LEFT JOIN `thecarg_db`.`cg_tbl_sellers` AS `j1` ON (`j1`.`id`) = (`thecarg_db`.`cg_tbl_seller_products`.`seller_id`) WHERE (`thecarg_db`.`cg_tbl_seller_products`.`product_id` IN (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?) AND `thecarg_db`.`cg_tbl_seller_products`.`status` = ? AND (`j1`.`status` = ? AND (`j1`.`id` IS NOT NULL))) ORDER BY `thecarg_db`.`cg_tbl_seller_products`.`customer_selling_price` ASC
prisma:query SELECT `thecarg_db`.`cg_tbl_sellers`.`id`, `thecarg_db`.`cg_tbl_sellers`.`seller_id`, `thecarg_db`.`cg_tbl_sellers`.`first_name`, `thecarg_db`.`cg_tbl_sellers`.`last_name`, `thecarg_db`.`cg_tbl_sellers`.`trade_name`, `thecarg_db`.`cg_tbl_sellers`.`city`, `thecarg_db`.`cg_tbl_sellers`.`state`, `thecarg_db`.`cg_tbl_sellers`.`email`, `thecarg_db`.`cg_tbl_sellers`.`mobile`, `thecarg_db`.`cg_tbl_sellers`.`address`, `thecarg_db`.`cg_tbl_sellers`.`pincode`, `thecarg_db`.`cg_tbl_sellers`.`status`, `thecarg_db`.`cg_tbl_sellers`.`operating_hours`, `thecarg_db`.`cg_tbl_sellers`.`zone`, `thecarg_db`.`cg_tbl_sellers`.`latitude`, `thecarg_db`.`cg_tbl_sellers`.`longitude` FROM `thecarg_db`.`cg_tbl_sellers` WHERE `thecarg_db`.`cg_tbl_sellers`.`id` IN (?)
prisma:query SELECT `thecarg_db`.`cg_tbl_zones`.`id`, `thecarg_db`.`cg_tbl_zones`.`zone_name` FROM `thecarg_db`.`cg_tbl_zones` WHERE 1=1
prisma:query SELECT 1
prisma:query SELECT `thecarg_db`.`cg_tbl_zones`.`id` FROM `thecarg_db`.`cg_tbl_zones` WHERE (`thecarg_db`.`cg_tbl_zones`.`id` IN (?,?) AND `thecarg_db`.`cg_tbl_zones`.`status` = ?)
prisma:query SELECT `thecarg_db`.`cg_tbl_products`.`id`, `thecarg_db`.`cg_tbl_products`.`techdoc_article_id`, `thecarg_db`.`cg_tbl_products`.`techdoc_brand_id`, `thecarg_db`.`cg_tbl_products`.`article_number`, `thecarg_db`.`cg_tbl_products`.`brand_name`, `thecarg_db`.`cg_tbl_products`.`status`, `thecarg_db`.`cg_tbl_products`.`created_at`, `thecarg_db`.`cg_tbl_products`.`updated_at`, `thecarg_db`.`cg_tbl_products`.`assembly_group_node_id`, `thecarg_db`.`cg_tbl_products`.`generic_article_id` FROM `thecarg_db`.`cg_tbl_products` WHERE (`thecarg_db`.`cg_tbl_products`.`id` = ? AND `thecarg_db`.`cg_tbl_products`.`status` = ?) LIMIT ? OFFSET ?
[2026-06-24T12:29:07.657Z] [INFO]: TecDoc → getArticles | provider: 25791 | country: IN | url: https://webservice.tecalliance.services/pegasus-3-0/services/TecdocToCatDLB.jsonEndpoint
--------------------------------------------------

[2026-06-24T12:29:08.133Z] [INFO]: TecDoc → getArticles | provider: 25791 | country: IN | url: https://webservice.tecalliance.services/pegasus-3-0/services/TecdocToCatDLB.jsonEndpoint
--------------------------------------------------

[2026-06-24T12:29:08.298Z] [INFO]: TecDoc → getArticleLinkedAllLinkingTarget4 | provider: 25791 | country: IN | url: https://webservice.tecalliance.services/pegasus-3-0/services/TecdocToCatDLB.jsonEndpoint
--------------------------------------------------

[2026-06-24T12:29:08.489Z] [INFO]: TecDoc → getArticleLinkedAllLinkingTargetsByIds3 | provider: 25791 | country: IN | url: https://webservice.tecalliance.services/pegasus-3-0/services/TecdocToCatDLB.jsonEndpoint
--------------------------------------------------

prisma:query SELECT `thecarg_db`.`cg_tbl_seller_products`.`id`, `thecarg_db`.`cg_tbl_seller_products`.`customer_selling_price`, `thecarg_db`.`cg_tbl_seller_products`.`garage_selling_price`, `thecarg_db`.`cg_tbl_seller_products`.`mrp`, `thecarg_db`.`cg_tbl_seller_products`.`customer_discount_type`, `thecarg_db`.`cg_tbl_seller_products`.`customer_discount`, `thecarg_db`.`cg_tbl_seller_products`.`garage_discount_type`, `thecarg_db`.`cg_tbl_seller_products`.`garage_discount`, `thecarg_db`.`cg_tbl_seller_products`.`is_in_stock`, `thecarg_db`.`cg_tbl_seller_products`.`is_returnable`, `thecarg_db`.`cg_tbl_seller_products`.`return_days`, `thecarg_db`.`cg_tbl_seller_products`.`warranty_enabled`, `thecarg_db`.`cg_tbl_seller_products`.`warranty_duration`, `thecarg_db`.`cg_tbl_seller_products`.`warranty_duration_type`, `thecarg_db`.`cg_tbl_seller_products`.`warranty_document`, `thecarg_db`.`cg_tbl_seller_products`.`tax`, `thecarg_db`.`cg_tbl_seller_products`.`seller_id` FROM `thecarg_db`.`cg_tbl_seller_products` LEFT JOIN `thecarg_db`.`cg_tbl_sellers` AS `j1` ON (`j1`.`id`) = (`thecarg_db`.`cg_tbl_seller_products`.`seller_id`) WHERE (`thecarg_db`.`cg_tbl_seller_products`.`product_id` = ? AND `thecarg_db`.`cg_tbl_seller_products`.`status` = ? AND (`j1`.`status` = ? AND (`j1`.`id` IS NOT NULL))) ORDER BY `thecarg_db`.`cg_tbl_seller_products`.`garage_selling_price` ASC
prisma:query SELECT `thecarg_db`.`cg_tbl_sellers`.`id`, `thecarg_db`.`cg_tbl_sellers`.`seller_id`, `thecarg_db`.`cg_tbl_sellers`.`first_name`, `thecarg_db`.`cg_tbl_sellers`.`last_name`, `thecarg_db`.`cg_tbl_sellers`.`trade_name`, `thecarg_db`.`cg_tbl_sellers`.`city`, `thecarg_db`.`cg_tbl_sellers`.`state`, `thecarg_db`.`cg_tbl_sellers`.`email`, `thecarg_db`.`cg_tbl_sellers`.`mobile`, `thecarg_db`.`cg_tbl_sellers`.`address`, `thecarg_db`.`cg_tbl_sellers`.`pincode`, `thecarg_db`.`cg_tbl_sellers`.`status`, `thecarg_db`.`cg_tbl_sellers`.`operating_hours`, `thecarg_db`.`cg_tbl_sellers`.`zone`, `thecarg_db`.`cg_tbl_sellers`.`latitude`, `thecarg_db`.`cg_tbl_sellers`.`longitude` FROM `thecarg_db`.`cg_tbl_sellers` WHERE `thecarg_db`.`cg_tbl_sellers`.`id` IN (?)
prisma:query SELECT `thecarg_db`.`cg_tbl_zones`.`id`, `thecarg_db`.`cg_tbl_zones`.`zone_name` FROM `thecarg_db`.`cg_tbl_zones` WHERE 1=1
prisma:query SELECT `thecarg_db`.`cg_tbl_zones`.`id` FROM `thecarg_db`.`cg_tbl_zones` WHERE (`thecarg_db`.`cg_tbl_zones`.`id` IN (?,?) AND `thecarg_db`.`cg_tbl_zones`.`status` = ?)
prisma:query SELECT `thecarg_db`.`cg_tbl_products`.`id`, `thecarg_db`.`cg_tbl_products`.`techdoc_article_id`, `thecarg_db`.`cg_tbl_products`.`techdoc_brand_id`, `thecarg_db`.`cg_tbl_products`.`article_number`, `thecarg_db`.`cg_tbl_products`.`brand_name`, `thecarg_db`.`cg_tbl_products`.`status`, `thecarg_db`.`cg_tbl_products`.`created_at`, `thecarg_db`.`cg_tbl_products`.`updated_at`, `thecarg_db`.`cg_tbl_products`.`assembly_group_node_id`, `thecarg_db`.`cg_tbl_products`.`generic_article_id` FROM `thecarg_db`.`cg_tbl_products` WHERE (`thecarg_db`.`cg_tbl_products`.`id` = ? AND `thecarg_db`.`cg_tbl_products`.`status` = ?) LIMIT ? OFFSET ?
[2026-06-24T12:29:13.882Z] [INFO]: TecDoc → getArticles | provider: 25791 | country: IN | url: https://webservice.tecalliance.services/pegasus-3-0/services/TecdocToCatDLB.jsonEndpoint
--------------------------------------------------

[2026-06-24T12:29:14.445Z] [INFO]: TecDoc → getArticles | provider: 25791 | country: IN | url: https://webservice.tecalliance.services/pegasus-3-0/services/TecdocToCatDLB.jsonEndpoint
--------------------------------------------------

[2026-06-24T12:29:14.608Z] [INFO]: TecDoc → getArticleLinkedAllLinkingTarget4 | provider: 25791 | country: IN | url: https://webservice.tecalliance.services/pegasus-3-0/services/TecdocToCatDLB.jsonEndpoint
--------------------------------------------------

[2026-06-24T12:29:14.770Z] [INFO]: TecDoc → getArticleLinkedAllLinkingTargetsByIds3 | provider: 25791 | country: IN | url: https://webservice.tecalliance.services/pegasus-3-0/services/TecdocToCatDLB.jsonEndpoint
--------------------------------------------------

prisma:query SELECT `thecarg_db`.`cg_tbl_seller_products`.`id`, `thecarg_db`.`cg_tbl_seller_products`.`customer_selling_price`, `thecarg_db`.`cg_tbl_seller_products`.`garage_selling_price`, `thecarg_db`.`cg_tbl_seller_products`.`mrp`, `thecarg_db`.`cg_tbl_seller_products`.`customer_discount_type`, `thecarg_db`.`cg_tbl_seller_products`.`customer_discount`, `thecarg_db`.`cg_tbl_seller_products`.`garage_discount_type`, `thecarg_db`.`cg_tbl_seller_products`.`garage_discount`, `thecarg_db`.`cg_tbl_seller_products`.`is_in_stock`, `thecarg_db`.`cg_tbl_seller_products`.`is_returnable`, `thecarg_db`.`cg_tbl_seller_products`.`return_days`, `thecarg_db`.`cg_tbl_seller_products`.`warranty_enabled`, `thecarg_db`.`cg_tbl_seller_products`.`warranty_duration`, `thecarg_db`.`cg_tbl_seller_products`.`warranty_duration_type`, `thecarg_db`.`cg_tbl_seller_products`.`warranty_document`, `thecarg_db`.`cg_tbl_seller_products`.`tax`, `thecarg_db`.`cg_tbl_seller_products`.`seller_id` FROM `thecarg_db`.`cg_tbl_seller_products` LEFT JOIN `thecarg_db`.`cg_tbl_sellers` AS `j1` ON (`j1`.`id`) = (`thecarg_db`.`cg_tbl_seller_products`.`seller_id`) WHERE (`thecarg_db`.`cg_tbl_seller_products`.`product_id` = ? AND `thecarg_db`.`cg_tbl_seller_products`.`status` = ? AND (`j1`.`status` = ? AND (`j1`.`id` IS NOT NULL))) ORDER BY `thecarg_db`.`cg_tbl_seller_products`.`garage_selling_price` ASC
prisma:query SELECT `thecarg_db`.`cg_tbl_sellers`.`id`, `thecarg_db`.`cg_tbl_sellers`.`seller_id`, `thecarg_db`.`cg_tbl_sellers`.`first_name`, `thecarg_db`.`cg_tbl_sellers`.`last_name`, `thecarg_db`.`cg_tbl_sellers`.`trade_name`, `thecarg_db`.`cg_tbl_sellers`.`city`, `thecarg_db`.`cg_tbl_sellers`.`state`, `thecarg_db`.`cg_tbl_sellers`.`email`, `thecarg_db`.`cg_tbl_sellers`.`mobile`, `thecarg_db`.`cg_tbl_sellers`.`address`, `thecarg_db`.`cg_tbl_sellers`.`pincode`, `thecarg_db`.`cg_tbl_sellers`.`status`, `thecarg_db`.`cg_tbl_sellers`.`operating_hours`, `thecarg_db`.`cg_tbl_sellers`.`zone`, `thecarg_db`.`cg_tbl_sellers`.`latitude`, `thecarg_db`.`cg_tbl_sellers`.`longitude` FROM `thecarg_db`.`cg_tbl_sellers` WHERE `thecarg_db`.`cg_tbl_sellers`.`id` IN (?)
prisma:query SELECT `thecarg_db`.`cg_tbl_zones`.`id`, `thecarg_db`.`cg_tbl_zones`.`zone_name` FROM `thecarg_db`.`cg_tbl_zones` WHERE 1=1
prisma:query SELECT 1
prisma:query SELECT `thecarg_db`.`cg_tbl_zones`.`id` FROM `thecarg_db`.`cg_tbl_zones` WHERE (`thecarg_db`.`cg_tbl_zones`.`id` IN (?,?) AND `thecarg_db`.`cg_tbl_zones`.`status` = ?)
prisma:query SELECT `thecarg_db`.`cg_tbl_products`.`id`, `thecarg_db`.`cg_tbl_products`.`techdoc_article_id`, `thecarg_db`.`cg_tbl_products`.`techdoc_brand_id`, `thecarg_db`.`cg_tbl_products`.`article_number`, `thecarg_db`.`cg_tbl_products`.`brand_name`, `thecarg_db`.`cg_tbl_products`.`status`, `thecarg_db`.`cg_tbl_products`.`created_at`, `thecarg_db`.`cg_tbl_products`.`updated_at`, `thecarg_db`.`cg_tbl_products`.`assembly_group_node_id`, `thecarg_db`.`cg_tbl_products`.`generic_article_id` FROM `thecarg_db`.`cg_tbl_products` WHERE (`thecarg_db`.`cg_tbl_products`.`id` = ? AND `thecarg_db`.`cg_tbl_products`.`status` = ?) LIMIT ? OFFSET ?
[2026-06-24T12:29:35.293Z] [INFO]: TecDoc → getArticles | provider: 25791 | country: IN | url: https://webservice.tecalliance.services/pegasus-3-0/services/TecdocToCatDLB.jsonEndpoint
--------------------------------------------------

[2026-06-24T12:29:35.785Z] [INFO]: TecDoc → getArticles | provider: 25791 | country: IN | url: https://webservice.tecalliance.services/pegasus-3-0/services/TecdocToCatDLB.jsonEndpoint
--------------------------------------------------

[2026-06-24T12:29:36.081Z] [INFO]: TecDoc → getArticleLinkedAllLinkingTarget4 | provider: 25791 | country: IN | url: https://webservice.tecalliance.services/pegasus-3-0/services/TecdocToCatDLB.jsonEndpoint
--------------------------------------------------

prisma:query SELECT `thecarg_db`.`cg_tbl_seller_products`.`id`, `thecarg_db`.`cg_tbl_seller_products`.`customer_selling_price`, `thecarg_db`.`cg_tbl_seller_products`.`garage_selling_price`, `thecarg_db`.`cg_tbl_seller_products`.`mrp`, `thecarg_db`.`cg_tbl_seller_products`.`customer_discount_type`, `thecarg_db`.`cg_tbl_seller_products`.`customer_discount`, `thecarg_db`.`cg_tbl_seller_products`.`garage_discount_type`, `thecarg_db`.`cg_tbl_seller_products`.`garage_discount`, `thecarg_db`.`cg_tbl_seller_products`.`is_in_stock`, `thecarg_db`.`cg_tbl_seller_products`.`is_returnable`, `thecarg_db`.`cg_tbl_seller_products`.`return_days`, `thecarg_db`.`cg_tbl_seller_products`.`warranty_enabled`, `thecarg_db`.`cg_tbl_seller_products`.`warranty_duration`, `thecarg_db`.`cg_tbl_seller_products`.`warranty_duration_type`, `thecarg_db`.`cg_tbl_seller_products`.`warranty_document`, `thecarg_db`.`cg_tbl_seller_products`.`tax`, `thecarg_db`.`cg_tbl_seller_products`.`seller_id` FROM `thecarg_db`.`cg_tbl_seller_products` LEFT JOIN `thecarg_db`.`cg_tbl_sellers` AS `j1` ON (`j1`.`id`) = (`thecarg_db`.`cg_tbl_seller_products`.`seller_id`) WHERE (`thecarg_db`.`cg_tbl_seller_products`.`product_id` = ? AND `thecarg_db`.`cg_tbl_seller_products`.`status` = ? AND (`j1`.`status` = ? AND (`j1`.`id` IS NOT NULL))) ORDER BY `thecarg_db`.`cg_tbl_seller_products`.`garage_selling_price` ASC
prisma:query SELECT `thecarg_db`.`cg_tbl_sellers`.`id`, `thecarg_db`.`cg_tbl_sellers`.`seller_id`, `thecarg_db`.`cg_tbl_sellers`.`first_name`, `thecarg_db`.`cg_tbl_sellers`.`last_name`, `thecarg_db`.`cg_tbl_sellers`.`trade_name`, `thecarg_db`.`cg_tbl_sellers`.`city`, `thecarg_db`.`cg_tbl_sellers`.`state`, `thecarg_db`.`cg_tbl_sellers`.`email`, `thecarg_db`.`cg_tbl_sellers`.`mobile`, `thecarg_db`.`cg_tbl_sellers`.`address`, `thecarg_db`.`cg_tbl_sellers`.`pincode`, `thecarg_db`.`cg_tbl_sellers`.`status`, `thecarg_db`.`cg_tbl_sellers`.`operating_hours`, `thecarg_db`.`cg_tbl_sellers`.`zone`, `thecarg_db`.`cg_tbl_sellers`.`latitude`, `thecarg_db`.`cg_tbl_sellers`.`longitude` FROM `thecarg_db`.`cg_tbl_sellers` WHERE `thecarg_db`.`cg_tbl_sellers`.`id` IN (?)
prisma:query SELECT `thecarg_db`.`cg_tbl_zones`.`id`, `thecarg_db`.`cg_tbl_zones`.`zone_name` FROM `thecarg_db`.`cg_tbl_zones` WHERE 1=1
prisma:query SELECT `thecarg_db`.`cg_tbl_zones`.`id` FROM `thecarg_db`.`cg_tbl_zones` WHERE (`thecarg_db`.`cg_tbl_zones`.`id` IN (?,?) AND `thecarg_db`.`cg_tbl_zones`.`status` = ?)
prisma:query SELECT `thecarg_db`.`cg_tbl_products`.`id`, `thecarg_db`.`cg_tbl_products`.`techdoc_article_id`, `thecarg_db`.`cg_tbl_products`.`techdoc_brand_id`, `thecarg_db`.`cg_tbl_products`.`article_number`, `thecarg_db`.`cg_tbl_products`.`brand_name`, `thecarg_db`.`cg_tbl_products`.`status`, `thecarg_db`.`cg_tbl_products`.`created_at`, `thecarg_db`.`cg_tbl_products`.`updated_at`, `thecarg_db`.`cg_tbl_products`.`assembly_group_node_id`, `thecarg_db`.`cg_tbl_products`.`generic_article_id` FROM `thecarg_db`.`cg_tbl_products` WHERE (`thecarg_db`.`cg_tbl_products`.`id` = ? AND `thecarg_db`.`cg_tbl_products`.`status` = ?) LIMIT ? OFFSET ?
[2026-06-24T12:29:48.096Z] [INFO]: TecDoc → getArticles | provider: 25791 | country: IN | url: https://webservice.tecalliance.services/pegasus-3-0/services/TecdocToCatDLB.jsonEndpoint
--------------------------------------------------

[2026-06-24T12:29:48.571Z] [INFO]: TecDoc → getArticles | provider: 25791 | country: IN | url: https://webservice.tecalliance.services/pegasus-3-0/services/TecdocToCatDLB.jsonEndpoint
--------------------------------------------------

[2026-06-24T12:29:48.741Z] [INFO]: TecDoc → getArticleLinkedAllLinkingTarget4 | provider: 25791 | country: IN | url: https://webservice.tecalliance.services/pegasus-3-0/services/TecdocToCatDLB.jsonEndpoint
--------------------------------------------------

[2026-06-24T12:29:48.910Z] [INFO]: TecDoc → getArticleLinkedAllLinkingTargetsByIds3 | provider: 25791 | country: IN | url: https://webservice.tecalliance.services/pegasus-3-0/services/TecdocToCatDLB.jsonEndpoint
--------------------------------------------------

prisma:query SELECT `thecarg_db`.`cg_tbl_seller_products`.`id`, `thecarg_db`.`cg_tbl_seller_products`.`customer_selling_price`, `thecarg_db`.`cg_tbl_seller_products`.`garage_selling_price`, `thecarg_db`.`cg_tbl_seller_products`.`mrp`, `thecarg_db`.`cg_tbl_seller_products`.`customer_discount_type`, `thecarg_db`.`cg_tbl_seller_products`.`customer_discount`, `thecarg_db`.`cg_tbl_seller_products`.`garage_discount_type`, `thecarg_db`.`cg_tbl_seller_products`.`garage_discount`, `thecarg_db`.`cg_tbl_seller_products`.`is_in_stock`, `thecarg_db`.`cg_tbl_seller_products`.`is_returnable`, `thecarg_db`.`cg_tbl_seller_products`.`return_days`, `thecarg_db`.`cg_tbl_seller_products`.`warranty_enabled`, `thecarg_db`.`cg_tbl_seller_products`.`warranty_duration`, `thecarg_db`.`cg_tbl_seller_products`.`warranty_duration_type`, `thecarg_db`.`cg_tbl_seller_products`.`warranty_document`, `thecarg_db`.`cg_tbl_seller_products`.`tax`, `thecarg_db`.`cg_tbl_seller_products`.`seller_id` FROM `thecarg_db`.`cg_tbl_seller_products` LEFT JOIN `thecarg_db`.`cg_tbl_sellers` AS `j1` ON (`j1`.`id`) = (`thecarg_db`.`cg_tbl_seller_products`.`seller_id`) WHERE (`thecarg_db`.`cg_tbl_seller_products`.`product_id` = ? AND `thecarg_db`.`cg_tbl_seller_products`.`status` = ? AND (`j1`.`status` = ? AND (`j1`.`id` IS NOT NULL))) ORDER BY `thecarg_db`.`cg_tbl_seller_products`.`customer_selling_price` ASC
prisma:query SELECT `thecarg_db`.`cg_tbl_sellers`.`id`, `thecarg_db`.`cg_tbl_sellers`.`seller_id`, `thecarg_db`.`cg_tbl_sellers`.`first_name`, `thecarg_db`.`cg_tbl_sellers`.`last_name`, `thecarg_db`.`cg_tbl_sellers`.`trade_name`, `thecarg_db`.`cg_tbl_sellers`.`city`, `thecarg_db`.`cg_tbl_sellers`.`state`, `thecarg_db`.`cg_tbl_sellers`.`email`, `thecarg_db`.`cg_tbl_sellers`.`mobile`, `thecarg_db`.`cg_tbl_sellers`.`address`, `thecarg_db`.`cg_tbl_sellers`.`pincode`, `thecarg_db`.`cg_tbl_sellers`.`status`, `thecarg_db`.`cg_tbl_sellers`.`operating_hours`, `thecarg_db`.`cg_tbl_sellers`.`zone`, `thecarg_db`.`cg_tbl_sellers`.`latitude`, `thecarg_db`.`cg_tbl_sellers`.`longitude` FROM `thecarg_db`.`cg_tbl_sellers` WHERE `thecarg_db`.`cg_tbl_sellers`.`id` IN (?)
prisma:query SELECT `thecarg_db`.`cg_tbl_zones`.`id`, `thecarg_db`.`cg_tbl_zones`.`zone_name` FROM `thecarg_db`.`cg_tbl_zones` WHERE 1=1
prisma:query SELECT `thecarg_db`.`cg_tbl_zones`.`id` FROM `thecarg_db`.`cg_tbl_zones` WHERE (`thecarg_db`.`cg_tbl_zones`.`id` IN (?) AND `thecarg_db`.`cg_tbl_zones`.`status` = ?)
prisma:query SELECT `thecarg_db`.`cg_tbl_products`.`id`, `thecarg_db`.`cg_tbl_products`.`techdoc_article_id`, `thecarg_db`.`cg_tbl_products`.`techdoc_brand_id`, `thecarg_db`.`cg_tbl_products`.`article_number`, `thecarg_db`.`cg_tbl_products`.`brand_name`, `thecarg_db`.`cg_tbl_products`.`status`, `thecarg_db`.`cg_tbl_products`.`created_at`, `thecarg_db`.`cg_tbl_products`.`updated_at`, `thecarg_db`.`cg_tbl_products`.`assembly_group_node_id`, `thecarg_db`.`cg_tbl_products`.`generic_article_id` FROM `thecarg_db`.`cg_tbl_products` WHERE (`thecarg_db`.`cg_tbl_products`.`id` = ? AND `thecarg_db`.`cg_tbl_products`.`status` = ?) LIMIT ? OFFSET ?
[2026-06-24T12:30:16.940Z] [INFO]: TecDoc → getArticles | provider: 25791 | country: IN | url: https://webservice.tecalliance.services/pegasus-3-0/services/TecdocToCatDLB.jsonEndpoint
--------------------------------------------------

[2026-06-24T12:30:17.411Z] [INFO]: TecDoc → getArticles | provider: 25791 | country: IN | url: https://webservice.tecalliance.services/pegasus-3-0/services/TecdocToCatDLB.jsonEndpoint
--------------------------------------------------

[2026-06-24T12:30:17.576Z] [INFO]: TecDoc → getArticleLinkedAllLinkingTarget4 | provider: 25791 | country: IN | url: https://webservice.tecalliance.services/pegasus-3-0/services/TecdocToCatDLB.jsonEndpoint
--------------------------------------------------

[2026-06-24T12:30:17.739Z] [INFO]: TecDoc → getArticleLinkedAllLinkingTargetsByIds3 | provider: 25791 | country: IN | url: https://webservice.tecalliance.services/pegasus-3-0/services/TecdocToCatDLB.jsonEndpoint
--------------------------------------------------

prisma:query SELECT `thecarg_db`.`cg_tbl_seller_products`.`id`, `thecarg_db`.`cg_tbl_seller_products`.`customer_selling_price`, `thecarg_db`.`cg_tbl_seller_products`.`garage_selling_price`, `thecarg_db`.`cg_tbl_seller_products`.`mrp`, `thecarg_db`.`cg_tbl_seller_products`.`customer_discount_type`, `thecarg_db`.`cg_tbl_seller_products`.`customer_discount`, `thecarg_db`.`cg_tbl_seller_products`.`garage_discount_type`, `thecarg_db`.`cg_tbl_seller_products`.`garage_discount`, `thecarg_db`.`cg_tbl_seller_products`.`is_in_stock`, `thecarg_db`.`cg_tbl_seller_products`.`is_returnable`, `thecarg_db`.`cg_tbl_seller_products`.`return_days`, `thecarg_db`.`cg_tbl_seller_products`.`warranty_enabled`, `thecarg_db`.`cg_tbl_seller_products`.`warranty_duration`, `thecarg_db`.`cg_tbl_seller_products`.`warranty_duration_type`, `thecarg_db`.`cg_tbl_seller_products`.`warranty_document`, `thecarg_db`.`cg_tbl_seller_products`.`tax`, `thecarg_db`.`cg_tbl_seller_products`.`seller_id` FROM `thecarg_db`.`cg_tbl_seller_products` LEFT JOIN `thecarg_db`.`cg_tbl_sellers` AS `j1` ON (`j1`.`id`) = (`thecarg_db`.`cg_tbl_seller_products`.`seller_id`) WHERE (`thecarg_db`.`cg_tbl_seller_products`.`product_id` = ? AND `thecarg_db`.`cg_tbl_seller_products`.`status` = ? AND (`j1`.`status` = ? AND (`j1`.`id` IS NOT NULL))) ORDER BY `thecarg_db`.`cg_tbl_seller_products`.`customer_selling_price` ASC
prisma:query SELECT `thecarg_db`.`cg_tbl_sellers`.`id`, `thecarg_db`.`cg_tbl_sellers`.`seller_id`, `thecarg_db`.`cg_tbl_sellers`.`first_name`, `thecarg_db`.`cg_tbl_sellers`.`last_name`, `thecarg_db`.`cg_tbl_sellers`.`trade_name`, `thecarg_db`.`cg_tbl_sellers`.`city`, `thecarg_db`.`cg_tbl_sellers`.`state`, `thecarg_db`.`cg_tbl_sellers`.`email`, `thecarg_db`.`cg_tbl_sellers`.`mobile`, `thecarg_db`.`cg_tbl_sellers`.`address`, `thecarg_db`.`cg_tbl_sellers`.`pincode`, `thecarg_db`.`cg_tbl_sellers`.`status`, `thecarg_db`.`cg_tbl_sellers`.`operating_hours`, `thecarg_db`.`cg_tbl_sellers`.`zone`, `thecarg_db`.`cg_tbl_sellers`.`latitude`, `thecarg_db`.`cg_tbl_sellers`.`longitude` FROM `thecarg_db`.`cg_tbl_sellers` WHERE `thecarg_db`.`cg_tbl_sellers`.`id` IN (?)
prisma:query SELECT `thecarg_db`.`cg_tbl_zones`.`id`, `thecarg_db`.`cg_tbl_zones`.`zone_name` FROM `thecarg_db`.`cg_tbl_zones` WHERE 1=1
[32m[nodemon] restarting due to changes...[39m
[32m[nodemon] starting `ts-node-esm src/server.js`[39m
[32m[nodemon] restarting due to changes...[39m
[32m[nodemon] starting `ts-node-esm src/server.js`[39m
prisma:info Starting a mysql pool with 9 connections.
[2026-06-24T12:30:30.065Z] [INFO]: Successfully connected to the MySQL Database via Prisma!
--------------------------------------------------

prisma:query SELECT `thecarg_db`.`cg_tbl_business_settings`.`id`, `thecarg_db`.`cg_tbl_business_settings`.`key`, `thecarg_db`.`cg_tbl_business_settings`.`value`, `thecarg_db`.`cg_tbl_business_settings`.`created_at`, `thecarg_db`.`cg_tbl_business_settings`.`updated_at` FROM `thecarg_db`.`cg_tbl_business_settings` WHERE `thecarg_db`.`cg_tbl_business_settings`.`key` = ? LIMIT ? OFFSET ?
prisma:query SELECT `thecarg_db`.`cg_tbl_business_settings`.`id`, `thecarg_db`.`cg_tbl_business_settings`.`key`, `thecarg_db`.`cg_tbl_business_settings`.`value`, `thecarg_db`.`cg_tbl_business_settings`.`created_at`, `thecarg_db`.`cg_tbl_business_settings`.`updated_at` FROM `thecarg_db`.`cg_tbl_business_settings` WHERE `thecarg_db`.`cg_tbl_business_settings`.`key` = ? LIMIT ? OFFSET ?
Firebase initialized successfully
[2026-06-24T12:30:30.094Z] [INFO]: Server is running in development mode on port 5000
--------------------------------------------------

[2026-06-24T12:30:30.096Z] [INFO]: Endpoint: http://localhost:5000
--------------------------------------------------

[32m[nodemon] clean exit - waiting for changes before restart[39m
[32m[nodemon] restarting due to changes...[39m
[32m[nodemon] starting `ts-node-esm src/server.js`[39m
prisma:info Starting a mysql pool with 9 connections.
[2026-06-24T12:30:48.127Z] [INFO]: Successfully connected to the MySQL Database via Prisma!
--------------------------------------------------

prisma:query SELECT `thecarg_db`.`cg_tbl_business_settings`.`id`, `thecarg_db`.`cg_tbl_business_settings`.`key`, `thecarg_db`.`cg_tbl_business_settings`.`value`, `thecarg_db`.`cg_tbl_business_settings`.`created_at`, `thecarg_db`.`cg_tbl_business_settings`.`updated_at` FROM `thecarg_db`.`cg_tbl_business_settings` WHERE `thecarg_db`.`cg_tbl_business_settings`.`key` = ? LIMIT ? OFFSET ?
prisma:query SELECT `thecarg_db`.`cg_tbl_business_settings`.`id`, `thecarg_db`.`cg_tbl_business_settings`.`key`, `thecarg_db`.`cg_tbl_business_settings`.`value`, `thecarg_db`.`cg_tbl_business_settings`.`created_at`, `thecarg_db`.`cg_tbl_business_settings`.`updated_at` FROM `thecarg_db`.`cg_tbl_business_settings` WHERE `thecarg_db`.`cg_tbl_business_settings`.`key` = ? LIMIT ? OFFSET ?
Firebase initialized successfully
[2026-06-24T12:30:48.164Z] [INFO]: Server is running in development mode on port 5000
--------------------------------------------------

[2026-06-24T12:30:48.165Z] [INFO]: Endpoint: http://localhost:5000
--------------------------------------------------

prisma:query SELECT 1
prisma:query SELECT `thecarg_db`.`cg_tbl_business_settings`.`id`, `thecarg_db`.`cg_tbl_business_settings`.`key`, `thecarg_db`.`cg_tbl_business_settings`.`value`, `thecarg_db`.`cg_tbl_business_settings`.`created_at`, `thecarg_db`.`cg_tbl_business_settings`.`updated_at` FROM `thecarg_db`.`cg_tbl_business_settings` WHERE `thecarg_db`.`cg_tbl_business_settings`.`key` IN (?,?,?,?)
prisma:query SELECT `thecarg_db`.`cg_tbl_customers`.`id`, `thecarg_db`.`cg_tbl_customers`.`full_name`, `thecarg_db`.`cg_tbl_customers`.`mobile`, `thecarg_db`.`cg_tbl_customers`.`email`, `thecarg_db`.`cg_tbl_customers`.`profile_photo_file`, `thecarg_db`.`cg_tbl_customers`.`status`, `thecarg_db`.`cg_tbl_customers`.`created_at`, `thecarg_db`.`cg_tbl_customers`.`updated_at`, `thecarg_db`.`cg_tbl_customers`.`date_of_birth`, `thecarg_db`.`cg_tbl_customers`.`fcm_token`, `thecarg_db`.`cg_tbl_customers`.`marriage_date`, `thecarg_db`.`cg_tbl_customers`.`ref_code`, `thecarg_db`.`cg_tbl_customers`.`referred_by` FROM `thecarg_db`.`cg_tbl_customers` WHERE (`thecarg_db`.`cg_tbl_customers`.`id` = ? AND 1=1) LIMIT ? OFFSET ?
prisma:query SELECT `thecarg_db`.`cg_tbl_user_roles`.`id`, `thecarg_db`.`cg_tbl_user_roles`.`role_name`, `thecarg_db`.`cg_tbl_user_roles`.`role_slug`, `thecarg_db`.`cg_tbl_user_roles`.`status`, `thecarg_db`.`cg_tbl_user_roles`.`created_at`, `thecarg_db`.`cg_tbl_user_roles`.`updated_at` FROM `thecarg_db`.`cg_tbl_user_roles` WHERE `thecarg_db`.`cg_tbl_user_roles`.`role_slug` = ? LIMIT ? OFFSET ?
prisma:query SELECT `thecarg_db`.`cg_tbl_gig_reasons`.`id`, `thecarg_db`.`cg_tbl_gig_reasons`.`reason` FROM `thecarg_db`.`cg_tbl_gig_reasons` WHERE `thecarg_db`.`cg_tbl_gig_reasons`.`status` = ? ORDER BY `thecarg_db`.`cg_tbl_gig_reasons`.`id` ASC
prisma:query SELECT `thecarg_db`.`cg_tbl_customers`.`id`, `thecarg_db`.`cg_tbl_customers`.`full_name`, `thecarg_db`.`cg_tbl_customers`.`mobile`, `thecarg_db`.`cg_tbl_customers`.`email`, `thecarg_db`.`cg_tbl_customers`.`profile_photo_file`, `thecarg_db`.`cg_tbl_customers`.`status`, `thecarg_db`.`cg_tbl_customers`.`created_at`, `thecarg_db`.`cg_tbl_customers`.`updated_at`, `thecarg_db`.`cg_tbl_customers`.`date_of_birth`, `thecarg_db`.`cg_tbl_customers`.`fcm_token`, `thecarg_db`.`cg_tbl_customers`.`marriage_date`, `thecarg_db`.`cg_tbl_customers`.`ref_code`, `thecarg_db`.`cg_tbl_customers`.`referred_by` FROM `thecarg_db`.`cg_tbl_customers` WHERE (`thecarg_db`.`cg_tbl_customers`.`id` = ? AND 1=1) LIMIT ? OFFSET ?
prisma:query SELECT `thecarg_db`.`cg_tbl_customers`.`id`, `thecarg_db`.`cg_tbl_customers`.`full_name`, `thecarg_db`.`cg_tbl_customers`.`mobile`, `thecarg_db`.`cg_tbl_customers`.`email`, `thecarg_db`.`cg_tbl_customers`.`profile_photo_file`, `thecarg_db`.`cg_tbl_customers`.`status`, `thecarg_db`.`cg_tbl_customers`.`created_at`, `thecarg_db`.`cg_tbl_customers`.`updated_at`, `thecarg_db`.`cg_tbl_customers`.`date_of_birth`, `thecarg_db`.`cg_tbl_customers`.`fcm_token`, `thecarg_db`.`cg_tbl_customers`.`marriage_date`, `thecarg_db`.`cg_tbl_customers`.`ref_code`, `thecarg_db`.`cg_tbl_customers`.`referred_by` FROM `thecarg_db`.`cg_tbl_customers` WHERE `thecarg_db`.`cg_tbl_customers`.`id` = ? LIMIT ? OFFSET ?
prisma:query SELECT `thecarg_db`.`cg_tbl_vehicle_classes`.`id`, `thecarg_db`.`cg_tbl_vehicle_classes`.`name`, `thecarg_db`.`cg_tbl_vehicle_classes`.`slug` FROM `thecarg_db`.`cg_tbl_vehicle_classes` WHERE `thecarg_db`.`cg_tbl_vehicle_classes`.`status` = ? ORDER BY `thecarg_db`.`cg_tbl_vehicle_classes`.`name` ASC
prisma:query SELECT `thecarg_db`.`cg_tbl_business_settings`.`id`, `thecarg_db`.`cg_tbl_business_settings`.`key`, `thecarg_db`.`cg_tbl_business_settings`.`value`, `thecarg_db`.`cg_tbl_business_settings`.`created_at`, `thecarg_db`.`cg_tbl_business_settings`.`updated_at` FROM `thecarg_db`.`cg_tbl_business_settings` WHERE (`thecarg_db`.`cg_tbl_business_settings`.`key` = ? AND 1=1) LIMIT ? OFFSET ?
prisma:query SELECT `thecarg_db`.`cg_tbl_business_settings`.`id`, `thecarg_db`.`cg_tbl_business_settings`.`key`, `thecarg_db`.`cg_tbl_business_settings`.`value`, `thecarg_db`.`cg_tbl_business_settings`.`created_at`, `thecarg_db`.`cg_tbl_business_settings`.`updated_at` FROM `thecarg_db`.`cg_tbl_business_settings` WHERE (`thecarg_db`.`cg_tbl_business_settings`.`key` = ? AND 1=1) LIMIT ? OFFSET ?
prisma:query SELECT `thecarg_db`.`cg_tbl_business_settings`.`id`, `thecarg_db`.`cg_tbl_business_settings`.`key`, `thecarg_db`.`cg_tbl_business_settings`.`value`, `thecarg_db`.`cg_tbl_business_settings`.`created_at`, `thecarg_db`.`cg_tbl_business_settings`.`updated_at` FROM `thecarg_db`.`cg_tbl_business_settings` WHERE (`thecarg_db`.`cg_tbl_business_settings`.`key` = ? AND 1=1) LIMIT ? OFFSET ?
prisma:query SELECT `thecarg_db`.`cg_tbl_gig_reasons`.`id`, `thecarg_db`.`cg_tbl_gig_reasons`.`reason` FROM `thecarg_db`.`cg_tbl_gig_reasons` WHERE `thecarg_db`.`cg_tbl_gig_reasons`.`status` = ? ORDER BY `thecarg_db`.`cg_tbl_gig_reasons`.`id` ASC
prisma:query SELECT `thecarg_db`.`cg_tbl_vehicle_classes`.`id`, `thecarg_db`.`cg_tbl_vehicle_classes`.`name`, `thecarg_db`.`cg_tbl_vehicle_classes`.`slug` FROM `thecarg_db`.`cg_tbl_vehicle_classes` WHERE `thecarg_db`.`cg_tbl_vehicle_classes`.`status` = ? ORDER BY `thecarg_db`.`cg_tbl_vehicle_classes`.`name` ASC
prisma:query SELECT `thecarg_db`.`cg_tbl_business_settings`.`id`, `thecarg_db`.`cg_tbl_business_settings`.`key`, `thecarg_db`.`cg_tbl_business_settings`.`value`, `thecarg_db`.`cg_tbl_business_settings`.`created_at`, `thecarg_db`.`cg_tbl_business_settings`.`updated_at` FROM `thecarg_db`.`cg_tbl_business_settings` WHERE `thecarg_db`.`cg_tbl_business_settings`.`key` IN (?,?,?,?)
prisma:query SELECT `thecarg_db`.`cg_tbl_vehicle_fuel_types`.`id`, `thecarg_db`.`cg_tbl_vehicle_fuel_types`.`name`, `thecarg_db`.`cg_tbl_vehicle_fuel_types`.`slug` FROM `thecarg_db`.`cg_tbl_vehicle_fuel_types` WHERE `thecarg_db`.`cg_tbl_vehicle_fuel_types`.`status` = ? ORDER BY `thecarg_db`.`cg_tbl_vehicle_fuel_types`.`name` ASC
prisma:query SELECT `thecarg_db`.`cg_tbl_vehicle_fuel_types`.`id`, `thecarg_db`.`cg_tbl_vehicle_fuel_types`.`name`, `thecarg_db`.`cg_tbl_vehicle_fuel_types`.`slug` FROM `thecarg_db`.`cg_tbl_vehicle_fuel_types` WHERE `thecarg_db`.`cg_tbl_vehicle_fuel_types`.`status` = ? ORDER BY `thecarg_db`.`cg_tbl_vehicle_fuel_types`.`name` ASC
prisma:query SELECT `thecarg_db`.`cg_tbl_user_roles`.`id`, `thecarg_db`.`cg_tbl_user_roles`.`role_name`, `thecarg_db`.`cg_tbl_user_roles`.`role_slug`, `thecarg_db`.`cg_tbl_user_roles`.`status`, `thecarg_db`.`cg_tbl_user_roles`.`created_at`, `thecarg_db`.`cg_tbl_user_roles`.`updated_at` FROM `thecarg_db`.`cg_tbl_user_roles` WHERE `thecarg_db`.`cg_tbl_user_roles`.`role_slug` = ? LIMIT ? OFFSET ?
prisma:query SELECT `thecarg_db`.`cg_tbl_coupons`.`id`, `thecarg_db`.`cg_tbl_coupons`.`coupon_code`, `thecarg_db`.`cg_tbl_coupons`.`title`, `thecarg_db`.`cg_tbl_coupons`.`coupon_type`, `thecarg_db`.`cg_tbl_coupons`.`applicable_user_type`, `thecarg_db`.`cg_tbl_coupons`.`user_eligibility`, `thecarg_db`.`cg_tbl_coupons`.`discount_value`, `thecarg_db`.`cg_tbl_coupons`.`max_discount`, `thecarg_db`.`cg_tbl_coupons`.`min_order_value`, `thecarg_db`.`cg_tbl_coupons`.`valid_from`, `thecarg_db`.`cg_tbl_coupons`.`valid_to`, `thecarg_db`.`cg_tbl_coupons`.`total_usage_limit`, `thecarg_db`.`cg_tbl_coupons`.`total_uses`, `thecarg_db`.`cg_tbl_coupons`.`usage_per_user`, `thecarg_db`.`cg_tbl_coupons`.`category_restrictions`, `thecarg_db`.`cg_tbl_coupons`.`allow_stacking`, `thecarg_db`.`cg_tbl_coupons`.`module_type`, `thecarg_db`.`cg_tbl_coupons`.`zone_ids`, `thecarg_db`.`cg_tbl_coupons`.`vendor_id`, `thecarg_db`.`cg_tbl_coupons`.`created_at` FROM `thecarg_db`.`cg_tbl_coupons` WHERE (`thecarg_db`.`cg_tbl_coupons`.`status` = ? AND `thecarg_db`.`cg_tbl_coupons`.`applicable_user_type` IN (?,?) AND (`thecarg_db`.`cg_tbl_coupons`.`valid_from` IS NULL OR `thecarg_db`.`cg_tbl_coupons`.`valid_from` <= ?) AND (`thecarg_db`.`cg_tbl_coupons`.`valid_to` IS NULL OR `thecarg_db`.`cg_tbl_coupons`.`valid_to` >= ?)) ORDER BY `thecarg_db`.`cg_tbl_coupons`.`created_at` DESC
prisma:query SELECT `thecarg_db`.`cg_tbl_categories`.`id`, `thecarg_db`.`cg_tbl_categories`.`category_name`, `thecarg_db`.`cg_tbl_categories`.`category_image`, `thecarg_db`.`cg_tbl_categories`.`is_accident` FROM `thecarg_db`.`cg_tbl_categories` WHERE (`thecarg_db`.`cg_tbl_categories`.`status` = ? AND (`thecarg_db`.`cg_tbl_categories`.`is_accident` = ? OR (`thecarg_db`.`cg_tbl_categories`.`id`) IN (SELECT `t1`.`category_id` FROM `thecarg_db`.`cg_tbl_category_sub_category_setup` AS `t1` LEFT JOIN `thecarg_db`.`cg_tbl_sub_categories` AS `j2` ON (`j2`.`id`) = (`t1`.`sub_category_id`) WHERE (`t1`.`status` = ? AND (`j2`.`status` = ? AND (`j2`.`id` IS NOT NULL)) AND `t1`.`category_id` IS NOT NULL)))) ORDER BY `thecarg_db`.`cg_tbl_categories`.`id` ASC LIMIT ? OFFSET ?
prisma:query SELECT `thecarg_db`.`cg_tbl_categories`.`id`, `thecarg_db`.`cg_tbl_categories`.`category_name`, `thecarg_db`.`cg_tbl_categories`.`category_image`, `thecarg_db`.`cg_tbl_categories`.`is_accident` FROM `thecarg_db`.`cg_tbl_categories` WHERE (`thecarg_db`.`cg_tbl_categories`.`status` = ? AND (`thecarg_db`.`cg_tbl_categories`.`is_accident` = ? OR (`thecarg_db`.`cg_tbl_categories`.`id`) IN (SELECT `t1`.`category_id` FROM `thecarg_db`.`cg_tbl_category_sub_category_setup` AS `t1` LEFT JOIN `thecarg_db`.`cg_tbl_sub_categories` AS `j2` ON (`j2`.`id`) = (`t1`.`sub_category_id`) WHERE (`t1`.`status` = ? AND (`j2`.`status` = ? AND (`j2`.`id` IS NOT NULL)) AND `t1`.`service_type` IN (?,?) AND `t1`.`category_id` IS NOT NULL)))) ORDER BY `thecarg_db`.`cg_tbl_categories`.`id` ASC LIMIT ? OFFSET ?
prisma:query SELECT COUNT(*) FROM (SELECT `thecarg_db`.`cg_tbl_categories`.`id` FROM `thecarg_db`.`cg_tbl_categories` WHERE (`thecarg_db`.`cg_tbl_categories`.`status` = ? AND (`thecarg_db`.`cg_tbl_categories`.`is_accident` = ? OR (`thecarg_db`.`cg_tbl_categories`.`id`) IN (SELECT `t1`.`category_id` FROM `thecarg_db`.`cg_tbl_category_sub_category_setup` AS `t1` LEFT JOIN `thecarg_db`.`cg_tbl_sub_categories` AS `j2` ON (`j2`.`id`) = (`t1`.`sub_category_id`) WHERE (`t1`.`status` = ? AND (`j2`.`status` = ? AND (`j2`.`id` IS NOT NULL)) AND `t1`.`service_type` IN (?,?) AND `t1`.`category_id` IS NOT NULL))))) AS `sub`
prisma:query SELECT COUNT(*) FROM (SELECT `thecarg_db`.`cg_tbl_categories`.`id` FROM `thecarg_db`.`cg_tbl_categories` WHERE (`thecarg_db`.`cg_tbl_categories`.`status` = ? AND (`thecarg_db`.`cg_tbl_categories`.`is_accident` = ? OR (`thecarg_db`.`cg_tbl_categories`.`id`) IN (SELECT `t1`.`category_id` FROM `thecarg_db`.`cg_tbl_category_sub_category_setup` AS `t1` LEFT JOIN `thecarg_db`.`cg_tbl_sub_categories` AS `j2` ON (`j2`.`id`) = (`t1`.`sub_category_id`) WHERE (`t1`.`status` = ? AND (`j2`.`status` = ? AND (`j2`.`id` IS NOT NULL)) AND `t1`.`category_id` IS NOT NULL))))) AS `sub`
prisma:query BEGIN
prisma:query SELECT `thecarg_db`.`cg_tbl_customers`.`id` FROM `thecarg_db`.`cg_tbl_customers` WHERE (`thecarg_db`.`cg_tbl_customers`.`id` = ? AND 1=1)
prisma:query UPDATE `thecarg_db`.`cg_tbl_customers` SET `fcm_token` = ?, `updated_at` = ? WHERE (`thecarg_db`.`cg_tbl_customers`.`id` IN (?) AND (`thecarg_db`.`cg_tbl_customers`.`id` = ? AND 1=1))
prisma:query SELECT `thecarg_db`.`cg_tbl_customers`.`id`, `thecarg_db`.`cg_tbl_customers`.`full_name`, `thecarg_db`.`cg_tbl_customers`.`mobile`, `thecarg_db`.`cg_tbl_customers`.`email`, `thecarg_db`.`cg_tbl_customers`.`profile_photo_file`, `thecarg_db`.`cg_tbl_customers`.`status`, `thecarg_db`.`cg_tbl_customers`.`created_at`, `thecarg_db`.`cg_tbl_customers`.`updated_at`, `thecarg_db`.`cg_tbl_customers`.`date_of_birth`, `thecarg_db`.`cg_tbl_customers`.`fcm_token`, `thecarg_db`.`cg_tbl_customers`.`marriage_date`, `thecarg_db`.`cg_tbl_customers`.`ref_code`, `thecarg_db`.`cg_tbl_customers`.`referred_by` FROM `thecarg_db`.`cg_tbl_customers` WHERE `thecarg_db`.`cg_tbl_customers`.`id` = ? LIMIT ? OFFSET ?
prisma:query COMMIT
prisma:query SELECT `thecarg_db`.`cg_tbl_category_sub_category_setup`.`id`, `thecarg_db`.`cg_tbl_category_sub_category_setup`.`sub_category_id`, `thecarg_db`.`cg_tbl_category_sub_category_setup`.`category_id` FROM `thecarg_db`.`cg_tbl_category_sub_category_setup` LEFT JOIN `thecarg_db`.`cg_tbl_sub_categories` AS `j1` ON (`j1`.`id`) = (`thecarg_db`.`cg_tbl_category_sub_category_setup`.`sub_category_id`) WHERE ((`thecarg_db`.`cg_tbl_category_sub_category_setup`.`status` = ? AND (`j1`.`status` = ? AND (`j1`.`id` IS NOT NULL))) AND `thecarg_db`.`cg_tbl_category_sub_category_setup`.`category_id` IN (?,?,?,?,?,?,?,?))
prisma:query SELECT `thecarg_db`.`cg_tbl_user_roles`.`id`, `thecarg_db`.`cg_tbl_user_roles`.`role_name`, `thecarg_db`.`cg_tbl_user_roles`.`role_slug`, `thecarg_db`.`cg_tbl_user_roles`.`status`, `thecarg_db`.`cg_tbl_user_roles`.`created_at`, `thecarg_db`.`cg_tbl_user_roles`.`updated_at` FROM `thecarg_db`.`cg_tbl_user_roles` WHERE `thecarg_db`.`cg_tbl_user_roles`.`role_slug` = ? LIMIT ? OFFSET ?
prisma:query SELECT `thecarg_db`.`cg_tbl_category_sub_category_setup`.`id`, `thecarg_db`.`cg_tbl_category_sub_category_setup`.`sub_category_id`, `thecarg_db`.`cg_tbl_category_sub_category_setup`.`category_id` FROM `thecarg_db`.`cg_tbl_category_sub_category_setup` LEFT JOIN `thecarg_db`.`cg_tbl_sub_categories` AS `j1` ON (`j1`.`id`) = (`thecarg_db`.`cg_tbl_category_sub_category_setup`.`sub_category_id`) WHERE ((`thecarg_db`.`cg_tbl_category_sub_category_setup`.`status` = ? AND (`j1`.`status` = ? AND (`j1`.`id` IS NOT NULL)) AND `thecarg_db`.`cg_tbl_category_sub_category_setup`.`service_type` IN (?,?)) AND `thecarg_db`.`cg_tbl_category_sub_category_setup`.`category_id` IN (?,?,?,?,?,?,?,?))
prisma:query SELECT COUNT(*) FROM (SELECT `thecarg_db`.`cg_table_tutorials`.`id` FROM `thecarg_db`.`cg_table_tutorials` WHERE (`thecarg_db`.`cg_table_tutorials`.`role_id` = ? AND `thecarg_db`.`cg_table_tutorials`.`status` = ?)) AS `sub`
prisma:query SELECT `thecarg_db`.`cg_table_tutorials`.`id`, `thecarg_db`.`cg_table_tutorials`.`role_id`, `thecarg_db`.`cg_table_tutorials`.`youtube_url`, `thecarg_db`.`cg_table_tutorials`.`status`, `thecarg_db`.`cg_table_tutorials`.`created_at`, `thecarg_db`.`cg_table_tutorials`.`created_by`, `thecarg_db`.`cg_table_tutorials`.`updated_at` FROM `thecarg_db`.`cg_table_tutorials` WHERE (`thecarg_db`.`cg_table_tutorials`.`role_id` = ? AND `thecarg_db`.`cg_table_tutorials`.`status` = ?) ORDER BY `thecarg_db`.`cg_table_tutorials`.`created_at` DESC LIMIT ? OFFSET ?
prisma:query SELECT COUNT(*) FROM (SELECT `thecarg_db`.`cg_tbl_user_addresses`.`id` FROM `thecarg_db`.`cg_tbl_user_addresses` WHERE (`thecarg_db`.`cg_tbl_user_addresses`.`user_id` = ? AND `thecarg_db`.`cg_tbl_user_addresses`.`role_id` = ? AND `thecarg_db`.`cg_tbl_user_addresses`.`status` = ?)) AS `sub`
prisma:query SELECT `thecarg_db`.`cg_tbl_categories`.`id`, `thecarg_db`.`cg_tbl_categories`.`category_name` FROM `thecarg_db`.`cg_tbl_categories` WHERE `thecarg_db`.`cg_tbl_categories`.`id` IN (?,?,?,?,?,?)
prisma:query SELECT COUNT(*) FROM (SELECT `thecarg_db`.`cg_tbl_user_notifications`.`id` FROM `thecarg_db`.`cg_tbl_user_notifications` WHERE (`thecarg_db`.`cg_tbl_user_notifications`.`user_id` = ? AND `thecarg_db`.`cg_tbl_user_notifications`.`user_role_id` = ? AND `thecarg_db`.`cg_tbl_user_notifications`.`platform` = ?)) AS `sub`
prisma:query SELECT `thecarg_db`.`cg_tbl_user_notifications`.`id`, `thecarg_db`.`cg_tbl_user_notifications`.`user_id`, `thecarg_db`.`cg_tbl_user_notifications`.`user_role_id`, `thecarg_db`.`cg_tbl_user_notifications`.`data`, `thecarg_db`.`cg_tbl_user_notifications`.`platform`, `thecarg_db`.`cg_tbl_user_notifications`.`is_read`, `thecarg_db`.`cg_tbl_user_notifications`.`created_at` FROM `thecarg_db`.`cg_tbl_user_notifications` WHERE (`thecarg_db`.`cg_tbl_user_notifications`.`user_id` = ? AND `thecarg_db`.`cg_tbl_user_notifications`.`user_role_id` = ? AND `thecarg_db`.`cg_tbl_user_notifications`.`platform` = ?) ORDER BY `thecarg_db`.`cg_tbl_user_notifications`.`created_at` DESC LIMIT ? OFFSET ?
prisma:query SELECT COUNT(*) FROM (SELECT `thecarg_db`.`cg_tbl_user_addresses`.`id` FROM `thecarg_db`.`cg_tbl_user_addresses` WHERE (`thecarg_db`.`cg_tbl_user_addresses`.`user_id` = ? AND `thecarg_db`.`cg_tbl_user_addresses`.`role_id` = ? AND `thecarg_db`.`cg_tbl_user_addresses`.`status` = ?)) AS `sub`
prisma:query SELECT `thecarg_db`.`cg_tbl_user_addresses`.`id`, `thecarg_db`.`cg_tbl_user_addresses`.`user_id`, `thecarg_db`.`cg_tbl_user_addresses`.`role_id`, `thecarg_db`.`cg_tbl_user_addresses`.`address_title`, `thecarg_db`.`cg_tbl_user_addresses`.`contact_name`, `thecarg_db`.`cg_tbl_user_addresses`.`phone_number`, `thecarg_db`.`cg_tbl_user_addresses`.`flat_house_no`, `thecarg_db`.`cg_tbl_user_addresses`.`area_locality`, `thecarg_db`.`cg_tbl_user_addresses`.`landmark`, `thecarg_db`.`cg_tbl_user_addresses`.`pincode`, `thecarg_db`.`cg_tbl_user_addresses`.`city`, `thecarg_db`.`cg_tbl_user_addresses`.`state`, `thecarg_db`.`cg_tbl_user_addresses`.`latitude`, `thecarg_db`.`cg_tbl_user_addresses`.`longitude`, `thecarg_db`.`cg_tbl_user_addresses`.`full_address`, `thecarg_db`.`cg_tbl_user_addresses`.`is_default`, `thecarg_db`.`cg_tbl_user_addresses`.`status`, `thecarg_db`.`cg_tbl_user_addresses`.`created_at`, `thecarg_db`.`cg_tbl_user_addresses`.`updated_at` FROM `thecarg_db`.`cg_tbl_user_addresses` WHERE (`thecarg_db`.`cg_tbl_user_addresses`.`user_id` = ? AND `thecarg_db`.`cg_tbl_user_addresses`.`role_id` = ? AND `thecarg_db`.`cg_tbl_user_addresses`.`status` = ?) ORDER BY `thecarg_db`.`cg_tbl_user_addresses`.`is_default` DESC, `thecarg_db`.`cg_tbl_user_addresses`.`id` DESC LIMIT ? OFFSET ?
prisma:query SELECT `thecarg_db`.`cg_tbl_user_addresses`.`id`, `thecarg_db`.`cg_tbl_user_addresses`.`user_id`, `thecarg_db`.`cg_tbl_user_addresses`.`role_id`, `thecarg_db`.`cg_tbl_user_addresses`.`address_title`, `thecarg_db`.`cg_tbl_user_addresses`.`contact_name`, `thecarg_db`.`cg_tbl_user_addresses`.`phone_number`, `thecarg_db`.`cg_tbl_user_addresses`.`flat_house_no`, `thecarg_db`.`cg_tbl_user_addresses`.`area_locality`, `thecarg_db`.`cg_tbl_user_addresses`.`landmark`, `thecarg_db`.`cg_tbl_user_addresses`.`pincode`, `thecarg_db`.`cg_tbl_user_addresses`.`city`, `thecarg_db`.`cg_tbl_user_addresses`.`state`, `thecarg_db`.`cg_tbl_user_addresses`.`latitude`, `thecarg_db`.`cg_tbl_user_addresses`.`longitude`, `thecarg_db`.`cg_tbl_user_addresses`.`full_address`, `thecarg_db`.`cg_tbl_user_addresses`.`is_default`, `thecarg_db`.`cg_tbl_user_addresses`.`status`, `thecarg_db`.`cg_tbl_user_addresses`.`created_at`, `thecarg_db`.`cg_tbl_user_addresses`.`updated_at` FROM `thecarg_db`.`cg_tbl_user_addresses` WHERE (`thecarg_db`.`cg_tbl_user_addresses`.`user_id` = ? AND `thecarg_db`.`cg_tbl_user_addresses`.`role_id` = ? AND `thecarg_db`.`cg_tbl_user_addresses`.`status` = ?) ORDER BY `thecarg_db`.`cg_tbl_user_addresses`.`is_default` DESC, `thecarg_db`.`cg_tbl_user_addresses`.`id` DESC LIMIT ? OFFSET ?
[2026-06-24T12:31:09.127Z] [INFO]: [ZONE_RESOLVE] Resolving zone for coordinates: (13.07281264, 80.19470259)
--------------------------------------------------

prisma:query SELECT `thecarg_db`.`cg_tbl_customers`.`id`, `thecarg_db`.`cg_tbl_customers`.`full_name`, `thecarg_db`.`cg_tbl_customers`.`mobile`, `thecarg_db`.`cg_tbl_customers`.`email`, `thecarg_db`.`cg_tbl_customers`.`profile_photo_file`, `thecarg_db`.`cg_tbl_customers`.`status`, `thecarg_db`.`cg_tbl_customers`.`created_at`, `thecarg_db`.`cg_tbl_customers`.`updated_at`, `thecarg_db`.`cg_tbl_customers`.`date_of_birth`, `thecarg_db`.`cg_tbl_customers`.`fcm_token`, `thecarg_db`.`cg_tbl_customers`.`marriage_date`, `thecarg_db`.`cg_tbl_customers`.`ref_code`, `thecarg_db`.`cg_tbl_customers`.`referred_by` FROM `thecarg_db`.`cg_tbl_customers` WHERE (`thecarg_db`.`cg_tbl_customers`.`id` = ? AND 1=1) LIMIT ? OFFSET ?
prisma:query SELECT id, status, zone_name AS zoneName, zone_code AS zoneCode, ABS(ST_Area(coordinates)) as area 
       FROM cg_tbl_zones 
       WHERE ST_Contains(coordinates, ST_GeomFromText(?))
       ORDER BY area ASC
prisma:query SELECT COUNT(*) FROM (SELECT `thecarg_db`.`cg_tbl_vehicles_master`.`id` FROM `thecarg_db`.`cg_tbl_vehicles_master` WHERE (`thecarg_db`.`cg_tbl_vehicles_master`.`user_id` = ? AND `thecarg_db`.`cg_tbl_vehicles_master`.`user_role_id` = ? AND `thecarg_db`.`cg_tbl_vehicles_master`.`deleted_status` = ? AND `thecarg_db`.`cg_tbl_vehicles_master`.`status` = ?)) AS `sub`
prisma:query SELECT `thecarg_db`.`cg_tbl_vehicles_master`.`id`, `thecarg_db`.`cg_tbl_vehicles_master`.`vehicle_no`, `thecarg_db`.`cg_tbl_vehicles_master`.`make`, `thecarg_db`.`cg_tbl_vehicles_master`.`model`, `thecarg_db`.`cg_tbl_vehicles_master`.`year`, `thecarg_db`.`cg_tbl_vehicles_master`.`chassis_no`, `thecarg_db`.`cg_tbl_vehicles_master`.`odometer_reading_km`, `thecarg_db`.`cg_tbl_vehicles_master`.`vehicle_image`, `thecarg_db`.`cg_tbl_vehicles_master`.`vehicle_rc_img`, `thecarg_db`.`cg_tbl_vehicles_master`.`vehicle_class_id`, `thecarg_db`.`cg_tbl_vehicles_master`.`vehicle_fuel_type_id` FROM `thecarg_db`.`cg_tbl_vehicles_master` WHERE (`thecarg_db`.`cg_tbl_vehicles_master`.`user_id` = ? AND `thecarg_db`.`cg_tbl_vehicles_master`.`user_role_id` = ? AND `thecarg_db`.`cg_tbl_vehicles_master`.`deleted_status` = ? AND `thecarg_db`.`cg_tbl_vehicles_master`.`status` = ?) ORDER BY `thecarg_db`.`cg_tbl_vehicles_master`.`id` DESC LIMIT ? OFFSET ?
prisma:query SELECT `thecarg_db`.`cg_tbl_vehicle_classes`.`id`, `thecarg_db`.`cg_tbl_vehicle_classes`.`name`, `thecarg_db`.`cg_tbl_vehicle_classes`.`slug` FROM `thecarg_db`.`cg_tbl_vehicle_classes` WHERE `thecarg_db`.`cg_tbl_vehicle_classes`.`id` IN (?,?)
prisma:query SELECT `thecarg_db`.`cg_tbl_vehicle_fuel_types`.`id`, `thecarg_db`.`cg_tbl_vehicle_fuel_types`.`name`, `thecarg_db`.`cg_tbl_vehicle_fuel_types`.`slug` FROM `thecarg_db`.`cg_tbl_vehicle_fuel_types` WHERE `thecarg_db`.`cg_tbl_vehicle_fuel_types`.`id` IN (?,?)
[2026-06-24T12:31:09.242Z] [INFO]: [BANNERS] Fetching banners for zoneIds: [13]
--------------------------------------------------

prisma:query 
      SELECT 
        'admin_banner' AS bannerSource,
        b.id,
        b.title,
        b.banner_image AS bannerImage,
        NULL AS userId,
        NULL AS userRoleId,
        NULL AS productId,
        b.created_at AS createdAt
      FROM cg_tbl_banners b
      WHERE b.status = 1 
        AND b.zone_id IN (?)

      UNION ALL

      SELECT 
        'advertisement' AS bannerSource,
        a.id,
        a.title,
        a.banner_image AS bannerImage,
        a.user_id AS userId,
        a.user_role_id AS userRoleId,
        a.product_id AS productId,
        a.created_at AS createdAt
      FROM cg_tbl_advertisements a
      WHERE a.status = 1 
        AND a.advertisement_type = 'banner'
        AND a.approval_status = 'approved'
        AND a.payment_status = 'paid'
        AND NOW() BETWEEN a.from_date AND a.to_date
        AND a.zone_id IN (?)
      ORDER BY createdAt DESC
    
prisma:query SELECT `thecarg_db`.`cg_tbl_zones`.`id` FROM `thecarg_db`.`cg_tbl_zones` WHERE (`thecarg_db`.`cg_tbl_zones`.`id` IN (?,?) AND `thecarg_db`.`cg_tbl_zones`.`status` = ?)
prisma:query SELECT `thecarg_db`.`cg_tbl_zones`.`id` FROM `thecarg_db`.`cg_tbl_zones` WHERE (`thecarg_db`.`cg_tbl_zones`.`id` IN (?,?) AND `thecarg_db`.`cg_tbl_zones`.`status` = ?)
prisma:query SELECT `thecarg_db`.`cg_tbl_sellers`.`id`, `thecarg_db`.`cg_tbl_sellers`.`status`, `thecarg_db`.`cg_tbl_sellers`.`operating_hours`, `thecarg_db`.`cg_tbl_sellers`.`zone` FROM `thecarg_db`.`cg_tbl_sellers` WHERE `thecarg_db`.`cg_tbl_sellers`.`status` = ?
prisma:query SELECT `thecarg_db`.`cg_tbl_sellers`.`id`, `thecarg_db`.`cg_tbl_sellers`.`status`, `thecarg_db`.`cg_tbl_sellers`.`operating_hours`, `thecarg_db`.`cg_tbl_sellers`.`zone` FROM `thecarg_db`.`cg_tbl_sellers` WHERE `thecarg_db`.`cg_tbl_sellers`.`status` = ?
prisma:query SELECT COUNT(`thecarg_db`.`cg_tbl_products`.`id`), `thecarg_db`.`cg_tbl_products`.`techdoc_brand_id` FROM `thecarg_db`.`cg_tbl_products` WHERE (`thecarg_db`.`cg_tbl_products`.`status` = ? AND (`thecarg_db`.`cg_tbl_products`.`id`) IN (SELECT `t1`.`product_id` FROM `thecarg_db`.`cg_tbl_seller_products` AS `t1` WHERE (`t1`.`status` = ? AND `t1`.`is_in_stock` = ? AND `t1`.`seller_id` IN (?) AND `t1`.`product_id` IS NOT NULL))) GROUP BY `thecarg_db`.`cg_tbl_products`.`techdoc_brand_id`
prisma:query SELECT COUNT(`thecarg_db`.`cg_tbl_products`.`id`), `thecarg_db`.`cg_tbl_products`.`techdoc_brand_id`, `thecarg_db`.`cg_tbl_products`.`brand_name` FROM `thecarg_db`.`cg_tbl_products` WHERE (`thecarg_db`.`cg_tbl_products`.`status` = ? AND (`thecarg_db`.`cg_tbl_products`.`id`) IN (SELECT `t1`.`product_id` FROM `thecarg_db`.`cg_tbl_seller_products` AS `t1` WHERE (`t1`.`status` = ? AND `t1`.`is_in_stock` = ? AND `t1`.`seller_id` IN (?) AND `t1`.`product_id` IS NOT NULL))) GROUP BY `thecarg_db`.`cg_tbl_products`.`techdoc_brand_id`, `thecarg_db`.`cg_tbl_products`.`brand_name` ORDER BY `thecarg_db`.`cg_tbl_products`.`techdoc_brand_id` ASC LIMIT ? OFFSET ?
prisma:query SELECT `thecarg_db`.`cg_tbl_products`.`assembly_group_node_id`, `thecarg_db`.`cg_tbl_products`.`generic_article_id` FROM `thecarg_db`.`cg_tbl_products` WHERE (`thecarg_db`.`cg_tbl_products`.`status` = ? AND (`thecarg_db`.`cg_tbl_products`.`id`) IN (SELECT `t1`.`product_id` FROM `thecarg_db`.`cg_tbl_seller_products` AS `t1` WHERE (`t1`.`status` = ? AND `t1`.`is_in_stock` = ? AND `t1`.`seller_id` IN (?) AND `t1`.`product_id` IS NOT NULL))) GROUP BY `thecarg_db`.`cg_tbl_products`.`assembly_group_node_id`, `thecarg_db`.`cg_tbl_products`.`generic_article_id`
prisma:query SELECT `thecarg_db`.`cg_tbl_business_settings`.`id`, `thecarg_db`.`cg_tbl_business_settings`.`key`, `thecarg_db`.`cg_tbl_business_settings`.`value`, `thecarg_db`.`cg_tbl_business_settings`.`created_at`, `thecarg_db`.`cg_tbl_business_settings`.`updated_at` FROM `thecarg_db`.`cg_tbl_business_settings` WHERE `thecarg_db`.`cg_tbl_business_settings`.`key` = ? LIMIT ? OFFSET ?
prisma:query SELECT `thecarg_db`.`cg_tbl_business_settings`.`id`, `thecarg_db`.`cg_tbl_business_settings`.`key`, `thecarg_db`.`cg_tbl_business_settings`.`value`, `thecarg_db`.`cg_tbl_business_settings`.`created_at`, `thecarg_db`.`cg_tbl_business_settings`.`updated_at` FROM `thecarg_db`.`cg_tbl_business_settings` WHERE `thecarg_db`.`cg_tbl_business_settings`.`key` = ? LIMIT ? OFFSET ?
prisma:query SELECT `thecarg_db`.`cg_tbl_business_settings`.`id`, `thecarg_db`.`cg_tbl_business_settings`.`key`, `thecarg_db`.`cg_tbl_business_settings`.`value`, `thecarg_db`.`cg_tbl_business_settings`.`created_at`, `thecarg_db`.`cg_tbl_business_settings`.`updated_at` FROM `thecarg_db`.`cg_tbl_business_settings` WHERE `thecarg_db`.`cg_tbl_business_settings`.`key` = ? LIMIT ? OFFSET ?
prisma:query SELECT `thecarg_db`.`cg_tbl_business_settings`.`id`, `thecarg_db`.`cg_tbl_business_settings`.`key`, `thecarg_db`.`cg_tbl_business_settings`.`value`, `thecarg_db`.`cg_tbl_business_settings`.`created_at`, `thecarg_db`.`cg_tbl_business_settings`.`updated_at` FROM `thecarg_db`.`cg_tbl_business_settings` WHERE `thecarg_db`.`cg_tbl_business_settings`.`key` = ? LIMIT ? OFFSET ?
prisma:query SELECT `thecarg_db`.`cg_tbl_business_settings`.`id`, `thecarg_db`.`cg_tbl_business_settings`.`key`, `thecarg_db`.`cg_tbl_business_settings`.`value`, `thecarg_db`.`cg_tbl_business_settings`.`created_at`, `thecarg_db`.`cg_tbl_business_settings`.`updated_at` FROM `thecarg_db`.`cg_tbl_business_settings` WHERE `thecarg_db`.`cg_tbl_business_settings`.`key` = ? LIMIT ? OFFSET ?
prisma:query SELECT `thecarg_db`.`cg_tbl_business_settings`.`id`, `thecarg_db`.`cg_tbl_business_settings`.`key`, `thecarg_db`.`cg_tbl_business_settings`.`value`, `thecarg_db`.`cg_tbl_business_settings`.`created_at`, `thecarg_db`.`cg_tbl_business_settings`.`updated_at` FROM `thecarg_db`.`cg_tbl_business_settings` WHERE `thecarg_db`.`cg_tbl_business_settings`.`key` = ? LIMIT ? OFFSET ?
prisma:query SELECT `thecarg_db`.`cg_tbl_business_settings`.`id`, `thecarg_db`.`cg_tbl_business_settings`.`key`, `thecarg_db`.`cg_tbl_business_settings`.`value`, `thecarg_db`.`cg_tbl_business_settings`.`created_at`, `thecarg_db`.`cg_tbl_business_settings`.`updated_at` FROM `thecarg_db`.`cg_tbl_business_settings` WHERE `thecarg_db`.`cg_tbl_business_settings`.`key` = ? LIMIT ? OFFSET ?
prisma:query SELECT `thecarg_db`.`cg_tbl_business_settings`.`id`, `thecarg_db`.`cg_tbl_business_settings`.`key`, `thecarg_db`.`cg_tbl_business_settings`.`value`, `thecarg_db`.`cg_tbl_business_settings`.`created_at`, `thecarg_db`.`cg_tbl_business_settings`.`updated_at` FROM `thecarg_db`.`cg_tbl_business_settings` WHERE `thecarg_db`.`cg_tbl_business_settings`.`key` = ? LIMIT ? OFFSET ?
[2026-06-24T12:31:14.528Z] [INFO]: TecDoc → getBrands | provider: 25791 | country: IN | url: https://webservice.tecalliance.services/pegasus-3-0/services/TecdocToCatDLB.jsonEndpoint
--------------------------------------------------

[2026-06-24T12:31:14.568Z] [INFO]: TecDoc → getGenericArticles | provider: 25791 | country: IN | url: https://webservice.tecalliance.services/pegasus-3-0/services/TecdocToCatDLB.jsonEndpoint
--------------------------------------------------

prisma:query SELECT `thecarg_db`.`cg_tbl_products`.`assembly_group_node_id`, `thecarg_db`.`cg_tbl_products`.`generic_article_id` FROM `thecarg_db`.`cg_tbl_products` WHERE `thecarg_db`.`cg_tbl_products`.`status` = ? GROUP BY `thecarg_db`.`cg_tbl_products`.`assembly_group_node_id`, `thecarg_db`.`cg_tbl_products`.`generic_article_id`
[2026-06-24T12:31:15.439Z] [INFO]: TecDoc → getArticles | provider: 25791 | country: IN | url: https://webservice.tecalliance.services/pegasus-3-0/services/TecdocToCatDLB.jsonEndpoint
--------------------------------------------------

[2026-06-24T12:31:19.347Z] [INFO]: [ZONE_RESOLVE] Resolving zone for coordinates: (13.07281264, 80.19470259)
--------------------------------------------------

prisma:query SELECT id, status, zone_name AS zoneName, zone_code AS zoneCode, ABS(ST_Area(coordinates)) as area 
       FROM cg_tbl_zones 
       WHERE ST_Contains(coordinates, ST_GeomFromText(?))
       ORDER BY area ASC
[2026-06-24T12:31:19.398Z] [INFO]: [BANNERS] Fetching banners for zoneIds: [13]
--------------------------------------------------

prisma:query 
      SELECT 
        'admin_banner' AS bannerSource,
        b.id,
        b.title,
        b.banner_image AS bannerImage,
        NULL AS userId,
        NULL AS userRoleId,
        NULL AS productId,
        b.created_at AS createdAt
      FROM cg_tbl_banners b
      WHERE b.status = 1 
        AND b.zone_id IN (?)

      UNION ALL

      SELECT 
        'advertisement' AS bannerSource,
        a.id,
        a.title,
        a.banner_image AS bannerImage,
        a.user_id AS userId,
        a.user_role_id AS userRoleId,
        a.product_id AS productId,
        a.created_at AS createdAt
      FROM cg_tbl_advertisements a
      WHERE a.status = 1 
        AND a.advertisement_type = 'banner'
        AND a.approval_status = 'approved'
        AND a.payment_status = 'paid'
        AND NOW() BETWEEN a.from_date AND a.to_date
        AND a.zone_id IN (?)
      ORDER BY createdAt DESC
    
prisma:query SELECT 1
prisma:query SELECT `thecarg_db`.`cg_tbl_zones`.`id` FROM `thecarg_db`.`cg_tbl_zones` WHERE (`thecarg_db`.`cg_tbl_zones`.`id` IN (?) AND `thecarg_db`.`cg_tbl_zones`.`status` = ?)
prisma:query SELECT `thecarg_db`.`cg_tbl_sellers`.`id`, `thecarg_db`.`cg_tbl_sellers`.`status`, `thecarg_db`.`cg_tbl_sellers`.`operating_hours`, `thecarg_db`.`cg_tbl_sellers`.`zone` FROM `thecarg_db`.`cg_tbl_sellers` WHERE `thecarg_db`.`cg_tbl_sellers`.`status` = ?
prisma:query SELECT `thecarg_db`.`cg_tbl_products`.`id`, `thecarg_db`.`cg_tbl_products`.`article_number` FROM `thecarg_db`.`cg_tbl_products` WHERE (`thecarg_db`.`cg_tbl_products`.`status` = ? AND (`thecarg_db`.`cg_tbl_products`.`id`) IN (SELECT `t1`.`product_id` FROM `thecarg_db`.`cg_tbl_seller_products` AS `t1` WHERE (`t1`.`status` = ? AND `t1`.`seller_id` IN (?) AND `t1`.`product_id` IS NOT NULL)) AND `thecarg_db`.`cg_tbl_products`.`generic_article_id` = ? AND `thecarg_db`.`cg_tbl_products`.`assembly_group_node_id` = ?) ORDER BY `thecarg_db`.`cg_tbl_products`.`id` ASC
prisma:query SELECT `thecarg_db`.`cg_tbl_products`.`article_number` FROM `thecarg_db`.`cg_tbl_products` WHERE `thecarg_db`.`cg_tbl_products`.`id` IN (?,?) GROUP BY `thecarg_db`.`cg_tbl_products`.`article_number`
prisma:query SELECT MIN(`thecarg_db`.`cg_tbl_products`.`id`), `thecarg_db`.`cg_tbl_products`.`article_number` FROM `thecarg_db`.`cg_tbl_products` WHERE `thecarg_db`.`cg_tbl_products`.`id` IN (?,?) GROUP BY `thecarg_db`.`cg_tbl_products`.`article_number` ORDER BY MIN(`thecarg_db`.`cg_tbl_products`.`id`) ASC LIMIT ? OFFSET ?
prisma:query SELECT `thecarg_db`.`cg_tbl_products`.`id`, `thecarg_db`.`cg_tbl_products`.`techdoc_article_id`, `thecarg_db`.`cg_tbl_products`.`techdoc_brand_id`, `thecarg_db`.`cg_tbl_products`.`article_number`, `thecarg_db`.`cg_tbl_products`.`brand_name`, `thecarg_db`.`cg_tbl_products`.`status`, `thecarg_db`.`cg_tbl_products`.`created_at`, `thecarg_db`.`cg_tbl_products`.`updated_at`, `thecarg_db`.`cg_tbl_products`.`assembly_group_node_id`, `thecarg_db`.`cg_tbl_products`.`generic_article_id` FROM `thecarg_db`.`cg_tbl_products` WHERE `thecarg_db`.`cg_tbl_products`.`id` IN (?,?) ORDER BY `thecarg_db`.`cg_tbl_products`.`id` ASC
[2026-06-24T12:31:30.024Z] [INFO]: TecDoc → getArticles | provider: 25791 | country: IN | url: https://webservice.tecalliance.services/pegasus-3-0/services/TecdocToCatDLB.jsonEndpoint
--------------------------------------------------

[2026-06-24T12:31:30.026Z] [INFO]: TecDoc → getArticles | provider: 25791 | country: IN | url: https://webservice.tecalliance.services/pegasus-3-0/services/TecdocToCatDLB.jsonEndpoint
--------------------------------------------------

[2026-06-24T12:31:30.501Z] [INFO]: TecDoc → getArticles | provider: 25791 | country: IN | url: https://webservice.tecalliance.services/pegasus-3-0/services/TecdocToCatDLB.jsonEndpoint
--------------------------------------------------

[2026-06-24T12:31:30.509Z] [INFO]: TecDoc → getArticles | provider: 25791 | country: IN | url: https://webservice.tecalliance.services/pegasus-3-0/services/TecdocToCatDLB.jsonEndpoint
--------------------------------------------------

prisma:query SELECT `thecarg_db`.`cg_tbl_products`.`id`, `thecarg_db`.`cg_tbl_products`.`techdoc_article_id` FROM `thecarg_db`.`cg_tbl_products` WHERE (`thecarg_db`.`cg_tbl_products`.`techdoc_article_id` IN (?,?) AND `thecarg_db`.`cg_tbl_products`.`status` = ? AND `thecarg_db`.`cg_tbl_products`.`id` IN (?,?))
prisma:query SELECT `thecarg_db`.`cg_tbl_seller_products`.`id`, `thecarg_db`.`cg_tbl_seller_products`.`product_id`, `thecarg_db`.`cg_tbl_seller_products`.`customer_selling_price`, `thecarg_db`.`cg_tbl_seller_products`.`garage_selling_price`, `thecarg_db`.`cg_tbl_seller_products`.`mrp`, `thecarg_db`.`cg_tbl_seller_products`.`customer_discount_type`, `thecarg_db`.`cg_tbl_seller_products`.`customer_discount`, `thecarg_db`.`cg_tbl_seller_products`.`garage_discount_type`, `thecarg_db`.`cg_tbl_seller_products`.`garage_discount`, `thecarg_db`.`cg_tbl_seller_products`.`is_in_stock`, `thecarg_db`.`cg_tbl_seller_products`.`is_returnable`, `thecarg_db`.`cg_tbl_seller_products`.`return_days`, `thecarg_db`.`cg_tbl_seller_products`.`warranty_enabled`, `thecarg_db`.`cg_tbl_seller_products`.`warranty_duration`, `thecarg_db`.`cg_tbl_seller_products`.`warranty_duration_type`, `thecarg_db`.`cg_tbl_seller_products`.`warranty_document`, `thecarg_db`.`cg_tbl_seller_products`.`tax`, `thecarg_db`.`cg_tbl_seller_products`.`seller_id` FROM `thecarg_db`.`cg_tbl_seller_products` LEFT JOIN `thecarg_db`.`cg_tbl_sellers` AS `j1` ON (`j1`.`id`) = (`thecarg_db`.`cg_tbl_seller_products`.`seller_id`) WHERE (`thecarg_db`.`cg_tbl_seller_products`.`product_id` IN (?,?) AND `thecarg_db`.`cg_tbl_seller_products`.`status` = ? AND (`j1`.`status` = ? AND (`j1`.`id` IS NOT NULL))) ORDER BY `thecarg_db`.`cg_tbl_seller_products`.`customer_selling_price` ASC
prisma:query SELECT `thecarg_db`.`cg_tbl_sellers`.`id`, `thecarg_db`.`cg_tbl_sellers`.`seller_id`, `thecarg_db`.`cg_tbl_sellers`.`first_name`, `thecarg_db`.`cg_tbl_sellers`.`last_name`, `thecarg_db`.`cg_tbl_sellers`.`trade_name`, `thecarg_db`.`cg_tbl_sellers`.`city`, `thecarg_db`.`cg_tbl_sellers`.`state`, `thecarg_db`.`cg_tbl_sellers`.`email`, `thecarg_db`.`cg_tbl_sellers`.`mobile`, `thecarg_db`.`cg_tbl_sellers`.`address`, `thecarg_db`.`cg_tbl_sellers`.`pincode`, `thecarg_db`.`cg_tbl_sellers`.`status`, `thecarg_db`.`cg_tbl_sellers`.`operating_hours`, `thecarg_db`.`cg_tbl_sellers`.`zone`, `thecarg_db`.`cg_tbl_sellers`.`latitude`, `thecarg_db`.`cg_tbl_sellers`.`longitude` FROM `thecarg_db`.`cg_tbl_sellers` WHERE `thecarg_db`.`cg_tbl_sellers`.`id` IN (?)
prisma:query SELECT `thecarg_db`.`cg_tbl_zones`.`id`, `thecarg_db`.`cg_tbl_zones`.`zone_name` FROM `thecarg_db`.`cg_tbl_zones` WHERE 1=1
prisma:query SELECT `thecarg_db`.`cg_tbl_zones`.`id` FROM `thecarg_db`.`cg_tbl_zones` WHERE (`thecarg_db`.`cg_tbl_zones`.`id` IN (?) AND `thecarg_db`.`cg_tbl_zones`.`status` = ?)
prisma:query SELECT `thecarg_db`.`cg_tbl_products`.`id`, `thecarg_db`.`cg_tbl_products`.`techdoc_article_id`, `thecarg_db`.`cg_tbl_products`.`techdoc_brand_id`, `thecarg_db`.`cg_tbl_products`.`article_number`, `thecarg_db`.`cg_tbl_products`.`brand_name`, `thecarg_db`.`cg_tbl_products`.`status`, `thecarg_db`.`cg_tbl_products`.`created_at`, `thecarg_db`.`cg_tbl_products`.`updated_at`, `thecarg_db`.`cg_tbl_products`.`assembly_group_node_id`, `thecarg_db`.`cg_tbl_products`.`generic_article_id` FROM `thecarg_db`.`cg_tbl_products` WHERE (`thecarg_db`.`cg_tbl_products`.`id` = ? AND `thecarg_db`.`cg_tbl_products`.`status` = ?) LIMIT ? OFFSET ?
prisma:query SELECT `thecarg_db`.`cg_tbl_zones`.`id` FROM `thecarg_db`.`cg_tbl_zones` WHERE (`thecarg_db`.`cg_tbl_zones`.`id` IN (?) AND `thecarg_db`.`cg_tbl_zones`.`status` = ?)
prisma:query SELECT `thecarg_db`.`cg_tbl_zones`.`id` FROM `thecarg_db`.`cg_tbl_zones` WHERE (`thecarg_db`.`cg_tbl_zones`.`id` IN (?) AND `thecarg_db`.`cg_tbl_zones`.`status` = ?)
[2026-06-24T12:31:32.261Z] [INFO]: TecDoc → getArticles | provider: 25791 | country: IN | url: https://webservice.tecalliance.services/pegasus-3-0/services/TecdocToCatDLB.jsonEndpoint
--------------------------------------------------

prisma:query SELECT 1
prisma:query SELECT `thecarg_db`.`cg_tbl_sellers`.`id`, `thecarg_db`.`cg_tbl_sellers`.`status`, `thecarg_db`.`cg_tbl_sellers`.`operating_hours`, `thecarg_db`.`cg_tbl_sellers`.`zone` FROM `thecarg_db`.`cg_tbl_sellers` WHERE `thecarg_db`.`cg_tbl_sellers`.`status` = ?
prisma:query SELECT COUNT(*) FROM (SELECT `thecarg_db`.`cg_tbl_cart`.`id` FROM `thecarg_db`.`cg_tbl_cart` WHERE (`thecarg_db`.`cg_tbl_cart`.`user_id` = ? AND `thecarg_db`.`cg_tbl_cart`.`user_role_id` = ?)) AS `sub`
prisma:query SELECT `thecarg_db`.`cg_tbl_products`.`id`, `thecarg_db`.`cg_tbl_products`.`article_number` FROM `thecarg_db`.`cg_tbl_products` WHERE (`thecarg_db`.`cg_tbl_products`.`status` = ? AND (`thecarg_db`.`cg_tbl_products`.`id`) IN (SELECT `t1`.`product_id` FROM `thecarg_db`.`cg_tbl_seller_products` AS `t1` WHERE (`t1`.`status` = ? AND `t1`.`seller_id` IN (?) AND `t1`.`product_id` IS NOT NULL)) AND `thecarg_db`.`cg_tbl_products`.`generic_article_id` = ? AND `thecarg_db`.`cg_tbl_products`.`assembly_group_node_id` = ?) ORDER BY `thecarg_db`.`cg_tbl_products`.`id` ASC
prisma:query SELECT `thecarg_db`.`cg_tbl_cart`.`id`, `thecarg_db`.`cg_tbl_cart`.`user_id`, `thecarg_db`.`cg_tbl_cart`.`user_role_id`, `thecarg_db`.`cg_tbl_cart`.`seller_id`, `thecarg_db`.`cg_tbl_cart`.`product_id`, `thecarg_db`.`cg_tbl_cart`.`quantity`, `thecarg_db`.`cg_tbl_cart`.`price`, `thecarg_db`.`cg_tbl_cart`.`created_at`, `thecarg_db`.`cg_tbl_cart`.`updated_at` FROM `thecarg_db`.`cg_tbl_cart` WHERE (`thecarg_db`.`cg_tbl_cart`.`user_id` = ? AND `thecarg_db`.`cg_tbl_cart`.`user_role_id` = ?) ORDER BY `thecarg_db`.`cg_tbl_cart`.`created_at` DESC LIMIT ? OFFSET ?
prisma:query SELECT `thecarg_db`.`cg_tbl_products`.`id`, `thecarg_db`.`cg_tbl_products`.`techdoc_article_id`, `thecarg_db`.`cg_tbl_products`.`techdoc_brand_id`, `thecarg_db`.`cg_tbl_products`.`article_number`, `thecarg_db`.`cg_tbl_products`.`brand_name`, `thecarg_db`.`cg_tbl_products`.`status`, `thecarg_db`.`cg_tbl_products`.`created_at`, `thecarg_db`.`cg_tbl_products`.`updated_at`, `thecarg_db`.`cg_tbl_products`.`assembly_group_node_id`, `thecarg_db`.`cg_tbl_products`.`generic_article_id` FROM `thecarg_db`.`cg_tbl_products` WHERE `thecarg_db`.`cg_tbl_products`.`id` IN (?)
[2026-06-24T12:31:32.293Z] [INFO]: TecDoc → getArticles | provider: 25791 | country: IN | url: https://webservice.tecalliance.services/pegasus-3-0/services/TecdocToCatDLB.jsonEndpoint
--------------------------------------------------

prisma:query SELECT `thecarg_db`.`cg_tbl_products`.`article_number` FROM `thecarg_db`.`cg_tbl_products` WHERE `thecarg_db`.`cg_tbl_products`.`id` IN (?,?) GROUP BY `thecarg_db`.`cg_tbl_products`.`article_number`
prisma:query SELECT MIN(`thecarg_db`.`cg_tbl_products`.`id`), `thecarg_db`.`cg_tbl_products`.`article_number` FROM `thecarg_db`.`cg_tbl_products` WHERE `thecarg_db`.`cg_tbl_products`.`id` IN (?,?) GROUP BY `thecarg_db`.`cg_tbl_products`.`article_number` ORDER BY MIN(`thecarg_db`.`cg_tbl_products`.`id`) ASC LIMIT ? OFFSET ?
prisma:query SELECT `thecarg_db`.`cg_tbl_products`.`id`, `thecarg_db`.`cg_tbl_products`.`techdoc_article_id`, `thecarg_db`.`cg_tbl_products`.`techdoc_brand_id`, `thecarg_db`.`cg_tbl_products`.`article_number`, `thecarg_db`.`cg_tbl_products`.`brand_name`, `thecarg_db`.`cg_tbl_products`.`status`, `thecarg_db`.`cg_tbl_products`.`created_at`, `thecarg_db`.`cg_tbl_products`.`updated_at`, `thecarg_db`.`cg_tbl_products`.`assembly_group_node_id`, `thecarg_db`.`cg_tbl_products`.`generic_article_id` FROM `thecarg_db`.`cg_tbl_products` WHERE `thecarg_db`.`cg_tbl_products`.`id` IN (?,?) ORDER BY `thecarg_db`.`cg_tbl_products`.`id` ASC
[2026-06-24T12:31:32.302Z] [INFO]: TecDoc → getArticles | provider: 25791 | country: IN | url: https://webservice.tecalliance.services/pegasus-3-0/services/TecdocToCatDLB.jsonEndpoint
--------------------------------------------------

[2026-06-24T12:31:32.305Z] [INFO]: TecDoc → getArticles | provider: 25791 | country: IN | url: https://webservice.tecalliance.services/pegasus-3-0/services/TecdocToCatDLB.jsonEndpoint
--------------------------------------------------

[2026-06-24T12:31:32.429Z] [INFO]: TecDoc → getArticles | provider: 25791 | country: IN | url: https://webservice.tecalliance.services/pegasus-3-0/services/TecdocToCatDLB.jsonEndpoint
--------------------------------------------------

[2026-06-24T12:31:32.458Z] [INFO]: TecDoc → getArticles | provider: 25791 | country: IN | url: https://webservice.tecalliance.services/pegasus-3-0/services/TecdocToCatDLB.jsonEndpoint
--------------------------------------------------

[2026-06-24T12:31:32.622Z] [INFO]: TecDoc → getArticleLinkedAllLinkingTarget4 | provider: 25791 | country: IN | url: https://webservice.tecalliance.services/pegasus-3-0/services/TecdocToCatDLB.jsonEndpoint
--------------------------------------------------

prisma:query SELECT `thecarg_db`.`cg_tbl_seller_products`.`id`, `thecarg_db`.`cg_tbl_seller_products`.`seller_id`, `thecarg_db`.`cg_tbl_seller_products`.`product_id`, `thecarg_db`.`cg_tbl_seller_products`.`category_id`, `thecarg_db`.`cg_tbl_seller_products`.`subcategory_id`, `thecarg_db`.`cg_tbl_seller_products`.`mrp`, `thecarg_db`.`cg_tbl_seller_products`.`customer_selling_price`, `thecarg_db`.`cg_tbl_seller_products`.`garage_selling_price`, `thecarg_db`.`cg_tbl_seller_products`.`customer_discount_type`, `thecarg_db`.`cg_tbl_seller_products`.`customer_discount`, `thecarg_db`.`cg_tbl_seller_products`.`is_returnable`, `thecarg_db`.`cg_tbl_seller_products`.`return_days`, `thecarg_db`.`cg_tbl_seller_products`.`tax`, `thecarg_db`.`cg_tbl_seller_products`.`garage_discount_type`, `thecarg_db`.`cg_tbl_seller_products`.`garage_discount`, `thecarg_db`.`cg_tbl_seller_products`.`warranty_enabled`, `thecarg_db`.`cg_tbl_seller_products`.`warranty_duration`, `thecarg_db`.`cg_tbl_seller_products`.`warranty_duration_type`, `thecarg_db`.`cg_tbl_seller_products`.`warranty_document`, `thecarg_db`.`cg_tbl_seller_products`.`status`, `thecarg_db`.`cg_tbl_seller_products`.`created_at`, `thecarg_db`.`cg_tbl_seller_products`.`updated_at`, `thecarg_db`.`cg_tbl_seller_products`.`is_in_stock` FROM `thecarg_db`.`cg_tbl_seller_products` LEFT JOIN `thecarg_db`.`cg_tbl_sellers` AS `j1` ON (`j1`.`id`) = (`thecarg_db`.`cg_tbl_seller_products`.`seller_id`) WHERE (`thecarg_db`.`cg_tbl_seller_products`.`product_id` = ? AND `thecarg_db`.`cg_tbl_seller_products`.`seller_id` = ? AND `thecarg_db`.`cg_tbl_seller_products`.`status` = ? AND `thecarg_db`.`cg_tbl_seller_products`.`is_in_stock` = ? AND (`j1`.`status` = ? AND (`j1`.`id` IS NOT NULL))) LIMIT ? OFFSET ?
prisma:query SELECT `thecarg_db`.`cg_tbl_sellers`.`id`, `thecarg_db`.`cg_tbl_sellers`.`seller_id`, `thecarg_db`.`cg_tbl_sellers`.`first_name`, `thecarg_db`.`cg_tbl_sellers`.`last_name`, `thecarg_db`.`cg_tbl_sellers`.`mobile`, `thecarg_db`.`cg_tbl_sellers`.`email`, `thecarg_db`.`cg_tbl_sellers`.`trade_name`, `thecarg_db`.`cg_tbl_sellers`.`entity_type`, `thecarg_db`.`cg_tbl_sellers`.`aadhaar_number`, `thecarg_db`.`cg_tbl_sellers`.`pan_number`, `thecarg_db`.`cg_tbl_sellers`.`gstin_number`, `thecarg_db`.`cg_tbl_sellers`.`cin_number`, `thecarg_db`.`cg_tbl_sellers`.`operating_hours`, `thecarg_db`.`cg_tbl_sellers`.`specific_commission`, `thecarg_db`.`cg_tbl_sellers`.`customer_order_commission`, `thecarg_db`.`cg_tbl_sellers`.`garage_order_commission`, `thecarg_db`.`cg_tbl_sellers`.`requested_customer_order_commission`, `thecarg_db`.`cg_tbl_sellers`.`requested_garage_order_commission`, `thecarg_db`.`cg_tbl_sellers`.`bank_name`, `thecarg_db`.`cg_tbl_sellers`.`bank_account_number`, `thecarg_db`.`cg_tbl_sellers`.`bank_ifsc_code`, `thecarg_db`.`cg_tbl_sellers`.`address`, `thecarg_db`.`cg_tbl_sellers`.`latitude`, `thecarg_db`.`cg_tbl_sellers`.`longitude`, `thecarg_db`.`cg_tbl_sellers`.`state`, `thecarg_db`.`cg_tbl_sellers`.`city`, `thecarg_db`.`cg_tbl_sellers`.`zone`, `thecarg_db`.`cg_tbl_sellers`.`pincode`, `thecarg_db`.`cg_tbl_sellers`.`pan_card_file`, `thecarg_db`.`cg_tbl_sellers`.`gst_file`, `thecarg_db`.`cg_tbl_sellers`.`cin_file`, `thecarg_db`.`cg_tbl_sellers`.`cancelled_cheque_file`, `thecarg_db`.`cg_tbl_sellers`.`aadhaar_pan_signatory_file`, `thecarg_db`.`cg_tbl_sellers`.`other_documents_file`, `thecarg_db`.`cg_tbl_sellers`.`status`, `thecarg_db`.`cg_tbl_sellers`.`is_verified`, `thecarg_db`.`cg_tbl_sellers`.`fcm_token`, `thecarg_db`.`cg_tbl_sellers`.`subscription_id`, `thecarg_db`.`cg_tbl_sellers`.`subscription_start_date`, `thecarg_db`.`cg_tbl_sellers`.`subscription_end_date`, `thecarg_db`.`cg_tbl_sellers`.`created_at`, `thecarg_db`.`cg_tbl_sellers`.`updated_at` FROM `thecarg_db`.`cg_tbl_sellers` WHERE `thecarg_db`.`cg_tbl_sellers`.`id` IN (?)
[2026-06-24T12:31:32.767Z] [INFO]: TecDoc → getArticles | provider: 25791 | country: IN | url: https://webservice.tecalliance.services/pegasus-3-0/services/TecdocToCatDLB.jsonEndpoint
--------------------------------------------------

[2026-06-24T12:31:32.787Z] [INFO]: TecDoc → getArticles | provider: 25791 | country: IN | url: https://webservice.tecalliance.services/pegasus-3-0/services/TecdocToCatDLB.jsonEndpoint
--------------------------------------------------

[2026-06-24T12:31:32.801Z] [INFO]: TecDoc → getArticleLinkedAllLinkingTargetsByIds3 | provider: 25791 | country: IN | url: https://webservice.tecalliance.services/pegasus-3-0/services/TecdocToCatDLB.jsonEndpoint
--------------------------------------------------

prisma:query SELECT `thecarg_db`.`cg_tbl_products`.`id`, `thecarg_db`.`cg_tbl_products`.`techdoc_article_id` FROM `thecarg_db`.`cg_tbl_products` WHERE (`thecarg_db`.`cg_tbl_products`.`techdoc_article_id` IN (?,?) AND `thecarg_db`.`cg_tbl_products`.`status` = ? AND `thecarg_db`.`cg_tbl_products`.`id` IN (?,?))
prisma:query SELECT `thecarg_db`.`cg_tbl_seller_products`.`id`, `thecarg_db`.`cg_tbl_seller_products`.`product_id`, `thecarg_db`.`cg_tbl_seller_products`.`customer_selling_price`, `thecarg_db`.`cg_tbl_seller_products`.`garage_selling_price`, `thecarg_db`.`cg_tbl_seller_products`.`mrp`, `thecarg_db`.`cg_tbl_seller_products`.`customer_discount_type`, `thecarg_db`.`cg_tbl_seller_products`.`customer_discount`, `thecarg_db`.`cg_tbl_seller_products`.`garage_discount_type`, `thecarg_db`.`cg_tbl_seller_products`.`garage_discount`, `thecarg_db`.`cg_tbl_seller_products`.`is_in_stock`, `thecarg_db`.`cg_tbl_seller_products`.`is_returnable`, `thecarg_db`.`cg_tbl_seller_products`.`return_days`, `thecarg_db`.`cg_tbl_seller_products`.`warranty_enabled`, `thecarg_db`.`cg_tbl_seller_products`.`warranty_duration`, `thecarg_db`.`cg_tbl_seller_products`.`warranty_duration_type`, `thecarg_db`.`cg_tbl_seller_products`.`warranty_document`, `thecarg_db`.`cg_tbl_seller_products`.`tax`, `thecarg_db`.`cg_tbl_seller_products`.`seller_id` FROM `thecarg_db`.`cg_tbl_seller_products` LEFT JOIN `thecarg_db`.`cg_tbl_sellers` AS `j1` ON (`j1`.`id`) = (`thecarg_db`.`cg_tbl_seller_products`.`seller_id`) WHERE (`thecarg_db`.`cg_tbl_seller_products`.`product_id` IN (?,?) AND `thecarg_db`.`cg_tbl_seller_products`.`status` = ? AND (`j1`.`status` = ? AND (`j1`.`id` IS NOT NULL))) ORDER BY `thecarg_db`.`cg_tbl_seller_products`.`customer_selling_price` ASC
prisma:query SELECT `thecarg_db`.`cg_tbl_sellers`.`id`, `thecarg_db`.`cg_tbl_sellers`.`seller_id`, `thecarg_db`.`cg_tbl_sellers`.`first_name`, `thecarg_db`.`cg_tbl_sellers`.`last_name`, `thecarg_db`.`cg_tbl_sellers`.`trade_name`, `thecarg_db`.`cg_tbl_sellers`.`city`, `thecarg_db`.`cg_tbl_sellers`.`state`, `thecarg_db`.`cg_tbl_sellers`.`email`, `thecarg_db`.`cg_tbl_sellers`.`mobile`, `thecarg_db`.`cg_tbl_sellers`.`address`, `thecarg_db`.`cg_tbl_sellers`.`pincode`, `thecarg_db`.`cg_tbl_sellers`.`status`, `thecarg_db`.`cg_tbl_sellers`.`operating_hours`, `thecarg_db`.`cg_tbl_sellers`.`zone`, `thecarg_db`.`cg_tbl_sellers`.`latitude`, `thecarg_db`.`cg_tbl_sellers`.`longitude` FROM `thecarg_db`.`cg_tbl_sellers` WHERE `thecarg_db`.`cg_tbl_sellers`.`id` IN (?)
prisma:query SELECT `thecarg_db`.`cg_tbl_zones`.`id`, `thecarg_db`.`cg_tbl_zones`.`zone_name` FROM `thecarg_db`.`cg_tbl_zones` WHERE 1=1
prisma:query SELECT `thecarg_db`.`cg_tbl_seller_products`.`id`, `thecarg_db`.`cg_tbl_seller_products`.`customer_selling_price`, `thecarg_db`.`cg_tbl_seller_products`.`garage_selling_price`, `thecarg_db`.`cg_tbl_seller_products`.`mrp`, `thecarg_db`.`cg_tbl_seller_products`.`customer_discount_type`, `thecarg_db`.`cg_tbl_seller_products`.`customer_discount`, `thecarg_db`.`cg_tbl_seller_products`.`garage_discount_type`, `thecarg_db`.`cg_tbl_seller_products`.`garage_discount`, `thecarg_db`.`cg_tbl_seller_products`.`is_in_stock`, `thecarg_db`.`cg_tbl_seller_products`.`is_returnable`, `thecarg_db`.`cg_tbl_seller_products`.`return_days`, `thecarg_db`.`cg_tbl_seller_products`.`warranty_enabled`, `thecarg_db`.`cg_tbl_seller_products`.`warranty_duration`, `thecarg_db`.`cg_tbl_seller_products`.`warranty_duration_type`, `thecarg_db`.`cg_tbl_seller_products`.`warranty_document`, `thecarg_db`.`cg_tbl_seller_products`.`tax`, `thecarg_db`.`cg_tbl_seller_products`.`seller_id` FROM `thecarg_db`.`cg_tbl_seller_products` LEFT JOIN `thecarg_db`.`cg_tbl_sellers` AS `j1` ON (`j1`.`id`) = (`thecarg_db`.`cg_tbl_seller_products`.`seller_id`) WHERE (`thecarg_db`.`cg_tbl_seller_products`.`product_id` = ? AND `thecarg_db`.`cg_tbl_seller_products`.`status` = ? AND (`j1`.`status` = ? AND (`j1`.`id` IS NOT NULL))) ORDER BY `thecarg_db`.`cg_tbl_seller_products`.`customer_selling_price` ASC
prisma:query SELECT `thecarg_db`.`cg_tbl_sellers`.`id`, `thecarg_db`.`cg_tbl_sellers`.`seller_id`, `thecarg_db`.`cg_tbl_sellers`.`first_name`, `thecarg_db`.`cg_tbl_sellers`.`last_name`, `thecarg_db`.`cg_tbl_sellers`.`trade_name`, `thecarg_db`.`cg_tbl_sellers`.`city`, `thecarg_db`.`cg_tbl_sellers`.`state`, `thecarg_db`.`cg_tbl_sellers`.`email`, `thecarg_db`.`cg_tbl_sellers`.`mobile`, `thecarg_db`.`cg_tbl_sellers`.`address`, `thecarg_db`.`cg_tbl_sellers`.`pincode`, `thecarg_db`.`cg_tbl_sellers`.`status`, `thecarg_db`.`cg_tbl_sellers`.`operating_hours`, `thecarg_db`.`cg_tbl_sellers`.`zone`, `thecarg_db`.`cg_tbl_sellers`.`latitude`, `thecarg_db`.`cg_tbl_sellers`.`longitude` FROM `thecarg_db`.`cg_tbl_sellers` WHERE `thecarg_db`.`cg_tbl_sellers`.`id` IN (?)
prisma:query SELECT `thecarg_db`.`cg_tbl_zones`.`id`, `thecarg_db`.`cg_tbl_zones`.`zone_name` FROM `thecarg_db`.`cg_tbl_zones` WHERE 1=1
prisma:query SELECT 1
prisma:query SELECT `thecarg_db`.`cg_tbl_zones`.`id` FROM `thecarg_db`.`cg_tbl_zones` WHERE (`thecarg_db`.`cg_tbl_zones`.`id` IN (?) AND `thecarg_db`.`cg_tbl_zones`.`status` = ?)
prisma:query SELECT `thecarg_db`.`cg_tbl_sellers`.`id`, `thecarg_db`.`cg_tbl_sellers`.`status`, `thecarg_db`.`cg_tbl_sellers`.`operating_hours`, `thecarg_db`.`cg_tbl_sellers`.`zone` FROM `thecarg_db`.`cg_tbl_sellers` WHERE `thecarg_db`.`cg_tbl_sellers`.`status` = ?
prisma:query SELECT `thecarg_db`.`cg_tbl_products`.`id`, `thecarg_db`.`cg_tbl_products`.`article_number` FROM `thecarg_db`.`cg_tbl_products` WHERE (`thecarg_db`.`cg_tbl_products`.`status` = ? AND (`thecarg_db`.`cg_tbl_products`.`id`) IN (SELECT `t1`.`product_id` FROM `thecarg_db`.`cg_tbl_seller_products` AS `t1` WHERE (`t1`.`status` = ? AND `t1`.`seller_id` IN (?) AND `t1`.`product_id` IS NOT NULL)) AND `thecarg_db`.`cg_tbl_products`.`generic_article_id` = ? AND `thecarg_db`.`cg_tbl_products`.`assembly_group_node_id` = ?) ORDER BY `thecarg_db`.`cg_tbl_products`.`id` ASC
prisma:query SELECT `thecarg_db`.`cg_tbl_products`.`article_number` FROM `thecarg_db`.`cg_tbl_products` WHERE `thecarg_db`.`cg_tbl_products`.`id` IN (?,?) GROUP BY `thecarg_db`.`cg_tbl_products`.`article_number`
prisma:query SELECT MIN(`thecarg_db`.`cg_tbl_products`.`id`), `thecarg_db`.`cg_tbl_products`.`article_number` FROM `thecarg_db`.`cg_tbl_products` WHERE `thecarg_db`.`cg_tbl_products`.`id` IN (?,?) GROUP BY `thecarg_db`.`cg_tbl_products`.`article_number` ORDER BY MIN(`thecarg_db`.`cg_tbl_products`.`id`) ASC LIMIT ? OFFSET ?
prisma:query SELECT `thecarg_db`.`cg_tbl_products`.`id`, `thecarg_db`.`cg_tbl_products`.`techdoc_article_id`, `thecarg_db`.`cg_tbl_products`.`techdoc_brand_id`, `thecarg_db`.`cg_tbl_products`.`article_number`, `thecarg_db`.`cg_tbl_products`.`brand_name`, `thecarg_db`.`cg_tbl_products`.`status`, `thecarg_db`.`cg_tbl_products`.`created_at`, `thecarg_db`.`cg_tbl_products`.`updated_at`, `thecarg_db`.`cg_tbl_products`.`assembly_group_node_id`, `thecarg_db`.`cg_tbl_products`.`generic_article_id` FROM `thecarg_db`.`cg_tbl_products` WHERE `thecarg_db`.`cg_tbl_products`.`id` IN (?,?) ORDER BY `thecarg_db`.`cg_tbl_products`.`id` ASC
[2026-06-24T12:31:46.699Z] [INFO]: TecDoc → getArticles | provider: 25791 | country: IN | url: https://webservice.tecalliance.services/pegasus-3-0/services/TecdocToCatDLB.jsonEndpoint
--------------------------------------------------

[2026-06-24T12:31:46.701Z] [INFO]: TecDoc → getArticles | provider: 25791 | country: IN | url: https://webservice.tecalliance.services/pegasus-3-0/services/TecdocToCatDLB.jsonEndpoint
--------------------------------------------------

[2026-06-24T12:31:47.161Z] [INFO]: TecDoc → getArticles | provider: 25791 | country: IN | url: https://webservice.tecalliance.services/pegasus-3-0/services/TecdocToCatDLB.jsonEndpoint
--------------------------------------------------

[2026-06-24T12:31:47.168Z] [INFO]: TecDoc → getArticles | provider: 25791 | country: IN | url: https://webservice.tecalliance.services/pegasus-3-0/services/TecdocToCatDLB.jsonEndpoint
--------------------------------------------------

prisma:query SELECT `thecarg_db`.`cg_tbl_products`.`id`, `thecarg_db`.`cg_tbl_products`.`techdoc_article_id` FROM `thecarg_db`.`cg_tbl_products` WHERE (`thecarg_db`.`cg_tbl_products`.`techdoc_article_id` IN (?,?) AND `thecarg_db`.`cg_tbl_products`.`status` = ? AND `thecarg_db`.`cg_tbl_products`.`id` IN (?,?))
prisma:query SELECT `thecarg_db`.`cg_tbl_seller_products`.`id`, `thecarg_db`.`cg_tbl_seller_products`.`product_id`, `thecarg_db`.`cg_tbl_seller_products`.`customer_selling_price`, `thecarg_db`.`cg_tbl_seller_products`.`garage_selling_price`, `thecarg_db`.`cg_tbl_seller_products`.`mrp`, `thecarg_db`.`cg_tbl_seller_products`.`customer_discount_type`, `thecarg_db`.`cg_tbl_seller_products`.`customer_discount`, `thecarg_db`.`cg_tbl_seller_products`.`garage_discount_type`, `thecarg_db`.`cg_tbl_seller_products`.`garage_discount`, `thecarg_db`.`cg_tbl_seller_products`.`is_in_stock`, `thecarg_db`.`cg_tbl_seller_products`.`is_returnable`, `thecarg_db`.`cg_tbl_seller_products`.`return_days`, `thecarg_db`.`cg_tbl_seller_products`.`warranty_enabled`, `thecarg_db`.`cg_tbl_seller_products`.`warranty_duration`, `thecarg_db`.`cg_tbl_seller_products`.`warranty_duration_type`, `thecarg_db`.`cg_tbl_seller_products`.`warranty_document`, `thecarg_db`.`cg_tbl_seller_products`.`tax`, `thecarg_db`.`cg_tbl_seller_products`.`seller_id` FROM `thecarg_db`.`cg_tbl_seller_products` LEFT JOIN `thecarg_db`.`cg_tbl_sellers` AS `j1` ON (`j1`.`id`) = (`thecarg_db`.`cg_tbl_seller_products`.`seller_id`) WHERE (`thecarg_db`.`cg_tbl_seller_products`.`product_id` IN (?,?) AND `thecarg_db`.`cg_tbl_seller_products`.`status` = ? AND (`j1`.`status` = ? AND (`j1`.`id` IS NOT NULL))) ORDER BY `thecarg_db`.`cg_tbl_seller_products`.`customer_selling_price` ASC
prisma:query SELECT `thecarg_db`.`cg_tbl_sellers`.`id`, `thecarg_db`.`cg_tbl_sellers`.`seller_id`, `thecarg_db`.`cg_tbl_sellers`.`first_name`, `thecarg_db`.`cg_tbl_sellers`.`last_name`, `thecarg_db`.`cg_tbl_sellers`.`trade_name`, `thecarg_db`.`cg_tbl_sellers`.`city`, `thecarg_db`.`cg_tbl_sellers`.`state`, `thecarg_db`.`cg_tbl_sellers`.`email`, `thecarg_db`.`cg_tbl_sellers`.`mobile`, `thecarg_db`.`cg_tbl_sellers`.`address`, `thecarg_db`.`cg_tbl_sellers`.`pincode`, `thecarg_db`.`cg_tbl_sellers`.`status`, `thecarg_db`.`cg_tbl_sellers`.`operating_hours`, `thecarg_db`.`cg_tbl_sellers`.`zone`, `thecarg_db`.`cg_tbl_sellers`.`latitude`, `thecarg_db`.`cg_tbl_sellers`.`longitude` FROM `thecarg_db`.`cg_tbl_sellers` WHERE `thecarg_db`.`cg_tbl_sellers`.`id` IN (?)
prisma:query SELECT `thecarg_db`.`cg_tbl_zones`.`id`, `thecarg_db`.`cg_tbl_zones`.`zone_name` FROM `thecarg_db`.`cg_tbl_zones` WHERE 1=1
prisma:query SELECT `thecarg_db`.`cg_tbl_zones`.`id` FROM `thecarg_db`.`cg_tbl_zones` WHERE (`thecarg_db`.`cg_tbl_zones`.`id` IN (?) AND `thecarg_db`.`cg_tbl_zones`.`status` = ?)
prisma:query SELECT `thecarg_db`.`cg_tbl_sellers`.`id`, `thecarg_db`.`cg_tbl_sellers`.`status`, `thecarg_db`.`cg_tbl_sellers`.`operating_hours`, `thecarg_db`.`cg_tbl_sellers`.`zone` FROM `thecarg_db`.`cg_tbl_sellers` WHERE `thecarg_db`.`cg_tbl_sellers`.`status` = ?
prisma:query SELECT `thecarg_db`.`cg_tbl_products`.`id`, `thecarg_db`.`cg_tbl_products`.`article_number` FROM `thecarg_db`.`cg_tbl_products` WHERE (`thecarg_db`.`cg_tbl_products`.`status` = ? AND (`thecarg_db`.`cg_tbl_products`.`id`) IN (SELECT `t1`.`product_id` FROM `thecarg_db`.`cg_tbl_seller_products` AS `t1` WHERE (`t1`.`status` = ? AND `t1`.`seller_id` IN (?) AND `t1`.`product_id` IS NOT NULL)) AND `thecarg_db`.`cg_tbl_products`.`generic_article_id` = ? AND `thecarg_db`.`cg_tbl_products`.`assembly_group_node_id` = ?) ORDER BY `thecarg_db`.`cg_tbl_products`.`id` ASC
prisma:query SELECT `thecarg_db`.`cg_tbl_products`.`article_number` FROM `thecarg_db`.`cg_tbl_products` WHERE `thecarg_db`.`cg_tbl_products`.`id` IN (?,?) GROUP BY `thecarg_db`.`cg_tbl_products`.`article_number`
prisma:query SELECT MIN(`thecarg_db`.`cg_tbl_products`.`id`), `thecarg_db`.`cg_tbl_products`.`article_number` FROM `thecarg_db`.`cg_tbl_products` WHERE `thecarg_db`.`cg_tbl_products`.`id` IN (?,?) GROUP BY `thecarg_db`.`cg_tbl_products`.`article_number` ORDER BY MIN(`thecarg_db`.`cg_tbl_products`.`id`) ASC LIMIT ? OFFSET ?
prisma:query SELECT `thecarg_db`.`cg_tbl_products`.`id`, `thecarg_db`.`cg_tbl_products`.`techdoc_article_id`, `thecarg_db`.`cg_tbl_products`.`techdoc_brand_id`, `thecarg_db`.`cg_tbl_products`.`article_number`, `thecarg_db`.`cg_tbl_products`.`brand_name`, `thecarg_db`.`cg_tbl_products`.`status`, `thecarg_db`.`cg_tbl_products`.`created_at`, `thecarg_db`.`cg_tbl_products`.`updated_at`, `thecarg_db`.`cg_tbl_products`.`assembly_group_node_id`, `thecarg_db`.`cg_tbl_products`.`generic_article_id` FROM `thecarg_db`.`cg_tbl_products` WHERE `thecarg_db`.`cg_tbl_products`.`id` IN (?,?) ORDER BY `thecarg_db`.`cg_tbl_products`.`id` ASC
[2026-06-24T12:31:48.339Z] [INFO]: TecDoc → getArticles | provider: 25791 | country: IN | url: https://webservice.tecalliance.services/pegasus-3-0/services/TecdocToCatDLB.jsonEndpoint
--------------------------------------------------

[2026-06-24T12:31:48.341Z] [INFO]: TecDoc → getArticles | provider: 25791 | country: IN | url: https://webservice.tecalliance.services/pegasus-3-0/services/TecdocToCatDLB.jsonEndpoint
--------------------------------------------------

[2026-06-24T12:31:48.498Z] [INFO]: TecDoc → getArticles | provider: 25791 | country: IN | url: https://webservice.tecalliance.services/pegasus-3-0/services/TecdocToCatDLB.jsonEndpoint
--------------------------------------------------

[2026-06-24T12:31:48.503Z] [INFO]: TecDoc → getArticles | provider: 25791 | country: IN | url: https://webservice.tecalliance.services/pegasus-3-0/services/TecdocToCatDLB.jsonEndpoint
--------------------------------------------------

prisma:query SELECT `thecarg_db`.`cg_tbl_products`.`id`, `thecarg_db`.`cg_tbl_products`.`techdoc_article_id` FROM `thecarg_db`.`cg_tbl_products` WHERE (`thecarg_db`.`cg_tbl_products`.`techdoc_article_id` IN (?,?) AND `thecarg_db`.`cg_tbl_products`.`status` = ? AND `thecarg_db`.`cg_tbl_products`.`id` IN (?,?))
prisma:query SELECT `thecarg_db`.`cg_tbl_seller_products`.`id`, `thecarg_db`.`cg_tbl_seller_products`.`product_id`, `thecarg_db`.`cg_tbl_seller_products`.`customer_selling_price`, `thecarg_db`.`cg_tbl_seller_products`.`garage_selling_price`, `thecarg_db`.`cg_tbl_seller_products`.`mrp`, `thecarg_db`.`cg_tbl_seller_products`.`customer_discount_type`, `thecarg_db`.`cg_tbl_seller_products`.`customer_discount`, `thecarg_db`.`cg_tbl_seller_products`.`garage_discount_type`, `thecarg_db`.`cg_tbl_seller_products`.`garage_discount`, `thecarg_db`.`cg_tbl_seller_products`.`is_in_stock`, `thecarg_db`.`cg_tbl_seller_products`.`is_returnable`, `thecarg_db`.`cg_tbl_seller_products`.`return_days`, `thecarg_db`.`cg_tbl_seller_products`.`warranty_enabled`, `thecarg_db`.`cg_tbl_seller_products`.`warranty_duration`, `thecarg_db`.`cg_tbl_seller_products`.`warranty_duration_type`, `thecarg_db`.`cg_tbl_seller_products`.`warranty_document`, `thecarg_db`.`cg_tbl_seller_products`.`tax`, `thecarg_db`.`cg_tbl_seller_products`.`seller_id` FROM `thecarg_db`.`cg_tbl_seller_products` LEFT JOIN `thecarg_db`.`cg_tbl_sellers` AS `j1` ON (`j1`.`id`) = (`thecarg_db`.`cg_tbl_seller_products`.`seller_id`) WHERE (`thecarg_db`.`cg_tbl_seller_products`.`product_id` IN (?,?) AND `thecarg_db`.`cg_tbl_seller_products`.`status` = ? AND (`j1`.`status` = ? AND (`j1`.`id` IS NOT NULL))) ORDER BY `thecarg_db`.`cg_tbl_seller_products`.`customer_selling_price` ASC
prisma:query SELECT `thecarg_db`.`cg_tbl_sellers`.`id`, `thecarg_db`.`cg_tbl_sellers`.`seller_id`, `thecarg_db`.`cg_tbl_sellers`.`first_name`, `thecarg_db`.`cg_tbl_sellers`.`last_name`, `thecarg_db`.`cg_tbl_sellers`.`trade_name`, `thecarg_db`.`cg_tbl_sellers`.`city`, `thecarg_db`.`cg_tbl_sellers`.`state`, `thecarg_db`.`cg_tbl_sellers`.`email`, `thecarg_db`.`cg_tbl_sellers`.`mobile`, `thecarg_db`.`cg_tbl_sellers`.`address`, `thecarg_db`.`cg_tbl_sellers`.`pincode`, `thecarg_db`.`cg_tbl_sellers`.`status`, `thecarg_db`.`cg_tbl_sellers`.`operating_hours`, `thecarg_db`.`cg_tbl_sellers`.`zone`, `thecarg_db`.`cg_tbl_sellers`.`latitude`, `thecarg_db`.`cg_tbl_sellers`.`longitude` FROM `thecarg_db`.`cg_tbl_sellers` WHERE `thecarg_db`.`cg_tbl_sellers`.`id` IN (?)
prisma:query SELECT `thecarg_db`.`cg_tbl_zones`.`id`, `thecarg_db`.`cg_tbl_zones`.`zone_name` FROM `thecarg_db`.`cg_tbl_zones` WHERE 1=1
prisma:query SELECT 1
prisma:query SELECT 1
prisma:query SELECT 1
prisma:query SELECT 1
prisma:query SELECT `thecarg_db`.`cg_tbl_business_settings`.`id`, `thecarg_db`.`cg_tbl_business_settings`.`key`, `thecarg_db`.`cg_tbl_business_settings`.`value`, `thecarg_db`.`cg_tbl_business_settings`.`created_at`, `thecarg_db`.`cg_tbl_business_settings`.`updated_at` FROM `thecarg_db`.`cg_tbl_business_settings` WHERE `thecarg_db`.`cg_tbl_business_settings`.`key` IN (?,?,?,?)
prisma:query SELECT `thecarg_db`.`cg_tbl_vehicle_fuel_types`.`id`, `thecarg_db`.`cg_tbl_vehicle_fuel_types`.`name`, `thecarg_db`.`cg_tbl_vehicle_fuel_types`.`slug` FROM `thecarg_db`.`cg_tbl_vehicle_fuel_types` WHERE `thecarg_db`.`cg_tbl_vehicle_fuel_types`.`status` = ? ORDER BY `thecarg_db`.`cg_tbl_vehicle_fuel_types`.`name` ASC
prisma:query SELECT `thecarg_db`.`cg_tbl_vehicle_classes`.`id`, `thecarg_db`.`cg_tbl_vehicle_classes`.`name`, `thecarg_db`.`cg_tbl_vehicle_classes`.`slug` FROM `thecarg_db`.`cg_tbl_vehicle_classes` WHERE `thecarg_db`.`cg_tbl_vehicle_classes`.`status` = ? ORDER BY `thecarg_db`.`cg_tbl_vehicle_classes`.`name` ASC
prisma:query SELECT `thecarg_db`.`cg_tbl_gig_reasons`.`id`, `thecarg_db`.`cg_tbl_gig_reasons`.`reason` FROM `thecarg_db`.`cg_tbl_gig_reasons` WHERE `thecarg_db`.`cg_tbl_gig_reasons`.`status` = ? ORDER BY `thecarg_db`.`cg_tbl_gig_reasons`.`id` ASC
prisma:query SELECT `thecarg_db`.`cg_tbl_customers`.`id`, `thecarg_db`.`cg_tbl_customers`.`full_name`, `thecarg_db`.`cg_tbl_customers`.`mobile`, `thecarg_db`.`cg_tbl_customers`.`email`, `thecarg_db`.`cg_tbl_customers`.`profile_photo_file`, `thecarg_db`.`cg_tbl_customers`.`status`, `thecarg_db`.`cg_tbl_customers`.`created_at`, `thecarg_db`.`cg_tbl_customers`.`updated_at`, `thecarg_db`.`cg_tbl_customers`.`date_of_birth`, `thecarg_db`.`cg_tbl_customers`.`fcm_token`, `thecarg_db`.`cg_tbl_customers`.`marriage_date`, `thecarg_db`.`cg_tbl_customers`.`ref_code`, `thecarg_db`.`cg_tbl_customers`.`referred_by` FROM `thecarg_db`.`cg_tbl_customers` WHERE `thecarg_db`.`cg_tbl_customers`.`id` = ? LIMIT ? OFFSET ?
prisma:query SELECT `thecarg_db`.`cg_tbl_customers`.`id`, `thecarg_db`.`cg_tbl_customers`.`full_name`, `thecarg_db`.`cg_tbl_customers`.`mobile`, `thecarg_db`.`cg_tbl_customers`.`email`, `thecarg_db`.`cg_tbl_customers`.`profile_photo_file`, `thecarg_db`.`cg_tbl_customers`.`status`, `thecarg_db`.`cg_tbl_customers`.`created_at`, `thecarg_db`.`cg_tbl_customers`.`updated_at`, `thecarg_db`.`cg_tbl_customers`.`date_of_birth`, `thecarg_db`.`cg_tbl_customers`.`fcm_token`, `thecarg_db`.`cg_tbl_customers`.`marriage_date`, `thecarg_db`.`cg_tbl_customers`.`ref_code`, `thecarg_db`.`cg_tbl_customers`.`referred_by` FROM `thecarg_db`.`cg_tbl_customers` WHERE (`thecarg_db`.`cg_tbl_customers`.`id` = ? AND 1=1) LIMIT ? OFFSET ?
prisma:query SELECT 1
prisma:query SELECT 1
prisma:query SELECT 1
prisma:query SELECT 1
prisma:query SELECT `thecarg_db`.`cg_tbl_customers`.`id`, `thecarg_db`.`cg_tbl_customers`.`full_name`, `thecarg_db`.`cg_tbl_customers`.`mobile`, `thecarg_db`.`cg_tbl_customers`.`email`, `thecarg_db`.`cg_tbl_customers`.`profile_photo_file`, `thecarg_db`.`cg_tbl_customers`.`status`, `thecarg_db`.`cg_tbl_customers`.`created_at`, `thecarg_db`.`cg_tbl_customers`.`updated_at`, `thecarg_db`.`cg_tbl_customers`.`date_of_birth`, `thecarg_db`.`cg_tbl_customers`.`fcm_token`, `thecarg_db`.`cg_tbl_customers`.`marriage_date`, `thecarg_db`.`cg_tbl_customers`.`ref_code`, `thecarg_db`.`cg_tbl_customers`.`referred_by` FROM `thecarg_db`.`cg_tbl_customers` WHERE (`thecarg_db`.`cg_tbl_customers`.`id` = ? AND 1=1) LIMIT ? OFFSET ?
prisma:query SELECT `thecarg_db`.`cg_tbl_business_settings`.`id`, `thecarg_db`.`cg_tbl_business_settings`.`key`, `thecarg_db`.`cg_tbl_business_settings`.`value`, `thecarg_db`.`cg_tbl_business_settings`.`created_at`, `thecarg_db`.`cg_tbl_business_settings`.`updated_at` FROM `thecarg_db`.`cg_tbl_business_settings` WHERE (`thecarg_db`.`cg_tbl_business_settings`.`key` = ? AND 1=1) LIMIT ? OFFSET ?
prisma:query SELECT `thecarg_db`.`cg_tbl_business_settings`.`id`, `thecarg_db`.`cg_tbl_business_settings`.`key`, `thecarg_db`.`cg_tbl_business_settings`.`value`, `thecarg_db`.`cg_tbl_business_settings`.`created_at`, `thecarg_db`.`cg_tbl_business_settings`.`updated_at` FROM `thecarg_db`.`cg_tbl_business_settings` WHERE (`thecarg_db`.`cg_tbl_business_settings`.`key` = ? AND 1=1) LIMIT ? OFFSET ?
prisma:query SELECT `thecarg_db`.`cg_tbl_customers`.`id`, `thecarg_db`.`cg_tbl_customers`.`full_name`, `thecarg_db`.`cg_tbl_customers`.`mobile`, `thecarg_db`.`cg_tbl_customers`.`email`, `thecarg_db`.`cg_tbl_customers`.`profile_photo_file`, `thecarg_db`.`cg_tbl_customers`.`status`, `thecarg_db`.`cg_tbl_customers`.`created_at`, `thecarg_db`.`cg_tbl_customers`.`updated_at`, `thecarg_db`.`cg_tbl_customers`.`date_of_birth`, `thecarg_db`.`cg_tbl_customers`.`fcm_token`, `thecarg_db`.`cg_tbl_customers`.`marriage_date`, `thecarg_db`.`cg_tbl_customers`.`ref_code`, `thecarg_db`.`cg_tbl_customers`.`referred_by` FROM `thecarg_db`.`cg_tbl_customers` WHERE (`thecarg_db`.`cg_tbl_customers`.`id` = ? AND 1=1) LIMIT ? OFFSET ?
prisma:query SELECT `thecarg_db`.`cg_tbl_vehicle_classes`.`id`, `thecarg_db`.`cg_tbl_vehicle_classes`.`name`, `thecarg_db`.`cg_tbl_vehicle_classes`.`slug` FROM `thecarg_db`.`cg_tbl_vehicle_classes` WHERE `thecarg_db`.`cg_tbl_vehicle_classes`.`status` = ? ORDER BY `thecarg_db`.`cg_tbl_vehicle_classes`.`name` ASC
prisma:query SELECT `thecarg_db`.`cg_tbl_gig_reasons`.`id`, `thecarg_db`.`cg_tbl_gig_reasons`.`reason` FROM `thecarg_db`.`cg_tbl_gig_reasons` WHERE `thecarg_db`.`cg_tbl_gig_reasons`.`status` = ? ORDER BY `thecarg_db`.`cg_tbl_gig_reasons`.`id` ASC
prisma:query SELECT `thecarg_db`.`cg_tbl_vehicle_fuel_types`.`id`, `thecarg_db`.`cg_tbl_vehicle_fuel_types`.`name`, `thecarg_db`.`cg_tbl_vehicle_fuel_types`.`slug` FROM `thecarg_db`.`cg_tbl_vehicle_fuel_types` WHERE `thecarg_db`.`cg_tbl_vehicle_fuel_types`.`status` = ? ORDER BY `thecarg_db`.`cg_tbl_vehicle_fuel_types`.`name` ASC
prisma:query SELECT `thecarg_db`.`cg_table_tutorials`.`id`, `thecarg_db`.`cg_table_tutorials`.`role_id`, `thecarg_db`.`cg_table_tutorials`.`youtube_url`, `thecarg_db`.`cg_table_tutorials`.`status`, `thecarg_db`.`cg_table_tutorials`.`created_at`, `thecarg_db`.`cg_table_tutorials`.`created_by`, `thecarg_db`.`cg_table_tutorials`.`updated_at` FROM `thecarg_db`.`cg_table_tutorials` WHERE (`thecarg_db`.`cg_table_tutorials`.`role_id` = ? AND `thecarg_db`.`cg_table_tutorials`.`status` = ?) ORDER BY `thecarg_db`.`cg_table_tutorials`.`created_at` DESC LIMIT ? OFFSET ?
prisma:query SELECT COUNT(*) FROM (SELECT `thecarg_db`.`cg_table_tutorials`.`id` FROM `thecarg_db`.`cg_table_tutorials` WHERE (`thecarg_db`.`cg_table_tutorials`.`role_id` = ? AND `thecarg_db`.`cg_table_tutorials`.`status` = ?)) AS `sub`
prisma:query SELECT `thecarg_db`.`cg_tbl_business_settings`.`id`, `thecarg_db`.`cg_tbl_business_settings`.`key`, `thecarg_db`.`cg_tbl_business_settings`.`value`, `thecarg_db`.`cg_tbl_business_settings`.`created_at`, `thecarg_db`.`cg_tbl_business_settings`.`updated_at` FROM `thecarg_db`.`cg_tbl_business_settings` WHERE `thecarg_db`.`cg_tbl_business_settings`.`key` IN (?,?,?,?)
prisma:query SELECT COUNT(*) FROM (SELECT `thecarg_db`.`cg_tbl_user_notifications`.`id` FROM `thecarg_db`.`cg_tbl_user_notifications` WHERE (`thecarg_db`.`cg_tbl_user_notifications`.`user_id` = ? AND `thecarg_db`.`cg_tbl_user_notifications`.`user_role_id` = ? AND `thecarg_db`.`cg_tbl_user_notifications`.`platform` = ?)) AS `sub`
prisma:query BEGIN
prisma:query SELECT `thecarg_db`.`cg_tbl_user_notifications`.`id`, `thecarg_db`.`cg_tbl_user_notifications`.`user_id`, `thecarg_db`.`cg_tbl_user_notifications`.`user_role_id`, `thecarg_db`.`cg_tbl_user_notifications`.`data`, `thecarg_db`.`cg_tbl_user_notifications`.`platform`, `thecarg_db`.`cg_tbl_user_notifications`.`is_read`, `thecarg_db`.`cg_tbl_user_notifications`.`created_at` FROM `thecarg_db`.`cg_tbl_user_notifications` WHERE (`thecarg_db`.`cg_tbl_user_notifications`.`user_id` = ? AND `thecarg_db`.`cg_tbl_user_notifications`.`user_role_id` = ? AND `thecarg_db`.`cg_tbl_user_notifications`.`platform` = ?) ORDER BY `thecarg_db`.`cg_tbl_user_notifications`.`created_at` DESC LIMIT ? OFFSET ?
prisma:query SELECT 1
prisma:query SELECT `thecarg_db`.`cg_tbl_business_settings`.`id`, `thecarg_db`.`cg_tbl_business_settings`.`key`, `thecarg_db`.`cg_tbl_business_settings`.`value`, `thecarg_db`.`cg_tbl_business_settings`.`created_at`, `thecarg_db`.`cg_tbl_business_settings`.`updated_at` FROM `thecarg_db`.`cg_tbl_business_settings` WHERE (`thecarg_db`.`cg_tbl_business_settings`.`key` = ? AND 1=1) LIMIT ? OFFSET ?
prisma:query SELECT `thecarg_db`.`cg_tbl_customers`.`id` FROM `thecarg_db`.`cg_tbl_customers` WHERE (`thecarg_db`.`cg_tbl_customers`.`id` = ? AND 1=1)
prisma:query SELECT `thecarg_db`.`cg_tbl_coupons`.`id`, `thecarg_db`.`cg_tbl_coupons`.`coupon_code`, `thecarg_db`.`cg_tbl_coupons`.`title`, `thecarg_db`.`cg_tbl_coupons`.`coupon_type`, `thecarg_db`.`cg_tbl_coupons`.`applicable_user_type`, `thecarg_db`.`cg_tbl_coupons`.`user_eligibility`, `thecarg_db`.`cg_tbl_coupons`.`discount_value`, `thecarg_db`.`cg_tbl_coupons`.`max_discount`, `thecarg_db`.`cg_tbl_coupons`.`min_order_value`, `thecarg_db`.`cg_tbl_coupons`.`valid_from`, `thecarg_db`.`cg_tbl_coupons`.`valid_to`, `thecarg_db`.`cg_tbl_coupons`.`total_usage_limit`, `thecarg_db`.`cg_tbl_coupons`.`total_uses`, `thecarg_db`.`cg_tbl_coupons`.`usage_per_user`, `thecarg_db`.`cg_tbl_coupons`.`category_restrictions`, `thecarg_db`.`cg_tbl_coupons`.`allow_stacking`, `thecarg_db`.`cg_tbl_coupons`.`module_type`, `thecarg_db`.`cg_tbl_coupons`.`zone_ids`, `thecarg_db`.`cg_tbl_coupons`.`vendor_id`, `thecarg_db`.`cg_tbl_coupons`.`created_at` FROM `thecarg_db`.`cg_tbl_coupons` WHERE (`thecarg_db`.`cg_tbl_coupons`.`status` = ? AND `thecarg_db`.`cg_tbl_coupons`.`applicable_user_type` IN (?,?) AND (`thecarg_db`.`cg_tbl_coupons`.`valid_from` IS NULL OR `thecarg_db`.`cg_tbl_coupons`.`valid_from` <= ?) AND (`thecarg_db`.`cg_tbl_coupons`.`valid_to` IS NULL OR `thecarg_db`.`cg_tbl_coupons`.`valid_to` >= ?)) ORDER BY `thecarg_db`.`cg_tbl_coupons`.`created_at` DESC
prisma:query SELECT COUNT(*) FROM (SELECT `thecarg_db`.`cg_tbl_user_addresses`.`id` FROM `thecarg_db`.`cg_tbl_user_addresses` WHERE (`thecarg_db`.`cg_tbl_user_addresses`.`user_id` = ? AND `thecarg_db`.`cg_tbl_user_addresses`.`role_id` = ? AND `thecarg_db`.`cg_tbl_user_addresses`.`status` = ?)) AS `sub`
prisma:query SELECT COUNT(*) FROM (SELECT `thecarg_db`.`cg_tbl_user_addresses`.`id` FROM `thecarg_db`.`cg_tbl_user_addresses` WHERE (`thecarg_db`.`cg_tbl_user_addresses`.`user_id` = ? AND `thecarg_db`.`cg_tbl_user_addresses`.`role_id` = ? AND `thecarg_db`.`cg_tbl_user_addresses`.`status` = ?)) AS `sub`
prisma:query SELECT COUNT(*) FROM (SELECT `thecarg_db`.`cg_tbl_vehicles_master`.`id` FROM `thecarg_db`.`cg_tbl_vehicles_master` WHERE (`thecarg_db`.`cg_tbl_vehicles_master`.`user_id` = ? AND `thecarg_db`.`cg_tbl_vehicles_master`.`user_role_id` = ? AND `thecarg_db`.`cg_tbl_vehicles_master`.`deleted_status` = ? AND `thecarg_db`.`cg_tbl_vehicles_master`.`status` = ?)) AS `sub`
prisma:query SELECT `thecarg_db`.`cg_tbl_user_addresses`.`id`, `thecarg_db`.`cg_tbl_user_addresses`.`user_id`, `thecarg_db`.`cg_tbl_user_addresses`.`role_id`, `thecarg_db`.`cg_tbl_user_addresses`.`address_title`, `thecarg_db`.`cg_tbl_user_addresses`.`contact_name`, `thecarg_db`.`cg_tbl_user_addresses`.`phone_number`, `thecarg_db`.`cg_tbl_user_addresses`.`flat_house_no`, `thecarg_db`.`cg_tbl_user_addresses`.`area_locality`, `thecarg_db`.`cg_tbl_user_addresses`.`landmark`, `thecarg_db`.`cg_tbl_user_addresses`.`pincode`, `thecarg_db`.`cg_tbl_user_addresses`.`city`, `thecarg_db`.`cg_tbl_user_addresses`.`state`, `thecarg_db`.`cg_tbl_user_addresses`.`latitude`, `thecarg_db`.`cg_tbl_user_addresses`.`longitude`, `thecarg_db`.`cg_tbl_user_addresses`.`full_address`, `thecarg_db`.`cg_tbl_user_addresses`.`is_default`, `thecarg_db`.`cg_tbl_user_addresses`.`status`, `thecarg_db`.`cg_tbl_user_addresses`.`created_at`, `thecarg_db`.`cg_tbl_user_addresses`.`updated_at` FROM `thecarg_db`.`cg_tbl_user_addresses` WHERE (`thecarg_db`.`cg_tbl_user_addresses`.`user_id` = ? AND `thecarg_db`.`cg_tbl_user_addresses`.`role_id` = ? AND `thecarg_db`.`cg_tbl_user_addresses`.`status` = ?) ORDER BY `thecarg_db`.`cg_tbl_user_addresses`.`is_default` DESC, `thecarg_db`.`cg_tbl_user_addresses`.`id` DESC LIMIT ? OFFSET ?
prisma:query SELECT `thecarg_db`.`cg_tbl_user_addresses`.`id`, `thecarg_db`.`cg_tbl_user_addresses`.`user_id`, `thecarg_db`.`cg_tbl_user_addresses`.`role_id`, `thecarg_db`.`cg_tbl_user_addresses`.`address_title`, `thecarg_db`.`cg_tbl_user_addresses`.`contact_name`, `thecarg_db`.`cg_tbl_user_addresses`.`phone_number`, `thecarg_db`.`cg_tbl_user_addresses`.`flat_house_no`, `thecarg_db`.`cg_tbl_user_addresses`.`area_locality`, `thecarg_db`.`cg_tbl_user_addresses`.`landmark`, `thecarg_db`.`cg_tbl_user_addresses`.`pincode`, `thecarg_db`.`cg_tbl_user_addresses`.`city`, `thecarg_db`.`cg_tbl_user_addresses`.`state`, `thecarg_db`.`cg_tbl_user_addresses`.`latitude`, `thecarg_db`.`cg_tbl_user_addresses`.`longitude`, `thecarg_db`.`cg_tbl_user_addresses`.`full_address`, `thecarg_db`.`cg_tbl_user_addresses`.`is_default`, `thecarg_db`.`cg_tbl_user_addresses`.`status`, `thecarg_db`.`cg_tbl_user_addresses`.`created_at`, `thecarg_db`.`cg_tbl_user_addresses`.`updated_at` FROM `thecarg_db`.`cg_tbl_user_addresses` WHERE (`thecarg_db`.`cg_tbl_user_addresses`.`user_id` = ? AND `thecarg_db`.`cg_tbl_user_addresses`.`role_id` = ? AND `thecarg_db`.`cg_tbl_user_addresses`.`status` = ?) ORDER BY `thecarg_db`.`cg_tbl_user_addresses`.`is_default` DESC, `thecarg_db`.`cg_tbl_user_addresses`.`id` DESC LIMIT ? OFFSET ?
prisma:query SELECT `thecarg_db`.`cg_tbl_vehicles_master`.`id`, `thecarg_db`.`cg_tbl_vehicles_master`.`vehicle_no`, `thecarg_db`.`cg_tbl_vehicles_master`.`make`, `thecarg_db`.`cg_tbl_vehicles_master`.`model`, `thecarg_db`.`cg_tbl_vehicles_master`.`year`, `thecarg_db`.`cg_tbl_vehicles_master`.`chassis_no`, `thecarg_db`.`cg_tbl_vehicles_master`.`odometer_reading_km`, `thecarg_db`.`cg_tbl_vehicles_master`.`vehicle_image`, `thecarg_db`.`cg_tbl_vehicles_master`.`vehicle_rc_img`, `thecarg_db`.`cg_tbl_vehicles_master`.`vehicle_class_id`, `thecarg_db`.`cg_tbl_vehicles_master`.`vehicle_fuel_type_id` FROM `thecarg_db`.`cg_tbl_vehicles_master` WHERE (`thecarg_db`.`cg_tbl_vehicles_master`.`user_id` = ? AND `thecarg_db`.`cg_tbl_vehicles_master`.`user_role_id` = ? AND `thecarg_db`.`cg_tbl_vehicles_master`.`deleted_status` = ? AND `thecarg_db`.`cg_tbl_vehicles_master`.`status` = ?) ORDER BY `thecarg_db`.`cg_tbl_vehicles_master`.`id` DESC LIMIT ? OFFSET ?
prisma:query SELECT `thecarg_db`.`cg_tbl_vehicle_classes`.`id`, `thecarg_db`.`cg_tbl_vehicle_classes`.`name`, `thecarg_db`.`cg_tbl_vehicle_classes`.`slug` FROM `thecarg_db`.`cg_tbl_vehicle_classes` WHERE `thecarg_db`.`cg_tbl_vehicle_classes`.`id` IN (?,?)
prisma:query SELECT `thecarg_db`.`cg_tbl_vehicle_fuel_types`.`id`, `thecarg_db`.`cg_tbl_vehicle_fuel_types`.`name`, `thecarg_db`.`cg_tbl_vehicle_fuel_types`.`slug` FROM `thecarg_db`.`cg_tbl_vehicle_fuel_types` WHERE `thecarg_db`.`cg_tbl_vehicle_fuel_types`.`id` IN (?,?)
prisma:query UPDATE `thecarg_db`.`cg_tbl_customers` SET `fcm_token` = ?, `updated_at` = ? WHERE (`thecarg_db`.`cg_tbl_customers`.`id` IN (?) AND (`thecarg_db`.`cg_tbl_customers`.`id` = ? AND 1=1))
prisma:query SELECT `thecarg_db`.`cg_tbl_customers`.`id`, `thecarg_db`.`cg_tbl_customers`.`full_name`, `thecarg_db`.`cg_tbl_customers`.`mobile`, `thecarg_db`.`cg_tbl_customers`.`email`, `thecarg_db`.`cg_tbl_customers`.`profile_photo_file`, `thecarg_db`.`cg_tbl_customers`.`status`, `thecarg_db`.`cg_tbl_customers`.`created_at`, `thecarg_db`.`cg_tbl_customers`.`updated_at`, `thecarg_db`.`cg_tbl_customers`.`date_of_birth`, `thecarg_db`.`cg_tbl_customers`.`fcm_token`, `thecarg_db`.`cg_tbl_customers`.`marriage_date`, `thecarg_db`.`cg_tbl_customers`.`ref_code`, `thecarg_db`.`cg_tbl_customers`.`referred_by` FROM `thecarg_db`.`cg_tbl_customers` WHERE `thecarg_db`.`cg_tbl_customers`.`id` = ? LIMIT ? OFFSET ?
prisma:query COMMIT
prisma:query SELECT `thecarg_db`.`cg_tbl_categories`.`id`, `thecarg_db`.`cg_tbl_categories`.`category_name` FROM `thecarg_db`.`cg_tbl_categories` WHERE `thecarg_db`.`cg_tbl_categories`.`id` IN (?,?,?,?,?,?)
[2026-06-24T12:33:14.778Z] [INFO]: [ZONE_RESOLVE] Resolving zone for coordinates: (13.07281264, 80.19470259)
--------------------------------------------------

prisma:query SELECT id, status, zone_name AS zoneName, zone_code AS zoneCode, ABS(ST_Area(coordinates)) as area 
       FROM cg_tbl_zones 
       WHERE ST_Contains(coordinates, ST_GeomFromText(?))
       ORDER BY area ASC
prisma:query SELECT `thecarg_db`.`cg_tbl_categories`.`id`, `thecarg_db`.`cg_tbl_categories`.`category_name`, `thecarg_db`.`cg_tbl_categories`.`category_image`, `thecarg_db`.`cg_tbl_categories`.`is_accident` FROM `thecarg_db`.`cg_tbl_categories` WHERE (`thecarg_db`.`cg_tbl_categories`.`status` = ? AND (`thecarg_db`.`cg_tbl_categories`.`is_accident` = ? OR (`thecarg_db`.`cg_tbl_categories`.`id`) IN (SELECT `t1`.`category_id` FROM `thecarg_db`.`cg_tbl_category_sub_category_setup` AS `t1` LEFT JOIN `thecarg_db`.`cg_tbl_sub_categories` AS `j2` ON (`j2`.`id`) = (`t1`.`sub_category_id`) WHERE (`t1`.`status` = ? AND (`j2`.`status` = ? AND (`j2`.`id` IS NOT NULL)) AND `t1`.`category_id` IS NOT NULL)))) ORDER BY `thecarg_db`.`cg_tbl_categories`.`id` ASC LIMIT ? OFFSET ?
prisma:query SELECT COUNT(*) FROM (SELECT `thecarg_db`.`cg_tbl_categories`.`id` FROM `thecarg_db`.`cg_tbl_categories` WHERE (`thecarg_db`.`cg_tbl_categories`.`status` = ? AND (`thecarg_db`.`cg_tbl_categories`.`is_accident` = ? OR (`thecarg_db`.`cg_tbl_categories`.`id`) IN (SELECT `t1`.`category_id` FROM `thecarg_db`.`cg_tbl_category_sub_category_setup` AS `t1` LEFT JOIN `thecarg_db`.`cg_tbl_sub_categories` AS `j2` ON (`j2`.`id`) = (`t1`.`sub_category_id`) WHERE (`t1`.`status` = ? AND (`j2`.`status` = ? AND (`j2`.`id` IS NOT NULL)) AND `t1`.`service_type` IN (?,?) AND `t1`.`category_id` IS NOT NULL))))) AS `sub`
prisma:query SELECT COUNT(*) FROM (SELECT `thecarg_db`.`cg_tbl_categories`.`id` FROM `thecarg_db`.`cg_tbl_categories` WHERE (`thecarg_db`.`cg_tbl_categories`.`status` = ? AND (`thecarg_db`.`cg_tbl_categories`.`is_accident` = ? OR (`thecarg_db`.`cg_tbl_categories`.`id`) IN (SELECT `t1`.`category_id` FROM `thecarg_db`.`cg_tbl_category_sub_category_setup` AS `t1` LEFT JOIN `thecarg_db`.`cg_tbl_sub_categories` AS `j2` ON (`j2`.`id`) = (`t1`.`sub_category_id`) WHERE (`t1`.`status` = ? AND (`j2`.`status` = ? AND (`j2`.`id` IS NOT NULL)) AND `t1`.`category_id` IS NOT NULL))))) AS `sub`
prisma:query SELECT `thecarg_db`.`cg_tbl_categories`.`id`, `thecarg_db`.`cg_tbl_categories`.`category_name`, `thecarg_db`.`cg_tbl_categories`.`category_image`, `thecarg_db`.`cg_tbl_categories`.`is_accident` FROM `thecarg_db`.`cg_tbl_categories` WHERE (`thecarg_db`.`cg_tbl_categories`.`status` = ? AND (`thecarg_db`.`cg_tbl_categories`.`is_accident` = ? OR (`thecarg_db`.`cg_tbl_categories`.`id`) IN (SELECT `t1`.`category_id` FROM `thecarg_db`.`cg_tbl_category_sub_category_setup` AS `t1` LEFT JOIN `thecarg_db`.`cg_tbl_sub_categories` AS `j2` ON (`j2`.`id`) = (`t1`.`sub_category_id`) WHERE (`t1`.`status` = ? AND (`j2`.`status` = ? AND (`j2`.`id` IS NOT NULL)) AND `t1`.`service_type` IN (?,?) AND `t1`.`category_id` IS NOT NULL)))) ORDER BY `thecarg_db`.`cg_tbl_categories`.`id` ASC LIMIT ? OFFSET ?
[2026-06-24T12:33:15.569Z] [INFO]: [BANNERS] Fetching banners for zoneIds: [13]
--------------------------------------------------

prisma:query 
      SELECT 
        'admin_banner' AS bannerSource,
        b.id,
        b.title,
        b.banner_image AS bannerImage,
        NULL AS userId,
        NULL AS userRoleId,
        NULL AS productId,
        b.created_at AS createdAt
      FROM cg_tbl_banners b
      WHERE b.status = 1 
        AND b.zone_id IN (?)

      UNION ALL

      SELECT 
        'advertisement' AS bannerSource,
        a.id,
        a.title,
        a.banner_image AS bannerImage,
        a.user_id AS userId,
        a.user_role_id AS userRoleId,
        a.product_id AS productId,
        a.created_at AS createdAt
      FROM cg_tbl_advertisements a
      WHERE a.status = 1 
        AND a.advertisement_type = 'banner'
        AND a.approval_status = 'approved'
        AND a.payment_status = 'paid'
        AND NOW() BETWEEN a.from_date AND a.to_date
        AND a.zone_id IN (?)
      ORDER BY createdAt DESC
    
[32m[nodemon] restarting due to changes...[39m
[32m[nodemon] starting `ts-node-esm src/server.js`[39m
prisma:info Starting a mysql pool with 9 connections.
[2026-06-24T12:33:20.597Z] [INFO]: Successfully connected to the MySQL Database via Prisma!
--------------------------------------------------

prisma:query SELECT `thecarg_db`.`cg_tbl_business_settings`.`id`, `thecarg_db`.`cg_tbl_business_settings`.`key`, `thecarg_db`.`cg_tbl_business_settings`.`value`, `thecarg_db`.`cg_tbl_business_settings`.`created_at`, `thecarg_db`.`cg_tbl_business_settings`.`updated_at` FROM `thecarg_db`.`cg_tbl_business_settings` WHERE `thecarg_db`.`cg_tbl_business_settings`.`key` = ? LIMIT ? OFFSET ?
prisma:query SELECT `thecarg_db`.`cg_tbl_business_settings`.`id`, `thecarg_db`.`cg_tbl_business_settings`.`key`, `thecarg_db`.`cg_tbl_business_settings`.`value`, `thecarg_db`.`cg_tbl_business_settings`.`created_at`, `thecarg_db`.`cg_tbl_business_settings`.`updated_at` FROM `thecarg_db`.`cg_tbl_business_settings` WHERE `thecarg_db`.`cg_tbl_business_settings`.`key` = ? LIMIT ? OFFSET ?
Firebase initialized successfully
[2026-06-24T12:33:20.614Z] [INFO]: Server is running in development mode on port 5000
--------------------------------------------------

[2026-06-24T12:33:20.615Z] [INFO]: Endpoint: http://localhost:5000
--------------------------------------------------

prisma:query SELECT `thecarg_db`.`cg_tbl_zones`.`id` FROM `thecarg_db`.`cg_tbl_zones` WHERE (`thecarg_db`.`cg_tbl_zones`.`id` IN (?,?) AND `thecarg_db`.`cg_tbl_zones`.`status` = ?)
prisma:query SELECT `thecarg_db`.`cg_tbl_sellers`.`id`, `thecarg_db`.`cg_tbl_sellers`.`status`, `thecarg_db`.`cg_tbl_sellers`.`operating_hours`, `thecarg_db`.`cg_tbl_sellers`.`zone` FROM `thecarg_db`.`cg_tbl_sellers` WHERE `thecarg_db`.`cg_tbl_sellers`.`status` = ?
prisma:query SELECT `thecarg_db`.`cg_tbl_products`.`assembly_group_node_id`, `thecarg_db`.`cg_tbl_products`.`generic_article_id` FROM `thecarg_db`.`cg_tbl_products` WHERE (`thecarg_db`.`cg_tbl_products`.`status` = ? AND (`thecarg_db`.`cg_tbl_products`.`id`) IN (SELECT `t1`.`product_id` FROM `thecarg_db`.`cg_tbl_seller_products` AS `t1` WHERE (`t1`.`status` = ? AND `t1`.`is_in_stock` = ? AND `t1`.`seller_id` IN (?) AND `t1`.`product_id` IS NOT NULL))) GROUP BY `thecarg_db`.`cg_tbl_products`.`assembly_group_node_id`, `thecarg_db`.`cg_tbl_products`.`generic_article_id`
prisma:query SELECT `thecarg_db`.`cg_tbl_business_settings`.`id`, `thecarg_db`.`cg_tbl_business_settings`.`key`, `thecarg_db`.`cg_tbl_business_settings`.`value`, `thecarg_db`.`cg_tbl_business_settings`.`created_at`, `thecarg_db`.`cg_tbl_business_settings`.`updated_at` FROM `thecarg_db`.`cg_tbl_business_settings` WHERE `thecarg_db`.`cg_tbl_business_settings`.`key` = ? LIMIT ? OFFSET ?
prisma:query SELECT `thecarg_db`.`cg_tbl_zones`.`id` FROM `thecarg_db`.`cg_tbl_zones` WHERE (`thecarg_db`.`cg_tbl_zones`.`id` IN (?,?) AND `thecarg_db`.`cg_tbl_zones`.`status` = ?)
prisma:query SELECT `thecarg_db`.`cg_tbl_business_settings`.`id`, `thecarg_db`.`cg_tbl_business_settings`.`key`, `thecarg_db`.`cg_tbl_business_settings`.`value`, `thecarg_db`.`cg_tbl_business_settings`.`created_at`, `thecarg_db`.`cg_tbl_business_settings`.`updated_at` FROM `thecarg_db`.`cg_tbl_business_settings` WHERE `thecarg_db`.`cg_tbl_business_settings`.`key` = ? LIMIT ? OFFSET ?
prisma:query SELECT `thecarg_db`.`cg_tbl_business_settings`.`id`, `thecarg_db`.`cg_tbl_business_settings`.`key`, `thecarg_db`.`cg_tbl_business_settings`.`value`, `thecarg_db`.`cg_tbl_business_settings`.`created_at`, `thecarg_db`.`cg_tbl_business_settings`.`updated_at` FROM `thecarg_db`.`cg_tbl_business_settings` WHERE `thecarg_db`.`cg_tbl_business_settings`.`key` = ? LIMIT ? OFFSET ?
prisma:query SELECT `thecarg_db`.`cg_tbl_business_settings`.`id`, `thecarg_db`.`cg_tbl_business_settings`.`key`, `thecarg_db`.`cg_tbl_business_settings`.`value`, `thecarg_db`.`cg_tbl_business_settings`.`created_at`, `thecarg_db`.`cg_tbl_business_settings`.`updated_at` FROM `thecarg_db`.`cg_tbl_business_settings` WHERE `thecarg_db`.`cg_tbl_business_settings`.`key` = ? LIMIT ? OFFSET ?
[2026-06-24T12:33:20.818Z] [INFO]: TecDoc → getGenericArticles | provider: 25791 | country: IN | url: https://webservice.tecalliance.services/pegasus-3-0/services/TecdocToCatDLB.jsonEndpoint
--------------------------------------------------

prisma:query SELECT `thecarg_db`.`cg_tbl_sellers`.`id`, `thecarg_db`.`cg_tbl_sellers`.`status`, `thecarg_db`.`cg_tbl_sellers`.`operating_hours`, `thecarg_db`.`cg_tbl_sellers`.`zone` FROM `thecarg_db`.`cg_tbl_sellers` WHERE `thecarg_db`.`cg_tbl_sellers`.`status` = ?
prisma:query SELECT COUNT(`thecarg_db`.`cg_tbl_products`.`id`), `thecarg_db`.`cg_tbl_products`.`techdoc_brand_id` FROM `thecarg_db`.`cg_tbl_products` WHERE (`thecarg_db`.`cg_tbl_products`.`status` = ? AND (`thecarg_db`.`cg_tbl_products`.`id`) IN (SELECT `t1`.`product_id` FROM `thecarg_db`.`cg_tbl_seller_products` AS `t1` WHERE (`t1`.`status` = ? AND `t1`.`is_in_stock` = ? AND `t1`.`seller_id` IN (?) AND `t1`.`product_id` IS NOT NULL))) GROUP BY `thecarg_db`.`cg_tbl_products`.`techdoc_brand_id`
prisma:query SELECT COUNT(`thecarg_db`.`cg_tbl_products`.`id`), `thecarg_db`.`cg_tbl_products`.`techdoc_brand_id`, `thecarg_db`.`cg_tbl_products`.`brand_name` FROM `thecarg_db`.`cg_tbl_products` WHERE (`thecarg_db`.`cg_tbl_products`.`status` = ? AND (`thecarg_db`.`cg_tbl_products`.`id`) IN (SELECT `t1`.`product_id` FROM `thecarg_db`.`cg_tbl_seller_products` AS `t1` WHERE (`t1`.`status` = ? AND `t1`.`is_in_stock` = ? AND `t1`.`seller_id` IN (?) AND `t1`.`product_id` IS NOT NULL))) GROUP BY `thecarg_db`.`cg_tbl_products`.`techdoc_brand_id`, `thecarg_db`.`cg_tbl_products`.`brand_name` ORDER BY `thecarg_db`.`cg_tbl_products`.`techdoc_brand_id` ASC LIMIT ? OFFSET ?
[2026-06-24T12:33:20.916Z] [INFO]: TecDoc → getBrands | provider: 25791 | country: IN | url: https://webservice.tecalliance.services/pegasus-3-0/services/TecdocToCatDLB.jsonEndpoint
--------------------------------------------------

[32m[nodemon] restarting due to changes...[39m
[32m[nodemon] starting `ts-node-esm src/server.js`[39m
prisma:info Starting a mysql pool with 9 connections.
[2026-06-24T12:33:24.920Z] [INFO]: Successfully connected to the MySQL Database via Prisma!
--------------------------------------------------

prisma:query SELECT `thecarg_db`.`cg_tbl_business_settings`.`id`, `thecarg_db`.`cg_tbl_business_settings`.`key`, `thecarg_db`.`cg_tbl_business_settings`.`value`, `thecarg_db`.`cg_tbl_business_settings`.`created_at`, `thecarg_db`.`cg_tbl_business_settings`.`updated_at` FROM `thecarg_db`.`cg_tbl_business_settings` WHERE `thecarg_db`.`cg_tbl_business_settings`.`key` = ? LIMIT ? OFFSET ?
prisma:query SELECT `thecarg_db`.`cg_tbl_business_settings`.`id`, `thecarg_db`.`cg_tbl_business_settings`.`key`, `thecarg_db`.`cg_tbl_business_settings`.`value`, `thecarg_db`.`cg_tbl_business_settings`.`created_at`, `thecarg_db`.`cg_tbl_business_settings`.`updated_at` FROM `thecarg_db`.`cg_tbl_business_settings` WHERE `thecarg_db`.`cg_tbl_business_settings`.`key` = ? LIMIT ? OFFSET ?
Firebase initialized successfully
[2026-06-24T12:33:24.947Z] [INFO]: Server is running in development mode on port 5000
--------------------------------------------------

[2026-06-24T12:33:24.950Z] [INFO]: Endpoint: http://localhost:5000
--------------------------------------------------

[2026-06-24T12:33:26.046Z] [INFO]: [ZONE_RESOLVE] Resolving zone for coordinates: (13.07281264, 80.19470259)
--------------------------------------------------

prisma:query SELECT id, status, zone_name AS zoneName, zone_code AS zoneCode, ABS(ST_Area(coordinates)) as area 
       FROM cg_tbl_zones 
       WHERE ST_Contains(coordinates, ST_GeomFromText(?))
       ORDER BY area ASC
[2026-06-24T12:33:26.076Z] [INFO]: [BANNERS] Fetching banners for zoneIds: [13]
--------------------------------------------------

prisma:query 
      SELECT 
        'admin_banner' AS bannerSource,
        b.id,
        b.title,
        b.banner_image AS bannerImage,
        NULL AS userId,
        NULL AS userRoleId,
        NULL AS productId,
        b.created_at AS createdAt
      FROM cg_tbl_banners b
      WHERE b.status = 1 
        AND b.zone_id IN (?)

      UNION ALL

      SELECT 
        'advertisement' AS bannerSource,
        a.id,
        a.title,
        a.banner_image AS bannerImage,
        a.user_id AS userId,
        a.user_role_id AS userRoleId,
        a.product_id AS productId,
        a.created_at AS createdAt
      FROM cg_tbl_advertisements a
      WHERE a.status = 1 
        AND a.advertisement_type = 'banner'
        AND a.approval_status = 'approved'
        AND a.payment_status = 'paid'
        AND NOW() BETWEEN a.from_date AND a.to_date
        AND a.zone_id IN (?)
      ORDER BY createdAt DESC
    
prisma:query SELECT `thecarg_db`.`cg_tbl_business_settings`.`id`, `thecarg_db`.`cg_tbl_business_settings`.`key`, `thecarg_db`.`cg_tbl_business_settings`.`value`, `thecarg_db`.`cg_tbl_business_settings`.`created_at`, `thecarg_db`.`cg_tbl_business_settings`.`updated_at` FROM `thecarg_db`.`cg_tbl_business_settings` WHERE `thecarg_db`.`cg_tbl_business_settings`.`key` IN (?,?,?,?)
prisma:query SELECT `thecarg_db`.`cg_tbl_vehicle_fuel_types`.`id`, `thecarg_db`.`cg_tbl_vehicle_fuel_types`.`name`, `thecarg_db`.`cg_tbl_vehicle_fuel_types`.`slug` FROM `thecarg_db`.`cg_tbl_vehicle_fuel_types` WHERE `thecarg_db`.`cg_tbl_vehicle_fuel_types`.`status` = ? ORDER BY `thecarg_db`.`cg_tbl_vehicle_fuel_types`.`name` ASC
prisma:query SELECT `thecarg_db`.`cg_tbl_customers`.`id`, `thecarg_db`.`cg_tbl_customers`.`full_name`, `thecarg_db`.`cg_tbl_customers`.`mobile`, `thecarg_db`.`cg_tbl_customers`.`email`, `thecarg_db`.`cg_tbl_customers`.`profile_photo_file`, `thecarg_db`.`cg_tbl_customers`.`status`, `thecarg_db`.`cg_tbl_customers`.`created_at`, `thecarg_db`.`cg_tbl_customers`.`updated_at`, `thecarg_db`.`cg_tbl_customers`.`date_of_birth`, `thecarg_db`.`cg_tbl_customers`.`fcm_token`, `thecarg_db`.`cg_tbl_customers`.`marriage_date`, `thecarg_db`.`cg_tbl_customers`.`ref_code`, `thecarg_db`.`cg_tbl_customers`.`referred_by` FROM `thecarg_db`.`cg_tbl_customers` WHERE `thecarg_db`.`cg_tbl_customers`.`id` = ? LIMIT ? OFFSET ?
prisma:query SELECT `thecarg_db`.`cg_tbl_gig_reasons`.`id`, `thecarg_db`.`cg_tbl_gig_reasons`.`reason` FROM `thecarg_db`.`cg_tbl_gig_reasons` WHERE `thecarg_db`.`cg_tbl_gig_reasons`.`status` = ? ORDER BY `thecarg_db`.`cg_tbl_gig_reasons`.`id` ASC
prisma:query SELECT `thecarg_db`.`cg_tbl_vehicle_classes`.`id`, `thecarg_db`.`cg_tbl_vehicle_classes`.`name`, `thecarg_db`.`cg_tbl_vehicle_classes`.`slug` FROM `thecarg_db`.`cg_tbl_vehicle_classes` WHERE `thecarg_db`.`cg_tbl_vehicle_classes`.`status` = ? ORDER BY `thecarg_db`.`cg_tbl_vehicle_classes`.`name` ASC
prisma:query SELECT COUNT(*) FROM (SELECT `thecarg_db`.`cg_tbl_categories`.`id` FROM `thecarg_db`.`cg_tbl_categories` WHERE (`thecarg_db`.`cg_tbl_categories`.`status` = ? AND (`thecarg_db`.`cg_tbl_categories`.`is_accident` = ? OR (`thecarg_db`.`cg_tbl_categories`.`id`) IN (SELECT `t1`.`category_id` FROM `thecarg_db`.`cg_tbl_category_sub_category_setup` AS `t1` LEFT JOIN `thecarg_db`.`cg_tbl_sub_categories` AS `j2` ON (`j2`.`id`) = (`t1`.`sub_category_id`) WHERE (`t1`.`status` = ? AND (`j2`.`status` = ? AND (`j2`.`id` IS NOT NULL)) AND `t1`.`service_type` IN (?,?) AND `t1`.`category_id` IS NOT NULL))))) AS `sub`
prisma:query SELECT `thecarg_db`.`cg_tbl_categories`.`id`, `thecarg_db`.`cg_tbl_categories`.`category_name`, `thecarg_db`.`cg_tbl_categories`.`category_image`, `thecarg_db`.`cg_tbl_categories`.`is_accident` FROM `thecarg_db`.`cg_tbl_categories` WHERE (`thecarg_db`.`cg_tbl_categories`.`status` = ? AND (`thecarg_db`.`cg_tbl_categories`.`is_accident` = ? OR (`thecarg_db`.`cg_tbl_categories`.`id`) IN (SELECT `t1`.`category_id` FROM `thecarg_db`.`cg_tbl_category_sub_category_setup` AS `t1` LEFT JOIN `thecarg_db`.`cg_tbl_sub_categories` AS `j2` ON (`j2`.`id`) = (`t1`.`sub_category_id`) WHERE (`t1`.`status` = ? AND (`j2`.`status` = ? AND (`j2`.`id` IS NOT NULL)) AND `t1`.`service_type` IN (?,?) AND `t1`.`category_id` IS NOT NULL)))) ORDER BY `thecarg_db`.`cg_tbl_categories`.`id` ASC LIMIT ? OFFSET ?
prisma:query SELECT `thecarg_db`.`cg_tbl_categories`.`id`, `thecarg_db`.`cg_tbl_categories`.`category_name`, `thecarg_db`.`cg_tbl_categories`.`category_image`, `thecarg_db`.`cg_tbl_categories`.`is_accident` FROM `thecarg_db`.`cg_tbl_categories` WHERE (`thecarg_db`.`cg_tbl_categories`.`status` = ? AND (`thecarg_db`.`cg_tbl_categories`.`is_accident` = ? OR (`thecarg_db`.`cg_tbl_categories`.`id`) IN (SELECT `t1`.`category_id` FROM `thecarg_db`.`cg_tbl_category_sub_category_setup` AS `t1` LEFT JOIN `thecarg_db`.`cg_tbl_sub_categories` AS `j2` ON (`j2`.`id`) = (`t1`.`sub_category_id`) WHERE (`t1`.`status` = ? AND (`j2`.`status` = ? AND (`j2`.`id` IS NOT NULL)) AND `t1`.`category_id` IS NOT NULL)))) ORDER BY `thecarg_db`.`cg_tbl_categories`.`id` ASC LIMIT ? OFFSET ?
prisma:query SELECT `thecarg_db`.`cg_tbl_customers`.`id`, `thecarg_db`.`cg_tbl_customers`.`full_name`, `thecarg_db`.`cg_tbl_customers`.`mobile`, `thecarg_db`.`cg_tbl_customers`.`email`, `thecarg_db`.`cg_tbl_customers`.`profile_photo_file`, `thecarg_db`.`cg_tbl_customers`.`status`, `thecarg_db`.`cg_tbl_customers`.`created_at`, `thecarg_db`.`cg_tbl_customers`.`updated_at`, `thecarg_db`.`cg_tbl_customers`.`date_of_birth`, `thecarg_db`.`cg_tbl_customers`.`fcm_token`, `thecarg_db`.`cg_tbl_customers`.`marriage_date`, `thecarg_db`.`cg_tbl_customers`.`ref_code`, `thecarg_db`.`cg_tbl_customers`.`referred_by` FROM `thecarg_db`.`cg_tbl_customers` WHERE (`thecarg_db`.`cg_tbl_customers`.`id` = ? AND 1=1) LIMIT ? OFFSET ?
prisma:query SELECT `thecarg_db`.`cg_tbl_customers`.`id`, `thecarg_db`.`cg_tbl_customers`.`full_name`, `thecarg_db`.`cg_tbl_customers`.`mobile`, `thecarg_db`.`cg_tbl_customers`.`email`, `thecarg_db`.`cg_tbl_customers`.`profile_photo_file`, `thecarg_db`.`cg_tbl_customers`.`status`, `thecarg_db`.`cg_tbl_customers`.`created_at`, `thecarg_db`.`cg_tbl_customers`.`updated_at`, `thecarg_db`.`cg_tbl_customers`.`date_of_birth`, `thecarg_db`.`cg_tbl_customers`.`fcm_token`, `thecarg_db`.`cg_tbl_customers`.`marriage_date`, `thecarg_db`.`cg_tbl_customers`.`ref_code`, `thecarg_db`.`cg_tbl_customers`.`referred_by` FROM `thecarg_db`.`cg_tbl_customers` WHERE (`thecarg_db`.`cg_tbl_customers`.`id` = ? AND 1=1) LIMIT ? OFFSET ?
prisma:query SELECT COUNT(*) FROM (SELECT `thecarg_db`.`cg_tbl_categories`.`id` FROM `thecarg_db`.`cg_tbl_categories` WHERE (`thecarg_db`.`cg_tbl_categories`.`status` = ? AND (`thecarg_db`.`cg_tbl_categories`.`is_accident` = ? OR (`thecarg_db`.`cg_tbl_categories`.`id`) IN (SELECT `t1`.`category_id` FROM `thecarg_db`.`cg_tbl_category_sub_category_setup` AS `t1` LEFT JOIN `thecarg_db`.`cg_tbl_sub_categories` AS `j2` ON (`j2`.`id`) = (`t1`.`sub_category_id`) WHERE (`t1`.`status` = ? AND (`j2`.`status` = ? AND (`j2`.`id` IS NOT NULL)) AND `t1`.`category_id` IS NOT NULL))))) AS `sub`
prisma:query SELECT `thecarg_db`.`cg_tbl_business_settings`.`id`, `thecarg_db`.`cg_tbl_business_settings`.`key`, `thecarg_db`.`cg_tbl_business_settings`.`value`, `thecarg_db`.`cg_tbl_business_settings`.`created_at`, `thecarg_db`.`cg_tbl_business_settings`.`updated_at` FROM `thecarg_db`.`cg_tbl_business_settings` WHERE (`thecarg_db`.`cg_tbl_business_settings`.`key` = ? AND 1=1) LIMIT ? OFFSET ?
prisma:query SELECT `thecarg_db`.`cg_tbl_business_settings`.`id`, `thecarg_db`.`cg_tbl_business_settings`.`key`, `thecarg_db`.`cg_tbl_business_settings`.`value`, `thecarg_db`.`cg_tbl_business_settings`.`created_at`, `thecarg_db`.`cg_tbl_business_settings`.`updated_at` FROM `thecarg_db`.`cg_tbl_business_settings` WHERE (`thecarg_db`.`cg_tbl_business_settings`.`key` = ? AND 1=1) LIMIT ? OFFSET ?
prisma:query SELECT `thecarg_db`.`cg_tbl_business_settings`.`id`, `thecarg_db`.`cg_tbl_business_settings`.`key`, `thecarg_db`.`cg_tbl_business_settings`.`value`, `thecarg_db`.`cg_tbl_business_settings`.`created_at`, `thecarg_db`.`cg_tbl_business_settings`.`updated_at` FROM `thecarg_db`.`cg_tbl_business_settings` WHERE `thecarg_db`.`cg_tbl_business_settings`.`key` IN (?,?,?,?)
prisma:query SELECT `thecarg_db`.`cg_tbl_vehicle_classes`.`id`, `thecarg_db`.`cg_tbl_vehicle_classes`.`name`, `thecarg_db`.`cg_tbl_vehicle_classes`.`slug` FROM `thecarg_db`.`cg_tbl_vehicle_classes` WHERE `thecarg_db`.`cg_tbl_vehicle_classes`.`status` = ? ORDER BY `thecarg_db`.`cg_tbl_vehicle_classes`.`name` ASC
prisma:query SELECT `thecarg_db`.`cg_tbl_vehicle_fuel_types`.`id`, `thecarg_db`.`cg_tbl_vehicle_fuel_types`.`name`, `thecarg_db`.`cg_tbl_vehicle_fuel_types`.`slug` FROM `thecarg_db`.`cg_tbl_vehicle_fuel_types` WHERE `thecarg_db`.`cg_tbl_vehicle_fuel_types`.`status` = ? ORDER BY `thecarg_db`.`cg_tbl_vehicle_fuel_types`.`name` ASC
prisma:query SELECT `thecarg_db`.`cg_tbl_user_roles`.`id`, `thecarg_db`.`cg_tbl_user_roles`.`role_name`, `thecarg_db`.`cg_tbl_user_roles`.`role_slug`, `thecarg_db`.`cg_tbl_user_roles`.`status`, `thecarg_db`.`cg_tbl_user_roles`.`created_at`, `thecarg_db`.`cg_tbl_user_roles`.`updated_at` FROM `thecarg_db`.`cg_tbl_user_roles` WHERE `thecarg_db`.`cg_tbl_user_roles`.`role_slug` = ? LIMIT ? OFFSET ?
prisma:query SELECT `thecarg_db`.`cg_tbl_gig_reasons`.`id`, `thecarg_db`.`cg_tbl_gig_reasons`.`reason` FROM `thecarg_db`.`cg_tbl_gig_reasons` WHERE `thecarg_db`.`cg_tbl_gig_reasons`.`status` = ? ORDER BY `thecarg_db`.`cg_tbl_gig_reasons`.`id` ASC
prisma:query SELECT `thecarg_db`.`cg_tbl_user_roles`.`id`, `thecarg_db`.`cg_tbl_user_roles`.`role_name`, `thecarg_db`.`cg_tbl_user_roles`.`role_slug`, `thecarg_db`.`cg_tbl_user_roles`.`status`, `thecarg_db`.`cg_tbl_user_roles`.`created_at`, `thecarg_db`.`cg_tbl_user_roles`.`updated_at` FROM `thecarg_db`.`cg_tbl_user_roles` WHERE `thecarg_db`.`cg_tbl_user_roles`.`role_slug` = ? LIMIT ? OFFSET ?
prisma:query SELECT `thecarg_db`.`cg_tbl_business_settings`.`id`, `thecarg_db`.`cg_tbl_business_settings`.`key`, `thecarg_db`.`cg_tbl_business_settings`.`value`, `thecarg_db`.`cg_tbl_business_settings`.`created_at`, `thecarg_db`.`cg_tbl_business_settings`.`updated_at` FROM `thecarg_db`.`cg_tbl_business_settings` WHERE (`thecarg_db`.`cg_tbl_business_settings`.`key` = ? AND 1=1) LIMIT ? OFFSET ?
prisma:query SELECT `thecarg_db`.`cg_tbl_customers`.`id`, `thecarg_db`.`cg_tbl_customers`.`full_name`, `thecarg_db`.`cg_tbl_customers`.`mobile`, `thecarg_db`.`cg_tbl_customers`.`email`, `thecarg_db`.`cg_tbl_customers`.`profile_photo_file`, `thecarg_db`.`cg_tbl_customers`.`status`, `thecarg_db`.`cg_tbl_customers`.`created_at`, `thecarg_db`.`cg_tbl_customers`.`updated_at`, `thecarg_db`.`cg_tbl_customers`.`date_of_birth`, `thecarg_db`.`cg_tbl_customers`.`fcm_token`, `thecarg_db`.`cg_tbl_customers`.`marriage_date`, `thecarg_db`.`cg_tbl_customers`.`ref_code`, `thecarg_db`.`cg_tbl_customers`.`referred_by` FROM `thecarg_db`.`cg_tbl_customers` WHERE (`thecarg_db`.`cg_tbl_customers`.`id` = ? AND 1=1) LIMIT ? OFFSET ?
prisma:query SELECT `thecarg_db`.`cg_tbl_coupons`.`id`, `thecarg_db`.`cg_tbl_coupons`.`coupon_code`, `thecarg_db`.`cg_tbl_coupons`.`title`, `thecarg_db`.`cg_tbl_coupons`.`coupon_type`, `thecarg_db`.`cg_tbl_coupons`.`applicable_user_type`, `thecarg_db`.`cg_tbl_coupons`.`user_eligibility`, `thecarg_db`.`cg_tbl_coupons`.`discount_value`, `thecarg_db`.`cg_tbl_coupons`.`max_discount`, `thecarg_db`.`cg_tbl_coupons`.`min_order_value`, `thecarg_db`.`cg_tbl_coupons`.`valid_from`, `thecarg_db`.`cg_tbl_coupons`.`valid_to`, `thecarg_db`.`cg_tbl_coupons`.`total_usage_limit`, `thecarg_db`.`cg_tbl_coupons`.`total_uses`, `thecarg_db`.`cg_tbl_coupons`.`usage_per_user`, `thecarg_db`.`cg_tbl_coupons`.`category_restrictions`, `thecarg_db`.`cg_tbl_coupons`.`allow_stacking`, `thecarg_db`.`cg_tbl_coupons`.`module_type`, `thecarg_db`.`cg_tbl_coupons`.`zone_ids`, `thecarg_db`.`cg_tbl_coupons`.`vendor_id`, `thecarg_db`.`cg_tbl_coupons`.`created_at` FROM `thecarg_db`.`cg_tbl_coupons` WHERE (`thecarg_db`.`cg_tbl_coupons`.`status` = ? AND `thecarg_db`.`cg_tbl_coupons`.`applicable_user_type` IN (?,?) AND (`thecarg_db`.`cg_tbl_coupons`.`valid_from` IS NULL OR `thecarg_db`.`cg_tbl_coupons`.`valid_from` <= ?) AND (`thecarg_db`.`cg_tbl_coupons`.`valid_to` IS NULL OR `thecarg_db`.`cg_tbl_coupons`.`valid_to` >= ?)) ORDER BY `thecarg_db`.`cg_tbl_coupons`.`created_at` DESC
prisma:query SELECT COUNT(*) FROM (SELECT `thecarg_db`.`cg_table_tutorials`.`id` FROM `thecarg_db`.`cg_table_tutorials` WHERE (`thecarg_db`.`cg_table_tutorials`.`role_id` = ? AND `thecarg_db`.`cg_table_tutorials`.`status` = ?)) AS `sub`
prisma:query SELECT `thecarg_db`.`cg_table_tutorials`.`id`, `thecarg_db`.`cg_table_tutorials`.`role_id`, `thecarg_db`.`cg_table_tutorials`.`youtube_url`, `thecarg_db`.`cg_table_tutorials`.`status`, `thecarg_db`.`cg_table_tutorials`.`created_at`, `thecarg_db`.`cg_table_tutorials`.`created_by`, `thecarg_db`.`cg_table_tutorials`.`updated_at` FROM `thecarg_db`.`cg_table_tutorials` WHERE (`thecarg_db`.`cg_table_tutorials`.`role_id` = ? AND `thecarg_db`.`cg_table_tutorials`.`status` = ?) ORDER BY `thecarg_db`.`cg_table_tutorials`.`created_at` DESC LIMIT ? OFFSET ?
prisma:query SELECT `thecarg_db`.`cg_tbl_user_roles`.`id`, `thecarg_db`.`cg_tbl_user_roles`.`role_name`, `thecarg_db`.`cg_tbl_user_roles`.`role_slug`, `thecarg_db`.`cg_tbl_user_roles`.`status`, `thecarg_db`.`cg_tbl_user_roles`.`created_at`, `thecarg_db`.`cg_tbl_user_roles`.`updated_at` FROM `thecarg_db`.`cg_tbl_user_roles` WHERE `thecarg_db`.`cg_tbl_user_roles`.`role_slug` = ? LIMIT ? OFFSET ?
prisma:query SELECT `thecarg_db`.`cg_tbl_user_roles`.`id`, `thecarg_db`.`cg_tbl_user_roles`.`role_name`, `thecarg_db`.`cg_tbl_user_roles`.`role_slug`, `thecarg_db`.`cg_tbl_user_roles`.`status`, `thecarg_db`.`cg_tbl_user_roles`.`created_at`, `thecarg_db`.`cg_tbl_user_roles`.`updated_at` FROM `thecarg_db`.`cg_tbl_user_roles` WHERE `thecarg_db`.`cg_tbl_user_roles`.`role_slug` = ? LIMIT ? OFFSET ?
prisma:query SELECT COUNT(*) FROM (SELECT `thecarg_db`.`cg_tbl_vehicles_master`.`id` FROM `thecarg_db`.`cg_tbl_vehicles_master` WHERE (`thecarg_db`.`cg_tbl_vehicles_master`.`user_id` = ? AND `thecarg_db`.`cg_tbl_vehicles_master`.`user_role_id` = ? AND `thecarg_db`.`cg_tbl_vehicles_master`.`deleted_status` = ? AND `thecarg_db`.`cg_tbl_vehicles_master`.`status` = ?)) AS `sub`
prisma:query SELECT COUNT(*) FROM (SELECT `thecarg_db`.`cg_tbl_user_notifications`.`id` FROM `thecarg_db`.`cg_tbl_user_notifications` WHERE (`thecarg_db`.`cg_tbl_user_notifications`.`user_id` = ? AND `thecarg_db`.`cg_tbl_user_notifications`.`user_role_id` = ? AND `thecarg_db`.`cg_tbl_user_notifications`.`platform` = ?)) AS `sub`
prisma:query SELECT `thecarg_db`.`cg_tbl_user_notifications`.`id`, `thecarg_db`.`cg_tbl_user_notifications`.`user_id`, `thecarg_db`.`cg_tbl_user_notifications`.`user_role_id`, `thecarg_db`.`cg_tbl_user_notifications`.`data`, `thecarg_db`.`cg_tbl_user_notifications`.`platform`, `thecarg_db`.`cg_tbl_user_notifications`.`is_read`, `thecarg_db`.`cg_tbl_user_notifications`.`created_at` FROM `thecarg_db`.`cg_tbl_user_notifications` WHERE (`thecarg_db`.`cg_tbl_user_notifications`.`user_id` = ? AND `thecarg_db`.`cg_tbl_user_notifications`.`user_role_id` = ? AND `thecarg_db`.`cg_tbl_user_notifications`.`platform` = ?) ORDER BY `thecarg_db`.`cg_tbl_user_notifications`.`created_at` DESC LIMIT ? OFFSET ?
prisma:query BEGIN
prisma:query SELECT `thecarg_db`.`cg_tbl_customers`.`id` FROM `thecarg_db`.`cg_tbl_customers` WHERE (`thecarg_db`.`cg_tbl_customers`.`id` = ? AND 1=1)
prisma:query UPDATE `thecarg_db`.`cg_tbl_customers` SET `fcm_token` = ?, `updated_at` = ? WHERE (`thecarg_db`.`cg_tbl_customers`.`id` IN (?) AND (`thecarg_db`.`cg_tbl_customers`.`id` = ? AND 1=1))
prisma:query SELECT `thecarg_db`.`cg_tbl_customers`.`id`, `thecarg_db`.`cg_tbl_customers`.`full_name`, `thecarg_db`.`cg_tbl_customers`.`mobile`, `thecarg_db`.`cg_tbl_customers`.`email`, `thecarg_db`.`cg_tbl_customers`.`profile_photo_file`, `thecarg_db`.`cg_tbl_customers`.`status`, `thecarg_db`.`cg_tbl_customers`.`created_at`, `thecarg_db`.`cg_tbl_customers`.`updated_at`, `thecarg_db`.`cg_tbl_customers`.`date_of_birth`, `thecarg_db`.`cg_tbl_customers`.`fcm_token`, `thecarg_db`.`cg_tbl_customers`.`marriage_date`, `thecarg_db`.`cg_tbl_customers`.`ref_code`, `thecarg_db`.`cg_tbl_customers`.`referred_by` FROM `thecarg_db`.`cg_tbl_customers` WHERE `thecarg_db`.`cg_tbl_customers`.`id` = ? LIMIT ? OFFSET ?
prisma:query COMMIT
prisma:query SELECT `thecarg_db`.`cg_tbl_categories`.`id`, `thecarg_db`.`cg_tbl_categories`.`category_name` FROM `thecarg_db`.`cg_tbl_categories` WHERE `thecarg_db`.`cg_tbl_categories`.`id` IN (?,?,?,?,?,?)
prisma:query SELECT `thecarg_db`.`cg_tbl_vehicles_master`.`id`, `thecarg_db`.`cg_tbl_vehicles_master`.`vehicle_no`, `thecarg_db`.`cg_tbl_vehicles_master`.`make`, `thecarg_db`.`cg_tbl_vehicles_master`.`model`, `thecarg_db`.`cg_tbl_vehicles_master`.`year`, `thecarg_db`.`cg_tbl_vehicles_master`.`chassis_no`, `thecarg_db`.`cg_tbl_vehicles_master`.`odometer_reading_km`, `thecarg_db`.`cg_tbl_vehicles_master`.`vehicle_image`, `thecarg_db`.`cg_tbl_vehicles_master`.`vehicle_rc_img`, `thecarg_db`.`cg_tbl_vehicles_master`.`vehicle_class_id`, `thecarg_db`.`cg_tbl_vehicles_master`.`vehicle_fuel_type_id` FROM `thecarg_db`.`cg_tbl_vehicles_master` WHERE (`thecarg_db`.`cg_tbl_vehicles_master`.`user_id` = ? AND `thecarg_db`.`cg_tbl_vehicles_master`.`user_role_id` = ? AND `thecarg_db`.`cg_tbl_vehicles_master`.`deleted_status` = ? AND `thecarg_db`.`cg_tbl_vehicles_master`.`status` = ?) ORDER BY `thecarg_db`.`cg_tbl_vehicles_master`.`id` DESC LIMIT ? OFFSET ?
prisma:query SELECT `thecarg_db`.`cg_tbl_vehicle_classes`.`id`, `thecarg_db`.`cg_tbl_vehicle_classes`.`name`, `thecarg_db`.`cg_tbl_vehicle_classes`.`slug` FROM `thecarg_db`.`cg_tbl_vehicle_classes` WHERE `thecarg_db`.`cg_tbl_vehicle_classes`.`id` IN (?,?)
prisma:query SELECT `thecarg_db`.`cg_tbl_vehicle_fuel_types`.`id`, `thecarg_db`.`cg_tbl_vehicle_fuel_types`.`name`, `thecarg_db`.`cg_tbl_vehicle_fuel_types`.`slug` FROM `thecarg_db`.`cg_tbl_vehicle_fuel_types` WHERE `thecarg_db`.`cg_tbl_vehicle_fuel_types`.`id` IN (?,?)
prisma:query SELECT COUNT(*) FROM (SELECT `thecarg_db`.`cg_tbl_user_addresses`.`id` FROM `thecarg_db`.`cg_tbl_user_addresses` WHERE (`thecarg_db`.`cg_tbl_user_addresses`.`user_id` = ? AND `thecarg_db`.`cg_tbl_user_addresses`.`role_id` = ? AND `thecarg_db`.`cg_tbl_user_addresses`.`status` = ?)) AS `sub`
prisma:query SELECT COUNT(*) FROM (SELECT `thecarg_db`.`cg_tbl_user_addresses`.`id` FROM `thecarg_db`.`cg_tbl_user_addresses` WHERE (`thecarg_db`.`cg_tbl_user_addresses`.`user_id` = ? AND `thecarg_db`.`cg_tbl_user_addresses`.`role_id` = ? AND `thecarg_db`.`cg_tbl_user_addresses`.`status` = ?)) AS `sub`
prisma:query SELECT `thecarg_db`.`cg_tbl_user_addresses`.`id`, `thecarg_db`.`cg_tbl_user_addresses`.`user_id`, `thecarg_db`.`cg_tbl_user_addresses`.`role_id`, `thecarg_db`.`cg_tbl_user_addresses`.`address_title`, `thecarg_db`.`cg_tbl_user_addresses`.`contact_name`, `thecarg_db`.`cg_tbl_user_addresses`.`phone_number`, `thecarg_db`.`cg_tbl_user_addresses`.`flat_house_no`, `thecarg_db`.`cg_tbl_user_addresses`.`area_locality`, `thecarg_db`.`cg_tbl_user_addresses`.`landmark`, `thecarg_db`.`cg_tbl_user_addresses`.`pincode`, `thecarg_db`.`cg_tbl_user_addresses`.`city`, `thecarg_db`.`cg_tbl_user_addresses`.`state`, `thecarg_db`.`cg_tbl_user_addresses`.`latitude`, `thecarg_db`.`cg_tbl_user_addresses`.`longitude`, `thecarg_db`.`cg_tbl_user_addresses`.`full_address`, `thecarg_db`.`cg_tbl_user_addresses`.`is_default`, `thecarg_db`.`cg_tbl_user_addresses`.`status`, `thecarg_db`.`cg_tbl_user_addresses`.`created_at`, `thecarg_db`.`cg_tbl_user_addresses`.`updated_at` FROM `thecarg_db`.`cg_tbl_user_addresses` WHERE (`thecarg_db`.`cg_tbl_user_addresses`.`user_id` = ? AND `thecarg_db`.`cg_tbl_user_addresses`.`role_id` = ? AND `thecarg_db`.`cg_tbl_user_addresses`.`status` = ?) ORDER BY `thecarg_db`.`cg_tbl_user_addresses`.`is_default` DESC, `thecarg_db`.`cg_tbl_user_addresses`.`id` DESC LIMIT ? OFFSET ?
prisma:query SELECT `thecarg_db`.`cg_tbl_user_addresses`.`id`, `thecarg_db`.`cg_tbl_user_addresses`.`user_id`, `thecarg_db`.`cg_tbl_user_addresses`.`role_id`, `thecarg_db`.`cg_tbl_user_addresses`.`address_title`, `thecarg_db`.`cg_tbl_user_addresses`.`contact_name`, `thecarg_db`.`cg_tbl_user_addresses`.`phone_number`, `thecarg_db`.`cg_tbl_user_addresses`.`flat_house_no`, `thecarg_db`.`cg_tbl_user_addresses`.`area_locality`, `thecarg_db`.`cg_tbl_user_addresses`.`landmark`, `thecarg_db`.`cg_tbl_user_addresses`.`pincode`, `thecarg_db`.`cg_tbl_user_addresses`.`city`, `thecarg_db`.`cg_tbl_user_addresses`.`state`, `thecarg_db`.`cg_tbl_user_addresses`.`latitude`, `thecarg_db`.`cg_tbl_user_addresses`.`longitude`, `thecarg_db`.`cg_tbl_user_addresses`.`full_address`, `thecarg_db`.`cg_tbl_user_addresses`.`is_default`, `thecarg_db`.`cg_tbl_user_addresses`.`status`, `thecarg_db`.`cg_tbl_user_addresses`.`created_at`, `thecarg_db`.`cg_tbl_user_addresses`.`updated_at` FROM `thecarg_db`.`cg_tbl_user_addresses` WHERE (`thecarg_db`.`cg_tbl_user_addresses`.`user_id` = ? AND `thecarg_db`.`cg_tbl_user_addresses`.`role_id` = ? AND `thecarg_db`.`cg_tbl_user_addresses`.`status` = ?) ORDER BY `thecarg_db`.`cg_tbl_user_addresses`.`is_default` DESC, `thecarg_db`.`cg_tbl_user_addresses`.`id` DESC LIMIT ? OFFSET ?
prisma:query SELECT `thecarg_db`.`cg_tbl_category_sub_category_setup`.`id`, `thecarg_db`.`cg_tbl_category_sub_category_setup`.`sub_category_id`, `thecarg_db`.`cg_tbl_category_sub_category_setup`.`category_id` FROM `thecarg_db`.`cg_tbl_category_sub_category_setup` LEFT JOIN `thecarg_db`.`cg_tbl_sub_categories` AS `j1` ON (`j1`.`id`) = (`thecarg_db`.`cg_tbl_category_sub_category_setup`.`sub_category_id`) WHERE ((`thecarg_db`.`cg_tbl_category_sub_category_setup`.`status` = ? AND (`j1`.`status` = ? AND (`j1`.`id` IS NOT NULL))) AND `thecarg_db`.`cg_tbl_category_sub_category_setup`.`category_id` IN (?,?,?,?,?,?,?,?))
prisma:query SELECT `thecarg_db`.`cg_tbl_category_sub_category_setup`.`id`, `thecarg_db`.`cg_tbl_category_sub_category_setup`.`sub_category_id`, `thecarg_db`.`cg_tbl_category_sub_category_setup`.`category_id` FROM `thecarg_db`.`cg_tbl_category_sub_category_setup` LEFT JOIN `thecarg_db`.`cg_tbl_sub_categories` AS `j1` ON (`j1`.`id`) = (`thecarg_db`.`cg_tbl_category_sub_category_setup`.`sub_category_id`) WHERE ((`thecarg_db`.`cg_tbl_category_sub_category_setup`.`status` = ? AND (`j1`.`status` = ? AND (`j1`.`id` IS NOT NULL)) AND `thecarg_db`.`cg_tbl_category_sub_category_setup`.`service_type` IN (?,?)) AND `thecarg_db`.`cg_tbl_category_sub_category_setup`.`category_id` IN (?,?,?,?,?,?,?,?))
[2026-06-24T12:33:35.689Z] [INFO]: [ZONE_RESOLVE] Resolving zone for coordinates: (13.07281264, 80.19470259)
--------------------------------------------------

prisma:query SELECT id, status, zone_name AS zoneName, zone_code AS zoneCode, ABS(ST_Area(coordinates)) as area 
       FROM cg_tbl_zones 
       WHERE ST_Contains(coordinates, ST_GeomFromText(?))
       ORDER BY area ASC
[2026-06-24T12:33:35.786Z] [INFO]: [BANNERS] Fetching banners for zoneIds: [13]
--------------------------------------------------

prisma:query 
      SELECT 
        'admin_banner' AS bannerSource,
        b.id,
        b.title,
        b.banner_image AS bannerImage,
        NULL AS userId,
        NULL AS userRoleId,
        NULL AS productId,
        b.created_at AS createdAt
      FROM cg_tbl_banners b
      WHERE b.status = 1 
        AND b.zone_id IN (?)

      UNION ALL

      SELECT 
        'advertisement' AS bannerSource,
        a.id,
        a.title,
        a.banner_image AS bannerImage,
        a.user_id AS userId,
        a.user_role_id AS userRoleId,
        a.product_id AS productId,
        a.created_at AS createdAt
      FROM cg_tbl_advertisements a
      WHERE a.status = 1 
        AND a.advertisement_type = 'banner'
        AND a.approval_status = 'approved'
        AND a.payment_status = 'paid'
        AND NOW() BETWEEN a.from_date AND a.to_date
        AND a.zone_id IN (?)
      ORDER BY createdAt DESC
    
prisma:query SELECT 1
prisma:query SELECT `thecarg_db`.`cg_tbl_zones`.`id` FROM `thecarg_db`.`cg_tbl_zones` WHERE (`thecarg_db`.`cg_tbl_zones`.`id` IN (?,?) AND `thecarg_db`.`cg_tbl_zones`.`status` = ?)
prisma:query SELECT `thecarg_db`.`cg_tbl_zones`.`id` FROM `thecarg_db`.`cg_tbl_zones` WHERE (`thecarg_db`.`cg_tbl_zones`.`id` IN (?,?) AND `thecarg_db`.`cg_tbl_zones`.`status` = ?)
prisma:query SELECT `thecarg_db`.`cg_tbl_sellers`.`id`, `thecarg_db`.`cg_tbl_sellers`.`status`, `thecarg_db`.`cg_tbl_sellers`.`operating_hours`, `thecarg_db`.`cg_tbl_sellers`.`zone` FROM `thecarg_db`.`cg_tbl_sellers` WHERE `thecarg_db`.`cg_tbl_sellers`.`status` = ?
prisma:query SELECT `thecarg_db`.`cg_tbl_sellers`.`id`, `thecarg_db`.`cg_tbl_sellers`.`status`, `thecarg_db`.`cg_tbl_sellers`.`operating_hours`, `thecarg_db`.`cg_tbl_sellers`.`zone` FROM `thecarg_db`.`cg_tbl_sellers` WHERE `thecarg_db`.`cg_tbl_sellers`.`status` = ?
prisma:query SELECT COUNT(`thecarg_db`.`cg_tbl_products`.`id`), `thecarg_db`.`cg_tbl_products`.`techdoc_brand_id` FROM `thecarg_db`.`cg_tbl_products` WHERE (`thecarg_db`.`cg_tbl_products`.`status` = ? AND (`thecarg_db`.`cg_tbl_products`.`id`) IN (SELECT `t1`.`product_id` FROM `thecarg_db`.`cg_tbl_seller_products` AS `t1` WHERE (`t1`.`status` = ? AND `t1`.`is_in_stock` = ? AND `t1`.`seller_id` IN (?) AND `t1`.`product_id` IS NOT NULL))) GROUP BY `thecarg_db`.`cg_tbl_products`.`techdoc_brand_id`
prisma:query SELECT `thecarg_db`.`cg_tbl_products`.`assembly_group_node_id`, `thecarg_db`.`cg_tbl_products`.`generic_article_id` FROM `thecarg_db`.`cg_tbl_products` WHERE (`thecarg_db`.`cg_tbl_products`.`status` = ? AND (`thecarg_db`.`cg_tbl_products`.`id`) IN (SELECT `t1`.`product_id` FROM `thecarg_db`.`cg_tbl_seller_products` AS `t1` WHERE (`t1`.`status` = ? AND `t1`.`is_in_stock` = ? AND `t1`.`seller_id` IN (?) AND `t1`.`product_id` IS NOT NULL))) GROUP BY `thecarg_db`.`cg_tbl_products`.`assembly_group_node_id`, `thecarg_db`.`cg_tbl_products`.`generic_article_id`
prisma:query SELECT COUNT(`thecarg_db`.`cg_tbl_products`.`id`), `thecarg_db`.`cg_tbl_products`.`techdoc_brand_id`, `thecarg_db`.`cg_tbl_products`.`brand_name` FROM `thecarg_db`.`cg_tbl_products` WHERE (`thecarg_db`.`cg_tbl_products`.`status` = ? AND (`thecarg_db`.`cg_tbl_products`.`id`) IN (SELECT `t1`.`product_id` FROM `thecarg_db`.`cg_tbl_seller_products` AS `t1` WHERE (`t1`.`status` = ? AND `t1`.`is_in_stock` = ? AND `t1`.`seller_id` IN (?) AND `t1`.`product_id` IS NOT NULL))) GROUP BY `thecarg_db`.`cg_tbl_products`.`techdoc_brand_id`, `thecarg_db`.`cg_tbl_products`.`brand_name` ORDER BY `thecarg_db`.`cg_tbl_products`.`techdoc_brand_id` ASC LIMIT ? OFFSET ?
prisma:query SELECT `thecarg_db`.`cg_tbl_business_settings`.`id`, `thecarg_db`.`cg_tbl_business_settings`.`key`, `thecarg_db`.`cg_tbl_business_settings`.`value`, `thecarg_db`.`cg_tbl_business_settings`.`created_at`, `thecarg_db`.`cg_tbl_business_settings`.`updated_at` FROM `thecarg_db`.`cg_tbl_business_settings` WHERE `thecarg_db`.`cg_tbl_business_settings`.`key` = ? LIMIT ? OFFSET ?
prisma:query SELECT `thecarg_db`.`cg_tbl_business_settings`.`id`, `thecarg_db`.`cg_tbl_business_settings`.`key`, `thecarg_db`.`cg_tbl_business_settings`.`value`, `thecarg_db`.`cg_tbl_business_settings`.`created_at`, `thecarg_db`.`cg_tbl_business_settings`.`updated_at` FROM `thecarg_db`.`cg_tbl_business_settings` WHERE `thecarg_db`.`cg_tbl_business_settings`.`key` = ? LIMIT ? OFFSET ?
prisma:query SELECT `thecarg_db`.`cg_tbl_business_settings`.`id`, `thecarg_db`.`cg_tbl_business_settings`.`key`, `thecarg_db`.`cg_tbl_business_settings`.`value`, `thecarg_db`.`cg_tbl_business_settings`.`created_at`, `thecarg_db`.`cg_tbl_business_settings`.`updated_at` FROM `thecarg_db`.`cg_tbl_business_settings` WHERE `thecarg_db`.`cg_tbl_business_settings`.`key` = ? LIMIT ? OFFSET ?
prisma:query SELECT `thecarg_db`.`cg_tbl_business_settings`.`id`, `thecarg_db`.`cg_tbl_business_settings`.`key`, `thecarg_db`.`cg_tbl_business_settings`.`value`, `thecarg_db`.`cg_tbl_business_settings`.`created_at`, `thecarg_db`.`cg_tbl_business_settings`.`updated_at` FROM `thecarg_db`.`cg_tbl_business_settings` WHERE `thecarg_db`.`cg_tbl_business_settings`.`key` = ? LIMIT ? OFFSET ?
prisma:query SELECT `thecarg_db`.`cg_tbl_business_settings`.`id`, `thecarg_db`.`cg_tbl_business_settings`.`key`, `thecarg_db`.`cg_tbl_business_settings`.`value`, `thecarg_db`.`cg_tbl_business_settings`.`created_at`, `thecarg_db`.`cg_tbl_business_settings`.`updated_at` FROM `thecarg_db`.`cg_tbl_business_settings` WHERE `thecarg_db`.`cg_tbl_business_settings`.`key` = ? LIMIT ? OFFSET ?
prisma:query SELECT `thecarg_db`.`cg_tbl_business_settings`.`id`, `thecarg_db`.`cg_tbl_business_settings`.`key`, `thecarg_db`.`cg_tbl_business_settings`.`value`, `thecarg_db`.`cg_tbl_business_settings`.`created_at`, `thecarg_db`.`cg_tbl_business_settings`.`updated_at` FROM `thecarg_db`.`cg_tbl_business_settings` WHERE `thecarg_db`.`cg_tbl_business_settings`.`key` = ? LIMIT ? OFFSET ?
prisma:query SELECT `thecarg_db`.`cg_tbl_business_settings`.`id`, `thecarg_db`.`cg_tbl_business_settings`.`key`, `thecarg_db`.`cg_tbl_business_settings`.`value`, `thecarg_db`.`cg_tbl_business_settings`.`created_at`, `thecarg_db`.`cg_tbl_business_settings`.`updated_at` FROM `thecarg_db`.`cg_tbl_business_settings` WHERE `thecarg_db`.`cg_tbl_business_settings`.`key` = ? LIMIT ? OFFSET ?
prisma:query SELECT `thecarg_db`.`cg_tbl_business_settings`.`id`, `thecarg_db`.`cg_tbl_business_settings`.`key`, `thecarg_db`.`cg_tbl_business_settings`.`value`, `thecarg_db`.`cg_tbl_business_settings`.`created_at`, `thecarg_db`.`cg_tbl_business_settings`.`updated_at` FROM `thecarg_db`.`cg_tbl_business_settings` WHERE `thecarg_db`.`cg_tbl_business_settings`.`key` = ? LIMIT ? OFFSET ?
[2026-06-24T12:33:41.240Z] [INFO]: TecDoc → getBrands | provider: 25791 | country: IN | url: https://webservice.tecalliance.services/pegasus-3-0/services/TecdocToCatDLB.jsonEndpoint
--------------------------------------------------

[2026-06-24T12:33:41.291Z] [INFO]: TecDoc → getGenericArticles | provider: 25791 | country: IN | url: https://webservice.tecalliance.services/pegasus-3-0/services/TecdocToCatDLB.jsonEndpoint
--------------------------------------------------

prisma:query SELECT `thecarg_db`.`cg_tbl_products`.`assembly_group_node_id`, `thecarg_db`.`cg_tbl_products`.`generic_article_id` FROM `thecarg_db`.`cg_tbl_products` WHERE `thecarg_db`.`cg_tbl_products`.`status` = ? GROUP BY `thecarg_db`.`cg_tbl_products`.`assembly_group_node_id`, `thecarg_db`.`cg_tbl_products`.`generic_article_id`
[2026-06-24T12:33:42.118Z] [INFO]: TecDoc → getArticles | provider: 25791 | country: IN | url: https://webservice.tecalliance.services/pegasus-3-0/services/TecdocToCatDLB.jsonEndpoint
--------------------------------------------------

[2026-06-24T12:33:44.713Z] [INFO]: [ZONE_RESOLVE] Resolving zone for coordinates: (13.07281264, 80.19470259)
--------------------------------------------------

prisma:query SELECT id, status, zone_name AS zoneName, zone_code AS zoneCode, ABS(ST_Area(coordinates)) as area 
       FROM cg_tbl_zones 
       WHERE ST_Contains(coordinates, ST_GeomFromText(?))
       ORDER BY area ASC
[2026-06-24T12:33:45.189Z] [INFO]: [BANNERS] Fetching banners for zoneIds: [13]
--------------------------------------------------

prisma:query 
      SELECT 
        'admin_banner' AS bannerSource,
        b.id,
        b.title,
        b.banner_image AS bannerImage,
        NULL AS userId,
        NULL AS userRoleId,
        NULL AS productId,
        b.created_at AS createdAt
      FROM cg_tbl_banners b
      WHERE b.status = 1 
        AND b.zone_id IN (?)

      UNION ALL

      SELECT 
        'advertisement' AS bannerSource,
        a.id,
        a.title,
        a.banner_image AS bannerImage,
        a.user_id AS userId,
        a.user_role_id AS userRoleId,
        a.product_id AS productId,
        a.created_at AS createdAt
      FROM cg_tbl_advertisements a
      WHERE a.status = 1 
        AND a.advertisement_type = 'banner'
        AND a.approval_status = 'approved'
        AND a.payment_status = 'paid'
        AND NOW() BETWEEN a.from_date AND a.to_date
        AND a.zone_id IN (?)
      ORDER BY createdAt DESC
    
prisma:query SELECT 1
prisma:query SELECT `thecarg_db`.`cg_tbl_zones`.`id` FROM `thecarg_db`.`cg_tbl_zones` WHERE (`thecarg_db`.`cg_tbl_zones`.`id` IN (?) AND `thecarg_db`.`cg_tbl_zones`.`status` = ?)
prisma:query SELECT `thecarg_db`.`cg_tbl_sellers`.`id`, `thecarg_db`.`cg_tbl_sellers`.`status`, `thecarg_db`.`cg_tbl_sellers`.`operating_hours`, `thecarg_db`.`cg_tbl_sellers`.`zone` FROM `thecarg_db`.`cg_tbl_sellers` WHERE `thecarg_db`.`cg_tbl_sellers`.`status` = ?
prisma:query SELECT `thecarg_db`.`cg_tbl_products`.`id`, `thecarg_db`.`cg_tbl_products`.`article_number` FROM `thecarg_db`.`cg_tbl_products` WHERE (`thecarg_db`.`cg_tbl_products`.`status` = ? AND (`thecarg_db`.`cg_tbl_products`.`id`) IN (SELECT `t1`.`product_id` FROM `thecarg_db`.`cg_tbl_seller_products` AS `t1` WHERE (`t1`.`status` = ? AND `t1`.`seller_id` IN (?) AND `t1`.`product_id` IS NOT NULL)) AND `thecarg_db`.`cg_tbl_products`.`generic_article_id` = ? AND `thecarg_db`.`cg_tbl_products`.`assembly_group_node_id` = ?) ORDER BY `thecarg_db`.`cg_tbl_products`.`id` ASC
prisma:query SELECT `thecarg_db`.`cg_tbl_products`.`article_number` FROM `thecarg_db`.`cg_tbl_products` WHERE `thecarg_db`.`cg_tbl_products`.`id` IN (?,?) GROUP BY `thecarg_db`.`cg_tbl_products`.`article_number`
prisma:query SELECT MIN(`thecarg_db`.`cg_tbl_products`.`id`), `thecarg_db`.`cg_tbl_products`.`article_number` FROM `thecarg_db`.`cg_tbl_products` WHERE `thecarg_db`.`cg_tbl_products`.`id` IN (?,?) GROUP BY `thecarg_db`.`cg_tbl_products`.`article_number` ORDER BY MIN(`thecarg_db`.`cg_tbl_products`.`id`) ASC LIMIT ? OFFSET ?
prisma:query SELECT `thecarg_db`.`cg_tbl_products`.`id`, `thecarg_db`.`cg_tbl_products`.`techdoc_article_id`, `thecarg_db`.`cg_tbl_products`.`techdoc_brand_id`, `thecarg_db`.`cg_tbl_products`.`article_number`, `thecarg_db`.`cg_tbl_products`.`brand_name`, `thecarg_db`.`cg_tbl_products`.`status`, `thecarg_db`.`cg_tbl_products`.`created_at`, `thecarg_db`.`cg_tbl_products`.`updated_at`, `thecarg_db`.`cg_tbl_products`.`assembly_group_node_id`, `thecarg_db`.`cg_tbl_products`.`generic_article_id` FROM `thecarg_db`.`cg_tbl_products` WHERE `thecarg_db`.`cg_tbl_products`.`id` IN (?,?) ORDER BY `thecarg_db`.`cg_tbl_products`.`id` ASC
[2026-06-24T12:33:52.731Z] [INFO]: TecDoc → getArticles | provider: 25791 | country: IN | url: https://webservice.tecalliance.services/pegasus-3-0/services/TecdocToCatDLB.jsonEndpoint
--------------------------------------------------

[2026-06-24T12:33:52.734Z] [INFO]: TecDoc → getArticles | provider: 25791 | country: IN | url: https://webservice.tecalliance.services/pegasus-3-0/services/TecdocToCatDLB.jsonEndpoint
--------------------------------------------------

[2026-06-24T12:33:53.200Z] [INFO]: TecDoc → getArticles | provider: 25791 | country: IN | url: https://webservice.tecalliance.services/pegasus-3-0/services/TecdocToCatDLB.jsonEndpoint
--------------------------------------------------

[2026-06-24T12:33:53.207Z] [INFO]: TecDoc → getArticles | provider: 25791 | country: IN | url: https://webservice.tecalliance.services/pegasus-3-0/services/TecdocToCatDLB.jsonEndpoint
--------------------------------------------------

prisma:query SELECT `thecarg_db`.`cg_tbl_products`.`id`, `thecarg_db`.`cg_tbl_products`.`techdoc_article_id` FROM `thecarg_db`.`cg_tbl_products` WHERE (`thecarg_db`.`cg_tbl_products`.`techdoc_article_id` IN (?,?) AND `thecarg_db`.`cg_tbl_products`.`status` = ? AND `thecarg_db`.`cg_tbl_products`.`id` IN (?,?))
prisma:query SELECT `thecarg_db`.`cg_tbl_seller_products`.`id`, `thecarg_db`.`cg_tbl_seller_products`.`product_id`, `thecarg_db`.`cg_tbl_seller_products`.`customer_selling_price`, `thecarg_db`.`cg_tbl_seller_products`.`garage_selling_price`, `thecarg_db`.`cg_tbl_seller_products`.`mrp`, `thecarg_db`.`cg_tbl_seller_products`.`customer_discount_type`, `thecarg_db`.`cg_tbl_seller_products`.`customer_discount`, `thecarg_db`.`cg_tbl_seller_products`.`garage_discount_type`, `thecarg_db`.`cg_tbl_seller_products`.`garage_discount`, `thecarg_db`.`cg_tbl_seller_products`.`is_in_stock`, `thecarg_db`.`cg_tbl_seller_products`.`is_returnable`, `thecarg_db`.`cg_tbl_seller_products`.`return_days`, `thecarg_db`.`cg_tbl_seller_products`.`warranty_enabled`, `thecarg_db`.`cg_tbl_seller_products`.`warranty_duration`, `thecarg_db`.`cg_tbl_seller_products`.`warranty_duration_type`, `thecarg_db`.`cg_tbl_seller_products`.`warranty_document`, `thecarg_db`.`cg_tbl_seller_products`.`tax`, `thecarg_db`.`cg_tbl_seller_products`.`seller_id` FROM `thecarg_db`.`cg_tbl_seller_products` LEFT JOIN `thecarg_db`.`cg_tbl_sellers` AS `j1` ON (`j1`.`id`) = (`thecarg_db`.`cg_tbl_seller_products`.`seller_id`) WHERE (`thecarg_db`.`cg_tbl_seller_products`.`product_id` IN (?,?) AND `thecarg_db`.`cg_tbl_seller_products`.`status` = ? AND (`j1`.`status` = ? AND (`j1`.`id` IS NOT NULL))) ORDER BY `thecarg_db`.`cg_tbl_seller_products`.`customer_selling_price` ASC
prisma:query SELECT `thecarg_db`.`cg_tbl_sellers`.`id`, `thecarg_db`.`cg_tbl_sellers`.`seller_id`, `thecarg_db`.`cg_tbl_sellers`.`first_name`, `thecarg_db`.`cg_tbl_sellers`.`last_name`, `thecarg_db`.`cg_tbl_sellers`.`trade_name`, `thecarg_db`.`cg_tbl_sellers`.`city`, `thecarg_db`.`cg_tbl_sellers`.`state`, `thecarg_db`.`cg_tbl_sellers`.`email`, `thecarg_db`.`cg_tbl_sellers`.`mobile`, `thecarg_db`.`cg_tbl_sellers`.`address`, `thecarg_db`.`cg_tbl_sellers`.`pincode`, `thecarg_db`.`cg_tbl_sellers`.`status`, `thecarg_db`.`cg_tbl_sellers`.`operating_hours`, `thecarg_db`.`cg_tbl_sellers`.`zone`, `thecarg_db`.`cg_tbl_sellers`.`latitude`, `thecarg_db`.`cg_tbl_sellers`.`longitude` FROM `thecarg_db`.`cg_tbl_sellers` WHERE `thecarg_db`.`cg_tbl_sellers`.`id` IN (?)
prisma:query SELECT `thecarg_db`.`cg_tbl_zones`.`id`, `thecarg_db`.`cg_tbl_zones`.`zone_name` FROM `thecarg_db`.`cg_tbl_zones` WHERE 1=1
prisma:query SELECT `thecarg_db`.`cg_tbl_zones`.`id` FROM `thecarg_db`.`cg_tbl_zones` WHERE (`thecarg_db`.`cg_tbl_zones`.`id` IN (?) AND `thecarg_db`.`cg_tbl_zones`.`status` = ?)
prisma:query SELECT `thecarg_db`.`cg_tbl_products`.`id`, `thecarg_db`.`cg_tbl_products`.`techdoc_article_id`, `thecarg_db`.`cg_tbl_products`.`techdoc_brand_id`, `thecarg_db`.`cg_tbl_products`.`article_number`, `thecarg_db`.`cg_tbl_products`.`brand_name`, `thecarg_db`.`cg_tbl_products`.`status`, `thecarg_db`.`cg_tbl_products`.`created_at`, `thecarg_db`.`cg_tbl_products`.`updated_at`, `thecarg_db`.`cg_tbl_products`.`assembly_group_node_id`, `thecarg_db`.`cg_tbl_products`.`generic_article_id` FROM `thecarg_db`.`cg_tbl_products` WHERE (`thecarg_db`.`cg_tbl_products`.`id` = ? AND `thecarg_db`.`cg_tbl_products`.`status` = ?) LIMIT ? OFFSET ?
prisma:query SELECT `thecarg_db`.`cg_tbl_zones`.`id` FROM `thecarg_db`.`cg_tbl_zones` WHERE (`thecarg_db`.`cg_tbl_zones`.`id` IN (?) AND `thecarg_db`.`cg_tbl_zones`.`status` = ?)
prisma:query SELECT `thecarg_db`.`cg_tbl_zones`.`id` FROM `thecarg_db`.`cg_tbl_zones` WHERE (`thecarg_db`.`cg_tbl_zones`.`id` IN (?) AND `thecarg_db`.`cg_tbl_zones`.`status` = ?)
[2026-06-24T12:33:54.911Z] [INFO]: TecDoc → getArticles | provider: 25791 | country: IN | url: https://webservice.tecalliance.services/pegasus-3-0/services/TecdocToCatDLB.jsonEndpoint
--------------------------------------------------

prisma:query SELECT `thecarg_db`.`cg_tbl_sellers`.`id`, `thecarg_db`.`cg_tbl_sellers`.`status`, `thecarg_db`.`cg_tbl_sellers`.`operating_hours`, `thecarg_db`.`cg_tbl_sellers`.`zone` FROM `thecarg_db`.`cg_tbl_sellers` WHERE `thecarg_db`.`cg_tbl_sellers`.`status` = ?
prisma:query SELECT COUNT(*) FROM (SELECT `thecarg_db`.`cg_tbl_cart`.`id` FROM `thecarg_db`.`cg_tbl_cart` WHERE (`thecarg_db`.`cg_tbl_cart`.`user_id` = ? AND `thecarg_db`.`cg_tbl_cart`.`user_role_id` = ?)) AS `sub`
prisma:query SELECT `thecarg_db`.`cg_tbl_products`.`id`, `thecarg_db`.`cg_tbl_products`.`article_number` FROM `thecarg_db`.`cg_tbl_products` WHERE (`thecarg_db`.`cg_tbl_products`.`status` = ? AND (`thecarg_db`.`cg_tbl_products`.`id`) IN (SELECT `t1`.`product_id` FROM `thecarg_db`.`cg_tbl_seller_products` AS `t1` WHERE (`t1`.`status` = ? AND `t1`.`seller_id` IN (?) AND `t1`.`product_id` IS NOT NULL)) AND `thecarg_db`.`cg_tbl_products`.`generic_article_id` = ? AND `thecarg_db`.`cg_tbl_products`.`assembly_group_node_id` = ?) ORDER BY `thecarg_db`.`cg_tbl_products`.`id` ASC
prisma:query SELECT `thecarg_db`.`cg_tbl_cart`.`id`, `thecarg_db`.`cg_tbl_cart`.`user_id`, `thecarg_db`.`cg_tbl_cart`.`user_role_id`, `thecarg_db`.`cg_tbl_cart`.`seller_id`, `thecarg_db`.`cg_tbl_cart`.`product_id`, `thecarg_db`.`cg_tbl_cart`.`quantity`, `thecarg_db`.`cg_tbl_cart`.`price`, `thecarg_db`.`cg_tbl_cart`.`created_at`, `thecarg_db`.`cg_tbl_cart`.`updated_at` FROM `thecarg_db`.`cg_tbl_cart` WHERE (`thecarg_db`.`cg_tbl_cart`.`user_id` = ? AND `thecarg_db`.`cg_tbl_cart`.`user_role_id` = ?) ORDER BY `thecarg_db`.`cg_tbl_cart`.`created_at` DESC LIMIT ? OFFSET ?
prisma:query SELECT `thecarg_db`.`cg_tbl_products`.`id`, `thecarg_db`.`cg_tbl_products`.`techdoc_article_id`, `thecarg_db`.`cg_tbl_products`.`techdoc_brand_id`, `thecarg_db`.`cg_tbl_products`.`article_number`, `thecarg_db`.`cg_tbl_products`.`brand_name`, `thecarg_db`.`cg_tbl_products`.`status`, `thecarg_db`.`cg_tbl_products`.`created_at`, `thecarg_db`.`cg_tbl_products`.`updated_at`, `thecarg_db`.`cg_tbl_products`.`assembly_group_node_id`, `thecarg_db`.`cg_tbl_products`.`generic_article_id` FROM `thecarg_db`.`cg_tbl_products` WHERE `thecarg_db`.`cg_tbl_products`.`id` IN (?)
[2026-06-24T12:33:54.953Z] [INFO]: TecDoc → getArticles | provider: 25791 | country: IN | url: https://webservice.tecalliance.services/pegasus-3-0/services/TecdocToCatDLB.jsonEndpoint
--------------------------------------------------

prisma:query SELECT `thecarg_db`.`cg_tbl_products`.`article_number` FROM `thecarg_db`.`cg_tbl_products` WHERE `thecarg_db`.`cg_tbl_products`.`id` IN (?,?) GROUP BY `thecarg_db`.`cg_tbl_products`.`article_number`
prisma:query SELECT MIN(`thecarg_db`.`cg_tbl_products`.`id`), `thecarg_db`.`cg_tbl_products`.`article_number` FROM `thecarg_db`.`cg_tbl_products` WHERE `thecarg_db`.`cg_tbl_products`.`id` IN (?,?) GROUP BY `thecarg_db`.`cg_tbl_products`.`article_number` ORDER BY MIN(`thecarg_db`.`cg_tbl_products`.`id`) ASC LIMIT ? OFFSET ?
prisma:query SELECT `thecarg_db`.`cg_tbl_products`.`id`, `thecarg_db`.`cg_tbl_products`.`techdoc_article_id`, `thecarg_db`.`cg_tbl_products`.`techdoc_brand_id`, `thecarg_db`.`cg_tbl_products`.`article_number`, `thecarg_db`.`cg_tbl_products`.`brand_name`, `thecarg_db`.`cg_tbl_products`.`status`, `thecarg_db`.`cg_tbl_products`.`created_at`, `thecarg_db`.`cg_tbl_products`.`updated_at`, `thecarg_db`.`cg_tbl_products`.`assembly_group_node_id`, `thecarg_db`.`cg_tbl_products`.`generic_article_id` FROM `thecarg_db`.`cg_tbl_products` WHERE `thecarg_db`.`cg_tbl_products`.`id` IN (?,?) ORDER BY `thecarg_db`.`cg_tbl_products`.`id` ASC
[2026-06-24T12:33:54.970Z] [INFO]: TecDoc → getArticles | provider: 25791 | country: IN | url: https://webservice.tecalliance.services/pegasus-3-0/services/TecdocToCatDLB.jsonEndpoint
--------------------------------------------------

[2026-06-24T12:33:54.974Z] [INFO]: TecDoc → getArticles | provider: 25791 | country: IN | url: https://webservice.tecalliance.services/pegasus-3-0/services/TecdocToCatDLB.jsonEndpoint
--------------------------------------------------

[2026-06-24T12:33:55.071Z] [INFO]: TecDoc → getArticles | provider: 25791 | country: IN | url: https://webservice.tecalliance.services/pegasus-3-0/services/TecdocToCatDLB.jsonEndpoint
--------------------------------------------------

[2026-06-24T12:33:55.118Z] [INFO]: TecDoc → getArticles | provider: 25791 | country: IN | url: https://webservice.tecalliance.services/pegasus-3-0/services/TecdocToCatDLB.jsonEndpoint
--------------------------------------------------

[2026-06-24T12:33:55.248Z] [INFO]: TecDoc → getArticleLinkedAllLinkingTarget4 | provider: 25791 | country: IN | url: https://webservice.tecalliance.services/pegasus-3-0/services/TecdocToCatDLB.jsonEndpoint
--------------------------------------------------

prisma:query SELECT `thecarg_db`.`cg_tbl_seller_products`.`id`, `thecarg_db`.`cg_tbl_seller_products`.`seller_id`, `thecarg_db`.`cg_tbl_seller_products`.`product_id`, `thecarg_db`.`cg_tbl_seller_products`.`category_id`, `thecarg_db`.`cg_tbl_seller_products`.`subcategory_id`, `thecarg_db`.`cg_tbl_seller_products`.`mrp`, `thecarg_db`.`cg_tbl_seller_products`.`customer_selling_price`, `thecarg_db`.`cg_tbl_seller_products`.`garage_selling_price`, `thecarg_db`.`cg_tbl_seller_products`.`customer_discount_type`, `thecarg_db`.`cg_tbl_seller_products`.`customer_discount`, `thecarg_db`.`cg_tbl_seller_products`.`is_returnable`, `thecarg_db`.`cg_tbl_seller_products`.`return_days`, `thecarg_db`.`cg_tbl_seller_products`.`tax`, `thecarg_db`.`cg_tbl_seller_products`.`garage_discount_type`, `thecarg_db`.`cg_tbl_seller_products`.`garage_discount`, `thecarg_db`.`cg_tbl_seller_products`.`warranty_enabled`, `thecarg_db`.`cg_tbl_seller_products`.`warranty_duration`, `thecarg_db`.`cg_tbl_seller_products`.`warranty_duration_type`, `thecarg_db`.`cg_tbl_seller_products`.`warranty_document`, `thecarg_db`.`cg_tbl_seller_products`.`status`, `thecarg_db`.`cg_tbl_seller_products`.`created_at`, `thecarg_db`.`cg_tbl_seller_products`.`updated_at`, `thecarg_db`.`cg_tbl_seller_products`.`is_in_stock` FROM `thecarg_db`.`cg_tbl_seller_products` LEFT JOIN `thecarg_db`.`cg_tbl_sellers` AS `j1` ON (`j1`.`id`) = (`thecarg_db`.`cg_tbl_seller_products`.`seller_id`) WHERE (`thecarg_db`.`cg_tbl_seller_products`.`product_id` = ? AND `thecarg_db`.`cg_tbl_seller_products`.`seller_id` = ? AND `thecarg_db`.`cg_tbl_seller_products`.`status` = ? AND `thecarg_db`.`cg_tbl_seller_products`.`is_in_stock` = ? AND (`j1`.`status` = ? AND (`j1`.`id` IS NOT NULL))) LIMIT ? OFFSET ?
prisma:query SELECT `thecarg_db`.`cg_tbl_sellers`.`id`, `thecarg_db`.`cg_tbl_sellers`.`seller_id`, `thecarg_db`.`cg_tbl_sellers`.`first_name`, `thecarg_db`.`cg_tbl_sellers`.`last_name`, `thecarg_db`.`cg_tbl_sellers`.`mobile`, `thecarg_db`.`cg_tbl_sellers`.`email`, `thecarg_db`.`cg_tbl_sellers`.`trade_name`, `thecarg_db`.`cg_tbl_sellers`.`entity_type`, `thecarg_db`.`cg_tbl_sellers`.`aadhaar_number`, `thecarg_db`.`cg_tbl_sellers`.`pan_number`, `thecarg_db`.`cg_tbl_sellers`.`gstin_number`, `thecarg_db`.`cg_tbl_sellers`.`cin_number`, `thecarg_db`.`cg_tbl_sellers`.`operating_hours`, `thecarg_db`.`cg_tbl_sellers`.`specific_commission`, `thecarg_db`.`cg_tbl_sellers`.`customer_order_commission`, `thecarg_db`.`cg_tbl_sellers`.`garage_order_commission`, `thecarg_db`.`cg_tbl_sellers`.`requested_customer_order_commission`, `thecarg_db`.`cg_tbl_sellers`.`requested_garage_order_commission`, `thecarg_db`.`cg_tbl_sellers`.`bank_name`, `thecarg_db`.`cg_tbl_sellers`.`bank_account_number`, `thecarg_db`.`cg_tbl_sellers`.`bank_ifsc_code`, `thecarg_db`.`cg_tbl_sellers`.`address`, `thecarg_db`.`cg_tbl_sellers`.`latitude`, `thecarg_db`.`cg_tbl_sellers`.`longitude`, `thecarg_db`.`cg_tbl_sellers`.`state`, `thecarg_db`.`cg_tbl_sellers`.`city`, `thecarg_db`.`cg_tbl_sellers`.`zone`, `thecarg_db`.`cg_tbl_sellers`.`pincode`, `thecarg_db`.`cg_tbl_sellers`.`pan_card_file`, `thecarg_db`.`cg_tbl_sellers`.`gst_file`, `thecarg_db`.`cg_tbl_sellers`.`cin_file`, `thecarg_db`.`cg_tbl_sellers`.`cancelled_cheque_file`, `thecarg_db`.`cg_tbl_sellers`.`aadhaar_pan_signatory_file`, `thecarg_db`.`cg_tbl_sellers`.`other_documents_file`, `thecarg_db`.`cg_tbl_sellers`.`status`, `thecarg_db`.`cg_tbl_sellers`.`is_verified`, `thecarg_db`.`cg_tbl_sellers`.`fcm_token`, `thecarg_db`.`cg_tbl_sellers`.`subscription_id`, `thecarg_db`.`cg_tbl_sellers`.`subscription_start_date`, `thecarg_db`.`cg_tbl_sellers`.`subscription_end_date`, `thecarg_db`.`cg_tbl_sellers`.`created_at`, `thecarg_db`.`cg_tbl_sellers`.`updated_at` FROM `thecarg_db`.`cg_tbl_sellers` WHERE `thecarg_db`.`cg_tbl_sellers`.`id` IN (?)
[2026-06-24T12:33:55.417Z] [INFO]: TecDoc → getArticleLinkedAllLinkingTargetsByIds3 | provider: 25791 | country: IN | url: https://webservice.tecalliance.services/pegasus-3-0/services/TecdocToCatDLB.jsonEndpoint
--------------------------------------------------

[2026-06-24T12:33:55.449Z] [INFO]: TecDoc → getArticles | provider: 25791 | country: IN | url: https://webservice.tecalliance.services/pegasus-3-0/services/TecdocToCatDLB.jsonEndpoint
--------------------------------------------------

[2026-06-24T12:33:55.465Z] [INFO]: TecDoc → getArticles | provider: 25791 | country: IN | url: https://webservice.tecalliance.services/pegasus-3-0/services/TecdocToCatDLB.jsonEndpoint
--------------------------------------------------

prisma:query SELECT `thecarg_db`.`cg_tbl_seller_products`.`id`, `thecarg_db`.`cg_tbl_seller_products`.`customer_selling_price`, `thecarg_db`.`cg_tbl_seller_products`.`garage_selling_price`, `thecarg_db`.`cg_tbl_seller_products`.`mrp`, `thecarg_db`.`cg_tbl_seller_products`.`customer_discount_type`, `thecarg_db`.`cg_tbl_seller_products`.`customer_discount`, `thecarg_db`.`cg_tbl_seller_products`.`garage_discount_type`, `thecarg_db`.`cg_tbl_seller_products`.`garage_discount`, `thecarg_db`.`cg_tbl_seller_products`.`is_in_stock`, `thecarg_db`.`cg_tbl_seller_products`.`is_returnable`, `thecarg_db`.`cg_tbl_seller_products`.`return_days`, `thecarg_db`.`cg_tbl_seller_products`.`warranty_enabled`, `thecarg_db`.`cg_tbl_seller_products`.`warranty_duration`, `thecarg_db`.`cg_tbl_seller_products`.`warranty_duration_type`, `thecarg_db`.`cg_tbl_seller_products`.`warranty_document`, `thecarg_db`.`cg_tbl_seller_products`.`tax`, `thecarg_db`.`cg_tbl_seller_products`.`seller_id` FROM `thecarg_db`.`cg_tbl_seller_products` LEFT JOIN `thecarg_db`.`cg_tbl_sellers` AS `j1` ON (`j1`.`id`) = (`thecarg_db`.`cg_tbl_seller_products`.`seller_id`) WHERE (`thecarg_db`.`cg_tbl_seller_products`.`product_id` = ? AND `thecarg_db`.`cg_tbl_seller_products`.`status` = ? AND (`j1`.`status` = ? AND (`j1`.`id` IS NOT NULL))) ORDER BY `thecarg_db`.`cg_tbl_seller_products`.`customer_selling_price` ASC
prisma:query SELECT `thecarg_db`.`cg_tbl_sellers`.`id`, `thecarg_db`.`cg_tbl_sellers`.`seller_id`, `thecarg_db`.`cg_tbl_sellers`.`first_name`, `thecarg_db`.`cg_tbl_sellers`.`last_name`, `thecarg_db`.`cg_tbl_sellers`.`trade_name`, `thecarg_db`.`cg_tbl_sellers`.`city`, `thecarg_db`.`cg_tbl_sellers`.`state`, `thecarg_db`.`cg_tbl_sellers`.`email`, `thecarg_db`.`cg_tbl_sellers`.`mobile`, `thecarg_db`.`cg_tbl_sellers`.`address`, `thecarg_db`.`cg_tbl_sellers`.`pincode`, `thecarg_db`.`cg_tbl_sellers`.`status`, `thecarg_db`.`cg_tbl_sellers`.`operating_hours`, `thecarg_db`.`cg_tbl_sellers`.`zone`, `thecarg_db`.`cg_tbl_sellers`.`latitude`, `thecarg_db`.`cg_tbl_sellers`.`longitude` FROM `thecarg_db`.`cg_tbl_sellers` WHERE `thecarg_db`.`cg_tbl_sellers`.`id` IN (?)
prisma:query SELECT `thecarg_db`.`cg_tbl_zones`.`id`, `thecarg_db`.`cg_tbl_zones`.`zone_name` FROM `thecarg_db`.`cg_tbl_zones` WHERE 1=1
prisma:query SELECT `thecarg_db`.`cg_tbl_products`.`id`, `thecarg_db`.`cg_tbl_products`.`techdoc_article_id` FROM `thecarg_db`.`cg_tbl_products` WHERE (`thecarg_db`.`cg_tbl_products`.`techdoc_article_id` IN (?,?) AND `thecarg_db`.`cg_tbl_products`.`status` = ? AND `thecarg_db`.`cg_tbl_products`.`id` IN (?,?))
prisma:query SELECT `thecarg_db`.`cg_tbl_seller_products`.`id`, `thecarg_db`.`cg_tbl_seller_products`.`product_id`, `thecarg_db`.`cg_tbl_seller_products`.`customer_selling_price`, `thecarg_db`.`cg_tbl_seller_products`.`garage_selling_price`, `thecarg_db`.`cg_tbl_seller_products`.`mrp`, `thecarg_db`.`cg_tbl_seller_products`.`customer_discount_type`, `thecarg_db`.`cg_tbl_seller_products`.`customer_discount`, `thecarg_db`.`cg_tbl_seller_products`.`garage_discount_type`, `thecarg_db`.`cg_tbl_seller_products`.`garage_discount`, `thecarg_db`.`cg_tbl_seller_products`.`is_in_stock`, `thecarg_db`.`cg_tbl_seller_products`.`is_returnable`, `thecarg_db`.`cg_tbl_seller_products`.`return_days`, `thecarg_db`.`cg_tbl_seller_products`.`warranty_enabled`, `thecarg_db`.`cg_tbl_seller_products`.`warranty_duration`, `thecarg_db`.`cg_tbl_seller_products`.`warranty_duration_type`, `thecarg_db`.`cg_tbl_seller_products`.`warranty_document`, `thecarg_db`.`cg_tbl_seller_products`.`tax`, `thecarg_db`.`cg_tbl_seller_products`.`seller_id` FROM `thecarg_db`.`cg_tbl_seller_products` LEFT JOIN `thecarg_db`.`cg_tbl_sellers` AS `j1` ON (`j1`.`id`) = (`thecarg_db`.`cg_tbl_seller_products`.`seller_id`) WHERE (`thecarg_db`.`cg_tbl_seller_products`.`product_id` IN (?,?) AND `thecarg_db`.`cg_tbl_seller_products`.`status` = ? AND (`j1`.`status` = ? AND (`j1`.`id` IS NOT NULL))) ORDER BY `thecarg_db`.`cg_tbl_seller_products`.`customer_selling_price` ASC
prisma:query SELECT `thecarg_db`.`cg_tbl_sellers`.`id`, `thecarg_db`.`cg_tbl_sellers`.`seller_id`, `thecarg_db`.`cg_tbl_sellers`.`first_name`, `thecarg_db`.`cg_tbl_sellers`.`last_name`, `thecarg_db`.`cg_tbl_sellers`.`trade_name`, `thecarg_db`.`cg_tbl_sellers`.`city`, `thecarg_db`.`cg_tbl_sellers`.`state`, `thecarg_db`.`cg_tbl_sellers`.`email`, `thecarg_db`.`cg_tbl_sellers`.`mobile`, `thecarg_db`.`cg_tbl_sellers`.`address`, `thecarg_db`.`cg_tbl_sellers`.`pincode`, `thecarg_db`.`cg_tbl_sellers`.`status`, `thecarg_db`.`cg_tbl_sellers`.`operating_hours`, `thecarg_db`.`cg_tbl_sellers`.`zone`, `thecarg_db`.`cg_tbl_sellers`.`latitude`, `thecarg_db`.`cg_tbl_sellers`.`longitude` FROM `thecarg_db`.`cg_tbl_sellers` WHERE `thecarg_db`.`cg_tbl_sellers`.`id` IN (?)
prisma:query SELECT `thecarg_db`.`cg_tbl_zones`.`id`, `thecarg_db`.`cg_tbl_zones`.`zone_name` FROM `thecarg_db`.`cg_tbl_zones` WHERE 1=1
prisma:query SELECT 1
prisma:query SELECT `thecarg_db`.`cg_tbl_zones`.`id` FROM `thecarg_db`.`cg_tbl_zones` WHERE (`thecarg_db`.`cg_tbl_zones`.`id` IN (?) AND `thecarg_db`.`cg_tbl_zones`.`status` = ?)
prisma:query SELECT `thecarg_db`.`cg_tbl_sellers`.`id`, `thecarg_db`.`cg_tbl_sellers`.`status`, `thecarg_db`.`cg_tbl_sellers`.`operating_hours`, `thecarg_db`.`cg_tbl_sellers`.`zone` FROM `thecarg_db`.`cg_tbl_sellers` WHERE `thecarg_db`.`cg_tbl_sellers`.`status` = ?
prisma:query SELECT `thecarg_db`.`cg_tbl_products`.`id`, `thecarg_db`.`cg_tbl_products`.`article_number` FROM `thecarg_db`.`cg_tbl_products` WHERE (`thecarg_db`.`cg_tbl_products`.`status` = ? AND (`thecarg_db`.`cg_tbl_products`.`id`) IN (SELECT `t1`.`product_id` FROM `thecarg_db`.`cg_tbl_seller_products` AS `t1` WHERE (`t1`.`status` = ? AND `t1`.`seller_id` IN (?) AND `t1`.`product_id` IS NOT NULL)) AND `thecarg_db`.`cg_tbl_products`.`generic_article_id` = ? AND `thecarg_db`.`cg_tbl_products`.`assembly_group_node_id` = ?) ORDER BY `thecarg_db`.`cg_tbl_products`.`id` ASC
prisma:query SELECT `thecarg_db`.`cg_tbl_products`.`article_number` FROM `thecarg_db`.`cg_tbl_products` WHERE `thecarg_db`.`cg_tbl_products`.`id` IN (?,?) GROUP BY `thecarg_db`.`cg_tbl_products`.`article_number`
prisma:query SELECT MIN(`thecarg_db`.`cg_tbl_products`.`id`), `thecarg_db`.`cg_tbl_products`.`article_number` FROM `thecarg_db`.`cg_tbl_products` WHERE `thecarg_db`.`cg_tbl_products`.`id` IN (?,?) GROUP BY `thecarg_db`.`cg_tbl_products`.`article_number` ORDER BY MIN(`thecarg_db`.`cg_tbl_products`.`id`) ASC LIMIT ? OFFSET ?
prisma:query SELECT `thecarg_db`.`cg_tbl_products`.`id`, `thecarg_db`.`cg_tbl_products`.`techdoc_article_id`, `thecarg_db`.`cg_tbl_products`.`techdoc_brand_id`, `thecarg_db`.`cg_tbl_products`.`article_number`, `thecarg_db`.`cg_tbl_products`.`brand_name`, `thecarg_db`.`cg_tbl_products`.`status`, `thecarg_db`.`cg_tbl_products`.`created_at`, `thecarg_db`.`cg_tbl_products`.`updated_at`, `thecarg_db`.`cg_tbl_products`.`assembly_group_node_id`, `thecarg_db`.`cg_tbl_products`.`generic_article_id` FROM `thecarg_db`.`cg_tbl_products` WHERE `thecarg_db`.`cg_tbl_products`.`id` IN (?,?) ORDER BY `thecarg_db`.`cg_tbl_products`.`id` ASC
[2026-06-24T12:34:01.961Z] [INFO]: TecDoc → getArticles | provider: 25791 | country: IN | url: https://webservice.tecalliance.services/pegasus-3-0/services/TecdocToCatDLB.jsonEndpoint
--------------------------------------------------

[2026-06-24T12:34:01.964Z] [INFO]: TecDoc → getArticles | provider: 25791 | country: IN | url: https://webservice.tecalliance.services/pegasus-3-0/services/TecdocToCatDLB.jsonEndpoint
--------------------------------------------------

[2026-06-24T12:34:02.438Z] [INFO]: TecDoc → getArticles | provider: 25791 | country: IN | url: https://webservice.tecalliance.services/pegasus-3-0/services/TecdocToCatDLB.jsonEndpoint
--------------------------------------------------

[2026-06-24T12:34:02.447Z] [INFO]: TecDoc → getArticles | provider: 25791 | country: IN | url: https://webservice.tecalliance.services/pegasus-3-0/services/TecdocToCatDLB.jsonEndpoint
--------------------------------------------------

prisma:query SELECT `thecarg_db`.`cg_tbl_products`.`id`, `thecarg_db`.`cg_tbl_products`.`techdoc_article_id` FROM `thecarg_db`.`cg_tbl_products` WHERE (`thecarg_db`.`cg_tbl_products`.`techdoc_article_id` IN (?,?) AND `thecarg_db`.`cg_tbl_products`.`status` = ? AND `thecarg_db`.`cg_tbl_products`.`id` IN (?,?))
prisma:query SELECT `thecarg_db`.`cg_tbl_seller_products`.`id`, `thecarg_db`.`cg_tbl_seller_products`.`product_id`, `thecarg_db`.`cg_tbl_seller_products`.`customer_selling_price`, `thecarg_db`.`cg_tbl_seller_products`.`garage_selling_price`, `thecarg_db`.`cg_tbl_seller_products`.`mrp`, `thecarg_db`.`cg_tbl_seller_products`.`customer_discount_type`, `thecarg_db`.`cg_tbl_seller_products`.`customer_discount`, `thecarg_db`.`cg_tbl_seller_products`.`garage_discount_type`, `thecarg_db`.`cg_tbl_seller_products`.`garage_discount`, `thecarg_db`.`cg_tbl_seller_products`.`is_in_stock`, `thecarg_db`.`cg_tbl_seller_products`.`is_returnable`, `thecarg_db`.`cg_tbl_seller_products`.`return_days`, `thecarg_db`.`cg_tbl_seller_products`.`warranty_enabled`, `thecarg_db`.`cg_tbl_seller_products`.`warranty_duration`, `thecarg_db`.`cg_tbl_seller_products`.`warranty_duration_type`, `thecarg_db`.`cg_tbl_seller_products`.`warranty_document`, `thecarg_db`.`cg_tbl_seller_products`.`tax`, `thecarg_db`.`cg_tbl_seller_products`.`seller_id` FROM `thecarg_db`.`cg_tbl_seller_products` LEFT JOIN `thecarg_db`.`cg_tbl_sellers` AS `j1` ON (`j1`.`id`) = (`thecarg_db`.`cg_tbl_seller_products`.`seller_id`) WHERE (`thecarg_db`.`cg_tbl_seller_products`.`product_id` IN (?,?) AND `thecarg_db`.`cg_tbl_seller_products`.`status` = ? AND (`j1`.`status` = ? AND (`j1`.`id` IS NOT NULL))) ORDER BY `thecarg_db`.`cg_tbl_seller_products`.`customer_selling_price` ASC
prisma:query SELECT `thecarg_db`.`cg_tbl_sellers`.`id`, `thecarg_db`.`cg_tbl_sellers`.`seller_id`, `thecarg_db`.`cg_tbl_sellers`.`first_name`, `thecarg_db`.`cg_tbl_sellers`.`last_name`, `thecarg_db`.`cg_tbl_sellers`.`trade_name`, `thecarg_db`.`cg_tbl_sellers`.`city`, `thecarg_db`.`cg_tbl_sellers`.`state`, `thecarg_db`.`cg_tbl_sellers`.`email`, `thecarg_db`.`cg_tbl_sellers`.`mobile`, `thecarg_db`.`cg_tbl_sellers`.`address`, `thecarg_db`.`cg_tbl_sellers`.`pincode`, `thecarg_db`.`cg_tbl_sellers`.`status`, `thecarg_db`.`cg_tbl_sellers`.`operating_hours`, `thecarg_db`.`cg_tbl_sellers`.`zone`, `thecarg_db`.`cg_tbl_sellers`.`latitude`, `thecarg_db`.`cg_tbl_sellers`.`longitude` FROM `thecarg_db`.`cg_tbl_sellers` WHERE `thecarg_db`.`cg_tbl_sellers`.`id` IN (?)
prisma:query SELECT `thecarg_db`.`cg_tbl_zones`.`id`, `thecarg_db`.`cg_tbl_zones`.`zone_name` FROM `thecarg_db`.`cg_tbl_zones` WHERE 1=1
prisma:query SELECT 1
prisma:query SELECT COUNT(*) FROM (SELECT `thecarg_db`.`cg_tbl_user_notifications`.`id` FROM `thecarg_db`.`cg_tbl_user_notifications` WHERE (`thecarg_db`.`cg_tbl_user_notifications`.`user_id` = ? AND `thecarg_db`.`cg_tbl_user_notifications`.`user_role_id` = ? AND `thecarg_db`.`cg_tbl_user_notifications`.`platform` = ?)) AS `sub`
prisma:query SELECT `thecarg_db`.`cg_tbl_user_notifications`.`id`, `thecarg_db`.`cg_tbl_user_notifications`.`user_id`, `thecarg_db`.`cg_tbl_user_notifications`.`user_role_id`, `thecarg_db`.`cg_tbl_user_notifications`.`data`, `thecarg_db`.`cg_tbl_user_notifications`.`platform`, `thecarg_db`.`cg_tbl_user_notifications`.`is_read`, `thecarg_db`.`cg_tbl_user_notifications`.`created_at` FROM `thecarg_db`.`cg_tbl_user_notifications` WHERE (`thecarg_db`.`cg_tbl_user_notifications`.`user_id` = ? AND `thecarg_db`.`cg_tbl_user_notifications`.`user_role_id` = ? AND `thecarg_db`.`cg_tbl_user_notifications`.`platform` = ?) ORDER BY `thecarg_db`.`cg_tbl_user_notifications`.`created_at` DESC LIMIT ? OFFSET ?
prisma:query SELECT 1
prisma:query SELECT 1
prisma:query SELECT 1
prisma:query SELECT 1
prisma:query SELECT 1
prisma:query SELECT `thecarg_db`.`cg_tbl_vehicle_classes`.`id`, `thecarg_db`.`cg_tbl_vehicle_classes`.`name`, `thecarg_db`.`cg_tbl_vehicle_classes`.`slug` FROM `thecarg_db`.`cg_tbl_vehicle_classes` WHERE `thecarg_db`.`cg_tbl_vehicle_classes`.`status` = ? ORDER BY `thecarg_db`.`cg_tbl_vehicle_classes`.`name` ASC
prisma:query SELECT `thecarg_db`.`cg_tbl_business_settings`.`id`, `thecarg_db`.`cg_tbl_business_settings`.`key`, `thecarg_db`.`cg_tbl_business_settings`.`value`, `thecarg_db`.`cg_tbl_business_settings`.`created_at`, `thecarg_db`.`cg_tbl_business_settings`.`updated_at` FROM `thecarg_db`.`cg_tbl_business_settings` WHERE `thecarg_db`.`cg_tbl_business_settings`.`key` IN (?,?,?,?)
prisma:query SELECT `thecarg_db`.`cg_tbl_vehicle_fuel_types`.`id`, `thecarg_db`.`cg_tbl_vehicle_fuel_types`.`name`, `thecarg_db`.`cg_tbl_vehicle_fuel_types`.`slug` FROM `thecarg_db`.`cg_tbl_vehicle_fuel_types` WHERE `thecarg_db`.`cg_tbl_vehicle_fuel_types`.`status` = ? ORDER BY `thecarg_db`.`cg_tbl_vehicle_fuel_types`.`name` ASC
prisma:query SELECT id, zone_name AS zoneName, zone_code AS zoneCode FROM cg_tbl_zones WHERE status = 1 ORDER BY zone_name ASC
prisma:query SELECT `thecarg_db`.`cg_tbl_languages`.`id`, `thecarg_db`.`cg_tbl_languages`.`name`, `thecarg_db`.`cg_tbl_languages`.`slug` FROM `thecarg_db`.`cg_tbl_languages` WHERE `thecarg_db`.`cg_tbl_languages`.`status` = ? ORDER BY `thecarg_db`.`cg_tbl_languages`.`name` ASC
prisma:query SELECT `thecarg_db`.`cg_tbl_garages`.`id`, `thecarg_db`.`cg_tbl_garages`.`garage_id`, `thecarg_db`.`cg_tbl_garages`.`multiple_garages`, `thecarg_db`.`cg_tbl_garages`.`first_name`, `thecarg_db`.`cg_tbl_garages`.`last_name`, `thecarg_db`.`cg_tbl_garages`.`mobile`, `thecarg_db`.`cg_tbl_garages`.`email`, `thecarg_db`.`cg_tbl_garages`.`trade_name`, `thecarg_db`.`cg_tbl_garages`.`entity_type`, `thecarg_db`.`cg_tbl_garages`.`language`, `thecarg_db`.`cg_tbl_garages`.`aadhaar_number`, `thecarg_db`.`cg_tbl_garages`.`pan_number`, `thecarg_db`.`cg_tbl_garages`.`gstin_number`, `thecarg_db`.`cg_tbl_garages`.`cin_number`, `thecarg_db`.`cg_tbl_garages`.`dob`, `thecarg_db`.`cg_tbl_garages`.`address`, `thecarg_db`.`cg_tbl_garages`.`state`, `thecarg_db`.`cg_tbl_garages`.`city`, `thecarg_db`.`cg_tbl_garages`.`zone`, `thecarg_db`.`cg_tbl_garages`.`pincode`, `thecarg_db`.`cg_tbl_garages`.`latitude`, `thecarg_db`.`cg_tbl_garages`.`longitude`, `thecarg_db`.`cg_tbl_garages`.`bank_name`, `thecarg_db`.`cg_tbl_garages`.`bank_account_number`, `thecarg_db`.`cg_tbl_garages`.`bank_ifsc_code`, `thecarg_db`.`cg_tbl_garages`.`operating_hours`, `thecarg_db`.`cg_tbl_garages`.`vehicle_fuel_types`, `thecarg_db`.`cg_tbl_garages`.`vehicle_classes`, `thecarg_db`.`cg_tbl_garages`.`ev_safety_certificate_file`, `thecarg_db`.`cg_tbl_garages`.`pan_card_file`, `thecarg_db`.`cg_tbl_garages`.`gst_file`, `thecarg_db`.`cg_tbl_garages`.`cin_file`, `thecarg_db`.`cg_tbl_garages`.`bank_document_file`, `thecarg_db`.`cg_tbl_garages`.`aadhaar_card_file`, `thecarg_db`.`cg_tbl_garages`.`profile_photo_file`, `thecarg_db`.`cg_tbl_garages`.`infrastructure_image_file`, `thecarg_db`.`cg_tbl_garages`.`services`, `thecarg_db`.`cg_tbl_garages`.`status`, `thecarg_db`.`cg_tbl_garages`.`is_parent`, `thecarg_db`.`cg_tbl_garages`.`parent_id`, `thecarg_db`.`cg_tbl_garages`.`is_verified`, `thecarg_db`.`cg_tbl_garages`.`fcm_token`, `thecarg_db`.`cg_tbl_garages`.`subscription_id`, `thecarg_db`.`cg_tbl_garages`.`subscription_start_date`, `thecarg_db`.`cg_tbl_garages`.`subscription_end_date`, `thecarg_db`.`cg_tbl_garages`.`created_at`, `thecarg_db`.`cg_tbl_garages`.`updated_at` FROM `thecarg_db`.`cg_tbl_garages` WHERE `thecarg_db`.`cg_tbl_garages`.`id` = ? LIMIT ? OFFSET ?
prisma:query SELECT `thecarg_db`.`cg_tbl_vehicle_classes`.`id`, `thecarg_db`.`cg_tbl_vehicle_classes`.`name`, `thecarg_db`.`cg_tbl_vehicle_classes`.`slug`, `thecarg_db`.`cg_tbl_vehicle_classes`.`status`, `thecarg_db`.`cg_tbl_vehicle_classes`.`created_at`, `thecarg_db`.`cg_tbl_vehicle_classes`.`updated_at` FROM `thecarg_db`.`cg_tbl_vehicle_classes` WHERE (`thecarg_db`.`cg_tbl_vehicle_classes`.`id` IN (?) AND `thecarg_db`.`cg_tbl_vehicle_classes`.`status` = ?)
prisma:query SELECT `thecarg_db`.`cg_tbl_garages`.`id`, `thecarg_db`.`cg_tbl_garages`.`garage_id`, `thecarg_db`.`cg_tbl_garages`.`multiple_garages`, `thecarg_db`.`cg_tbl_garages`.`first_name`, `thecarg_db`.`cg_tbl_garages`.`last_name`, `thecarg_db`.`cg_tbl_garages`.`mobile`, `thecarg_db`.`cg_tbl_garages`.`email`, `thecarg_db`.`cg_tbl_garages`.`trade_name`, `thecarg_db`.`cg_tbl_garages`.`entity_type`, `thecarg_db`.`cg_tbl_garages`.`language`, `thecarg_db`.`cg_tbl_garages`.`aadhaar_number`, `thecarg_db`.`cg_tbl_garages`.`pan_number`, `thecarg_db`.`cg_tbl_garages`.`gstin_number`, `thecarg_db`.`cg_tbl_garages`.`cin_number`, `thecarg_db`.`cg_tbl_garages`.`dob`, `thecarg_db`.`cg_tbl_garages`.`address`, `thecarg_db`.`cg_tbl_garages`.`state`, `thecarg_db`.`cg_tbl_garages`.`city`, `thecarg_db`.`cg_tbl_garages`.`zone`, `thecarg_db`.`cg_tbl_garages`.`pincode`, `thecarg_db`.`cg_tbl_garages`.`latitude`, `thecarg_db`.`cg_tbl_garages`.`longitude`, `thecarg_db`.`cg_tbl_garages`.`bank_name`, `thecarg_db`.`cg_tbl_garages`.`bank_account_number`, `thecarg_db`.`cg_tbl_garages`.`bank_ifsc_code`, `thecarg_db`.`cg_tbl_garages`.`operating_hours`, `thecarg_db`.`cg_tbl_garages`.`vehicle_fuel_types`, `thecarg_db`.`cg_tbl_garages`.`vehicle_classes`, `thecarg_db`.`cg_tbl_garages`.`ev_safety_certificate_file`, `thecarg_db`.`cg_tbl_garages`.`pan_card_file`, `thecarg_db`.`cg_tbl_garages`.`gst_file`, `thecarg_db`.`cg_tbl_garages`.`cin_file`, `thecarg_db`.`cg_tbl_garages`.`bank_document_file`, `thecarg_db`.`cg_tbl_garages`.`aadhaar_card_file`, `thecarg_db`.`cg_tbl_garages`.`profile_photo_file`, `thecarg_db`.`cg_tbl_garages`.`infrastructure_image_file`, `thecarg_db`.`cg_tbl_garages`.`services`, `thecarg_db`.`cg_tbl_garages`.`status`, `thecarg_db`.`cg_tbl_garages`.`is_parent`, `thecarg_db`.`cg_tbl_garages`.`parent_id`, `thecarg_db`.`cg_tbl_garages`.`is_verified`, `thecarg_db`.`cg_tbl_garages`.`fcm_token`, `thecarg_db`.`cg_tbl_garages`.`subscription_id`, `thecarg_db`.`cg_tbl_garages`.`subscription_start_date`, `thecarg_db`.`cg_tbl_garages`.`subscription_end_date`, `thecarg_db`.`cg_tbl_garages`.`created_at`, `thecarg_db`.`cg_tbl_garages`.`updated_at` FROM `thecarg_db`.`cg_tbl_garages` WHERE (`thecarg_db`.`cg_tbl_garages`.`id` = ? AND 1=1) LIMIT ? OFFSET ?
prisma:query SELECT `thecarg_db`.`cg_tbl_vehicle_fuel_types`.`id`, `thecarg_db`.`cg_tbl_vehicle_fuel_types`.`name`, `thecarg_db`.`cg_tbl_vehicle_fuel_types`.`slug`, `thecarg_db`.`cg_tbl_vehicle_fuel_types`.`status`, `thecarg_db`.`cg_tbl_vehicle_fuel_types`.`created_at`, `thecarg_db`.`cg_tbl_vehicle_fuel_types`.`updated_at` FROM `thecarg_db`.`cg_tbl_vehicle_fuel_types` WHERE (`thecarg_db`.`cg_tbl_vehicle_fuel_types`.`id` IN (?) AND `thecarg_db`.`cg_tbl_vehicle_fuel_types`.`status` = ?)
prisma:query SELECT COUNT(*) FROM (SELECT `thecarg_db`.`cg_tbl_user_addresses`.`id` FROM `thecarg_db`.`cg_tbl_user_addresses` WHERE (`thecarg_db`.`cg_tbl_user_addresses`.`user_id` = ? AND `thecarg_db`.`cg_tbl_user_addresses`.`role_id` = ? AND `thecarg_db`.`cg_tbl_user_addresses`.`status` = ?)) AS `sub`
prisma:query SELECT `thecarg_db`.`cg_tbl_languages`.`id`, `thecarg_db`.`cg_tbl_languages`.`name`, `thecarg_db`.`cg_tbl_languages`.`slug`, `thecarg_db`.`cg_tbl_languages`.`status`, `thecarg_db`.`cg_tbl_languages`.`created_at`, `thecarg_db`.`cg_tbl_languages`.`updated_at` FROM `thecarg_db`.`cg_tbl_languages` WHERE (`thecarg_db`.`cg_tbl_languages`.`id` IN (?,?,?) AND `thecarg_db`.`cg_tbl_languages`.`status` = ?)
prisma:query SELECT `thecarg_db`.`cg_tbl_user_addresses`.`id`, `thecarg_db`.`cg_tbl_user_addresses`.`user_id`, `thecarg_db`.`cg_tbl_user_addresses`.`role_id`, `thecarg_db`.`cg_tbl_user_addresses`.`address_title`, `thecarg_db`.`cg_tbl_user_addresses`.`contact_name`, `thecarg_db`.`cg_tbl_user_addresses`.`phone_number`, `thecarg_db`.`cg_tbl_user_addresses`.`flat_house_no`, `thecarg_db`.`cg_tbl_user_addresses`.`area_locality`, `thecarg_db`.`cg_tbl_user_addresses`.`landmark`, `thecarg_db`.`cg_tbl_user_addresses`.`pincode`, `thecarg_db`.`cg_tbl_user_addresses`.`city`, `thecarg_db`.`cg_tbl_user_addresses`.`state`, `thecarg_db`.`cg_tbl_user_addresses`.`latitude`, `thecarg_db`.`cg_tbl_user_addresses`.`longitude`, `thecarg_db`.`cg_tbl_user_addresses`.`full_address`, `thecarg_db`.`cg_tbl_user_addresses`.`is_default`, `thecarg_db`.`cg_tbl_user_addresses`.`status`, `thecarg_db`.`cg_tbl_user_addresses`.`created_at`, `thecarg_db`.`cg_tbl_user_addresses`.`updated_at` FROM `thecarg_db`.`cg_tbl_user_addresses` WHERE (`thecarg_db`.`cg_tbl_user_addresses`.`user_id` = ? AND `thecarg_db`.`cg_tbl_user_addresses`.`role_id` = ? AND `thecarg_db`.`cg_tbl_user_addresses`.`status` = ?) ORDER BY `thecarg_db`.`cg_tbl_user_addresses`.`is_default` DESC, `thecarg_db`.`cg_tbl_user_addresses`.`created_at` DESC LIMIT ? OFFSET ?
prisma:query SELECT `thecarg_db`.`cg_tbl_user_roles`.`id`, `thecarg_db`.`cg_tbl_user_roles`.`role_name`, `thecarg_db`.`cg_tbl_user_roles`.`role_slug`, `thecarg_db`.`cg_tbl_user_roles`.`status`, `thecarg_db`.`cg_tbl_user_roles`.`created_at`, `thecarg_db`.`cg_tbl_user_roles`.`updated_at` FROM `thecarg_db`.`cg_tbl_user_roles` WHERE `thecarg_db`.`cg_tbl_user_roles`.`role_slug` = ? LIMIT ? OFFSET ?
prisma:query SELECT COUNT(*) FROM (SELECT `thecarg_db`.`cg_tbl_categories`.`id` FROM `thecarg_db`.`cg_tbl_categories` WHERE (`thecarg_db`.`cg_tbl_categories`.`status` = ? AND (`thecarg_db`.`cg_tbl_categories`.`is_accident` = ? OR (`thecarg_db`.`cg_tbl_categories`.`id`) IN (SELECT `t1`.`category_id` FROM `thecarg_db`.`cg_tbl_category_sub_category_setup` AS `t1` LEFT JOIN `thecarg_db`.`cg_tbl_sub_categories` AS `j2` ON (`j2`.`id`) = (`t1`.`sub_category_id`) WHERE (`t1`.`status` = ? AND (`j2`.`status` = ? AND (`j2`.`id` IS NOT NULL)) AND `t1`.`category_id` IS NOT NULL))))) AS `sub`
prisma:query SELECT `thecarg_db`.`cg_tbl_categories`.`id`, `thecarg_db`.`cg_tbl_categories`.`category_name`, `thecarg_db`.`cg_tbl_categories`.`category_image`, `thecarg_db`.`cg_tbl_categories`.`is_accident` FROM `thecarg_db`.`cg_tbl_categories` WHERE (`thecarg_db`.`cg_tbl_categories`.`status` = ? AND (`thecarg_db`.`cg_tbl_categories`.`is_accident` = ? OR (`thecarg_db`.`cg_tbl_categories`.`id`) IN (SELECT `t1`.`category_id` FROM `thecarg_db`.`cg_tbl_category_sub_category_setup` AS `t1` LEFT JOIN `thecarg_db`.`cg_tbl_sub_categories` AS `j2` ON (`j2`.`id`) = (`t1`.`sub_category_id`) WHERE (`t1`.`status` = ? AND (`j2`.`status` = ? AND (`j2`.`id` IS NOT NULL)) AND `t1`.`category_id` IS NOT NULL)))) ORDER BY `thecarg_db`.`cg_tbl_categories`.`id` ASC LIMIT ? OFFSET ?
prisma:query SELECT `thecarg_db`.`cg_tbl_profile_update_requests`.`id`, `thecarg_db`.`cg_tbl_profile_update_requests`.`user_id`, `thecarg_db`.`cg_tbl_profile_update_requests`.`user_role_id`, `thecarg_db`.`cg_tbl_profile_update_requests`.`change_data`, `thecarg_db`.`cg_tbl_profile_update_requests`.`status`, `thecarg_db`.`cg_tbl_profile_update_requests`.`action_by`, `thecarg_db`.`cg_tbl_profile_update_requests`.`action_at`, `thecarg_db`.`cg_tbl_profile_update_requests`.`rejection_reason`, `thecarg_db`.`cg_tbl_profile_update_requests`.`created_at`, `thecarg_db`.`cg_tbl_profile_update_requests`.`updated_at` FROM `thecarg_db`.`cg_tbl_profile_update_requests` WHERE (`thecarg_db`.`cg_tbl_profile_update_requests`.`user_id` = ? AND `thecarg_db`.`cg_tbl_profile_update_requests`.`user_role_id` = ? AND `thecarg_db`.`cg_tbl_profile_update_requests`.`status` = ?)
prisma:query SELECT `thecarg_db`.`cg_tbl_user_subscriptions`.`id`, `thecarg_db`.`cg_tbl_user_subscriptions`.`user_id`, `thecarg_db`.`cg_tbl_user_subscriptions`.`user_role_id`, `thecarg_db`.`cg_tbl_user_subscriptions`.`subscription_plan_id`, `thecarg_db`.`cg_tbl_user_subscriptions`.`plan_title`, `thecarg_db`.`cg_tbl_user_subscriptions`.`plan_type`, `thecarg_db`.`cg_tbl_user_subscriptions`.`amount`, `thecarg_db`.`cg_tbl_user_subscriptions`.`gst_percentage`, `thecarg_db`.`cg_tbl_user_subscriptions`.`gst_amount`, `thecarg_db`.`cg_tbl_user_subscriptions`.`total_amount`, `thecarg_db`.`cg_tbl_user_subscriptions`.`gateway_name`, `thecarg_db`.`cg_tbl_user_subscriptions`.`gateway_order_id`, `thecarg_db`.`cg_tbl_user_subscriptions`.`gateway_payment_id`, `thecarg_db`.`cg_tbl_user_subscriptions`.`status`, `thecarg_db`.`cg_tbl_user_subscriptions`.`subscription_start_date`, `thecarg_db`.`cg_tbl_user_subscriptions`.`subscription_end_date`, `thecarg_db`.`cg_tbl_user_subscriptions`.`created_at`, `thecarg_db`.`cg_tbl_user_subscriptions`.`updated_at` FROM `thecarg_db`.`cg_tbl_user_subscriptions` WHERE (`thecarg_db`.`cg_tbl_user_subscriptions`.`user_id` = ? AND `thecarg_db`.`cg_tbl_user_subscriptions`.`user_role_id` = ? AND `thecarg_db`.`cg_tbl_user_subscriptions`.`status` = ? AND `thecarg_db`.`cg_tbl_user_subscriptions`.`subscription_end_date` > ?) ORDER BY `thecarg_db`.`cg_tbl_user_subscriptions`.`subscription_end_date` DESC, `thecarg_db`.`cg_tbl_user_subscriptions`.`created_at` DESC LIMIT ? OFFSET ?
prisma:query SELECT `thecarg_db`.`cg_tbl_subscription_plans`.`id`, `thecarg_db`.`cg_tbl_subscription_plans`.`user_role_id`, `thecarg_db`.`cg_tbl_subscription_plans`.`title`, `thecarg_db`.`cg_tbl_subscription_plans`.`plan_type`, `thecarg_db`.`cg_tbl_subscription_plans`.`price`, `thecarg_db`.`cg_tbl_subscription_plans`.`gst_percentage`, `thecarg_db`.`cg_tbl_subscription_plans`.`features`, `thecarg_db`.`cg_tbl_subscription_plans`.`status`, `thecarg_db`.`cg_tbl_subscription_plans`.`created_at`, `thecarg_db`.`cg_tbl_subscription_plans`.`updated_at` FROM `thecarg_db`.`cg_tbl_subscription_plans` WHERE `thecarg_db`.`cg_tbl_subscription_plans`.`id` = ? LIMIT ? OFFSET ?
prisma:query SELECT `thecarg_db`.`cg_tbl_garages`.`id`, `thecarg_db`.`cg_tbl_garages`.`garage_id`, `thecarg_db`.`cg_tbl_garages`.`multiple_garages`, `thecarg_db`.`cg_tbl_garages`.`first_name`, `thecarg_db`.`cg_tbl_garages`.`last_name`, `thecarg_db`.`cg_tbl_garages`.`mobile`, `thecarg_db`.`cg_tbl_garages`.`email`, `thecarg_db`.`cg_tbl_garages`.`trade_name`, `thecarg_db`.`cg_tbl_garages`.`entity_type`, `thecarg_db`.`cg_tbl_garages`.`language`, `thecarg_db`.`cg_tbl_garages`.`aadhaar_number`, `thecarg_db`.`cg_tbl_garages`.`pan_number`, `thecarg_db`.`cg_tbl_garages`.`gstin_number`, `thecarg_db`.`cg_tbl_garages`.`cin_number`, `thecarg_db`.`cg_tbl_garages`.`dob`, `thecarg_db`.`cg_tbl_garages`.`address`, `thecarg_db`.`cg_tbl_garages`.`state`, `thecarg_db`.`cg_tbl_garages`.`city`, `thecarg_db`.`cg_tbl_garages`.`zone`, `thecarg_db`.`cg_tbl_garages`.`pincode`, `thecarg_db`.`cg_tbl_garages`.`latitude`, `thecarg_db`.`cg_tbl_garages`.`longitude`, `thecarg_db`.`cg_tbl_garages`.`bank_name`, `thecarg_db`.`cg_tbl_garages`.`bank_account_number`, `thecarg_db`.`cg_tbl_garages`.`bank_ifsc_code`, `thecarg_db`.`cg_tbl_garages`.`operating_hours`, `thecarg_db`.`cg_tbl_garages`.`vehicle_fuel_types`, `thecarg_db`.`cg_tbl_garages`.`vehicle_classes`, `thecarg_db`.`cg_tbl_garages`.`ev_safety_certificate_file`, `thecarg_db`.`cg_tbl_garages`.`pan_card_file`, `thecarg_db`.`cg_tbl_garages`.`gst_file`, `thecarg_db`.`cg_tbl_garages`.`cin_file`, `thecarg_db`.`cg_tbl_garages`.`bank_document_file`, `thecarg_db`.`cg_tbl_garages`.`aadhaar_card_file`, `thecarg_db`.`cg_tbl_garages`.`profile_photo_file`, `thecarg_db`.`cg_tbl_garages`.`infrastructure_image_file`, `thecarg_db`.`cg_tbl_garages`.`services`, `thecarg_db`.`cg_tbl_garages`.`status`, `thecarg_db`.`cg_tbl_garages`.`is_parent`, `thecarg_db`.`cg_tbl_garages`.`parent_id`, `thecarg_db`.`cg_tbl_garages`.`is_verified`, `thecarg_db`.`cg_tbl_garages`.`fcm_token`, `thecarg_db`.`cg_tbl_garages`.`subscription_id`, `thecarg_db`.`cg_tbl_garages`.`subscription_start_date`, `thecarg_db`.`cg_tbl_garages`.`subscription_end_date`, `thecarg_db`.`cg_tbl_garages`.`created_at`, `thecarg_db`.`cg_tbl_garages`.`updated_at` FROM `thecarg_db`.`cg_tbl_garages` WHERE (`thecarg_db`.`cg_tbl_garages`.`parent_id` = ? AND `thecarg_db`.`cg_tbl_garages`.`is_parent` = ? AND `thecarg_db`.`cg_tbl_garages`.`status` <> ?) ORDER BY `thecarg_db`.`cg_tbl_garages`.`created_at` DESC
prisma:query SELECT `thecarg_db`.`cg_tbl_profile_update_requests`.`id`, `thecarg_db`.`cg_tbl_profile_update_requests`.`user_id`, `thecarg_db`.`cg_tbl_profile_update_requests`.`user_role_id`, `thecarg_db`.`cg_tbl_profile_update_requests`.`change_data`, `thecarg_db`.`cg_tbl_profile_update_requests`.`status`, `thecarg_db`.`cg_tbl_profile_update_requests`.`action_by`, `thecarg_db`.`cg_tbl_profile_update_requests`.`action_at`, `thecarg_db`.`cg_tbl_profile_update_requests`.`rejection_reason`, `thecarg_db`.`cg_tbl_profile_update_requests`.`created_at`, `thecarg_db`.`cg_tbl_profile_update_requests`.`updated_at` FROM `thecarg_db`.`cg_tbl_profile_update_requests` WHERE (`thecarg_db`.`cg_tbl_profile_update_requests`.`user_id` IN (?,?,?,?,?) AND `thecarg_db`.`cg_tbl_profile_update_requests`.`user_role_id` = ? AND `thecarg_db`.`cg_tbl_profile_update_requests`.`status` = ?)
prisma:query SELECT `thecarg_db`.`cg_tbl_garages`.`id`, `thecarg_db`.`cg_tbl_garages`.`garage_id`, `thecarg_db`.`cg_tbl_garages`.`multiple_garages`, `thecarg_db`.`cg_tbl_garages`.`first_name`, `thecarg_db`.`cg_tbl_garages`.`last_name`, `thecarg_db`.`cg_tbl_garages`.`mobile`, `thecarg_db`.`cg_tbl_garages`.`email`, `thecarg_db`.`cg_tbl_garages`.`trade_name`, `thecarg_db`.`cg_tbl_garages`.`entity_type`, `thecarg_db`.`cg_tbl_garages`.`language`, `thecarg_db`.`cg_tbl_garages`.`aadhaar_number`, `thecarg_db`.`cg_tbl_garages`.`pan_number`, `thecarg_db`.`cg_tbl_garages`.`gstin_number`, `thecarg_db`.`cg_tbl_garages`.`cin_number`, `thecarg_db`.`cg_tbl_garages`.`dob`, `thecarg_db`.`cg_tbl_garages`.`address`, `thecarg_db`.`cg_tbl_garages`.`state`, `thecarg_db`.`cg_tbl_garages`.`city`, `thecarg_db`.`cg_tbl_garages`.`zone`, `thecarg_db`.`cg_tbl_garages`.`pincode`, `thecarg_db`.`cg_tbl_garages`.`latitude`, `thecarg_db`.`cg_tbl_garages`.`longitude`, `thecarg_db`.`cg_tbl_garages`.`bank_name`, `thecarg_db`.`cg_tbl_garages`.`bank_account_number`, `thecarg_db`.`cg_tbl_garages`.`bank_ifsc_code`, `thecarg_db`.`cg_tbl_garages`.`operating_hours`, `thecarg_db`.`cg_tbl_garages`.`vehicle_fuel_types`, `thecarg_db`.`cg_tbl_garages`.`vehicle_classes`, `thecarg_db`.`cg_tbl_garages`.`ev_safety_certificate_file`, `thecarg_db`.`cg_tbl_garages`.`pan_card_file`, `thecarg_db`.`cg_tbl_garages`.`gst_file`, `thecarg_db`.`cg_tbl_garages`.`cin_file`, `thecarg_db`.`cg_tbl_garages`.`bank_document_file`, `thecarg_db`.`cg_tbl_garages`.`aadhaar_card_file`, `thecarg_db`.`cg_tbl_garages`.`profile_photo_file`, `thecarg_db`.`cg_tbl_garages`.`infrastructure_image_file`, `thecarg_db`.`cg_tbl_garages`.`services`, `thecarg_db`.`cg_tbl_garages`.`status`, `thecarg_db`.`cg_tbl_garages`.`is_parent`, `thecarg_db`.`cg_tbl_garages`.`parent_id`, `thecarg_db`.`cg_tbl_garages`.`is_verified`, `thecarg_db`.`cg_tbl_garages`.`fcm_token`, `thecarg_db`.`cg_tbl_garages`.`subscription_id`, `thecarg_db`.`cg_tbl_garages`.`subscription_start_date`, `thecarg_db`.`cg_tbl_garages`.`subscription_end_date`, `thecarg_db`.`cg_tbl_garages`.`created_at`, `thecarg_db`.`cg_tbl_garages`.`updated_at` FROM `thecarg_db`.`cg_tbl_garages` WHERE (`thecarg_db`.`cg_tbl_garages`.`parent_id` = ? AND `thecarg_db`.`cg_tbl_garages`.`is_parent` = ? AND `thecarg_db`.`cg_tbl_garages`.`status` <> ?) ORDER BY `thecarg_db`.`cg_tbl_garages`.`created_at` DESC
prisma:query SELECT `thecarg_db`.`cg_tbl_profile_update_requests`.`id`, `thecarg_db`.`cg_tbl_profile_update_requests`.`user_id`, `thecarg_db`.`cg_tbl_profile_update_requests`.`user_role_id`, `thecarg_db`.`cg_tbl_profile_update_requests`.`change_data`, `thecarg_db`.`cg_tbl_profile_update_requests`.`status`, `thecarg_db`.`cg_tbl_profile_update_requests`.`action_by`, `thecarg_db`.`cg_tbl_profile_update_requests`.`action_at`, `thecarg_db`.`cg_tbl_profile_update_requests`.`rejection_reason`, `thecarg_db`.`cg_tbl_profile_update_requests`.`created_at`, `thecarg_db`.`cg_tbl_profile_update_requests`.`updated_at` FROM `thecarg_db`.`cg_tbl_profile_update_requests` WHERE (`thecarg_db`.`cg_tbl_profile_update_requests`.`user_id` IN (?,?,?,?,?) AND `thecarg_db`.`cg_tbl_profile_update_requests`.`user_role_id` = ? AND `thecarg_db`.`cg_tbl_profile_update_requests`.`status` = ?)
prisma:query SELECT `thecarg_db`.`cg_tbl_category_sub_category_setup`.`id`, `thecarg_db`.`cg_tbl_category_sub_category_setup`.`sub_category_id`, `thecarg_db`.`cg_tbl_category_sub_category_setup`.`category_id` FROM `thecarg_db`.`cg_tbl_category_sub_category_setup` LEFT JOIN `thecarg_db`.`cg_tbl_sub_categories` AS `j1` ON (`j1`.`id`) = (`thecarg_db`.`cg_tbl_category_sub_category_setup`.`sub_category_id`) WHERE ((`thecarg_db`.`cg_tbl_category_sub_category_setup`.`status` = ? AND (`j1`.`status` = ? AND (`j1`.`id` IS NOT NULL))) AND `thecarg_db`.`cg_tbl_category_sub_category_setup`.`category_id` IN (?,?,?,?,?,?,?,?))
prisma:query BEGIN
prisma:query SELECT `thecarg_db`.`cg_tbl_garages`.`id` FROM `thecarg_db`.`cg_tbl_garages` WHERE (`thecarg_db`.`cg_tbl_garages`.`id` = ? AND 1=1)
prisma:query UPDATE `thecarg_db`.`cg_tbl_garages` SET `fcm_token` = ?, `updated_at` = ? WHERE (`thecarg_db`.`cg_tbl_garages`.`id` IN (?) AND (`thecarg_db`.`cg_tbl_garages`.`id` = ? AND 1=1))
prisma:query SELECT `thecarg_db`.`cg_tbl_garages`.`id`, `thecarg_db`.`cg_tbl_garages`.`garage_id`, `thecarg_db`.`cg_tbl_garages`.`multiple_garages`, `thecarg_db`.`cg_tbl_garages`.`first_name`, `thecarg_db`.`cg_tbl_garages`.`last_name`, `thecarg_db`.`cg_tbl_garages`.`mobile`, `thecarg_db`.`cg_tbl_garages`.`email`, `thecarg_db`.`cg_tbl_garages`.`trade_name`, `thecarg_db`.`cg_tbl_garages`.`entity_type`, `thecarg_db`.`cg_tbl_garages`.`language`, `thecarg_db`.`cg_tbl_garages`.`aadhaar_number`, `thecarg_db`.`cg_tbl_garages`.`pan_number`, `thecarg_db`.`cg_tbl_garages`.`gstin_number`, `thecarg_db`.`cg_tbl_garages`.`cin_number`, `thecarg_db`.`cg_tbl_garages`.`dob`, `thecarg_db`.`cg_tbl_garages`.`address`, `thecarg_db`.`cg_tbl_garages`.`state`, `thecarg_db`.`cg_tbl_garages`.`city`, `thecarg_db`.`cg_tbl_garages`.`zone`, `thecarg_db`.`cg_tbl_garages`.`pincode`, `thecarg_db`.`cg_tbl_garages`.`latitude`, `thecarg_db`.`cg_tbl_garages`.`longitude`, `thecarg_db`.`cg_tbl_garages`.`bank_name`, `thecarg_db`.`cg_tbl_garages`.`bank_account_number`, `thecarg_db`.`cg_tbl_garages`.`bank_ifsc_code`, `thecarg_db`.`cg_tbl_garages`.`operating_hours`, `thecarg_db`.`cg_tbl_garages`.`vehicle_fuel_types`, `thecarg_db`.`cg_tbl_garages`.`vehicle_classes`, `thecarg_db`.`cg_tbl_garages`.`ev_safety_certificate_file`, `thecarg_db`.`cg_tbl_garages`.`pan_card_file`, `thecarg_db`.`cg_tbl_garages`.`gst_file`, `thecarg_db`.`cg_tbl_garages`.`cin_file`, `thecarg_db`.`cg_tbl_garages`.`bank_document_file`, `thecarg_db`.`cg_tbl_garages`.`aadhaar_card_file`, `thecarg_db`.`cg_tbl_garages`.`profile_photo_file`, `thecarg_db`.`cg_tbl_garages`.`infrastructure_image_file`, `thecarg_db`.`cg_tbl_garages`.`services`, `thecarg_db`.`cg_tbl_garages`.`status`, `thecarg_db`.`cg_tbl_garages`.`is_parent`, `thecarg_db`.`cg_tbl_garages`.`parent_id`, `thecarg_db`.`cg_tbl_garages`.`is_verified`, `thecarg_db`.`cg_tbl_garages`.`fcm_token`, `thecarg_db`.`cg_tbl_garages`.`subscription_id`, `thecarg_db`.`cg_tbl_garages`.`subscription_start_date`, `thecarg_db`.`cg_tbl_garages`.`subscription_end_date`, `thecarg_db`.`cg_tbl_garages`.`created_at`, `thecarg_db`.`cg_tbl_garages`.`updated_at` FROM `thecarg_db`.`cg_tbl_garages` WHERE `thecarg_db`.`cg_tbl_garages`.`id` = ? LIMIT ? OFFSET ?
prisma:query COMMIT
[2026-06-24T12:34:45.877Z] [INFO]: [ZONE_RESOLVE] Resolving zone for coordinates: (13.069852978031037, 80.19511070046688)
--------------------------------------------------

prisma:query SELECT id, status, zone_name AS zoneName, zone_code AS zoneCode, ABS(ST_Area(coordinates)) as area 
       FROM cg_tbl_zones 
       WHERE ST_Contains(coordinates, ST_GeomFromText(?))
       ORDER BY area ASC
[2026-06-24T12:34:46.103Z] [INFO]: [BANNERS] Fetching garage banners for zoneIds: [13, 11]
--------------------------------------------------

prisma:query 
      SELECT 
        'admin_banner' AS bannerSource,
        b.id,
        b.title,
        b.banner_image AS bannerImage,
        NULL AS userId,
        NULL AS userRoleId,
        NULL AS productId,
        b.created_at AS createdAt
      FROM cg_tbl_banners b
      WHERE b.status = 1 
        AND b.zone_id IN (?,?)

      UNION ALL

      SELECT 
        'advertisement' AS bannerSource,
        a.id,
        a.title,
        a.banner_image AS bannerImage,
        a.user_id AS userId,
        a.user_role_id AS userRoleId,
        a.product_id AS productId,
        a.created_at AS createdAt
      FROM cg_tbl_advertisements a
      WHERE a.status = 1 
        AND a.advertisement_type = 'banner'
        AND a.approval_status = 'approved'
        AND a.payment_status = 'paid'
        AND NOW() BETWEEN a.from_date AND a.to_date
        AND a.zone_id IN (?,?)
      ORDER BY createdAt DESC
    
prisma:query SELECT `thecarg_db`.`cg_tbl_zones`.`id` FROM `thecarg_db`.`cg_tbl_zones` WHERE (`thecarg_db`.`cg_tbl_zones`.`id` IN (?,?) AND `thecarg_db`.`cg_tbl_zones`.`status` = ?)
prisma:query SELECT `thecarg_db`.`cg_tbl_zones`.`id` FROM `thecarg_db`.`cg_tbl_zones` WHERE (`thecarg_db`.`cg_tbl_zones`.`id` IN (?,?) AND `thecarg_db`.`cg_tbl_zones`.`status` = ?)
prisma:query SELECT `thecarg_db`.`cg_tbl_sellers`.`id`, `thecarg_db`.`cg_tbl_sellers`.`status`, `thecarg_db`.`cg_tbl_sellers`.`operating_hours`, `thecarg_db`.`cg_tbl_sellers`.`zone` FROM `thecarg_db`.`cg_tbl_sellers` WHERE `thecarg_db`.`cg_tbl_sellers`.`status` = ?
prisma:query SELECT `thecarg_db`.`cg_tbl_sellers`.`id`, `thecarg_db`.`cg_tbl_sellers`.`status`, `thecarg_db`.`cg_tbl_sellers`.`operating_hours`, `thecarg_db`.`cg_tbl_sellers`.`zone` FROM `thecarg_db`.`cg_tbl_sellers` WHERE `thecarg_db`.`cg_tbl_sellers`.`status` = ?
prisma:query SELECT `thecarg_db`.`cg_tbl_products`.`assembly_group_node_id`, `thecarg_db`.`cg_tbl_products`.`generic_article_id` FROM `thecarg_db`.`cg_tbl_products` WHERE (`thecarg_db`.`cg_tbl_products`.`status` = ? AND (`thecarg_db`.`cg_tbl_products`.`id`) IN (SELECT `t1`.`product_id` FROM `thecarg_db`.`cg_tbl_seller_products` AS `t1` WHERE (`t1`.`status` = ? AND `t1`.`is_in_stock` = ? AND `t1`.`seller_id` IN (?) AND `t1`.`product_id` IS NOT NULL))) GROUP BY `thecarg_db`.`cg_tbl_products`.`assembly_group_node_id`, `thecarg_db`.`cg_tbl_products`.`generic_article_id`
prisma:query SELECT COUNT(`thecarg_db`.`cg_tbl_products`.`id`), `thecarg_db`.`cg_tbl_products`.`techdoc_brand_id` FROM `thecarg_db`.`cg_tbl_products` WHERE (`thecarg_db`.`cg_tbl_products`.`status` = ? AND (`thecarg_db`.`cg_tbl_products`.`id`) IN (SELECT `t1`.`product_id` FROM `thecarg_db`.`cg_tbl_seller_products` AS `t1` WHERE (`t1`.`status` = ? AND `t1`.`is_in_stock` = ? AND `t1`.`seller_id` IN (?) AND `t1`.`product_id` IS NOT NULL))) GROUP BY `thecarg_db`.`cg_tbl_products`.`techdoc_brand_id`
prisma:query SELECT COUNT(`thecarg_db`.`cg_tbl_products`.`id`), `thecarg_db`.`cg_tbl_products`.`techdoc_brand_id`, `thecarg_db`.`cg_tbl_products`.`brand_name` FROM `thecarg_db`.`cg_tbl_products` WHERE (`thecarg_db`.`cg_tbl_products`.`status` = ? AND (`thecarg_db`.`cg_tbl_products`.`id`) IN (SELECT `t1`.`product_id` FROM `thecarg_db`.`cg_tbl_seller_products` AS `t1` WHERE (`t1`.`status` = ? AND `t1`.`is_in_stock` = ? AND `t1`.`seller_id` IN (?) AND `t1`.`product_id` IS NOT NULL))) GROUP BY `thecarg_db`.`cg_tbl_products`.`techdoc_brand_id`, `thecarg_db`.`cg_tbl_products`.`brand_name` ORDER BY `thecarg_db`.`cg_tbl_products`.`techdoc_brand_id` ASC LIMIT ? OFFSET ?
[2026-06-24T12:34:48.917Z] [INFO]: TecDoc → getGenericArticles | provider: 25791 | country: IN | url: https://webservice.tecalliance.services/pegasus-3-0/services/TecdocToCatDLB.jsonEndpoint
--------------------------------------------------

[2026-06-24T12:34:48.922Z] [INFO]: TecDoc → getBrands | provider: 25791 | country: IN | url: https://webservice.tecalliance.services/pegasus-3-0/services/TecdocToCatDLB.jsonEndpoint
--------------------------------------------------

prisma:query SELECT `thecarg_db`.`cg_tbl_products`.`assembly_group_node_id`, `thecarg_db`.`cg_tbl_products`.`generic_article_id` FROM `thecarg_db`.`cg_tbl_products` WHERE `thecarg_db`.`cg_tbl_products`.`status` = ? GROUP BY `thecarg_db`.`cg_tbl_products`.`assembly_group_node_id`, `thecarg_db`.`cg_tbl_products`.`generic_article_id`
[2026-06-24T12:34:49.760Z] [INFO]: TecDoc → getArticles | provider: 25791 | country: IN | url: https://webservice.tecalliance.services/pegasus-3-0/services/TecdocToCatDLB.jsonEndpoint
--------------------------------------------------

prisma:query SELECT `thecarg_db`.`cg_tbl_zones`.`id` FROM `thecarg_db`.`cg_tbl_zones` WHERE (`thecarg_db`.`cg_tbl_zones`.`id` IN (?,?) AND `thecarg_db`.`cg_tbl_zones`.`status` = ?)
prisma:query SELECT `thecarg_db`.`cg_tbl_sellers`.`id`, `thecarg_db`.`cg_tbl_sellers`.`status`, `thecarg_db`.`cg_tbl_sellers`.`operating_hours`, `thecarg_db`.`cg_tbl_sellers`.`zone` FROM `thecarg_db`.`cg_tbl_sellers` WHERE `thecarg_db`.`cg_tbl_sellers`.`status` = ?
prisma:query SELECT `thecarg_db`.`cg_tbl_products`.`id`, `thecarg_db`.`cg_tbl_products`.`article_number` FROM `thecarg_db`.`cg_tbl_products` WHERE (`thecarg_db`.`cg_tbl_products`.`status` = ? AND (`thecarg_db`.`cg_tbl_products`.`id`) IN (SELECT `t1`.`product_id` FROM `thecarg_db`.`cg_tbl_seller_products` AS `t1` WHERE (`t1`.`status` = ? AND `t1`.`seller_id` IN (?) AND `t1`.`product_id` IS NOT NULL))) ORDER BY `thecarg_db`.`cg_tbl_products`.`id` ASC
prisma:query SELECT `thecarg_db`.`cg_tbl_products`.`article_number` FROM `thecarg_db`.`cg_tbl_products` WHERE `thecarg_db`.`cg_tbl_products`.`id` IN (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?) GROUP BY `thecarg_db`.`cg_tbl_products`.`article_number`
prisma:query SELECT MIN(`thecarg_db`.`cg_tbl_products`.`id`), `thecarg_db`.`cg_tbl_products`.`article_number` FROM `thecarg_db`.`cg_tbl_products` WHERE `thecarg_db`.`cg_tbl_products`.`id` IN (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?) GROUP BY `thecarg_db`.`cg_tbl_products`.`article_number` ORDER BY MIN(`thecarg_db`.`cg_tbl_products`.`id`) ASC LIMIT ? OFFSET ?
prisma:query SELECT `thecarg_db`.`cg_tbl_products`.`id`, `thecarg_db`.`cg_tbl_products`.`techdoc_article_id`, `thecarg_db`.`cg_tbl_products`.`techdoc_brand_id`, `thecarg_db`.`cg_tbl_products`.`article_number`, `thecarg_db`.`cg_tbl_products`.`brand_name`, `thecarg_db`.`cg_tbl_products`.`status`, `thecarg_db`.`cg_tbl_products`.`created_at`, `thecarg_db`.`cg_tbl_products`.`updated_at`, `thecarg_db`.`cg_tbl_products`.`assembly_group_node_id`, `thecarg_db`.`cg_tbl_products`.`generic_article_id` FROM `thecarg_db`.`cg_tbl_products` WHERE `thecarg_db`.`cg_tbl_products`.`id` IN (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?) ORDER BY `thecarg_db`.`cg_tbl_products`.`id` ASC
[2026-06-24T12:34:52.586Z] [INFO]: TecDoc → getArticles | provider: 25791 | country: IN | url: https://webservice.tecalliance.services/pegasus-3-0/services/TecdocToCatDLB.jsonEndpoint
--------------------------------------------------

[2026-06-24T12:34:52.589Z] [INFO]: TecDoc → getArticles | provider: 25791 | country: IN | url: https://webservice.tecalliance.services/pegasus-3-0/services/TecdocToCatDLB.jsonEndpoint
--------------------------------------------------

[2026-06-24T12:34:52.591Z] [INFO]: TecDoc → getArticles | provider: 25791 | country: IN | url: https://webservice.tecalliance.services/pegasus-3-0/services/TecdocToCatDLB.jsonEndpoint
--------------------------------------------------

[2026-06-24T12:34:52.594Z] [INFO]: TecDoc → getArticles | provider: 25791 | country: IN | url: https://webservice.tecalliance.services/pegasus-3-0/services/TecdocToCatDLB.jsonEndpoint
--------------------------------------------------

[2026-06-24T12:34:52.596Z] [INFO]: TecDoc → getArticles | provider: 25791 | country: IN | url: https://webservice.tecalliance.services/pegasus-3-0/services/TecdocToCatDLB.jsonEndpoint
--------------------------------------------------

[2026-06-24T12:34:52.598Z] [INFO]: TecDoc → getArticles | provider: 25791 | country: IN | url: https://webservice.tecalliance.services/pegasus-3-0/services/TecdocToCatDLB.jsonEndpoint
--------------------------------------------------

[2026-06-24T12:34:52.599Z] [INFO]: TecDoc → getArticles | provider: 25791 | country: IN | url: https://webservice.tecalliance.services/pegasus-3-0/services/TecdocToCatDLB.jsonEndpoint
--------------------------------------------------

[2026-06-24T12:34:52.601Z] [INFO]: TecDoc → getArticles | provider: 25791 | country: IN | url: https://webservice.tecalliance.services/pegasus-3-0/services/TecdocToCatDLB.jsonEndpoint
--------------------------------------------------

[2026-06-24T12:34:52.602Z] [INFO]: TecDoc → getArticles | provider: 25791 | country: IN | url: https://webservice.tecalliance.services/pegasus-3-0/services/TecdocToCatDLB.jsonEndpoint
--------------------------------------------------

[2026-06-24T12:34:52.606Z] [INFO]: TecDoc → getArticles | provider: 25791 | country: IN | url: https://webservice.tecalliance.services/pegasus-3-0/services/TecdocToCatDLB.jsonEndpoint
--------------------------------------------------

[2026-06-24T12:34:52.608Z] [INFO]: TecDoc → getArticles | provider: 25791 | country: IN | url: https://webservice.tecalliance.services/pegasus-3-0/services/TecdocToCatDLB.jsonEndpoint
--------------------------------------------------

[2026-06-24T12:34:52.610Z] [INFO]: TecDoc → getArticles | provider: 25791 | country: IN | url: https://webservice.tecalliance.services/pegasus-3-0/services/TecdocToCatDLB.jsonEndpoint
--------------------------------------------------

[2026-06-24T12:34:52.612Z] [INFO]: TecDoc → getArticles | provider: 25791 | country: IN | url: https://webservice.tecalliance.services/pegasus-3-0/services/TecdocToCatDLB.jsonEndpoint
--------------------------------------------------

[2026-06-24T12:34:52.614Z] [INFO]: TecDoc → getArticles | provider: 25791 | country: IN | url: https://webservice.tecalliance.services/pegasus-3-0/services/TecdocToCatDLB.jsonEndpoint
--------------------------------------------------

[2026-06-24T12:34:52.616Z] [INFO]: TecDoc → getArticles | provider: 25791 | country: IN | url: https://webservice.tecalliance.services/pegasus-3-0/services/TecdocToCatDLB.jsonEndpoint
--------------------------------------------------

[2026-06-24T12:34:52.618Z] [INFO]: TecDoc → getArticles | provider: 25791 | country: IN | url: https://webservice.tecalliance.services/pegasus-3-0/services/TecdocToCatDLB.jsonEndpoint
--------------------------------------------------

[2026-06-24T12:34:52.620Z] [INFO]: TecDoc → getArticles | provider: 25791 | country: IN | url: https://webservice.tecalliance.services/pegasus-3-0/services/TecdocToCatDLB.jsonEndpoint
--------------------------------------------------

[2026-06-24T12:34:52.623Z] [INFO]: TecDoc → getArticles | provider: 25791 | country: IN | url: https://webservice.tecalliance.services/pegasus-3-0/services/TecdocToCatDLB.jsonEndpoint
--------------------------------------------------

[2026-06-24T12:34:52.793Z] [INFO]: TecDoc → getArticles | provider: 25791 | country: IN | url: https://webservice.tecalliance.services/pegasus-3-0/services/TecdocToCatDLB.jsonEndpoint
--------------------------------------------------

[2026-06-24T12:34:52.802Z] [INFO]: TecDoc → getArticles | provider: 25791 | country: IN | url: https://webservice.tecalliance.services/pegasus-3-0/services/TecdocToCatDLB.jsonEndpoint
--------------------------------------------------

[2026-06-24T12:34:53.085Z] [INFO]: TecDoc → getArticles | provider: 25791 | country: IN | url: https://webservice.tecalliance.services/pegasus-3-0/services/TecdocToCatDLB.jsonEndpoint
--------------------------------------------------

[2026-06-24T12:34:53.098Z] [INFO]: TecDoc → getArticles | provider: 25791 | country: IN | url: https://webservice.tecalliance.services/pegasus-3-0/services/TecdocToCatDLB.jsonEndpoint
--------------------------------------------------

[2026-06-24T12:34:53.105Z] [INFO]: TecDoc → getArticles | provider: 25791 | country: IN | url: https://webservice.tecalliance.services/pegasus-3-0/services/TecdocToCatDLB.jsonEndpoint
--------------------------------------------------

[2026-06-24T12:34:53.111Z] [INFO]: TecDoc → getArticles | provider: 25791 | country: IN | url: https://webservice.tecalliance.services/pegasus-3-0/services/TecdocToCatDLB.jsonEndpoint
--------------------------------------------------

[2026-06-24T12:34:53.118Z] [INFO]: TecDoc → getArticles | provider: 25791 | country: IN | url: https://webservice.tecalliance.services/pegasus-3-0/services/TecdocToCatDLB.jsonEndpoint
--------------------------------------------------

[2026-06-24T12:34:53.124Z] [INFO]: TecDoc → getArticles | provider: 25791 | country: IN | url: https://webservice.tecalliance.services/pegasus-3-0/services/TecdocToCatDLB.jsonEndpoint
--------------------------------------------------

[2026-06-24T12:34:53.135Z] [INFO]: TecDoc → getArticles | provider: 25791 | country: IN | url: https://webservice.tecalliance.services/pegasus-3-0/services/TecdocToCatDLB.jsonEndpoint
--------------------------------------------------

[2026-06-24T12:34:53.142Z] [INFO]: TecDoc → getArticles | provider: 25791 | country: IN | url: https://webservice.tecalliance.services/pegasus-3-0/services/TecdocToCatDLB.jsonEndpoint
--------------------------------------------------

[2026-06-24T12:34:53.152Z] [INFO]: TecDoc → getArticles | provider: 25791 | country: IN | url: https://webservice.tecalliance.services/pegasus-3-0/services/TecdocToCatDLB.jsonEndpoint
--------------------------------------------------

[2026-06-24T12:34:53.160Z] [INFO]: TecDoc → getArticles | provider: 25791 | country: IN | url: https://webservice.tecalliance.services/pegasus-3-0/services/TecdocToCatDLB.jsonEndpoint
--------------------------------------------------

[2026-06-24T12:34:53.166Z] [INFO]: TecDoc → getArticles | provider: 25791 | country: IN | url: https://webservice.tecalliance.services/pegasus-3-0/services/TecdocToCatDLB.jsonEndpoint
--------------------------------------------------

[2026-06-24T12:34:53.174Z] [INFO]: TecDoc → getArticles | provider: 25791 | country: IN | url: https://webservice.tecalliance.services/pegasus-3-0/services/TecdocToCatDLB.jsonEndpoint
--------------------------------------------------

[2026-06-24T12:34:53.181Z] [INFO]: TecDoc → getArticles | provider: 25791 | country: IN | url: https://webservice.tecalliance.services/pegasus-3-0/services/TecdocToCatDLB.jsonEndpoint
--------------------------------------------------

[2026-06-24T12:34:53.188Z] [INFO]: TecDoc → getArticles | provider: 25791 | country: IN | url: https://webservice.tecalliance.services/pegasus-3-0/services/TecdocToCatDLB.jsonEndpoint
--------------------------------------------------

[2026-06-24T12:34:53.193Z] [INFO]: TecDoc → getArticles | provider: 25791 | country: IN | url: https://webservice.tecalliance.services/pegasus-3-0/services/TecdocToCatDLB.jsonEndpoint
--------------------------------------------------

[2026-06-24T12:34:53.199Z] [INFO]: TecDoc → getArticles | provider: 25791 | country: IN | url: https://webservice.tecalliance.services/pegasus-3-0/services/TecdocToCatDLB.jsonEndpoint
--------------------------------------------------

prisma:query SELECT `thecarg_db`.`cg_tbl_products`.`id`, `thecarg_db`.`cg_tbl_products`.`techdoc_article_id` FROM `thecarg_db`.`cg_tbl_products` WHERE (`thecarg_db`.`cg_tbl_products`.`techdoc_article_id` IN (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?) AND `thecarg_db`.`cg_tbl_products`.`status` = ? AND `thecarg_db`.`cg_tbl_products`.`id` IN (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?))
prisma:query SELECT `thecarg_db`.`cg_tbl_seller_products`.`id`, `thecarg_db`.`cg_tbl_seller_products`.`product_id`, `thecarg_db`.`cg_tbl_seller_products`.`customer_selling_price`, `thecarg_db`.`cg_tbl_seller_products`.`garage_selling_price`, `thecarg_db`.`cg_tbl_seller_products`.`mrp`, `thecarg_db`.`cg_tbl_seller_products`.`customer_discount_type`, `thecarg_db`.`cg_tbl_seller_products`.`customer_discount`, `thecarg_db`.`cg_tbl_seller_products`.`garage_discount_type`, `thecarg_db`.`cg_tbl_seller_products`.`garage_discount`, `thecarg_db`.`cg_tbl_seller_products`.`is_in_stock`, `thecarg_db`.`cg_tbl_seller_products`.`is_returnable`, `thecarg_db`.`cg_tbl_seller_products`.`return_days`, `thecarg_db`.`cg_tbl_seller_products`.`warranty_enabled`, `thecarg_db`.`cg_tbl_seller_products`.`warranty_duration`, `thecarg_db`.`cg_tbl_seller_products`.`warranty_duration_type`, `thecarg_db`.`cg_tbl_seller_products`.`warranty_document`, `thecarg_db`.`cg_tbl_seller_products`.`tax`, `thecarg_db`.`cg_tbl_seller_products`.`seller_id` FROM `thecarg_db`.`cg_tbl_seller_products` LEFT JOIN `thecarg_db`.`cg_tbl_sellers` AS `j1` ON (`j1`.`id`) = (`thecarg_db`.`cg_tbl_seller_products`.`seller_id`) WHERE (`thecarg_db`.`cg_tbl_seller_products`.`product_id` IN (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?) AND `thecarg_db`.`cg_tbl_seller_products`.`status` = ? AND (`j1`.`status` = ? AND (`j1`.`id` IS NOT NULL))) ORDER BY `thecarg_db`.`cg_tbl_seller_products`.`garage_selling_price` ASC
prisma:query SELECT `thecarg_db`.`cg_tbl_sellers`.`id`, `thecarg_db`.`cg_tbl_sellers`.`seller_id`, `thecarg_db`.`cg_tbl_sellers`.`first_name`, `thecarg_db`.`cg_tbl_sellers`.`last_name`, `thecarg_db`.`cg_tbl_sellers`.`trade_name`, `thecarg_db`.`cg_tbl_sellers`.`city`, `thecarg_db`.`cg_tbl_sellers`.`state`, `thecarg_db`.`cg_tbl_sellers`.`email`, `thecarg_db`.`cg_tbl_sellers`.`mobile`, `thecarg_db`.`cg_tbl_sellers`.`address`, `thecarg_db`.`cg_tbl_sellers`.`pincode`, `thecarg_db`.`cg_tbl_sellers`.`status`, `thecarg_db`.`cg_tbl_sellers`.`operating_hours`, `thecarg_db`.`cg_tbl_sellers`.`zone`, `thecarg_db`.`cg_tbl_sellers`.`latitude`, `thecarg_db`.`cg_tbl_sellers`.`longitude` FROM `thecarg_db`.`cg_tbl_sellers` WHERE `thecarg_db`.`cg_tbl_sellers`.`id` IN (?)
prisma:query SELECT `thecarg_db`.`cg_tbl_zones`.`id`, `thecarg_db`.`cg_tbl_zones`.`zone_name` FROM `thecarg_db`.`cg_tbl_zones` WHERE 1=1
[32m[nodemon] restarting due to changes...[39m
[32m[nodemon] starting `ts-node-esm src/server.js`[39m
prisma:info Starting a mysql pool with 9 connections.
[2026-06-24T12:34:58.886Z] [INFO]: Successfully connected to the MySQL Database via Prisma!
--------------------------------------------------

prisma:query SELECT `thecarg_db`.`cg_tbl_business_settings`.`id`, `thecarg_db`.`cg_tbl_business_settings`.`key`, `thecarg_db`.`cg_tbl_business_settings`.`value`, `thecarg_db`.`cg_tbl_business_settings`.`created_at`, `thecarg_db`.`cg_tbl_business_settings`.`updated_at` FROM `thecarg_db`.`cg_tbl_business_settings` WHERE `thecarg_db`.`cg_tbl_business_settings`.`key` = ? LIMIT ? OFFSET ?
prisma:query SELECT `thecarg_db`.`cg_tbl_business_settings`.`id`, `thecarg_db`.`cg_tbl_business_settings`.`key`, `thecarg_db`.`cg_tbl_business_settings`.`value`, `thecarg_db`.`cg_tbl_business_settings`.`created_at`, `thecarg_db`.`cg_tbl_business_settings`.`updated_at` FROM `thecarg_db`.`cg_tbl_business_settings` WHERE `thecarg_db`.`cg_tbl_business_settings`.`key` = ? LIMIT ? OFFSET ?
Firebase initialized successfully
[2026-06-24T12:34:58.929Z] [INFO]: Server is running in development mode on port 5000
--------------------------------------------------

[2026-06-24T12:34:58.930Z] [INFO]: Endpoint: http://localhost:5000
--------------------------------------------------

[32m[nodemon] clean exit - waiting for changes before restart[39m
[32m[nodemon] restarting due to changes...[39m
[32m[nodemon] starting `ts-node-esm src/server.js`[39m
prisma:info Starting a mysql pool with 9 connections.
[2026-06-24T12:42:25.918Z] [INFO]: Successfully connected to the MySQL Database via Prisma!
--------------------------------------------------

prisma:query SELECT `thecarg_db`.`cg_tbl_business_settings`.`id`, `thecarg_db`.`cg_tbl_business_settings`.`key`, `thecarg_db`.`cg_tbl_business_settings`.`value`, `thecarg_db`.`cg_tbl_business_settings`.`created_at`, `thecarg_db`.`cg_tbl_business_settings`.`updated_at` FROM `thecarg_db`.`cg_tbl_business_settings` WHERE `thecarg_db`.`cg_tbl_business_settings`.`key` = ? LIMIT ? OFFSET ?
prisma:query SELECT `thecarg_db`.`cg_tbl_business_settings`.`id`, `thecarg_db`.`cg_tbl_business_settings`.`key`, `thecarg_db`.`cg_tbl_business_settings`.`value`, `thecarg_db`.`cg_tbl_business_settings`.`created_at`, `thecarg_db`.`cg_tbl_business_settings`.`updated_at` FROM `thecarg_db`.`cg_tbl_business_settings` WHERE `thecarg_db`.`cg_tbl_business_settings`.`key` = ? LIMIT ? OFFSET ?
Firebase initialized successfully
[2026-06-24T12:42:25.953Z] [INFO]: Server is running in development mode on port 5000
--------------------------------------------------

[2026-06-24T12:42:25.956Z] [INFO]: Endpoint: http://localhost:5000
--------------------------------------------------

[32m[nodemon] restarting due to changes...[39m
[32m[nodemon] restarting due to changes...[39m
[32m[nodemon] starting `ts-node-esm src/server.js`[39m
prisma:info Starting a mysql pool with 9 connections.
[2026-06-24T12:42:44.683Z] [INFO]: Successfully connected to the MySQL Database via Prisma!
--------------------------------------------------

prisma:query SELECT `thecarg_db`.`cg_tbl_business_settings`.`id`, `thecarg_db`.`cg_tbl_business_settings`.`key`, `thecarg_db`.`cg_tbl_business_settings`.`value`, `thecarg_db`.`cg_tbl_business_settings`.`created_at`, `thecarg_db`.`cg_tbl_business_settings`.`updated_at` FROM `thecarg_db`.`cg_tbl_business_settings` WHERE `thecarg_db`.`cg_tbl_business_settings`.`key` = ? LIMIT ? OFFSET ?
prisma:query SELECT `thecarg_db`.`cg_tbl_business_settings`.`id`, `thecarg_db`.`cg_tbl_business_settings`.`key`, `thecarg_db`.`cg_tbl_business_settings`.`value`, `thecarg_db`.`cg_tbl_business_settings`.`created_at`, `thecarg_db`.`cg_tbl_business_settings`.`updated_at` FROM `thecarg_db`.`cg_tbl_business_settings` WHERE `thecarg_db`.`cg_tbl_business_settings`.`key` = ? LIMIT ? OFFSET ?
Firebase initialized successfully
[2026-06-24T12:42:44.714Z] [INFO]: Server is running in development mode on port 5000
--------------------------------------------------

[2026-06-24T12:42:44.715Z] [INFO]: Endpoint: http://localhost:5000
--------------------------------------------------

[32m[nodemon] restarting due to changes...[39m
[32m[nodemon] starting `ts-node-esm src/server.js`[39m
prisma:info Starting a mysql pool with 9 connections.
[2026-06-24T12:42:49.675Z] [INFO]: Successfully connected to the MySQL Database via Prisma!
--------------------------------------------------

prisma:query SELECT `thecarg_db`.`cg_tbl_business_settings`.`id`, `thecarg_db`.`cg_tbl_business_settings`.`key`, `thecarg_db`.`cg_tbl_business_settings`.`value`, `thecarg_db`.`cg_tbl_business_settings`.`created_at`, `thecarg_db`.`cg_tbl_business_settings`.`updated_at` FROM `thecarg_db`.`cg_tbl_business_settings` WHERE `thecarg_db`.`cg_tbl_business_settings`.`key` = ? LIMIT ? OFFSET ?
prisma:query SELECT `thecarg_db`.`cg_tbl_business_settings`.`id`, `thecarg_db`.`cg_tbl_business_settings`.`key`, `thecarg_db`.`cg_tbl_business_settings`.`value`, `thecarg_db`.`cg_tbl_business_settings`.`created_at`, `thecarg_db`.`cg_tbl_business_settings`.`updated_at` FROM `thecarg_db`.`cg_tbl_business_settings` WHERE `thecarg_db`.`cg_tbl_business_settings`.`key` = ? LIMIT ? OFFSET ?
Firebase initialized successfully
[2026-06-24T12:42:49.695Z] [INFO]: Server is running in development mode on port 5000
--------------------------------------------------

[2026-06-24T12:42:49.696Z] [INFO]: Endpoint: http://localhost:5000
--------------------------------------------------

[32m[nodemon] restarting due to changes...[39m
[32m[nodemon] starting `ts-node-esm src/server.js`[39m
prisma:info Starting a mysql pool with 9 connections.
[2026-06-24T12:43:07.870Z] [INFO]: Successfully connected to the MySQL Database via Prisma!
--------------------------------------------------

prisma:query SELECT `thecarg_db`.`cg_tbl_business_settings`.`id`, `thecarg_db`.`cg_tbl_business_settings`.`key`, `thecarg_db`.`cg_tbl_business_settings`.`value`, `thecarg_db`.`cg_tbl_business_settings`.`created_at`, `thecarg_db`.`cg_tbl_business_settings`.`updated_at` FROM `thecarg_db`.`cg_tbl_business_settings` WHERE `thecarg_db`.`cg_tbl_business_settings`.`key` = ? LIMIT ? OFFSET ?
prisma:query SELECT `thecarg_db`.`cg_tbl_business_settings`.`id`, `thecarg_db`.`cg_tbl_business_settings`.`key`, `thecarg_db`.`cg_tbl_business_settings`.`value`, `thecarg_db`.`cg_tbl_business_settings`.`created_at`, `thecarg_db`.`cg_tbl_business_settings`.`updated_at` FROM `thecarg_db`.`cg_tbl_business_settings` WHERE `thecarg_db`.`cg_tbl_business_settings`.`key` = ? LIMIT ? OFFSET ?
Firebase initialized successfully
[2026-06-24T12:43:07.887Z] [INFO]: Server is running in development mode on port 5000
--------------------------------------------------

[2026-06-24T12:43:07.888Z] [INFO]: Endpoint: http://localhost:5000
--------------------------------------------------

[32m[nodemon] clean exit - waiting for changes before restart[39m
[32m[nodemon] restarting due to changes...[39m
[32m[nodemon] starting `ts-node-esm src/server.js`[39m
[32m[nodemon] restarting due to changes...[39m
[32m[nodemon] starting `ts-node-esm src/server.js`[39m
prisma:info Starting a mysql pool with 9 connections.
[2026-06-24T12:43:13.982Z] [INFO]: Successfully connected to the MySQL Database via Prisma!
--------------------------------------------------

prisma:query SELECT `thecarg_db`.`cg_tbl_business_settings`.`id`, `thecarg_db`.`cg_tbl_business_settings`.`key`, `thecarg_db`.`cg_tbl_business_settings`.`value`, `thecarg_db`.`cg_tbl_business_settings`.`created_at`, `thecarg_db`.`cg_tbl_business_settings`.`updated_at` FROM `thecarg_db`.`cg_tbl_business_settings` WHERE `thecarg_db`.`cg_tbl_business_settings`.`key` = ? LIMIT ? OFFSET ?
prisma:query SELECT `thecarg_db`.`cg_tbl_business_settings`.`id`, `thecarg_db`.`cg_tbl_business_settings`.`key`, `thecarg_db`.`cg_tbl_business_settings`.`value`, `thecarg_db`.`cg_tbl_business_settings`.`created_at`, `thecarg_db`.`cg_tbl_business_settings`.`updated_at` FROM `thecarg_db`.`cg_tbl_business_settings` WHERE `thecarg_db`.`cg_tbl_business_settings`.`key` = ? LIMIT ? OFFSET ?
Firebase initialized successfully
[2026-06-24T12:43:14.080Z] [INFO]: Server is running in development mode on port 5000
--------------------------------------------------

[2026-06-24T12:43:14.081Z] [INFO]: Endpoint: http://localhost:5000
--------------------------------------------------

prisma:query SELECT 1
prisma:query SELECT `thecarg_db`.`cg_tbl_user_roles`.`id`, `thecarg_db`.`cg_tbl_user_roles`.`role_name`, `thecarg_db`.`cg_tbl_user_roles`.`role_slug`, `thecarg_db`.`cg_tbl_user_roles`.`status`, `thecarg_db`.`cg_tbl_user_roles`.`created_at`, `thecarg_db`.`cg_tbl_user_roles`.`updated_at` FROM `thecarg_db`.`cg_tbl_user_roles` WHERE `thecarg_db`.`cg_tbl_user_roles`.`role_slug` = ? LIMIT ? OFFSET ?
prisma:query SELECT `thecarg_db`.`cg_tbl_user_roles`.`id`, `thecarg_db`.`cg_tbl_user_roles`.`role_name`, `thecarg_db`.`cg_tbl_user_roles`.`role_slug`, `thecarg_db`.`cg_tbl_user_roles`.`status`, `thecarg_db`.`cg_tbl_user_roles`.`created_at`, `thecarg_db`.`cg_tbl_user_roles`.`updated_at` FROM `thecarg_db`.`cg_tbl_user_roles` WHERE `thecarg_db`.`cg_tbl_user_roles`.`role_slug` = ? LIMIT ? OFFSET ?
prisma:query SELECT `thecarg_db`.`cg_tbl_user_roles`.`id`, `thecarg_db`.`cg_tbl_user_roles`.`role_name`, `thecarg_db`.`cg_tbl_user_roles`.`role_slug`, `thecarg_db`.`cg_tbl_user_roles`.`status`, `thecarg_db`.`cg_tbl_user_roles`.`created_at`, `thecarg_db`.`cg_tbl_user_roles`.`updated_at` FROM `thecarg_db`.`cg_tbl_user_roles` WHERE `thecarg_db`.`cg_tbl_user_roles`.`role_slug` = ? LIMIT ? OFFSET ?
prisma:query SELECT `thecarg_db`.`cg_tbl_gigs`.`id`, `thecarg_db`.`cg_tbl_gigs`.`gig_number`, `thecarg_db`.`cg_tbl_gigs`.`user_id`, `thecarg_db`.`cg_tbl_gigs`.`user_role_id`, `thecarg_db`.`cg_tbl_gigs`.`provider_type`, `thecarg_db`.`cg_tbl_gigs`.`provider_id`, `thecarg_db`.`cg_tbl_gigs`.`vehicle_details`, `thecarg_db`.`cg_tbl_gigs`.`vehicle_condition`, `thecarg_db`.`cg_tbl_gigs`.`reason_id`, `thecarg_db`.`cg_tbl_gigs`.`address_details`, `thecarg_db`.`cg_tbl_gigs`.`final_amount`, `thecarg_db`.`cg_tbl_gigs`.`commission_percentage`, `thecarg_db`.`cg_tbl_gigs`.`commission_amount`, `thecarg_db`.`cg_tbl_gigs`.`status`, `thecarg_db`.`cg_tbl_gigs`.`allotted_otp`, `thecarg_db`.`cg_tbl_gigs`.`pickup_otp`, `thecarg_db`.`cg_tbl_gigs`.`arrived_at`, `thecarg_db`.`cg_tbl_gigs`.`started_at`, `thecarg_db`.`cg_tbl_gigs`.`completed_at`, `thecarg_db`.`cg_tbl_gigs`.`remarks`, `thecarg_db`.`cg_tbl_gigs`.`description`, `thecarg_db`.`cg_tbl_gigs`.`transaction_id`, `thecarg_db`.`cg_tbl_gigs`.`initial_attachments`, `thecarg_db`.`cg_tbl_gigs`.`arrival_attachments`, `thecarg_db`.`cg_tbl_gigs`.`completion_attachments`, `thecarg_db`.`cg_tbl_gigs`.`created_at`, `thecarg_db`.`cg_tbl_gigs`.`updated_at` FROM `thecarg_db`.`cg_tbl_gigs` WHERE (`thecarg_db`.`cg_tbl_gigs`.`user_id` = ? AND `thecarg_db`.`cg_tbl_gigs`.`user_role_id` = ? AND `thecarg_db`.`cg_tbl_gigs`.`provider_type` = ?) ORDER BY `thecarg_db`.`cg_tbl_gigs`.`created_at` DESC LIMIT ? OFFSET ?
prisma:query SELECT COUNT(*) FROM (SELECT `thecarg_db`.`cg_tbl_gigs`.`id` FROM `thecarg_db`.`cg_tbl_gigs` WHERE (`thecarg_db`.`cg_tbl_gigs`.`provider_type` = ? AND `thecarg_db`.`cg_tbl_gigs`.`provider_id` = ? AND `thecarg_db`.`cg_tbl_gigs`.`user_role_id` = ?)) AS `sub`
prisma:query SELECT `thecarg_db`.`cg_tbl_gigs`.`id`, `thecarg_db`.`cg_tbl_gigs`.`gig_number`, `thecarg_db`.`cg_tbl_gigs`.`user_id`, `thecarg_db`.`cg_tbl_gigs`.`user_role_id`, `thecarg_db`.`cg_tbl_gigs`.`provider_type`, `thecarg_db`.`cg_tbl_gigs`.`provider_id`, `thecarg_db`.`cg_tbl_gigs`.`vehicle_details`, `thecarg_db`.`cg_tbl_gigs`.`vehicle_condition`, `thecarg_db`.`cg_tbl_gigs`.`reason_id`, `thecarg_db`.`cg_tbl_gigs`.`address_details`, `thecarg_db`.`cg_tbl_gigs`.`final_amount`, `thecarg_db`.`cg_tbl_gigs`.`commission_percentage`, `thecarg_db`.`cg_tbl_gigs`.`commission_amount`, `thecarg_db`.`cg_tbl_gigs`.`status`, `thecarg_db`.`cg_tbl_gigs`.`allotted_otp`, `thecarg_db`.`cg_tbl_gigs`.`pickup_otp`, `thecarg_db`.`cg_tbl_gigs`.`arrived_at`, `thecarg_db`.`cg_tbl_gigs`.`started_at`, `thecarg_db`.`cg_tbl_gigs`.`completed_at`, `thecarg_db`.`cg_tbl_gigs`.`remarks`, `thecarg_db`.`cg_tbl_gigs`.`description`, `thecarg_db`.`cg_tbl_gigs`.`transaction_id`, `thecarg_db`.`cg_tbl_gigs`.`initial_attachments`, `thecarg_db`.`cg_tbl_gigs`.`arrival_attachments`, `thecarg_db`.`cg_tbl_gigs`.`completion_attachments`, `thecarg_db`.`cg_tbl_gigs`.`created_at`, `thecarg_db`.`cg_tbl_gigs`.`updated_at` FROM `thecarg_db`.`cg_tbl_gigs` WHERE (`thecarg_db`.`cg_tbl_gigs`.`provider_type` = ? AND `thecarg_db`.`cg_tbl_gigs`.`provider_id` = ? AND `thecarg_db`.`cg_tbl_gigs`.`user_role_id` = ?) ORDER BY `thecarg_db`.`cg_tbl_gigs`.`created_at` DESC LIMIT ? OFFSET ?
prisma:query SELECT COUNT(*) FROM (SELECT `thecarg_db`.`cg_tbl_gigs`.`id` FROM `thecarg_db`.`cg_tbl_gigs` WHERE (`thecarg_db`.`cg_tbl_gigs`.`user_id` = ? AND `thecarg_db`.`cg_tbl_gigs`.`user_role_id` = ? AND `thecarg_db`.`cg_tbl_gigs`.`provider_type` = ?)) AS `sub`
prisma:query SELECT `thecarg_db`.`cg_tbl_gig_services`.`id`, `thecarg_db`.`cg_tbl_gig_services`.`gig_id`, `thecarg_db`.`cg_tbl_gig_services`.`category_id`, `thecarg_db`.`cg_tbl_gig_services`.`service_id`, `thecarg_db`.`cg_tbl_gig_services`.`is_estimate`, `thecarg_db`.`cg_tbl_gig_services`.`service_amount`, `thecarg_db`.`cg_tbl_gig_services`.`discount_type`, `thecarg_db`.`cg_tbl_gig_services`.`discount_value`, `thecarg_db`.`cg_tbl_gig_services`.`remarks`, `thecarg_db`.`cg_tbl_gig_services`.`created_at`, `thecarg_db`.`cg_tbl_gig_services`.`updated_at` FROM `thecarg_db`.`cg_tbl_gig_services` WHERE `thecarg_db`.`cg_tbl_gig_services`.`gig_id` IN (?)
prisma:query SELECT `thecarg_db`.`cg_tbl_user_roles`.`id`, `thecarg_db`.`cg_tbl_user_roles`.`role_slug` FROM `thecarg_db`.`cg_tbl_user_roles` WHERE `thecarg_db`.`cg_tbl_user_roles`.`id` IN (?)
prisma:query SELECT `thecarg_db`.`cg_tbl_customers`.`id`, `thecarg_db`.`cg_tbl_customers`.`full_name`, `thecarg_db`.`cg_tbl_customers`.`mobile` FROM `thecarg_db`.`cg_tbl_customers` WHERE `thecarg_db`.`cg_tbl_customers`.`id` IN (?)
prisma:query SELECT `thecarg_db`.`cg_tbl_garages`.`id`, `thecarg_db`.`cg_tbl_garages`.`garage_id`, `thecarg_db`.`cg_tbl_garages`.`first_name`, `thecarg_db`.`cg_tbl_garages`.`last_name`, `thecarg_db`.`cg_tbl_garages`.`trade_name`, `thecarg_db`.`cg_tbl_garages`.`mobile` FROM `thecarg_db`.`cg_tbl_garages` WHERE `thecarg_db`.`cg_tbl_garages`.`id` IN (?)
[32m[nodemon] restarting due to changes...[39m
[32m[nodemon] starting `ts-node-esm src/server.js`[39m
prisma:info Starting a mysql pool with 9 connections.
[2026-06-24T12:44:00.803Z] [INFO]: Successfully connected to the MySQL Database via Prisma!
--------------------------------------------------

prisma:query SELECT `thecarg_db`.`cg_tbl_business_settings`.`id`, `thecarg_db`.`cg_tbl_business_settings`.`key`, `thecarg_db`.`cg_tbl_business_settings`.`value`, `thecarg_db`.`cg_tbl_business_settings`.`created_at`, `thecarg_db`.`cg_tbl_business_settings`.`updated_at` FROM `thecarg_db`.`cg_tbl_business_settings` WHERE `thecarg_db`.`cg_tbl_business_settings`.`key` = ? LIMIT ? OFFSET ?
prisma:query SELECT `thecarg_db`.`cg_tbl_business_settings`.`id`, `thecarg_db`.`cg_tbl_business_settings`.`key`, `thecarg_db`.`cg_tbl_business_settings`.`value`, `thecarg_db`.`cg_tbl_business_settings`.`created_at`, `thecarg_db`.`cg_tbl_business_settings`.`updated_at` FROM `thecarg_db`.`cg_tbl_business_settings` WHERE `thecarg_db`.`cg_tbl_business_settings`.`key` = ? LIMIT ? OFFSET ?
Firebase initialized successfully
[2026-06-24T12:44:00.821Z] [INFO]: Server is running in development mode on port 5000
--------------------------------------------------

[2026-06-24T12:44:00.822Z] [INFO]: Endpoint: http://localhost:5000
--------------------------------------------------

[32m[nodemon] clean exit - waiting for changes before restart[39m
[32m[nodemon] restarting due to changes...[39m
[32m[nodemon] starting `ts-node-esm src/server.js`[39m
[32m[nodemon] restarting due to changes...[39m
[32m[nodemon] starting `ts-node-esm src/server.js`[39m
prisma:info Starting a mysql pool with 9 connections.
[2026-06-24T13:11:28.182Z] [INFO]: Successfully connected to the MySQL Database via Prisma!
--------------------------------------------------

prisma:query SELECT `thecarg_db`.`cg_tbl_business_settings`.`id`, `thecarg_db`.`cg_tbl_business_settings`.`key`, `thecarg_db`.`cg_tbl_business_settings`.`value`, `thecarg_db`.`cg_tbl_business_settings`.`created_at`, `thecarg_db`.`cg_tbl_business_settings`.`updated_at` FROM `thecarg_db`.`cg_tbl_business_settings` WHERE `thecarg_db`.`cg_tbl_business_settings`.`key` = ? LIMIT ? OFFSET ?
prisma:query SELECT `thecarg_db`.`cg_tbl_business_settings`.`id`, `thecarg_db`.`cg_tbl_business_settings`.`key`, `thecarg_db`.`cg_tbl_business_settings`.`value`, `thecarg_db`.`cg_tbl_business_settings`.`created_at`, `thecarg_db`.`cg_tbl_business_settings`.`updated_at` FROM `thecarg_db`.`cg_tbl_business_settings` WHERE `thecarg_db`.`cg_tbl_business_settings`.`key` = ? LIMIT ? OFFSET ?
Firebase initialized successfully
[2026-06-24T13:11:28.514Z] [INFO]: Server is running in development mode on port 5000
--------------------------------------------------

[2026-06-24T13:11:28.516Z] [INFO]: Endpoint: http://localhost:5000
--------------------------------------------------

[32m[nodemon] clean exit - waiting for changes before restart[39m
[32m[nodemon] restarting due to changes...[39m
[32m[nodemon] starting `ts-node-esm src/server.js`[39m
[32m[nodemon] restarting due to changes...[39m
prisma:info Starting a mysql pool with 9 connections.
[2026-06-24T13:23:41.645Z] [INFO]: Successfully connected to the MySQL Database via Prisma!
--------------------------------------------------

prisma:query SELECT `thecarg_db`.`cg_tbl_business_settings`.`id`, `thecarg_db`.`cg_tbl_business_settings`.`key`, `thecarg_db`.`cg_tbl_business_settings`.`value`, `thecarg_db`.`cg_tbl_business_settings`.`created_at`, `thecarg_db`.`cg_tbl_business_settings`.`updated_at` FROM `thecarg_db`.`cg_tbl_business_settings` WHERE `thecarg_db`.`cg_tbl_business_settings`.`key` = ? LIMIT ? OFFSET ?
prisma:query SELECT `thecarg_db`.`cg_tbl_business_settings`.`id`, `thecarg_db`.`cg_tbl_business_settings`.`key`, `thecarg_db`.`cg_tbl_business_settings`.`value`, `thecarg_db`.`cg_tbl_business_settings`.`created_at`, `thecarg_db`.`cg_tbl_business_settings`.`updated_at` FROM `thecarg_db`.`cg_tbl_business_settings` WHERE `thecarg_db`.`cg_tbl_business_settings`.`key` = ? LIMIT ? OFFSET ?
Firebase initialized successfully
[2026-06-24T13:23:41.678Z] [INFO]: Server is running in development mode on port 5000
--------------------------------------------------

[2026-06-24T13:23:41.680Z] [INFO]: Endpoint: http://localhost:5000
--------------------------------------------------

[32m[nodemon] starting `ts-node-esm src/server.js`[39m
prisma:info Starting a mysql pool with 9 connections.
[2026-06-24T13:23:44.451Z] [INFO]: Successfully connected to the MySQL Database via Prisma!
--------------------------------------------------

prisma:query SELECT `thecarg_db`.`cg_tbl_business_settings`.`id`, `thecarg_db`.`cg_tbl_business_settings`.`key`, `thecarg_db`.`cg_tbl_business_settings`.`value`, `thecarg_db`.`cg_tbl_business_settings`.`created_at`, `thecarg_db`.`cg_tbl_business_settings`.`updated_at` FROM `thecarg_db`.`cg_tbl_business_settings` WHERE `thecarg_db`.`cg_tbl_business_settings`.`key` = ? LIMIT ? OFFSET ?
prisma:query SELECT `thecarg_db`.`cg_tbl_business_settings`.`id`, `thecarg_db`.`cg_tbl_business_settings`.`key`, `thecarg_db`.`cg_tbl_business_settings`.`value`, `thecarg_db`.`cg_tbl_business_settings`.`created_at`, `thecarg_db`.`cg_tbl_business_settings`.`updated_at` FROM `thecarg_db`.`cg_tbl_business_settings` WHERE `thecarg_db`.`cg_tbl_business_settings`.`key` = ? LIMIT ? OFFSET ?
Firebase initialized successfully
[2026-06-24T13:23:44.469Z] [INFO]: Server is running in development mode on port 5000
--------------------------------------------------

[2026-06-24T13:23:44.474Z] [INFO]: Endpoint: http://localhost:5000
--------------------------------------------------

[32m[nodemon] restarting due to changes...[39m
[32m[nodemon] starting `ts-node-esm src/server.js`[39m
prisma:info Starting a mysql pool with 9 connections.
[2026-06-24T13:23:53.641Z] [INFO]: Successfully connected to the MySQL Database via Prisma!
--------------------------------------------------

prisma:query SELECT `thecarg_db`.`cg_tbl_business_settings`.`id`, `thecarg_db`.`cg_tbl_business_settings`.`key`, `thecarg_db`.`cg_tbl_business_settings`.`value`, `thecarg_db`.`cg_tbl_business_settings`.`created_at`, `thecarg_db`.`cg_tbl_business_settings`.`updated_at` FROM `thecarg_db`.`cg_tbl_business_settings` WHERE `thecarg_db`.`cg_tbl_business_settings`.`key` = ? LIMIT ? OFFSET ?
prisma:query SELECT `thecarg_db`.`cg_tbl_business_settings`.`id`, `thecarg_db`.`cg_tbl_business_settings`.`key`, `thecarg_db`.`cg_tbl_business_settings`.`value`, `thecarg_db`.`cg_tbl_business_settings`.`created_at`, `thecarg_db`.`cg_tbl_business_settings`.`updated_at` FROM `thecarg_db`.`cg_tbl_business_settings` WHERE `thecarg_db`.`cg_tbl_business_settings`.`key` = ? LIMIT ? OFFSET ?
Firebase initialized successfully
[2026-06-24T13:23:53.666Z] [INFO]: Server is running in development mode on port 5000
--------------------------------------------------

[2026-06-24T13:23:53.667Z] [INFO]: Endpoint: http://localhost:5000
--------------------------------------------------

[32m[nodemon] clean exit - waiting for changes before restart[39m
[32m[nodemon] restarting due to changes...[39m
[32m[nodemon] starting `ts-node-esm src/server.js`[39m
prisma:info Starting a mysql pool with 9 connections.
[2026-06-24T13:24:03.477Z] [INFO]: Successfully connected to the MySQL Database via Prisma!
--------------------------------------------------

prisma:query SELECT `thecarg_db`.`cg_tbl_business_settings`.`id`, `thecarg_db`.`cg_tbl_business_settings`.`key`, `thecarg_db`.`cg_tbl_business_settings`.`value`, `thecarg_db`.`cg_tbl_business_settings`.`created_at`, `thecarg_db`.`cg_tbl_business_settings`.`updated_at` FROM `thecarg_db`.`cg_tbl_business_settings` WHERE `thecarg_db`.`cg_tbl_business_settings`.`key` = ? LIMIT ? OFFSET ?
prisma:query SELECT `thecarg_db`.`cg_tbl_business_settings`.`id`, `thecarg_db`.`cg_tbl_business_settings`.`key`, `thecarg_db`.`cg_tbl_business_settings`.`value`, `thecarg_db`.`cg_tbl_business_settings`.`created_at`, `thecarg_db`.`cg_tbl_business_settings`.`updated_at` FROM `thecarg_db`.`cg_tbl_business_settings` WHERE `thecarg_db`.`cg_tbl_business_settings`.`key` = ? LIMIT ? OFFSET ?
Firebase initialized successfully
[2026-06-24T13:24:03.495Z] [INFO]: Server is running in development mode on port 5000
--------------------------------------------------

[2026-06-24T13:24:03.496Z] [INFO]: Endpoint: http://localhost:5000
--------------------------------------------------

[32m[nodemon] restarting due to changes...[39m
[32m[nodemon] starting `ts-node-esm src/server.js`[39m
prisma:info Starting a mysql pool with 9 connections.
[2026-06-24T13:27:43.328Z] [INFO]: Successfully connected to the MySQL Database via Prisma!
--------------------------------------------------

prisma:query SELECT `thecarg_db`.`cg_tbl_business_settings`.`id`, `thecarg_db`.`cg_tbl_business_settings`.`key`, `thecarg_db`.`cg_tbl_business_settings`.`value`, `thecarg_db`.`cg_tbl_business_settings`.`created_at`, `thecarg_db`.`cg_tbl_business_settings`.`updated_at` FROM `thecarg_db`.`cg_tbl_business_settings` WHERE `thecarg_db`.`cg_tbl_business_settings`.`key` = ? LIMIT ? OFFSET ?
prisma:query SELECT `thecarg_db`.`cg_tbl_business_settings`.`id`, `thecarg_db`.`cg_tbl_business_settings`.`key`, `thecarg_db`.`cg_tbl_business_settings`.`value`, `thecarg_db`.`cg_tbl_business_settings`.`created_at`, `thecarg_db`.`cg_tbl_business_settings`.`updated_at` FROM `thecarg_db`.`cg_tbl_business_settings` WHERE `thecarg_db`.`cg_tbl_business_settings`.`key` = ? LIMIT ? OFFSET ?
Firebase initialized successfully
[2026-06-24T13:27:43.397Z] [INFO]: Server is running in development mode on port 5000
--------------------------------------------------

[2026-06-24T13:27:43.398Z] [INFO]: Endpoint: http://localhost:5000
--------------------------------------------------

[32m[nodemon] restarting due to changes...[39m
[32m[nodemon] starting `ts-node-esm src/server.js`[39m
[31m[nodemon] app crashed - waiting for file changes before starting...[39m
[32m[nodemon] restarting due to changes...[39m
[32m[nodemon] starting `ts-node-esm src/server.js`[39m
[32m[nodemon] restarting due to changes...[39m
[32m[nodemon] starting `ts-node-esm src/server.js`[39m
[31m[nodemon] app crashed - waiting for file changes before starting...[39m
[32m[nodemon] restarting due to changes...[39m
[32m[nodemon] starting `ts-node-esm src/server.js`[39m
[31m[nodemon] app crashed - waiting for file changes before starting...[39m
[32m[nodemon] restarting due to changes...[39m
[32m[nodemon] starting `ts-node-esm src/server.js`[39m
[31m[nodemon] app crashed - waiting for file changes before starting...[39m
[32m[nodemon] restarting due to changes...[39m
[32m[nodemon] starting `ts-node-esm src/server.js`[39m
prisma:info Starting a mysql pool with 9 connections.
[2026-06-24T13:30:04.794Z] [INFO]: Successfully connected to the MySQL Database via Prisma!
--------------------------------------------------

prisma:query SELECT `thecarg_db`.`cg_tbl_business_settings`.`id`, `thecarg_db`.`cg_tbl_business_settings`.`key`, `thecarg_db`.`cg_tbl_business_settings`.`value`, `thecarg_db`.`cg_tbl_business_settings`.`created_at`, `thecarg_db`.`cg_tbl_business_settings`.`updated_at` FROM `thecarg_db`.`cg_tbl_business_settings` WHERE `thecarg_db`.`cg_tbl_business_settings`.`key` = ? LIMIT ? OFFSET ?
prisma:query SELECT `thecarg_db`.`cg_tbl_business_settings`.`id`, `thecarg_db`.`cg_tbl_business_settings`.`key`, `thecarg_db`.`cg_tbl_business_settings`.`value`, `thecarg_db`.`cg_tbl_business_settings`.`created_at`, `thecarg_db`.`cg_tbl_business_settings`.`updated_at` FROM `thecarg_db`.`cg_tbl_business_settings` WHERE `thecarg_db`.`cg_tbl_business_settings`.`key` = ? LIMIT ? OFFSET ?
Firebase initialized successfully
[2026-06-24T13:30:04.848Z] [INFO]: Server is running in development mode on port 5000
--------------------------------------------------

[2026-06-24T13:30:04.849Z] [INFO]: Endpoint: http://localhost:5000
--------------------------------------------------

[32m[nodemon] clean exit - waiting for changes before restart[39m
[32m[nodemon] restarting due to changes...[39m
[32m[nodemon] starting `ts-node-esm src/server.js`[39m
prisma:info Starting a mysql pool with 9 connections.
[2026-06-24T13:30:08.276Z] [INFO]: Successfully connected to the MySQL Database via Prisma!
--------------------------------------------------

prisma:query SELECT `thecarg_db`.`cg_tbl_business_settings`.`id`, `thecarg_db`.`cg_tbl_business_settings`.`key`, `thecarg_db`.`cg_tbl_business_settings`.`value`, `thecarg_db`.`cg_tbl_business_settings`.`created_at`, `thecarg_db`.`cg_tbl_business_settings`.`updated_at` FROM `thecarg_db`.`cg_tbl_business_settings` WHERE `thecarg_db`.`cg_tbl_business_settings`.`key` = ? LIMIT ? OFFSET ?
prisma:query SELECT `thecarg_db`.`cg_tbl_business_settings`.`id`, `thecarg_db`.`cg_tbl_business_settings`.`key`, `thecarg_db`.`cg_tbl_business_settings`.`value`, `thecarg_db`.`cg_tbl_business_settings`.`created_at`, `thecarg_db`.`cg_tbl_business_settings`.`updated_at` FROM `thecarg_db`.`cg_tbl_business_settings` WHERE `thecarg_db`.`cg_tbl_business_settings`.`key` = ? LIMIT ? OFFSET ?
Firebase initialized successfully
[2026-06-24T13:30:08.292Z] [INFO]: Server is running in development mode on port 5000
--------------------------------------------------

[2026-06-24T13:30:08.293Z] [INFO]: Endpoint: http://localhost:5000
--------------------------------------------------

[32m[nodemon] restarting due to changes...[39m
[32m[nodemon] restarting due to changes...[39m
[32m[nodemon] starting `ts-node-esm src/server.js`[39m
prisma:info Starting a mysql pool with 9 connections.
[2026-06-24T13:32:50.221Z] [INFO]: Successfully connected to the MySQL Database via Prisma!
--------------------------------------------------

prisma:query SELECT `thecarg_db`.`cg_tbl_business_settings`.`id`, `thecarg_db`.`cg_tbl_business_settings`.`key`, `thecarg_db`.`cg_tbl_business_settings`.`value`, `thecarg_db`.`cg_tbl_business_settings`.`created_at`, `thecarg_db`.`cg_tbl_business_settings`.`updated_at` FROM `thecarg_db`.`cg_tbl_business_settings` WHERE `thecarg_db`.`cg_tbl_business_settings`.`key` = ? LIMIT ? OFFSET ?
prisma:query SELECT `thecarg_db`.`cg_tbl_business_settings`.`id`, `thecarg_db`.`cg_tbl_business_settings`.`key`, `thecarg_db`.`cg_tbl_business_settings`.`value`, `thecarg_db`.`cg_tbl_business_settings`.`created_at`, `thecarg_db`.`cg_tbl_business_settings`.`updated_at` FROM `thecarg_db`.`cg_tbl_business_settings` WHERE `thecarg_db`.`cg_tbl_business_settings`.`key` = ? LIMIT ? OFFSET ?
Firebase initialized successfully
[2026-06-24T13:32:50.237Z] [INFO]: Server is running in development mode on port 5000
--------------------------------------------------

[2026-06-24T13:32:50.239Z] [INFO]: Endpoint: http://localhost:5000
--------------------------------------------------

[32m[nodemon] clean exit - waiting for changes before restart[39m
[32m[nodemon] restarting due to changes...[39m
[32m[nodemon] starting `ts-node-esm src/server.js`[39m
prisma:info Starting a mysql pool with 9 connections.
[2026-06-24T13:54:17.133Z] [INFO]: Successfully connected to the MySQL Database via Prisma!
--------------------------------------------------

prisma:query SELECT `thecarg_db`.`cg_tbl_business_settings`.`id`, `thecarg_db`.`cg_tbl_business_settings`.`key`, `thecarg_db`.`cg_tbl_business_settings`.`value`, `thecarg_db`.`cg_tbl_business_settings`.`created_at`, `thecarg_db`.`cg_tbl_business_settings`.`updated_at` FROM `thecarg_db`.`cg_tbl_business_settings` WHERE `thecarg_db`.`cg_tbl_business_settings`.`key` = ? LIMIT ? OFFSET ?
prisma:query SELECT `thecarg_db`.`cg_tbl_business_settings`.`id`, `thecarg_db`.`cg_tbl_business_settings`.`key`, `thecarg_db`.`cg_tbl_business_settings`.`value`, `thecarg_db`.`cg_tbl_business_settings`.`created_at`, `thecarg_db`.`cg_tbl_business_settings`.`updated_at` FROM `thecarg_db`.`cg_tbl_business_settings` WHERE `thecarg_db`.`cg_tbl_business_settings`.`key` = ? LIMIT ? OFFSET ?
Firebase initialized successfully
[2026-06-24T13:54:17.517Z] [INFO]: Server is running in development mode on port 5000
--------------------------------------------------

[2026-06-24T13:54:17.519Z] [INFO]: Endpoint: http://localhost:5000
--------------------------------------------------

[31m[nodemon] app crashed - waiting for file changes before starting...[39m
[32m[nodemon] restarting due to changes...[39m
[32m[nodemon] starting `ts-node-esm src/server.js`[39m
prisma:info Starting a mysql pool with 9 connections.
[2026-06-24T14:25:21.581Z] [INFO]: Successfully connected to the MySQL Database via Prisma!
--------------------------------------------------

prisma:query SELECT `thecarg_db`.`cg_tbl_business_settings`.`id`, `thecarg_db`.`cg_tbl_business_settings`.`key`, `thecarg_db`.`cg_tbl_business_settings`.`value`, `thecarg_db`.`cg_tbl_business_settings`.`created_at`, `thecarg_db`.`cg_tbl_business_settings`.`updated_at` FROM `thecarg_db`.`cg_tbl_business_settings` WHERE `thecarg_db`.`cg_tbl_business_settings`.`key` = ? LIMIT ? OFFSET ?
prisma:query SELECT `thecarg_db`.`cg_tbl_business_settings`.`id`, `thecarg_db`.`cg_tbl_business_settings`.`key`, `thecarg_db`.`cg_tbl_business_settings`.`value`, `thecarg_db`.`cg_tbl_business_settings`.`created_at`, `thecarg_db`.`cg_tbl_business_settings`.`updated_at` FROM `thecarg_db`.`cg_tbl_business_settings` WHERE `thecarg_db`.`cg_tbl_business_settings`.`key` = ? LIMIT ? OFFSET ?
Firebase initialized successfully
[2026-06-24T14:25:22.115Z] [INFO]: Server is running in development mode on port 5000
--------------------------------------------------

[2026-06-24T14:25:22.116Z] [INFO]: Endpoint: http://localhost:5000
--------------------------------------------------

[32m[nodemon] restarting due to changes...[39m
[32m[nodemon] starting `ts-node-esm src/server.js`[39m
prisma:info Starting a mysql pool with 9 connections.
[2026-06-24T14:32:43.369Z] [INFO]: Successfully connected to the MySQL Database via Prisma!
--------------------------------------------------

prisma:query SELECT `thecarg_db`.`cg_tbl_business_settings`.`id`, `thecarg_db`.`cg_tbl_business_settings`.`key`, `thecarg_db`.`cg_tbl_business_settings`.`value`, `thecarg_db`.`cg_tbl_business_settings`.`created_at`, `thecarg_db`.`cg_tbl_business_settings`.`updated_at` FROM `thecarg_db`.`cg_tbl_business_settings` WHERE `thecarg_db`.`cg_tbl_business_settings`.`key` = ? LIMIT ? OFFSET ?
prisma:query SELECT `thecarg_db`.`cg_tbl_business_settings`.`id`, `thecarg_db`.`cg_tbl_business_settings`.`key`, `thecarg_db`.`cg_tbl_business_settings`.`value`, `thecarg_db`.`cg_tbl_business_settings`.`created_at`, `thecarg_db`.`cg_tbl_business_settings`.`updated_at` FROM `thecarg_db`.`cg_tbl_business_settings` WHERE `thecarg_db`.`cg_tbl_business_settings`.`key` = ? LIMIT ? OFFSET ?
Firebase initialized successfully
[2026-06-24T14:32:43.388Z] [INFO]: Server is running in development mode on port 5000
--------------------------------------------------

[2026-06-24T14:32:43.389Z] [INFO]: Endpoint: http://localhost:5000
--------------------------------------------------

[32m[nodemon] restarting due to changes...[39m
[32m[nodemon] starting `ts-node-esm src/server.js`[39m
prisma:info Starting a mysql pool with 9 connections.
[2026-06-24T14:32:47.728Z] [INFO]: Successfully connected to the MySQL Database via Prisma!
--------------------------------------------------

prisma:query SELECT `thecarg_db`.`cg_tbl_business_settings`.`id`, `thecarg_db`.`cg_tbl_business_settings`.`key`, `thecarg_db`.`cg_tbl_business_settings`.`value`, `thecarg_db`.`cg_tbl_business_settings`.`created_at`, `thecarg_db`.`cg_tbl_business_settings`.`updated_at` FROM `thecarg_db`.`cg_tbl_business_settings` WHERE `thecarg_db`.`cg_tbl_business_settings`.`key` = ? LIMIT ? OFFSET ?
prisma:query SELECT `thecarg_db`.`cg_tbl_business_settings`.`id`, `thecarg_db`.`cg_tbl_business_settings`.`key`, `thecarg_db`.`cg_tbl_business_settings`.`value`, `thecarg_db`.`cg_tbl_business_settings`.`created_at`, `thecarg_db`.`cg_tbl_business_settings`.`updated_at` FROM `thecarg_db`.`cg_tbl_business_settings` WHERE `thecarg_db`.`cg_tbl_business_settings`.`key` = ? LIMIT ? OFFSET ?
Firebase initialized successfully
[2026-06-24T14:32:47.745Z] [INFO]: Server is running in development mode on port 5000
--------------------------------------------------

[2026-06-24T14:32:47.746Z] [INFO]: Endpoint: http://localhost:5000
--------------------------------------------------

[32m[nodemon] restarting due to changes...[39m
[32m[nodemon] starting `ts-node-esm src/server.js`[39m
prisma:info Starting a mysql pool with 9 connections.
[2026-06-24T14:33:02.778Z] [INFO]: Successfully connected to the MySQL Database via Prisma!
--------------------------------------------------

prisma:query SELECT `thecarg_db`.`cg_tbl_business_settings`.`id`, `thecarg_db`.`cg_tbl_business_settings`.`key`, `thecarg_db`.`cg_tbl_business_settings`.`value`, `thecarg_db`.`cg_tbl_business_settings`.`created_at`, `thecarg_db`.`cg_tbl_business_settings`.`updated_at` FROM `thecarg_db`.`cg_tbl_business_settings` WHERE `thecarg_db`.`cg_tbl_business_settings`.`key` = ? LIMIT ? OFFSET ?
prisma:query SELECT `thecarg_db`.`cg_tbl_business_settings`.`id`, `thecarg_db`.`cg_tbl_business_settings`.`key`, `thecarg_db`.`cg_tbl_business_settings`.`value`, `thecarg_db`.`cg_tbl_business_settings`.`created_at`, `thecarg_db`.`cg_tbl_business_settings`.`updated_at` FROM `thecarg_db`.`cg_tbl_business_settings` WHERE `thecarg_db`.`cg_tbl_business_settings`.`key` = ? LIMIT ? OFFSET ?
Firebase initialized successfully
[2026-06-24T14:33:02.805Z] [INFO]: Server is running in development mode on port 5000
--------------------------------------------------

[2026-06-24T14:33:02.807Z] [INFO]: Endpoint: http://localhost:5000
--------------------------------------------------

[32m[nodemon] restarting due to changes...[39m
[32m[nodemon] starting `ts-node-esm src/server.js`[39m
prisma:info Starting a mysql pool with 9 connections.
[2026-06-24T14:33:14.461Z] [INFO]: Successfully connected to the MySQL Database via Prisma!
--------------------------------------------------

prisma:query SELECT `thecarg_db`.`cg_tbl_business_settings`.`id`, `thecarg_db`.`cg_tbl_business_settings`.`key`, `thecarg_db`.`cg_tbl_business_settings`.`value`, `thecarg_db`.`cg_tbl_business_settings`.`created_at`, `thecarg_db`.`cg_tbl_business_settings`.`updated_at` FROM `thecarg_db`.`cg_tbl_business_settings` WHERE `thecarg_db`.`cg_tbl_business_settings`.`key` = ? LIMIT ? OFFSET ?
prisma:query SELECT `thecarg_db`.`cg_tbl_business_settings`.`id`, `thecarg_db`.`cg_tbl_business_settings`.`key`, `thecarg_db`.`cg_tbl_business_settings`.`value`, `thecarg_db`.`cg_tbl_business_settings`.`created_at`, `thecarg_db`.`cg_tbl_business_settings`.`updated_at` FROM `thecarg_db`.`cg_tbl_business_settings` WHERE `thecarg_db`.`cg_tbl_business_settings`.`key` = ? LIMIT ? OFFSET ?
Firebase initialized successfully
[2026-06-24T14:33:14.482Z] [INFO]: Server is running in development mode on port 5000
--------------------------------------------------

[2026-06-24T14:33:14.484Z] [INFO]: Endpoint: http://localhost:5000
--------------------------------------------------

[32m[nodemon] restarting due to changes...[39m
[32m[nodemon] restarting due to changes...[39m
[32m[nodemon] starting `ts-node-esm src/server.js`[39m
prisma:info Starting a mysql pool with 9 connections.
[2026-06-24T14:33:26.619Z] [INFO]: Successfully connected to the MySQL Database via Prisma!
--------------------------------------------------

prisma:query SELECT `thecarg_db`.`cg_tbl_business_settings`.`id`, `thecarg_db`.`cg_tbl_business_settings`.`key`, `thecarg_db`.`cg_tbl_business_settings`.`value`, `thecarg_db`.`cg_tbl_business_settings`.`created_at`, `thecarg_db`.`cg_tbl_business_settings`.`updated_at` FROM `thecarg_db`.`cg_tbl_business_settings` WHERE `thecarg_db`.`cg_tbl_business_settings`.`key` = ? LIMIT ? OFFSET ?
prisma:query SELECT `thecarg_db`.`cg_tbl_business_settings`.`id`, `thecarg_db`.`cg_tbl_business_settings`.`key`, `thecarg_db`.`cg_tbl_business_settings`.`value`, `thecarg_db`.`cg_tbl_business_settings`.`created_at`, `thecarg_db`.`cg_tbl_business_settings`.`updated_at` FROM `thecarg_db`.`cg_tbl_business_settings` WHERE `thecarg_db`.`cg_tbl_business_settings`.`key` = ? LIMIT ? OFFSET ?
Firebase initialized successfully
[2026-06-24T14:33:26.635Z] [INFO]: Server is running in development mode on port 5000
--------------------------------------------------

[2026-06-24T14:33:26.636Z] [INFO]: Endpoint: http://localhost:5000
--------------------------------------------------

[32m[nodemon] restarting due to changes...[39m
[32m[nodemon] restarting due to changes...[39m
[32m[nodemon] starting `ts-node-esm src/server.js`[39m
prisma:info Starting a mysql pool with 9 connections.
[2026-06-24T14:33:37.437Z] [INFO]: Successfully connected to the MySQL Database via Prisma!
--------------------------------------------------

prisma:query SELECT `thecarg_db`.`cg_tbl_business_settings`.`id`, `thecarg_db`.`cg_tbl_business_settings`.`key`, `thecarg_db`.`cg_tbl_business_settings`.`value`, `thecarg_db`.`cg_tbl_business_settings`.`created_at`, `thecarg_db`.`cg_tbl_business_settings`.`updated_at` FROM `thecarg_db`.`cg_tbl_business_settings` WHERE `thecarg_db`.`cg_tbl_business_settings`.`key` = ? LIMIT ? OFFSET ?
prisma:query SELECT `thecarg_db`.`cg_tbl_business_settings`.`id`, `thecarg_db`.`cg_tbl_business_settings`.`key`, `thecarg_db`.`cg_tbl_business_settings`.`value`, `thecarg_db`.`cg_tbl_business_settings`.`created_at`, `thecarg_db`.`cg_tbl_business_settings`.`updated_at` FROM `thecarg_db`.`cg_tbl_business_settings` WHERE `thecarg_db`.`cg_tbl_business_settings`.`key` = ? LIMIT ? OFFSET ?
Firebase initialized successfully
[2026-06-24T14:33:37.455Z] [INFO]: Server is running in development mode on port 5000
--------------------------------------------------

[2026-06-24T14:33:37.456Z] [INFO]: Endpoint: http://localhost:5000
--------------------------------------------------

[32m[nodemon] restarting due to changes...[39m
[32m[nodemon] starting `ts-node-esm src/server.js`[39m
prisma:info Starting a mysql pool with 9 connections.
[2026-06-24T14:33:53.307Z] [INFO]: Successfully connected to the MySQL Database via Prisma!
--------------------------------------------------

prisma:query SELECT `thecarg_db`.`cg_tbl_business_settings`.`id`, `thecarg_db`.`cg_tbl_business_settings`.`key`, `thecarg_db`.`cg_tbl_business_settings`.`value`, `thecarg_db`.`cg_tbl_business_settings`.`created_at`, `thecarg_db`.`cg_tbl_business_settings`.`updated_at` FROM `thecarg_db`.`cg_tbl_business_settings` WHERE `thecarg_db`.`cg_tbl_business_settings`.`key` = ? LIMIT ? OFFSET ?
prisma:query SELECT `thecarg_db`.`cg_tbl_business_settings`.`id`, `thecarg_db`.`cg_tbl_business_settings`.`key`, `thecarg_db`.`cg_tbl_business_settings`.`value`, `thecarg_db`.`cg_tbl_business_settings`.`created_at`, `thecarg_db`.`cg_tbl_business_settings`.`updated_at` FROM `thecarg_db`.`cg_tbl_business_settings` WHERE `thecarg_db`.`cg_tbl_business_settings`.`key` = ? LIMIT ? OFFSET ?
Firebase initialized successfully
[2026-06-24T14:33:53.324Z] [INFO]: Server is running in development mode on port 5000
--------------------------------------------------

[2026-06-24T14:33:53.326Z] [INFO]: Endpoint: http://localhost:5000
--------------------------------------------------

[32m[nodemon] restarting due to changes...[39m
[32m[nodemon] starting `ts-node-esm src/server.js`[39m
prisma:info Starting a mysql pool with 9 connections.
[2026-06-24T14:34:02.245Z] [INFO]: Successfully connected to the MySQL Database via Prisma!
--------------------------------------------------

prisma:query SELECT `thecarg_db`.`cg_tbl_business_settings`.`id`, `thecarg_db`.`cg_tbl_business_settings`.`key`, `thecarg_db`.`cg_tbl_business_settings`.`value`, `thecarg_db`.`cg_tbl_business_settings`.`created_at`, `thecarg_db`.`cg_tbl_business_settings`.`updated_at` FROM `thecarg_db`.`cg_tbl_business_settings` WHERE `thecarg_db`.`cg_tbl_business_settings`.`key` = ? LIMIT ? OFFSET ?
prisma:query SELECT `thecarg_db`.`cg_tbl_business_settings`.`id`, `thecarg_db`.`cg_tbl_business_settings`.`key`, `thecarg_db`.`cg_tbl_business_settings`.`value`, `thecarg_db`.`cg_tbl_business_settings`.`created_at`, `thecarg_db`.`cg_tbl_business_settings`.`updated_at` FROM `thecarg_db`.`cg_tbl_business_settings` WHERE `thecarg_db`.`cg_tbl_business_settings`.`key` = ? LIMIT ? OFFSET ?
Firebase initialized successfully
[2026-06-24T14:34:02.273Z] [INFO]: Server is running in development mode on port 5000
--------------------------------------------------

[2026-06-24T14:34:02.274Z] [INFO]: Endpoint: http://localhost:5000
--------------------------------------------------

[31m[nodemon] app crashed - waiting for file changes before starting...[39m
[32m[nodemon] restarting due to changes...[39m
[32m[nodemon] starting `ts-node-esm src/server.js`[39m
prisma:info Starting a mysql pool with 9 connections.
[2026-06-24T14:36:35.003Z] [INFO]: Successfully connected to the MySQL Database via Prisma!
--------------------------------------------------

prisma:query SELECT `thecarg_db`.`cg_tbl_business_settings`.`id`, `thecarg_db`.`cg_tbl_business_settings`.`key`, `thecarg_db`.`cg_tbl_business_settings`.`value`, `thecarg_db`.`cg_tbl_business_settings`.`created_at`, `thecarg_db`.`cg_tbl_business_settings`.`updated_at` FROM `thecarg_db`.`cg_tbl_business_settings` WHERE `thecarg_db`.`cg_tbl_business_settings`.`key` = ? LIMIT ? OFFSET ?
prisma:query SELECT `thecarg_db`.`cg_tbl_business_settings`.`id`, `thecarg_db`.`cg_tbl_business_settings`.`key`, `thecarg_db`.`cg_tbl_business_settings`.`value`, `thecarg_db`.`cg_tbl_business_settings`.`created_at`, `thecarg_db`.`cg_tbl_business_settings`.`updated_at` FROM `thecarg_db`.`cg_tbl_business_settings` WHERE `thecarg_db`.`cg_tbl_business_settings`.`key` = ? LIMIT ? OFFSET ?
Firebase initialized successfully
[2026-06-24T14:36:35.026Z] [INFO]: Server is running in development mode on port 5000
--------------------------------------------------

[2026-06-24T14:36:35.027Z] [INFO]: Endpoint: http://localhost:5000
--------------------------------------------------

[32m[nodemon] clean exit - waiting for changes before restart[39m
[32m[nodemon] restarting due to changes...[39m
[32m[nodemon] starting `ts-node-esm src/server.js`[39m
prisma:info Starting a mysql pool with 9 connections.
[2026-06-24T14:36:38.964Z] [INFO]: Successfully connected to the MySQL Database via Prisma!
--------------------------------------------------

prisma:query SELECT `thecarg_db`.`cg_tbl_business_settings`.`id`, `thecarg_db`.`cg_tbl_business_settings`.`key`, `thecarg_db`.`cg_tbl_business_settings`.`value`, `thecarg_db`.`cg_tbl_business_settings`.`created_at`, `thecarg_db`.`cg_tbl_business_settings`.`updated_at` FROM `thecarg_db`.`cg_tbl_business_settings` WHERE `thecarg_db`.`cg_tbl_business_settings`.`key` = ? LIMIT ? OFFSET ?
prisma:query SELECT `thecarg_db`.`cg_tbl_business_settings`.`id`, `thecarg_db`.`cg_tbl_business_settings`.`key`, `thecarg_db`.`cg_tbl_business_settings`.`value`, `thecarg_db`.`cg_tbl_business_settings`.`created_at`, `thecarg_db`.`cg_tbl_business_settings`.`updated_at` FROM `thecarg_db`.`cg_tbl_business_settings` WHERE `thecarg_db`.`cg_tbl_business_settings`.`key` = ? LIMIT ? OFFSET ?
Firebase initialized successfully
[2026-06-24T14:36:38.996Z] [INFO]: Server is running in development mode on port 5000
--------------------------------------------------

[2026-06-24T14:36:38.997Z] [INFO]: Endpoint: http://localhost:5000
--------------------------------------------------

[32m[nodemon] restarting due to changes...[39m
[32m[nodemon] restarting due to changes...[39m
[32m[nodemon] restarting due to changes...[39m
[32m[nodemon] starting `ts-node-esm src/server.js`[39m
prisma:info Starting a mysql pool with 9 connections.
[2026-06-24T14:36:52.107Z] [INFO]: Successfully connected to the MySQL Database via Prisma!
--------------------------------------------------

prisma:query SELECT `thecarg_db`.`cg_tbl_business_settings`.`id`, `thecarg_db`.`cg_tbl_business_settings`.`key`, `thecarg_db`.`cg_tbl_business_settings`.`value`, `thecarg_db`.`cg_tbl_business_settings`.`created_at`, `thecarg_db`.`cg_tbl_business_settings`.`updated_at` FROM `thecarg_db`.`cg_tbl_business_settings` WHERE `thecarg_db`.`cg_tbl_business_settings`.`key` = ? LIMIT ? OFFSET ?
prisma:query SELECT `thecarg_db`.`cg_tbl_business_settings`.`id`, `thecarg_db`.`cg_tbl_business_settings`.`key`, `thecarg_db`.`cg_tbl_business_settings`.`value`, `thecarg_db`.`cg_tbl_business_settings`.`created_at`, `thecarg_db`.`cg_tbl_business_settings`.`updated_at` FROM `thecarg_db`.`cg_tbl_business_settings` WHERE `thecarg_db`.`cg_tbl_business_settings`.`key` = ? LIMIT ? OFFSET ?
Firebase initialized successfully
[2026-06-24T14:36:52.160Z] [INFO]: Server is running in development mode on port 5000
--------------------------------------------------

[2026-06-24T14:36:52.161Z] [INFO]: Endpoint: http://localhost:5000
--------------------------------------------------

[32m[nodemon] clean exit - waiting for changes before restart[39m
