@mohasinac/appkit 4.1.1 → 4.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (225) hide show
  1. package/dist/_internal/client/features/maintenance/index.d.ts +2 -0
  2. package/dist/_internal/client/features/maintenance/index.js +1 -0
  3. package/dist/_internal/client/features/maintenance/views/CloudLogsListView.d.ts +9 -0
  4. package/dist/_internal/client/features/maintenance/views/CloudLogsListView.js +55 -0
  5. package/dist/_internal/server/features/auctions/index.d.ts +1 -1
  6. package/dist/_internal/server/features/auctions/index.js +1 -1
  7. package/dist/_internal/server/features/auctions/service.js +2 -2
  8. package/dist/_internal/server/features/checkout/actions.d.ts +15 -0
  9. package/dist/_internal/server/features/checkout/actions.js +245 -182
  10. package/dist/_internal/server/features/maintenance/cloud-logs-data.d.ts +50 -0
  11. package/dist/_internal/server/features/maintenance/cloud-logs-data.js +152 -0
  12. package/dist/_internal/server/functions/scheduled.d.ts +2 -1
  13. package/dist/_internal/server/functions/scheduled.js +9 -1
  14. package/dist/_internal/server/jobs/core/jobRunners.js +10 -0
  15. package/dist/_internal/server/jobs/core/newsletterExport.d.ts +15 -0
  16. package/dist/_internal/server/jobs/core/newsletterExport.js +43 -0
  17. package/dist/_internal/server/jobs/core/onOrderCreate.d.ts +4 -12
  18. package/dist/_internal/server/jobs/core/onOrderCreate.js +3 -3
  19. package/dist/_internal/server/jobs/core/onOrderStatusChange.d.ts +2 -0
  20. package/dist/_internal/server/jobs/core/onOrderStatusChange.js +1 -0
  21. package/dist/_internal/server/jobs/core/onProductWrite.js +14 -2
  22. package/dist/_internal/server/jobs/core/paymentWindowTimeout.js +1 -0
  23. package/dist/_internal/server/jobs/core/pendingOrderTimeout.js +1 -0
  24. package/dist/_internal/server/jobs/core/revenueRollup.d.ts +13 -0
  25. package/dist/_internal/server/jobs/core/revenueRollup.js +22 -0
  26. package/dist/_internal/server/jobs/core/whatsappNotify.d.ts +35 -0
  27. package/dist/_internal/server/jobs/core/whatsappNotify.js +82 -0
  28. package/dist/_internal/server/jobs/handlers/index.d.ts +1 -0
  29. package/dist/_internal/server/jobs/handlers/index.js +1 -0
  30. package/dist/_internal/server/jobs/handlers/revenueRollup.d.ts +2 -0
  31. package/dist/_internal/server/jobs/handlers/revenueRollup.js +2 -0
  32. package/dist/_internal/shared/features/auctions/config.d.ts +1 -1
  33. package/dist/_internal/shared/features/auctions/config.js +1 -1
  34. package/dist/_internal/shared/features/auctions/schema.js +1 -1
  35. package/dist/_internal/shared/features/cart/schema.js +2 -2
  36. package/dist/_internal/shared/features/checkout/config.d.ts +7 -0
  37. package/dist/_internal/shared/features/checkout/config.js +7 -0
  38. package/dist/_internal/shared/features/events/schema.js +1 -1
  39. package/dist/_internal/shared/features/orders/schema.js +1 -1
  40. package/dist/_internal/shared/features/products/schema.js +3 -3
  41. package/dist/_internal/shared/features/promotions/schema.js +3 -3
  42. package/dist/_internal/shared/fees/calculator.d.ts +32 -7
  43. package/dist/_internal/shared/fees/calculator.js +25 -0
  44. package/dist/client.d.ts +4 -4
  45. package/dist/client.js +4 -2
  46. package/dist/constants/api-endpoints.d.ts +9 -6
  47. package/dist/constants/api-endpoints.js +3 -2
  48. package/dist/contracts/client-payment-gateway.d.ts +1 -2
  49. package/dist/features/about/components/AboutView.d.ts +6 -16
  50. package/dist/features/about/components/AboutView.js +3 -3
  51. package/dist/features/about/components/FeesView.js +18 -0
  52. package/dist/features/about/index.d.ts +2 -1
  53. package/dist/features/about/schemas/firestore.d.ts +47 -0
  54. package/dist/features/about/schemas/firestore.js +6 -0
  55. package/dist/features/about/schemas/index.d.ts +210 -0
  56. package/dist/features/about/schemas/index.js +45 -0
  57. package/dist/features/account/hooks/useProfile.js +3 -0
  58. package/dist/features/admin/actions/notification-actions.d.ts +4 -1
  59. package/dist/features/admin/actions/notification-actions.js +56 -10
  60. package/dist/features/admin/components/AdminAdsView.js +1 -1
  61. package/dist/features/admin/components/AdminCarouselGroupEditorView.d.ts +6 -0
  62. package/dist/features/admin/components/AdminCarouselGroupEditorView.js +50 -0
  63. package/dist/features/admin/components/AdminCartsView.js +16 -3
  64. package/dist/features/admin/components/AdminCouponEditorView.js +2 -2
  65. package/dist/features/admin/components/AdminCouponsView.js +14 -4
  66. package/dist/features/admin/components/AdminEmployeeEditorView.js +1 -42
  67. package/dist/features/admin/components/AdminMediaView.js +1 -1
  68. package/dist/features/admin/components/AdminNewsletterView.js +42 -11
  69. package/dist/features/admin/components/AdminNotificationsView.js +31 -19
  70. package/dist/features/admin/components/AdminOrdersView.js +7 -0
  71. package/dist/features/admin/components/AdminPayoutsView.js +18 -3
  72. package/dist/features/admin/components/AdminProductsView.js +17 -2
  73. package/dist/features/admin/components/AdminReviewsView.js +16 -2
  74. package/dist/features/admin/components/AdminScammersView.js +7 -0
  75. package/dist/features/admin/components/AdminSectionsView.js +4 -0
  76. package/dist/features/admin/components/AdminSiteConfigGuideView.js +1 -1
  77. package/dist/features/admin/components/AdminSiteSettingsView.js +127 -8
  78. package/dist/features/admin/components/AdminStoreEditorView.d.ts +2 -1
  79. package/dist/features/admin/components/AdminStoreEditorView.js +4 -4
  80. package/dist/features/admin/components/AdminStoresView.js +1 -1
  81. package/dist/features/admin/components/AdminSupportTicketDetailView.js +23 -5
  82. package/dist/features/admin/components/AdminSupportTicketsView.js +20 -2
  83. package/dist/features/admin/components/AdminTesterChecklistItemEditorView.js +4 -1
  84. package/dist/features/admin/components/AdminTesterChecklistView.js +8 -0
  85. package/dist/features/admin/components/index.d.ts +2 -0
  86. package/dist/features/admin/components/index.js +1 -0
  87. package/dist/features/admin/constants/filter-tabs.d.ts +55 -41
  88. package/dist/features/admin/constants/filter-tabs.js +55 -27
  89. package/dist/features/admin/repository/analytics-rollup.repository.d.ts +25 -0
  90. package/dist/features/admin/repository/analytics-rollup.repository.js +31 -0
  91. package/dist/features/admin/repository/site-settings.repository.js +8 -1
  92. package/dist/features/admin/schemas/firestore.d.ts +46 -0
  93. package/dist/features/admin/schemas/firestore.js +62 -24
  94. package/dist/features/auctions/actions/bid-actions.js +1 -1
  95. package/dist/features/auctions/components/AuctionDetailPageView.js +2 -2
  96. package/dist/features/auctions/components/AuctionsListView.js +8 -1
  97. package/dist/features/auth/components/LoginForm.js +2 -2
  98. package/dist/features/auth/components/RegisterForm.js +2 -2
  99. package/dist/features/auth/permissions/constants.d.ts +16 -0
  100. package/dist/features/auth/permissions/constants.js +53 -0
  101. package/dist/features/auth/schemas/firestore.js +1 -0
  102. package/dist/features/blog/components/BlogFilters.js +1 -1
  103. package/dist/features/cart/schemas/firestore.d.ts +1 -1
  104. package/dist/features/categories/schemas/firestore.d.ts +1 -1
  105. package/dist/features/consultation/components/ConsultationForm.js +1 -1
  106. package/dist/features/events/components/EventFilters.js +2 -0
  107. package/dist/features/homepage/components/WelcomeSection.js +2 -2
  108. package/dist/features/layout/BackToTop.d.ts +9 -5
  109. package/dist/features/layout/BackToTop.js +17 -21
  110. package/dist/features/layout/TitleBarLayout.d.ts +2 -2
  111. package/dist/features/layout/TitleBarLayout.js +4 -4
  112. package/dist/features/media/AvatarUpload.js +7 -3
  113. package/dist/features/media/MediaVideo.js +1 -1
  114. package/dist/features/media/finalize.d.ts +9 -13
  115. package/dist/features/media/finalize.js +23 -74
  116. package/dist/features/media/server.d.ts +1 -1
  117. package/dist/features/media/server.js +1 -1
  118. package/dist/features/orders/actions/refund-actions.js +1 -0
  119. package/dist/features/orders/hooks/useOrders.js +16 -4
  120. package/dist/features/orders/schemas/firestore.d.ts +19 -5
  121. package/dist/features/payments/schemas/firestore.d.ts +2 -2
  122. package/dist/features/pre-orders/components/PreOrdersListView.js +7 -0
  123. package/dist/features/products/components/ArtStickersListView.js +5 -0
  124. package/dist/features/products/components/ProductDetailPageView.d.ts +7 -1
  125. package/dist/features/products/components/ProductForm.js +14 -1
  126. package/dist/features/products/components/ProductsIndexPageView.js +7 -0
  127. package/dist/features/products/constants/action-defs.d.ts +29 -3
  128. package/dist/features/products/constants/action-defs.js +77 -1
  129. package/dist/features/products/schemas/firestore.d.ts +1 -1
  130. package/dist/features/products/schemas/product-templates.d.ts +1 -1
  131. package/dist/features/products/types/index.d.ts +4 -0
  132. package/dist/features/scams/schemas/index.js +2 -2
  133. package/dist/features/search/components/Search.js +3 -3
  134. package/dist/features/seller/components/SellerAuctionsView.js +27 -2
  135. package/dist/features/seller/components/SellerOrdersView.js +2 -2
  136. package/dist/features/seller/components/SellerPayoutsView.js +24 -10
  137. package/dist/features/seller/components/SellerPreOrdersView.js +12 -4
  138. package/dist/features/seller/components/SellerPrizeDrawsView.js +23 -5
  139. package/dist/features/seller/components/SellerProductShell.d.ts +2 -0
  140. package/dist/features/seller/components/SellerProductShell.js +1 -1
  141. package/dist/features/seller/components/SellerProductsView.js +8 -6
  142. package/dist/features/seller/components/SellerReviewsView.js +27 -6
  143. package/dist/features/seller/components/index.d.ts +0 -2
  144. package/dist/features/seller/components/index.js +0 -1
  145. package/dist/features/stores/components/StoreListingsGuideView.js +2 -1
  146. package/dist/features/stores/components/StoreProductsView.js +1 -1
  147. package/dist/features/stores/schemas/firestore.d.ts +11 -0
  148. package/dist/features/stores/schemas/firestore.js +5 -0
  149. package/dist/features/stores/schemas/index.d.ts +2 -2
  150. package/dist/features/tester/actions/checklist-item-actions.d.ts +6 -0
  151. package/dist/features/tester/actions/checklist-item-actions.js +2 -0
  152. package/dist/features/tester/components/AdminTesterFeedbackIssuesView.js +13 -2
  153. package/dist/features/tester/components/AdminTesterFeedbackListView.js +2 -1
  154. package/dist/features/tester/components/AdminTesterFeedbackReportView.js +9 -5
  155. package/dist/features/tester/components/TesterHubView.js +34 -21
  156. package/dist/features/tester/repository/tester-checklist-item.repository.js +1 -0
  157. package/dist/features/tester/repository/tester-checklist-response.repository.d.ts +18 -4
  158. package/dist/features/tester/repository/tester-checklist-response.repository.js +43 -8
  159. package/dist/features/tester/schemas/firestore.d.ts +8 -3
  160. package/dist/features/tester/schemas/firestore.js +6 -0
  161. package/dist/features/tester/seed-data/tester-checklist-seed-data.js +21 -9
  162. package/dist/features/tester/utils/phases.d.ts +31 -0
  163. package/dist/features/tester/utils/phases.js +46 -0
  164. package/dist/features/whatsapp-bot/components/SellerWhatsAppSettingsView.js +1 -1
  165. package/dist/features/whatsapp-bot/helpers/whatsapp.d.ts +10 -1
  166. package/dist/features/whatsapp-bot/helpers/whatsapp.js +47 -0
  167. package/dist/features/whatsapp-bot/types/index.d.ts +20 -1
  168. package/dist/features/wishlist/types/index.d.ts +3 -0
  169. package/dist/index.d.ts +15 -6
  170. package/dist/index.js +19 -9
  171. package/dist/next/components/NotFoundView.js +2 -1
  172. package/dist/next/routing/route-map.d.ts +6 -12
  173. package/dist/next/routing/route-map.js +3 -4
  174. package/dist/providers/db-firebase/admin.d.ts +1 -0
  175. package/dist/providers/db-firebase/admin.js +1 -1
  176. package/dist/repositories/index.d.ts +2 -0
  177. package/dist/repositories/index.js +1 -0
  178. package/dist/schemas/registry.d.ts +2 -2
  179. package/dist/seed/addresses-seed-data.js +18 -18
  180. package/dist/seed/bids-seed-data.js +4 -4
  181. package/dist/seed/blog-posts-seed-data.js +82 -82
  182. package/dist/seed/carousel-slides-seed-data.js +14 -10
  183. package/dist/seed/carousels-seed-data.js +3 -3
  184. package/dist/seed/cart-seed-data.js +92 -92
  185. package/dist/seed/claimed-coupons-seed-data.js +10 -10
  186. package/dist/seed/conversations-seed-data.js +75 -75
  187. package/dist/seed/coupon-usage-seed-data.js +12 -12
  188. package/dist/seed/coupons-seed-data.js +41 -41
  189. package/dist/seed/events-seed-data.js +105 -105
  190. package/dist/seed/grouped-listings-seed-data.d.ts +2 -137
  191. package/dist/seed/grouped-listings-seed-data.js +79 -143
  192. package/dist/seed/history-seed-data.js +38 -38
  193. package/dist/seed/homepage-sections-seed-data.js +9 -9
  194. package/dist/seed/notifications-seed-data.js +56 -56
  195. package/dist/seed/offers-seed-data.js +91 -91
  196. package/dist/seed/orders-seed-data.js +121 -106
  197. package/dist/seed/payouts-seed-data.js +42 -42
  198. package/dist/seed/products-auctions-seed-data.js +10 -2
  199. package/dist/seed/products-standard-seed-data.js +40 -8
  200. package/dist/seed/reviews-seed-data.js +42 -23
  201. package/dist/seed/scammers-seed-data.js +22 -22
  202. package/dist/seed/sessions-seed-data.js +7 -7
  203. package/dist/seed/shipments-seed-data.js +10 -10
  204. package/dist/seed/site-settings-seed-data.js +89 -0
  205. package/dist/seed/store-addresses-seed-data.js +2 -2
  206. package/dist/seed/store-extensions-seed-data.js +93 -93
  207. package/dist/seed/stores-seed-data.js +2 -0
  208. package/dist/seed/support-tickets-seed-data.js +47 -47
  209. package/dist/seed/users-seed-data.js +55 -89
  210. package/dist/seed/wishlists-seed-data.js +22 -22
  211. package/dist/server.d.ts +4 -3
  212. package/dist/server.js +7 -7
  213. package/dist/styles.css +1 -1
  214. package/dist/tailwind-utilities.css +1 -1
  215. package/dist/ui/components/PageLoader.js +8 -3
  216. package/dist/ui/components/Select.d.ts +8 -1
  217. package/dist/ui/components/Select.js +2 -2
  218. package/dist/ui/components/SiteMark.d.ts +23 -0
  219. package/dist/ui/components/SiteMark.js +76 -0
  220. package/dist/ui/index.d.ts +2 -0
  221. package/dist/ui/index.js +1 -0
  222. package/dist/validation/schemas.d.ts +0 -2
  223. package/dist/validation/schemas.js +0 -2
  224. package/package.json +1 -1
  225. package/scripts/seed-cli.mjs +17 -15
