@tbox.cn/app-contracts-mall 1.0.0-alpha.7 → 1.0.0-alpha.9

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.
@@ -19,73 +19,174 @@ export declare const activityPlayCardDataSchema: z.ZodEffects<z.ZodObject<{
19
19
  title: z.ZodString;
20
20
  description: z.ZodOptional<z.ZodString>;
21
21
  imageUrl: z.ZodOptional<z.ZodString>;
22
+ detailCoverUrl: z.ZodOptional<z.ZodString>;
23
+ participationRules: z.ZodOptional<z.ZodObject<{
24
+ ruleTexts: z.ZodArray<z.ZodString, "many">;
25
+ }, "strict", z.ZodTypeAny, {
26
+ ruleTexts: string[];
27
+ }, {
28
+ ruleTexts: string[];
29
+ }>>;
30
+ rewardSummary: z.ZodOptional<z.ZodObject<{
31
+ items: z.ZodArray<z.ZodObject<{
32
+ title: z.ZodString;
33
+ tierName: z.ZodString;
34
+ imageUrl: z.ZodOptional<z.ZodString>;
35
+ }, "strict", z.ZodTypeAny, {
36
+ title: string;
37
+ tierName: string;
38
+ imageUrl?: string | undefined;
39
+ }, {
40
+ title: string;
41
+ tierName: string;
42
+ imageUrl?: string | undefined;
43
+ }>, "many">;
44
+ }, "strict", z.ZodTypeAny, {
45
+ items: {
46
+ title: string;
47
+ tierName: string;
48
+ imageUrl?: string | undefined;
49
+ }[];
50
+ }, {
51
+ items: {
52
+ title: string;
53
+ tierName: string;
54
+ imageUrl?: string | undefined;
55
+ }[];
56
+ }>>;
22
57
  startsAt: z.ZodOptional<z.ZodString>;
23
58
  endsAt: z.ZodOptional<z.ZodString>;
24
59
  status: z.ZodEnum<["not_started", "active", "ended", "disabled", "unknown"]>;
25
60
  }, "strict", z.ZodTypeAny, {
26
61
  status: "unknown" | "not_started" | "active" | "ended" | "disabled";
27
- activityId: string;
28
62
  title: string;
63
+ activityId: string;
29
64
  description?: string | undefined;
30
65
  imageUrl?: string | undefined;
66
+ detailCoverUrl?: string | undefined;
67
+ participationRules?: {
68
+ ruleTexts: string[];
69
+ } | undefined;
70
+ rewardSummary?: {
71
+ items: {
72
+ title: string;
73
+ tierName: string;
74
+ imageUrl?: string | undefined;
75
+ }[];
76
+ } | undefined;
31
77
  startsAt?: string | undefined;
32
78
  endsAt?: string | undefined;
33
79
  }, {
34
80
  status: "unknown" | "not_started" | "active" | "ended" | "disabled";
35
- activityId: string;
36
81
  title: string;
82
+ activityId: string;
37
83
  description?: string | undefined;
38
84
  imageUrl?: string | undefined;
85
+ detailCoverUrl?: string | undefined;
86
+ participationRules?: {
87
+ ruleTexts: string[];
88
+ } | undefined;
89
+ rewardSummary?: {
90
+ items: {
91
+ title: string;
92
+ tierName: string;
93
+ imageUrl?: string | undefined;
94
+ }[];
95
+ } | undefined;
39
96
  startsAt?: string | undefined;
40
97
  endsAt?: string | undefined;
41
98
  }>, "many">;
