@tbox.cn/app-contracts-mall 1.0.0-alpha.6 → 1.0.0-alpha.8
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/activity-play/cards.d.ts +10 -10
- package/dist/activity-play-prize/cards.d.ts +36 -36
- package/dist/alipay-activity/cards.d.ts +30 -30
- package/dist/domain/activity-play-prize.d.ts +2 -2
- package/dist/domain/activity-play.d.ts +2 -2
- package/dist/member/cards.d.ts +56 -56
- package/dist/parking/cards.d.ts +4 -4
- package/dist/promotion/cards.d.ts +216 -216
- package/dist/shared/cards.d.ts +6 -6
- package/dist/shopping-guide/cards.d.ts +716 -716
- package/package.json +2 -2
|
@@ -24,68 +24,68 @@ export declare const activityPlayCardDataSchema: z.ZodEffects<z.ZodObject<{
|
|
|
24
24
|
status: z.ZodEnum<["not_started", "active", "ended", "disabled", "unknown"]>;
|
|
25
25
|
}, "strict", z.ZodTypeAny, {
|
|
26
26
|
status: "unknown" | "not_started" | "active" | "ended" | "disabled";
|
|
27
|
-
activityId: string;
|
|
28
27
|
title: string;
|
|
28
|
+
activityId: string;
|
|
29
29
|
description?: string | undefined;
|
|
30
30
|
imageUrl?: string | undefined;
|
|
31
31
|
startsAt?: string | undefined;
|
|
32
32
|
endsAt?: string | undefined;
|
|
33
33
|
}, {
|
|
34
34
|
status: "unknown" | "not_started" | "active" | "ended" | "disabled";
|
|
35
|
-
activityId: string;
|
|
36
35
|
title: string;
|
|
36
|
+
activityId: string;
|
|
37
37
|
description?: string | undefined;
|
|
38
38
|
imageUrl?: string | undefined;
|
|
39
39
|
startsAt?: string | undefined;
|
|
40
40
|
endsAt?: string | undefined;
|
|
41
41
|
}>, "many">;
|
|
42
42
|
}, "strip", z.ZodTypeAny, {
|
|
43
|
-
mallId: string;
|
|
44
43
|
items: {
|
|
45
44
|
status: "unknown" | "not_started" | "active" | "ended" | "disabled";
|
|
46
|
-
activityId: string;
|
|
47
45
|
title: string;
|
|
46
|
+
activityId: string;
|
|
48
47
|
description?: string | undefined;
|
|
49
48
|
imageUrl?: string | undefined;
|
|
50
49
|
startsAt?: string | undefined;
|
|
51
50
|
endsAt?: string | undefined;
|
|
52
51
|
}[];
|
|
52
|
+
mallId: string;
|
|
53
53
|
mode: "detail" | "list";
|
|
54
54
|
}, {
|
|
55
|
-
mallId: string;
|
|
56
55
|
items: {
|
|
57
56
|
status: "unknown" | "not_started" | "active" | "ended" | "disabled";
|
|
58
|
-
activityId: string;
|
|
59
57
|
title: string;
|
|
58
|
+
activityId: string;
|
|
60
59
|
description?: string | undefined;
|
|
61
60
|
imageUrl?: string | undefined;
|
|
62
61
|
startsAt?: string | undefined;
|
|
63
62
|
endsAt?: string | undefined;
|
|
64
63
|
}[];
|
|
64
|
+
mallId: string;
|
|
65
65
|
mode: "detail" | "list";
|
|
66
66
|
}>, {
|
|
67
|
-
mallId: string;
|
|
68
67
|
items: {
|
|
69
68
|
status: "unknown" | "not_started" | "active" | "ended" | "disabled";
|
|
70
|
-
activityId: string;
|
|
71
69
|
title: string;
|
|
70
|
+
activityId: string;
|
|
72
71
|
description?: string | undefined;
|
|
73
72
|
imageUrl?: string | undefined;
|
|
74
73
|
startsAt?: string | undefined;
|
|
75
74
|
endsAt?: string | undefined;
|
|
76
75
|
}[];
|
|
76
|
+
mallId: string;
|
|
77
77
|
mode: "detail" | "list";
|
|
78
78
|
}, {
|
|
79
|
-
mallId: string;
|
|
80
79
|
items: {
|
|
81
80
|
status: "unknown" | "not_started" | "active" | "ended" | "disabled";
|
|
82
|
-
activityId: string;
|
|
83
81
|
title: string;
|
|
82
|
+
activityId: string;
|
|
84
83
|
description?: string | undefined;
|
|
85
84
|
imageUrl?: string | undefined;
|
|
86
85
|
startsAt?: string | undefined;
|
|
87
86
|
endsAt?: string | undefined;
|
|
88
87
|
}[];
|
|
88
|
+
mallId: string;
|
|
89
89
|
mode: "detail" | "list";
|
|
90
90
|
}>;
|
|
91
91
|
/** 卡片数据类型(zod 推断;客户端渲染器与工具出卡共用类型面) */
|
|
@@ -42,13 +42,13 @@ export declare const activityPlayPrizeCardItemSchema: z.ZodObject<{
|
|
|
42
42
|
value: z.ZodOptional<z.ZodString>;
|
|
43
43
|
visibleValue: z.ZodOptional<z.ZodString>;
|
|
44
44
|
}, "strip", z.ZodTypeAny, {
|
|
45
|
-
kind: "send";
|
|
46
45
|
label: string;
|
|
46
|
+
kind: "send";
|
|
47
47
|
value?: string | undefined;
|
|
48
48
|
visibleValue?: string | undefined;
|
|
49
49
|
}, {
|
|
50
|
-
kind: "send";
|
|
51
50
|
label: string;
|
|
51
|
+
kind: "send";
|
|
52
52
|
value?: string | undefined;
|
|
53
53
|
visibleValue?: string | undefined;
|
|
54
54
|
}>, z.ZodObject<{
|
|
@@ -56,13 +56,13 @@ export declare const activityPlayPrizeCardItemSchema: z.ZodObject<{
|
|
|
56
56
|
label: z.ZodString;
|
|
57
57
|
url: z.ZodString;
|
|
58
58
|
}, "strip", z.ZodTypeAny, {
|
|
59
|
-
url: string;
|
|
60
|
-
kind: "link";
|
|
61
59
|
label: string;
|
|
62
|
-
}, {
|
|
63
|
-
url: string;
|
|
64
60
|
kind: "link";
|
|
61
|
+
url: string;
|
|
62
|
+
}, {
|
|
65
63
|
label: string;
|
|
64
|
+
kind: "link";
|
|
65
|
+
url: string;
|
|
66
66
|
}>]>, "many">>;
|
|
67
67
|
}, "strict", z.ZodTypeAny, {
|
|
68
68
|
title: string;
|
|
@@ -76,14 +76,14 @@ export declare const activityPlayPrizeCardItemSchema: z.ZodObject<{
|
|
|
76
76
|
wonAt?: string | undefined;
|
|
77
77
|
usageRuleText?: string | undefined;
|
|
78
78
|
itemActions?: ({
|
|
79
|
-
kind: "send";
|
|
80
79
|
label: string;
|
|
80
|
+
kind: "send";
|
|
81
81
|
value?: string | undefined;
|
|
82
82
|
visibleValue?: string | undefined;
|
|
83
83
|
} | {
|
|
84
|
-
url: string;
|
|
85
|
-
kind: "link";
|
|
86
84
|
label: string;
|
|
85
|
+
kind: "link";
|
|
86
|
+
url: string;
|
|
87
87
|
})[] | undefined;
|
|
88
88
|
}, {
|
|
89
89
|
title: string;
|
|
@@ -97,14 +97,14 @@ export declare const activityPlayPrizeCardItemSchema: z.ZodObject<{
|
|
|
97
97
|
wonAt?: string | undefined;
|
|
98
98
|
usageRuleText?: string | undefined;
|
|
99
99
|
itemActions?: ({
|
|
100
|
-
kind: "send";
|
|
101
100
|
label: string;
|
|
101
|
+
kind: "send";
|
|
102
102
|
value?: string | undefined;
|
|
103
103
|
visibleValue?: string | undefined;
|
|
104
104
|
} | {
|
|
105
|
-
url: string;
|
|
106
|
-
kind: "link";
|
|
107
105
|
label: string;
|
|
106
|
+
kind: "link";
|
|
107
|
+
url: string;
|
|
108
108
|
})[] | undefined;
|
|
109
109
|
}>;
|
|
110
110
|
export type ActivityPlayPrizeCardItem = z.infer<typeof activityPlayPrizeCardItemSchema>;
|
|
@@ -135,13 +135,13 @@ export declare const activityPlayPrizeListCardDataSchema: z.ZodObject<{
|
|
|
135
135
|
value: z.ZodOptional<z.ZodString>;
|
|
136
136
|
visibleValue: z.ZodOptional<z.ZodString>;
|
|
137
137
|
}, "strip", z.ZodTypeAny, {
|
|
138
|
-
kind: "send";
|
|
139
138
|
label: string;
|
|
139
|
+
kind: "send";
|
|
140
140
|
value?: string | undefined;
|
|
141
141
|
visibleValue?: string | undefined;
|
|
142
142
|
}, {
|
|
143
|
-
kind: "send";
|
|
144
143
|
label: string;
|
|
144
|
+
kind: "send";
|
|
145
145
|
value?: string | undefined;
|
|
146
146
|
visibleValue?: string | undefined;
|
|
147
147
|
}>, z.ZodObject<{
|
|
@@ -149,13 +149,13 @@ export declare const activityPlayPrizeListCardDataSchema: z.ZodObject<{
|
|
|
149
149
|
label: z.ZodString;
|
|
150
150
|
url: z.ZodString;
|
|
151
151
|
}, "strip", z.ZodTypeAny, {
|
|
152
|
-
url: string;
|
|
153
|
-
kind: "link";
|
|
154
152
|
label: string;
|
|
155
|
-
}, {
|
|
156
|
-
url: string;
|
|
157
153
|
kind: "link";
|
|
154
|
+
url: string;
|
|
155
|
+
}, {
|
|
158
156
|
label: string;
|
|
157
|
+
kind: "link";
|
|
158
|
+
url: string;
|
|
159
159
|
}>]>, "many">>;
|
|
160
160
|
}, "strict", z.ZodTypeAny, {
|
|
161
161
|
title: string;
|
|
@@ -169,14 +169,14 @@ export declare const activityPlayPrizeListCardDataSchema: z.ZodObject<{
|
|
|
169
169
|
wonAt?: string | undefined;
|
|
170
170
|
usageRuleText?: string | undefined;
|
|
171
171
|
itemActions?: ({
|
|
172
|
-
kind: "send";
|
|
173
172
|
label: string;
|
|
173
|
+
kind: "send";
|
|
174
174
|
value?: string | undefined;
|
|
175
175
|
visibleValue?: string | undefined;
|
|
176
176
|
} | {
|
|
177
|
-
url: string;
|
|
178
|
-
kind: "link";
|
|
179
177
|
label: string;
|
|
178
|
+
kind: "link";
|
|
179
|
+
url: string;
|
|
180
180
|
})[] | undefined;
|
|
181
181
|
}, {
|
|
182
182
|
title: string;
|
|
@@ -190,22 +190,20 @@ export declare const activityPlayPrizeListCardDataSchema: z.ZodObject<{
|
|
|
190
190
|
wonAt?: string | undefined;
|
|
191
191
|
usageRuleText?: string | undefined;
|
|
192
192
|
itemActions?: ({
|
|
193
|
-
kind: "send";
|
|
194
193
|
label: string;
|
|
194
|
+
kind: "send";
|
|
195
195
|
value?: string | undefined;
|
|
196
196
|
visibleValue?: string | undefined;
|
|
197
197
|
} | {
|
|
198
|
-
url: string;
|
|
199
|
-
kind: "link";
|
|
200
198
|
label: string;
|
|
199
|
+
kind: "link";
|
|
200
|
+
url: string;
|
|
201
201
|
})[] | undefined;
|
|
202
202
|
}>, "many">;
|
|
203
203
|
noResultsReason: z.ZodOptional<z.ZodString>;
|
|
204
204
|
/** 展示截断标记:items 超出 50 条展示上限被截断时为 true(total 仍为真实值——展示范围 ≠ 记录范围) */
|
|
205
205
|
truncated: z.ZodOptional<z.ZodBoolean>;
|
|
206
206
|
}, "strict", z.ZodTypeAny, {
|
|
207
|
-
mallId: string;
|
|
208
|
-
total: number;
|
|
209
207
|
items: {
|
|
210
208
|
title: string;
|
|
211
209
|
prizeRecordRef: string;
|
|
@@ -218,21 +216,21 @@ export declare const activityPlayPrizeListCardDataSchema: z.ZodObject<{
|
|
|
218
216
|
wonAt?: string | undefined;
|
|
219
217
|
usageRuleText?: string | undefined;
|
|
220
218
|
itemActions?: ({
|
|
221
|
-
kind: "send";
|
|
222
219
|
label: string;
|
|
220
|
+
kind: "send";
|
|
223
221
|
value?: string | undefined;
|
|
224
222
|
visibleValue?: string | undefined;
|
|
225
223
|
} | {
|
|
226
|
-
url: string;
|
|
227
|
-
kind: "link";
|
|
228
224
|
label: string;
|
|
225
|
+
kind: "link";
|
|
226
|
+
url: string;
|
|
229
227
|
})[] | undefined;
|
|
230
228
|
}[];
|
|
229
|
+
total: number;
|
|
230
|
+
mallId: string;
|
|
231
231
|
noResultsReason?: string | undefined;
|
|
232
232
|
truncated?: boolean | undefined;
|
|
233
233
|
}, {
|
|
234
|
-
mallId: string;
|
|
235
|
-
total: number;
|
|
236
234
|
items: {
|
|
237
235
|
title: string;
|
|
238
236
|
prizeRecordRef: string;
|
|
@@ -245,16 +243,18 @@ export declare const activityPlayPrizeListCardDataSchema: z.ZodObject<{
|
|
|
245
243
|
wonAt?: string | undefined;
|
|
246
244
|
usageRuleText?: string | undefined;
|
|
247
245
|
itemActions?: ({
|
|
248
|
-
kind: "send";
|
|
249
246
|
label: string;
|
|
247
|
+
kind: "send";
|
|
250
248
|
value?: string | undefined;
|
|
251
249
|
visibleValue?: string | undefined;
|
|
252
250
|
} | {
|
|
253
|
-
url: string;
|
|
254
|
-
kind: "link";
|
|
255
251
|
label: string;
|
|
252
|
+
kind: "link";
|
|
253
|
+
url: string;
|
|
256
254
|
})[] | undefined;
|
|
257
255
|
}[];
|
|
256
|
+
total: number;
|
|
257
|
+
mallId: string;
|
|
258
258
|
noResultsReason?: string | undefined;
|
|
259
259
|
truncated?: boolean | undefined;
|
|
260
260
|
}>;
|
|
@@ -281,8 +281,8 @@ export declare const activityPlayPrizeDetailCardDataSchema: z.ZodObject<{
|
|
|
281
281
|
} & {
|
|
282
282
|
mallId: z.ZodString;
|
|
283
283
|
}, "strict", z.ZodTypeAny, {
|
|
284
|
-
mallId: string;
|
|
285
284
|
title: string;
|
|
285
|
+
mallId: string;
|
|
286
286
|
prizeRecordRef: string;
|
|
287
287
|
prizeType: string;
|
|
288
288
|
claimStatus: string;
|
|
@@ -296,8 +296,8 @@ export declare const activityPlayPrizeDetailCardDataSchema: z.ZodObject<{
|
|
|
296
296
|
redemptionInstruction?: string | undefined;
|
|
297
297
|
prizeUrl?: string | undefined;
|
|
298
298
|
}, {
|
|
299
|
-
mallId: string;
|
|
300
299
|
title: string;
|
|
300
|
+
mallId: string;
|
|
301
301
|
prizeRecordRef: string;
|
|
302
302
|
prizeType: string;
|
|
303
303
|
claimStatus: string;
|
|
@@ -15,23 +15,23 @@ declare const bumpInVoucherSchema: z.ZodObject<{
|
|
|
15
15
|
merchantLogo: z.ZodOptional<z.ZodString>;
|
|
16
16
|
itemLogo: z.ZodOptional<z.ZodString>;
|
|
17
17
|
}, "strip", z.ZodTypeAny, {
|
|
18
|
+
unit: string;
|
|
18
19
|
merchantName: string;
|
|
19
20
|
prizeId: string;
|
|
20
21
|
voucherName: string;
|
|
21
22
|
voucherType: string;
|
|
22
23
|
reductionAmount: string;
|
|
23
24
|
thresholdAmountText: string;
|
|
24
|
-
unit: string;
|
|
25
25
|
merchantLogo?: string | undefined;
|
|
26
26
|
itemLogo?: string | undefined;
|
|
27
27
|
}, {
|
|
28
|
+
unit: string;
|
|
28
29
|
merchantName: string;
|
|
29
30
|
prizeId: string;
|
|
30
31
|
voucherName: string;
|
|
31
32
|
voucherType: string;
|
|
32
33
|
reductionAmount: string;
|
|
33
34
|
thresholdAmountText: string;
|
|
34
|
-
unit: string;
|
|
35
35
|
merchantLogo?: string | undefined;
|
|
36
36
|
itemLogo?: string | undefined;
|
|
37
37
|
}>;
|
|
@@ -72,23 +72,23 @@ export declare const promotionBumpInActivityCardDataSchema: z.ZodObject<{
|
|
|
72
72
|
merchantLogo: z.ZodOptional<z.ZodString>;
|
|
73
73
|
itemLogo: z.ZodOptional<z.ZodString>;
|
|
74
74
|
}, "strip", z.ZodTypeAny, {
|
|
75
|
+
unit: string;
|
|
75
76
|
merchantName: string;
|
|
76
77
|
prizeId: string;
|
|
77
78
|
voucherName: string;
|
|
78
79
|
voucherType: string;
|
|
79
80
|
reductionAmount: string;
|
|
80
81
|
thresholdAmountText: string;
|
|
81
|
-
unit: string;
|
|
82
82
|
merchantLogo?: string | undefined;
|
|
83
83
|
itemLogo?: string | undefined;
|
|
84
84
|
}, {
|
|
85
|
+
unit: string;
|
|
85
86
|
merchantName: string;
|
|
86
87
|
prizeId: string;
|
|
87
88
|
voucherName: string;
|
|
88
89
|
voucherType: string;
|
|
89
90
|
reductionAmount: string;
|
|
90
91
|
thresholdAmountText: string;
|
|
91
|
-
unit: string;
|
|
92
92
|
merchantLogo?: string | undefined;
|
|
93
93
|
itemLogo?: string | undefined;
|
|
94
94
|
}>, "many">;
|
|
@@ -111,19 +111,23 @@ export declare const promotionBumpInActivityCardDataSchema: z.ZodObject<{
|
|
|
111
111
|
activityRef: string;
|
|
112
112
|
actStatus: "NOT_START" | "INIT" | "PROCESSING" | "FINISH" | "RECEIVED";
|
|
113
113
|
vouchers: {
|
|
114
|
+
unit: string;
|
|
114
115
|
merchantName: string;
|
|
115
116
|
prizeId: string;
|
|
116
117
|
voucherName: string;
|
|
117
118
|
voucherType: string;
|
|
118
119
|
reductionAmount: string;
|
|
119
120
|
thresholdAmountText: string;
|
|
120
|
-
unit: string;
|
|
121
121
|
merchantLogo?: string | undefined;
|
|
122
122
|
itemLogo?: string | undefined;
|
|
123
123
|
}[];
|
|
124
124
|
mode: "detail" | "banner";
|
|
125
|
-
progressStyle: "
|
|
125
|
+
progressStyle: "steps" | "bar";
|
|
126
126
|
description?: string | undefined;
|
|
127
|
+
steps?: {
|
|
128
|
+
title: string;
|
|
129
|
+
description?: string | undefined;
|
|
130
|
+
}[] | undefined;
|
|
127
131
|
coverUrl?: string | undefined;
|
|
128
132
|
mainTitle?: string | undefined;
|
|
129
133
|
backgroundUrl?: string | undefined;
|
|
@@ -134,26 +138,26 @@ export declare const promotionBumpInActivityCardDataSchema: z.ZodObject<{
|
|
|
134
138
|
progressUnit?: string | undefined;
|
|
135
139
|
startAtText?: string | undefined;
|
|
136
140
|
endAtText?: string | undefined;
|
|
137
|
-
steps?: {
|
|
138
|
-
title: string;
|
|
139
|
-
description?: string | undefined;
|
|
140
|
-
}[] | undefined;
|
|
141
141
|
}, {
|
|
142
142
|
title: string;
|
|
143
143
|
activityRef: string;
|
|
144
144
|
actStatus: "NOT_START" | "INIT" | "PROCESSING" | "FINISH" | "RECEIVED";
|
|
145
145
|
vouchers: {
|
|
146
|
+
unit: string;
|
|
146
147
|
merchantName: string;
|
|
147
148
|
prizeId: string;
|
|
148
149
|
voucherName: string;
|
|
149
150
|
voucherType: string;
|
|
150
151
|
reductionAmount: string;
|
|
151
152
|
thresholdAmountText: string;
|
|
152
|
-
unit: string;
|
|
153
153
|
merchantLogo?: string | undefined;
|
|
154
154
|
itemLogo?: string | undefined;
|
|
155
155
|
}[];
|
|
156
156
|
description?: string | undefined;
|
|
157
|
+
steps?: {
|
|
158
|
+
title: string;
|
|
159
|
+
description?: string | undefined;
|
|
160
|
+
}[] | undefined;
|
|
157
161
|
coverUrl?: string | undefined;
|
|
158
162
|
mainTitle?: string | undefined;
|
|
159
163
|
backgroundUrl?: string | undefined;
|
|
@@ -165,11 +169,7 @@ export declare const promotionBumpInActivityCardDataSchema: z.ZodObject<{
|
|
|
165
169
|
startAtText?: string | undefined;
|
|
166
170
|
endAtText?: string | undefined;
|
|
167
171
|
mode?: "detail" | "banner" | undefined;
|
|
168
|
-
|
|
169
|
-
title: string;
|
|
170
|
-
description?: string | undefined;
|
|
171
|
-
}[] | undefined;
|
|
172
|
-
progressStyle?: "bar" | "steps" | undefined;
|
|
172
|
+
progressStyle?: "steps" | "bar" | undefined;
|
|
173
173
|
}>;
|
|
174
174
|
export type PromotionBumpInActivityCardData = z.infer<typeof promotionBumpInActivityCardDataSchema>;
|
|
175
175
|
export declare const alipayActivityCardDataSchemas: {
|
|
@@ -201,23 +201,23 @@ export declare const alipayActivityCardDataSchemas: {
|
|
|
201
201
|
merchantLogo: z.ZodOptional<z.ZodString>;
|
|
202
202
|
itemLogo: z.ZodOptional<z.ZodString>;
|
|
203
203
|
}, "strip", z.ZodTypeAny, {
|
|
204
|
+
unit: string;
|
|
204
205
|
merchantName: string;
|
|
205
206
|
prizeId: string;
|
|
206
207
|
voucherName: string;
|
|
207
208
|
voucherType: string;
|
|
208
209
|
reductionAmount: string;
|
|
209
210
|
thresholdAmountText: string;
|
|
210
|
-
unit: string;
|
|
211
211
|
merchantLogo?: string | undefined;
|
|
212
212
|
itemLogo?: string | undefined;
|
|
213
213
|
}, {
|
|
214
|
+
unit: string;
|
|
214
215
|
merchantName: string;
|
|
215
216
|
prizeId: string;
|
|
216
217
|
voucherName: string;
|
|
217
218
|
voucherType: string;
|
|
218
219
|
reductionAmount: string;
|
|
219
220
|
thresholdAmountText: string;
|
|
220
|
-
unit: string;
|
|
221
221
|
merchantLogo?: string | undefined;
|
|
222
222
|
itemLogo?: string | undefined;
|
|
223
223
|
}>, "many">;
|
|
@@ -240,19 +240,23 @@ export declare const alipayActivityCardDataSchemas: {
|
|
|
240
240
|
activityRef: string;
|
|
241
241
|
actStatus: "NOT_START" | "INIT" | "PROCESSING" | "FINISH" | "RECEIVED";
|
|
242
242
|
vouchers: {
|
|
243
|
+
unit: string;
|
|
243
244
|
merchantName: string;
|
|
244
245
|
prizeId: string;
|
|
245
246
|
voucherName: string;
|
|
246
247
|
voucherType: string;
|
|
247
248
|
reductionAmount: string;
|
|
248
249
|
thresholdAmountText: string;
|
|
249
|
-
unit: string;
|
|
250
250
|
merchantLogo?: string | undefined;
|
|
251
251
|
itemLogo?: string | undefined;
|
|
252
252
|
}[];
|
|
253
253
|
mode: "detail" | "banner";
|
|
254
|
-
progressStyle: "
|
|
254
|
+
progressStyle: "steps" | "bar";
|
|
255
255
|
description?: string | undefined;
|
|
256
|
+
steps?: {
|
|
257
|
+
title: string;
|
|
258
|
+
description?: string | undefined;
|
|
259
|
+
}[] | undefined;
|
|
256
260
|
coverUrl?: string | undefined;
|
|
257
261
|
mainTitle?: string | undefined;
|
|
258
262
|
backgroundUrl?: string | undefined;
|
|
@@ -263,26 +267,26 @@ export declare const alipayActivityCardDataSchemas: {
|
|
|
263
267
|
progressUnit?: string | undefined;
|
|
264
268
|
startAtText?: string | undefined;
|
|
265
269
|
endAtText?: string | undefined;
|
|
266
|
-
steps?: {
|
|
267
|
-
title: string;
|
|
268
|
-
description?: string | undefined;
|
|
269
|
-
}[] | undefined;
|
|
270
270
|
}, {
|
|
271
271
|
title: string;
|
|
272
272
|
activityRef: string;
|
|
273
273
|
actStatus: "NOT_START" | "INIT" | "PROCESSING" | "FINISH" | "RECEIVED";
|
|
274
274
|
vouchers: {
|
|
275
|
+
unit: string;
|
|
275
276
|
merchantName: string;
|
|
276
277
|
prizeId: string;
|
|
277
278
|
voucherName: string;
|
|
278
279
|
voucherType: string;
|
|
279
280
|
reductionAmount: string;
|
|
280
281
|
thresholdAmountText: string;
|
|
281
|
-
unit: string;
|
|
282
282
|
merchantLogo?: string | undefined;
|
|
283
283
|
itemLogo?: string | undefined;
|
|
284
284
|
}[];
|
|
285
285
|
description?: string | undefined;
|
|
286
|
+
steps?: {
|
|
287
|
+
title: string;
|
|
288
|
+
description?: string | undefined;
|
|
289
|
+
}[] | undefined;
|
|
286
290
|
coverUrl?: string | undefined;
|
|
287
291
|
mainTitle?: string | undefined;
|
|
288
292
|
backgroundUrl?: string | undefined;
|
|
@@ -294,11 +298,7 @@ export declare const alipayActivityCardDataSchemas: {
|
|
|
294
298
|
startAtText?: string | undefined;
|
|
295
299
|
endAtText?: string | undefined;
|
|
296
300
|
mode?: "detail" | "banner" | undefined;
|
|
297
|
-
|
|
298
|
-
title: string;
|
|
299
|
-
description?: string | undefined;
|
|
300
|
-
}[] | undefined;
|
|
301
|
-
progressStyle?: "bar" | "steps" | undefined;
|
|
301
|
+
progressStyle?: "steps" | "bar" | undefined;
|
|
302
302
|
}>;
|
|
303
303
|
};
|
|
304
304
|
export type AlipayActivityCardType = keyof typeof alipayActivityCardDataSchemas;
|
|
@@ -172,7 +172,6 @@ export declare const activityPlayPrizeListResultSchema: z.ZodObject<{
|
|
|
172
172
|
usageRuleText?: string | undefined;
|
|
173
173
|
}>, "many">;
|
|
174
174
|
}, "strict", z.ZodTypeAny, {
|
|
175
|
-
total: number;
|
|
176
175
|
items: {
|
|
177
176
|
title: string;
|
|
178
177
|
prizeRecordRef: string;
|
|
@@ -185,8 +184,8 @@ export declare const activityPlayPrizeListResultSchema: z.ZodObject<{
|
|
|
185
184
|
wonAt?: string | undefined;
|
|
186
185
|
usageRuleText?: string | undefined;
|
|
187
186
|
}[];
|
|
188
|
-
}, {
|
|
189
187
|
total: number;
|
|
188
|
+
}, {
|
|
190
189
|
items: {
|
|
191
190
|
title: string;
|
|
192
191
|
prizeRecordRef: string;
|
|
@@ -199,6 +198,7 @@ export declare const activityPlayPrizeListResultSchema: z.ZodObject<{
|
|
|
199
198
|
wonAt?: string | undefined;
|
|
200
199
|
usageRuleText?: string | undefined;
|
|
201
200
|
}[];
|
|
201
|
+
total: number;
|
|
202
202
|
}>;
|
|
203
203
|
/** 奖品记录(列表条目形态) */
|
|
204
204
|
export type ActivityPlayPrizeRecord = z.infer<typeof activityPlayPrizeRecordSchema>;
|
|
@@ -61,16 +61,16 @@ export declare const activityPlayActivitySchema: z.ZodObject<{
|
|
|
61
61
|
status: z.ZodEnum<["not_started", "active", "ended", "disabled", "unknown"]>;
|
|
62
62
|
}, "strict", z.ZodTypeAny, {
|
|
63
63
|
status: "unknown" | "not_started" | "active" | "ended" | "disabled";
|
|
64
|
-
activityId: string;
|
|
65
64
|
title: string;
|
|
65
|
+
activityId: string;
|
|
66
66
|
description?: string | undefined;
|
|
67
67
|
imageUrl?: string | undefined;
|
|
68
68
|
startsAt?: string | undefined;
|
|
69
69
|
endsAt?: string | undefined;
|
|
70
70
|
}, {
|
|
71
71
|
status: "unknown" | "not_started" | "active" | "ended" | "disabled";
|
|
72
|
-
activityId: string;
|
|
73
72
|
title: string;
|
|
73
|
+
activityId: string;
|
|
74
74
|
description?: string | undefined;
|
|
75
75
|
imageUrl?: string | undefined;
|
|
76
76
|
startsAt?: string | undefined;
|