@@ -1,5 +1,5 @@
1
1
  /*
2
- * WHY: Seeds the 11 store-extension collections for YGO marketplace (2 stores).
2
+ * WHY: Seeds the 11 store-extension collections for the Beyblade marketplace (2 stores).
3
3
  * WHAT: payoutMethods, shippingConfigs, analyticsCards, analyticsAlerts, storeCategories,
4
4
  * listingTemplates, moderationQueue, reports, itemRequests, storeWhatsAppConfig, storeGoogleConfig.
5
5
  *
@@ -21,24 +21,24 @@ const NOW = new Date();
21
21
  // ───── payoutMethods (4 records) ──────────────────────────────────────────
22
22
  export const payoutMethodsSeedData = [
23
23
  {
24
- id: "payout-method-kaiba-corp-upi-default",
25
- sellerId: "user-seto-kaiba",
26
- storeId: "store-kaiba-corp-cards",
24
+ id: "payout-method-beyblade-arena-upi-default",
25
+ sellerId: "user-tyson-blader",
26
+ storeId: "store-beyblade-arena",
27
27
  type: "upi",
28
28
  label: "Primary UPI",
29
- upiVpa: "kaibacorp@upi",
29
+ upiVpa: "beybladearena@upi",
30
30
  isDefault: true,
31
31
  isActive: true,
32
32
  },
33
33
  {
34
- id: "payout-method-kaiba-corp-bank",
35
- sellerId: "user-seto-kaiba",
36
- storeId: "store-kaiba-corp-cards",
34
+ id: "payout-method-beyblade-arena-bank",
35
+ sellerId: "user-tyson-blader",
36
+ storeId: "store-beyblade-arena",
37
37
  type: "bank",
38
38
  label: "HDFC Current Account",
39
39
  accountNumber: "50200012345678",
40
40
  ifscCode: "HDFC0001234",
41
- accountHolderName: "Kaiba Corp Card Vault LLP",
41
+ accountHolderName: "Beyblade Arena LLP",
42
42
  bankName: "HDFC Bank",
43
43
  isDefault: false,
44
44
  isActive: true,
@@ -61,7 +61,7 @@ export const payoutMethodsSeedData = [
61
61
  label: "SBI Current Account",
62
62
  accountNumber: "00112233445566",
63
63
  ifscCode: "SBIN0001234",
64
- accountHolderName: "LetItRip Admin",
64
+ accountHolderName: "Mock User 1",
65
65
  bankName: "State Bank of India",
66
66
  isDefault: false,
67
67
  isActive: true,
@@ -70,22 +70,22 @@ export const payoutMethodsSeedData = [
70
70
  // ───── shippingConfigs (4 records) ────────────────────────────────────────
71
71
  export const shippingConfigsSeedData = [
72
72
  {
73
- id: "ship-config-kaiba-corp-free",
74
- storeId: "store-kaiba-corp-cards",
75
- label: "Free over ₹999",
73
+ id: "ship-config-beyblade-arena-free",
74
+ storeId: "store-beyblade-arena",
75
+ label: "Free over ₹599",
76
76
  method: "free",
77
- freeAbove: 999,
77
+ freeAbove: 599,
78
78
  estimatedDays: 5,
79
79
  isDefault: true,
80
80
  isActive: true,
81
81
  },
82
82
  {
83
- id: "ship-config-kaiba-corp-express",
84
- storeId: "store-kaiba-corp-cards",
83
+ id: "ship-config-beyblade-arena-express",
84
+ storeId: "store-beyblade-arena",
85
85
  label: "Express (2 days)",
86
86
  method: "express",
87
- flatRate: 199,
88
- expressSurcharge: 99,
87
+ flatRate: 149,
88
+ expressSurcharge: 79,
89
89
  estimatedDays: 2,
90
90
  isDefault: false,
91
91
  isActive: true,
@@ -113,11 +113,11 @@ export const shippingConfigsSeedData = [
113
113
  ];
114
114
  // ───── analyticsCards (9 records) ─────────────────────────────────────────
115
115
  export const analyticsCardsSeedData = [
116
- { id: "ac-seller-revenue-30d", scope: "seller", ownerId: "user-seto-kaiba", title: "Revenue · 30d", type: "metric", metric: "revenue:30d", filters: {}, position: 0, isBuiltIn: true, isVisible: true },
117
- { id: "ac-seller-orders-30d", scope: "seller", ownerId: "user-seto-kaiba", title: "Orders · 30d", type: "metric", metric: "orders:30d", filters: {}, position: 1, isBuiltIn: true, isVisible: true },
118
- { id: "ac-seller-aov", scope: "seller", ownerId: "user-seto-kaiba", title: "Avg Order Value", type: "metric", metric: "aov:30d", filters: {}, position: 2, isBuiltIn: true, isVisible: true },
119
- { id: "ac-seller-traffic", scope: "seller", ownerId: "user-seto-kaiba", title: "Storefront Traffic", type: "line", metric: "store-views:30d", filters: {}, position: 3, isBuiltIn: true, isVisible: true },
120
- { id: "ac-seller-top-products", scope: "seller", ownerId: "user-seto-kaiba", title: "Top Products", type: "table", metric: "top-products:30d", filters: {}, position: 4, isBuiltIn: true, isVisible: true },
116
+ { id: "ac-seller-revenue-30d", scope: "seller", ownerId: "user-tyson-blader", title: "Revenue · 30d", type: "metric", metric: "revenue:30d", filters: {}, position: 0, isBuiltIn: true, isVisible: true },
117
+ { id: "ac-seller-orders-30d", scope: "seller", ownerId: "user-tyson-blader", title: "Orders · 30d", type: "metric", metric: "orders:30d", filters: {}, position: 1, isBuiltIn: true, isVisible: true },
118
+ { id: "ac-seller-aov", scope: "seller", ownerId: "user-tyson-blader", title: "Avg Order Value", type: "metric", metric: "aov:30d", filters: {}, position: 2, isBuiltIn: true, isVisible: true },
119
+ { id: "ac-seller-traffic", scope: "seller", ownerId: "user-tyson-blader", title: "Storefront Traffic", type: "line", metric: "store-views:30d", filters: {}, position: 3, isBuiltIn: true, isVisible: true },
120
+ { id: "ac-seller-top-products", scope: "seller", ownerId: "user-tyson-blader", title: "Top Products", type: "table", metric: "top-products:30d", filters: {}, position: 4, isBuiltIn: true, isVisible: true },
121
121
  { id: "ac-admin-platform-gmv", scope: "admin", ownerId: "user-admin-letitrip", title: "Platform GMV", type: "metric", metric: "platform-gmv:30d", filters: {}, position: 0, isBuiltIn: true, isVisible: true },
122
122
  { id: "ac-admin-active-stores", scope: "admin", ownerId: "user-admin-letitrip", title: "Active Stores", type: "metric", metric: "active-stores", filters: {}, position: 1, isBuiltIn: true, isVisible: true },
123
123
  { id: "ac-admin-pending-mod", scope: "admin", ownerId: "user-admin-letitrip", title: "Pending Moderation", type: "metric", metric: "moderation-pending", filters: {}, position: 2, isBuiltIn: true, isVisible: true },
@@ -125,37 +125,37 @@ export const analyticsCardsSeedData = [
125
125
  ];
126
126
  // ───── analyticsAlerts (4 records) ────────────────────────────────────────
127
127
  export const analyticsAlertsSeedData = [
128
- { id: "alert-low-stock-kaiba", scope: "seller", ownerId: "user-seto-kaiba", label: "Low stock", metric: "min-stock", operator: "<", threshold: 5, windowHours: 24, isActive: true, notifyChannels: ["in-app", "email"] },
129
- { id: "alert-no-sales-kaiba", scope: "seller", ownerId: "user-seto-kaiba", label: "Zero sales 48h", metric: "orders-window", operator: "==", threshold: 0, windowHours: 48, isActive: true, notifyChannels: ["in-app"] },
128
+ { id: "alert-low-stock-arena", scope: "seller", ownerId: "user-tyson-blader", label: "Low stock", metric: "min-stock", operator: "<", threshold: 5, windowHours: 24, isActive: true, notifyChannels: ["in-app", "email"] },
129
+ { id: "alert-no-sales-arena", scope: "seller", ownerId: "user-tyson-blader", label: "Zero sales 48h", metric: "orders-window", operator: "==", threshold: 0, windowHours: 48, isActive: true, notifyChannels: ["in-app"] },
130
130
  { id: "alert-platform-error-rate", scope: "admin", ownerId: "user-admin-letitrip", label: "API error rate > 5%", metric: "api-error-rate", operator: ">", threshold: 0.05, windowHours: 1, isActive: true, notifyChannels: ["in-app", "email", "whatsapp"] },
131
131
  { id: "alert-fraud-surge", scope: "admin", ownerId: "user-admin-letitrip", label: "Fraud reports surge", metric: "reports-1h", operator: ">", threshold: 10, windowHours: 1, isActive: true, notifyChannels: ["in-app", "email"] },
132
132
  ];
133
133
  // ───── storeCategories (4 records) ────────────────────────────────────────
134
134
  export const storeCategoriesSeedData = [
135
- { id: "scat-kaiba-lob-singles", storeId: "store-kaiba-corp-cards", label: "LOB Singles", slug: "lob-singles", displayOrder: 0, productIds: [], isActive: true, description: "Legend of Blue Eyes White Dragon singles.", coverImageUrl: seedExtMedia("https://images.ygoprodeck.com/images/cards/cropped/89631139.jpg") },
136
- { id: "scat-kaiba-graded-slabs", storeId: "store-kaiba-corp-cards", label: "Graded Slabs", slug: "graded-slabs", displayOrder: 1, productIds: [], isActive: true, description: "PSA, BGS, and CGC graded Yu-Gi-Oh! slabs.", coverImageUrl: seedExtMedia("https://images.ygoprodeck.com/images/cards/cropped/46986414.jpg") },
137
- { id: "scat-letitrip-sealed", storeId: "store-letitrip-official", label: "Sealed Products", slug: "sealed-products", displayOrder: 0, productIds: [], isActive: true, description: "Factory-sealed booster boxes, tins, and structure decks.", coverImageUrl: seedExtMedia("https://images.ygoprodeck.com/images/cards/cropped/33396948.jpg") },
138
- { id: "scat-letitrip-accessories", storeId: "store-letitrip-official", label: "Accessories", slug: "accessories", displayOrder: 1, productIds: [], isActive: true, description: "Deck boxes, sleeves, playmats, and binders.", coverImageUrl: seedExtMedia("https://images.ygoprodeck.com/images/cards/cropped/38033121.jpg") },
135
+ { id: "scat-arena-original-series", storeId: "store-beyblade-arena", label: "Original Series", slug: "original-series", displayOrder: 0, productIds: [], isActive: true, description: "Original 1999-2003 series beyblades.", coverImageUrl: seedExtMedia("https://picsum.photos/seed/storecat-original-series-20260101/600/400") },
136
+ { id: "scat-arena-metal-fight", storeId: "store-beyblade-arena", label: "Metal Fight", slug: "metal-fight", displayOrder: 1, productIds: [], isActive: true, description: "Metal Fight / Metal Fusion era beyblades.", coverImageUrl: seedExtMedia("https://picsum.photos/seed/storecat-metal-fight-20260101/600/400") },
137
+ { id: "scat-letitrip-sealed", storeId: "store-letitrip-official", label: "Sealed Products", slug: "sealed-products", displayOrder: 0, productIds: [], isActive: true, description: "Factory-sealed launcher sets, stadiums, and starter boxes.", coverImageUrl: seedExtMedia("https://picsum.photos/seed/storecat-sealed-products-20260101/600/400") },
138
+ { id: "scat-letitrip-accessories", storeId: "store-letitrip-official", label: "Accessories", slug: "accessories", displayOrder: 1, productIds: [], isActive: true, description: "Launchers, grip tape, ripcords, and carry cases.", coverImageUrl: seedExtMedia("https://picsum.photos/seed/storecat-accessories-20260101/600/400") },
139
139
  ];
140
140
  // ───── listingTemplates (4 records) ───────────────────────────────────────
141
141
  export const listingTemplatesSeedData = [
142
142
  {
143
- id: "tmpl-standard-ygo-card",
144
- storeId: "store-kaiba-corp-cards",
145
- ownerId: "user-seto-kaiba",
146
- name: "YGO Card · Standard",
147
- description: "Default fields for a graded Yu-Gi-Oh! card listing.",
143
+ id: "tmpl-standard-beyblade",
144
+ storeId: "store-beyblade-arena",
145
+ ownerId: "user-tyson-blader",
146
+ name: "Beyblade · Standard",
147
+ description: "Default fields for a standard beyblade listing.",
148
148
  listingType: "standard",
149
- defaults: { condition: "mint", currency: "INR", tags: ["yugioh", "tcg"] },
149
+ defaults: { condition: "mint", currency: "INR", tags: ["beyblade", "spinning-tops"] },
150
150
  isShared: true,
151
151
  isActive: true,
152
152
  usageCount: 14,
153
153
  },
154
154
  {
155
- id: "tmpl-auction-vintage-ygo",
156
- storeId: "store-kaiba-corp-cards",
157
- ownerId: "user-seto-kaiba",
158
- name: "Vintage YGO Auction",
155
+ id: "tmpl-auction-vintage-beyblade",
156
+ storeId: "store-beyblade-arena",
157
+ ownerId: "user-tyson-blader",
158
+ name: "Vintage Beyblade Auction",
159
159
  listingType: "auction",
160
160
  defaults: { reserveMultiplier: 1.2, auctionDays: 7, currency: "INR" },
161
161
  isShared: false,
@@ -163,10 +163,10 @@ export const listingTemplatesSeedData = [
163
163
  usageCount: 5,
164
164
  },
165
165
  {
166
- id: "tmpl-preorder-konami",
166
+ id: "tmpl-preorder-takara-tomy",
167
167
  storeId: "store-letitrip-official",
168
168
  ownerId: "user-admin-letitrip",
169
- name: "Konami Pre-Order",
169
+ name: "Takara-Tomy Pre-Order",
170
170
  listingType: "pre-order",
171
171
  defaults: { releaseLeadDays: 90, depositPercent: 30 },
172
172
  isShared: false,
@@ -174,10 +174,10 @@ export const listingTemplatesSeedData = [
174
174
  usageCount: 9,
175
175
  },
176
176
  {
177
- id: "tmpl-bundle-ygo-set",
178
- storeId: "store-kaiba-corp-cards",
179
- ownerId: "user-seto-kaiba",
180
- name: "YGO Set Bundle",
177
+ id: "tmpl-bundle-beyblade-set",
178
+ storeId: "store-beyblade-arena",
179
+ ownerId: "user-tyson-blader",
180
+ name: "Beyblade Set Bundle",
181
181
  listingType: "bundle",
182
182
  defaults: { minItems: 3, maxItems: 10, autoDiscountPercent: 12 },
183
183
  isShared: true,
@@ -187,33 +187,33 @@ export const listingTemplatesSeedData = [
187
187
  ];
188
188
  // ───── moderationQueue (6 records) ────────────────────────────────────────
189
189
  export const moderationQueueSeedData = [
190
- { id: "mod-video-blue-eyes-auction", mediaType: "video", mediaUrl: "/media/product-video-blue-eyes-lob-psa10-20260518.mp4", entityType: "product", entityId: "auction-blue-eyes-lob-1st-psa10", ownerId: "user-seto-kaiba", storeId: "store-kaiba-corp-cards", status: "pending", submittedAt: new Date(NOW.getTime() - 3600000) },
191
- { id: "mod-video-dark-magician-unbox", mediaType: "video", mediaUrl: "/media/product-video-dark-magician-lob-20260518.mp4", entityType: "product", entityId: "product-dark-magician-lob-nm", ownerId: "user-seto-kaiba", storeId: "store-kaiba-corp-cards", status: "pending", submittedAt: new Date(NOW.getTime() - 7200000) },
192
- { id: "mod-review-exodia", mediaType: "rich-text", entityType: "review", entityId: "review-exodia-head-yugi-20260510", ownerId: "user-yugi-muto", status: "approved", reviewerId: "user-admin-letitrip", reviewedAt: new Date(NOW.getTime() - 86400000), submittedAt: new Date(NOW.getTime() - 90000000) },
193
- { id: "mod-image-kaiba-banner", mediaType: "image", mediaUrl: seedExtMedia("https://picsum.photos/seed/store-banner-kaiba-corp-cards-20260518/1600/400"), entityType: "storefront", entityId: "store-kaiba-corp-cards", ownerId: "user-seto-kaiba", storeId: "store-kaiba-corp-cards", status: "auto-approved", submittedAt: new Date(NOW.getTime() - 172800000) },
194
- { id: "mod-blog-grading-guide", mediaType: "rich-text", entityType: "blog", entityId: "blog-how-to-grade-yugioh-cards", ownerId: "user-admin-letitrip", status: "approved", reviewerId: "user-admin-letitrip", reviewedAt: new Date(NOW.getTime() - 432000000), submittedAt: new Date(NOW.getTime() - 438000000) },
195
- { id: "mod-event-cover-tournament", mediaType: "image", mediaUrl: seedExtMedia("https://picsum.photos/seed/event-cover-ygo-duel-championship-20260518/1200/600"), entityType: "event", entityId: "event-ygo-duel-championship-june-2026", ownerId: "user-admin-letitrip", status: "approved", reviewerId: "user-admin-letitrip", reviewedAt: new Date(NOW.getTime() - 86400000), submittedAt: new Date(NOW.getTime() - 90000000) },
190
+ { id: "mod-video-dragoon-auction", mediaType: "video", mediaUrl: "/media/product-video-dragoon-storm-20260518.mp4", entityType: "product", entityId: "auction-beyblade-original-dragoon-storm", ownerId: "user-tyson-blader", storeId: "store-beyblade-arena", status: "pending", submittedAt: new Date(NOW.getTime() - 3600000) },
191
+ { id: "mod-video-dranzer-unbox", mediaType: "video", mediaUrl: "/media/product-video-original-dranzer-s-20260518.mp4", entityType: "product", entityId: "product-beyblade-original-dranzer-s", ownerId: "user-tyson-blader", storeId: "store-beyblade-arena", status: "pending", submittedAt: new Date(NOW.getTime() - 7200000) },
192
+ { id: "mod-review-driger-v", mediaType: "rich-text", entityType: "review", entityId: "review-8", ownerId: "user-yugi-muto", status: "approved", reviewerId: "user-admin-letitrip", reviewedAt: new Date(NOW.getTime() - 86400000), submittedAt: new Date(NOW.getTime() - 90000000) },
193
+ { id: "mod-image-arena-banner", mediaType: "image", mediaUrl: seedExtMedia("https://picsum.photos/seed/store-banner-beyblade-arena-20260518/1600/400"), entityType: "storefront", entityId: "store-beyblade-arena", ownerId: "user-tyson-blader", storeId: "store-beyblade-arena", status: "auto-approved", submittedAt: new Date(NOW.getTime() - 172800000) },
194
+ { id: "mod-blog-authentication-guide", mediaType: "rich-text", entityType: "blog", entityId: "blog-spot-genuine-takara-tomy-beyblade", ownerId: "user-admin-letitrip", status: "approved", reviewerId: "user-admin-letitrip", reviewedAt: new Date(NOW.getTime() - 432000000), submittedAt: new Date(NOW.getTime() - 438000000) },
195
+ { id: "mod-event-cover-tournament", mediaType: "image", mediaUrl: seedExtMedia("https://picsum.photos/seed/event-cover-beyblade-tournament-20260518/1200/600"), entityType: "event", entityId: "event-favourite-blader-poll", ownerId: "user-admin-letitrip", status: "approved", reviewerId: "user-admin-letitrip", reviewedAt: new Date(NOW.getTime() - 86400000), submittedAt: new Date(NOW.getTime() - 90000000) },
196
196
  ];
197
197
  // ───── reports (5 records) ────────────────────────────────────────────────
198
198
  export const reportsSeedData = [
199
- { id: "report-counterfeit-blue-eyes", entityType: "product", entityId: "product-suspect-blue-eyes", reporterId: "user-yugi-muto", reason: "counterfeit", detail: "Card edges look reprinted; eye of Anubis hologram missing.", evidenceUrls: [], status: "pending" },
199
+ { id: "report-counterfeit-l-drago", entityType: "product", entityId: "product-suspect-l-drago", reporterId: "user-yugi-muto", reason: "counterfeit", detail: "Weight feels hollow; laser-etched logo missing on the underside.", evidenceUrls: [], status: "pending" },
200
200
  { id: "report-scam-store-fly-by-night", entityType: "store", entityId: "store-suspect-fly-by-night", reporterId: "user-seto-kaiba", reason: "scam", detail: "Reports of orders not shipped after 4 weeks.", evidenceUrls: [], status: "under-review", assignedTo: "user-admin-letitrip" },
201
- { id: "report-spam-review-ygo", entityType: "review", entityId: "review-ygo-spammy", reporterId: "user-yugi-muto", reason: "spam", detail: "Promotional link in review.", evidenceUrls: [], status: "actioned", resolution: "Review hidden.", resolvedAt: new Date(NOW.getTime() - 86400000) },
202
- { id: "report-prohibited-replica-listing", entityType: "product", entityId: "product-suspect-replica-slab", reporterId: "user-admin-letitrip", reason: "prohibited", detail: "Fake PSA slab with forged cert number.", evidenceUrls: [], status: "pending" },
203
- { id: "report-ip-violation-fan-art-print", entityType: "product", entityId: "product-bootleg-ygo-print", reporterId: "user-seto-kaiba", reason: "ip-violation", detail: "Unauthorised Yu-Gi-Oh! art prints — not licensed by Konami.", evidenceUrls: [], status: "under-review", assignedTo: "user-admin-letitrip" },
201
+ { id: "report-spam-review-beyblade", entityType: "review", entityId: "review-spammy", reporterId: "user-yugi-muto", reason: "spam", detail: "Promotional link in review.", evidenceUrls: [], status: "actioned", resolution: "Review hidden.", resolvedAt: new Date(NOW.getTime() - 86400000) },
202
+ { id: "report-prohibited-replica-listing", entityType: "product", entityId: "product-suspect-replica-driver", reporterId: "user-admin-letitrip", reason: "prohibited", detail: "Fake authenticity certificate with forged serial number.", evidenceUrls: [], status: "pending" },
203
+ { id: "report-ip-violation-fan-art-print", entityType: "product", entityId: "product-bootleg-beyblade-print", reporterId: "user-seto-kaiba", reason: "ip-violation", detail: "Unauthorised Beyblade art prints — not licensed by Takara-Tomy.", evidenceUrls: [], status: "under-review", assignedTo: "user-admin-letitrip" },
204
204
  ];
205
205
  // ───── itemRequests (4 records) ───────────────────────────────────────────
206
206
  export const itemRequestsSeedData = [
207
207
  {
208
- id: "irq-blue-eyes-1st-ed-psa8",
208
+ id: "irq-l-drago-sealed",
209
209
  opUserId: "user-yugi-muto",
210
- opDisplayName: "Yugi Muto",
211
- title: "Looking for Blue-Eyes White Dragon LOB 1st Ed PSA 8+",
212
- description: "Hunting a LOB 1st Edition Blue-Eyes, grade 8 or above. Budget ₹2,50,000.",
213
- category: "trading-cards",
214
- brand: "konami",
215
- maxBudget: 250000,
216
- imageUrls: [seedExtMedia("https://images.ygoprodeck.com/images/cards/cropped/89631139.jpg")],
210
+ opDisplayName: "Mock User 3",
211
+ title: "Looking for sealed Metal Lightning L-Drago",
212
+ description: "Hunting a sealed Metal Lightning L-Drago, tournament-grade tip. Budget ₹8,000.",
213
+ category: "spinning-tops",
214
+ brand: "takara-tomy",
215
+ maxBudget: 8000,
216
+ imageUrls: [seedExtMedia("https://picsum.photos/seed/irq-l-drago-sealed-20260101/600/600")],
217
217
  status: "open",
218
218
  replyCount: 2,
219
219
  replies: [],
@@ -221,15 +221,15 @@ export const itemRequestsSeedData = [
221
221
  approvedBy: "user-admin-letitrip",
222
222
  },
223
223
  {
224
- id: "irq-exodia-complete-set",
224
+ id: "irq-original-complete-set",
225
225
  opUserId: "user-yugi-muto",
226
- opDisplayName: "Yugi Muto",
227
- title: "Complete Exodia Set — LOB 1st Edition",
228
- description: "Need all 5 pieces in NM+ condition. Willing to pay premium for matching set.",
229
- category: "trading-cards",
230
- brand: "konami",
231
- maxBudget: 150000,
232
- imageUrls: [seedExtMedia("https://images.ygoprodeck.com/images/cards/cropped/33396948.jpg")],
226
+ opDisplayName: "Mock User 3",
227
+ title: "Complete Original Series Set — Sealed",
228
+ description: "Need all 5 original starter beyblades in sealed condition. Willing to pay premium for a matching set.",
229
+ category: "spinning-tops",
230
+ brand: "takara-tomy",
231
+ maxBudget: 15000,
232
+ imageUrls: [seedExtMedia("https://picsum.photos/seed/irq-original-set-20260101/600/600")],
233
233
  status: "open",
234
234
  replyCount: 0,
235
235
  replies: [],
@@ -237,15 +237,15 @@ export const itemRequestsSeedData = [
237
237
  approvedBy: "user-admin-letitrip",
238
238
  },
239
239
  {
240
- id: "irq-lob-sealed-booster",
240
+ id: "irq-x-bx08-sealed",
241
241
  opUserId: "user-admin-letitrip",
242
- opDisplayName: "LetItRip Admin",
243
- title: "LOB Sealed Booster Pack — any printing",
244
- description: "Sealed only. 1st Ed or Unlimited OK. For platform demo.",
245
- category: "trading-cards",
246
- brand: "konami",
247
- maxBudget: 15000,
248
- imageUrls: [seedExtMedia("https://images.ygoprodeck.com/images/cards/cropped/46986414.jpg")],
242
+ opDisplayName: "Mock User 1",
243
+ title: "Beyblade X BX-08 Wave — any launcher combo",
244
+ description: "Sealed only. For platform demo.",
245
+ category: "spinning-tops",
246
+ brand: "takara-tomy",
247
+ maxBudget: 1500,
248
+ imageUrls: [seedExtMedia("https://picsum.photos/seed/irq-x-bx08-20260101/600/600")],
249
249
  status: "fulfilled",
250
250
  replyCount: 4,
251
251
  replies: [],
@@ -254,12 +254,12 @@ export const itemRequestsSeedData = [
254
254
  closedAt: new Date(NOW.getTime() - 2 * 86400000),
255
255
  },
256
256
  {
257
- id: "irq-rejected-replica-slab",
257
+ id: "irq-rejected-replica-driver",
258
258
  opUserId: "user-yugi-muto",
259
- opDisplayName: "Yugi Muto",
260
- title: "Looking for cheap PSA slabs",
261
- description: "Cheapest possible graded cards, any condition.",
262
- category: "trading-cards",
259
+ opDisplayName: "Mock User 3",
260
+ title: "Looking for cheap metal drivers",
261
+ description: "Cheapest possible metal drivers, any condition.",
262
+ category: "spinning-tops",
263
263
  imageUrls: [],
264
264
  status: "rejected",
265
265
  replyCount: 0,
@@ -269,15 +269,15 @@ export const itemRequestsSeedData = [
269
269
  // ───── storeWhatsAppConfig (2 records) ────────────────────────────────────
270
270
  export const storeWhatsAppConfigSeedData = [
271
271
  {
272
- id: "whatsapp-kaiba-corp",
273
- storeId: "store-kaiba-corp-cards",
272
+ id: "whatsapp-beyblade-arena",
273
+ storeId: "store-beyblade-arena",
274
274
  isConnected: true,
275
275
  isPaid: true,
276
276
  phoneNumber: "+919876501001",
277
- businessProfileName: "Kaiba Corp Card Vault",
277
+ businessProfileName: "Beyblade Arena",
278
278
  catalogUrl: "https://wa.me/c/919876501001",
279
- autoReply: "Hi! Thanks for messaging Kaiba Corp Card Vault. We respond within 2 hours.",
280
- welcomeMessage: "Welcome to Kaiba Corp Card Vault! Browse our YGO catalog above.",
279
+ autoReply: "Hi! Thanks for messaging Beyblade Arena. We respond within 2 hours.",
280
+ welcomeMessage: "Welcome to Beyblade Arena! Browse our full catalog above.",
281
281
  onboardingStatus: "approved",
282
282
  },
283
283
  {
@@ -291,11 +291,11 @@ export const storeWhatsAppConfigSeedData = [
291
291
  // ───── storeGoogleConfig (2 records) ──────────────────────────────────────
292
292
  export const storeGoogleConfigSeedData = [
293
293
  {
294
- id: "google-kaiba-corp",
295
- storeId: "store-kaiba-corp-cards",
294
+ id: "google-beyblade-arena",
295
+ storeId: "store-beyblade-arena",
296
296
  isConnected: true,
297
- placeId: "ChIJkaibacorpcards12345",
298
- businessName: "Kaiba Corp Card Vault",
297
+ placeId: "ChIJbeybladearena12345",
298
+ businessName: "Beyblade Arena",
299
299
  averageRating: 4.8,
300
300
  totalReviews: 89,
301
301
  lastSyncedAt: new Date(NOW.getTime() - 3600000),
@@ -74,6 +74,7 @@ export const storesSeedData = [
74
74
  },
75
75
  isPublic: true,
76
76
  isVacationMode: false,
77
+ emiEnabled: true,
77
78
  stats: {
78
79
  totalProducts: 0,
79
80
  itemsSold: 0,
@@ -122,6 +123,7 @@ export const storesSeedData = [
122
123
  },
123
124
  isPublic: true,
124
125
  isVacationMode: false,
126
+ emiEnabled: true,
125
127
  stats: { totalProducts: 0, itemsSold: 0, totalReviews: 6, averageRating: 4.8 },
126
128
  capabilities: ["host_preorders", "verified_seller", "create_coupons", "suggest_brands"],
127
129
  createdAt: daysAgo(150),
@@ -1,5 +1,5 @@
1
1
  /*
2
- * WHY: Seeds support tickets for YGO marketplace — 8 tickets across all statuses.
2
+ * WHY: Seeds support tickets for the Beyblade marketplace — 8 tickets across all statuses.
3
3
  * WHAT: open (2), in_progress (2), waiting_on_user (1), resolved (2), closed (1).
4
4
  *
5
5
  * EXPORTS:
@@ -26,19 +26,19 @@ export const supportTicketsSeedData = [
26
26
  {
27
27
  id: "ticket-yugi-order-001",
28
28
  userId: "user-yugi-muto",
29
- userEmail: "yugi.muto@example.com",
30
- userDisplayName: "Yugi Muto",
29
+ userEmail: "rehan.sheikh@example.com",
30
+ userDisplayName: "Mock User 3",
31
31
  category: "order_issue",
32
32
  subject: "Order delivered but item is missing from the box",
33
- description: "I received order #order-1-20260515-abc123 but the Dark Magician LOB card was not inside — only the outer packaging and bubble wrap were present. Please help.",
33
+ description: "I received order #order-1-20260515-abc123 but the Beyblade Original Dranzer S was not inside — only the outer packaging and bubble wrap were present. Please help.",
34
34
  orderId: "order-1-20260515-abc123",
35
35
  status: SUPPORT_TICKET_FIELDS.STATUS_VALUES.IN_PROGRESS,
36
36
  priority: SUPPORT_TICKET_FIELDS.PRIORITY_VALUES.HIGH,
37
37
  assignedTo: "user-admin-letitrip",
38
- assignedToName: "LetItRip Admin",
38
+ assignedToName: "Mock User 1",
39
39
  messages: [
40
- msg("msg-yugi-001-u1", "user-yugi-muto", "user", "I received my order but the card was missing! The seal was broken on arrival.", 5),
41
- msg("msg-yugi-001-s1", "user-admin-letitrip", "support", "Hi Yugi, we're sorry to hear this. I've raised a claim with the courier. Could you please share a photo of the packaging?", 4),
40
+ msg("msg-yugi-001-u1", "user-yugi-muto", "user", "I received my order but the beyblade was missing! The seal was broken on arrival.", 5),
41
+ msg("msg-yugi-001-s1", "user-admin-letitrip", "support", "Hi Rehan, we're sorry to hear this. I've raised a claim with the courier. Could you please share a photo of the packaging?", 4),
42
42
  msg("msg-yugi-001-u2", "user-yugi-muto", "user", "Photos attached. The outer tape was clearly cut and resealed.", 3),
43
43
  ],
44
44
  createdAt: daysBack(5),
@@ -48,11 +48,11 @@ export const supportTicketsSeedData = [
48
48
  {
49
49
  id: "ticket-yugi-refund-001",
50
50
  userId: "user-yugi-muto",
51
- userEmail: "yugi.muto@example.com",
52
- userDisplayName: "Yugi Muto",
51
+ userEmail: "rehan.sheikh@example.com",
52
+ userDisplayName: "Mock User 3",
53
53
  category: "refund_request",
54
54
  subject: "Requesting refund for cancelled pre-order",
55
- description: "I placed a pre-order for the Konami 25th Anniversary Rarity Collection 3 months ago. The store has now closed. I would like a full refund of ₹3,999.",
55
+ description: "I placed a pre-order for the Beyblade X BX-08 wave 3 months ago. The store has now closed. I would like a full refund of ₹899.",
56
56
  status: SUPPORT_TICKET_FIELDS.STATUS_VALUES.OPEN,
57
57
  priority: SUPPORT_TICKET_FIELDS.PRIORITY_VALUES.NORMAL,
58
58
  messages: [
@@ -65,18 +65,18 @@ export const supportTicketsSeedData = [
65
65
  {
66
66
  id: "ticket-kaiba-account-001",
67
67
  userId: "user-seto-kaiba",
68
- userEmail: "seto.kaiba@example.com",
69
- userDisplayName: "Seto Kaiba",
68
+ userEmail: "vivaan.kapoor@example.com",
69
+ userDisplayName: "Mock User 2",
70
70
  category: "account",
71
71
  subject: "Cannot log in — OTP not arriving on new phone number",
72
- description: "I changed my phone number and now OTP for login is going to the old number. I cannot access my seller dashboard.",
72
+ description: "I changed my phone number and now OTP for login is going to the old number. I cannot access my account.",
73
73
  status: SUPPORT_TICKET_FIELDS.STATUS_VALUES.WAITING_ON_USER,
74
74
  priority: SUPPORT_TICKET_FIELDS.PRIORITY_VALUES.NORMAL,
75
75
  assignedTo: "user-admin-letitrip",
76
- assignedToName: "LetItRip Admin",
76
+ assignedToName: "Mock User 1",
77
77
  messages: [
78
78
  msg("msg-kaiba-001-u1", "user-seto-kaiba", "user", "I'm locked out. My old number is no longer active.", 7),
79
- msg("msg-kaiba-001-s1", "user-admin-letitrip", "support", "Hi Kaiba, to verify ownership we need your registered email and last 4 digits of the payment card used on this account. Please reply here.", 6),
79
+ msg("msg-kaiba-001-s1", "user-admin-letitrip", "support", "Hi Vivaan, to verify ownership we need your registered email and last 4 digits of the payment card used on this account. Please reply here.", 6),
80
80
  ],
81
81
  createdAt: daysBack(7),
82
82
  updatedAt: daysBack(6),
@@ -85,19 +85,19 @@ export const supportTicketsSeedData = [
85
85
  {
86
86
  id: "ticket-yugi-dispute-001",
87
87
  userId: "user-yugi-muto",
88
- userEmail: "yugi.muto@example.com",
89
- userDisplayName: "Yugi Muto",
88
+ userEmail: "rehan.sheikh@example.com",
89
+ userDisplayName: "Mock User 3",
90
90
  category: "listing_dispute",
91
- subject: "Product description says near mint but card is heavily played",
92
- description: "The Mirror Force MRD 1st Edition I received is scratched and has edge wear. The listing said near mint. I want to return it.",
91
+ subject: "Product description says mint but tip is heavily worn",
92
+ description: "The Beyblade Metal Storm Pegasus I received has a rounded, sanded-down tip and scratches on the layer. The listing said mint condition. I want to return it.",
93
93
  status: SUPPORT_TICKET_FIELDS.STATUS_VALUES.RESOLVED,
94
94
  priority: SUPPORT_TICKET_FIELDS.PRIORITY_VALUES.NORMAL,
95
95
  assignedTo: "user-admin-letitrip",
96
- assignedToName: "LetItRip Admin",
96
+ assignedToName: "Mock User 1",
97
97
  messages: [
98
- msg("msg-yugi-003-u1", "user-yugi-muto", "user", "The card is clearly not near mint. Here are photos showing the scratches and whitening.", 12),
99
- msg("msg-yugi-003-s1", "user-admin-letitrip", "support", "Thank you for the photos Yugi. We've contacted the seller and initiated a return + full refund.", 11),
100
- msg("msg-yugi-003-s2", "user-admin-letitrip", "support", "Refund of ₹15,000 has been processed back to your original payment method. This ticket is now resolved.", 8),
98
+ msg("msg-yugi-003-u1", "user-yugi-muto", "user", "The tip is clearly not mint. Here are photos showing the wear and scratches.", 12),
99
+ msg("msg-yugi-003-s1", "user-admin-letitrip", "support", "Thank you for the photos Rehan. We've contacted the seller and initiated a return + full refund.", 11),
100
+ msg("msg-yugi-003-s2", "user-admin-letitrip", "support", "Refund of ₹2,499 has been processed back to your original payment method. This ticket is now resolved.", 8),
101
101
  ],
102
102
  resolvedAt: daysBack(8),
103
103
  createdAt: daysBack(12),
@@ -107,16 +107,16 @@ export const supportTicketsSeedData = [
107
107
  {
108
108
  id: "ticket-yugi-auction-001",
109
109
  userId: "user-yugi-muto",
110
- userEmail: "yugi.muto@example.com",
111
- userDisplayName: "Yugi Muto",
110
+ userEmail: "rehan.sheikh@example.com",
111
+ userDisplayName: "Mock User 3",
112
112
  category: "auction_dispute",
113
- subject: "Winning bid was removed from Blue-Eyes auction",
114
- description: "I won the Blue-Eyes White Dragon LOB 1st Ed PSA 10 auction but my winning bid was removed without explanation.",
113
+ subject: "Winning bid was removed from Dragoon Storm auction",
114
+ description: "I won the Beyblade Original Dragoon Storm auction but my winning bid was removed without explanation.",
115
115
  status: SUPPORT_TICKET_FIELDS.STATUS_VALUES.CLOSED,
116
116
  priority: SUPPORT_TICKET_FIELDS.PRIORITY_VALUES.LOW,
117
117
  messages: [
118
118
  msg("msg-yugi-004-u1", "user-yugi-muto", "user", "My winning bid was cancelled. I have a screenshot.", 20),
119
- msg("msg-yugi-004-s1", "user-admin-letitrip", "support", "Hi Yugi, after reviewing the auction logs we found a duplicate bid was submitted. The correct winning bid remains active. No action needed.", 18),
119
+ msg("msg-yugi-004-s1", "user-admin-letitrip", "support", "Hi Rehan, after reviewing the auction logs we found a duplicate bid was submitted. The correct winning bid remains active. No action needed.", 18),
120
120
  msg("msg-yugi-004-u2", "user-yugi-muto", "user", "Understood, thanks for clarifying.", 17),
121
121
  ],
122
122
  closedAt: daysBack(17),
@@ -127,15 +127,15 @@ export const supportTicketsSeedData = [
127
127
  {
128
128
  id: "ticket-kaiba-general-001",
129
129
  userId: "user-seto-kaiba",
130
- userEmail: "seto.kaiba@example.com",
131
- userDisplayName: "Seto Kaiba",
130
+ userEmail: "vivaan.kapoor@example.com",
131
+ userDisplayName: "Mock User 2",
132
132
  category: "general",
133
- subject: "How do I list graded slabs with PSA verification?",
134
- description: "I want to list my PSA 10 Blue-Eyes White Dragon with the PSA cert number visible and verified. What are the steps?",
133
+ subject: "How do I list a sealed limited-edition beyblade?",
134
+ description: "I want to list my sealed limited-edition Metal Lightning L-Drago with the authenticity certificate visible and verified. What are the steps?",
135
135
  status: SUPPORT_TICKET_FIELDS.STATUS_VALUES.OPEN,
136
136
  priority: SUPPORT_TICKET_FIELDS.PRIORITY_VALUES.LOW,
137
137
  messages: [
138
- msg("msg-kaiba-002-u1", "user-seto-kaiba", "user", "I've read the FAQ but couldn't find the exact grading verification requirements for PSA slabs.", 1),
138
+ msg("msg-kaiba-002-u1", "user-seto-kaiba", "user", "I've read the FAQ but couldn't find the exact authenticity verification requirements for sealed pieces.", 1),
139
139
  ],
140
140
  createdAt: daysBack(1),
141
141
  updatedAt: daysBack(1),
@@ -144,19 +144,19 @@ export const supportTicketsSeedData = [
144
144
  {
145
145
  id: "ticket-yugi-fraud-001",
146
146
  userId: "user-yugi-muto",
147
- userEmail: "yugi.muto@example.com",
148
- userDisplayName: "Yugi Muto",
147
+ userEmail: "rehan.sheikh@example.com",
148
+ userDisplayName: "Mock User 3",
149
149
  category: "scam_report",
150
150
  subject: "Seller sent empty box and is now unreachable",
151
- description: "I paid ₹8,499 for a Dark Magician Girl IOC 1st Edition via Razorpay. The seller from Kaiba Corp has not responded in 7 days and the tracking shows the box was 200g — way too light for a graded slab.",
151
+ description: "I paid ₹2,999 for a Beyblade Burst Regalia Genesis via Razorpay. The seller has not responded in 7 days and the tracking shows the box was 40g — way too light for a sealed spinner.",
152
152
  status: SUPPORT_TICKET_FIELDS.STATUS_VALUES.RESOLVED,
153
153
  priority: SUPPORT_TICKET_FIELDS.PRIORITY_VALUES.HIGH,
154
154
  assignedTo: "user-admin-letitrip",
155
- assignedToName: "LetItRip Admin",
155
+ assignedToName: "Mock User 1",
156
156
  messages: [
157
- msg("msg-yugi-005-u1", "user-yugi-muto", "user", "I have the weight receipt from Delhivery. 200g is impossible for a graded slab. The seller is not replying on messages or phone.", 10),
158
- msg("msg-yugi-005-s1", "user-admin-letitrip", "support", "Hi Yugi, I have escalated this to our admin team for review as it qualifies as a potential fraud case. You will hear back within 24 hours.", 9),
159
- msg("msg-yugi-005-a1", "user-admin-letitrip", "support", "Hi Yugi, this is the LetItRip admin. I have reviewed the shipment weight log and the seller communication history. We are initiating a full refund of ₹8,499 under our buyer protection policy. The seller account has been suspended pending investigation.", 8),
157
+ msg("msg-yugi-005-u1", "user-yugi-muto", "user", "I have the weight receipt from Delhivery. 40g is impossible for a sealed beyblade. The seller is not replying on messages or phone.", 10),
158
+ msg("msg-yugi-005-s1", "user-admin-letitrip", "support", "Hi Rehan, I have escalated this to our admin team for review as it qualifies as a potential fraud case. You will hear back within 24 hours.", 9),
159
+ msg("msg-yugi-005-a1", "user-admin-letitrip", "support", "Hi Rehan, this is the LetItRip admin. I have reviewed the shipment weight log and the seller communication history. We are initiating a full refund of ₹2,999 under our buyer protection policy. The seller account has been suspended pending investigation.", 8),
160
160
  msg("msg-yugi-005-u2", "user-yugi-muto", "user", "Thank you so much. I really appreciate the quick escalation.", 7),
161
161
  ],
162
162
  resolvedAt: daysBack(7),
@@ -167,18 +167,18 @@ export const supportTicketsSeedData = [
167
167
  {
168
168
  id: "ticket-kaiba-ban-appeal-001",
169
169
  userId: "user-seto-kaiba",
170
- userEmail: "seto.kaiba@example.com",
171
- userDisplayName: "Seto Kaiba",
170
+ userEmail: "vivaan.kapoor@example.com",
171
+ userDisplayName: "Mock User 2",
172
172
  category: "account",
173
- subject: "My store was suspended — I believe it was a mistake",
174
- description: "My store Kaiba Corp Card Vault was suspended 2 days ago. I received no email explanation. I have 100% positive reviews and have never violated any policy. Please review.",
173
+ subject: "My account was flagged — I believe it was a mistake",
174
+ description: "My account was flagged 2 days ago. I received no email explanation. I have never violated any policy. Please review.",
175
175
  status: SUPPORT_TICKET_FIELDS.STATUS_VALUES.IN_PROGRESS,
176
176
  priority: SUPPORT_TICKET_FIELDS.PRIORITY_VALUES.HIGH,
177
177
  assignedTo: "user-admin-letitrip",
178
- assignedToName: "LetItRip Admin",
178
+ assignedToName: "Mock User 1",
179
179
  messages: [
180
- msg("msg-kaiba-003-u1", "user-seto-kaiba", "user", "I run a legitimate business. I have verified reviews and never had a single complaint. Please explain the suspension.", 2),
181
- msg("msg-kaiba-003-a1", "user-admin-letitrip", "support", "Hi Kaiba, your store was suspended as part of an automatic fraud flag triggered by a buyer report. I am manually reviewing your transaction history and the specific report. Please share your business GST number and a copy of your most recent bank statement showing the Razorpay settlements for verification.", 1),
180
+ msg("msg-kaiba-003-u1", "user-seto-kaiba", "user", "I'm a legitimate buyer. I have a clean order history and never had a single complaint. Please explain the flag.", 2),
181
+ msg("msg-kaiba-003-a1", "user-admin-letitrip", "support", "Hi Vivaan, your account was flagged as part of an automatic fraud check triggered by an unusual login pattern. I am manually reviewing your account history. Please share the last 4 digits of the card used for your most recent Razorpay payment for verification.", 1),
182
182
  ],
183
183
  createdAt: daysBack(2),
184
184
  updatedAt: daysBack(1),