@mohasinac/appkit 2.7.52 → 2.7.54
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.
- package/dist/_internal/client/features/layout/DashboardLayoutClient.js +1 -1
- package/dist/_internal/server/jobs/core/auctionSettlement.js +6 -3
- package/dist/_internal/server/jobs/core/bundleStockSync.js +9 -7
- package/dist/_internal/server/jobs/core/onProductStockChange.d.ts +12 -3
- package/dist/_internal/server/jobs/core/onProductStockChange.js +12 -13
- package/dist/_internal/server/jobs/core/onProductWrite.js +1 -3
- package/dist/_internal/server/jobs/handlers/onProductStockChange.js +11 -2
- package/dist/client.d.ts +2 -0
- package/dist/client.js +1 -0
- package/dist/constants/field-names.d.ts +4 -3
- package/dist/constants/field-names.js +8 -8
- package/dist/errors/error-codes.d.ts +3 -0
- package/dist/errors/error-codes.js +3 -0
- package/dist/errors/messages.d.ts +3 -0
- package/dist/errors/messages.js +3 -0
- package/dist/features/admin/types/product.types.d.ts +1 -1
- package/dist/features/admin/types/product.types.js +2 -3
- package/dist/features/auctions/actions/bid-actions.d.ts +9 -0
- package/dist/features/auctions/actions/bid-actions.js +61 -0
- package/dist/features/auctions/components/AuctionDetailPageView.d.ts +2 -1
- package/dist/features/auctions/components/AuctionDetailPageView.js +5 -4
- package/dist/features/auctions/components/PlaceBidFormClient.d.ts +3 -1
- package/dist/features/auctions/components/PlaceBidFormClient.js +32 -2
- package/dist/features/auctions/types/index.d.ts +1 -1
- package/dist/features/layout/AppLayoutShell.js +1 -1
- package/dist/features/pre-orders/components/PreOrdersIndexListing.js +2 -11
- package/dist/features/products/api/[id]/route.js +4 -8
- package/dist/features/products/api/route.js +1 -3
- package/dist/features/products/components/AuctionsIndexListing.js +3 -11
- package/dist/features/products/components/PrizeDrawsIndexListing.js +2 -10
- package/dist/features/products/components/ProductFilters.d.ts +33 -9
- package/dist/features/products/components/ProductFilters.js +6 -29
- package/dist/features/products/components/ProductForm.js +2 -3
- package/dist/features/products/constants/sieve.d.ts +162 -0
- package/dist/features/products/constants/sieve.js +95 -0
- package/dist/features/products/repository/products.repository.d.ts +5 -0
- package/dist/features/products/repository/products.repository.js +23 -3
- package/dist/features/products/schemas/firestore.d.ts +4 -4
- package/dist/features/products/schemas/firestore.js +2 -3
- package/dist/features/products/schemas/index.d.ts +6 -6
- package/dist/features/products/schemas/index.js +2 -6
- package/dist/features/products/types/index.d.ts +1 -1
- package/dist/features/seller/actions/offer-actions.js +2 -2
- package/dist/features/wishlist/types/index.d.ts +1 -1
- package/dist/index.d.ts +6 -3
- package/dist/index.js +6 -4
- package/dist/seed/addresses-seed-data.d.ts +2 -18
- package/dist/seed/addresses-seed-data.js +137 -203
- package/dist/seed/bids-seed-data.d.ts +2 -8
- package/dist/seed/bids-seed-data.js +172 -648
- package/dist/seed/blog-posts-seed-data.d.ts +0 -5
- package/dist/seed/blog-posts-seed-data.js +341 -596
- package/dist/seed/carousel-slides-seed-data.d.ts +0 -5
- package/dist/seed/carousel-slides-seed-data.js +61 -192
- package/dist/seed/carousels-seed-data.js +18 -1
- package/dist/seed/cart-seed-data.d.ts +1 -18
- package/dist/seed/cart-seed-data.js +116 -293
- package/dist/seed/categories-seed-data.d.ts +0 -6
- package/dist/seed/categories-seed-data.js +1409 -1537
- package/dist/seed/claimed-coupons-seed-data.d.ts +0 -11
- package/dist/seed/claimed-coupons-seed-data.js +32 -29
- package/dist/seed/conversations-seed-data.d.ts +0 -6
- package/dist/seed/conversations-seed-data.js +132 -280
- package/dist/seed/coupon-usage-seed-data.d.ts +0 -16
- package/dist/seed/coupon-usage-seed-data.js +30 -44
- package/dist/seed/coupons-seed-data.d.ts +0 -6
- package/dist/seed/coupons-seed-data.js +141 -489
- package/dist/seed/events-seed-data.d.ts +0 -6
- package/dist/seed/events-seed-data.js +201 -379
- package/dist/seed/faq-seed-data.d.ts +0 -14
- package/dist/seed/faq-seed-data.js +609 -1184
- package/dist/seed/grouped-listings-seed-data.d.ts +119 -8
- package/dist/seed/grouped-listings-seed-data.js +148 -233
- package/dist/seed/history-seed-data.d.ts +0 -7
- package/dist/seed/history-seed-data.js +50 -54
- package/dist/seed/homepage-sections-seed-data.d.ts +0 -5
- package/dist/seed/homepage-sections-seed-data.js +83 -175
- package/dist/seed/index.d.ts +1 -1
- package/dist/seed/index.js +1 -1
- package/dist/seed/manifest.js +2 -2
- package/dist/seed/notifications-seed-data.d.ts +0 -6
- package/dist/seed/notifications-seed-data.js +309 -196
- package/dist/seed/offers-seed-data.d.ts +0 -8
- package/dist/seed/offers-seed-data.js +118 -197
- package/dist/seed/orders-seed-data.d.ts +2 -8
- package/dist/seed/orders-seed-data.js +248 -1510
- package/dist/seed/payouts-seed-data.d.ts +0 -6
- package/dist/seed/payouts-seed-data.js +102 -441
- package/dist/seed/products-auctions-seed-data.d.ts +1 -14
- package/dist/seed/products-auctions-seed-data.js +612 -1084
- package/dist/seed/products-preorders-seed-data.d.ts +119 -14
- package/dist/seed/products-preorders-seed-data.js +154 -455
- package/dist/seed/products-standard-seed-data.d.ts +1 -15
- package/dist/seed/products-standard-seed-data.js +1355 -4128
- package/dist/seed/reviews-seed-data.d.ts +2 -8
- package/dist/seed/reviews-seed-data.js +99 -1182
- package/dist/seed/scammers-seed-data.d.ts +0 -15
- package/dist/seed/scammers-seed-data.js +36 -37
- package/dist/seed/sessions-seed-data.d.ts +0 -13
- package/dist/seed/sessions-seed-data.js +58 -335
- package/dist/seed/site-settings-seed-data.d.ts +0 -4
- package/dist/seed/site-settings-seed-data.js +61 -52
- package/dist/seed/store-addresses-seed-data.js +27 -151
- package/dist/seed/store-extensions-seed-data.d.ts +0 -7
- package/dist/seed/store-extensions-seed-data.js +147 -261
- package/dist/seed/stores-seed-data.d.ts +0 -5
- package/dist/seed/stores-seed-data.js +222 -184
- package/dist/seed/sub-listings-seed-data.d.ts +119 -0
- package/dist/seed/sub-listings-seed-data.js +447 -0
- package/dist/seed/support-tickets-seed-data.d.ts +0 -7
- package/dist/seed/support-tickets-seed-data.js +82 -75
- package/dist/seed/users-seed-data.d.ts +0 -5
- package/dist/seed/users-seed-data.js +279 -634
- package/dist/seed/wishlists-seed-data.d.ts +0 -9
- package/dist/seed/wishlists-seed-data.js +36 -52
- package/dist/seo/json-ld.js +6 -4
- package/dist/styles.css +8052 -3
- package/dist/utils/index.d.ts +1 -0
- package/dist/utils/index.js +1 -0
- package/dist/utils/search-tokens.d.ts +2 -0
- package/dist/utils/search-tokens.js +21 -0
- package/package.json +2 -2
- package/scripts/seed-cli.mjs +2 -2
|
@@ -1,1556 +1,294 @@
|
|
|
1
|
-
|
|
2
|
-
*
|
|
3
|
-
*
|
|
4
|
-
*
|
|
5
|
-
*
|
|
1
|
+
/*
|
|
2
|
+
* WHY: Seeds purchase orders representing completed transactions across YGO marketplace buyers and sellers.
|
|
3
|
+
* WHAT: Exports 50 orders across 3 buyer/store combos. All statuses distributed. Order IDs: order-{itemCount}-{YYYYMMDD}-{rand6}.
|
|
4
|
+
*
|
|
5
|
+
* EXPORTS:
|
|
6
|
+
* ordersSeedData — Array of 50 order documents with full transactional metadata
|
|
7
|
+
*
|
|
8
|
+
* @tag domain:orders,checkout
|
|
9
|
+
* @tag layer:seed
|
|
10
|
+
* @tag pattern:none
|
|
11
|
+
* @tag access:server-only
|
|
12
|
+
* @tag consumers:seed/index.ts,seed/runner.ts,SeedPanel
|
|
13
|
+
* @tag sideEffects:none
|
|
6
14
|
*/
|
|
7
|
-
import { OrderStatusValues, PaymentStatusValues, PaymentMethodValues, } from "../features/orders/schemas";
|
|
8
15
|
const NOW = new Date();
|
|
9
16
|
const daysAgo = (n) => new Date(NOW.getTime() - n * 86400000);
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
17
|
+
const generateOrderId = (itemCount, daysBack) => {
|
|
18
|
+
const date = new Date(NOW.getTime() - daysBack * 86400000);
|
|
19
|
+
const yyyymmdd = date.toISOString().split("T")[0].replace(/-/g, "");
|
|
20
|
+
const rand = Math.random().toString(36).substring(2, 8);
|
|
21
|
+
return `order-${itemCount}-${yyyymmdd}-${rand}`;
|
|
22
|
+
};
|
|
23
|
+
const USER_NAMES = {
|
|
24
|
+
"user-yugi-muto": "Yugi Muto",
|
|
25
|
+
"user-admin-letitrip": "LetItRip Admin",
|
|
26
|
+
"user-seto-kaiba": "Seto Kaiba",
|
|
27
|
+
};
|
|
28
|
+
const USER_EMAILS = {
|
|
29
|
+
"user-yugi-muto": "yugi@duelkingdom.in",
|
|
30
|
+
"user-admin-letitrip": "admin@letitrip.in",
|
|
31
|
+
"user-seto-kaiba": "kaiba@kaibalandmark.in",
|
|
32
|
+
};
|
|
33
|
+
const _rawOrdersSeedData = [
|
|
34
|
+
// ────────────────────────────────────────────────────────────────────────────
|
|
35
|
+
// Yugi buying from Kaiba — 4 explicit orders
|
|
36
|
+
// ────────────────────────────────────────────────────────────────────────────
|
|
37
|
+
{
|
|
38
|
+
id: generateOrderId(2, 45),
|
|
39
|
+
productId: "product-dark-magician-lob-1st",
|
|
40
|
+
productTitle: "Dark Magician — LOB 1st Edition",
|
|
41
|
+
userId: "user-yugi-muto",
|
|
42
|
+
userName: "Yugi Muto",
|
|
43
|
+
userEmail: "yugi@duelkingdom.in",
|
|
44
|
+
storeId: "store-kaiba-corp-cards",
|
|
21
45
|
items: [
|
|
22
46
|
{
|
|
23
|
-
productId: "product-
|
|
24
|
-
productTitle: "
|
|
25
|
-
|
|
26
|
-
unitPrice: 449900,
|
|
27
|
-
totalPrice: 449900,
|
|
28
|
-
},
|
|
29
|
-
],
|
|
30
|
-
quantity: 1,
|
|
31
|
-
unitPrice: 449900,
|
|
32
|
-
totalPrice: 449900,
|
|
33
|
-
currency: "INR",
|
|
34
|
-
status: OrderStatusValues.DELIVERED,
|
|
35
|
-
paymentStatus: PaymentStatusValues.PAID,
|
|
36
|
-
paymentMethod: PaymentMethodValues.RAZORPAY,
|
|
37
|
-
paymentId: "pay_razorpay_001_demo",
|
|
38
|
-
shippingAddress: "204 Koramangala 5th Block, Bengaluru, Karnataka 560095",
|
|
39
|
-
trackingNumber: "DTDC987654321IN",
|
|
40
|
-
shippingCarrier: "DTDC",
|
|
41
|
-
trackingUrl: "https://www.dtdc.in/tracking",
|
|
42
|
-
shippingFee: 4900,
|
|
43
|
-
platformFee: 22495,
|
|
44
|
-
orderDate: daysAgo(28),
|
|
45
|
-
shippingDate: daysAgo(26),
|
|
46
|
-
deliveryDate: daysAgo(23),
|
|
47
|
-
payoutStatus: "paid",
|
|
48
|
-
createdAt: daysAgo(28),
|
|
49
|
-
updatedAt: daysAgo(23),
|
|
50
|
-
},
|
|
51
|
-
// ── 2. DELIVERED ─────────────────────────────────────────────────────────
|
|
52
|
-
{
|
|
53
|
-
id: "order-priya-002-nendoroid-rem",
|
|
54
|
-
productId: "product-nendoroid-rem-rezero",
|
|
55
|
-
productTitle: "Nendoroid Rem (Re:Zero) — Good Smile Company",
|
|
56
|
-
userId: "user-priya-patel",
|
|
57
|
-
userName: "Priya Patel",
|
|
58
|
-
userEmail: "priya.patel@gmail.com",
|
|
59
|
-
storeId: "store-letitrip-official",
|
|
60
|
-
storeName: "LetItRip Official",
|
|
61
|
-
items: [
|
|
62
|
-
{
|
|
63
|
-
productId: "product-nendoroid-rem-rezero",
|
|
64
|
-
productTitle: "Nendoroid Rem (Re:Zero) — Good Smile Company",
|
|
47
|
+
productId: "product-dark-magician-lob-1st",
|
|
48
|
+
productTitle: "Dark Magician — LOB 1st Edition",
|
|
49
|
+
listingType: "standard",
|
|
65
50
|
quantity: 1,
|
|
66
51
|
unitPrice: 499900,
|
|
67
52
|
totalPrice: 499900,
|
|
68
53
|
},
|
|
69
|
-
],
|
|
70
|
-
quantity: 1,
|
|
71
|
-
unitPrice: 499900,
|
|
72
|
-
totalPrice: 499900,
|
|
73
|
-
currency: "INR",
|
|
74
|
-
status: OrderStatusValues.DELIVERED,
|
|
75
|
-
paymentStatus: PaymentStatusValues.PAID,
|
|
76
|
-
paymentMethod: PaymentMethodValues.UPI_MANUAL,
|
|
77
|
-
shippingAddress: "12 Satellite Road, Ahmedabad, Gujarat 380015",
|
|
78
|
-
trackingNumber: "SHR556677889",
|
|
79
|
-
shippingCarrier: "Shiprocket",
|
|
80
|
-
shippingFee: 0,
|
|
81
|
-
platformFee: 24995,
|
|
82
|
-
orderDate: daysAgo(21),
|
|
83
|
-
shippingDate: daysAgo(19),
|
|
84
|
-
deliveryDate: daysAgo(16),
|
|
85
|
-
payoutStatus: "paid",
|
|
86
|
-
createdAt: daysAgo(21),
|
|
87
|
-
updatedAt: daysAgo(16),
|
|
88
|
-
},
|
|
89
|
-
// ── 3. SHIPPED ────────────────────────────────────────────────────────────
|
|
90
|
-
{
|
|
91
|
-
id: "order-arjun-003-gundam-rx78",
|
|
92
|
-
productId: "product-gundam-rx78-mg",
|
|
93
|
-
productTitle: "MG 1/100 RX-78-2 Gundam Ver. 3.0",
|
|
94
|
-
userId: "user-arjun-singh",
|
|
95
|
-
userName: "Arjun Singh",
|
|
96
|
-
userEmail: "arjun.singh@gmail.com",
|
|
97
|
-
storeId: "store-letitrip-official",
|
|
98
|
-
storeName: "LetItRip Official",
|
|
99
|
-
items: [
|
|
100
54
|
{
|
|
101
|
-
productId: "
|
|
102
|
-
productTitle: "
|
|
55
|
+
productId: "sublisting-dark-magician-lob-unlimited",
|
|
56
|
+
productTitle: "Dark Magician — LOB Unlimited (NM)",
|
|
57
|
+
listingType: "standard",
|
|
103
58
|
quantity: 1,
|
|
104
59
|
unitPrice: 299900,
|
|
105
60
|
totalPrice: 299900,
|
|
106
61
|
},
|
|
107
62
|
],
|
|
108
|
-
quantity: 1,
|
|
109
|
-
unitPrice: 299900,
|
|
110
|
-
totalPrice: 299900,
|
|
111
|
-
currency: "INR",
|
|
112
|
-
status: OrderStatusValues.SHIPPED,
|
|
113
|
-
paymentStatus: PaymentStatusValues.PAID,
|
|
114
|
-
paymentMethod: PaymentMethodValues.RAZORPAY,
|
|
115
|
-
paymentId: "pay_razorpay_003_demo",
|
|
116
|
-
shippingAddress: "7 Tonk Road, Jaipur, Rajasthan 302001",
|
|
117
|
-
trackingNumber: "EKART4412238871",
|
|
118
|
-
shippingCarrier: "Ekart",
|
|
119
|
-
trackingUrl: "https://ekartlogistics.com/shipmenttrack",
|
|
120
|
-
shippingFee: 0,
|
|
121
|
-
platformFee: 14995,
|
|
122
|
-
orderDate: daysAgo(7),
|
|
123
|
-
shippingDate: daysAgo(5),
|
|
124
|
-
// S-SBUNI-RULES 2026-05-13 — demo paymentBatchId sibling link
|
|
125
|
-
paymentBatchId: "batch-razorpay-demo-001",
|
|
126
|
-
payoutStatus: "eligible",
|
|
127
|
-
createdAt: daysAgo(7),
|
|
128
|
-
updatedAt: daysAgo(5),
|
|
129
|
-
},
|
|
130
|
-
// ── 4. SHIPPED ────────────────────────────────────────────────────────────
|
|
131
|
-
{
|
|
132
|
-
id: "order-meera-004-beyblade-bx01",
|
|
133
|
-
productId: "product-beyblade-x-bx01-dran-sword",
|
|
134
|
-
productTitle: "Beyblade X BX-01 Dran Sword 4-60F Starter Set",
|
|
135
|
-
userId: "user-meera-nair",
|
|
136
|
-
userName: "Meera Nair",
|
|
137
|
-
userEmail: "meera.nair@gmail.com",
|
|
138
|
-
storeId: "store-beyblade-arena",
|
|
139
|
-
storeName: "Beyblade Arena",
|
|
140
|
-
items: [
|
|
141
|
-
{
|
|
142
|
-
productId: "product-beyblade-x-bx01-dran-sword",
|
|
143
|
-
productTitle: "Beyblade X BX-01 Dran Sword 4-60F Starter Set",
|
|
144
|
-
quantity: 2,
|
|
145
|
-
unitPrice: 199900,
|
|
146
|
-
totalPrice: 399800,
|
|
147
|
-
},
|
|
148
|
-
],
|
|
149
63
|
quantity: 2,
|
|
150
|
-
unitPrice:
|
|
151
|
-
totalPrice:
|
|
152
|
-
currency: "INR",
|
|
153
|
-
status:
|
|
154
|
-
paymentStatus:
|
|
155
|
-
paymentMethod:
|
|
156
|
-
paymentId: "
|
|
157
|
-
shippingAddress: "
|
|
158
|
-
trackingNumber: "
|
|
159
|
-
shippingCarrier: "
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
orderDate: daysAgo(
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
totalPrice: 299900,
|
|
190
|
-
currency: "INR",
|
|
191
|
-
status: OrderStatusValues.PROCESSING,
|
|
192
|
-
paymentStatus: PaymentStatusValues.PAID,
|
|
193
|
-
paymentMethod: PaymentMethodValues.UPI_MANUAL,
|
|
194
|
-
shippingAddress: "204 Koramangala 5th Block, Bengaluru, Karnataka 560095",
|
|
195
|
-
shippingFee: 0,
|
|
196
|
-
platformFee: 14995,
|
|
197
|
-
orderDate: daysAgo(7),
|
|
198
|
-
// S-SBUNI-RULES 2026-05-13 — sibling of order-arjun-003 (same Razorpay payment)
|
|
199
|
-
paymentBatchId: "batch-razorpay-demo-001",
|
|
200
|
-
payoutStatus: "eligible",
|
|
201
|
-
createdAt: daysAgo(7),
|
|
202
|
-
updatedAt: daysAgo(1),
|
|
203
|
-
},
|
|
204
|
-
// ── 6. PENDING (awaiting payment) ────────────────────────────────────────
|
|
205
|
-
{
|
|
206
|
-
id: "order-priya-006-yugioh-tin",
|
|
207
|
-
productId: "product-yugioh-25th-tin",
|
|
208
|
-
productTitle: "Yu-Gi-Oh! 25th Anniversary Tin: Dueling Heroes",
|
|
209
|
-
userId: "user-priya-patel",
|
|
210
|
-
userName: "Priya Patel",
|
|
211
|
-
userEmail: "priya.patel@gmail.com",
|
|
212
|
-
storeId: "store-cardgame-hub",
|
|
213
|
-
storeName: "CardGame Hub",
|
|
214
|
-
items: [
|
|
215
|
-
{
|
|
216
|
-
productId: "product-yugioh-25th-tin",
|
|
217
|
-
productTitle: "Yu-Gi-Oh! 25th Anniversary Tin: Dueling Heroes",
|
|
218
|
-
quantity: 1,
|
|
219
|
-
unitPrice: 299900,
|
|
220
|
-
totalPrice: 299900,
|
|
221
|
-
},
|
|
222
|
-
],
|
|
223
|
-
quantity: 1,
|
|
224
|
-
unitPrice: 299900,
|
|
225
|
-
totalPrice: 299900,
|
|
226
|
-
currency: "INR",
|
|
227
|
-
status: OrderStatusValues.PENDING,
|
|
228
|
-
paymentStatus: PaymentStatusValues.PENDING,
|
|
229
|
-
paymentMethod: PaymentMethodValues.RAZORPAY,
|
|
230
|
-
shippingAddress: "12 Satellite Road, Ahmedabad, Gujarat 380015",
|
|
231
|
-
shippingFee: 4900,
|
|
232
|
-
platformFee: 14995,
|
|
233
|
-
orderDate: daysAgo(0),
|
|
234
|
-
payoutStatus: "eligible",
|
|
235
|
-
createdAt: daysAgo(0),
|
|
236
|
-
updatedAt: daysAgo(0),
|
|
64
|
+
unitPrice: 499900,
|
|
65
|
+
totalPrice: 799800,
|
|
66
|
+
currency: "INR",
|
|
67
|
+
status: "delivered",
|
|
68
|
+
paymentStatus: "paid",
|
|
69
|
+
paymentMethod: "cod",
|
|
70
|
+
paymentId: "pay-yugi-kaiba-001",
|
|
71
|
+
shippingAddress: "addr-yugi-home",
|
|
72
|
+
trackingNumber: "JP-0001-KAIBA-DELIVERED",
|
|
73
|
+
shippingCarrier: "Japan Post",
|
|
74
|
+
shippingDate: daysAgo(30),
|
|
75
|
+
deliveryDate: daysAgo(20),
|
|
76
|
+
orderDate: daysAgo(45),
|
|
77
|
+
createdAt: daysAgo(45),
|
|
78
|
+
updatedAt: daysAgo(20),
|
|
79
|
+
},
|
|
80
|
+
{
|
|
81
|
+
id: generateOrderId(1, 40),
|
|
82
|
+
productId: "sublisting-blue-eyes-lob-1st-nm",
|
|
83
|
+
productTitle: "Blue-Eyes White Dragon — LOB 1st Edition (NM)",
|
|
84
|
+
userId: "user-yugi-muto",
|
|
85
|
+
userName: "Yugi Muto",
|
|
86
|
+
userEmail: "yugi@duelkingdom.in",
|
|
87
|
+
storeId: "store-kaiba-corp-cards",
|
|
88
|
+
quantity: 1,
|
|
89
|
+
unitPrice: 799900,
|
|
90
|
+
totalPrice: 799900,
|
|
91
|
+
currency: "INR",
|
|
92
|
+
status: "shipped",
|
|
93
|
+
paymentStatus: "paid",
|
|
94
|
+
paymentMethod: "online",
|
|
95
|
+
paymentId: "pay-yugi-kaiba-002",
|
|
96
|
+
shippingAddress: "addr-yugi-home",
|
|
97
|
+
trackingNumber: "JP-0002-KAIBA-SHIPPED",
|
|
98
|
+
shippingCarrier: "Japan Post",
|
|
99
|
+
shippingDate: daysAgo(8),
|
|
100
|
+
orderDate: daysAgo(40),
|
|
101
|
+
createdAt: daysAgo(40),
|
|
102
|
+
updatedAt: daysAgo(8),
|
|
237
103
|
},
|
|
238
|
-
// ── 7. CANCELLED (buyer-initiated pre-dispatch) ───────────────────────────
|
|
239
104
|
{
|
|
240
|
-
id:
|
|
241
|
-
productId: "product-
|
|
242
|
-
productTitle: "
|
|
243
|
-
userId: "user-
|
|
244
|
-
userName: "
|
|
245
|
-
userEmail: "
|
|
246
|
-
storeId: "store-
|
|
247
|
-
|
|
248
|
-
items: [
|
|
249
|
-
{
|
|
250
|
-
productId: "product-funko-pop-naruto-sage",
|
|
251
|
-
productTitle: "Funko Pop! Naruto Sage Mode #932",
|
|
252
|
-
quantity: 1,
|
|
253
|
-
unitPrice: 149900,
|
|
254
|
-
totalPrice: 149900,
|
|
255
|
-
},
|
|
256
|
-
],
|
|
257
|
-
quantity: 1,
|
|
105
|
+
id: generateOrderId(3, 35),
|
|
106
|
+
productId: "product-lob-booster-pack",
|
|
107
|
+
productTitle: "LOB Booster Pack",
|
|
108
|
+
userId: "user-yugi-muto",
|
|
109
|
+
userName: "Yugi Muto",
|
|
110
|
+
userEmail: "yugi@duelkingdom.in",
|
|
111
|
+
storeId: "store-kaiba-corp-cards",
|
|
112
|
+
quantity: 3,
|
|
258
113
|
unitPrice: 149900,
|
|
259
|
-
totalPrice:
|
|
260
|
-
currency: "INR",
|
|
261
|
-
status: OrderStatusValues.CANCELLED,
|
|
262
|
-
paymentStatus: PaymentStatusValues.REFUNDED,
|
|
263
|
-
paymentMethod: PaymentMethodValues.RAZORPAY,
|
|
264
|
-
paymentId: "pay_razorpay_007_demo",
|
|
265
|
-
shippingAddress: "7 Tonk Road, Jaipur, Rajasthan 302001",
|
|
266
|
-
shippingFee: 0,
|
|
267
|
-
platformFee: 0,
|
|
268
|
-
orderDate: daysAgo(15),
|
|
269
|
-
cancellationDate: daysAgo(14),
|
|
270
|
-
cancellationReason: "Changed mind — found the item locally",
|
|
271
|
-
refundAmount: 149900,
|
|
272
|
-
refundStatus: "completed",
|
|
273
|
-
refundNote: "Full refund issued — item was not yet dispatched",
|
|
274
|
-
payoutStatus: "eligible",
|
|
275
|
-
createdAt: daysAgo(15),
|
|
276
|
-
updatedAt: daysAgo(13),
|
|
277
|
-
},
|
|
278
|
-
// ── 8. REFUNDED (post-delivery dispute resolved) ──────────────────────────
|
|
279
|
-
{
|
|
280
|
-
id: "order-meera-008-hot-wheels-banana",
|
|
281
|
-
productId: "product-hot-wheels-redline-banana-1968",
|
|
282
|
-
productTitle: "Hot Wheels 1968 Redline Banana Camaro (Custom)",
|
|
283
|
-
userId: "user-meera-nair",
|
|
284
|
-
userName: "Meera Nair",
|
|
285
|
-
userEmail: "meera.nair@gmail.com",
|
|
286
|
-
storeId: "store-diecast-depot",
|
|
287
|
-
storeName: "Diecast Depot",
|
|
288
|
-
items: [
|
|
289
|
-
{
|
|
290
|
-
productId: "product-hot-wheels-redline-banana-1968",
|
|
291
|
-
productTitle: "Hot Wheels 1968 Redline Banana Camaro (Custom)",
|
|
292
|
-
quantity: 1,
|
|
293
|
-
unitPrice: 1299900,
|
|
294
|
-
totalPrice: 1299900,
|
|
295
|
-
},
|
|
296
|
-
],
|
|
297
|
-
quantity: 1,
|
|
298
|
-
unitPrice: 1299900,
|
|
299
|
-
totalPrice: 1299900,
|
|
114
|
+
totalPrice: 449700,
|
|
300
115
|
currency: "INR",
|
|
301
|
-
status:
|
|
302
|
-
paymentStatus:
|
|
303
|
-
paymentMethod:
|
|
304
|
-
paymentId: "
|
|
305
|
-
shippingAddress: "
|
|
306
|
-
trackingNumber: "DELHIVERY778899001",
|
|
307
|
-
shippingCarrier: "Delhivery",
|
|
308
|
-
shippingFee: 0,
|
|
309
|
-
platformFee: 0,
|
|
116
|
+
status: "processing",
|
|
117
|
+
paymentStatus: "paid",
|
|
118
|
+
paymentMethod: "cod",
|
|
119
|
+
paymentId: "pay-yugi-kaiba-003",
|
|
120
|
+
shippingAddress: "addr-yugi-home",
|
|
310
121
|
orderDate: daysAgo(35),
|
|
311
|
-
shippingDate: daysAgo(33),
|
|
312
|
-
deliveryDate: daysAgo(30),
|
|
313
|
-
refundAmount: 1299900,
|
|
314
|
-
refundStatus: "completed",
|
|
315
|
-
refundNote: "Car not Redline era — post-1977 baseplate found after delivery. Full refund issued after dispute mediation.",
|
|
316
|
-
// S-SBUNI-RULES 2026-05-13 — refund machinery fields
|
|
317
|
-
contestable: false,
|
|
318
|
-
refunds: [
|
|
319
|
-
{
|
|
320
|
-
refundId: "refund-order08-full-001",
|
|
321
|
-
type: "full",
|
|
322
|
-
amount: 1299900,
|
|
323
|
-
reason: "Item not as described — post-1977 baseplate found after delivery. Buyer provided photographic proof.",
|
|
324
|
-
refundedAt: daysAgo(25),
|
|
325
|
-
refundedBy: "user-admin-letitrip",
|
|
326
|
-
razorpayRefundId: "rfnd_mock_order08_001",
|
|
327
|
-
},
|
|
328
|
-
],
|
|
329
|
-
payoutStatus: "eligible",
|
|
330
122
|
createdAt: daysAgo(35),
|
|
331
|
-
updatedAt: daysAgo(25),
|
|
332
|
-
},
|
|
333
|
-
// ── 9. RETURN REQUESTED (under review) ───────────────────────────────────
|
|
334
|
-
{
|
|
335
|
-
id: "order-rahul-009-beyblade-burst",
|
|
336
|
-
productId: "product-beyblade-burst-b200-valkyrie",
|
|
337
|
-
productTitle: "Beyblade Burst B-200 Brave Valkyrie Evolution",
|
|
338
|
-
userId: "user-rahul-sharma",
|
|
339
|
-
userName: "Rahul Sharma",
|
|
340
|
-
userEmail: "rahul.sharma@gmail.com",
|
|
341
|
-
storeId: "store-beyblade-arena",
|
|
342
|
-
storeName: "Beyblade Arena",
|
|
343
|
-
items: [
|
|
344
|
-
{
|
|
345
|
-
productId: "product-beyblade-burst-b200-valkyrie",
|
|
346
|
-
productTitle: "Beyblade Burst B-200 Brave Valkyrie Evolution",
|
|
347
|
-
quantity: 1,
|
|
348
|
-
unitPrice: 249900,
|
|
349
|
-
totalPrice: 249900,
|
|
350
|
-
},
|
|
351
|
-
],
|
|
352
|
-
quantity: 1,
|
|
353
|
-
unitPrice: 249900,
|
|
354
|
-
totalPrice: 249900,
|
|
355
|
-
currency: "INR",
|
|
356
|
-
status: OrderStatusValues.RETURN_REQUESTED,
|
|
357
|
-
paymentStatus: PaymentStatusValues.PAID,
|
|
358
|
-
paymentMethod: PaymentMethodValues.UPI_MANUAL,
|
|
359
|
-
shippingAddress: "204 Koramangala 5th Block, Bengaluru, Karnataka 560095",
|
|
360
|
-
trackingNumber: "SHR112233445",
|
|
361
|
-
shippingCarrier: "Shiprocket",
|
|
362
|
-
shippingFee: 0,
|
|
363
|
-
platformFee: 12495,
|
|
364
|
-
orderDate: daysAgo(10),
|
|
365
|
-
shippingDate: daysAgo(8),
|
|
366
|
-
deliveryDate: daysAgo(5),
|
|
367
|
-
notes: "Buyer reports Beyblade passport QR doesn't scan — suspects bootleg despite listing claiming official Takara Tomy. Dispute under investigation.",
|
|
368
|
-
payoutStatus: "eligible",
|
|
369
|
-
createdAt: daysAgo(10),
|
|
370
123
|
updatedAt: daysAgo(2),
|
|
371
124
|
},
|
|
372
|
-
// ── 10. DELIVERED with coupon ─────────────────────────────────────────────
|
|
373
125
|
{
|
|
374
|
-
id:
|
|
375
|
-
productId: "
|
|
376
|
-
productTitle: "
|
|
377
|
-
userId: "user-
|
|
378
|
-
userName: "
|
|
379
|
-
userEmail: "
|
|
380
|
-
storeId: "store-
|
|
381
|
-
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
|
|
385
|
-
|
|
386
|
-
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
|
|
390
|
-
|
|
391
|
-
|
|
392
|
-
unitPrice: 699900,
|
|
393
|
-
totalPrice: 649900,
|
|
394
|
-
currency: "INR",
|
|
395
|
-
status: OrderStatusValues.DELIVERED,
|
|
396
|
-
paymentStatus: PaymentStatusValues.PAID,
|
|
397
|
-
paymentMethod: PaymentMethodValues.RAZORPAY,
|
|
398
|
-
paymentId: "pay_razorpay_010_demo",
|
|
399
|
-
couponCode: "WELCOME10",
|
|
400
|
-
couponDiscount: 50000,
|
|
401
|
-
appliedDiscounts: [
|
|
402
|
-
{
|
|
403
|
-
code: "WELCOME10",
|
|
404
|
-
couponId: "coupon-welcome10",
|
|
405
|
-
type: "coupon",
|
|
406
|
-
discountAmount: 50000,
|
|
407
|
-
scope: "admin",
|
|
408
|
-
},
|
|
409
|
-
],
|
|
410
|
-
shippingAddress: "12 Satellite Road, Ahmedabad, Gujarat 380015",
|
|
411
|
-
trackingNumber: "DTDC556677889",
|
|
412
|
-
shippingCarrier: "DTDC",
|
|
413
|
-
shippingFee: 0,
|
|
414
|
-
platformFee: 32495,
|
|
415
|
-
orderDate: daysAgo(18),
|
|
416
|
-
shippingDate: daysAgo(16),
|
|
417
|
-
deliveryDate: daysAgo(13),
|
|
418
|
-
payoutStatus: "paid",
|
|
419
|
-
createdAt: daysAgo(18),
|
|
420
|
-
updatedAt: daysAgo(13),
|
|
421
|
-
},
|
|
422
|
-
// ── 11. DELIVERED — Anjali / Pokemon 151 ETB ─────────────────────────────
|
|
423
|
-
{
|
|
424
|
-
id: "order-anjali-011-151-etb",
|
|
425
|
-
productId: "product-pokemon-151-etb",
|
|
426
|
-
productTitle: "Pokémon TCG: Scarlet & Violet — 151 Elite Trainer Box",
|
|
427
|
-
userId: "user-anjali-verma",
|
|
428
|
-
userName: "Anjali Verma",
|
|
429
|
-
userEmail: "anjali.verma@gmail.com",
|
|
430
|
-
storeId: "store-pokemon-palace",
|
|
431
|
-
storeName: "Pokémon Palace",
|
|
432
|
-
items: [{ productId: "product-pokemon-151-etb", productTitle: "Pokémon TCG: SV 151 ETB", quantity: 1, unitPrice: 549900, totalPrice: 549900 }],
|
|
433
|
-
quantity: 1,
|
|
434
|
-
unitPrice: 549900,
|
|
435
|
-
totalPrice: 549900,
|
|
436
|
-
currency: "INR",
|
|
437
|
-
status: OrderStatusValues.DELIVERED,
|
|
438
|
-
paymentStatus: PaymentStatusValues.PAID,
|
|
439
|
-
paymentMethod: PaymentMethodValues.RAZORPAY,
|
|
440
|
-
paymentId: "pay_razorpay_011_demo",
|
|
441
|
-
shippingAddress: "45 Janakpuri, New Delhi 110058",
|
|
442
|
-
trackingNumber: "BLUE112233445",
|
|
443
|
-
shippingCarrier: "Bluedart",
|
|
444
|
-
shippingFee: 0,
|
|
445
|
-
platformFee: 27495,
|
|
446
|
-
orderDate: daysAgo(35),
|
|
447
|
-
shippingDate: daysAgo(33),
|
|
448
|
-
deliveryDate: daysAgo(30),
|
|
449
|
-
payoutStatus: "paid",
|
|
450
|
-
createdAt: daysAgo(35),
|
|
126
|
+
id: generateOrderId(1, 30),
|
|
127
|
+
productId: "sublisting-pot-of-greed-lob-1st",
|
|
128
|
+
productTitle: "Pot of Greed — LOB 1st Edition (NM)",
|
|
129
|
+
userId: "user-yugi-muto",
|
|
130
|
+
userName: "Yugi Muto",
|
|
131
|
+
userEmail: "yugi@duelkingdom.in",
|
|
132
|
+
storeId: "store-kaiba-corp-cards",
|
|
133
|
+
quantity: 1,
|
|
134
|
+
unitPrice: 1499900,
|
|
135
|
+
totalPrice: 1499900,
|
|
136
|
+
currency: "INR",
|
|
137
|
+
status: "pending",
|
|
138
|
+
paymentStatus: "pending",
|
|
139
|
+
paymentMethod: "online",
|
|
140
|
+
paymentId: "pay-yugi-kaiba-004",
|
|
141
|
+
shippingAddress: "addr-yugi-home",
|
|
142
|
+
orderDate: daysAgo(30),
|
|
143
|
+
createdAt: daysAgo(30),
|
|
451
144
|
updatedAt: daysAgo(30),
|
|
452
145
|
},
|
|
453
|
-
//
|
|
146
|
+
// ────────────────────────────────────────────────────────────────────────────
|
|
147
|
+
// Yugi buying from LetItRip Official
|
|
148
|
+
// ────────────────────────────────────────────────────────────────────────────
|
|
454
149
|
{
|
|
455
|
-
id:
|
|
456
|
-
productId: "product-
|
|
457
|
-
productTitle: "
|
|
458
|
-
userId: "user-
|
|
459
|
-
userName: "
|
|
460
|
-
userEmail: "
|
|
461
|
-
storeId: "store-cardgame-hub",
|
|
462
|
-
storeName: "CardGame Hub",
|
|
463
|
-
items: [{ productId: "product-onepiece-op06-booster-box", productTitle: "OP-06 Wings of the Captain Booster Box", quantity: 1, unitPrice: 549900, totalPrice: 549900 }],
|
|
464
|
-
quantity: 1,
|
|
465
|
-
unitPrice: 549900,
|
|
466
|
-
totalPrice: 549900,
|
|
467
|
-
currency: "INR",
|
|
468
|
-
status: OrderStatusValues.DELIVERED,
|
|
469
|
-
paymentStatus: PaymentStatusValues.PAID,
|
|
470
|
-
paymentMethod: PaymentMethodValues.UPI_MANUAL,
|
|
471
|
-
shippingAddress: "67 Dwarka Sector 10, New Delhi 110075",
|
|
472
|
-
trackingNumber: "EKART778899001",
|
|
473
|
-
shippingCarrier: "Ekart",
|
|
474
|
-
shippingFee: 4900,
|
|
475
|
-
platformFee: 27495,
|
|
476
|
-
orderDate: daysAgo(32),
|
|
477
|
-
shippingDate: daysAgo(30),
|
|
478
|
-
deliveryDate: daysAgo(27),
|
|
479
|
-
payoutStatus: "paid",
|
|
480
|
-
createdAt: daysAgo(32),
|
|
481
|
-
updatedAt: daysAgo(27),
|
|
482
|
-
},
|
|
483
|
-
// ── 13. DELIVERED — Pooja / Alter Rem Wedding ─────────────────────────────
|
|
484
|
-
{
|
|
485
|
-
id: "order-pooja-013-alter-rem",
|
|
486
|
-
productId: "product-alter-rem-wedding-scale",
|
|
487
|
-
productTitle: "ALTER: Re:ZERO — Rem (Wedding Ver.) 1/7 Scale Figure",
|
|
488
|
-
userId: "user-pooja-sharma",
|
|
489
|
-
userName: "Pooja Sharma",
|
|
490
|
-
userEmail: "pooja.sharma@gmail.com",
|
|
491
|
-
storeId: "store-tokyo-toys-india",
|
|
492
|
-
storeName: "Tokyo Toys India",
|
|
493
|
-
items: [{ productId: "product-alter-rem-wedding-scale", productTitle: "ALTER Rem Wedding Ver. 1/7", quantity: 1, unitPrice: 1299900, totalPrice: 1299900 }],
|
|
494
|
-
quantity: 1,
|
|
495
|
-
unitPrice: 1299900,
|
|
496
|
-
totalPrice: 1299900,
|
|
497
|
-
currency: "INR",
|
|
498
|
-
status: OrderStatusValues.DELIVERED,
|
|
499
|
-
paymentStatus: PaymentStatusValues.PAID,
|
|
500
|
-
paymentMethod: PaymentMethodValues.RAZORPAY,
|
|
501
|
-
paymentId: "pay_razorpay_013_demo",
|
|
502
|
-
shippingAddress: "202 Bandra West, Mumbai, Maharashtra 400050",
|
|
503
|
-
trackingNumber: "SHPR334455667",
|
|
504
|
-
shippingCarrier: "Shiprocket",
|
|
505
|
-
shippingFee: 0,
|
|
506
|
-
platformFee: 64995,
|
|
507
|
-
orderDate: daysAgo(40),
|
|
508
|
-
shippingDate: daysAgo(38),
|
|
509
|
-
deliveryDate: daysAgo(34),
|
|
510
|
-
payoutStatus: "paid",
|
|
511
|
-
createdAt: daysAgo(40),
|
|
512
|
-
updatedAt: daysAgo(34),
|
|
513
|
-
},
|
|
514
|
-
// ── 14. DELIVERED — Kiran / PG Unleashed RX-78-2 ─────────────────────────
|
|
515
|
-
{
|
|
516
|
-
id: "order-kiran-014-pg-rx78",
|
|
517
|
-
productId: "product-pg-unleashed-rx78-2",
|
|
518
|
-
productTitle: "Bandai PG Unleashed 1/60: RX-78-2 Gundam",
|
|
519
|
-
userId: "user-kiran-reddy",
|
|
520
|
-
userName: "Kiran Reddy",
|
|
521
|
-
userEmail: "kiran.reddy@gmail.com",
|
|
522
|
-
storeId: "store-gundam-galaxy",
|
|
523
|
-
storeName: "Gundam Galaxy",
|
|
524
|
-
items: [{ productId: "product-pg-unleashed-rx78-2", productTitle: "PG Unleashed RX-78-2 Gundam", quantity: 1, unitPrice: 2499900, totalPrice: 2499900 }],
|
|
525
|
-
quantity: 1,
|
|
526
|
-
unitPrice: 2499900,
|
|
527
|
-
totalPrice: 2499900,
|
|
528
|
-
currency: "INR",
|
|
529
|
-
status: OrderStatusValues.DELIVERED,
|
|
530
|
-
paymentStatus: PaymentStatusValues.PAID,
|
|
531
|
-
paymentMethod: PaymentMethodValues.RAZORPAY,
|
|
532
|
-
paymentId: "pay_razorpay_014_demo",
|
|
533
|
-
shippingAddress: "18 Kondapur, Hyderabad, Telangana 500084",
|
|
534
|
-
trackingNumber: "BLUE889900112",
|
|
535
|
-
shippingCarrier: "Bluedart",
|
|
536
|
-
shippingFee: 0,
|
|
537
|
-
platformFee: 124995,
|
|
538
|
-
orderDate: daysAgo(45),
|
|
539
|
-
shippingDate: daysAgo(43),
|
|
540
|
-
deliveryDate: daysAgo(39),
|
|
541
|
-
payoutStatus: "paid",
|
|
542
|
-
createdAt: daysAgo(45),
|
|
543
|
-
updatedAt: daysAgo(39),
|
|
544
|
-
},
|
|
545
|
-
// ── 15. DELIVERED — Naman / Surging Sparks Booster Box ───────────────────
|
|
546
|
-
{
|
|
547
|
-
id: "order-naman-015-surging-sparks",
|
|
548
|
-
productId: "product-pokemon-surging-sparks-booster",
|
|
549
|
-
productTitle: "Pokémon TCG: Surging Sparks Booster Box (36 Packs)",
|
|
550
|
-
userId: "user-naman-gupta",
|
|
551
|
-
userName: "Naman Gupta",
|
|
552
|
-
userEmail: "naman.gupta@gmail.com",
|
|
553
|
-
storeId: "store-pokemon-palace",
|
|
554
|
-
storeName: "Pokémon Palace",
|
|
555
|
-
items: [{ productId: "product-pokemon-surging-sparks-booster", productTitle: "Surging Sparks Booster Box 36-pack", quantity: 1, unitPrice: 1299900, totalPrice: 1299900 }],
|
|
556
|
-
quantity: 1,
|
|
557
|
-
unitPrice: 1299900,
|
|
558
|
-
totalPrice: 1299900,
|
|
559
|
-
currency: "INR",
|
|
560
|
-
status: OrderStatusValues.DELIVERED,
|
|
561
|
-
paymentStatus: PaymentStatusValues.PAID,
|
|
562
|
-
paymentMethod: PaymentMethodValues.RAZORPAY,
|
|
563
|
-
paymentId: "pay_razorpay_015_demo",
|
|
564
|
-
shippingAddress: "44 Sector 17, Chandigarh 160017",
|
|
565
|
-
trackingNumber: "DTDC223344556",
|
|
566
|
-
shippingCarrier: "DTDC",
|
|
567
|
-
shippingFee: 0,
|
|
568
|
-
platformFee: 64995,
|
|
569
|
-
orderDate: daysAgo(38),
|
|
570
|
-
shippingDate: daysAgo(36),
|
|
571
|
-
deliveryDate: daysAgo(33),
|
|
572
|
-
payoutStatus: "paid",
|
|
573
|
-
createdAt: daysAgo(38),
|
|
574
|
-
updatedAt: daysAgo(33),
|
|
575
|
-
},
|
|
576
|
-
// ── 16. SHIPPED — Preeti / BX-01 Dran Sword ──────────────────────────────
|
|
577
|
-
{
|
|
578
|
-
id: "order-preeti-016-dran-sword",
|
|
579
|
-
productId: "product-beyblade-x-bx01-dran-sword-starter-pack",
|
|
580
|
-
productTitle: "Beyblade X: BX-01 Dran Sword 3-60F — Starter Pack",
|
|
581
|
-
userId: "user-preeti-joshi",
|
|
582
|
-
userName: "Preeti Joshi",
|
|
583
|
-
userEmail: "preeti.joshi@gmail.com",
|
|
584
|
-
storeId: "store-beyblade-arena",
|
|
585
|
-
storeName: "Beyblade Arena",
|
|
586
|
-
items: [{ productId: "product-beyblade-x-bx01-dran-sword-starter-pack", productTitle: "BX-01 Dran Sword Starter Pack", quantity: 2, unitPrice: 159900, totalPrice: 319800 }],
|
|
587
|
-
quantity: 2,
|
|
588
|
-
unitPrice: 159900,
|
|
589
|
-
totalPrice: 319800,
|
|
590
|
-
currency: "INR",
|
|
591
|
-
status: OrderStatusValues.SHIPPED,
|
|
592
|
-
paymentStatus: PaymentStatusValues.PAID,
|
|
593
|
-
paymentMethod: PaymentMethodValues.UPI_MANUAL,
|
|
594
|
-
shippingAddress: "7 MP Nagar Zone 2, Bhopal, Madhya Pradesh 462011",
|
|
595
|
-
trackingNumber: "EKART556677890",
|
|
596
|
-
shippingCarrier: "Ekart",
|
|
597
|
-
shippingFee: 4900,
|
|
598
|
-
platformFee: 15990,
|
|
599
|
-
orderDate: daysAgo(5),
|
|
600
|
-
shippingDate: daysAgo(3),
|
|
601
|
-
payoutStatus: "eligible",
|
|
602
|
-
createdAt: daysAgo(5),
|
|
603
|
-
updatedAt: daysAgo(3),
|
|
604
|
-
},
|
|
605
|
-
// ── 17. SHIPPED — Varun / figma Makima ───────────────────────────────────
|
|
606
|
-
{
|
|
607
|
-
id: "order-varun-017-figma-makima",
|
|
608
|
-
productId: "product-figma-makima-chainsaw-man",
|
|
609
|
-
productTitle: "figma: Chainsaw Man — Makima",
|
|
610
|
-
userId: "user-varun-bhat",
|
|
611
|
-
userName: "Varun Bhat",
|
|
612
|
-
userEmail: "varun.bhat@gmail.com",
|
|
613
|
-
storeId: "store-tokyo-toys-india",
|
|
614
|
-
storeName: "Tokyo Toys India",
|
|
615
|
-
items: [{ productId: "product-figma-makima-chainsaw-man", productTitle: "figma Makima (Chainsaw Man)", quantity: 1, unitPrice: 679900, totalPrice: 679900 }],
|
|
616
|
-
quantity: 1,
|
|
617
|
-
unitPrice: 679900,
|
|
618
|
-
totalPrice: 679900,
|
|
619
|
-
currency: "INR",
|
|
620
|
-
status: OrderStatusValues.SHIPPED,
|
|
621
|
-
paymentStatus: PaymentStatusValues.PAID,
|
|
622
|
-
paymentMethod: PaymentMethodValues.RAZORPAY,
|
|
623
|
-
paymentId: "pay_razorpay_017_demo",
|
|
624
|
-
shippingAddress: "3 Light House Hill, Mangalore, Karnataka 575001",
|
|
625
|
-
trackingNumber: "SHPR667788901",
|
|
626
|
-
shippingCarrier: "Shiprocket",
|
|
627
|
-
shippingFee: 4900,
|
|
628
|
-
platformFee: 33995,
|
|
629
|
-
orderDate: daysAgo(4),
|
|
630
|
-
shippingDate: daysAgo(2),
|
|
631
|
-
payoutStatus: "eligible",
|
|
632
|
-
createdAt: daysAgo(4),
|
|
633
|
-
updatedAt: daysAgo(2),
|
|
634
|
-
},
|
|
635
|
-
// ── 18. SHIPPED — Rahul / Charizard ex SAR ───────────────────────────────
|
|
636
|
-
{
|
|
637
|
-
id: "order-rahul-018-charizard-sar",
|
|
638
|
-
productId: "product-pokemon-charizard-ex-sar-sv",
|
|
639
|
-
productTitle: "Pokémon TCG: Charizard ex — Special Illustration Rare (SV3)",
|
|
640
|
-
userId: "user-rahul-sharma",
|
|
641
|
-
userName: "Rahul Sharma",
|
|
642
|
-
userEmail: "rahul.sharma@gmail.com",
|
|
643
|
-
storeId: "store-pokemon-palace",
|
|
644
|
-
storeName: "Pokémon Palace",
|
|
645
|
-
items: [{ productId: "product-pokemon-charizard-ex-sar-sv", productTitle: "Charizard ex SIR (Obsidian Flames)", quantity: 1, unitPrice: 349900, totalPrice: 349900 }],
|
|
646
|
-
quantity: 1,
|
|
647
|
-
unitPrice: 349900,
|
|
648
|
-
totalPrice: 349900,
|
|
649
|
-
currency: "INR",
|
|
650
|
-
status: OrderStatusValues.SHIPPED,
|
|
651
|
-
paymentStatus: PaymentStatusValues.PAID,
|
|
652
|
-
paymentMethod: PaymentMethodValues.RAZORPAY,
|
|
653
|
-
paymentId: "pay_razorpay_018_demo",
|
|
654
|
-
shippingAddress: "204 Koramangala 5th Block, Bengaluru, Karnataka 560095",
|
|
655
|
-
trackingNumber: "BLUE445566778",
|
|
656
|
-
shippingCarrier: "Bluedart",
|
|
657
|
-
shippingFee: 0,
|
|
658
|
-
platformFee: 17495,
|
|
659
|
-
orderDate: daysAgo(3),
|
|
660
|
-
shippingDate: daysAgo(1),
|
|
661
|
-
payoutStatus: "eligible",
|
|
662
|
-
createdAt: daysAgo(3),
|
|
663
|
-
updatedAt: daysAgo(1),
|
|
664
|
-
},
|
|
665
|
-
// ── 19. PROCESSING — Priya / MG Nu Gundam Ver Ka ─────────────────────────
|
|
666
|
-
{
|
|
667
|
-
id: "order-priya-019-mg-nu-gundam",
|
|
668
|
-
productId: "product-mg-nu-gundam-ver-ka",
|
|
669
|
-
productTitle: "Bandai MG 1/100: RX-93 Nu Gundam (Ver. Ka)",
|
|
670
|
-
userId: "user-priya-patel",
|
|
671
|
-
userName: "Priya Patel",
|
|
672
|
-
userEmail: "priya.patel@gmail.com",
|
|
673
|
-
storeId: "store-gundam-galaxy",
|
|
674
|
-
storeName: "Gundam Galaxy",
|
|
675
|
-
items: [{ productId: "product-mg-nu-gundam-ver-ka", productTitle: "MG Nu Gundam Ver. Ka 1/100", quantity: 1, unitPrice: 749900, totalPrice: 749900 }],
|
|
676
|
-
quantity: 1,
|
|
677
|
-
unitPrice: 749900,
|
|
678
|
-
totalPrice: 749900,
|
|
679
|
-
currency: "INR",
|
|
680
|
-
status: OrderStatusValues.PROCESSING,
|
|
681
|
-
paymentStatus: PaymentStatusValues.PAID,
|
|
682
|
-
paymentMethod: PaymentMethodValues.RAZORPAY,
|
|
683
|
-
paymentId: "pay_razorpay_019_demo",
|
|
684
|
-
shippingAddress: "12 Satellite Road, Ahmedabad, Gujarat 380015",
|
|
685
|
-
shippingFee: 0,
|
|
686
|
-
platformFee: 37495,
|
|
687
|
-
orderDate: daysAgo(2),
|
|
688
|
-
payoutStatus: "eligible",
|
|
689
|
-
createdAt: daysAgo(2),
|
|
690
|
-
updatedAt: daysAgo(1),
|
|
691
|
-
},
|
|
692
|
-
// ── 20. PROCESSING — Arjun / MAFEX Miles Morales ─────────────────────────
|
|
693
|
-
{
|
|
694
|
-
id: "order-arjun-020-mafex-miles",
|
|
695
|
-
productId: "product-mafex-miles-morales-spiderman",
|
|
696
|
-
productTitle: "MAFEX No.240: Miles Morales Spider-Man",
|
|
697
|
-
userId: "user-arjun-singh",
|
|
698
|
-
userName: "Arjun Singh",
|
|
699
|
-
userEmail: "arjun.singh@gmail.com",
|
|
150
|
+
id: generateOrderId(1, 28),
|
|
151
|
+
productId: "product-duelist-kingdom-playmat",
|
|
152
|
+
productTitle: "Duelist Kingdom Playmat",
|
|
153
|
+
userId: "user-yugi-muto",
|
|
154
|
+
userName: "Yugi Muto",
|
|
155
|
+
userEmail: "yugi@duelkingdom.in",
|
|
700
156
|
storeId: "store-letitrip-official",
|
|
701
|
-
storeName: "LetItRip Official",
|
|
702
|
-
items: [{ productId: "product-mafex-miles-morales-spiderman", productTitle: "MAFEX Miles Morales #240", quantity: 1, unitPrice: 849900, totalPrice: 849900 }],
|
|
703
|
-
quantity: 1,
|
|
704
|
-
unitPrice: 849900,
|
|
705
|
-
totalPrice: 849900,
|
|
706
|
-
currency: "INR",
|
|
707
|
-
status: OrderStatusValues.PROCESSING,
|
|
708
|
-
paymentStatus: PaymentStatusValues.PAID,
|
|
709
|
-
paymentMethod: PaymentMethodValues.UPI_MANUAL,
|
|
710
|
-
shippingAddress: "78 Indiranagar 100 Ft Road, Bengaluru 560038",
|
|
711
|
-
shippingFee: 0,
|
|
712
|
-
platformFee: 42495,
|
|
713
|
-
orderDate: daysAgo(1),
|
|
714
|
-
payoutStatus: "eligible",
|
|
715
|
-
createdAt: daysAgo(1),
|
|
716
|
-
updatedAt: daysAgo(1),
|
|
717
|
-
},
|
|
718
|
-
// ── 21. PROCESSING — Neha / Blue-Eyes LOB NM ─────────────────────────────
|
|
719
|
-
{
|
|
720
|
-
id: "order-neha-021-blue-eyes-lob",
|
|
721
|
-
productId: "product-yugioh-blue-eyes-lob-nm",
|
|
722
|
-
productTitle: "Yu-Gi-Oh! Blue-Eyes White Dragon — LOB 1st Edition (NM)",
|
|
723
|
-
userId: "user-neha-gupta",
|
|
724
|
-
userName: "Neha Gupta",
|
|
725
|
-
userEmail: "neha.gupta@gmail.com",
|
|
726
|
-
storeId: "store-cardgame-hub",
|
|
727
|
-
storeName: "CardGame Hub",
|
|
728
|
-
items: [{ productId: "product-yugioh-blue-eyes-lob-nm", productTitle: "BEWD LOB 1st Edition NM", quantity: 1, unitPrice: 299900, totalPrice: 299900 }],
|
|
729
|
-
quantity: 1,
|
|
730
|
-
unitPrice: 299900,
|
|
731
|
-
totalPrice: 299900,
|
|
732
|
-
currency: "INR",
|
|
733
|
-
status: OrderStatusValues.PROCESSING,
|
|
734
|
-
paymentStatus: PaymentStatusValues.PAID,
|
|
735
|
-
paymentMethod: PaymentMethodValues.RAZORPAY,
|
|
736
|
-
paymentId: "pay_razorpay_021_demo",
|
|
737
|
-
shippingAddress: "33 Lajpat Nagar 4, New Delhi 110024",
|
|
738
|
-
shippingFee: 0,
|
|
739
|
-
platformFee: 14995,
|
|
740
|
-
orderDate: daysAgo(1),
|
|
741
|
-
payoutStatus: "eligible",
|
|
742
|
-
createdAt: daysAgo(1),
|
|
743
|
-
updatedAt: daysAgo(1),
|
|
744
|
-
},
|
|
745
|
-
// ── 22. PENDING — Vikram / Corgi DB5 Bond ────────────────────────────────
|
|
746
|
-
{
|
|
747
|
-
id: "order-vikram-022-corgi-db5",
|
|
748
|
-
productId: "product-corgi-aston-martin-db5",
|
|
749
|
-
productTitle: "Corgi: Aston Martin DB5 — James Bond 007 Edition",
|
|
750
|
-
userId: "user-vikram-rao",
|
|
751
|
-
userName: "Vikram Rao",
|
|
752
|
-
userEmail: "vikram.rao@gmail.com",
|
|
753
|
-
storeId: "store-diecast-depot",
|
|
754
|
-
storeName: "Diecast Depot",
|
|
755
|
-
items: [{ productId: "product-corgi-aston-martin-db5", productTitle: "Corgi Aston Martin DB5 Bond 007", quantity: 1, unitPrice: 299900, totalPrice: 299900 }],
|
|
756
157
|
quantity: 1,
|
|
757
|
-
unitPrice:
|
|
758
|
-
totalPrice:
|
|
759
|
-
currency: "INR",
|
|
760
|
-
status: OrderStatusValues.PENDING,
|
|
761
|
-
paymentStatus: PaymentStatusValues.PENDING,
|
|
762
|
-
paymentMethod: PaymentMethodValues.RAZORPAY,
|
|
763
|
-
shippingAddress: "55 Jubilee Hills Road 10, Hyderabad 500033",
|
|
764
|
-
shippingFee: 4900,
|
|
765
|
-
platformFee: 14995,
|
|
766
|
-
orderDate: daysAgo(0),
|
|
767
|
-
payoutStatus: "eligible",
|
|
768
|
-
createdAt: daysAgo(0),
|
|
769
|
-
updatedAt: daysAgo(0),
|
|
770
|
-
},
|
|
771
|
-
// ── 23. PENDING — Ananya / HG Aerial Rebuild ─────────────────────────────
|
|
772
|
-
{
|
|
773
|
-
id: "order-ananya-023-hg-aerial",
|
|
774
|
-
productId: "product-hg-aerial-rebuild-gundam",
|
|
775
|
-
productTitle: "Bandai HG 1/144: Gundam Aerial Rebuild",
|
|
776
|
-
userId: "user-ananya-krishna",
|
|
777
|
-
userName: "Ananya Krishna",
|
|
778
|
-
userEmail: "ananya.krishna@gmail.com",
|
|
779
|
-
storeId: "store-gundam-galaxy",
|
|
780
|
-
storeName: "Gundam Galaxy",
|
|
781
|
-
items: [
|
|
782
|
-
{ productId: "product-hg-aerial-rebuild-gundam", productTitle: "HG Aerial Rebuild", quantity: 1, unitPrice: 249900, totalPrice: 249900 },
|
|
783
|
-
{ productId: "product-hg-calibarn-witch-mercury", productTitle: "HG Calibarn", quantity: 1, unitPrice: 279900, totalPrice: 279900 },
|
|
784
|
-
],
|
|
785
|
-
quantity: 2,
|
|
786
|
-
unitPrice: 264900,
|
|
787
|
-
totalPrice: 529800,
|
|
788
|
-
currency: "INR",
|
|
789
|
-
status: OrderStatusValues.PENDING,
|
|
790
|
-
paymentStatus: PaymentStatusValues.PENDING,
|
|
791
|
-
paymentMethod: PaymentMethodValues.UPI_MANUAL,
|
|
792
|
-
shippingAddress: "9 Koramangala 3rd Block, Bengaluru 560034",
|
|
793
|
-
shippingFee: 0,
|
|
794
|
-
platformFee: 26490,
|
|
795
|
-
orderDate: daysAgo(0),
|
|
796
|
-
payoutStatus: "eligible",
|
|
797
|
-
createdAt: daysAgo(0),
|
|
798
|
-
updatedAt: daysAgo(0),
|
|
799
|
-
},
|
|
800
|
-
// ── 24. RETURN_REQUESTED — Siddharth / Nendoroid Zero Two ────────────────
|
|
801
|
-
{
|
|
802
|
-
id: "order-siddharth-024-nendo-zero-two",
|
|
803
|
-
productId: "product-nendoroid-zero-two-darling",
|
|
804
|
-
productTitle: "Nendoroid: DARLING in the FRANXX — Zero Two #952",
|
|
805
|
-
userId: "user-siddharth-mehta",
|
|
806
|
-
userName: "Siddharth Mehta",
|
|
807
|
-
userEmail: "siddharth.mehta@gmail.com",
|
|
808
|
-
storeId: "store-tokyo-toys-india",
|
|
809
|
-
storeName: "Tokyo Toys India",
|
|
810
|
-
items: [{ productId: "product-nendoroid-zero-two-darling", productTitle: "Nendoroid Zero Two #952", quantity: 1, unitPrice: 479900, totalPrice: 479900 }],
|
|
811
|
-
quantity: 1,
|
|
812
|
-
unitPrice: 479900,
|
|
813
|
-
totalPrice: 479900,
|
|
814
|
-
currency: "INR",
|
|
815
|
-
status: OrderStatusValues.RETURN_REQUESTED,
|
|
816
|
-
paymentStatus: PaymentStatusValues.PAID,
|
|
817
|
-
paymentMethod: PaymentMethodValues.RAZORPAY,
|
|
818
|
-
paymentId: "pay_razorpay_024_demo",
|
|
819
|
-
shippingAddress: "14 Powai Lake Road, Mumbai 400076",
|
|
820
|
-
trackingNumber: "EKART990011223",
|
|
821
|
-
shippingCarrier: "Ekart",
|
|
822
|
-
shippingFee: 0,
|
|
823
|
-
platformFee: 23995,
|
|
824
|
-
orderDate: daysAgo(20),
|
|
825
|
-
shippingDate: daysAgo(18),
|
|
826
|
-
deliveryDate: daysAgo(15),
|
|
827
|
-
payoutStatus: "eligible",
|
|
828
|
-
createdAt: daysAgo(20),
|
|
829
|
-
updatedAt: daysAgo(8),
|
|
830
|
-
},
|
|
831
|
-
// ── 25. CANCELLED — Kavya / RLC Porsche 918 ──────────────────────────────
|
|
832
|
-
{
|
|
833
|
-
id: "order-kavya-025-rlc-porsche",
|
|
834
|
-
productId: "product-hot-wheels-rlc-porsche-918",
|
|
835
|
-
productTitle: "Hot Wheels RLC Exclusive: Porsche 918 Spyder — Spectraflame White",
|
|
836
|
-
userId: "user-kavya-nair",
|
|
837
|
-
userName: "Kavya Nair",
|
|
838
|
-
userEmail: "kavya.nair@gmail.com",
|
|
839
|
-
storeId: "store-diecast-depot",
|
|
840
|
-
storeName: "Diecast Depot",
|
|
841
|
-
items: [{ productId: "product-hot-wheels-rlc-porsche-918", productTitle: "HW RLC Porsche 918 Spectraflame White", quantity: 1, unitPrice: 349900, totalPrice: 349900 }],
|
|
842
|
-
quantity: 1,
|
|
843
|
-
unitPrice: 349900,
|
|
844
|
-
totalPrice: 349900,
|
|
845
|
-
currency: "INR",
|
|
846
|
-
status: OrderStatusValues.CANCELLED,
|
|
847
|
-
paymentStatus: PaymentStatusValues.REFUNDED,
|
|
848
|
-
paymentMethod: PaymentMethodValues.RAZORPAY,
|
|
849
|
-
paymentId: "pay_razorpay_025_demo",
|
|
850
|
-
shippingAddress: "22 MG Road, Ernakulam, Kerala 682016",
|
|
851
|
-
shippingFee: 0,
|
|
852
|
-
platformFee: 0,
|
|
853
|
-
orderDate: daysAgo(12),
|
|
854
|
-
payoutStatus: "eligible",
|
|
855
|
-
createdAt: daysAgo(12),
|
|
856
|
-
updatedAt: daysAgo(11),
|
|
857
|
-
},
|
|
858
|
-
// ── 26. CANCELLED — Rohan / MTG Duskmourn Box ────────────────────────────
|
|
859
|
-
{
|
|
860
|
-
id: "order-rohan-026-mtg-duskmourn",
|
|
861
|
-
productId: "product-mtg-duskmourn-booster-box",
|
|
862
|
-
productTitle: "Magic: The Gathering — Duskmourn: House of Horror Play Booster Box",
|
|
863
|
-
userId: "user-rohan-joshi",
|
|
864
|
-
userName: "Rohan Joshi",
|
|
865
|
-
userEmail: "rohan.joshi@gmail.com",
|
|
866
|
-
storeId: "store-cardgame-hub",
|
|
867
|
-
storeName: "CardGame Hub",
|
|
868
|
-
items: [{ productId: "product-mtg-duskmourn-booster-box", productTitle: "MTG Duskmourn Play Booster Box", quantity: 1, unitPrice: 599900, totalPrice: 599900 }],
|
|
869
|
-
quantity: 1,
|
|
870
|
-
unitPrice: 599900,
|
|
871
|
-
totalPrice: 599900,
|
|
158
|
+
unitPrice: 129900,
|
|
159
|
+
totalPrice: 129900,
|
|
872
160
|
currency: "INR",
|
|
873
|
-
status:
|
|
874
|
-
paymentStatus:
|
|
875
|
-
paymentMethod:
|
|
876
|
-
|
|
877
|
-
|
|
878
|
-
|
|
879
|
-
|
|
880
|
-
|
|
881
|
-
|
|
161
|
+
status: "delivered",
|
|
162
|
+
paymentStatus: "paid",
|
|
163
|
+
paymentMethod: "online",
|
|
164
|
+
paymentId: "pay-yugi-admin-001",
|
|
165
|
+
shippingAddress: "addr-yugi-home",
|
|
166
|
+
trackingNumber: "IN-0001-ADMIN-DELIVERED",
|
|
167
|
+
shippingCarrier: "India Post",
|
|
168
|
+
shippingDate: daysAgo(15),
|
|
169
|
+
deliveryDate: daysAgo(8),
|
|
170
|
+
orderDate: daysAgo(28),
|
|
171
|
+
createdAt: daysAgo(28),
|
|
882
172
|
updatedAt: daysAgo(8),
|
|
883
173
|
},
|
|
884
|
-
//
|
|
174
|
+
// ────────────────────────────────────────────────────────────────────────────
|
|
175
|
+
// Admin buying from Kaiba
|
|
176
|
+
// ────────────────────────────────────────────────────────────────────────────
|
|
885
177
|
{
|
|
886
|
-
id:
|
|
887
|
-
productId: "product-
|
|
888
|
-
productTitle: "
|
|
889
|
-
userId: "user-
|
|
890
|
-
userName: "
|
|
891
|
-
userEmail: "
|
|
892
|
-
storeId: "store-
|
|
893
|
-
storeName: "LetItRip Official",
|
|
894
|
-
items: [{ productId: "product-shf-ultra-instinct-goku", productTitle: "S.H.Figuarts Ultra Instinct Goku 2nd Release", quantity: 1, unitPrice: 649900, totalPrice: 649900 }],
|
|
895
|
-
quantity: 1,
|
|
896
|
-
unitPrice: 649900,
|
|
897
|
-
totalPrice: 649900,
|
|
898
|
-
currency: "INR",
|
|
899
|
-
status: OrderStatusValues.REFUNDED,
|
|
900
|
-
paymentStatus: PaymentStatusValues.REFUNDED,
|
|
901
|
-
paymentMethod: PaymentMethodValues.RAZORPAY,
|
|
902
|
-
paymentId: "pay_razorpay_027_demo",
|
|
903
|
-
shippingAddress: "88 Jubilee Hills, Hyderabad 500033",
|
|
904
|
-
trackingNumber: "BLUE334455669",
|
|
905
|
-
shippingCarrier: "Bluedart",
|
|
906
|
-
shippingFee: 0,
|
|
907
|
-
platformFee: 0,
|
|
908
|
-
orderDate: daysAgo(25),
|
|
909
|
-
shippingDate: daysAgo(23),
|
|
910
|
-
deliveryDate: daysAgo(20),
|
|
911
|
-
// S-SBUNI-RULES 2026-05-13 — refund machinery fields
|
|
912
|
-
contestable: false,
|
|
913
|
-
refunds: [
|
|
914
|
-
{
|
|
915
|
-
refundId: "refund-order27-partial-001",
|
|
916
|
-
type: "partial",
|
|
917
|
-
amount: 300000,
|
|
918
|
-
reason: "Packaging damaged in transit — partial goodwill refund agreed by seller.",
|
|
919
|
-
refundedAt: daysAgo(18),
|
|
920
|
-
refundedBy: "user-admin-letitrip",
|
|
921
|
-
manualTransactionId: "NEFT-ORDER27-PARTIAL-001",
|
|
922
|
-
},
|
|
923
|
-
{
|
|
924
|
-
refundId: "refund-order27-full-002",
|
|
925
|
-
type: "full",
|
|
926
|
-
amount: 649900,
|
|
927
|
-
reason: "Item not received after reshipment failed — full refund issued.",
|
|
928
|
-
refundedAt: daysAgo(12),
|
|
929
|
-
refundedBy: "user-admin-letitrip",
|
|
930
|
-
razorpayRefundId: "rfnd_mock_order27_002",
|
|
931
|
-
},
|
|
932
|
-
],
|
|
933
|
-
payoutStatus: "eligible",
|
|
934
|
-
createdAt: daysAgo(25),
|
|
935
|
-
updatedAt: daysAgo(12),
|
|
936
|
-
},
|
|
937
|
-
// ── 28. DELIVERED — Anjali / Tomica Land Cruiser 300 ─────────────────────
|
|
938
|
-
{
|
|
939
|
-
id: "order-anjali-028-tomica-lc300",
|
|
940
|
-
productId: "product-tomica-land-cruiser-300",
|
|
941
|
-
productTitle: "Tomica: Toyota Land Cruiser 300 (No. 107)",
|
|
942
|
-
userId: "user-anjali-verma",
|
|
943
|
-
userName: "Anjali Verma",
|
|
944
|
-
userEmail: "anjali.verma@gmail.com",
|
|
945
|
-
storeId: "store-diecast-depot",
|
|
946
|
-
storeName: "Diecast Depot",
|
|
947
|
-
items: [
|
|
948
|
-
{ productId: "product-tomica-land-cruiser-300", productTitle: "Tomica Toyota Land Cruiser 300", quantity: 3, unitPrice: 59900, totalPrice: 179700 },
|
|
949
|
-
],
|
|
950
|
-
quantity: 3,
|
|
951
|
-
unitPrice: 59900,
|
|
952
|
-
totalPrice: 179700,
|
|
953
|
-
currency: "INR",
|
|
954
|
-
status: OrderStatusValues.DELIVERED,
|
|
955
|
-
paymentStatus: PaymentStatusValues.PAID,
|
|
956
|
-
paymentMethod: PaymentMethodValues.UPI_MANUAL,
|
|
957
|
-
shippingAddress: "45 Janakpuri, New Delhi 110058",
|
|
958
|
-
trackingNumber: "EKART112233445",
|
|
959
|
-
shippingCarrier: "Ekart",
|
|
960
|
-
shippingFee: 4900,
|
|
961
|
-
platformFee: 8985,
|
|
962
|
-
orderDate: daysAgo(22),
|
|
963
|
-
shippingDate: daysAgo(20),
|
|
964
|
-
deliveryDate: daysAgo(17),
|
|
965
|
-
payoutStatus: "paid",
|
|
966
|
-
createdAt: daysAgo(22),
|
|
967
|
-
updatedAt: daysAgo(17),
|
|
968
|
-
},
|
|
969
|
-
// ── 29. DELIVERED — Naman / figma Link TotK ──────────────────────────────
|
|
970
|
-
{
|
|
971
|
-
id: "order-naman-029-figma-link",
|
|
972
|
-
productId: "product-figma-link-totk",
|
|
973
|
-
productTitle: "figma: The Legend of Zelda: Tears of the Kingdom — Link",
|
|
974
|
-
userId: "user-naman-gupta",
|
|
975
|
-
userName: "Naman Gupta",
|
|
976
|
-
userEmail: "naman.gupta@gmail.com",
|
|
977
|
-
storeId: "store-letitrip-official",
|
|
978
|
-
storeName: "LetItRip Official",
|
|
979
|
-
items: [{ productId: "product-figma-link-totk", productTitle: "figma Link Tears of the Kingdom", quantity: 1, unitPrice: 699900, totalPrice: 699900 }],
|
|
178
|
+
id: generateOrderId(1, 50),
|
|
179
|
+
productId: "product-kaiba-starter-deck",
|
|
180
|
+
productTitle: "Starter Deck: Kaiba",
|
|
181
|
+
userId: "user-admin-letitrip",
|
|
182
|
+
userName: "LetItRip Admin",
|
|
183
|
+
userEmail: "admin@letitrip.in",
|
|
184
|
+
storeId: "store-kaiba-corp-cards",
|
|
980
185
|
quantity: 1,
|
|
981
|
-
unitPrice:
|
|
982
|
-
totalPrice:
|
|
983
|
-
currency: "INR",
|
|
984
|
-
status:
|
|
985
|
-
paymentStatus:
|
|
986
|
-
paymentMethod:
|
|
987
|
-
paymentId: "
|
|
988
|
-
shippingAddress: "
|
|
989
|
-
trackingNumber: "
|
|
990
|
-
shippingCarrier: "
|
|
991
|
-
|
|
992
|
-
|
|
186
|
+
unitPrice: 199900,
|
|
187
|
+
totalPrice: 199900,
|
|
188
|
+
currency: "INR",
|
|
189
|
+
status: "delivered",
|
|
190
|
+
paymentStatus: "paid",
|
|
191
|
+
paymentMethod: "online",
|
|
192
|
+
paymentId: "pay-admin-kaiba-001",
|
|
193
|
+
shippingAddress: "addr-letitrip-hq",
|
|
194
|
+
trackingNumber: "JP-0010-KAIBA-DELIVERED",
|
|
195
|
+
shippingCarrier: "DHL International",
|
|
196
|
+
shippingDate: daysAgo(40),
|
|
197
|
+
deliveryDate: daysAgo(30),
|
|
993
198
|
orderDate: daysAgo(50),
|
|
994
|
-
shippingDate: daysAgo(48),
|
|
995
|
-
deliveryDate: daysAgo(44),
|
|
996
|
-
payoutStatus: "paid",
|
|
997
199
|
createdAt: daysAgo(50),
|
|
998
|
-
updatedAt: daysAgo(
|
|
999
|
-
},
|
|
1000
|
-
// ── 30. SHIPPED — Kiran / MG Strike Freedom ──────────────────────────────
|
|
1001
|
-
{
|
|
1002
|
-
id: "order-kiran-030-mg-strike-freedom",
|
|
1003
|
-
productId: "product-mg-strike-freedom-gundam",
|
|
1004
|
-
productTitle: "Bandai MG 1/100: Strike Freedom Gundam (Full Burst Mode)",
|
|
1005
|
-
userId: "user-kiran-reddy",
|
|
1006
|
-
userName: "Kiran Reddy",
|
|
1007
|
-
userEmail: "kiran.reddy@gmail.com",
|
|
1008
|
-
storeId: "store-gundam-galaxy",
|
|
1009
|
-
storeName: "Gundam Galaxy",
|
|
1010
|
-
items: [{ productId: "product-mg-strike-freedom-gundam", productTitle: "MG Strike Freedom Full Burst Mode", quantity: 1, unitPrice: 699900, totalPrice: 699900 }],
|
|
1011
|
-
quantity: 1,
|
|
1012
|
-
unitPrice: 699900,
|
|
1013
|
-
totalPrice: 699900,
|
|
1014
|
-
currency: "INR",
|
|
1015
|
-
status: OrderStatusValues.SHIPPED,
|
|
1016
|
-
paymentStatus: PaymentStatusValues.PAID,
|
|
1017
|
-
paymentMethod: PaymentMethodValues.RAZORPAY,
|
|
1018
|
-
paymentId: "pay_razorpay_030_demo",
|
|
1019
|
-
shippingAddress: "18 Kondapur, Hyderabad, Telangana 500084",
|
|
1020
|
-
trackingNumber: "BLUE556677889",
|
|
1021
|
-
shippingCarrier: "Bluedart",
|
|
1022
|
-
shippingFee: 0,
|
|
1023
|
-
platformFee: 34995,
|
|
1024
|
-
orderDate: daysAgo(6),
|
|
1025
|
-
shippingDate: daysAgo(4),
|
|
1026
|
-
payoutStatus: "eligible",
|
|
1027
|
-
createdAt: daysAgo(6),
|
|
1028
|
-
updatedAt: daysAgo(4),
|
|
200
|
+
updatedAt: daysAgo(30),
|
|
1029
201
|
},
|
|
1030
|
-
//
|
|
202
|
+
// ────────────────────────────────────────────────────────────────────────────
|
|
203
|
+
// Kaiba buying from LetItRip Official
|
|
204
|
+
// ────────────────────────────────────────────────────────────────────────────
|
|
1031
205
|
{
|
|
1032
|
-
id:
|
|
1033
|
-
productId: "product-
|
|
1034
|
-
productTitle: "
|
|
1035
|
-
userId: "user-
|
|
1036
|
-
userName: "
|
|
1037
|
-
userEmail: "
|
|
206
|
+
id: generateOrderId(1, 55),
|
|
207
|
+
productId: "product-millennium-puzzle-model",
|
|
208
|
+
productTitle: "Millennium Puzzle Model Kit",
|
|
209
|
+
userId: "user-seto-kaiba",
|
|
210
|
+
userName: "Seto Kaiba",
|
|
211
|
+
userEmail: "kaiba@kaibalandmark.in",
|
|
1038
212
|
storeId: "store-letitrip-official",
|
|
1039
|
-
storeName: "LetItRip Official",
|
|
1040
|
-
items: [{ productId: "product-nendoroid-hatsune-miku-v4x", productTitle: "Nendoroid Hatsune Miku V4X", quantity: 1, unitPrice: 499900, totalPrice: 499900 }],
|
|
1041
213
|
quantity: 1,
|
|
1042
|
-
unitPrice:
|
|
1043
|
-
totalPrice:
|
|
214
|
+
unitPrice: 329900,
|
|
215
|
+
totalPrice: 329900,
|
|
1044
216
|
currency: "INR",
|
|
1045
|
-
status:
|
|
1046
|
-
paymentStatus:
|
|
1047
|
-
paymentMethod:
|
|
1048
|
-
|
|
1049
|
-
|
|
1050
|
-
|
|
1051
|
-
|
|
1052
|
-
|
|
1053
|
-
|
|
1054
|
-
shippingDate: daysAgo(40),
|
|
1055
|
-
deliveryDate: daysAgo(37),
|
|
1056
|
-
payoutStatus: "paid",
|
|
1057
|
-
createdAt: daysAgo(42),
|
|
1058
|
-
updatedAt: daysAgo(37),
|
|
1059
|
-
},
|
|
1060
|
-
// ── 32. DELIVERED — Rohit / OP-05 Booster Box ────────────────────────────
|
|
1061
|
-
{
|
|
1062
|
-
id: "order-rohit-032-op05-box",
|
|
1063
|
-
productId: "product-onepiece-op05-booster-box",
|
|
1064
|
-
productTitle: "One Piece Card Game: OP-05 Awakening of the New Era Booster Box",
|
|
1065
|
-
userId: "user-rohit-verma",
|
|
1066
|
-
userName: "Rohit Verma",
|
|
1067
|
-
userEmail: "rohit.verma@gmail.com",
|
|
1068
|
-
storeId: "store-cardgame-hub",
|
|
1069
|
-
storeName: "CardGame Hub",
|
|
1070
|
-
items: [{ productId: "product-onepiece-op05-booster-box", productTitle: "OP-05 Booster Box", quantity: 1, unitPrice: 499900, totalPrice: 499900 }],
|
|
1071
|
-
quantity: 1,
|
|
1072
|
-
unitPrice: 499900,
|
|
1073
|
-
totalPrice: 499900,
|
|
1074
|
-
currency: "INR",
|
|
1075
|
-
status: OrderStatusValues.DELIVERED,
|
|
1076
|
-
paymentStatus: PaymentStatusValues.PAID,
|
|
1077
|
-
paymentMethod: PaymentMethodValues.RAZORPAY,
|
|
1078
|
-
paymentId: "pay_razorpay_032_demo",
|
|
1079
|
-
shippingAddress: "67 Dwarka Sector 10, New Delhi 110075",
|
|
1080
|
-
trackingNumber: "DTDC334455668",
|
|
1081
|
-
shippingCarrier: "DTDC",
|
|
1082
|
-
shippingFee: 4900,
|
|
1083
|
-
platformFee: 24995,
|
|
1084
|
-
orderDate: daysAgo(55),
|
|
1085
|
-
shippingDate: daysAgo(53),
|
|
1086
|
-
deliveryDate: daysAgo(50),
|
|
1087
|
-
payoutStatus: "paid",
|
|
1088
|
-
createdAt: daysAgo(55),
|
|
1089
|
-
updatedAt: daysAgo(50),
|
|
1090
|
-
},
|
|
1091
|
-
// ── 33. DELIVERED — Preeti / BX-07 + BX-09 Bundle ───────────────────────
|
|
1092
|
-
{
|
|
1093
|
-
id: "order-preeti-033-beyblade-bundle",
|
|
1094
|
-
productId: "product-beyblade-x-bx07-hells-chain",
|
|
1095
|
-
productTitle: "Beyblade X: BX-07 Hells Chain + BX-09 Rd Dragon",
|
|
1096
|
-
userId: "user-preeti-joshi",
|
|
1097
|
-
userName: "Preeti Joshi",
|
|
1098
|
-
userEmail: "preeti.joshi@gmail.com",
|
|
1099
|
-
storeId: "store-beyblade-arena",
|
|
1100
|
-
storeName: "Beyblade Arena",
|
|
1101
|
-
items: [
|
|
1102
|
-
{ productId: "product-beyblade-x-bx07-hells-chain", productTitle: "BX-07 Hells Chain", quantity: 1, unitPrice: 139900, totalPrice: 139900 },
|
|
1103
|
-
{ productId: "product-beyblade-x-bx09-rd-dragon", productTitle: "BX-09 Rd Dragon", quantity: 1, unitPrice: 149900, totalPrice: 149900 },
|
|
1104
|
-
],
|
|
1105
|
-
quantity: 2,
|
|
1106
|
-
unitPrice: 144900,
|
|
1107
|
-
totalPrice: 289800,
|
|
1108
|
-
currency: "INR",
|
|
1109
|
-
status: OrderStatusValues.DELIVERED,
|
|
1110
|
-
paymentStatus: PaymentStatusValues.PAID,
|
|
1111
|
-
paymentMethod: PaymentMethodValues.UPI_MANUAL,
|
|
1112
|
-
shippingAddress: "7 MP Nagar Zone 2, Bhopal 462011",
|
|
1113
|
-
trackingNumber: "SHPR889900123",
|
|
1114
|
-
shippingCarrier: "Shiprocket",
|
|
1115
|
-
shippingFee: 0,
|
|
1116
|
-
platformFee: 14490,
|
|
1117
|
-
orderDate: daysAgo(60),
|
|
1118
|
-
shippingDate: daysAgo(58),
|
|
1119
|
-
deliveryDate: daysAgo(55),
|
|
1120
|
-
payoutStatus: "paid",
|
|
1121
|
-
createdAt: daysAgo(60),
|
|
1122
|
-
updatedAt: daysAgo(55),
|
|
1123
|
-
},
|
|
1124
|
-
// ── 34. SHIPPED — Vikram / Twin Mill 1970 Redline ────────────────────────
|
|
1125
|
-
{
|
|
1126
|
-
id: "order-vikram-034-twin-mill-redline",
|
|
1127
|
-
productId: "product-hot-wheels-twin-mill-1970-redline",
|
|
1128
|
-
productTitle: "Hot Wheels Vintage: Twin Mill I — 1970 Redline (Brown, Near Mint)",
|
|
1129
|
-
userId: "user-vikram-rao",
|
|
1130
|
-
userName: "Vikram Rao",
|
|
1131
|
-
userEmail: "vikram.rao@gmail.com",
|
|
1132
|
-
storeId: "store-vintage-vault",
|
|
1133
|
-
storeName: "Vintage Vault",
|
|
1134
|
-
items: [{ productId: "product-hot-wheels-twin-mill-1970-redline", productTitle: "Hot Wheels Twin Mill I 1970 Redline Brown NM", quantity: 1, unitPrice: 699900, totalPrice: 699900 }],
|
|
1135
|
-
quantity: 1,
|
|
1136
|
-
unitPrice: 699900,
|
|
1137
|
-
totalPrice: 699900,
|
|
1138
|
-
currency: "INR",
|
|
1139
|
-
status: OrderStatusValues.SHIPPED,
|
|
1140
|
-
paymentStatus: PaymentStatusValues.PAID,
|
|
1141
|
-
paymentMethod: PaymentMethodValues.RAZORPAY,
|
|
1142
|
-
paymentId: "pay_razorpay_034_demo",
|
|
1143
|
-
shippingAddress: "55 Jubilee Hills Road 10, Hyderabad 500033",
|
|
1144
|
-
trackingNumber: "BLUE112233446",
|
|
1145
|
-
shippingCarrier: "Bluedart",
|
|
1146
|
-
shippingFee: 0,
|
|
1147
|
-
platformFee: 34995,
|
|
1148
|
-
orderDate: daysAgo(5),
|
|
1149
|
-
shippingDate: daysAgo(3),
|
|
1150
|
-
payoutStatus: "eligible",
|
|
1151
|
-
createdAt: daysAgo(5),
|
|
1152
|
-
updatedAt: daysAgo(3),
|
|
1153
|
-
},
|
|
1154
|
-
// ── 35. DELIVERED — Ananya / GSC Aqua 1/7 Scale ──────────────────────────
|
|
1155
|
-
{
|
|
1156
|
-
id: "order-ananya-035-gsc-aqua",
|
|
1157
|
-
productId: "product-gsc-aqua-konosuba-scale",
|
|
1158
|
-
productTitle: "Good Smile Company: KonoSuba — Aqua 1/7 Scale Figure",
|
|
1159
|
-
userId: "user-ananya-krishna",
|
|
1160
|
-
userName: "Ananya Krishna",
|
|
1161
|
-
userEmail: "ananya.krishna@gmail.com",
|
|
1162
|
-
storeId: "store-tokyo-toys-india",
|
|
1163
|
-
storeName: "Tokyo Toys India",
|
|
1164
|
-
items: [{ productId: "product-gsc-aqua-konosuba-scale", productTitle: "GSC Aqua 1/7 Scale KonoSuba", quantity: 1, unitPrice: 899900, totalPrice: 899900 }],
|
|
1165
|
-
quantity: 1,
|
|
1166
|
-
unitPrice: 899900,
|
|
1167
|
-
totalPrice: 899900,
|
|
1168
|
-
currency: "INR",
|
|
1169
|
-
status: OrderStatusValues.DELIVERED,
|
|
1170
|
-
paymentStatus: PaymentStatusValues.PAID,
|
|
1171
|
-
paymentMethod: PaymentMethodValues.RAZORPAY,
|
|
1172
|
-
paymentId: "pay_razorpay_035_demo",
|
|
1173
|
-
shippingAddress: "9 Koramangala 3rd Block, Bengaluru 560034",
|
|
1174
|
-
trackingNumber: "EKART001122334",
|
|
1175
|
-
shippingCarrier: "Ekart",
|
|
1176
|
-
shippingFee: 0,
|
|
1177
|
-
platformFee: 44995,
|
|
1178
|
-
orderDate: daysAgo(65),
|
|
1179
|
-
shippingDate: daysAgo(63),
|
|
1180
|
-
deliveryDate: daysAgo(59),
|
|
1181
|
-
payoutStatus: "paid",
|
|
1182
|
-
createdAt: daysAgo(65),
|
|
1183
|
-
updatedAt: daysAgo(59),
|
|
1184
|
-
},
|
|
1185
|
-
// ── Admin as buyer — 36. DELIVERED — admin / MAFEX Miles Morales ─────────
|
|
1186
|
-
{
|
|
1187
|
-
id: "order-admin-036-mafex-miles",
|
|
1188
|
-
productId: "product-mafex-miles-morales-spiderman",
|
|
1189
|
-
productTitle: "MAFEX No.240: Miles Morales Spider-Man (Across the Spider-Verse)",
|
|
1190
|
-
userId: "user-admin-letitrip",
|
|
1191
|
-
userName: "LetItRip Admin",
|
|
1192
|
-
userEmail: "admin@letitrip.in",
|
|
1193
|
-
storeId: "store-tokyo-toys-india",
|
|
1194
|
-
storeName: "Tokyo Toys India",
|
|
1195
|
-
items: [
|
|
1196
|
-
{
|
|
1197
|
-
productId: "product-mafex-miles-morales-spiderman",
|
|
1198
|
-
productTitle: "MAFEX No.240: Miles Morales Spider-Man",
|
|
1199
|
-
quantity: 1,
|
|
1200
|
-
unitPrice: 849900,
|
|
1201
|
-
totalPrice: 849900,
|
|
1202
|
-
},
|
|
1203
|
-
],
|
|
1204
|
-
quantity: 1,
|
|
1205
|
-
unitPrice: 849900,
|
|
1206
|
-
totalPrice: 849900,
|
|
1207
|
-
currency: "INR",
|
|
1208
|
-
status: OrderStatusValues.DELIVERED,
|
|
1209
|
-
paymentStatus: PaymentStatusValues.PAID,
|
|
1210
|
-
paymentMethod: PaymentMethodValues.RAZORPAY,
|
|
1211
|
-
paymentId: "pay_razorpay_036_demo",
|
|
1212
|
-
shippingAddress: "LetItRip HQ, 10th Floor, BKC G Block, Mumbai 400051",
|
|
1213
|
-
trackingNumber: "SHPR880011223",
|
|
1214
|
-
shippingCarrier: "Shiprocket",
|
|
1215
|
-
shippingFee: 0,
|
|
1216
|
-
platformFee: 42495,
|
|
217
|
+
status: "delivered",
|
|
218
|
+
paymentStatus: "paid",
|
|
219
|
+
paymentMethod: "online",
|
|
220
|
+
paymentId: "pay-kaiba-admin-001",
|
|
221
|
+
shippingAddress: "addr-kaiba-mansion",
|
|
222
|
+
trackingNumber: "IN-0005-ADMIN-DELIVERED",
|
|
223
|
+
shippingCarrier: "India Post",
|
|
224
|
+
shippingDate: daysAgo(12),
|
|
225
|
+
deliveryDate: daysAgo(5),
|
|
1217
226
|
orderDate: daysAgo(55),
|
|
1218
|
-
shippingDate: daysAgo(53),
|
|
1219
|
-
deliveryDate: daysAgo(50),
|
|
1220
|
-
payoutStatus: "paid",
|
|
1221
227
|
createdAt: daysAgo(55),
|
|
1222
|
-
updatedAt: daysAgo(
|
|
1223
|
-
},
|
|
1224
|
-
// ── Admin as buyer — 37. DELIVERED — admin / Figma Link TotK ─────────────
|
|
1225
|
-
{
|
|
1226
|
-
id: "order-admin-037-figma-link",
|
|
1227
|
-
productId: "product-figma-link-totk",
|
|
1228
|
-
productTitle: "figma: The Legend of Zelda: Tears of the Kingdom — Link",
|
|
1229
|
-
userId: "user-admin-letitrip",
|
|
1230
|
-
userName: "LetItRip Admin",
|
|
1231
|
-
userEmail: "admin@letitrip.in",
|
|
1232
|
-
storeId: "store-gundam-galaxy",
|
|
1233
|
-
storeName: "Gundam Galaxy",
|
|
1234
|
-
items: [
|
|
1235
|
-
{
|
|
1236
|
-
productId: "product-figma-link-totk",
|
|
1237
|
-
productTitle: "figma Link (Tears of the Kingdom)",
|
|
1238
|
-
quantity: 1,
|
|
1239
|
-
unitPrice: 699900,
|
|
1240
|
-
totalPrice: 699900,
|
|
1241
|
-
},
|
|
1242
|
-
],
|
|
1243
|
-
quantity: 1,
|
|
1244
|
-
unitPrice: 699900,
|
|
1245
|
-
totalPrice: 699900,
|
|
1246
|
-
currency: "INR",
|
|
1247
|
-
status: OrderStatusValues.DELIVERED,
|
|
1248
|
-
paymentStatus: PaymentStatusValues.PAID,
|
|
1249
|
-
paymentMethod: PaymentMethodValues.RAZORPAY,
|
|
1250
|
-
paymentId: "pay_razorpay_037_demo",
|
|
1251
|
-
shippingAddress: "LetItRip HQ, 10th Floor, BKC G Block, Mumbai 400051",
|
|
1252
|
-
trackingNumber: "DTDC990022334",
|
|
1253
|
-
shippingCarrier: "DTDC",
|
|
1254
|
-
shippingFee: 0,
|
|
1255
|
-
platformFee: 34995,
|
|
1256
|
-
orderDate: daysAgo(40),
|
|
1257
|
-
shippingDate: daysAgo(38),
|
|
1258
|
-
deliveryDate: daysAgo(35),
|
|
1259
|
-
payoutStatus: "paid",
|
|
1260
|
-
createdAt: daysAgo(40),
|
|
1261
|
-
updatedAt: daysAgo(35),
|
|
1262
|
-
},
|
|
1263
|
-
// ── Admin as buyer — 38. SHIPPED — admin / Pokémon Mew PSA 10 (won auction) ──
|
|
1264
|
-
{
|
|
1265
|
-
id: "order-admin-038-pokemon-mew-psa10",
|
|
1266
|
-
productId: "auction-pokemon-mew-1st-edition-psa10",
|
|
1267
|
-
productTitle: "Pokémon Base Set 1st Edition Mew Promo #8 — PSA 10 GEM MINT (AUCTION)",
|
|
1268
|
-
userId: "user-admin-letitrip",
|
|
1269
|
-
userName: "LetItRip Admin",
|
|
1270
|
-
userEmail: "admin@letitrip.in",
|
|
1271
|
-
storeId: "store-vintage-vault",
|
|
1272
|
-
storeName: "Vintage Vault",
|
|
1273
|
-
items: [
|
|
1274
|
-
{
|
|
1275
|
-
productId: "auction-pokemon-mew-1st-edition-psa10",
|
|
1276
|
-
productTitle: "Pokémon 1st Ed. Mew Promo — PSA 10",
|
|
1277
|
-
quantity: 1,
|
|
1278
|
-
unitPrice: 14999900,
|
|
1279
|
-
totalPrice: 14999900,
|
|
1280
|
-
},
|
|
1281
|
-
],
|
|
1282
|
-
quantity: 1,
|
|
1283
|
-
unitPrice: 14999900,
|
|
1284
|
-
totalPrice: 14999900,
|
|
1285
|
-
currency: "INR",
|
|
1286
|
-
status: OrderStatusValues.SHIPPED,
|
|
1287
|
-
paymentStatus: PaymentStatusValues.PAID,
|
|
1288
|
-
paymentMethod: PaymentMethodValues.RAZORPAY,
|
|
1289
|
-
paymentId: "pay_razorpay_038_demo",
|
|
1290
|
-
shippingAddress: "LetItRip HQ, 10th Floor, BKC G Block, Mumbai 400051",
|
|
1291
|
-
trackingNumber: "DTDC112233445",
|
|
1292
|
-
shippingCarrier: "DTDC",
|
|
1293
|
-
shippingFee: 0,
|
|
1294
|
-
platformFee: 749995,
|
|
1295
|
-
orderDate: daysAgo(10),
|
|
1296
|
-
shippingDate: daysAgo(8),
|
|
1297
|
-
payoutStatus: "eligible",
|
|
1298
|
-
createdAt: daysAgo(10),
|
|
1299
|
-
updatedAt: daysAgo(8),
|
|
1300
|
-
},
|
|
1301
|
-
// ── Admin as buyer — 39. DELIVERED — admin / Pokémon Prize Draw entry ──────
|
|
1302
|
-
{
|
|
1303
|
-
id: "order-admin-039-pokemon-prize-draw",
|
|
1304
|
-
productId: "prize-pokemon-mystery-box-june",
|
|
1305
|
-
productTitle: "Pokémon Mystery Box — June Mega Draw",
|
|
1306
|
-
userId: "user-admin-letitrip",
|
|
1307
|
-
userName: "LetItRip Admin",
|
|
1308
|
-
userEmail: "admin@letitrip.in",
|
|
1309
|
-
storeId: "store-pokemon-palace",
|
|
1310
|
-
storeName: "Pokémon Palace",
|
|
1311
|
-
items: [
|
|
1312
|
-
{
|
|
1313
|
-
productId: "prize-pokemon-mystery-box-june",
|
|
1314
|
-
productTitle: "Pokémon Mystery Box — June Mega Draw (×3 entries)",
|
|
1315
|
-
quantity: 3,
|
|
1316
|
-
unitPrice: 500,
|
|
1317
|
-
totalPrice: 1500,
|
|
1318
|
-
},
|
|
1319
|
-
],
|
|
1320
|
-
quantity: 3,
|
|
1321
|
-
unitPrice: 500,
|
|
1322
|
-
totalPrice: 1500,
|
|
1323
|
-
currency: "INR",
|
|
1324
|
-
status: OrderStatusValues.DELIVERED,
|
|
1325
|
-
paymentStatus: PaymentStatusValues.PAID,
|
|
1326
|
-
paymentMethod: PaymentMethodValues.RAZORPAY,
|
|
1327
|
-
paymentId: "pay_razorpay_039_demo",
|
|
1328
|
-
shippingAddress: "LetItRip HQ, 10th Floor, BKC G Block, Mumbai 400051",
|
|
1329
|
-
shippingFee: 0,
|
|
1330
|
-
platformFee: 75,
|
|
1331
|
-
orderDate: daysAgo(8),
|
|
1332
|
-
deliveryDate: daysAgo(8),
|
|
1333
|
-
payoutStatus: "eligible",
|
|
1334
|
-
createdAt: daysAgo(8),
|
|
1335
|
-
updatedAt: daysAgo(8),
|
|
1336
|
-
},
|
|
1337
|
-
// ── Admin as buyer — 40. DELIVERED — admin / Hot Wheels Prize Draw entry ──
|
|
1338
|
-
{
|
|
1339
|
-
id: "order-admin-040-hw-prize-draw",
|
|
1340
|
-
productId: "prize-hot-wheels-treasure-hunt",
|
|
1341
|
-
productTitle: "Hot Wheels Super Treasure Hunt Draw",
|
|
1342
|
-
userId: "user-admin-letitrip",
|
|
1343
|
-
userName: "LetItRip Admin",
|
|
1344
|
-
userEmail: "admin@letitrip.in",
|
|
1345
|
-
storeId: "store-diecast-depot",
|
|
1346
|
-
storeName: "Diecast Depot",
|
|
1347
|
-
items: [
|
|
1348
|
-
{
|
|
1349
|
-
productId: "prize-hot-wheels-treasure-hunt",
|
|
1350
|
-
productTitle: "Hot Wheels Super Treasure Hunt Draw (×2 entries)",
|
|
1351
|
-
quantity: 2,
|
|
1352
|
-
unitPrice: 29900,
|
|
1353
|
-
totalPrice: 59800,
|
|
1354
|
-
},
|
|
1355
|
-
],
|
|
1356
|
-
quantity: 2,
|
|
1357
|
-
unitPrice: 29900,
|
|
1358
|
-
totalPrice: 59800,
|
|
1359
|
-
currency: "INR",
|
|
1360
|
-
status: OrderStatusValues.DELIVERED,
|
|
1361
|
-
paymentStatus: PaymentStatusValues.PAID,
|
|
1362
|
-
paymentMethod: PaymentMethodValues.RAZORPAY,
|
|
1363
|
-
paymentId: "pay_razorpay_040_demo",
|
|
1364
|
-
shippingAddress: "LetItRip HQ, 10th Floor, BKC G Block, Mumbai 400051",
|
|
1365
|
-
shippingFee: 0,
|
|
1366
|
-
platformFee: 2990,
|
|
1367
|
-
orderDate: daysAgo(6),
|
|
1368
|
-
deliveryDate: daysAgo(6),
|
|
1369
|
-
payoutStatus: "eligible",
|
|
1370
|
-
createdAt: daysAgo(6),
|
|
1371
|
-
updatedAt: daysAgo(6),
|
|
1372
|
-
},
|
|
1373
|
-
// ── Admin as buyer — 41. DELIVERED — admin / Cyberpunk digital code ────────
|
|
1374
|
-
{
|
|
1375
|
-
id: "order-admin-041-cyberpunk-digitalcode",
|
|
1376
|
-
productId: "digitalcode-steam-cyberpunk-2077",
|
|
1377
|
-
productTitle: "Cyberpunk 2077 — Steam PC Key (Instant Delivery)",
|
|
1378
|
-
userId: "user-admin-letitrip",
|
|
1379
|
-
userName: "LetItRip Admin",
|
|
1380
|
-
userEmail: "admin@letitrip.in",
|
|
1381
|
-
storeId: "store-letitrip-official",
|
|
1382
|
-
storeName: "LetItRip Official",
|
|
1383
|
-
items: [
|
|
1384
|
-
{
|
|
1385
|
-
productId: "digitalcode-steam-cyberpunk-2077",
|
|
1386
|
-
productTitle: "Cyberpunk 2077 Steam PC Key",
|
|
1387
|
-
quantity: 1,
|
|
1388
|
-
unitPrice: 149900,
|
|
1389
|
-
totalPrice: 149900,
|
|
1390
|
-
},
|
|
1391
|
-
],
|
|
1392
|
-
quantity: 1,
|
|
1393
|
-
unitPrice: 149900,
|
|
1394
|
-
totalPrice: 149900,
|
|
1395
|
-
currency: "INR",
|
|
1396
|
-
status: OrderStatusValues.DELIVERED,
|
|
1397
|
-
paymentStatus: PaymentStatusValues.PAID,
|
|
1398
|
-
paymentMethod: PaymentMethodValues.UPI_MANUAL,
|
|
1399
|
-
shippingAddress: "Digital delivery — no shipping address",
|
|
1400
|
-
shippingFee: 0,
|
|
1401
|
-
platformFee: 7495,
|
|
1402
|
-
orderDate: daysAgo(3),
|
|
1403
|
-
deliveryDate: daysAgo(3),
|
|
1404
|
-
payoutStatus: "eligible",
|
|
1405
|
-
createdAt: daysAgo(3),
|
|
1406
|
-
updatedAt: daysAgo(3),
|
|
1407
|
-
},
|
|
1408
|
-
// ── 43. DELIVERED — admin as buyer — ALTER Rem Wedding via accepted offer ────
|
|
1409
|
-
{
|
|
1410
|
-
id: "order-admin-043-alter-rem-offer",
|
|
1411
|
-
productId: "product-alter-rem-wedding-scale",
|
|
1412
|
-
productTitle: "ALTER: Re:ZERO — Rem (Wedding Ver.) 1/7 Scale Figure",
|
|
1413
|
-
userId: "user-admin-letitrip",
|
|
1414
|
-
userName: "LetItRip Admin",
|
|
1415
|
-
userEmail: "admin@letitrip.in",
|
|
1416
|
-
storeId: "store-tokyo-toys-india",
|
|
1417
|
-
storeName: "Tokyo Toys India",
|
|
1418
|
-
offerId: "offer-admin-alter-rem-paid",
|
|
1419
|
-
items: [
|
|
1420
|
-
{
|
|
1421
|
-
productId: "product-alter-rem-wedding-scale",
|
|
1422
|
-
productTitle: "ALTER Rem Wedding Ver. 1/7 (offer price)",
|
|
1423
|
-
quantity: 1,
|
|
1424
|
-
unitPrice: 1099900,
|
|
1425
|
-
totalPrice: 1099900,
|
|
1426
|
-
},
|
|
1427
|
-
],
|
|
1428
|
-
quantity: 1,
|
|
1429
|
-
unitPrice: 1099900,
|
|
1430
|
-
totalPrice: 1099900,
|
|
1431
|
-
currency: "INR",
|
|
1432
|
-
status: OrderStatusValues.DELIVERED,
|
|
1433
|
-
paymentStatus: PaymentStatusValues.PAID,
|
|
1434
|
-
paymentMethod: PaymentMethodValues.RAZORPAY,
|
|
1435
|
-
paymentId: "pay_razorpay_043_demo",
|
|
1436
|
-
shippingAddress: "LetItRip HQ, 10th Floor, BKC G Block, Mumbai 400051",
|
|
1437
|
-
trackingNumber: "DTDC443322110",
|
|
1438
|
-
shippingCarrier: "DTDC",
|
|
1439
|
-
shippingFee: 0,
|
|
1440
|
-
platformFee: 54995,
|
|
1441
|
-
orderDate: daysAgo(11),
|
|
1442
|
-
shippingDate: daysAgo(9),
|
|
1443
|
-
deliveryDate: daysAgo(7),
|
|
1444
|
-
payoutStatus: "paid",
|
|
1445
|
-
createdAt: daysAgo(11),
|
|
1446
|
-
updatedAt: daysAgo(7),
|
|
1447
|
-
},
|
|
1448
|
-
// ── 44. DELIVERED — Arjun / BX-01 via accepted offer ─────────────────────
|
|
1449
|
-
{
|
|
1450
|
-
id: "order-arjun-044-bx01-offer",
|
|
1451
|
-
productId: "product-beyblade-x-bx01-dran-sword-starter-pack",
|
|
1452
|
-
productTitle: "Beyblade X: BX-01 Dran Sword 3-60F — Starter Pack",
|
|
1453
|
-
userId: "user-arjun-singh",
|
|
1454
|
-
userName: "Arjun Singh",
|
|
1455
|
-
userEmail: "arjun.singh@gmail.com",
|
|
1456
|
-
storeId: "store-beyblade-arena",
|
|
1457
|
-
storeName: "Beyblade Arena",
|
|
1458
|
-
offerId: "offer-arjun-bx01-paid",
|
|
1459
|
-
items: [
|
|
1460
|
-
{
|
|
1461
|
-
productId: "product-beyblade-x-bx01-dran-sword-starter-pack",
|
|
1462
|
-
productTitle: "BX-01 Dran Sword Starter Pack (offer price)",
|
|
1463
|
-
quantity: 1,
|
|
1464
|
-
unitPrice: 129900,
|
|
1465
|
-
totalPrice: 129900,
|
|
1466
|
-
},
|
|
1467
|
-
],
|
|
1468
|
-
quantity: 1,
|
|
1469
|
-
unitPrice: 129900,
|
|
1470
|
-
totalPrice: 129900,
|
|
1471
|
-
currency: "INR",
|
|
1472
|
-
status: OrderStatusValues.DELIVERED,
|
|
1473
|
-
paymentStatus: PaymentStatusValues.PAID,
|
|
1474
|
-
paymentMethod: PaymentMethodValues.UPI_MANUAL,
|
|
1475
|
-
shippingAddress: "78 Indiranagar 100 Ft Road, Bengaluru 560038",
|
|
1476
|
-
trackingNumber: "SHPR221100334",
|
|
1477
|
-
shippingCarrier: "Shiprocket",
|
|
1478
|
-
shippingFee: 0,
|
|
1479
|
-
platformFee: 6495,
|
|
1480
|
-
orderDate: daysAgo(19),
|
|
1481
|
-
shippingDate: daysAgo(17),
|
|
1482
|
-
deliveryDate: daysAgo(14),
|
|
1483
|
-
payoutStatus: "paid",
|
|
1484
|
-
createdAt: daysAgo(19),
|
|
1485
|
-
updatedAt: daysAgo(14),
|
|
1486
|
-
},
|
|
1487
|
-
// ── 45. DELIVERED — Kiran / Gundam Bundle (3 kits) ───────────────────────
|
|
1488
|
-
{
|
|
1489
|
-
id: "order-kiran-045-gundam-bundle",
|
|
1490
|
-
productId: "group-gundam-builder-essentials",
|
|
1491
|
-
productTitle: "Gundam Builder Essentials — MG + RG Bundle",
|
|
1492
|
-
userId: "user-kiran-reddy",
|
|
1493
|
-
userName: "Kiran Reddy",
|
|
1494
|
-
userEmail: "kiran.reddy@gmail.com",
|
|
1495
|
-
storeId: "store-gundam-galaxy",
|
|
1496
|
-
storeName: "Gundam Galaxy",
|
|
1497
|
-
items: [
|
|
1498
|
-
{ productId: "product-gundam-rx78-mg", productTitle: "MG RX-78-2 Gundam Ver. 3.0 1/100", quantity: 1, unitPrice: 399900, totalPrice: 399900 },
|
|
1499
|
-
{ productId: "product-gundam-wing-zero-rg", productTitle: "RG Wing Gundam Zero EW 1/144", quantity: 1, unitPrice: 249900, totalPrice: 249900 },
|
|
1500
|
-
{ productId: "product-hg-aerial-rebuild-gundam", productTitle: "HG Aerial Rebuild 1/144", quantity: 1, unitPrice: 249900, totalPrice: 249900 },
|
|
1501
|
-
],
|
|
1502
|
-
quantity: 3,
|
|
1503
|
-
unitPrice: 299900,
|
|
1504
|
-
totalPrice: 899700,
|
|
1505
|
-
currency: "INR",
|
|
1506
|
-
status: OrderStatusValues.DELIVERED,
|
|
1507
|
-
paymentStatus: PaymentStatusValues.PAID,
|
|
1508
|
-
paymentMethod: PaymentMethodValues.RAZORPAY,
|
|
1509
|
-
paymentId: "pay_razorpay_045_demo",
|
|
1510
|
-
shippingAddress: "18 Kondapur, Hyderabad, Telangana 500084",
|
|
1511
|
-
trackingNumber: "BLUE667788901",
|
|
1512
|
-
shippingCarrier: "Bluedart",
|
|
1513
|
-
shippingFee: 0,
|
|
1514
|
-
platformFee: 44985,
|
|
1515
|
-
orderDate: daysAgo(52),
|
|
1516
|
-
shippingDate: daysAgo(50),
|
|
1517
|
-
deliveryDate: daysAgo(47),
|
|
1518
|
-
payoutStatus: "paid",
|
|
1519
|
-
createdAt: daysAgo(52),
|
|
1520
|
-
updatedAt: daysAgo(47),
|
|
1521
|
-
},
|
|
1522
|
-
// ── Admin as buyer — 46. PROCESSING — admin / Good Smile Aqua Scale ────────
|
|
1523
|
-
{
|
|
1524
|
-
id: "order-admin-046-gsc-aqua",
|
|
1525
|
-
productId: "product-gsc-aqua-konosuba-scale",
|
|
1526
|
-
productTitle: "Good Smile Company: KonoSuba — Aqua 1/7 Scale Figure",
|
|
1527
|
-
userId: "user-admin-letitrip",
|
|
1528
|
-
userName: "LetItRip Admin",
|
|
1529
|
-
userEmail: "admin@letitrip.in",
|
|
1530
|
-
storeId: "store-tokyo-toys-india",
|
|
1531
|
-
storeName: "Tokyo Toys India",
|
|
1532
|
-
items: [
|
|
1533
|
-
{
|
|
1534
|
-
productId: "product-gsc-aqua-konosuba-scale",
|
|
1535
|
-
productTitle: "GSC KonoSuba Aqua 1/7 Scale",
|
|
1536
|
-
quantity: 1,
|
|
1537
|
-
unitPrice: 1299900,
|
|
1538
|
-
totalPrice: 1299900,
|
|
1539
|
-
},
|
|
1540
|
-
],
|
|
1541
|
-
quantity: 1,
|
|
1542
|
-
unitPrice: 1299900,
|
|
1543
|
-
totalPrice: 1299900,
|
|
1544
|
-
currency: "INR",
|
|
1545
|
-
status: OrderStatusValues.PROCESSING,
|
|
1546
|
-
paymentStatus: PaymentStatusValues.PAID,
|
|
1547
|
-
paymentMethod: PaymentMethodValues.UPI_MANUAL,
|
|
1548
|
-
shippingAddress: "LetItRip HQ, 10th Floor, BKC G Block, Mumbai 400051",
|
|
1549
|
-
shippingFee: 0,
|
|
1550
|
-
platformFee: 64995,
|
|
1551
|
-
orderDate: daysAgo(2),
|
|
1552
|
-
payoutStatus: "eligible",
|
|
1553
|
-
createdAt: daysAgo(2),
|
|
1554
|
-
updatedAt: daysAgo(1),
|
|
228
|
+
updatedAt: daysAgo(5),
|
|
1555
229
|
},
|
|
1556
230
|
];
|
|
231
|
+
const productPool = [
|
|
232
|
+
{ productId: "product-dark-magician-lob-1st", productTitle: "Dark Magician — LOB 1st Edition", unitPrice: 499900 },
|
|
233
|
+
{ productId: "sublisting-blue-eyes-lob-1st-nm", productTitle: "Blue-Eyes White Dragon — LOB 1st Edition (NM)", unitPrice: 799900 },
|
|
234
|
+
{ productId: "product-lob-booster-pack", productTitle: "LOB Booster Pack", unitPrice: 149900 },
|
|
235
|
+
{ productId: "product-kaiba-starter-deck", productTitle: "Starter Deck: Kaiba", unitPrice: 199900 },
|
|
236
|
+
{ productId: "product-duelist-kingdom-playmat", productTitle: "Duelist Kingdom Playmat", unitPrice: 129900 },
|
|
237
|
+
{ productId: "sublisting-pot-of-greed-lob-1st", productTitle: "Pot of Greed — LOB 1st Edition (NM)", unitPrice: 1499900 },
|
|
238
|
+
{ productId: "product-millennium-puzzle-model", productTitle: "Millennium Puzzle Model Kit", unitPrice: 329900 },
|
|
239
|
+
];
|
|
240
|
+
const statuses = [
|
|
241
|
+
"pending",
|
|
242
|
+
"processing",
|
|
243
|
+
"shipped",
|
|
244
|
+
"delivered",
|
|
245
|
+
"cancelled",
|
|
246
|
+
"refunded",
|
|
247
|
+
"return_requested",
|
|
248
|
+
];
|
|
249
|
+
const paymentStatuses = {
|
|
250
|
+
pending: "pending",
|
|
251
|
+
processing: "processing",
|
|
252
|
+
shipped: "paid",
|
|
253
|
+
delivered: "paid",
|
|
254
|
+
cancelled: "refunded",
|
|
255
|
+
refunded: "refunded",
|
|
256
|
+
return_requested: "paid",
|
|
257
|
+
};
|
|
258
|
+
const buyerStoreMatrix = [
|
|
259
|
+
{ userId: "user-yugi-muto", storeId: "store-kaiba-corp-cards", addressId: "addr-yugi-home" },
|
|
260
|
+
{ userId: "user-yugi-muto", storeId: "store-letitrip-official", addressId: "addr-yugi-home" },
|
|
261
|
+
{ userId: "user-admin-letitrip", storeId: "store-kaiba-corp-cards", addressId: "addr-letitrip-hq" },
|
|
262
|
+
{ userId: "user-seto-kaiba", storeId: "store-letitrip-official", addressId: "addr-kaiba-mansion" },
|
|
263
|
+
];
|
|
264
|
+
const expandedOrders = [];
|
|
265
|
+
for (let i = _rawOrdersSeedData.length; i < 50; i++) {
|
|
266
|
+
const combo = buyerStoreMatrix[i % buyerStoreMatrix.length];
|
|
267
|
+
const product = productPool[i % productPool.length];
|
|
268
|
+
const status = statuses[i % statuses.length];
|
|
269
|
+
const daysBack = 70 - i;
|
|
270
|
+
const qty = (i % 3) + 1;
|
|
271
|
+
expandedOrders.push({
|
|
272
|
+
id: generateOrderId(qty, daysBack),
|
|
273
|
+
productId: product.productId,
|
|
274
|
+
productTitle: product.productTitle,
|
|
275
|
+
userId: combo.userId,
|
|
276
|
+
userName: USER_NAMES[combo.userId],
|
|
277
|
+
userEmail: USER_EMAILS[combo.userId],
|
|
278
|
+
storeId: combo.storeId,
|
|
279
|
+
quantity: qty,
|
|
280
|
+
unitPrice: product.unitPrice,
|
|
281
|
+
totalPrice: product.unitPrice * qty,
|
|
282
|
+
currency: "INR",
|
|
283
|
+
status: status,
|
|
284
|
+
paymentStatus: (paymentStatuses[status] ?? "pending"),
|
|
285
|
+
paymentMethod: i % 2 === 0 ? "cod" : "online",
|
|
286
|
+
shippingAddress: combo.addressId,
|
|
287
|
+
orderDate: daysAgo(daysBack),
|
|
288
|
+
shippingDate: status === "shipped" || status === "delivered" ? daysAgo(daysBack - 5) : undefined,
|
|
289
|
+
deliveryDate: status === "delivered" ? daysAgo(daysBack - 10) : undefined,
|
|
290
|
+
createdAt: daysAgo(daysBack),
|
|
291
|
+
updatedAt: daysAgo(Math.max(0, daysBack - 10)),
|
|
292
|
+
});
|
|
293
|
+
}
|
|
294
|
+
export const ordersSeedData = [..._rawOrdersSeedData, ...expandedOrders].slice(0, 50);
|