42
99
  }, "strip", z.ZodTypeAny, {
43
- mallId: string;
44
100
  items: {
45
101
  status: "unknown" | "not_started" | "active" | "ended" | "disabled";
46
- activityId: string;
47
102
  title: string;
103
+ activityId: string;
48
104
  description?: string | undefined;
49
105
  imageUrl?: string | undefined;
106
+ detailCoverUrl?: string | undefined;
107
+ participationRules?: {
108
+ ruleTexts: string[];
109
+ } | undefined;
110
+ rewardSummary?: {
111
+ items: {
112
+ title: string;
113
+ tierName: string;
114
+ imageUrl?: string | undefined;
115
+ }[];
116
+ } | undefined;
50
117
  startsAt?: string | undefined;
51
118
  endsAt?: string | undefined;
52
119
  }[];
120
+ mallId: string;
53
121
  mode: "detail" | "list";
54
122
  }, {
55
- mallId: string;
56
123
  items: {
57
124
  status: "unknown" | "not_started" | "active" | "ended" | "disabled";
58
- activityId: string;
59
125
  title: string;
126
+ activityId: string;
60
127
  description?: string | undefined;
61
128
  imageUrl?: string | undefined;
129
+ detailCoverUrl?: string | undefined;
130
+ participationRules?: {
131
+ ruleTexts: string[];
132
+ } | undefined;
133
+ rewardSummary?: {
134
+ items: {
135
+ title: string;
136
+ tierName: string;
137
+ imageUrl?: string | undefined;
138
+ }[];
139
+ } | undefined;
62
140
  startsAt?: string | undefined;
63
141
  endsAt?: string | undefined;
64
142
  }[];
143
+ mallId: string;
65
144
  mode: "detail" | "list";
66
145
  }>, {
67
- mallId: string;
68
146
  items: {
69
147
  status: "unknown" | "not_started" | "active" | "ended" | "disabled";
70
- activityId: string;
71
148
  title: string;
149
+ activityId: string;
72
150
  description?: string | undefined;
73
151
  imageUrl?: string | undefined;
152
+ detailCoverUrl?: string | undefined;
153
+ participationRules?: {
154
+ ruleTexts: string[];
155
+ } | undefined;
156
+ rewardSummary?: {
157
+ items: {
158
+ title: string;
159
+ tierName: string;
160
+ imageUrl?: string | undefined;
161
+ }[];
162
+ } | undefined;
74
163
  startsAt?: string | undefined;
75
164
  endsAt?: string | undefined;
76
165
  }[];
166
+ mallId: string;
77
167
  mode: "detail" | "list";
78
168
  }, {
79
- mallId: string;
80
169
  items: {
81
170
  status: "unknown" | "not_started" | "active" | "ended" | "disabled";
82
- activityId: string;
83
171
  title: string;
172
+ activityId: string;
84
173
  description?: string | undefined;
85
174
  imageUrl?: string | undefined;
175
+ detailCoverUrl?: string | undefined;
176
+ participationRules?: {
177
+ ruleTexts: string[];
178
+ } | undefined;
179
+ rewardSummary?: {
180
+ items: {
181
+ title: string;
182
+ tierName: string;
183
+ imageUrl?: string | undefined;
184
+ }[];
185
+ } | undefined;
86
186
  startsAt?: string | undefined;
87
187
  endsAt?: string | undefined;
88
188
  }[];
189
+ mallId: string;
89
190
  mode: "detail" | "list";
90
191
  }>;
91
192
  /** 卡片数据类型(zod 推断;客户端渲染器与工具出卡共用类型面) */
@@ -1,19 +1,7 @@
1
- /**
2
- * 个人奖品域卡片数据契约(任务07——本人奖品列表/详情两张稳定卡型)。
3
- * 与活动域「单一 cardType + mode」形态区分:奖品按 api.md 卡片表为两张独立卡型
4
- *(列表含 itemActions 标准动作 / 详情平铺),传输层不共用 mode。
5
- *
6
- * 分层纪律:HTTP 业务 DTO 只含奖品事实(domain 单源,条目数跟随供应商返回不加展示上限);
7
- * itemActions、noResultsReason、truncated 是卡片适配层补充字段,仅出现在本卡片契约面
8
- * ——不回写 DTO、不透传厂商原始 JSON。列表动作沿既有 actionDraftSchema(shared/cards
9
- * 单源)的 send 形态:value 携带准确中奖记录标识、visibleValue 可用可读名称;信封字段
10
- * 由 SDK 卡片框架承载,不在本契约。
11
- */
1
+ /** 奖品统一列表卡契约;详情查询出单条列表,完整详情经 HTTP 在半屏展示。 */
12
2
  import { z } from 'zod';
13
3
  /** 本人奖品列表卡型(列表查询工具出卡) */
14
4
  export declare const ACTIVITY_PLAY_PRIZE_LIST_CARD_TYPE = "activity-play-prize-list";
