@tbox.cn/app-module-shopping-guide 1.0.0-alpha.15 → 1.0.0-alpha.17
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/{chunk-43AO3W7C.js → chunk-B3SVEGHZ.js} +102 -42
- package/dist/index.d.ts +3 -2
- package/dist/index.js +5 -1
- package/dist/server/index.d.ts +489 -450
- package/dist/server/index.js +5 -1
- package/package.json +9 -7
- package/skills/shopping-guide/SKILL.md +5 -0
- package/src/server/cards/shop-detail/samples.ts +8 -3
- package/src/server/index.ts +9 -40
- package/src/server/routes.ts +53 -0
- package/src/server/services/indoor-navigation.ts +60 -0
- package/src/server/tools/index.ts +39 -7
- package/tests/indoor-navigation.test.ts +301 -0
- package/tests/shopping-guide.test.ts +34 -2
package/dist/server/index.d.ts
CHANGED
|
@@ -6,6 +6,8 @@ import * as _tbox_cn_app_contracts from '@tbox.cn/app-contracts';
|
|
|
6
6
|
import { RequestContext } from '@tbox.cn/app-contracts';
|
|
7
7
|
import * as zod from 'zod';
|
|
8
8
|
import { CatalogQueryPort, ShopDirectoryQueryPort, CommercialCategoryQueryPort, MallDirectoryQueryPort, NavigationPort } from '@tbox.cn/app-contracts-mall';
|
|
9
|
+
export { INDOOR_NAVIGATION_SERVICE, IndoorNavigationService } from '@tbox.cn/app-contracts-mall';
|
|
10
|
+
import { Router } from 'express';
|
|
9
11
|
|
|
10
12
|
/** 11 卡 meta map(key 约定 = cardType) */
|
|
11
13
|
declare const shoppingGuideCards: {
|
|
@@ -24,71 +26,71 @@ declare const shoppingGuideCards: {
|
|
|
24
26
|
amountMinor: zod.ZodNumber;
|
|
25
27
|
display: zod.ZodString;
|
|
26
28
|
}, "strip", zod.ZodTypeAny, {
|
|
27
|
-
display: string;
|
|
28
29
|
currency: "CNY";
|
|
29
30
|
amountMinor: number;
|
|
30
|
-
}, {
|
|
31
31
|
display: string;
|
|
32
|
+
}, {
|
|
32
33
|
currency: "CNY";
|
|
33
34
|
amountMinor: number;
|
|
35
|
+
display: string;
|
|
34
36
|
}>>;
|
|
35
37
|
original: zod.ZodOptional<zod.ZodObject<{
|
|
36
38
|
currency: zod.ZodLiteral<"CNY">;
|
|
37
39
|
amountMinor: zod.ZodNumber;
|
|
38
40
|
display: zod.ZodString;
|
|
39
41
|
}, "strip", zod.ZodTypeAny, {
|
|
40
|
-
display: string;
|
|
41
42
|
currency: "CNY";
|
|
42
43
|
amountMinor: number;
|
|
43
|
-
}, {
|
|
44
44
|
display: string;
|
|
45
|
+
}, {
|
|
45
46
|
currency: "CNY";
|
|
46
47
|
amountMinor: number;
|
|
48
|
+
display: string;
|
|
47
49
|
}>>;
|
|
48
50
|
promotion: zod.ZodOptional<zod.ZodObject<{
|
|
49
51
|
currency: zod.ZodLiteral<"CNY">;
|
|
50
52
|
amountMinor: zod.ZodNumber;
|
|
51
53
|
display: zod.ZodString;
|
|
52
54
|
}, "strip", zod.ZodTypeAny, {
|
|
53
|
-
display: string;
|
|
54
55
|
currency: "CNY";
|
|
55
56
|
amountMinor: number;
|
|
56
|
-
}, {
|
|
57
57
|
display: string;
|
|
58
|
+
}, {
|
|
58
59
|
currency: "CNY";
|
|
59
60
|
amountMinor: number;
|
|
61
|
+
display: string;
|
|
60
62
|
}>>;
|
|
61
63
|
}, "strip", zod.ZodTypeAny, {
|
|
62
64
|
sale?: {
|
|
63
|
-
display: string;
|
|
64
65
|
currency: "CNY";
|
|
65
66
|
amountMinor: number;
|
|
67
|
+
display: string;
|
|
66
68
|
} | undefined;
|
|
67
69
|
original?: {
|
|
68
|
-
display: string;
|
|
69
70
|
currency: "CNY";
|
|
70
71
|
amountMinor: number;
|
|
72
|
+
display: string;
|
|
71
73
|
} | undefined;
|
|
72
74
|
promotion?: {
|
|
73
|
-
display: string;
|
|
74
75
|
currency: "CNY";
|
|
75
76
|
amountMinor: number;
|
|
77
|
+
display: string;
|
|
76
78
|
} | undefined;
|
|
77
79
|
}, {
|
|
78
80
|
sale?: {
|
|
79
|
-
display: string;
|
|
80
81
|
currency: "CNY";
|
|
81
82
|
amountMinor: number;
|
|
83
|
+
display: string;
|
|
82
84
|
} | undefined;
|
|
83
85
|
original?: {
|
|
84
|
-
display: string;
|
|
85
86
|
currency: "CNY";
|
|
86
87
|
amountMinor: number;
|
|
88
|
+
display: string;
|
|
87
89
|
} | undefined;
|
|
88
90
|
promotion?: {
|
|
89
|
-
display: string;
|
|
90
91
|
currency: "CNY";
|
|
91
92
|
amountMinor: number;
|
|
93
|
+
display: string;
|
|
92
94
|
} | undefined;
|
|
93
95
|
}>;
|
|
94
96
|
availability: zod.ZodObject<{
|
|
@@ -99,13 +101,13 @@ declare const shoppingGuideCards: {
|
|
|
99
101
|
}, "strip", zod.ZodTypeAny, {
|
|
100
102
|
status: "unknown" | "in_stock" | "out_of_stock" | "limited";
|
|
101
103
|
label: string;
|
|
102
|
-
observedAt: string;
|
|
103
104
|
marketable: boolean;
|
|
105
|
+
observedAt: string;
|
|
104
106
|
}, {
|
|
105
107
|
status: "unknown" | "in_stock" | "out_of_stock" | "limited";
|
|
106
108
|
label: string;
|
|
107
|
-
observedAt: string;
|
|
108
109
|
marketable: boolean;
|
|
110
|
+
observedAt: string;
|
|
109
111
|
}>;
|
|
110
112
|
merchant: zod.ZodObject<{
|
|
111
113
|
merchantId: zod.ZodString;
|
|
@@ -172,14 +174,14 @@ declare const shoppingGuideCards: {
|
|
|
172
174
|
code: string;
|
|
173
175
|
label: string;
|
|
174
176
|
observedAt: string;
|
|
175
|
-
sourceKind: "
|
|
177
|
+
sourceKind: "merchant" | "catalog" | "mall" | "policy";
|
|
176
178
|
value?: string | undefined;
|
|
177
179
|
expiresAt?: string | undefined;
|
|
178
180
|
}, {
|
|
179
181
|
code: string;
|
|
180
182
|
label: string;
|
|
181
183
|
observedAt: string;
|
|
182
|
-
sourceKind: "
|
|
184
|
+
sourceKind: "merchant" | "catalog" | "mall" | "policy";
|
|
183
185
|
value?: string | undefined;
|
|
184
186
|
expiresAt?: string | undefined;
|
|
185
187
|
}>, "many">>;
|
|
@@ -213,24 +215,31 @@ declare const shoppingGuideCards: {
|
|
|
213
215
|
url: string;
|
|
214
216
|
}>]>, "many">;
|
|
215
217
|
}, "strip", zod.ZodTypeAny, {
|
|
218
|
+
productId: string;
|
|
216
219
|
name: string;
|
|
217
220
|
price: {
|
|
218
221
|
sale?: {
|
|
219
|
-
display: string;
|
|
220
222
|
currency: "CNY";
|
|
221
223
|
amountMinor: number;
|
|
224
|
+
display: string;
|
|
222
225
|
} | undefined;
|
|
223
226
|
original?: {
|
|
224
|
-
display: string;
|
|
225
227
|
currency: "CNY";
|
|
226
228
|
amountMinor: number;
|
|
229
|
+
display: string;
|
|
227
230
|
} | undefined;
|
|
228
231
|
promotion?: {
|
|
229
|
-
display: string;
|
|
230
232
|
currency: "CNY";
|
|
231
233
|
amountMinor: number;
|
|
234
|
+
display: string;
|
|
232
235
|
} | undefined;
|
|
233
236
|
};
|
|
237
|
+
availability: {
|
|
238
|
+
status: "unknown" | "in_stock" | "out_of_stock" | "limited";
|
|
239
|
+
label: string;
|
|
240
|
+
marketable: boolean;
|
|
241
|
+
observedAt: string;
|
|
242
|
+
};
|
|
234
243
|
merchant: {
|
|
235
244
|
name: string;
|
|
236
245
|
merchantId: string;
|
|
@@ -242,16 +251,9 @@ declare const shoppingGuideCards: {
|
|
|
242
251
|
poiId?: string | undefined;
|
|
243
252
|
} | undefined;
|
|
244
253
|
};
|
|
245
|
-
|
|
254
|
+
caveats: string[];
|
|
246
255
|
categoryPath: string[];
|
|
247
|
-
availability: {
|
|
248
|
-
status: "unknown" | "in_stock" | "out_of_stock" | "limited";
|
|
249
|
-
label: string;
|
|
250
|
-
observedAt: string;
|
|
251
|
-
marketable: boolean;
|
|
252
|
-
};
|
|
253
256
|
badges: string[];
|
|
254
|
-
caveats: string[];
|
|
255
257
|
itemActions: ({
|
|
256
258
|
label: string;
|
|
257
259
|
kind: "send";
|
|
@@ -262,8 +264,8 @@ declare const shoppingGuideCards: {
|
|
|
262
264
|
kind: "link";
|
|
263
265
|
url: string;
|
|
264
266
|
})[];
|
|
265
|
-
brand?: string | undefined;
|
|
266
267
|
imageUrl?: string | undefined;
|
|
268
|
+
brand?: string | undefined;
|
|
267
269
|
reasons?: {
|
|
268
270
|
code: string;
|
|
269
271
|
label: string;
|
|
@@ -272,29 +274,36 @@ declare const shoppingGuideCards: {
|
|
|
272
274
|
code: string;
|
|
273
275
|
label: string;
|
|
274
276
|
observedAt: string;
|
|
275
|
-
sourceKind: "
|
|
277
|
+
sourceKind: "merchant" | "catalog" | "mall" | "policy";
|
|
276
278
|
value?: string | undefined;
|
|
277
279
|
expiresAt?: string | undefined;
|
|
278
280
|
}[] | undefined;
|
|
279
281
|
}, {
|
|
282
|
+
productId: string;
|
|
280
283
|
name: string;
|
|
281
284
|
price: {
|
|
282
285
|
sale?: {
|
|
283
|
-
display: string;
|
|
284
286
|
currency: "CNY";
|
|
285
287
|
amountMinor: number;
|
|
288
|
+
display: string;
|
|
286
289
|
} | undefined;
|
|
287
290
|
original?: {
|
|
288
|
-
display: string;
|
|
289
291
|
currency: "CNY";
|
|
290
292
|
amountMinor: number;
|
|
293
|
+
display: string;
|
|
291
294
|
} | undefined;
|
|
292
295
|
promotion?: {
|
|
293
|
-
display: string;
|
|
294
296
|
currency: "CNY";
|
|
295
297
|
amountMinor: number;
|
|
298
|
+
display: string;
|
|
296
299
|
} | undefined;
|
|
297
300
|
};
|
|
301
|
+
availability: {
|
|
302
|
+
status: "unknown" | "in_stock" | "out_of_stock" | "limited";
|
|
303
|
+
label: string;
|
|
304
|
+
marketable: boolean;
|
|
305
|
+
observedAt: string;
|
|
306
|
+
};
|
|
298
307
|
merchant: {
|
|
299
308
|
name: string;
|
|
300
309
|
merchantId: string;
|
|
@@ -306,16 +315,9 @@ declare const shoppingGuideCards: {
|
|
|
306
315
|
poiId?: string | undefined;
|
|
307
316
|
} | undefined;
|
|
308
317
|
};
|
|
309
|
-
|
|
318
|
+
caveats: string[];
|
|
310
319
|
categoryPath: string[];
|
|
311
|
-
availability: {
|
|
312
|
-
status: "unknown" | "in_stock" | "out_of_stock" | "limited";
|
|
313
|
-
label: string;
|
|
314
|
-
observedAt: string;
|
|
315
|
-
marketable: boolean;
|
|
316
|
-
};
|
|
317
320
|
badges: string[];
|
|
318
|
-
caveats: string[];
|
|
319
321
|
itemActions: ({
|
|
320
322
|
label: string;
|
|
321
323
|
kind: "send";
|
|
@@ -326,8 +328,8 @@ declare const shoppingGuideCards: {
|
|
|
326
328
|
kind: "link";
|
|
327
329
|
url: string;
|
|
328
330
|
})[];
|
|
329
|
-
brand?: string | undefined;
|
|
330
331
|
imageUrl?: string | undefined;
|
|
332
|
+
brand?: string | undefined;
|
|
331
333
|
reasons?: {
|
|
332
334
|
code: string;
|
|
333
335
|
label: string;
|
|
@@ -336,7 +338,7 @@ declare const shoppingGuideCards: {
|
|
|
336
338
|
code: string;
|
|
337
339
|
label: string;
|
|
338
340
|
observedAt: string;
|
|
339
|
-
sourceKind: "
|
|
341
|
+
sourceKind: "merchant" | "catalog" | "mall" | "policy";
|
|
340
342
|
value?: string | undefined;
|
|
341
343
|
expiresAt?: string | undefined;
|
|
342
344
|
}[] | undefined;
|
|
@@ -370,24 +372,31 @@ declare const shoppingGuideCards: {
|
|
|
370
372
|
}>, "many">;
|
|
371
373
|
}, "strip", zod.ZodTypeAny, {
|
|
372
374
|
items: {
|
|
375
|
+
productId: string;
|
|
373
376
|
name: string;
|
|
374
377
|
price: {
|
|
375
378
|
sale?: {
|
|
376
|
-
display: string;
|
|
377
379
|
currency: "CNY";
|
|
378
380
|
amountMinor: number;
|
|
381
|
+
display: string;
|
|
379
382
|
} | undefined;
|
|
380
383
|
original?: {
|
|
381
|
-
display: string;
|
|
382
384
|
currency: "CNY";
|
|
383
385
|
amountMinor: number;
|
|
386
|
+
display: string;
|
|
384
387
|
} | undefined;
|
|
385
388
|
promotion?: {
|
|
386
|
-
display: string;
|
|
387
389
|
currency: "CNY";
|
|
388
390
|
amountMinor: number;
|
|
391
|
+
display: string;
|
|
389
392
|
} | undefined;
|
|
390
393
|
};
|
|
394
|
+
availability: {
|
|
395
|
+
status: "unknown" | "in_stock" | "out_of_stock" | "limited";
|
|
396
|
+
label: string;
|
|
397
|
+
marketable: boolean;
|
|
398
|
+
observedAt: string;
|
|
399
|
+
};
|
|
391
400
|
merchant: {
|
|
392
401
|
name: string;
|
|
393
402
|
merchantId: string;
|
|
@@ -399,16 +408,9 @@ declare const shoppingGuideCards: {
|
|
|
399
408
|
poiId?: string | undefined;
|
|
400
409
|
} | undefined;
|
|
401
410
|
};
|
|
402
|
-
|
|
411
|
+
caveats: string[];
|
|
403
412
|
categoryPath: string[];
|
|
404
|
-
availability: {
|
|
405
|
-
status: "unknown" | "in_stock" | "out_of_stock" | "limited";
|
|
406
|
-
label: string;
|
|
407
|
-
observedAt: string;
|
|
408
|
-
marketable: boolean;
|
|
409
|
-
};
|
|
410
413
|
badges: string[];
|
|
411
|
-
caveats: string[];
|
|
412
414
|
itemActions: ({
|
|
413
415
|
label: string;
|
|
414
416
|
kind: "send";
|
|
@@ -419,8 +421,8 @@ declare const shoppingGuideCards: {
|
|
|
419
421
|
kind: "link";
|
|
420
422
|
url: string;
|
|
421
423
|
})[];
|
|
422
|
-
brand?: string | undefined;
|
|
423
424
|
imageUrl?: string | undefined;
|
|
425
|
+
brand?: string | undefined;
|
|
424
426
|
reasons?: {
|
|
425
427
|
code: string;
|
|
426
428
|
label: string;
|
|
@@ -429,7 +431,7 @@ declare const shoppingGuideCards: {
|
|
|
429
431
|
code: string;
|
|
430
432
|
label: string;
|
|
431
433
|
observedAt: string;
|
|
432
|
-
sourceKind: "
|
|
434
|
+
sourceKind: "merchant" | "catalog" | "mall" | "policy";
|
|
433
435
|
value?: string | undefined;
|
|
434
436
|
expiresAt?: string | undefined;
|
|
435
437
|
}[] | undefined;
|
|
@@ -449,24 +451,31 @@ declare const shoppingGuideCards: {
|
|
|
449
451
|
} | undefined;
|
|
450
452
|
}, {
|
|
451
453
|
items: {
|
|
454
|
+
productId: string;
|
|
452
455
|
name: string;
|
|
453
456
|
price: {
|
|
454
457
|
sale?: {
|
|
455
|
-
display: string;
|
|
456
458
|
currency: "CNY";
|
|
457
459
|
amountMinor: number;
|
|
460
|
+
display: string;
|
|
458
461
|
} | undefined;
|
|
459
462
|
original?: {
|
|
460
|
-
display: string;
|
|
461
463
|
currency: "CNY";
|
|
462
464
|
amountMinor: number;
|
|
465
|
+
display: string;
|
|
463
466
|
} | undefined;
|
|
464
467
|
promotion?: {
|
|
465
|
-
display: string;
|
|
466
468
|
currency: "CNY";
|
|
467
469
|
amountMinor: number;
|
|
470
|
+
display: string;
|
|
468
471
|
} | undefined;
|
|
469
472
|
};
|
|
473
|
+
availability: {
|
|
474
|
+
status: "unknown" | "in_stock" | "out_of_stock" | "limited";
|
|
475
|
+
label: string;
|
|
476
|
+
marketable: boolean;
|
|
477
|
+
observedAt: string;
|
|
478
|
+
};
|
|
470
479
|
merchant: {
|
|
471
480
|
name: string;
|
|
472
481
|
merchantId: string;
|
|
@@ -478,16 +487,9 @@ declare const shoppingGuideCards: {
|
|
|
478
487
|
poiId?: string | undefined;
|
|
479
488
|
} | undefined;
|
|
480
489
|
};
|
|
481
|
-
|
|
490
|
+
caveats: string[];
|
|
482
491
|
categoryPath: string[];
|
|
483
|
-
availability: {
|
|
484
|
-
status: "unknown" | "in_stock" | "out_of_stock" | "limited";
|
|
485
|
-
label: string;
|
|
486
|
-
observedAt: string;
|
|
487
|
-
marketable: boolean;
|
|
488
|
-
};
|
|
489
492
|
badges: string[];
|
|
490
|
-
caveats: string[];
|
|
491
493
|
itemActions: ({
|
|
492
494
|
label: string;
|
|
493
495
|
kind: "send";
|
|
@@ -498,8 +500,8 @@ declare const shoppingGuideCards: {
|
|
|
498
500
|
kind: "link";
|
|
499
501
|
url: string;
|
|
500
502
|
})[];
|
|
501
|
-
brand?: string | undefined;
|
|
502
503
|
imageUrl?: string | undefined;
|
|
504
|
+
brand?: string | undefined;
|
|
503
505
|
reasons?: {
|
|
504
506
|
code: string;
|
|
505
507
|
label: string;
|
|
@@ -508,7 +510,7 @@ declare const shoppingGuideCards: {
|
|
|
508
510
|
code: string;
|
|
509
511
|
label: string;
|
|
510
512
|
observedAt: string;
|
|
511
|
-
sourceKind: "
|
|
513
|
+
sourceKind: "merchant" | "catalog" | "mall" | "policy";
|
|
512
514
|
value?: string | undefined;
|
|
513
515
|
expiresAt?: string | undefined;
|
|
514
516
|
}[] | undefined;
|
|
@@ -540,71 +542,71 @@ declare const shoppingGuideCards: {
|
|
|
540
542
|
amountMinor: zod.ZodNumber;
|
|
541
543
|
display: zod.ZodString;
|
|
542
544
|
}, "strip", zod.ZodTypeAny, {
|
|
543
|
-
display: string;
|
|
544
545
|
currency: "CNY";
|
|
545
546
|
amountMinor: number;
|
|
546
|
-
}, {
|
|
547
547
|
display: string;
|
|
548
|
+
}, {
|
|
548
549
|
currency: "CNY";
|
|
549
550
|
amountMinor: number;
|
|
551
|
+
display: string;
|
|
550
552
|
}>>;
|
|
551
553
|
original: zod.ZodOptional<zod.ZodObject<{
|
|
552
554
|
currency: zod.ZodLiteral<"CNY">;
|
|
553
555
|
amountMinor: zod.ZodNumber;
|
|
554
556
|
display: zod.ZodString;
|
|
555
557
|
}, "strip", zod.ZodTypeAny, {
|
|
556
|
-
display: string;
|
|
557
558
|
currency: "CNY";
|
|
558
559
|
amountMinor: number;
|
|
559
|
-
}, {
|
|
560
560
|
display: string;
|
|
561
|
+
}, {
|
|
561
562
|
currency: "CNY";
|
|
562
563
|
amountMinor: number;
|
|
564
|
+
display: string;
|
|
563
565
|
}>>;
|
|
564
566
|
promotion: zod.ZodOptional<zod.ZodObject<{
|
|
565
567
|
currency: zod.ZodLiteral<"CNY">;
|
|
566
568
|
amountMinor: zod.ZodNumber;
|
|
567
569
|
display: zod.ZodString;
|
|
568
570
|
}, "strip", zod.ZodTypeAny, {
|
|
569
|
-
display: string;
|
|
570
571
|
currency: "CNY";
|
|
571
572
|
amountMinor: number;
|
|
572
|
-
}, {
|
|
573
573
|
display: string;
|
|
574
|
+
}, {
|
|
574
575
|
currency: "CNY";
|
|
575
576
|
amountMinor: number;
|
|
577
|
+
display: string;
|
|
576
578
|
}>>;
|
|
577
579
|
}, "strip", zod.ZodTypeAny, {
|
|
578
580
|
sale?: {
|
|
579
|
-
display: string;
|
|
580
581
|
currency: "CNY";
|
|
581
582
|
amountMinor: number;
|
|
583
|
+
display: string;
|
|
582
584
|
} | undefined;
|
|
583
585
|
original?: {
|
|
584
|
-
display: string;
|
|
585
586
|
currency: "CNY";
|
|
586
587
|
amountMinor: number;
|
|
588
|
+
display: string;
|
|
587
589
|
} | undefined;
|
|
588
590
|
promotion?: {
|
|
589
|
-
display: string;
|
|
590
591
|
currency: "CNY";
|
|
591
592
|
amountMinor: number;
|
|
593
|
+
display: string;
|
|
592
594
|
} | undefined;
|
|
593
595
|
}, {
|
|
594
596
|
sale?: {
|
|
595
|
-
display: string;
|
|
596
597
|
currency: "CNY";
|
|
597
598
|
amountMinor: number;
|
|
599
|
+
display: string;
|
|
598
600
|
} | undefined;
|
|
599
601
|
original?: {
|
|
600
|
-
display: string;
|
|
601
602
|
currency: "CNY";
|
|
602
603
|
amountMinor: number;
|
|
604
|
+
display: string;
|
|
603
605
|
} | undefined;
|
|
604
606
|
promotion?: {
|
|
605
|
-
display: string;
|
|
606
607
|
currency: "CNY";
|
|
607
608
|
amountMinor: number;
|
|
609
|
+
display: string;
|
|
608
610
|
} | undefined;
|
|
609
611
|
}>;
|
|
610
612
|
availability: zod.ZodObject<{
|
|
@@ -615,13 +617,13 @@ declare const shoppingGuideCards: {
|
|
|
615
617
|
}, "strip", zod.ZodTypeAny, {
|
|
616
618
|
status: "unknown" | "in_stock" | "out_of_stock" | "limited";
|
|
617
619
|
label: string;
|
|
618
|
-
observedAt: string;
|
|
619
620
|
marketable: boolean;
|
|
621
|
+
observedAt: string;
|
|
620
622
|
}, {
|
|
621
623
|
status: "unknown" | "in_stock" | "out_of_stock" | "limited";
|
|
622
624
|
label: string;
|
|
623
|
-
observedAt: string;
|
|
624
625
|
marketable: boolean;
|
|
626
|
+
observedAt: string;
|
|
625
627
|
}>;
|
|
626
628
|
merchant: zod.ZodObject<{
|
|
627
629
|
merchantId: zod.ZodString;
|
|
@@ -688,14 +690,14 @@ declare const shoppingGuideCards: {
|
|
|
688
690
|
code: string;
|
|
689
691
|
label: string;
|
|
690
692
|
observedAt: string;
|
|
691
|
-
sourceKind: "
|
|
693
|
+
sourceKind: "merchant" | "catalog" | "mall" | "policy";
|
|
692
694
|
value?: string | undefined;
|
|
693
695
|
expiresAt?: string | undefined;
|
|
694
696
|
}, {
|
|
695
697
|
code: string;
|
|
696
698
|
label: string;
|
|
697
699
|
observedAt: string;
|
|
698
|
-
sourceKind: "
|
|
700
|
+
sourceKind: "merchant" | "catalog" | "mall" | "policy";
|
|
699
701
|
value?: string | undefined;
|
|
700
702
|
expiresAt?: string | undefined;
|
|
701
703
|
}>, "many">;
|
|
@@ -729,28 +731,31 @@ declare const shoppingGuideCards: {
|
|
|
729
731
|
url: string;
|
|
730
732
|
}>]>, "many">;
|
|
731
733
|
}, "strip", zod.ZodTypeAny, {
|
|
734
|
+
productId: string;
|
|
732
735
|
name: string;
|
|
733
736
|
price: {
|
|
734
737
|
sale?: {
|
|
735
|
-
display: string;
|
|
736
738
|
currency: "CNY";
|
|
737
739
|
amountMinor: number;
|
|
740
|
+
display: string;
|
|
738
741
|
} | undefined;
|
|
739
742
|
original?: {
|
|
740
|
-
display: string;
|
|
741
743
|
currency: "CNY";
|
|
742
744
|
amountMinor: number;
|
|
745
|
+
display: string;
|
|
743
746
|
} | undefined;
|
|
744
747
|
promotion?: {
|
|
745
|
-
display: string;
|
|
746
748
|
currency: "CNY";
|
|
747
749
|
amountMinor: number;
|
|
750
|
+
display: string;
|
|
748
751
|
} | undefined;
|
|
749
752
|
};
|
|
750
|
-
|
|
751
|
-
|
|
752
|
-
|
|
753
|
-
|
|
753
|
+
availability: {
|
|
754
|
+
status: "unknown" | "in_stock" | "out_of_stock" | "limited";
|
|
755
|
+
label: string;
|
|
756
|
+
marketable: boolean;
|
|
757
|
+
observedAt: string;
|
|
758
|
+
};
|
|
754
759
|
merchant: {
|
|
755
760
|
name: string;
|
|
756
761
|
merchantId: string;
|
|
@@ -762,19 +767,16 @@ declare const shoppingGuideCards: {
|
|
|
762
767
|
poiId?: string | undefined;
|
|
763
768
|
} | undefined;
|
|
764
769
|
};
|
|
765
|
-
|
|
770
|
+
attributes: {
|
|
771
|
+
value: string;
|
|
772
|
+
name: string;
|
|
773
|
+
}[];
|
|
766
774
|
categoryPath: string[];
|
|
767
|
-
availability: {
|
|
768
|
-
status: "unknown" | "in_stock" | "out_of_stock" | "limited";
|
|
769
|
-
label: string;
|
|
770
|
-
observedAt: string;
|
|
771
|
-
marketable: boolean;
|
|
772
|
-
};
|
|
773
775
|
evidence: {
|
|
774
776
|
code: string;
|
|
775
777
|
label: string;
|
|
776
778
|
observedAt: string;
|
|
777
|
-
sourceKind: "
|
|
779
|
+
sourceKind: "merchant" | "catalog" | "mall" | "policy";
|
|
778
780
|
value?: string | undefined;
|
|
779
781
|
expiresAt?: string | undefined;
|
|
780
782
|
}[];
|
|
@@ -791,31 +793,34 @@ declare const shoppingGuideCards: {
|
|
|
791
793
|
promotionFacts: string[];
|
|
792
794
|
imageUrls: string[];
|
|
793
795
|
humanGuideAvailable: boolean;
|
|
794
|
-
description?: string | undefined;
|
|
795
796
|
brand?: string | undefined;
|
|
797
|
+
description?: string | undefined;
|
|
796
798
|
}, {
|
|
799
|
+
productId: string;
|
|
797
800
|
name: string;
|
|
798
801
|
price: {
|
|
799
802
|
sale?: {
|
|
800
|
-
display: string;
|
|
801
803
|
currency: "CNY";
|
|
802
804
|
amountMinor: number;
|
|
805
|
+
display: string;
|
|
803
806
|
} | undefined;
|
|
804
807
|
original?: {
|
|
805
|
-
display: string;
|
|
806
808
|
currency: "CNY";
|
|
807
809
|
amountMinor: number;
|
|
810
|
+
display: string;
|
|
808
811
|
} | undefined;
|
|
809
812
|
promotion?: {
|
|
810
|
-
display: string;
|
|
811
813
|
currency: "CNY";
|
|
812
814
|
amountMinor: number;
|
|
815
|
+
display: string;
|
|
813
816
|
} | undefined;
|
|
814
817
|
};
|
|
815
|
-
|
|
816
|
-
|
|
817
|
-
|
|
818
|
-
|
|
818
|
+
availability: {
|
|
819
|
+
status: "unknown" | "in_stock" | "out_of_stock" | "limited";
|
|
820
|
+
label: string;
|
|
821
|
+
marketable: boolean;
|
|
822
|
+
observedAt: string;
|
|
823
|
+
};
|
|
819
824
|
merchant: {
|
|
820
825
|
name: string;
|
|
821
826
|
merchantId: string;
|
|
@@ -827,19 +832,16 @@ declare const shoppingGuideCards: {
|
|
|
827
832
|
poiId?: string | undefined;
|
|
828
833
|
} | undefined;
|
|
829
834
|
};
|
|
830
|
-
|
|
835
|
+
attributes: {
|
|
836
|
+
value: string;
|
|
837
|
+
name: string;
|
|
838
|
+
}[];
|
|
831
839
|
categoryPath: string[];
|
|
832
|
-
availability: {
|
|
833
|
-
status: "unknown" | "in_stock" | "out_of_stock" | "limited";
|
|
834
|
-
label: string;
|
|
835
|
-
observedAt: string;
|
|
836
|
-
marketable: boolean;
|
|
837
|
-
};
|
|
838
840
|
evidence: {
|
|
839
841
|
code: string;
|
|
840
842
|
label: string;
|
|
841
843
|
observedAt: string;
|
|
842
|
-
sourceKind: "
|
|
844
|
+
sourceKind: "merchant" | "catalog" | "mall" | "policy";
|
|
843
845
|
value?: string | undefined;
|
|
844
846
|
expiresAt?: string | undefined;
|
|
845
847
|
}[];
|
|
@@ -856,8 +858,8 @@ declare const shoppingGuideCards: {
|
|
|
856
858
|
promotionFacts: string[];
|
|
857
859
|
imageUrls: string[];
|
|
858
860
|
humanGuideAvailable: boolean;
|
|
859
|
-
description?: string | undefined;
|
|
860
861
|
brand?: string | undefined;
|
|
862
|
+
description?: string | undefined;
|
|
861
863
|
}>>;
|
|
862
864
|
readonly 'shop-list': _tbox_cn_app_contracts.CardMeta<zod.ZodObject<{
|
|
863
865
|
context: zod.ZodEnum<["recommendation", "search"]>;
|
|
@@ -946,14 +948,14 @@ declare const shoppingGuideCards: {
|
|
|
946
948
|
code: string;
|
|
947
949
|
label: string;
|
|
948
950
|
observedAt: string;
|
|
949
|
-
sourceKind: "
|
|
951
|
+
sourceKind: "merchant" | "catalog" | "mall" | "policy";
|
|
950
952
|
value?: string | undefined;
|
|
951
953
|
expiresAt?: string | undefined;
|
|
952
954
|
}, {
|
|
953
955
|
code: string;
|
|
954
956
|
label: string;
|
|
955
957
|
observedAt: string;
|
|
956
|
-
sourceKind: "
|
|
958
|
+
sourceKind: "merchant" | "catalog" | "mall" | "policy";
|
|
957
959
|
value?: string | undefined;
|
|
958
960
|
expiresAt?: string | undefined;
|
|
959
961
|
}>, "many">>;
|
|
@@ -999,8 +1001,8 @@ declare const shoppingGuideCards: {
|
|
|
999
1001
|
offerRef: zod.ZodOptional<zod.ZodString>;
|
|
1000
1002
|
}, "strip", zod.ZodTypeAny, {
|
|
1001
1003
|
name: string;
|
|
1002
|
-
description?: string | undefined;
|
|
1003
1004
|
imageUrl?: string | undefined;
|
|
1005
|
+
description?: string | undefined;
|
|
1004
1006
|
faceValue?: number | undefined;
|
|
1005
1007
|
salePrice?: number | undefined;
|
|
1006
1008
|
applicableCategories?: string[] | undefined;
|
|
@@ -1011,8 +1013,8 @@ declare const shoppingGuideCards: {
|
|
|
1011
1013
|
offerRef?: string | undefined;
|
|
1012
1014
|
}, {
|
|
1013
1015
|
name: string;
|
|
1014
|
-
description?: string | undefined;
|
|
1015
1016
|
imageUrl?: string | undefined;
|
|
1017
|
+
description?: string | undefined;
|
|
1016
1018
|
faceValue?: number | undefined;
|
|
1017
1019
|
salePrice?: number | undefined;
|
|
1018
1020
|
applicableCategories?: string[] | undefined;
|
|
@@ -1029,8 +1031,8 @@ declare const shoppingGuideCards: {
|
|
|
1029
1031
|
observedAt: string;
|
|
1030
1032
|
};
|
|
1031
1033
|
name: string;
|
|
1032
|
-
services: string[];
|
|
1033
1034
|
merchantId: string;
|
|
1035
|
+
services: string[];
|
|
1034
1036
|
location: {
|
|
1035
1037
|
displayText: string;
|
|
1036
1038
|
buildingName?: string | undefined;
|
|
@@ -1059,7 +1061,7 @@ declare const shoppingGuideCards: {
|
|
|
1059
1061
|
code: string;
|
|
1060
1062
|
label: string;
|
|
1061
1063
|
observedAt: string;
|
|
1062
|
-
sourceKind: "
|
|
1064
|
+
sourceKind: "merchant" | "catalog" | "mall" | "policy";
|
|
1063
1065
|
value?: string | undefined;
|
|
1064
1066
|
expiresAt?: string | undefined;
|
|
1065
1067
|
}[] | undefined;
|
|
@@ -1071,8 +1073,8 @@ declare const shoppingGuideCards: {
|
|
|
1071
1073
|
}[] | undefined;
|
|
1072
1074
|
coupons?: {
|
|
1073
1075
|
name: string;
|
|
1074
|
-
description?: string | undefined;
|
|
1075
1076
|
imageUrl?: string | undefined;
|
|
1077
|
+
description?: string | undefined;
|
|
1076
1078
|
faceValue?: number | undefined;
|
|
1077
1079
|
salePrice?: number | undefined;
|
|
1078
1080
|
applicableCategories?: string[] | undefined;
|
|
@@ -1089,8 +1091,8 @@ declare const shoppingGuideCards: {
|
|
|
1089
1091
|
observedAt: string;
|
|
1090
1092
|
};
|
|
1091
1093
|
name: string;
|
|
1092
|
-
services: string[];
|
|
1093
1094
|
merchantId: string;
|
|
1095
|
+
services: string[];
|
|
1094
1096
|
location: {
|
|
1095
1097
|
displayText: string;
|
|
1096
1098
|
buildingName?: string | undefined;
|
|
@@ -1119,7 +1121,7 @@ declare const shoppingGuideCards: {
|
|
|
1119
1121
|
code: string;
|
|
1120
1122
|
label: string;
|
|
1121
1123
|
observedAt: string;
|
|
1122
|
-
sourceKind: "
|
|
1124
|
+
sourceKind: "merchant" | "catalog" | "mall" | "policy";
|
|
1123
1125
|
value?: string | undefined;
|
|
1124
1126
|
expiresAt?: string | undefined;
|
|
1125
1127
|
}[] | undefined;
|
|
@@ -1131,8 +1133,8 @@ declare const shoppingGuideCards: {
|
|
|
1131
1133
|
}[] | undefined;
|
|
1132
1134
|
coupons?: {
|
|
1133
1135
|
name: string;
|
|
1134
|
-
description?: string | undefined;
|
|
1135
1136
|
imageUrl?: string | undefined;
|
|
1137
|
+
description?: string | undefined;
|
|
1136
1138
|
faceValue?: number | undefined;
|
|
1137
1139
|
salePrice?: number | undefined;
|
|
1138
1140
|
applicableCategories?: string[] | undefined;
|
|
@@ -1178,8 +1180,8 @@ declare const shoppingGuideCards: {
|
|
|
1178
1180
|
observedAt: string;
|
|
1179
1181
|
};
|
|
1180
1182
|
name: string;
|
|
1181
|
-
services: string[];
|
|
1182
1183
|
merchantId: string;
|
|
1184
|
+
services: string[];
|
|
1183
1185
|
location: {
|
|
1184
1186
|
displayText: string;
|
|
1185
1187
|
buildingName?: string | undefined;
|
|
@@ -1208,7 +1210,7 @@ declare const shoppingGuideCards: {
|
|
|
1208
1210
|
code: string;
|
|
1209
1211
|
label: string;
|
|
1210
1212
|
observedAt: string;
|
|
1211
|
-
sourceKind: "
|
|
1213
|
+
sourceKind: "merchant" | "catalog" | "mall" | "policy";
|
|
1212
1214
|
value?: string | undefined;
|
|
1213
1215
|
expiresAt?: string | undefined;
|
|
1214
1216
|
}[] | undefined;
|
|
@@ -1220,8 +1222,8 @@ declare const shoppingGuideCards: {
|
|
|
1220
1222
|
}[] | undefined;
|
|
1221
1223
|
coupons?: {
|
|
1222
1224
|
name: string;
|
|
1223
|
-
description?: string | undefined;
|
|
1224
1225
|
imageUrl?: string | undefined;
|
|
1226
|
+
description?: string | undefined;
|
|
1225
1227
|
faceValue?: number | undefined;
|
|
1226
1228
|
salePrice?: number | undefined;
|
|
1227
1229
|
applicableCategories?: string[] | undefined;
|
|
@@ -1259,8 +1261,8 @@ declare const shoppingGuideCards: {
|
|
|
1259
1261
|
observedAt: string;
|
|
1260
1262
|
};
|
|
1261
1263
|
name: string;
|
|
1262
|
-
services: string[];
|
|
1263
1264
|
merchantId: string;
|
|
1265
|
+
services: string[];
|
|
1264
1266
|
location: {
|
|
1265
1267
|
displayText: string;
|
|
1266
1268
|
buildingName?: string | undefined;
|
|
@@ -1289,7 +1291,7 @@ declare const shoppingGuideCards: {
|
|
|
1289
1291
|
code: string;
|
|
1290
1292
|
label: string;
|
|
1291
1293
|
observedAt: string;
|
|
1292
|
-
sourceKind: "
|
|
1294
|
+
sourceKind: "merchant" | "catalog" | "mall" | "policy";
|
|
1293
1295
|
value?: string | undefined;
|
|
1294
1296
|
expiresAt?: string | undefined;
|
|
1295
1297
|
}[] | undefined;
|
|
@@ -1301,8 +1303,8 @@ declare const shoppingGuideCards: {
|
|
|
1301
1303
|
}[] | undefined;
|
|
1302
1304
|
coupons?: {
|
|
1303
1305
|
name: string;
|
|
1304
|
-
description?: string | undefined;
|
|
1305
1306
|
imageUrl?: string | undefined;
|
|
1307
|
+
description?: string | undefined;
|
|
1306
1308
|
faceValue?: number | undefined;
|
|
1307
1309
|
salePrice?: number | undefined;
|
|
1308
1310
|
applicableCategories?: string[] | undefined;
|
|
@@ -1387,6 +1389,13 @@ declare const shoppingGuideCards: {
|
|
|
1387
1389
|
}>, "many">>;
|
|
1388
1390
|
services: zod.ZodArray<zod.ZodString, "many">;
|
|
1389
1391
|
promotionFacts: zod.ZodArray<zod.ZodString, "many">;
|
|
1392
|
+
indoorNavigation: zod.ZodOptional<zod.ZodObject<{
|
|
1393
|
+
url: zod.ZodString;
|
|
1394
|
+
}, "strip", zod.ZodTypeAny, {
|
|
1395
|
+
url: string;
|
|
1396
|
+
}, {
|
|
1397
|
+
url: string;
|
|
1398
|
+
}>>;
|
|
1390
1399
|
coupons: zod.ZodOptional<zod.ZodArray<zod.ZodObject<{
|
|
1391
1400
|
name: zod.ZodString;
|
|
1392
1401
|
imageUrl: zod.ZodOptional<zod.ZodString>;
|
|
@@ -1401,8 +1410,8 @@ declare const shoppingGuideCards: {
|
|
|
1401
1410
|
offerRef: zod.ZodOptional<zod.ZodString>;
|
|
1402
1411
|
}, "strip", zod.ZodTypeAny, {
|
|
1403
1412
|
name: string;
|
|
1404
|
-
description?: string | undefined;
|
|
1405
1413
|
imageUrl?: string | undefined;
|
|
1414
|
+
description?: string | undefined;
|
|
1406
1415
|
faceValue?: number | undefined;
|
|
1407
1416
|
salePrice?: number | undefined;
|
|
1408
1417
|
applicableCategories?: string[] | undefined;
|
|
@@ -1413,8 +1422,8 @@ declare const shoppingGuideCards: {
|
|
|
1413
1422
|
offerRef?: string | undefined;
|
|
1414
1423
|
}, {
|
|
1415
1424
|
name: string;
|
|
1416
|
-
description?: string | undefined;
|
|
1417
1425
|
imageUrl?: string | undefined;
|
|
1426
|
+
description?: string | undefined;
|
|
1418
1427
|
faceValue?: number | undefined;
|
|
1419
1428
|
salePrice?: number | undefined;
|
|
1420
1429
|
applicableCategories?: string[] | undefined;
|
|
@@ -1435,14 +1444,14 @@ declare const shoppingGuideCards: {
|
|
|
1435
1444
|
code: string;
|
|
1436
1445
|
label: string;
|
|
1437
1446
|
observedAt: string;
|
|
1438
|
-
sourceKind: "
|
|
1447
|
+
sourceKind: "merchant" | "catalog" | "mall" | "policy";
|
|
1439
1448
|
value?: string | undefined;
|
|
1440
1449
|
expiresAt?: string | undefined;
|
|
1441
1450
|
}, {
|
|
1442
1451
|
code: string;
|
|
1443
1452
|
label: string;
|
|
1444
1453
|
observedAt: string;
|
|
1445
|
-
sourceKind: "
|
|
1454
|
+
sourceKind: "merchant" | "catalog" | "mall" | "policy";
|
|
1446
1455
|
value?: string | undefined;
|
|
1447
1456
|
expiresAt?: string | undefined;
|
|
1448
1457
|
}>, "many">;
|
|
@@ -1481,8 +1490,8 @@ declare const shoppingGuideCards: {
|
|
|
1481
1490
|
observedAt: string;
|
|
1482
1491
|
};
|
|
1483
1492
|
name: string;
|
|
1484
|
-
services: string[];
|
|
1485
1493
|
merchantId: string;
|
|
1494
|
+
services: string[];
|
|
1486
1495
|
location: {
|
|
1487
1496
|
displayText: string;
|
|
1488
1497
|
buildingName?: string | undefined;
|
|
@@ -1494,7 +1503,7 @@ declare const shoppingGuideCards: {
|
|
|
1494
1503
|
code: string;
|
|
1495
1504
|
label: string;
|
|
1496
1505
|
observedAt: string;
|
|
1497
|
-
sourceKind: "
|
|
1506
|
+
sourceKind: "merchant" | "catalog" | "mall" | "policy";
|
|
1498
1507
|
value?: string | undefined;
|
|
1499
1508
|
expiresAt?: string | undefined;
|
|
1500
1509
|
}[];
|
|
@@ -1511,9 +1520,9 @@ declare const shoppingGuideCards: {
|
|
|
1511
1520
|
businessCategories: string[];
|
|
1512
1521
|
promotionFacts: string[];
|
|
1513
1522
|
coverUrls: string[];
|
|
1523
|
+
brand?: string | undefined;
|
|
1514
1524
|
description?: string | undefined;
|
|
1515
1525
|
mallId?: string | undefined;
|
|
1516
|
-
brand?: string | undefined;
|
|
1517
1526
|
miniAppId?: string | undefined;
|
|
1518
1527
|
logoUrl?: string | undefined;
|
|
1519
1528
|
contactInfo?: {
|
|
@@ -1522,8 +1531,8 @@ declare const shoppingGuideCards: {
|
|
|
1522
1531
|
}[] | undefined;
|
|
1523
1532
|
coupons?: {
|
|
1524
1533
|
name: string;
|
|
1525
|
-
description?: string | undefined;
|
|
1526
1534
|
imageUrl?: string | undefined;
|
|
1535
|
+
description?: string | undefined;
|
|
1527
1536
|
faceValue?: number | undefined;
|
|
1528
1537
|
salePrice?: number | undefined;
|
|
1529
1538
|
applicableCategories?: string[] | undefined;
|
|
@@ -1533,6 +1542,9 @@ declare const shoppingGuideCards: {
|
|
|
1533
1542
|
freeCouponClaimMode?: "DIRECT" | "REDIRECT" | undefined;
|
|
1534
1543
|
offerRef?: string | undefined;
|
|
1535
1544
|
}[] | undefined;
|
|
1545
|
+
indoorNavigation?: {
|
|
1546
|
+
url: string;
|
|
1547
|
+
} | undefined;
|
|
1536
1548
|
}, {
|
|
1537
1549
|
status: {
|
|
1538
1550
|
code: "unknown" | "enabled" | "disabled";
|
|
@@ -1540,8 +1552,8 @@ declare const shoppingGuideCards: {
|
|
|
1540
1552
|
observedAt: string;
|
|
1541
1553
|
};
|
|
1542
1554
|
name: string;
|
|
1543
|
-
services: string[];
|
|
1544
1555
|
merchantId: string;
|
|
1556
|
+
services: string[];
|
|
1545
1557
|
location: {
|
|
1546
1558
|
displayText: string;
|
|
1547
1559
|
buildingName?: string | undefined;
|
|
@@ -1553,7 +1565,7 @@ declare const shoppingGuideCards: {
|
|
|
1553
1565
|
code: string;
|
|
1554
1566
|
label: string;
|
|
1555
1567
|
observedAt: string;
|
|
1556
|
-
sourceKind: "
|
|
1568
|
+
sourceKind: "merchant" | "catalog" | "mall" | "policy";
|
|
1557
1569
|
value?: string | undefined;
|
|
1558
1570
|
expiresAt?: string | undefined;
|
|
1559
1571
|
}[];
|
|
@@ -1570,9 +1582,9 @@ declare const shoppingGuideCards: {
|
|
|
1570
1582
|
businessCategories: string[];
|
|
1571
1583
|
promotionFacts: string[];
|
|
1572
1584
|
coverUrls: string[];
|
|
1585
|
+
brand?: string | undefined;
|
|
1573
1586
|
description?: string | undefined;
|
|
1574
1587
|
mallId?: string | undefined;
|
|
1575
|
-
brand?: string | undefined;
|
|
1576
1588
|
miniAppId?: string | undefined;
|
|
1577
1589
|
logoUrl?: string | undefined;
|
|
1578
1590
|
contactInfo?: {
|
|
@@ -1581,8 +1593,8 @@ declare const shoppingGuideCards: {
|
|
|
1581
1593
|
}[] | undefined;
|
|
1582
1594
|
coupons?: {
|
|
1583
1595
|
name: string;
|
|
1584
|
-
description?: string | undefined;
|
|
1585
1596
|
imageUrl?: string | undefined;
|
|
1597
|
+
description?: string | undefined;
|
|
1586
1598
|
faceValue?: number | undefined;
|
|
1587
1599
|
salePrice?: number | undefined;
|
|
1588
1600
|
applicableCategories?: string[] | undefined;
|
|
@@ -1592,6 +1604,9 @@ declare const shoppingGuideCards: {
|
|
|
1592
1604
|
freeCouponClaimMode?: "DIRECT" | "REDIRECT" | undefined;
|
|
1593
1605
|
offerRef?: string | undefined;
|
|
1594
1606
|
}[] | undefined;
|
|
1607
|
+
indoorNavigation?: {
|
|
1608
|
+
url: string;
|
|
1609
|
+
} | undefined;
|
|
1595
1610
|
}>>;
|
|
1596
1611
|
readonly 'category-list': _tbox_cn_app_contracts.CardMeta<zod.ZodObject<{
|
|
1597
1612
|
categories: zod.ZodArray<zod.ZodObject<{
|
|
@@ -1892,71 +1907,71 @@ declare const shoppingGuideCards: {
|
|
|
1892
1907
|
amountMinor: zod.ZodNumber;
|
|
1893
1908
|
display: zod.ZodString;
|
|
1894
1909
|
}, "strip", zod.ZodTypeAny, {
|
|
1895
|
-
display: string;
|
|
1896
1910
|
currency: "CNY";
|
|
1897
1911
|
amountMinor: number;
|
|
1898
|
-
}, {
|
|
1899
1912
|
display: string;
|
|
1913
|
+
}, {
|
|
1900
1914
|
currency: "CNY";
|
|
1901
1915
|
amountMinor: number;
|
|
1916
|
+
display: string;
|
|
1902
1917
|
}>>;
|
|
1903
1918
|
original: zod.ZodOptional<zod.ZodObject<{
|
|
1904
1919
|
currency: zod.ZodLiteral<"CNY">;
|
|
1905
1920
|
amountMinor: zod.ZodNumber;
|
|
1906
1921
|
display: zod.ZodString;
|
|
1907
1922
|
}, "strip", zod.ZodTypeAny, {
|
|
1908
|
-
display: string;
|
|
1909
1923
|
currency: "CNY";
|
|
1910
1924
|
amountMinor: number;
|
|
1911
|
-
}, {
|
|
1912
1925
|
display: string;
|
|
1926
|
+
}, {
|
|
1913
1927
|
currency: "CNY";
|
|
1914
1928
|
amountMinor: number;
|
|
1929
|
+
display: string;
|
|
1915
1930
|
}>>;
|
|
1916
1931
|
promotion: zod.ZodOptional<zod.ZodObject<{
|
|
1917
1932
|
currency: zod.ZodLiteral<"CNY">;
|
|
1918
1933
|
amountMinor: zod.ZodNumber;
|
|
1919
1934
|
display: zod.ZodString;
|
|
1920
1935
|
}, "strip", zod.ZodTypeAny, {
|
|
1921
|
-
display: string;
|
|
1922
1936
|
currency: "CNY";
|
|
1923
1937
|
amountMinor: number;
|
|
1924
|
-
}, {
|
|
1925
1938
|
display: string;
|
|
1939
|
+
}, {
|
|
1926
1940
|
currency: "CNY";
|
|
1927
1941
|
amountMinor: number;
|
|
1942
|
+
display: string;
|
|
1928
1943
|
}>>;
|
|
1929
1944
|
}, "strip", zod.ZodTypeAny, {
|
|
1930
1945
|
sale?: {
|
|
1931
|
-
display: string;
|
|
1932
1946
|
currency: "CNY";
|
|
1933
1947
|
amountMinor: number;
|
|
1948
|
+
display: string;
|
|
1934
1949
|
} | undefined;
|
|
1935
1950
|
original?: {
|
|
1936
|
-
display: string;
|
|
1937
1951
|
currency: "CNY";
|
|
1938
1952
|
amountMinor: number;
|
|
1953
|
+
display: string;
|
|
1939
1954
|
} | undefined;
|
|
1940
1955
|
promotion?: {
|
|
1941
|
-
display: string;
|
|
1942
1956
|
currency: "CNY";
|
|
1943
1957
|
amountMinor: number;
|
|
1958
|
+
display: string;
|
|
1944
1959
|
} | undefined;
|
|
1945
1960
|
}, {
|
|
1946
1961
|
sale?: {
|
|
1947
|
-
display: string;
|
|
1948
1962
|
currency: "CNY";
|
|
1949
1963
|
amountMinor: number;
|
|
1964
|
+
display: string;
|
|
1950
1965
|
} | undefined;
|
|
1951
1966
|
original?: {
|
|
1952
|
-
display: string;
|
|
1953
1967
|
currency: "CNY";
|
|
1954
1968
|
amountMinor: number;
|
|
1969
|
+
display: string;
|
|
1955
1970
|
} | undefined;
|
|
1956
1971
|
promotion?: {
|
|
1957
|
-
display: string;
|
|
1958
1972
|
currency: "CNY";
|
|
1959
1973
|
amountMinor: number;
|
|
1974
|
+
display: string;
|
|
1960
1975
|
} | undefined;
|
|
1961
1976
|
}>;
|
|
1962
1977
|
availability: zod.ZodObject<{
|
|
@@ -1967,13 +1982,13 @@ declare const shoppingGuideCards: {
|
|
|
1967
1982
|
}, "strip", zod.ZodTypeAny, {
|
|
1968
1983
|
status: "unknown" | "in_stock" | "out_of_stock" | "limited";
|
|
1969
1984
|
label: string;
|
|
1970
|
-
observedAt: string;
|
|
1971
1985
|
marketable: boolean;
|
|
1986
|
+
observedAt: string;
|
|
1972
1987
|
}, {
|
|
1973
1988
|
status: "unknown" | "in_stock" | "out_of_stock" | "limited";
|
|
1974
1989
|
label: string;
|
|
1975
|
-
observedAt: string;
|
|
1976
1990
|
marketable: boolean;
|
|
1991
|
+
observedAt: string;
|
|
1977
1992
|
}>;
|
|
1978
1993
|
merchant: zod.ZodObject<{
|
|
1979
1994
|
merchantId: zod.ZodString;
|
|
@@ -1997,163 +2012,163 @@ declare const shoppingGuideCards: {
|
|
|
1997
2012
|
}>, "many">;
|
|
1998
2013
|
caveats: zod.ZodArray<zod.ZodString, "many">;
|
|
1999
2014
|
}, "strip", zod.ZodTypeAny, {
|
|
2015
|
+
productId: string;
|
|
2000
2016
|
name: string;
|
|
2001
2017
|
price: {
|
|
2002
2018
|
sale?: {
|
|
2003
|
-
display: string;
|
|
2004
2019
|
currency: "CNY";
|
|
2005
2020
|
amountMinor: number;
|
|
2021
|
+
display: string;
|
|
2006
2022
|
} | undefined;
|
|
2007
2023
|
original?: {
|
|
2008
|
-
display: string;
|
|
2009
2024
|
currency: "CNY";
|
|
2010
2025
|
amountMinor: number;
|
|
2026
|
+
display: string;
|
|
2011
2027
|
} | undefined;
|
|
2012
2028
|
promotion?: {
|
|
2013
|
-
display: string;
|
|
2014
2029
|
currency: "CNY";
|
|
2015
2030
|
amountMinor: number;
|
|
2031
|
+
display: string;
|
|
2016
2032
|
} | undefined;
|
|
2017
2033
|
};
|
|
2018
|
-
attributes: {
|
|
2019
|
-
value: string;
|
|
2020
|
-
name: string;
|
|
2021
|
-
}[];
|
|
2022
|
-
merchant: {
|
|
2023
|
-
name: string;
|
|
2024
|
-
merchantId: string;
|
|
2025
|
-
};
|
|
2026
|
-
productId: string;
|
|
2027
2034
|
availability: {
|
|
2028
2035
|
status: "unknown" | "in_stock" | "out_of_stock" | "limited";
|
|
2029
2036
|
label: string;
|
|
2030
|
-
observedAt: string;
|
|
2031
2037
|
marketable: boolean;
|
|
2038
|
+
observedAt: string;
|
|
2039
|
+
};
|
|
2040
|
+
merchant: {
|
|
2041
|
+
name: string;
|
|
2042
|
+
merchantId: string;
|
|
2032
2043
|
};
|
|
2044
|
+
attributes: {
|
|
2045
|
+
value: string;
|
|
2046
|
+
name: string;
|
|
2047
|
+
}[];
|
|
2033
2048
|
caveats: string[];
|
|
2034
|
-
brand?: string | undefined;
|
|
2035
2049
|
imageUrl?: string | undefined;
|
|
2050
|
+
brand?: string | undefined;
|
|
2036
2051
|
}, {
|
|
2052
|
+
productId: string;
|
|
2037
2053
|
name: string;
|
|
2038
2054
|
price: {
|
|
2039
2055
|
sale?: {
|
|
2040
|
-
display: string;
|
|
2041
2056
|
currency: "CNY";
|
|
2042
2057
|
amountMinor: number;
|
|
2058
|
+
display: string;
|
|
2043
2059
|
} | undefined;
|
|
2044
2060
|
original?: {
|
|
2045
|
-
display: string;
|
|
2046
2061
|
currency: "CNY";
|
|
2047
2062
|
amountMinor: number;
|
|
2063
|
+
display: string;
|
|
2048
2064
|
} | undefined;
|
|
2049
2065
|
promotion?: {
|
|
2050
|
-
display: string;
|
|
2051
2066
|
currency: "CNY";
|
|
2052
2067
|
amountMinor: number;
|
|
2053
|
-
|
|
2054
|
-
|
|
2055
|
-
attributes: {
|
|
2056
|
-
value: string;
|
|
2057
|
-
name: string;
|
|
2058
|
-
}[];
|
|
2059
|
-
merchant: {
|
|
2060
|
-
name: string;
|
|
2061
|
-
merchantId: string;
|
|
2068
|
+
display: string;
|
|
2069
|
+
} | undefined;
|
|
2062
2070
|
};
|
|
2063
|
-
productId: string;
|
|
2064
2071
|
availability: {
|
|
2065
2072
|
status: "unknown" | "in_stock" | "out_of_stock" | "limited";
|
|
2066
2073
|
label: string;
|
|
2067
|
-
observedAt: string;
|
|
2068
2074
|
marketable: boolean;
|
|
2075
|
+
observedAt: string;
|
|
2076
|
+
};
|
|
2077
|
+
merchant: {
|
|
2078
|
+
name: string;
|
|
2079
|
+
merchantId: string;
|
|
2069
2080
|
};
|
|
2081
|
+
attributes: {
|
|
2082
|
+
value: string;
|
|
2083
|
+
name: string;
|
|
2084
|
+
}[];
|
|
2070
2085
|
caveats: string[];
|
|
2071
|
-
brand?: string | undefined;
|
|
2072
2086
|
imageUrl?: string | undefined;
|
|
2087
|
+
brand?: string | undefined;
|
|
2073
2088
|
}>, "many">;
|
|
2074
2089
|
refreshRequiredAt: zod.ZodOptional<zod.ZodString>;
|
|
2075
2090
|
observedAt: zod.ZodString;
|
|
2076
2091
|
}, "strip", zod.ZodTypeAny, {
|
|
2077
|
-
observedAt: string;
|
|
2078
2092
|
products: {
|
|
2093
|
+
productId: string;
|
|
2079
2094
|
name: string;
|
|
2080
2095
|
price: {
|
|
2081
2096
|
sale?: {
|
|
2082
|
-
display: string;
|
|
2083
2097
|
currency: "CNY";
|
|
2084
2098
|
amountMinor: number;
|
|
2099
|
+
display: string;
|
|
2085
2100
|
} | undefined;
|
|
2086
2101
|
original?: {
|
|
2087
|
-
display: string;
|
|
2088
2102
|
currency: "CNY";
|
|
2089
2103
|
amountMinor: number;
|
|
2104
|
+
display: string;
|
|
2090
2105
|
} | undefined;
|
|
2091
2106
|
promotion?: {
|
|
2092
|
-
display: string;
|
|
2093
2107
|
currency: "CNY";
|
|
2094
2108
|
amountMinor: number;
|
|
2109
|
+
display: string;
|
|
2095
2110
|
} | undefined;
|
|
2096
2111
|
};
|
|
2097
|
-
attributes: {
|
|
2098
|
-
value: string;
|
|
2099
|
-
name: string;
|
|
2100
|
-
}[];
|
|
2101
|
-
merchant: {
|
|
2102
|
-
name: string;
|
|
2103
|
-
merchantId: string;
|
|
2104
|
-
};
|
|
2105
|
-
productId: string;
|
|
2106
2112
|
availability: {
|
|
2107
2113
|
status: "unknown" | "in_stock" | "out_of_stock" | "limited";
|
|
2108
2114
|
label: string;
|
|
2109
|
-
observedAt: string;
|
|
2110
2115
|
marketable: boolean;
|
|
2116
|
+
observedAt: string;
|
|
2117
|
+
};
|
|
2118
|
+
merchant: {
|
|
2119
|
+
name: string;
|
|
2120
|
+
merchantId: string;
|
|
2111
2121
|
};
|
|
2122
|
+
attributes: {
|
|
2123
|
+
value: string;
|
|
2124
|
+
name: string;
|
|
2125
|
+
}[];
|
|
2112
2126
|
caveats: string[];
|
|
2113
|
-
brand?: string | undefined;
|
|
2114
2127
|
imageUrl?: string | undefined;
|
|
2128
|
+
brand?: string | undefined;
|
|
2115
2129
|
}[];
|
|
2130
|
+
observedAt: string;
|
|
2116
2131
|
refreshRequiredAt?: string | undefined;
|
|
2117
2132
|
}, {
|
|
2118
|
-
observedAt: string;
|
|
2119
2133
|
products: {
|
|
2134
|
+
productId: string;
|
|
2120
2135
|
name: string;
|
|
2121
2136
|
price: {
|
|
2122
2137
|
sale?: {
|
|
2123
|
-
display: string;
|
|
2124
2138
|
currency: "CNY";
|
|
2125
2139
|
amountMinor: number;
|
|
2140
|
+
display: string;
|
|
2126
2141
|
} | undefined;
|
|
2127
2142
|
original?: {
|
|
2128
|
-
display: string;
|
|
2129
2143
|
currency: "CNY";
|
|
2130
2144
|
amountMinor: number;
|
|
2145
|
+
display: string;
|
|
2131
2146
|
} | undefined;
|
|
2132
2147
|
promotion?: {
|
|
2133
|
-
display: string;
|
|
2134
2148
|
currency: "CNY";
|
|
2135
2149
|
amountMinor: number;
|
|
2150
|
+
display: string;
|
|
2136
2151
|
} | undefined;
|
|
2137
2152
|
};
|
|
2138
|
-
attributes: {
|
|
2139
|
-
value: string;
|
|
2140
|
-
name: string;
|
|
2141
|
-
}[];
|
|
2142
|
-
merchant: {
|
|
2143
|
-
name: string;
|
|
2144
|
-
merchantId: string;
|
|
2145
|
-
};
|
|
2146
|
-
productId: string;
|
|
2147
2153
|
availability: {
|
|
2148
2154
|
status: "unknown" | "in_stock" | "out_of_stock" | "limited";
|
|
2149
2155
|
label: string;
|
|
2150
|
-
observedAt: string;
|
|
2151
2156
|
marketable: boolean;
|
|
2157
|
+
observedAt: string;
|
|
2158
|
+
};
|
|
2159
|
+
merchant: {
|
|
2160
|
+
name: string;
|
|
2161
|
+
merchantId: string;
|
|
2152
2162
|
};
|
|
2163
|
+
attributes: {
|
|
2164
|
+
value: string;
|
|
2165
|
+
name: string;
|
|
2166
|
+
}[];
|
|
2153
2167
|
caveats: string[];
|
|
2154
|
-
brand?: string | undefined;
|
|
2155
2168
|
imageUrl?: string | undefined;
|
|
2169
|
+
brand?: string | undefined;
|
|
2156
2170
|
}[];
|
|
2171
|
+
observedAt: string;
|
|
2157
2172
|
refreshRequiredAt?: string | undefined;
|
|
2158
2173
|
}>>;
|
|
2159
2174
|
readonly 'mall-directory': _tbox_cn_app_contracts.CardMeta<zod.ZodObject<{
|
|
@@ -2267,9 +2282,9 @@ declare const shoppingGuideCards: {
|
|
|
2267
2282
|
}>, "many">;
|
|
2268
2283
|
observedAt: zod.ZodString;
|
|
2269
2284
|
}, "strip", zod.ZodTypeAny, {
|
|
2285
|
+
observedAt: string;
|
|
2270
2286
|
mallId: string;
|
|
2271
2287
|
mallName: string;
|
|
2272
|
-
observedAt: string;
|
|
2273
2288
|
buildings: {
|
|
2274
2289
|
buildingName: string;
|
|
2275
2290
|
buildingCode: string;
|
|
@@ -2291,9 +2306,9 @@ declare const shoppingGuideCards: {
|
|
|
2291
2306
|
}[];
|
|
2292
2307
|
}[];
|
|
2293
2308
|
}, {
|
|
2309
|
+
observedAt: string;
|
|
2294
2310
|
mallId: string;
|
|
2295
2311
|
mallName: string;
|
|
2296
|
-
observedAt: string;
|
|
2297
2312
|
buildings: {
|
|
2298
2313
|
buildingName: string;
|
|
2299
2314
|
buildingCode: string;
|
|
@@ -2815,9 +2830,9 @@ declare const shoppingGuideCards: {
|
|
|
2815
2830
|
})[];
|
|
2816
2831
|
businessCategories: string[];
|
|
2817
2832
|
promotionFacts: string[];
|
|
2833
|
+
brand?: string | undefined;
|
|
2818
2834
|
description?: string | undefined;
|
|
2819
2835
|
services?: string[] | undefined;
|
|
2820
|
-
brand?: string | undefined;
|
|
2821
2836
|
logoUrl?: string | undefined;
|
|
2822
2837
|
coverUrl?: string | undefined;
|
|
2823
2838
|
contactInfo?: {
|
|
@@ -2854,9 +2869,9 @@ declare const shoppingGuideCards: {
|
|
|
2854
2869
|
})[];
|
|
2855
2870
|
businessCategories: string[];
|
|
2856
2871
|
promotionFacts: string[];
|
|
2872
|
+
brand?: string | undefined;
|
|
2857
2873
|
description?: string | undefined;
|
|
2858
2874
|
services?: string[] | undefined;
|
|
2859
|
-
brand?: string | undefined;
|
|
2860
2875
|
logoUrl?: string | undefined;
|
|
2861
2876
|
coverUrl?: string | undefined;
|
|
2862
2877
|
contactInfo?: {
|
|
@@ -2870,6 +2885,7 @@ declare const shoppingGuideCards: {
|
|
|
2870
2885
|
noResultsReason: zod.ZodOptional<zod.ZodString>;
|
|
2871
2886
|
observedAt: zod.ZodString;
|
|
2872
2887
|
}, "strip", zod.ZodTypeAny, {
|
|
2888
|
+
observedAt: string;
|
|
2873
2889
|
items: {
|
|
2874
2890
|
status: {
|
|
2875
2891
|
code: "unknown" | "enabled" | "disabled";
|
|
@@ -2897,9 +2913,9 @@ declare const shoppingGuideCards: {
|
|
|
2897
2913
|
})[];
|
|
2898
2914
|
businessCategories: string[];
|
|
2899
2915
|
promotionFacts: string[];
|
|
2916
|
+
brand?: string | undefined;
|
|
2900
2917
|
description?: string | undefined;
|
|
2901
2918
|
services?: string[] | undefined;
|
|
2902
|
-
brand?: string | undefined;
|
|
2903
2919
|
logoUrl?: string | undefined;
|
|
2904
2920
|
coverUrl?: string | undefined;
|
|
2905
2921
|
contactInfo?: {
|
|
@@ -2910,7 +2926,6 @@ declare const shoppingGuideCards: {
|
|
|
2910
2926
|
rating?: string | undefined;
|
|
2911
2927
|
avgSpend?: string | undefined;
|
|
2912
2928
|
}[];
|
|
2913
|
-
observedAt: string;
|
|
2914
2929
|
summary?: string | undefined;
|
|
2915
2930
|
noResultsReason?: string | undefined;
|
|
2916
2931
|
categoryTabs?: {
|
|
@@ -2918,6 +2933,7 @@ declare const shoppingGuideCards: {
|
|
|
2918
2933
|
name: string;
|
|
2919
2934
|
}[] | undefined;
|
|
2920
2935
|
}, {
|
|
2936
|
+
observedAt: string;
|
|
2921
2937
|
items: {
|
|
2922
2938
|
status: {
|
|
2923
2939
|
code: "unknown" | "enabled" | "disabled";
|
|
@@ -2945,9 +2961,9 @@ declare const shoppingGuideCards: {
|
|
|
2945
2961
|
})[];
|
|
2946
2962
|
businessCategories: string[];
|
|
2947
2963
|
promotionFacts: string[];
|
|
2964
|
+
brand?: string | undefined;
|
|
2948
2965
|
description?: string | undefined;
|
|
2949
2966
|
services?: string[] | undefined;
|
|
2950
|
-
brand?: string | undefined;
|
|
2951
2967
|
logoUrl?: string | undefined;
|
|
2952
2968
|
coverUrl?: string | undefined;
|
|
2953
2969
|
contactInfo?: {
|
|
@@ -2958,7 +2974,6 @@ declare const shoppingGuideCards: {
|
|
|
2958
2974
|
rating?: string | undefined;
|
|
2959
2975
|
avgSpend?: string | undefined;
|
|
2960
2976
|
}[];
|
|
2961
|
-
observedAt: string;
|
|
2962
2977
|
summary?: string | undefined;
|
|
2963
2978
|
noResultsReason?: string | undefined;
|
|
2964
2979
|
categoryTabs?: {
|
|
@@ -2980,6 +2995,7 @@ declare function createShoppingGuideTools(opts: {
|
|
|
2980
2995
|
buildingCode?: string | undefined;
|
|
2981
2996
|
floorCode?: string | undefined;
|
|
2982
2997
|
businessCategory?: string | undefined;
|
|
2998
|
+
excludedMerchantIds?: string[] | undefined;
|
|
2983
2999
|
}, unknown, unknown, unknown, _mastra_core_tools.ToolExecutionContext<unknown, unknown, unknown>, "search-shops", unknown>;
|
|
2984
3000
|
readonly getShop: _tbox_cn_app_agent_sdk_server.Tool<{
|
|
2985
3001
|
shopId: string;
|
|
@@ -3017,6 +3033,16 @@ interface ShoppingGuidePorts {
|
|
|
3017
3033
|
}
|
|
3018
3034
|
declare function resolveShoppingGuidePorts(reqCtx: RequestContext, ctx: ServerContext): Promise<ShoppingGuidePorts>;
|
|
3019
3035
|
|
|
3036
|
+
/**
|
|
3037
|
+
* module-shopping-guide HTTP 数据路由(平台侧挂 'shopping-guide' 前缀 → /api/m/shopping-guide/*)。
|
|
3038
|
+
* GET /shop-detail?shopId=xxx[&mallId=xxx]:供客户端半屏 sheet 直接拉取完整门店详情数据,绕过 AI 对话链。
|
|
3039
|
+
* - mallId 可选:有值时注入 scope(生产),缺省时走本地兜底(开发/演示);
|
|
3040
|
+
* - 室内导航:与门店查询同一商场范围(同一 reqCtx 解析的 scope);与 get-shop 工具共用
|
|
3041
|
+
* withIndoorNavigationTarget 单点——无有效跳转目标省略字段,详情照常返回(增强面 fail-soft)。
|
|
3042
|
+
*/
|
|
3043
|
+
|
|
3044
|
+
declare function createShoppingGuideRouter(ctx: ServerContext): Router;
|
|
3045
|
+
|
|
3020
3046
|
declare const serverModule: {
|
|
3021
3047
|
declaration: {
|
|
3022
3048
|
moduleId: string;
|
|
@@ -3037,71 +3063,71 @@ declare const serverModule: {
|
|
|
3037
3063
|
amountMinor: zod.ZodNumber;
|
|
3038
3064
|
display: zod.ZodString;
|
|
3039
3065
|
}, "strip", zod.ZodTypeAny, {
|
|
3040
|
-
display: string;
|
|
3041
3066
|
currency: "CNY";
|
|
3042
3067
|
amountMinor: number;
|
|
3043
|
-
}, {
|
|
3044
3068
|
display: string;
|
|
3069
|
+
}, {
|
|
3045
3070
|
currency: "CNY";
|
|
3046
3071
|
amountMinor: number;
|
|
3072
|
+
display: string;
|
|
3047
3073
|
}>>;
|
|
3048
3074
|
original: zod.ZodOptional<zod.ZodObject<{
|
|
3049
3075
|
currency: zod.ZodLiteral<"CNY">;
|
|
3050
3076
|
amountMinor: zod.ZodNumber;
|
|
3051
3077
|
display: zod.ZodString;
|
|
3052
3078
|
}, "strip", zod.ZodTypeAny, {
|
|
3053
|
-
display: string;
|
|
3054
3079
|
currency: "CNY";
|
|
3055
3080
|
amountMinor: number;
|
|
3056
|
-
}, {
|
|
3057
3081
|
display: string;
|
|
3082
|
+
}, {
|
|
3058
3083
|
currency: "CNY";
|
|
3059
3084
|
amountMinor: number;
|
|
3085
|
+
display: string;
|
|
3060
3086
|
}>>;
|
|
3061
3087
|
promotion: zod.ZodOptional<zod.ZodObject<{
|
|
3062
3088
|
currency: zod.ZodLiteral<"CNY">;
|
|
3063
3089
|
amountMinor: zod.ZodNumber;
|
|
3064
3090
|
display: zod.ZodString;
|
|
3065
3091
|
}, "strip", zod.ZodTypeAny, {
|
|
3066
|
-
display: string;
|
|
3067
3092
|
currency: "CNY";
|
|
3068
3093
|
amountMinor: number;
|
|
3069
|
-
}, {
|
|
3070
3094
|
display: string;
|
|
3095
|
+
}, {
|
|
3071
3096
|
currency: "CNY";
|
|
3072
3097
|
amountMinor: number;
|
|
3098
|
+
display: string;
|
|
3073
3099
|
}>>;
|
|
3074
3100
|
}, "strip", zod.ZodTypeAny, {
|
|
3075
3101
|
sale?: {
|
|
3076
|
-
display: string;
|
|
3077
3102
|
currency: "CNY";
|
|
3078
3103
|
amountMinor: number;
|
|
3104
|
+
display: string;
|
|
3079
3105
|
} | undefined;
|
|
3080
3106
|
original?: {
|
|
3081
|
-
display: string;
|
|
3082
3107
|
currency: "CNY";
|
|
3083
3108
|
amountMinor: number;
|
|
3109
|
+
display: string;
|
|
3084
3110
|
} | undefined;
|
|
3085
3111
|
promotion?: {
|
|
3086
|
-
display: string;
|
|
3087
3112
|
currency: "CNY";
|
|
3088
3113
|
amountMinor: number;
|
|
3114
|
+
display: string;
|
|
3089
3115
|
} | undefined;
|
|
3090
3116
|
}, {
|
|
3091
3117
|
sale?: {
|
|
3092
|
-
display: string;
|
|
3093
3118
|
currency: "CNY";
|
|
3094
3119
|
amountMinor: number;
|
|
3120
|
+
display: string;
|
|
3095
3121
|
} | undefined;
|
|
3096
3122
|
original?: {
|
|
3097
|
-
display: string;
|
|
3098
3123
|
currency: "CNY";
|
|
3099
3124
|
amountMinor: number;
|
|
3125
|
+
display: string;
|
|
3100
3126
|
} | undefined;
|
|
3101
3127
|
promotion?: {
|
|
3102
|
-
display: string;
|
|
3103
3128
|
currency: "CNY";
|
|
3104
3129
|
amountMinor: number;
|
|
3130
|
+
display: string;
|
|
3105
3131
|
} | undefined;
|
|
3106
3132
|
}>;
|
|
3107
3133
|
availability: zod.ZodObject<{
|
|
@@ -3112,13 +3138,13 @@ declare const serverModule: {
|
|
|
3112
3138
|
}, "strip", zod.ZodTypeAny, {
|
|
3113
3139
|
status: "unknown" | "in_stock" | "out_of_stock" | "limited";
|
|
3114
3140
|
label: string;
|
|
3115
|
-
observedAt: string;
|
|
3116
3141
|
marketable: boolean;
|
|
3142
|
+
observedAt: string;
|
|
3117
3143
|
}, {
|
|
3118
3144
|
status: "unknown" | "in_stock" | "out_of_stock" | "limited";
|
|
3119
3145
|
label: string;
|
|
3120
|
-
observedAt: string;
|
|
3121
3146
|
marketable: boolean;
|
|
3147
|
+
observedAt: string;
|
|
3122
3148
|
}>;
|
|
3123
3149
|
merchant: zod.ZodObject<{
|
|
3124
3150
|
merchantId: zod.ZodString;
|
|
@@ -3185,14 +3211,14 @@ declare const serverModule: {
|
|
|
3185
3211
|
code: string;
|
|
3186
3212
|
label: string;
|
|
3187
3213
|
observedAt: string;
|
|
3188
|
-
sourceKind: "
|
|
3214
|
+
sourceKind: "merchant" | "catalog" | "mall" | "policy";
|
|
3189
3215
|
value?: string | undefined;
|
|
3190
3216
|
expiresAt?: string | undefined;
|
|
3191
3217
|
}, {
|
|
3192
3218
|
code: string;
|
|
3193
3219
|
label: string;
|
|
3194
3220
|
observedAt: string;
|
|
3195
|
-
sourceKind: "
|
|
3221
|
+
sourceKind: "merchant" | "catalog" | "mall" | "policy";
|
|
3196
3222
|
value?: string | undefined;
|
|
3197
3223
|
expiresAt?: string | undefined;
|
|
3198
3224
|
}>, "many">>;
|
|
@@ -3226,24 +3252,31 @@ declare const serverModule: {
|
|
|
3226
3252
|
url: string;
|
|
3227
3253
|
}>]>, "many">;
|
|
3228
3254
|
}, "strip", zod.ZodTypeAny, {
|
|
3255
|
+
productId: string;
|
|
3229
3256
|
name: string;
|
|
3230
3257
|
price: {
|
|
3231
3258
|
sale?: {
|
|
3232
|
-
display: string;
|
|
3233
3259
|
currency: "CNY";
|
|
3234
3260
|
amountMinor: number;
|
|
3261
|
+
display: string;
|
|
3235
3262
|
} | undefined;
|
|
3236
3263
|
original?: {
|
|
3237
|
-
display: string;
|
|
3238
3264
|
currency: "CNY";
|
|
3239
3265
|
amountMinor: number;
|
|
3266
|
+
display: string;
|
|
3240
3267
|
} | undefined;
|
|
3241
3268
|
promotion?: {
|
|
3242
|
-
display: string;
|
|
3243
3269
|
currency: "CNY";
|
|
3244
3270
|
amountMinor: number;
|
|
3271
|
+
display: string;
|
|
3245
3272
|
} | undefined;
|
|
3246
3273
|
};
|
|
3274
|
+
availability: {
|
|
3275
|
+
status: "unknown" | "in_stock" | "out_of_stock" | "limited";
|
|
3276
|
+
label: string;
|
|
3277
|
+
marketable: boolean;
|
|
3278
|
+
observedAt: string;
|
|
3279
|
+
};
|
|
3247
3280
|
merchant: {
|
|
3248
3281
|
name: string;
|
|
3249
3282
|
merchantId: string;
|
|
@@ -3255,16 +3288,9 @@ declare const serverModule: {
|
|
|
3255
3288
|
poiId?: string | undefined;
|
|
3256
3289
|
} | undefined;
|
|
3257
3290
|
};
|
|
3258
|
-
|
|
3291
|
+
caveats: string[];
|
|
3259
3292
|
categoryPath: string[];
|
|
3260
|
-
availability: {
|
|
3261
|
-
status: "unknown" | "in_stock" | "out_of_stock" | "limited";
|
|
3262
|
-
label: string;
|
|
3263
|
-
observedAt: string;
|
|
3264
|
-
marketable: boolean;
|
|
3265
|
-
};
|
|
3266
3293
|
badges: string[];
|
|
3267
|
-
caveats: string[];
|
|
3268
3294
|
itemActions: ({
|
|
3269
3295
|
label: string;
|
|
3270
3296
|
kind: "send";
|
|
@@ -3275,8 +3301,8 @@ declare const serverModule: {
|
|
|
3275
3301
|
kind: "link";
|
|
3276
3302
|
url: string;
|
|
3277
3303
|
})[];
|
|
3278
|
-
brand?: string | undefined;
|
|
3279
3304
|
imageUrl?: string | undefined;
|
|
3305
|
+
brand?: string | undefined;
|
|
3280
3306
|
reasons?: {
|
|
3281
3307
|
code: string;
|
|
3282
3308
|
label: string;
|
|
@@ -3285,29 +3311,36 @@ declare const serverModule: {
|
|
|
3285
3311
|
code: string;
|
|
3286
3312
|
label: string;
|
|
3287
3313
|
observedAt: string;
|
|
3288
|
-
sourceKind: "
|
|
3314
|
+
sourceKind: "merchant" | "catalog" | "mall" | "policy";
|
|
3289
3315
|
value?: string | undefined;
|
|
3290
3316
|
expiresAt?: string | undefined;
|
|
3291
3317
|
}[] | undefined;
|
|
3292
3318
|
}, {
|
|
3319
|
+
productId: string;
|
|
3293
3320
|
name: string;
|
|
3294
3321
|
price: {
|
|
3295
3322
|
sale?: {
|
|
3296
|
-
display: string;
|
|
3297
3323
|
currency: "CNY";
|
|
3298
3324
|
amountMinor: number;
|
|
3325
|
+
display: string;
|
|
3299
3326
|
} | undefined;
|
|
3300
3327
|
original?: {
|
|
3301
|
-
display: string;
|
|
3302
3328
|
currency: "CNY";
|
|
3303
3329
|
amountMinor: number;
|
|
3330
|
+
display: string;
|
|
3304
3331
|
} | undefined;
|
|
3305
3332
|
promotion?: {
|
|
3306
|
-
display: string;
|
|
3307
3333
|
currency: "CNY";
|
|
3308
3334
|
amountMinor: number;
|
|
3335
|
+
display: string;
|
|
3309
3336
|
} | undefined;
|
|
3310
3337
|
};
|
|
3338
|
+
availability: {
|
|
3339
|
+
status: "unknown" | "in_stock" | "out_of_stock" | "limited";
|
|
3340
|
+
label: string;
|
|
3341
|
+
marketable: boolean;
|
|
3342
|
+
observedAt: string;
|
|
3343
|
+
};
|
|
3311
3344
|
merchant: {
|
|
3312
3345
|
name: string;
|
|
3313
3346
|
merchantId: string;
|
|
@@ -3319,16 +3352,9 @@ declare const serverModule: {
|
|
|
3319
3352
|
poiId?: string | undefined;
|
|
3320
3353
|
} | undefined;
|
|
3321
3354
|
};
|
|
3322
|
-
|
|
3355
|
+
caveats: string[];
|
|
3323
3356
|
categoryPath: string[];
|
|
3324
|
-
availability: {
|
|
3325
|
-
status: "unknown" | "in_stock" | "out_of_stock" | "limited";
|
|
3326
|
-
label: string;
|
|
3327
|
-
observedAt: string;
|
|
3328
|
-
marketable: boolean;
|
|
3329
|
-
};
|
|
3330
3357
|
badges: string[];
|
|
3331
|
-
caveats: string[];
|
|
3332
3358
|
itemActions: ({
|
|
3333
3359
|
label: string;
|
|
3334
3360
|
kind: "send";
|
|
@@ -3339,8 +3365,8 @@ declare const serverModule: {
|
|
|
3339
3365
|
kind: "link";
|
|
3340
3366
|
url: string;
|
|
3341
3367
|
})[];
|
|
3342
|
-
brand?: string | undefined;
|
|
3343
3368
|
imageUrl?: string | undefined;
|
|
3369
|
+
brand?: string | undefined;
|
|
3344
3370
|
reasons?: {
|
|
3345
3371
|
code: string;
|
|
3346
3372
|
label: string;
|
|
@@ -3349,7 +3375,7 @@ declare const serverModule: {
|
|
|
3349
3375
|
code: string;
|
|
3350
3376
|
label: string;
|
|
3351
3377
|
observedAt: string;
|
|
3352
|
-
sourceKind: "
|
|
3378
|
+
sourceKind: "merchant" | "catalog" | "mall" | "policy";
|
|
3353
3379
|
value?: string | undefined;
|
|
3354
3380
|
expiresAt?: string | undefined;
|
|
3355
3381
|
}[] | undefined;
|
|
@@ -3383,24 +3409,31 @@ declare const serverModule: {
|
|
|
3383
3409
|
}>, "many">;
|
|
3384
3410
|
}, "strip", zod.ZodTypeAny, {
|
|
3385
3411
|
items: {
|
|
3412
|
+
productId: string;
|
|
3386
3413
|
name: string;
|
|
3387
3414
|
price: {
|
|
3388
3415
|
sale?: {
|
|
3389
|
-
display: string;
|
|
3390
3416
|
currency: "CNY";
|
|
3391
3417
|
amountMinor: number;
|
|
3418
|
+
display: string;
|
|
3392
3419
|
} | undefined;
|
|
3393
3420
|
original?: {
|
|
3394
|
-
display: string;
|
|
3395
3421
|
currency: "CNY";
|
|
3396
3422
|
amountMinor: number;
|
|
3423
|
+
display: string;
|
|
3397
3424
|
} | undefined;
|
|
3398
3425
|
promotion?: {
|
|
3399
|
-
display: string;
|
|
3400
3426
|
currency: "CNY";
|
|
3401
3427
|
amountMinor: number;
|
|
3428
|
+
display: string;
|
|
3402
3429
|
} | undefined;
|
|
3403
3430
|
};
|
|
3431
|
+
availability: {
|
|
3432
|
+
status: "unknown" | "in_stock" | "out_of_stock" | "limited";
|
|
3433
|
+
label: string;
|
|
3434
|
+
marketable: boolean;
|
|
3435
|
+
observedAt: string;
|
|
3436
|
+
};
|
|
3404
3437
|
merchant: {
|
|
3405
3438
|
name: string;
|
|
3406
3439
|
merchantId: string;
|
|
@@ -3412,16 +3445,9 @@ declare const serverModule: {
|
|
|
3412
3445
|
poiId?: string | undefined;
|
|
3413
3446
|
} | undefined;
|
|
3414
3447
|
};
|
|
3415
|
-
|
|
3448
|
+
caveats: string[];
|
|
3416
3449
|
categoryPath: string[];
|
|
3417
|
-
availability: {
|
|
3418
|
-
status: "unknown" | "in_stock" | "out_of_stock" | "limited";
|
|
3419
|
-
label: string;
|
|
3420
|
-
observedAt: string;
|
|
3421
|
-
marketable: boolean;
|
|
3422
|
-
};
|
|
3423
3450
|
badges: string[];
|
|
3424
|
-
caveats: string[];
|
|
3425
3451
|
itemActions: ({
|
|
3426
3452
|
label: string;
|
|
3427
3453
|
kind: "send";
|
|
@@ -3432,8 +3458,8 @@ declare const serverModule: {
|
|
|
3432
3458
|
kind: "link";
|
|
3433
3459
|
url: string;
|
|
3434
3460
|
})[];
|
|
3435
|
-
brand?: string | undefined;
|
|
3436
3461
|
imageUrl?: string | undefined;
|
|
3462
|
+
brand?: string | undefined;
|
|
3437
3463
|
reasons?: {
|
|
3438
3464
|
code: string;
|
|
3439
3465
|
label: string;
|
|
@@ -3442,7 +3468,7 @@ declare const serverModule: {
|
|
|
3442
3468
|
code: string;
|
|
3443
3469
|
label: string;
|
|
3444
3470
|
observedAt: string;
|
|
3445
|
-
sourceKind: "
|
|
3471
|
+
sourceKind: "merchant" | "catalog" | "mall" | "policy";
|
|
3446
3472
|
value?: string | undefined;
|
|
3447
3473
|
expiresAt?: string | undefined;
|
|
3448
3474
|
}[] | undefined;
|
|
@@ -3462,24 +3488,31 @@ declare const serverModule: {
|
|
|
3462
3488
|
} | undefined;
|
|
3463
3489
|
}, {
|
|
3464
3490
|
items: {
|
|
3491
|
+
productId: string;
|
|
3465
3492
|
name: string;
|
|
3466
3493
|
price: {
|
|
3467
3494
|
sale?: {
|
|
3468
|
-
display: string;
|
|
3469
3495
|
currency: "CNY";
|
|
3470
3496
|
amountMinor: number;
|
|
3497
|
+
display: string;
|
|
3471
3498
|
} | undefined;
|
|
3472
3499
|
original?: {
|
|
3473
|
-
display: string;
|
|
3474
3500
|
currency: "CNY";
|
|
3475
3501
|
amountMinor: number;
|
|
3502
|
+
display: string;
|
|
3476
3503
|
} | undefined;
|
|
3477
3504
|
promotion?: {
|
|
3478
|
-
display: string;
|
|
3479
3505
|
currency: "CNY";
|
|
3480
3506
|
amountMinor: number;
|
|
3507
|
+
display: string;
|
|
3481
3508
|
} | undefined;
|
|
3482
3509
|
};
|
|
3510
|
+
availability: {
|
|
3511
|
+
status: "unknown" | "in_stock" | "out_of_stock" | "limited";
|
|
3512
|
+
label: string;
|
|
3513
|
+
marketable: boolean;
|
|
3514
|
+
observedAt: string;
|
|
3515
|
+
};
|
|
3483
3516
|
merchant: {
|
|
3484
3517
|
name: string;
|
|
3485
3518
|
merchantId: string;
|
|
@@ -3491,16 +3524,9 @@ declare const serverModule: {
|
|
|
3491
3524
|
poiId?: string | undefined;
|
|
3492
3525
|
} | undefined;
|
|
3493
3526
|
};
|
|
3494
|
-
|
|
3527
|
+
caveats: string[];
|
|
3495
3528
|
categoryPath: string[];
|
|
3496
|
-
availability: {
|
|
3497
|
-
status: "unknown" | "in_stock" | "out_of_stock" | "limited";
|
|
3498
|
-
label: string;
|
|
3499
|
-
observedAt: string;
|
|
3500
|
-
marketable: boolean;
|
|
3501
|
-
};
|
|
3502
3529
|
badges: string[];
|
|
3503
|
-
caveats: string[];
|
|
3504
3530
|
itemActions: ({
|
|
3505
3531
|
label: string;
|
|
3506
3532
|
kind: "send";
|
|
@@ -3511,8 +3537,8 @@ declare const serverModule: {
|
|
|
3511
3537
|
kind: "link";
|
|
3512
3538
|
url: string;
|
|
3513
3539
|
})[];
|
|
3514
|
-
brand?: string | undefined;
|
|
3515
3540
|
imageUrl?: string | undefined;
|
|
3541
|
+
brand?: string | undefined;
|
|
3516
3542
|
reasons?: {
|
|
3517
3543
|
code: string;
|
|
3518
3544
|
label: string;
|
|
@@ -3521,7 +3547,7 @@ declare const serverModule: {
|
|
|
3521
3547
|
code: string;
|
|
3522
3548
|
label: string;
|
|
3523
3549
|
observedAt: string;
|
|
3524
|
-
sourceKind: "
|
|
3550
|
+
sourceKind: "merchant" | "catalog" | "mall" | "policy";
|
|
3525
3551
|
value?: string | undefined;
|
|
3526
3552
|
expiresAt?: string | undefined;
|
|
3527
3553
|
}[] | undefined;
|
|
@@ -3553,71 +3579,71 @@ declare const serverModule: {
|
|
|
3553
3579
|
amountMinor: zod.ZodNumber;
|
|
3554
3580
|
display: zod.ZodString;
|
|
3555
3581
|
}, "strip", zod.ZodTypeAny, {
|
|
3556
|
-
display: string;
|
|
3557
3582
|
currency: "CNY";
|
|
3558
3583
|
amountMinor: number;
|
|
3559
|
-
}, {
|
|
3560
3584
|
display: string;
|
|
3585
|
+
}, {
|
|
3561
3586
|
currency: "CNY";
|
|
3562
3587
|
amountMinor: number;
|
|
3588
|
+
display: string;
|
|
3563
3589
|
}>>;
|
|
3564
3590
|
original: zod.ZodOptional<zod.ZodObject<{
|
|
3565
3591
|
currency: zod.ZodLiteral<"CNY">;
|
|
3566
3592
|
amountMinor: zod.ZodNumber;
|
|
3567
3593
|
display: zod.ZodString;
|
|
3568
3594
|
}, "strip", zod.ZodTypeAny, {
|
|
3569
|
-
display: string;
|
|
3570
3595
|
currency: "CNY";
|
|
3571
3596
|
amountMinor: number;
|
|
3572
|
-
}, {
|
|
3573
3597
|
display: string;
|
|
3598
|
+
}, {
|
|
3574
3599
|
currency: "CNY";
|
|
3575
3600
|
amountMinor: number;
|
|
3601
|
+
display: string;
|
|
3576
3602
|
}>>;
|
|
3577
3603
|
promotion: zod.ZodOptional<zod.ZodObject<{
|
|
3578
3604
|
currency: zod.ZodLiteral<"CNY">;
|
|
3579
3605
|
amountMinor: zod.ZodNumber;
|
|
3580
3606
|
display: zod.ZodString;
|
|
3581
3607
|
}, "strip", zod.ZodTypeAny, {
|
|
3582
|
-
display: string;
|
|
3583
3608
|
currency: "CNY";
|
|
3584
3609
|
amountMinor: number;
|
|
3585
|
-
}, {
|
|
3586
3610
|
display: string;
|
|
3611
|
+
}, {
|
|
3587
3612
|
currency: "CNY";
|
|
3588
3613
|
amountMinor: number;
|
|
3614
|
+
display: string;
|
|
3589
3615
|
}>>;
|
|
3590
3616
|
}, "strip", zod.ZodTypeAny, {
|
|
3591
3617
|
sale?: {
|
|
3592
|
-
display: string;
|
|
3593
3618
|
currency: "CNY";
|
|
3594
3619
|
amountMinor: number;
|
|
3620
|
+
display: string;
|
|
3595
3621
|
} | undefined;
|
|
3596
3622
|
original?: {
|
|
3597
|
-
display: string;
|
|
3598
3623
|
currency: "CNY";
|
|
3599
3624
|
amountMinor: number;
|
|
3625
|
+
display: string;
|
|
3600
3626
|
} | undefined;
|
|
3601
3627
|
promotion?: {
|
|
3602
|
-
display: string;
|
|
3603
3628
|
currency: "CNY";
|
|
3604
3629
|
amountMinor: number;
|
|
3630
|
+
display: string;
|
|
3605
3631
|
} | undefined;
|
|
3606
3632
|
}, {
|
|
3607
3633
|
sale?: {
|
|
3608
|
-
display: string;
|
|
3609
3634
|
currency: "CNY";
|
|
3610
3635
|
amountMinor: number;
|
|
3636
|
+
display: string;
|
|
3611
3637
|
} | undefined;
|
|
3612
3638
|
original?: {
|
|
3613
|
-
display: string;
|
|
3614
3639
|
currency: "CNY";
|
|
3615
3640
|
amountMinor: number;
|
|
3641
|
+
display: string;
|
|
3616
3642
|
} | undefined;
|
|
3617
3643
|
promotion?: {
|
|
3618
|
-
display: string;
|
|
3619
3644
|
currency: "CNY";
|
|
3620
3645
|
amountMinor: number;
|
|
3646
|
+
display: string;
|
|
3621
3647
|
} | undefined;
|
|
3622
3648
|
}>;
|
|
3623
3649
|
availability: zod.ZodObject<{
|
|
@@ -3628,13 +3654,13 @@ declare const serverModule: {
|
|
|
3628
3654
|
}, "strip", zod.ZodTypeAny, {
|
|
3629
3655
|
status: "unknown" | "in_stock" | "out_of_stock" | "limited";
|
|
3630
3656
|
label: string;
|
|
3631
|
-
observedAt: string;
|
|
3632
3657
|
marketable: boolean;
|
|
3658
|
+
observedAt: string;
|
|
3633
3659
|
}, {
|
|
3634
3660
|
status: "unknown" | "in_stock" | "out_of_stock" | "limited";
|
|
3635
3661
|
label: string;
|
|
3636
|
-
observedAt: string;
|
|
3637
3662
|
marketable: boolean;
|
|
3663
|
+
observedAt: string;
|
|
3638
3664
|
}>;
|
|
3639
3665
|
merchant: zod.ZodObject<{
|
|
3640
3666
|
merchantId: zod.ZodString;
|
|
@@ -3701,14 +3727,14 @@ declare const serverModule: {
|
|
|
3701
3727
|
code: string;
|
|
3702
3728
|
label: string;
|
|
3703
3729
|
observedAt: string;
|
|
3704
|
-
sourceKind: "
|
|
3730
|
+
sourceKind: "merchant" | "catalog" | "mall" | "policy";
|
|
3705
3731
|
value?: string | undefined;
|
|
3706
3732
|
expiresAt?: string | undefined;
|
|
3707
3733
|
}, {
|
|
3708
3734
|
code: string;
|
|
3709
3735
|
label: string;
|
|
3710
3736
|
observedAt: string;
|
|
3711
|
-
sourceKind: "
|
|
3737
|
+
sourceKind: "merchant" | "catalog" | "mall" | "policy";
|
|
3712
3738
|
value?: string | undefined;
|
|
3713
3739
|
expiresAt?: string | undefined;
|
|
3714
3740
|
}>, "many">;
|
|
@@ -3742,28 +3768,31 @@ declare const serverModule: {
|
|
|
3742
3768
|
url: string;
|
|
3743
3769
|
}>]>, "many">;
|
|
3744
3770
|
}, "strip", zod.ZodTypeAny, {
|
|
3771
|
+
productId: string;
|
|
3745
3772
|
name: string;
|
|
3746
3773
|
price: {
|
|
3747
3774
|
sale?: {
|
|
3748
|
-
display: string;
|
|
3749
3775
|
currency: "CNY";
|
|
3750
3776
|
amountMinor: number;
|
|
3777
|
+
display: string;
|
|
3751
3778
|
} | undefined;
|
|
3752
3779
|
original?: {
|
|
3753
|
-
display: string;
|
|
3754
3780
|
currency: "CNY";
|
|
3755
3781
|
amountMinor: number;
|
|
3782
|
+
display: string;
|
|
3756
3783
|
} | undefined;
|
|
3757
3784
|
promotion?: {
|
|
3758
|
-
display: string;
|
|
3759
3785
|
currency: "CNY";
|
|
3760
3786
|
amountMinor: number;
|
|
3787
|
+
display: string;
|
|
3761
3788
|
} | undefined;
|
|
3762
3789
|
};
|
|
3763
|
-
|
|
3764
|
-
|
|
3765
|
-
|
|
3766
|
-
|
|
3790
|
+
availability: {
|
|
3791
|
+
status: "unknown" | "in_stock" | "out_of_stock" | "limited";
|
|
3792
|
+
label: string;
|
|
3793
|
+
marketable: boolean;
|
|
3794
|
+
observedAt: string;
|
|
3795
|
+
};
|
|
3767
3796
|
merchant: {
|
|
3768
3797
|
name: string;
|
|
3769
3798
|
merchantId: string;
|
|
@@ -3775,19 +3804,16 @@ declare const serverModule: {
|
|
|
3775
3804
|
poiId?: string | undefined;
|
|
3776
3805
|
} | undefined;
|
|
3777
3806
|
};
|
|
3778
|
-
|
|
3807
|
+
attributes: {
|
|
3808
|
+
value: string;
|
|
3809
|
+
name: string;
|
|
3810
|
+
}[];
|
|
3779
3811
|
categoryPath: string[];
|
|
3780
|
-
availability: {
|
|
3781
|
-
status: "unknown" | "in_stock" | "out_of_stock" | "limited";
|
|
3782
|
-
label: string;
|
|
3783
|
-
observedAt: string;
|
|
3784
|
-
marketable: boolean;
|
|
3785
|
-
};
|
|
3786
3812
|
evidence: {
|
|
3787
3813
|
code: string;
|
|
3788
3814
|
label: string;
|
|
3789
3815
|
observedAt: string;
|
|
3790
|
-
sourceKind: "
|
|
3816
|
+
sourceKind: "merchant" | "catalog" | "mall" | "policy";
|
|
3791
3817
|
value?: string | undefined;
|
|
3792
3818
|
expiresAt?: string | undefined;
|
|
3793
3819
|
}[];
|
|
@@ -3804,31 +3830,34 @@ declare const serverModule: {
|
|
|
3804
3830
|
promotionFacts: string[];
|
|
3805
3831
|
imageUrls: string[];
|
|
3806
3832
|
humanGuideAvailable: boolean;
|
|
3807
|
-
description?: string | undefined;
|
|
3808
3833
|
brand?: string | undefined;
|
|
3834
|
+
description?: string | undefined;
|
|
3809
3835
|
}, {
|
|
3836
|
+
productId: string;
|
|
3810
3837
|
name: string;
|
|
3811
3838
|
price: {
|
|
3812
3839
|
sale?: {
|
|
3813
|
-
display: string;
|
|
3814
3840
|
currency: "CNY";
|
|
3815
3841
|
amountMinor: number;
|
|
3842
|
+
display: string;
|
|
3816
3843
|
} | undefined;
|
|
3817
3844
|
original?: {
|
|
3818
|
-
display: string;
|
|
3819
3845
|
currency: "CNY";
|
|
3820
3846
|
amountMinor: number;
|
|
3847
|
+
display: string;
|
|
3821
3848
|
} | undefined;
|
|
3822
3849
|
promotion?: {
|
|
3823
|
-
display: string;
|
|
3824
3850
|
currency: "CNY";
|
|
3825
3851
|
amountMinor: number;
|
|
3852
|
+
display: string;
|
|
3826
3853
|
} | undefined;
|
|
3827
3854
|
};
|
|
3828
|
-
|
|
3829
|
-
|
|
3830
|
-
|
|
3831
|
-
|
|
3855
|
+
availability: {
|
|
3856
|
+
status: "unknown" | "in_stock" | "out_of_stock" | "limited";
|
|
3857
|
+
label: string;
|
|
3858
|
+
marketable: boolean;
|
|
3859
|
+
observedAt: string;
|
|
3860
|
+
};
|
|
3832
3861
|
merchant: {
|
|
3833
3862
|
name: string;
|
|
3834
3863
|
merchantId: string;
|
|
@@ -3840,19 +3869,16 @@ declare const serverModule: {
|
|
|
3840
3869
|
poiId?: string | undefined;
|
|
3841
3870
|
} | undefined;
|
|
3842
3871
|
};
|
|
3843
|
-
|
|
3872
|
+
attributes: {
|
|
3873
|
+
value: string;
|
|
3874
|
+
name: string;
|
|
3875
|
+
}[];
|
|
3844
3876
|
categoryPath: string[];
|
|
3845
|
-
availability: {
|
|
3846
|
-
status: "unknown" | "in_stock" | "out_of_stock" | "limited";
|
|
3847
|
-
label: string;
|
|
3848
|
-
observedAt: string;
|
|
3849
|
-
marketable: boolean;
|
|
3850
|
-
};
|
|
3851
3877
|
evidence: {
|
|
3852
3878
|
code: string;
|
|
3853
3879
|
label: string;
|
|
3854
3880
|
observedAt: string;
|
|
3855
|
-
sourceKind: "
|
|
3881
|
+
sourceKind: "merchant" | "catalog" | "mall" | "policy";
|
|
3856
3882
|
value?: string | undefined;
|
|
3857
3883
|
expiresAt?: string | undefined;
|
|
3858
3884
|
}[];
|
|
@@ -3869,8 +3895,8 @@ declare const serverModule: {
|
|
|
3869
3895
|
promotionFacts: string[];
|
|
3870
3896
|
imageUrls: string[];
|
|
3871
3897
|
humanGuideAvailable: boolean;
|
|
3872
|
-
description?: string | undefined;
|
|
3873
3898
|
brand?: string | undefined;
|
|
3899
|
+
description?: string | undefined;
|
|
3874
3900
|
}>>;
|
|
3875
3901
|
'shop-list': _tbox_cn_app_contracts.CardMeta<zod.ZodObject<{
|
|
3876
3902
|
context: zod.ZodEnum<["recommendation", "search"]>;
|
|
@@ -3959,14 +3985,14 @@ declare const serverModule: {
|
|
|
3959
3985
|
code: string;
|
|
3960
3986
|
label: string;
|
|
3961
3987
|
observedAt: string;
|
|
3962
|
-
sourceKind: "
|
|
3988
|
+
sourceKind: "merchant" | "catalog" | "mall" | "policy";
|
|
3963
3989
|
value?: string | undefined;
|
|
3964
3990
|
expiresAt?: string | undefined;
|
|
3965
3991
|
}, {
|
|
3966
3992
|
code: string;
|
|
3967
3993
|
label: string;
|
|
3968
3994
|
observedAt: string;
|
|
3969
|
-
sourceKind: "
|
|
3995
|
+
sourceKind: "merchant" | "catalog" | "mall" | "policy";
|
|
3970
3996
|
value?: string | undefined;
|
|
3971
3997
|
expiresAt?: string | undefined;
|
|
3972
3998
|
}>, "many">>;
|
|
@@ -4012,8 +4038,8 @@ declare const serverModule: {
|
|
|
4012
4038
|
offerRef: zod.ZodOptional<zod.ZodString>;
|
|
4013
4039
|
}, "strip", zod.ZodTypeAny, {
|
|
4014
4040
|
name: string;
|
|
4015
|
-
description?: string | undefined;
|
|
4016
4041
|
imageUrl?: string | undefined;
|
|
4042
|
+
description?: string | undefined;
|
|
4017
4043
|
faceValue?: number | undefined;
|
|
4018
4044
|
salePrice?: number | undefined;
|
|
4019
4045
|
applicableCategories?: string[] | undefined;
|
|
@@ -4024,8 +4050,8 @@ declare const serverModule: {
|
|
|
4024
4050
|
offerRef?: string | undefined;
|
|
4025
4051
|
}, {
|
|
4026
4052
|
name: string;
|
|
4027
|
-
description?: string | undefined;
|
|
4028
4053
|
imageUrl?: string | undefined;
|
|
4054
|
+
description?: string | undefined;
|
|
4029
4055
|
faceValue?: number | undefined;
|
|
4030
4056
|
salePrice?: number | undefined;
|
|
4031
4057
|
applicableCategories?: string[] | undefined;
|
|
@@ -4042,8 +4068,8 @@ declare const serverModule: {
|
|
|
4042
4068
|
observedAt: string;
|
|
4043
4069
|
};
|
|
4044
4070
|
name: string;
|
|
4045
|
-
services: string[];
|
|
4046
4071
|
merchantId: string;
|
|
4072
|
+
services: string[];
|
|
4047
4073
|
location: {
|
|
4048
4074
|
displayText: string;
|
|
4049
4075
|
buildingName?: string | undefined;
|
|
@@ -4072,7 +4098,7 @@ declare const serverModule: {
|
|
|
4072
4098
|
code: string;
|
|
4073
4099
|
label: string;
|
|
4074
4100
|
observedAt: string;
|
|
4075
|
-
sourceKind: "
|
|
4101
|
+
sourceKind: "merchant" | "catalog" | "mall" | "policy";
|
|
4076
4102
|
value?: string | undefined;
|
|
4077
4103
|
expiresAt?: string | undefined;
|
|
4078
4104
|
}[] | undefined;
|
|
@@ -4084,8 +4110,8 @@ declare const serverModule: {
|
|
|
4084
4110
|
}[] | undefined;
|
|
4085
4111
|
coupons?: {
|
|
4086
4112
|
name: string;
|
|
4087
|
-
description?: string | undefined;
|
|
4088
4113
|
imageUrl?: string | undefined;
|
|
4114
|
+
description?: string | undefined;
|
|
4089
4115
|
faceValue?: number | undefined;
|
|
4090
4116
|
salePrice?: number | undefined;
|
|
4091
4117
|
applicableCategories?: string[] | undefined;
|
|
@@ -4102,8 +4128,8 @@ declare const serverModule: {
|
|
|
4102
4128
|
observedAt: string;
|
|
4103
4129
|
};
|
|
4104
4130
|
name: string;
|
|
4105
|
-
services: string[];
|
|
4106
4131
|
merchantId: string;
|
|
4132
|
+
services: string[];
|
|
4107
4133
|
location: {
|
|
4108
4134
|
displayText: string;
|
|
4109
4135
|
buildingName?: string | undefined;
|
|
@@ -4132,7 +4158,7 @@ declare const serverModule: {
|
|
|
4132
4158
|
code: string;
|
|
4133
4159
|
label: string;
|
|
4134
4160
|
observedAt: string;
|
|
4135
|
-
sourceKind: "
|
|
4161
|
+
sourceKind: "merchant" | "catalog" | "mall" | "policy";
|
|
4136
4162
|
value?: string | undefined;
|
|
4137
4163
|
expiresAt?: string | undefined;
|
|
4138
4164
|
}[] | undefined;
|
|
@@ -4144,8 +4170,8 @@ declare const serverModule: {
|
|
|
4144
4170
|
}[] | undefined;
|
|
4145
4171
|
coupons?: {
|
|
4146
4172
|
name: string;
|
|
4147
|
-
description?: string | undefined;
|
|
4148
4173
|
imageUrl?: string | undefined;
|
|
4174
|
+
description?: string | undefined;
|
|
4149
4175
|
faceValue?: number | undefined;
|
|
4150
4176
|
salePrice?: number | undefined;
|
|
4151
4177
|
applicableCategories?: string[] | undefined;
|
|
@@ -4191,8 +4217,8 @@ declare const serverModule: {
|
|
|
4191
4217
|
observedAt: string;
|
|
4192
4218
|
};
|
|
4193
4219
|
name: string;
|
|
4194
|
-
services: string[];
|
|
4195
4220
|
merchantId: string;
|
|
4221
|
+
services: string[];
|
|
4196
4222
|
location: {
|
|
4197
4223
|
displayText: string;
|
|
4198
4224
|
buildingName?: string | undefined;
|
|
@@ -4221,7 +4247,7 @@ declare const serverModule: {
|
|
|
4221
4247
|
code: string;
|
|
4222
4248
|
label: string;
|
|
4223
4249
|
observedAt: string;
|
|
4224
|
-
sourceKind: "
|
|
4250
|
+
sourceKind: "merchant" | "catalog" | "mall" | "policy";
|
|
4225
4251
|
value?: string | undefined;
|
|
4226
4252
|
expiresAt?: string | undefined;
|
|
4227
4253
|
}[] | undefined;
|
|
@@ -4233,8 +4259,8 @@ declare const serverModule: {
|
|
|
4233
4259
|
}[] | undefined;
|
|
4234
4260
|
coupons?: {
|
|
4235
4261
|
name: string;
|
|
4236
|
-
description?: string | undefined;
|
|
4237
4262
|
imageUrl?: string | undefined;
|
|
4263
|
+
description?: string | undefined;
|
|
4238
4264
|
faceValue?: number | undefined;
|
|
4239
4265
|
salePrice?: number | undefined;
|
|
4240
4266
|
applicableCategories?: string[] | undefined;
|
|
@@ -4272,8 +4298,8 @@ declare const serverModule: {
|
|
|
4272
4298
|
observedAt: string;
|
|
4273
4299
|
};
|
|
4274
4300
|
name: string;
|
|
4275
|
-
services: string[];
|
|
4276
4301
|
merchantId: string;
|
|
4302
|
+
services: string[];
|
|
4277
4303
|
location: {
|
|
4278
4304
|
displayText: string;
|
|
4279
4305
|
buildingName?: string | undefined;
|
|
@@ -4302,7 +4328,7 @@ declare const serverModule: {
|
|
|
4302
4328
|
code: string;
|
|
4303
4329
|
label: string;
|
|
4304
4330
|
observedAt: string;
|
|
4305
|
-
sourceKind: "
|
|
4331
|
+
sourceKind: "merchant" | "catalog" | "mall" | "policy";
|
|
4306
4332
|
value?: string | undefined;
|
|
4307
4333
|
expiresAt?: string | undefined;
|
|
4308
4334
|
}[] | undefined;
|
|
@@ -4314,8 +4340,8 @@ declare const serverModule: {
|
|
|
4314
4340
|
}[] | undefined;
|
|
4315
4341
|
coupons?: {
|
|
4316
4342
|
name: string;
|
|
4317
|
-
description?: string | undefined;
|
|
4318
4343
|
imageUrl?: string | undefined;
|
|
4344
|
+
description?: string | undefined;
|
|
4319
4345
|
faceValue?: number | undefined;
|
|
4320
4346
|
salePrice?: number | undefined;
|
|
4321
4347
|
applicableCategories?: string[] | undefined;
|
|
@@ -4400,6 +4426,13 @@ declare const serverModule: {
|
|
|
4400
4426
|
}>, "many">>;
|
|
4401
4427
|
services: zod.ZodArray<zod.ZodString, "many">;
|
|
4402
4428
|
promotionFacts: zod.ZodArray<zod.ZodString, "many">;
|
|
4429
|
+
indoorNavigation: zod.ZodOptional<zod.ZodObject<{
|
|
4430
|
+
url: zod.ZodString;
|
|
4431
|
+
}, "strip", zod.ZodTypeAny, {
|
|
4432
|
+
url: string;
|
|
4433
|
+
}, {
|
|
4434
|
+
url: string;
|
|
4435
|
+
}>>;
|
|
4403
4436
|
coupons: zod.ZodOptional<zod.ZodArray<zod.ZodObject<{
|
|
4404
4437
|
name: zod.ZodString;
|
|
4405
4438
|
imageUrl: zod.ZodOptional<zod.ZodString>;
|
|
@@ -4414,8 +4447,8 @@ declare const serverModule: {
|
|
|
4414
4447
|
offerRef: zod.ZodOptional<zod.ZodString>;
|
|
4415
4448
|
}, "strip", zod.ZodTypeAny, {
|
|
4416
4449
|
name: string;
|
|
4417
|
-
description?: string | undefined;
|
|
4418
4450
|
imageUrl?: string | undefined;
|
|
4451
|
+
description?: string | undefined;
|
|
4419
4452
|
faceValue?: number | undefined;
|
|
4420
4453
|
salePrice?: number | undefined;
|
|
4421
4454
|
applicableCategories?: string[] | undefined;
|
|
@@ -4426,8 +4459,8 @@ declare const serverModule: {
|
|
|
4426
4459
|
offerRef?: string | undefined;
|
|
4427
4460
|
}, {
|
|
4428
4461
|
name: string;
|
|
4429
|
-
description?: string | undefined;
|
|
4430
4462
|
imageUrl?: string | undefined;
|
|
4463
|
+
description?: string | undefined;
|
|
4431
4464
|
faceValue?: number | undefined;
|
|
4432
4465
|
salePrice?: number | undefined;
|
|
4433
4466
|
applicableCategories?: string[] | undefined;
|
|
@@ -4448,14 +4481,14 @@ declare const serverModule: {
|
|
|
4448
4481
|
code: string;
|
|
4449
4482
|
label: string;
|
|
4450
4483
|
observedAt: string;
|
|
4451
|
-
sourceKind: "
|
|
4484
|
+
sourceKind: "merchant" | "catalog" | "mall" | "policy";
|
|
4452
4485
|
value?: string | undefined;
|
|
4453
4486
|
expiresAt?: string | undefined;
|
|
4454
4487
|
}, {
|
|
4455
4488
|
code: string;
|
|
4456
4489
|
label: string;
|
|
4457
4490
|
observedAt: string;
|
|
4458
|
-
sourceKind: "
|
|
4491
|
+
sourceKind: "merchant" | "catalog" | "mall" | "policy";
|
|
4459
4492
|
value?: string | undefined;
|
|
4460
4493
|
expiresAt?: string | undefined;
|
|
4461
4494
|
}>, "many">;
|
|
@@ -4494,8 +4527,8 @@ declare const serverModule: {
|
|
|
4494
4527
|
observedAt: string;
|
|
4495
4528
|
};
|
|
4496
4529
|
name: string;
|
|
4497
|
-
services: string[];
|
|
4498
4530
|
merchantId: string;
|
|
4531
|
+
services: string[];
|
|
4499
4532
|
location: {
|
|
4500
4533
|
displayText: string;
|
|
4501
4534
|
buildingName?: string | undefined;
|
|
@@ -4507,7 +4540,7 @@ declare const serverModule: {
|
|
|
4507
4540
|
code: string;
|
|
4508
4541
|
label: string;
|
|
4509
4542
|
observedAt: string;
|
|
4510
|
-
sourceKind: "
|
|
4543
|
+
sourceKind: "merchant" | "catalog" | "mall" | "policy";
|
|
4511
4544
|
value?: string | undefined;
|
|
4512
4545
|
expiresAt?: string | undefined;
|
|
4513
4546
|
}[];
|
|
@@ -4524,9 +4557,9 @@ declare const serverModule: {
|
|
|
4524
4557
|
businessCategories: string[];
|
|
4525
4558
|
promotionFacts: string[];
|
|
4526
4559
|
coverUrls: string[];
|
|
4560
|
+
brand?: string | undefined;
|
|
4527
4561
|
description?: string | undefined;
|
|
4528
4562
|
mallId?: string | undefined;
|
|
4529
|
-
brand?: string | undefined;
|
|
4530
4563
|
miniAppId?: string | undefined;
|
|
4531
4564
|
logoUrl?: string | undefined;
|
|
4532
4565
|
contactInfo?: {
|
|
@@ -4535,8 +4568,8 @@ declare const serverModule: {
|
|
|
4535
4568
|
}[] | undefined;
|
|
4536
4569
|
coupons?: {
|
|
4537
4570
|
name: string;
|
|
4538
|
-
description?: string | undefined;
|
|
4539
4571
|
imageUrl?: string | undefined;
|
|
4572
|
+
description?: string | undefined;
|
|
4540
4573
|
faceValue?: number | undefined;
|
|
4541
4574
|
salePrice?: number | undefined;
|
|
4542
4575
|
applicableCategories?: string[] | undefined;
|
|
@@ -4546,6 +4579,9 @@ declare const serverModule: {
|
|
|
4546
4579
|
freeCouponClaimMode?: "DIRECT" | "REDIRECT" | undefined;
|
|
4547
4580
|
offerRef?: string | undefined;
|
|
4548
4581
|
}[] | undefined;
|
|
4582
|
+
indoorNavigation?: {
|
|
4583
|
+
url: string;
|
|
4584
|
+
} | undefined;
|
|
4549
4585
|
}, {
|
|
4550
4586
|
status: {
|
|
4551
4587
|
code: "unknown" | "enabled" | "disabled";
|
|
@@ -4553,8 +4589,8 @@ declare const serverModule: {
|
|
|
4553
4589
|
observedAt: string;
|
|
4554
4590
|
};
|
|
4555
4591
|
name: string;
|
|
4556
|
-
services: string[];
|
|
4557
4592
|
merchantId: string;
|
|
4593
|
+
services: string[];
|
|
4558
4594
|
location: {
|
|
4559
4595
|
displayText: string;
|
|
4560
4596
|
buildingName?: string | undefined;
|
|
@@ -4566,7 +4602,7 @@ declare const serverModule: {
|
|
|
4566
4602
|
code: string;
|
|
4567
4603
|
label: string;
|
|
4568
4604
|
observedAt: string;
|
|
4569
|
-
sourceKind: "
|
|
4605
|
+
sourceKind: "merchant" | "catalog" | "mall" | "policy";
|
|
4570
4606
|
value?: string | undefined;
|
|
4571
4607
|
expiresAt?: string | undefined;
|
|
4572
4608
|
}[];
|
|
@@ -4583,9 +4619,9 @@ declare const serverModule: {
|
|
|
4583
4619
|
businessCategories: string[];
|
|
4584
4620
|
promotionFacts: string[];
|
|
4585
4621
|
coverUrls: string[];
|
|
4622
|
+
brand?: string | undefined;
|
|
4586
4623
|
description?: string | undefined;
|
|
4587
4624
|
mallId?: string | undefined;
|
|
4588
|
-
brand?: string | undefined;
|
|
4589
4625
|
miniAppId?: string | undefined;
|
|
4590
4626
|
logoUrl?: string | undefined;
|
|
4591
4627
|
contactInfo?: {
|
|
@@ -4594,8 +4630,8 @@ declare const serverModule: {
|
|
|
4594
4630
|
}[] | undefined;
|
|
4595
4631
|
coupons?: {
|
|
4596
4632
|
name: string;
|
|
4597
|
-
description?: string | undefined;
|
|
4598
4633
|
imageUrl?: string | undefined;
|
|
4634
|
+
description?: string | undefined;
|
|
4599
4635
|
faceValue?: number | undefined;
|
|
4600
4636
|
salePrice?: number | undefined;
|
|
4601
4637
|
applicableCategories?: string[] | undefined;
|
|
@@ -4605,6 +4641,9 @@ declare const serverModule: {
|
|
|
4605
4641
|
freeCouponClaimMode?: "DIRECT" | "REDIRECT" | undefined;
|
|
4606
4642
|
offerRef?: string | undefined;
|
|
4607
4643
|
}[] | undefined;
|
|
4644
|
+
indoorNavigation?: {
|
|
4645
|
+
url: string;
|
|
4646
|
+
} | undefined;
|
|
4608
4647
|
}>>;
|
|
4609
4648
|
'category-list': _tbox_cn_app_contracts.CardMeta<zod.ZodObject<{
|
|
4610
4649
|
categories: zod.ZodArray<zod.ZodObject<{
|
|
@@ -4905,71 +4944,71 @@ declare const serverModule: {
|
|
|
4905
4944
|
amountMinor: zod.ZodNumber;
|
|
4906
4945
|
display: zod.ZodString;
|
|
4907
4946
|
}, "strip", zod.ZodTypeAny, {
|
|
4908
|
-
display: string;
|
|
4909
4947
|
currency: "CNY";
|
|
4910
4948
|
amountMinor: number;
|
|
4911
|
-
}, {
|
|
4912
4949
|
display: string;
|
|
4950
|
+
}, {
|
|
4913
4951
|
currency: "CNY";
|
|
4914
4952
|
amountMinor: number;
|
|
4953
|
+
display: string;
|
|
4915
4954
|
}>>;
|
|
4916
4955
|
original: zod.ZodOptional<zod.ZodObject<{
|
|
4917
4956
|
currency: zod.ZodLiteral<"CNY">;
|
|
4918
4957
|
amountMinor: zod.ZodNumber;
|
|
4919
4958
|
display: zod.ZodString;
|
|
4920
4959
|
}, "strip", zod.ZodTypeAny, {
|
|
4921
|
-
display: string;
|
|
4922
4960
|
currency: "CNY";
|
|
4923
4961
|
amountMinor: number;
|
|
4924
|
-
}, {
|
|
4925
4962
|
display: string;
|
|
4963
|
+
}, {
|
|
4926
4964
|
currency: "CNY";
|
|
4927
4965
|
amountMinor: number;
|
|
4966
|
+
display: string;
|
|
4928
4967
|
}>>;
|
|
4929
4968
|
promotion: zod.ZodOptional<zod.ZodObject<{
|
|
4930
4969
|
currency: zod.ZodLiteral<"CNY">;
|
|
4931
4970
|
amountMinor: zod.ZodNumber;
|
|
4932
4971
|
display: zod.ZodString;
|
|
4933
4972
|
}, "strip", zod.ZodTypeAny, {
|
|
4934
|
-
display: string;
|
|
4935
4973
|
currency: "CNY";
|
|
4936
4974
|
amountMinor: number;
|
|
4937
|
-
}, {
|
|
4938
4975
|
display: string;
|
|
4976
|
+
}, {
|
|
4939
4977
|
currency: "CNY";
|
|
4940
4978
|
amountMinor: number;
|
|
4979
|
+
display: string;
|
|
4941
4980
|
}>>;
|
|
4942
4981
|
}, "strip", zod.ZodTypeAny, {
|
|
4943
4982
|
sale?: {
|
|
4944
|
-
display: string;
|
|
4945
4983
|
currency: "CNY";
|
|
4946
4984
|
amountMinor: number;
|
|
4985
|
+
display: string;
|
|
4947
4986
|
} | undefined;
|
|
4948
4987
|
original?: {
|
|
4949
|
-
display: string;
|
|
4950
4988
|
currency: "CNY";
|
|
4951
4989
|
amountMinor: number;
|
|
4990
|
+
display: string;
|
|
4952
4991
|
} | undefined;
|
|
4953
4992
|
promotion?: {
|
|
4954
|
-
display: string;
|
|
4955
4993
|
currency: "CNY";
|
|
4956
4994
|
amountMinor: number;
|
|
4995
|
+
display: string;
|
|
4957
4996
|
} | undefined;
|
|
4958
4997
|
}, {
|
|
4959
4998
|
sale?: {
|
|
4960
|
-
display: string;
|
|
4961
4999
|
currency: "CNY";
|
|
4962
5000
|
amountMinor: number;
|
|
5001
|
+
display: string;
|
|
4963
5002
|
} | undefined;
|
|
4964
5003
|
original?: {
|
|
4965
|
-
display: string;
|
|
4966
5004
|
currency: "CNY";
|
|
4967
5005
|
amountMinor: number;
|
|
5006
|
+
display: string;
|
|
4968
5007
|
} | undefined;
|
|
4969
5008
|
promotion?: {
|
|
4970
|
-
display: string;
|
|
4971
5009
|
currency: "CNY";
|
|
4972
5010
|
amountMinor: number;
|
|
5011
|
+
display: string;
|
|
4973
5012
|
} | undefined;
|
|
4974
5013
|
}>;
|
|
4975
5014
|
availability: zod.ZodObject<{
|
|
@@ -4980,13 +5019,13 @@ declare const serverModule: {
|
|
|
4980
5019
|
}, "strip", zod.ZodTypeAny, {
|
|
4981
5020
|
status: "unknown" | "in_stock" | "out_of_stock" | "limited";
|
|
4982
5021
|
label: string;
|
|
4983
|
-
observedAt: string;
|
|
4984
5022
|
marketable: boolean;
|
|
5023
|
+
observedAt: string;
|
|
4985
5024
|
}, {
|
|
4986
5025
|
status: "unknown" | "in_stock" | "out_of_stock" | "limited";
|
|
4987
5026
|
label: string;
|
|
4988
|
-
observedAt: string;
|
|
4989
5027
|
marketable: boolean;
|
|
5028
|
+
observedAt: string;
|
|
4990
5029
|
}>;
|
|
4991
5030
|
merchant: zod.ZodObject<{
|
|
4992
5031
|
merchantId: zod.ZodString;
|
|
@@ -5010,163 +5049,163 @@ declare const serverModule: {
|
|
|
5010
5049
|
}>, "many">;
|
|
5011
5050
|
caveats: zod.ZodArray<zod.ZodString, "many">;
|
|
5012
5051
|
}, "strip", zod.ZodTypeAny, {
|
|
5052
|
+
productId: string;
|
|
5013
5053
|
name: string;
|
|
5014
5054
|
price: {
|
|
5015
5055
|
sale?: {
|
|
5016
|
-
display: string;
|
|
5017
5056
|
currency: "CNY";
|
|
5018
5057
|
amountMinor: number;
|
|
5058
|
+
display: string;
|
|
5019
5059
|
} | undefined;
|
|
5020
5060
|
original?: {
|
|
5021
|
-
display: string;
|
|
5022
5061
|
currency: "CNY";
|
|
5023
5062
|
amountMinor: number;
|
|
5063
|
+
display: string;
|
|
5024
5064
|
} | undefined;
|
|
5025
5065
|
promotion?: {
|
|
5026
|
-
display: string;
|
|
5027
5066
|
currency: "CNY";
|
|
5028
5067
|
amountMinor: number;
|
|
5068
|
+
display: string;
|
|
5029
5069
|
} | undefined;
|
|
5030
5070
|
};
|
|
5031
|
-
attributes: {
|
|
5032
|
-
value: string;
|
|
5033
|
-
name: string;
|
|
5034
|
-
}[];
|
|
5035
|
-
merchant: {
|
|
5036
|
-
name: string;
|
|
5037
|
-
merchantId: string;
|
|
5038
|
-
};
|
|
5039
|
-
productId: string;
|
|
5040
5071
|
availability: {
|
|
5041
5072
|
status: "unknown" | "in_stock" | "out_of_stock" | "limited";
|
|
5042
5073
|
label: string;
|
|
5043
|
-
observedAt: string;
|
|
5044
5074
|
marketable: boolean;
|
|
5075
|
+
observedAt: string;
|
|
5076
|
+
};
|
|
5077
|
+
merchant: {
|
|
5078
|
+
name: string;
|
|
5079
|
+
merchantId: string;
|
|
5045
5080
|
};
|
|
5081
|
+
attributes: {
|
|
5082
|
+
value: string;
|
|
5083
|
+
name: string;
|
|
5084
|
+
}[];
|
|
5046
5085
|
caveats: string[];
|
|
5047
|
-
brand?: string | undefined;
|
|
5048
5086
|
imageUrl?: string | undefined;
|
|
5087
|
+
brand?: string | undefined;
|
|
5049
5088
|
}, {
|
|
5089
|
+
productId: string;
|
|
5050
5090
|
name: string;
|
|
5051
5091
|
price: {
|
|
5052
5092
|
sale?: {
|
|
5053
|
-
display: string;
|
|
5054
5093
|
currency: "CNY";
|
|
5055
5094
|
amountMinor: number;
|
|
5095
|
+
display: string;
|
|
5056
5096
|
} | undefined;
|
|
5057
5097
|
original?: {
|
|
5058
|
-
display: string;
|
|
5059
5098
|
currency: "CNY";
|
|
5060
5099
|
amountMinor: number;
|
|
5100
|
+
display: string;
|
|
5061
5101
|
} | undefined;
|
|
5062
5102
|
promotion?: {
|
|
5063
|
-
display: string;
|
|
5064
5103
|
currency: "CNY";
|
|
5065
5104
|
amountMinor: number;
|
|
5105
|
+
display: string;
|
|
5066
5106
|
} | undefined;
|
|
5067
5107
|
};
|
|
5068
|
-
attributes: {
|
|
5069
|
-
value: string;
|
|
5070
|
-
name: string;
|
|
5071
|
-
}[];
|
|
5072
|
-
merchant: {
|
|
5073
|
-
name: string;
|
|
5074
|
-
merchantId: string;
|
|
5075
|
-
};
|
|
5076
|
-
productId: string;
|
|
5077
5108
|
availability: {
|
|
5078
5109
|
status: "unknown" | "in_stock" | "out_of_stock" | "limited";
|
|
5079
5110
|
label: string;
|
|
5080
|
-
observedAt: string;
|
|
5081
5111
|
marketable: boolean;
|
|
5112
|
+
observedAt: string;
|
|
5113
|
+
};
|
|
5114
|
+
merchant: {
|
|
5115
|
+
name: string;
|
|
5116
|
+
merchantId: string;
|
|
5082
5117
|
};
|
|
5118
|
+
attributes: {
|
|
5119
|
+
value: string;
|
|
5120
|
+
name: string;
|
|
5121
|
+
}[];
|
|
5083
5122
|
caveats: string[];
|
|
5084
|
-
brand?: string | undefined;
|
|
5085
5123
|
imageUrl?: string | undefined;
|
|
5124
|
+
brand?: string | undefined;
|
|
5086
5125
|
}>, "many">;
|
|
5087
5126
|
refreshRequiredAt: zod.ZodOptional<zod.ZodString>;
|
|
5088
5127
|
observedAt: zod.ZodString;
|
|
5089
5128
|
}, "strip", zod.ZodTypeAny, {
|
|
5090
|
-
observedAt: string;
|
|
5091
5129
|
products: {
|
|
5130
|
+
productId: string;
|
|
5092
5131
|
name: string;
|
|
5093
5132
|
price: {
|
|
5094
5133
|
sale?: {
|
|
5095
|
-
display: string;
|
|
5096
5134
|
currency: "CNY";
|
|
5097
5135
|
amountMinor: number;
|
|
5136
|
+
display: string;
|
|
5098
5137
|
} | undefined;
|
|
5099
5138
|
original?: {
|
|
5100
|
-
display: string;
|
|
5101
5139
|
currency: "CNY";
|
|
5102
5140
|
amountMinor: number;
|
|
5141
|
+
display: string;
|
|
5103
5142
|
} | undefined;
|
|
5104
5143
|
promotion?: {
|
|
5105
|
-
display: string;
|
|
5106
5144
|
currency: "CNY";
|
|
5107
5145
|
amountMinor: number;
|
|
5146
|
+
display: string;
|
|
5108
5147
|
} | undefined;
|
|
5109
5148
|
};
|
|
5110
|
-
attributes: {
|
|
5111
|
-
value: string;
|
|
5112
|
-
name: string;
|
|
5113
|
-
}[];
|
|
5114
|
-
merchant: {
|
|
5115
|
-
name: string;
|
|
5116
|
-
merchantId: string;
|
|
5117
|
-
};
|
|
5118
|
-
productId: string;
|
|
5119
5149
|
availability: {
|
|
5120
5150
|
status: "unknown" | "in_stock" | "out_of_stock" | "limited";
|
|
5121
5151
|
label: string;
|
|
5122
|
-
observedAt: string;
|
|
5123
5152
|
marketable: boolean;
|
|
5153
|
+
observedAt: string;
|
|
5154
|
+
};
|
|
5155
|
+
merchant: {
|
|
5156
|
+
name: string;
|
|
5157
|
+
merchantId: string;
|
|
5124
5158
|
};
|
|
5159
|
+
attributes: {
|
|
5160
|
+
value: string;
|
|
5161
|
+
name: string;
|
|
5162
|
+
}[];
|
|
5125
5163
|
caveats: string[];
|
|
5126
|
-
brand?: string | undefined;
|
|
5127
5164
|
imageUrl?: string | undefined;
|
|
5165
|
+
brand?: string | undefined;
|
|
5128
5166
|
}[];
|
|
5167
|
+
observedAt: string;
|
|
5129
5168
|
refreshRequiredAt?: string | undefined;
|
|
5130
5169
|
}, {
|
|
5131
|
-
observedAt: string;
|
|
5132
5170
|
products: {
|
|
5171
|
+
productId: string;
|
|
5133
5172
|
name: string;
|
|
5134
5173
|
price: {
|
|
5135
5174
|
sale?: {
|
|
5136
|
-
display: string;
|
|
5137
5175
|
currency: "CNY";
|
|
5138
5176
|
amountMinor: number;
|
|
5177
|
+
display: string;
|
|
5139
5178
|
} | undefined;
|
|
5140
5179
|
original?: {
|
|
5141
|
-
display: string;
|
|
5142
5180
|
currency: "CNY";
|
|
5143
5181
|
amountMinor: number;
|
|
5182
|
+
display: string;
|
|
5144
5183
|
} | undefined;
|
|
5145
5184
|
promotion?: {
|
|
5146
|
-
display: string;
|
|
5147
5185
|
currency: "CNY";
|
|
5148
5186
|
amountMinor: number;
|
|
5187
|
+
display: string;
|
|
5149
5188
|
} | undefined;
|
|
5150
5189
|
};
|
|
5151
|
-
attributes: {
|
|
5152
|
-
value: string;
|
|
5153
|
-
name: string;
|
|
5154
|
-
}[];
|
|
5155
|
-
merchant: {
|
|
5156
|
-
name: string;
|
|
5157
|
-
merchantId: string;
|
|
5158
|
-
};
|
|
5159
|
-
productId: string;
|
|
5160
5190
|
availability: {
|
|
5161
5191
|
status: "unknown" | "in_stock" | "out_of_stock" | "limited";
|
|
5162
5192
|
label: string;
|
|
5163
|
-
observedAt: string;
|
|
5164
5193
|
marketable: boolean;
|
|
5194
|
+
observedAt: string;
|
|
5195
|
+
};
|
|
5196
|
+
merchant: {
|
|
5197
|
+
name: string;
|
|
5198
|
+
merchantId: string;
|
|
5165
5199
|
};
|
|
5200
|
+
attributes: {
|
|
5201
|
+
value: string;
|
|
5202
|
+
name: string;
|
|
5203
|
+
}[];
|
|
5166
5204
|
caveats: string[];
|
|
5167
|
-
brand?: string | undefined;
|
|
5168
5205
|
imageUrl?: string | undefined;
|
|
5206
|
+
brand?: string | undefined;
|
|
5169
5207
|
}[];
|
|
5208
|
+
observedAt: string;
|
|
5170
5209
|
refreshRequiredAt?: string | undefined;
|
|
5171
5210
|
}>>;
|
|
5172
5211
|
'mall-directory': _tbox_cn_app_contracts.CardMeta<zod.ZodObject<{
|
|
@@ -5280,9 +5319,9 @@ declare const serverModule: {
|
|
|
5280
5319
|
}>, "many">;
|
|
5281
5320
|
observedAt: zod.ZodString;
|
|
5282
5321
|
}, "strip", zod.ZodTypeAny, {
|
|
5322
|
+
observedAt: string;
|
|
5283
5323
|
mallId: string;
|
|
5284
5324
|
mallName: string;
|
|
5285
|
-
observedAt: string;
|
|
5286
5325
|
buildings: {
|
|
5287
5326
|
buildingName: string;
|
|
5288
5327
|
buildingCode: string;
|
|
@@ -5304,9 +5343,9 @@ declare const serverModule: {
|
|
|
5304
5343
|
}[];
|
|
5305
5344
|
}[];
|
|
5306
5345
|
}, {
|
|
5346
|
+
observedAt: string;
|
|
5307
5347
|
mallId: string;
|
|
5308
5348
|
mallName: string;
|
|
5309
|
-
observedAt: string;
|
|
5310
5349
|
buildings: {
|
|
5311
5350
|
buildingName: string;
|
|
5312
5351
|
buildingCode: string;
|
|
@@ -5828,9 +5867,9 @@ declare const serverModule: {
|
|
|
5828
5867
|
})[];
|
|
5829
5868
|
businessCategories: string[];
|
|
5830
5869
|
promotionFacts: string[];
|
|
5870
|
+
brand?: string | undefined;
|
|
5831
5871
|
description?: string | undefined;
|
|
5832
5872
|
services?: string[] | undefined;
|
|
5833
|
-
brand?: string | undefined;
|
|
5834
5873
|
logoUrl?: string | undefined;
|
|
5835
5874
|
coverUrl?: string | undefined;
|
|
5836
5875
|
contactInfo?: {
|
|
@@ -5867,9 +5906,9 @@ declare const serverModule: {
|
|
|
5867
5906
|
})[];
|
|
5868
5907
|
businessCategories: string[];
|
|
5869
5908
|
promotionFacts: string[];
|
|
5909
|
+
brand?: string | undefined;
|
|
5870
5910
|
description?: string | undefined;
|
|
5871
5911
|
services?: string[] | undefined;
|
|
5872
|
-
brand?: string | undefined;
|
|
5873
5912
|
logoUrl?: string | undefined;
|
|
5874
5913
|
coverUrl?: string | undefined;
|
|
5875
5914
|
contactInfo?: {
|
|
@@ -5883,6 +5922,7 @@ declare const serverModule: {
|
|
|
5883
5922
|
noResultsReason: zod.ZodOptional<zod.ZodString>;
|
|
5884
5923
|
observedAt: zod.ZodString;
|
|
5885
5924
|
}, "strip", zod.ZodTypeAny, {
|
|
5925
|
+
observedAt: string;
|
|
5886
5926
|
items: {
|
|
5887
5927
|
status: {
|
|
5888
5928
|
code: "unknown" | "enabled" | "disabled";
|
|
@@ -5910,9 +5950,9 @@ declare const serverModule: {
|
|
|
5910
5950
|
})[];
|
|
5911
5951
|
businessCategories: string[];
|
|
5912
5952
|
promotionFacts: string[];
|
|
5953
|
+
brand?: string | undefined;
|
|
5913
5954
|
description?: string | undefined;
|
|
5914
5955
|
services?: string[] | undefined;
|
|
5915
|
-
brand?: string | undefined;
|
|
5916
5956
|
logoUrl?: string | undefined;
|
|
5917
5957
|
coverUrl?: string | undefined;
|
|
5918
5958
|
contactInfo?: {
|
|
@@ -5923,7 +5963,6 @@ declare const serverModule: {
|
|
|
5923
5963
|
rating?: string | undefined;
|
|
5924
5964
|
avgSpend?: string | undefined;
|
|
5925
5965
|
}[];
|
|
5926
|
-
observedAt: string;
|
|
5927
5966
|
summary?: string | undefined;
|
|
5928
5967
|
noResultsReason?: string | undefined;
|
|
5929
5968
|
categoryTabs?: {
|
|
@@ -5931,6 +5970,7 @@ declare const serverModule: {
|
|
|
5931
5970
|
name: string;
|
|
5932
5971
|
}[] | undefined;
|
|
5933
5972
|
}, {
|
|
5973
|
+
observedAt: string;
|
|
5934
5974
|
items: {
|
|
5935
5975
|
status: {
|
|
5936
5976
|
code: "unknown" | "enabled" | "disabled";
|
|
@@ -5958,9 +5998,9 @@ declare const serverModule: {
|
|
|
5958
5998
|
})[];
|
|
5959
5999
|
businessCategories: string[];
|
|
5960
6000
|
promotionFacts: string[];
|
|
6001
|
+
brand?: string | undefined;
|
|
5961
6002
|
description?: string | undefined;
|
|
5962
6003
|
services?: string[] | undefined;
|
|
5963
|
-
brand?: string | undefined;
|
|
5964
6004
|
logoUrl?: string | undefined;
|
|
5965
6005
|
coverUrl?: string | undefined;
|
|
5966
6006
|
contactInfo?: {
|
|
@@ -5971,7 +6011,6 @@ declare const serverModule: {
|
|
|
5971
6011
|
rating?: string | undefined;
|
|
5972
6012
|
avgSpend?: string | undefined;
|
|
5973
6013
|
}[];
|
|
5974
|
-
observedAt: string;
|
|
5975
6014
|
summary?: string | undefined;
|
|
5976
6015
|
noResultsReason?: string | undefined;
|
|
5977
6016
|
categoryTabs?: {
|
|
@@ -6008,4 +6047,4 @@ declare const serverModule: {
|
|
|
6008
6047
|
register(ctx: ServerContext): void;
|
|
6009
6048
|
};
|
|
6010
6049
|
|
|
6011
|
-
export { type ShoppingGuideToolIds, type ShoppingGuideTools, createShoppingGuideTools, resolveShoppingGuidePorts, serverModule, shoppingGuideCards };
|
|
6050
|
+
export { type ShoppingGuideToolIds, type ShoppingGuideTools, createShoppingGuideRouter, createShoppingGuideTools, resolveShoppingGuidePorts, serverModule, shoppingGuideCards };
|