15
- /** 本人奖品详情卡型(详情查询工具出卡) */
16
- export declare const ACTIVITY_PLAY_PRIZE_DETAIL_CARD_TYPE = "activity-play-prize-detail";
17
5
  /**
18
6
  * 列表卡片展示条目上限(契约单源):schema items.max 与模块出卡适配共用同此值——
19
7
  * 超出由适配层截断展示(total 仍为供应商真实值 + truncated 标记),两侧不得各写一个数。
@@ -42,13 +30,13 @@ export declare const activityPlayPrizeCardItemSchema: z.ZodObject<{
42
30
  value: z.ZodOptional<z.ZodString>;
43
31
  visibleValue: z.ZodOptional<z.ZodString>;
44
32
  }, "strip", z.ZodTypeAny, {
45
- kind: "send";
46
33
  label: string;
34
+ kind: "send";
47
35
  value?: string | undefined;
48
36
  visibleValue?: string | undefined;
49
37
  }, {
50
- kind: "send";
51
38
  label: string;
39
+ kind: "send";
52
40
  value?: string | undefined;
53
41
  visibleValue?: string | undefined;
54
42
  }>, z.ZodObject<{
@@ -56,13 +44,13 @@ export declare const activityPlayPrizeCardItemSchema: z.ZodObject<{
56
44
  label: z.ZodString;
57
45
  url: z.ZodString;
58
46
  }, "strip", z.ZodTypeAny, {
59
- url: string;
60
- kind: "link";
61
47
  label: string;
62
- }, {
63
- url: string;
64
48
  kind: "link";
49
+ url: string;
50
+ }, {
65
51
  label: string;
52
+ kind: "link";
53
+ url: string;
66
54
  }>]>, "many">>;
67
55
  }, "strict", z.ZodTypeAny, {
68
56
  title: string;
@@ -76,14 +64,14 @@ export declare const activityPlayPrizeCardItemSchema: z.ZodObject<{
76
64
  wonAt?: string | undefined;
77
65
  usageRuleText?: string | undefined;
78
66
  itemActions?: ({
79
- kind: "send";
80
67
  label: string;
68
+ kind: "send";
81
69
  value?: string | undefined;
82
70
  visibleValue?: string | undefined;
83
71
  } | {
84
- url: string;
85
- kind: "link";
86
72
  label: string;
73
+ kind: "link";
74
+ url: string;
87
75
  })[] | undefined;
88
76
  }, {
89
77
  title: string;
@@ -97,14 +85,14 @@ export declare const activityPlayPrizeCardItemSchema: z.ZodObject<{
97
85
  wonAt?: string | undefined;
98
86
  usageRuleText?: string | undefined;
99
87
  itemActions?: ({
100
- kind: "send";
101
88
  label: string;
89
+ kind: "send";
102
90
  value?: string | undefined;
103
91
  visibleValue?: string | undefined;
104
92
  } | {
105
- url: string;
106
- kind: "link";
107
93
  label: string;
94
+ kind: "link";
95
+ url: string;
108
96
  })[] | undefined;
109
97
  }>;
110
98
  export type ActivityPlayPrizeCardItem = z.infer<typeof activityPlayPrizeCardItemSchema>;
@@ -135,13 +123,13 @@ export declare const activityPlayPrizeListCardDataSchema: z.ZodObject<{
135
123
  value: z.ZodOptional<z.ZodString>;
136
124
  visibleValue: z.ZodOptional<z.ZodString>;
137
125
  }, "strip", z.ZodTypeAny, {
138
- kind: "send";
139
126
  label: string;
127
+ kind: "send";
140
128
  value?: string | undefined;
141
129
  visibleValue?: string | undefined;
142
130
  }, {
143
- kind: "send";
144
131
  label: string;
132
+ kind: "send";
145
133
  value?: string | undefined;
146
134
  visibleValue?: string | undefined;
147
135
  }>, z.ZodObject<{
@@ -149,13 +137,13 @@ export declare const activityPlayPrizeListCardDataSchema: z.ZodObject<{
149
137
  label: z.ZodString;
150
138
  url: z.ZodString;
151
139
  }, "strip", z.ZodTypeAny, {
152
- url: string;
153
- kind: "link";
154
140
  label: string;
155
- }, {
156
- url: string;
157
141
  kind: "link";
142
+ url: string;
143
+ }, {
158
144
  label: string;
145
+ kind: "link";
146
+ url: string;
159
147
  }>]>, "many">>;
160
148
  }, "strict", z.ZodTypeAny, {
161
149
  title: string;
@@ -169,14 +157,14 @@ export declare const activityPlayPrizeListCardDataSchema: z.ZodObject<{
169
157
  wonAt?: string | undefined;
170
158
  usageRuleText?: string | undefined;
171
159
  itemActions?: ({
172
- kind: "send";
173
160
  label: string;
161
+ kind: "send";
174
162
  value?: string | undefined;
175
163
  visibleValue?: string | undefined;
176
164
  } | {
177
- url: string;
178
- kind: "link";
179
165
  label: string;
166
+ kind: "link";
167
+ url: string;
180
168
  })[] | undefined;
181
169
  }, {
182
170
  title: string;
@@ -190,22 +178,20 @@ export declare const activityPlayPrizeListCardDataSchema: z.ZodObject<{
190
178
  wonAt?: string | undefined;
191
179
  usageRuleText?: string | undefined;
192
180
  itemActions?: ({
193
- kind: "send";
194
181
  label: string;
182
+ kind: "send";
195
183
  value?: string | undefined;
196
184
  visibleValue?: string | undefined;
197
185
  } | {
198
- url: string;
199
- kind: "link";
200
186
  label: string;
187
+ kind: "link";
188
+ url: string;
201
189
  })[] | undefined;
202
190
  }>, "many">;
203
191
  noResultsReason: z.ZodOptional<z.ZodString>;
204
192
  /** 展示截断标记:items 超出 50 条展示上限被截断时为 true(total 仍为真实值——展示范围 ≠ 记录范围) */
205
193
  truncated: z.ZodOptional<z.ZodBoolean>;
206
194
  }, "strict", z.ZodTypeAny, {
207
- mallId: string;
208
- total: number;
209
195
  items: {
210
196
  title: string;
211
197
  prizeRecordRef: string;
@@ -218,21 +204,21 @@ export declare const activityPlayPrizeListCardDataSchema: z.ZodObject<{
218
204
  wonAt?: string | undefined;
219
205
  usageRuleText?: string | undefined;
220
206
  itemActions?: ({
221
- kind: "send";
222
207
  label: string;
208
+ kind: "send";
223
209
  value?: string | undefined;
224
210
  visibleValue?: string | undefined;
225
211
  } | {
226
- url: string;
227
- kind: "link";
228
212
  label: string;
213
+ kind: "link";
214
+ url: string;
229
215
  })[] | undefined;
230
216
  }[];
217
+ total: number;
218
+ mallId: string;
231
219
  noResultsReason?: string | undefined;
232
220
  truncated?: boolean | undefined;
233
221
  }, {
234
- mallId: string;
235
- total: number;
236
222
  items: {
237
223
  title: string;
238
224
  prizeRecordRef: string;
@@ -245,70 +231,19 @@ export declare const activityPlayPrizeListCardDataSchema: z.ZodObject<{
245
231
  wonAt?: string | undefined;
246
232
  usageRuleText?: string | undefined;
247
233
  itemActions?: ({
248
- kind: "send";
249
234
  label: string;
235
+ kind: "send";
250
236
  value?: string | undefined;
251
237
  visibleValue?: string | undefined;
252
238
  } | {
253
- url: string;
254
- kind: "link";
255
239
  label: string;
240
+ kind: "link";
241
+ url: string;
256
242
  })[] | undefined;
257
243
  }[];
244
+ total: number;
245
+ mallId: string;
258
246
  noResultsReason?: string | undefined;
259
247
  truncated?: boolean | undefined;
260
248
  }>;
261
249
  export type ActivityPlayPrizeListCardData = z.infer<typeof activityPlayPrizeListCardDataSchema>;
262
- /**
263
- * 本人奖品详情卡片 data(平铺:{mallId, ...PrizeDetail}——不套 mode/items 或额外
264
- * prize 包装对象)。prizeUrl 仅为指引事实字段(不据此增加按钮、自动请求或导航)。
265
- */
266
- export declare const activityPlayPrizeDetailCardDataSchema: z.ZodObject<{
267
- prizeRecordRef: z.ZodEffects<z.ZodString, string, string>;
268
- title: z.ZodString;
269
- prizeType: z.ZodString;
270
- claimStatus: z.ZodString;
271
- useStatus: z.ZodString;
272
- activityId: z.ZodOptional<z.ZodString>;
273
- activityTitle: z.ZodOptional<z.ZodString>;
274
- imageUrl: z.ZodOptional<z.ZodString>;
275
- wonAt: z.ZodOptional<z.ZodString>;
276
- usageRuleText: z.ZodOptional<z.ZodString>;
277
- } & {
278
- redemptionMethod: z.ZodOptional<z.ZodString>;
279
- redemptionInstruction: z.ZodOptional<z.ZodString>;
280
- prizeUrl: z.ZodOptional<z.ZodString>;
281
- } & {
282
- mallId: z.ZodString;
283
- }, "strict", z.ZodTypeAny, {
284
- mallId: string;
285
- title: string;
286
- prizeRecordRef: string;
287
- prizeType: string;
288
- claimStatus: string;
289
- useStatus: string;
290
- activityId?: string | undefined;
291
- imageUrl?: string | undefined;
292
- activityTitle?: string | undefined;
293
- wonAt?: string | undefined;
294
- usageRuleText?: string | undefined;
295
- redemptionMethod?: string | undefined;
296
- redemptionInstruction?: string | undefined;
297
- prizeUrl?: string | undefined;
298
- }, {
299
- mallId: string;
300
- title: string;
301
- prizeRecordRef: string;
302
- prizeType: string;
303
- claimStatus: string;
304
- useStatus: string;
305
- activityId?: string | undefined;
306
- imageUrl?: string | undefined;
307
- activityTitle?: string | undefined;
308
- wonAt?: string | undefined;
309
- usageRuleText?: string | undefined;
310
- redemptionMethod?: string | undefined;
311
- redemptionInstruction?: string | undefined;
312
- prizeUrl?: string | undefined;
313
- }>;
314
- export type ActivityPlayPrizeDetailCardData = z.infer<typeof activityPlayPrizeDetailCardDataSchema>;
@@ -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: "bar" | "steps";
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
- steps?: {
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: "bar" | "steps";
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
- steps?: {
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>;