@tbox.cn/app-module-promotion 1.0.0-alpha.16 → 1.0.0-alpha.18
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-2S7WUHX4.js → chunk-AVRCLENB.js} +83 -56
- package/dist/{chunk-HK4U3I7K.js → chunk-NJGYYTGM.js} +42 -5
- package/dist/client/index.js +1 -1
- package/dist/index.js +2 -2
- package/dist/server/index.d.ts +526 -520
- package/dist/server/index.js +1 -1
- package/package.json +6 -6
- package/skills/promotion/SKILL.md +9 -5
- package/src/client/cards/promotion-entitlement-list/index.tsx +46 -5
- package/src/server/cards/promotion-entitlement-list/samples.ts +3 -2
- package/src/server/handler.ts +28 -29
- package/src/server/index.ts +1 -1
- package/src/server/tools.ts +59 -27
- package/tests/cards-render.test.tsx +28 -4
- package/tests/promotion.test.ts +36 -0
package/dist/server/index.d.ts
CHANGED
|
@@ -105,13 +105,13 @@ declare const promotionCards: {
|
|
|
105
105
|
value: zod.ZodOptional<zod.ZodString>;
|
|
106
106
|
visibleValue: zod.ZodOptional<zod.ZodString>;
|
|
107
107
|
}, "strip", zod.ZodTypeAny, {
|
|
108
|
-
kind: "send";
|
|
109
108
|
label: string;
|
|
109
|
+
kind: "send";
|
|
110
110
|
value?: string | undefined;
|
|
111
111
|
visibleValue?: string | undefined;
|
|
112
112
|
}, {
|
|
113
|
-
kind: "send";
|
|
114
113
|
label: string;
|
|
114
|
+
kind: "send";
|
|
115
115
|
value?: string | undefined;
|
|
116
116
|
visibleValue?: string | undefined;
|
|
117
117
|
}>, zod.ZodObject<{
|
|
@@ -119,127 +119,127 @@ declare const promotionCards: {
|
|
|
119
119
|
label: zod.ZodString;
|
|
120
120
|
url: zod.ZodString;
|
|
121
121
|
}, "strip", zod.ZodTypeAny, {
|
|
122
|
-
kind: "link";
|
|
123
122
|
label: string;
|
|
123
|
+
kind: "link";
|
|
124
124
|
url: string;
|
|
125
125
|
}, {
|
|
126
|
-
kind: "link";
|
|
127
126
|
label: string;
|
|
127
|
+
kind: "link";
|
|
128
128
|
url: string;
|
|
129
129
|
}>]>, "many">>;
|
|
130
130
|
tags: zod.ZodArray<zod.ZodString, "many">;
|
|
131
131
|
}, "strip", zod.ZodTypeAny, {
|
|
132
|
-
offerRef: string;
|
|
133
132
|
title: string;
|
|
133
|
+
tags: string[];
|
|
134
|
+
offerRef: string;
|
|
134
135
|
offerType: "COUPON" | "BUNDLE" | "PROMOTION" | "ACTIVITY" | "GROUPON";
|
|
135
136
|
claimable: boolean;
|
|
136
|
-
tags: string[];
|
|
137
137
|
subtitle?: string | undefined;
|
|
138
|
+
imageUrl?: string | undefined;
|
|
139
|
+
usageRuleText?: string | undefined;
|
|
140
|
+
usageTimeText?: string | undefined;
|
|
141
|
+
purchaseUrl?: string | undefined;
|
|
142
|
+
freeCouponClaimMode?: "DIRECT" | "REDIRECT" | undefined;
|
|
143
|
+
itemActions?: ({
|
|
144
|
+
label: string;
|
|
145
|
+
kind: "send";
|
|
146
|
+
value?: string | undefined;
|
|
147
|
+
visibleValue?: string | undefined;
|
|
148
|
+
} | {
|
|
149
|
+
label: string;
|
|
150
|
+
kind: "link";
|
|
151
|
+
url: string;
|
|
152
|
+
})[] | undefined;
|
|
138
153
|
benefitText?: string | undefined;
|
|
139
154
|
thresholdText?: string | undefined;
|
|
140
155
|
priceText?: string | undefined;
|
|
141
156
|
originalPriceText?: string | undefined;
|
|
142
157
|
discountLabel?: string | undefined;
|
|
143
158
|
claimActionLabel?: string | undefined;
|
|
144
|
-
purchaseUrl?: string | undefined;
|
|
145
|
-
freeCouponClaimMode?: "DIRECT" | "REDIRECT" | undefined;
|
|
146
159
|
stockText?: string | undefined;
|
|
147
160
|
usageNoticeText?: string | undefined;
|
|
148
161
|
guaranteeText?: string | undefined;
|
|
149
162
|
usageSceneText?: string | undefined;
|
|
150
|
-
usageTimeText?: string | undefined;
|
|
151
163
|
claimTimeText?: string | undefined;
|
|
152
|
-
|
|
153
|
-
availabilityStatus?: "AVAILABLE" | "UNAVAILABLE" | "REQUIRES_ACTION" | "UNKNOWN" | undefined;
|
|
164
|
+
availabilityStatus?: "UNKNOWN" | "AVAILABLE" | "UNAVAILABLE" | "REQUIRES_ACTION" | undefined;
|
|
154
165
|
validityText?: string | undefined;
|
|
166
|
+
}, {
|
|
167
|
+
title: string;
|
|
168
|
+
tags: string[];
|
|
169
|
+
offerRef: string;
|
|
170
|
+
offerType: "COUPON" | "BUNDLE" | "PROMOTION" | "ACTIVITY" | "GROUPON";
|
|
171
|
+
claimable: boolean;
|
|
172
|
+
subtitle?: string | undefined;
|
|
155
173
|
imageUrl?: string | undefined;
|
|
174
|
+
usageRuleText?: string | undefined;
|
|
175
|
+
usageTimeText?: string | undefined;
|
|
176
|
+
purchaseUrl?: string | undefined;
|
|
177
|
+
freeCouponClaimMode?: "DIRECT" | "REDIRECT" | undefined;
|
|
156
178
|
itemActions?: ({
|
|
157
|
-
kind: "send";
|
|
158
179
|
label: string;
|
|
180
|
+
kind: "send";
|
|
159
181
|
value?: string | undefined;
|
|
160
182
|
visibleValue?: string | undefined;
|
|
161
183
|
} | {
|
|
162
|
-
kind: "link";
|
|
163
184
|
label: string;
|
|
185
|
+
kind: "link";
|
|
164
186
|
url: string;
|
|
165
187
|
})[] | undefined;
|
|
166
|
-
}, {
|
|
167
|
-
offerRef: string;
|
|
168
|
-
title: string;
|
|
169
|
-
offerType: "COUPON" | "BUNDLE" | "PROMOTION" | "ACTIVITY" | "GROUPON";
|
|
170
|
-
claimable: boolean;
|
|
171
|
-
tags: string[];
|
|
172
|
-
subtitle?: string | undefined;
|
|
173
188
|
benefitText?: string | undefined;
|
|
174
189
|
thresholdText?: string | undefined;
|
|
175
190
|
priceText?: string | undefined;
|
|
176
191
|
originalPriceText?: string | undefined;
|
|
177
192
|
discountLabel?: string | undefined;
|
|
178
193
|
claimActionLabel?: string | undefined;
|
|
179
|
-
purchaseUrl?: string | undefined;
|
|
180
|
-
freeCouponClaimMode?: "DIRECT" | "REDIRECT" | undefined;
|
|
181
194
|
stockText?: string | undefined;
|
|
182
195
|
usageNoticeText?: string | undefined;
|
|
183
196
|
guaranteeText?: string | undefined;
|
|
184
197
|
usageSceneText?: string | undefined;
|
|
185
|
-
usageTimeText?: string | undefined;
|
|
186
198
|
claimTimeText?: string | undefined;
|
|
187
|
-
|
|
188
|
-
availabilityStatus?: "AVAILABLE" | "UNAVAILABLE" | "REQUIRES_ACTION" | "UNKNOWN" | undefined;
|
|
199
|
+
availabilityStatus?: "UNKNOWN" | "AVAILABLE" | "UNAVAILABLE" | "REQUIRES_ACTION" | undefined;
|
|
189
200
|
validityText?: string | undefined;
|
|
190
|
-
imageUrl?: string | undefined;
|
|
191
|
-
itemActions?: ({
|
|
192
|
-
kind: "send";
|
|
193
|
-
label: string;
|
|
194
|
-
value?: string | undefined;
|
|
195
|
-
visibleValue?: string | undefined;
|
|
196
|
-
} | {
|
|
197
|
-
kind: "link";
|
|
198
|
-
label: string;
|
|
199
|
-
url: string;
|
|
200
|
-
})[] | undefined;
|
|
201
201
|
}>, "many">;
|
|
202
202
|
noResultsReason: zod.ZodOptional<zod.ZodString>;
|
|
203
203
|
nextCursor: zod.ZodOptional<zod.ZodString>;
|
|
204
204
|
showDealRecall: zod.ZodOptional<zod.ZodLiteral<true>>;
|
|
205
205
|
}, "strip", zod.ZodTypeAny, {
|
|
206
206
|
items: {
|
|
207
|
-
offerRef: string;
|
|
208
207
|
title: string;
|
|
208
|
+
tags: string[];
|
|
209
|
+
offerRef: string;
|
|
209
210
|
offerType: "COUPON" | "BUNDLE" | "PROMOTION" | "ACTIVITY" | "GROUPON";
|
|
210
211
|
claimable: boolean;
|
|
211
|
-
tags: string[];
|
|
212
212
|
subtitle?: string | undefined;
|
|
213
|
+
imageUrl?: string | undefined;
|
|
214
|
+
usageRuleText?: string | undefined;
|
|
215
|
+
usageTimeText?: string | undefined;
|
|
216
|
+
purchaseUrl?: string | undefined;
|
|
217
|
+
freeCouponClaimMode?: "DIRECT" | "REDIRECT" | undefined;
|
|
218
|
+
itemActions?: ({
|
|
219
|
+
label: string;
|
|
220
|
+
kind: "send";
|
|
221
|
+
value?: string | undefined;
|
|
222
|
+
visibleValue?: string | undefined;
|
|
223
|
+
} | {
|
|
224
|
+
label: string;
|
|
225
|
+
kind: "link";
|
|
226
|
+
url: string;
|
|
227
|
+
})[] | undefined;
|
|
213
228
|
benefitText?: string | undefined;
|
|
214
229
|
thresholdText?: string | undefined;
|
|
215
230
|
priceText?: string | undefined;
|
|
216
231
|
originalPriceText?: string | undefined;
|
|
217
232
|
discountLabel?: string | undefined;
|
|
218
233
|
claimActionLabel?: string | undefined;
|
|
219
|
-
purchaseUrl?: string | undefined;
|
|
220
|
-
freeCouponClaimMode?: "DIRECT" | "REDIRECT" | undefined;
|
|
221
234
|
stockText?: string | undefined;
|
|
222
235
|
usageNoticeText?: string | undefined;
|
|
223
236
|
guaranteeText?: string | undefined;
|
|
224
237
|
usageSceneText?: string | undefined;
|
|
225
|
-
usageTimeText?: string | undefined;
|
|
226
238
|
claimTimeText?: string | undefined;
|
|
227
|
-
|
|
228
|
-
availabilityStatus?: "AVAILABLE" | "UNAVAILABLE" | "REQUIRES_ACTION" | "UNKNOWN" | undefined;
|
|
239
|
+
availabilityStatus?: "UNKNOWN" | "AVAILABLE" | "UNAVAILABLE" | "REQUIRES_ACTION" | undefined;
|
|
229
240
|
validityText?: string | undefined;
|
|
230
|
-
imageUrl?: string | undefined;
|
|
231
|
-
itemActions?: ({
|
|
232
|
-
kind: "send";
|
|
233
|
-
label: string;
|
|
234
|
-
value?: string | undefined;
|
|
235
|
-
visibleValue?: string | undefined;
|
|
236
|
-
} | {
|
|
237
|
-
kind: "link";
|
|
238
|
-
label: string;
|
|
239
|
-
url: string;
|
|
240
|
-
})[] | undefined;
|
|
241
241
|
}[];
|
|
242
|
-
mode: "
|
|
242
|
+
mode: "search" | "claimable" | "recommend";
|
|
243
243
|
presentation?: "coupon" | "promotion" | "recommendation" | "offer" | undefined;
|
|
244
244
|
summary?: string | undefined;
|
|
245
245
|
noResultsReason?: string | undefined;
|
|
@@ -248,42 +248,42 @@ declare const promotionCards: {
|
|
|
248
248
|
showDealRecall?: true | undefined;
|
|
249
249
|
}, {
|
|
250
250
|
items: {
|
|
251
|
-
offerRef: string;
|
|
252
251
|
title: string;
|
|
252
|
+
tags: string[];
|
|
253
|
+
offerRef: string;
|
|
253
254
|
offerType: "COUPON" | "BUNDLE" | "PROMOTION" | "ACTIVITY" | "GROUPON";
|
|
254
255
|
claimable: boolean;
|
|
255
|
-
tags: string[];
|
|
256
256
|
subtitle?: string | undefined;
|
|
257
|
+
imageUrl?: string | undefined;
|
|
258
|
+
usageRuleText?: string | undefined;
|
|
259
|
+
usageTimeText?: string | undefined;
|
|
260
|
+
purchaseUrl?: string | undefined;
|
|
261
|
+
freeCouponClaimMode?: "DIRECT" | "REDIRECT" | undefined;
|
|
262
|
+
itemActions?: ({
|
|
263
|
+
label: string;
|
|
264
|
+
kind: "send";
|
|
265
|
+
value?: string | undefined;
|
|
266
|
+
visibleValue?: string | undefined;
|
|
267
|
+
} | {
|
|
268
|
+
label: string;
|
|
269
|
+
kind: "link";
|
|
270
|
+
url: string;
|
|
271
|
+
})[] | undefined;
|
|
257
272
|
benefitText?: string | undefined;
|
|
258
273
|
thresholdText?: string | undefined;
|
|
259
274
|
priceText?: string | undefined;
|
|
260
275
|
originalPriceText?: string | undefined;
|
|
261
276
|
discountLabel?: string | undefined;
|
|
262
277
|
claimActionLabel?: string | undefined;
|
|
263
|
-
purchaseUrl?: string | undefined;
|
|
264
|
-
freeCouponClaimMode?: "DIRECT" | "REDIRECT" | undefined;
|
|
265
278
|
stockText?: string | undefined;
|
|
266
279
|
usageNoticeText?: string | undefined;
|
|
267
280
|
guaranteeText?: string | undefined;
|
|
268
281
|
usageSceneText?: string | undefined;
|
|
269
|
-
usageTimeText?: string | undefined;
|
|
270
282
|
claimTimeText?: string | undefined;
|
|
271
|
-
|
|
272
|
-
availabilityStatus?: "AVAILABLE" | "UNAVAILABLE" | "REQUIRES_ACTION" | "UNKNOWN" | undefined;
|
|
283
|
+
availabilityStatus?: "UNKNOWN" | "AVAILABLE" | "UNAVAILABLE" | "REQUIRES_ACTION" | undefined;
|
|
273
284
|
validityText?: string | undefined;
|
|
274
|
-
imageUrl?: string | undefined;
|
|
275
|
-
itemActions?: ({
|
|
276
|
-
kind: "send";
|
|
277
|
-
label: string;
|
|
278
|
-
value?: string | undefined;
|
|
279
|
-
visibleValue?: string | undefined;
|
|
280
|
-
} | {
|
|
281
|
-
kind: "link";
|
|
282
|
-
label: string;
|
|
283
|
-
url: string;
|
|
284
|
-
})[] | undefined;
|
|
285
285
|
}[];
|
|
286
|
-
mode: "
|
|
286
|
+
mode: "search" | "claimable" | "recommend";
|
|
287
287
|
presentation?: "coupon" | "promotion" | "recommendation" | "offer" | undefined;
|
|
288
288
|
summary?: string | undefined;
|
|
289
289
|
noResultsReason?: string | undefined;
|
|
@@ -361,36 +361,36 @@ declare const promotionCards: {
|
|
|
361
361
|
unavailableReason: zod.ZodOptional<zod.ZodString>;
|
|
362
362
|
caveats: zod.ZodArray<zod.ZodString, "many">;
|
|
363
363
|
}, "strip", zod.ZodTypeAny, {
|
|
364
|
-
offerRef: string;
|
|
365
364
|
title: string;
|
|
365
|
+
offerRef: string;
|
|
366
|
+
caveats: string[];
|
|
366
367
|
offerType: "COUPON" | "BUNDLE" | "PROMOTION" | "ACTIVITY" | "GROUPON";
|
|
367
368
|
claimable: boolean;
|
|
368
|
-
caveats: string[];
|
|
369
369
|
rules: string[];
|
|
370
|
+
description?: string | undefined;
|
|
371
|
+
notice?: string | undefined;
|
|
372
|
+
steps?: {
|
|
373
|
+
title: string;
|
|
374
|
+
description?: string | undefined;
|
|
375
|
+
}[] | undefined;
|
|
376
|
+
presentation?: "package" | "coupon" | "promotion" | "offer" | "promotion-guide" | undefined;
|
|
370
377
|
subtitle?: string | undefined;
|
|
378
|
+
imageUrl?: string | undefined;
|
|
379
|
+
usageRuleText?: string | undefined;
|
|
380
|
+
usageTimeText?: string | undefined;
|
|
381
|
+
purchaseUrl?: string | undefined;
|
|
371
382
|
benefitText?: string | undefined;
|
|
372
383
|
thresholdText?: string | undefined;
|
|
373
384
|
priceText?: string | undefined;
|
|
374
385
|
originalPriceText?: string | undefined;
|
|
375
386
|
discountLabel?: string | undefined;
|
|
376
387
|
claimActionLabel?: string | undefined;
|
|
377
|
-
purchaseUrl?: string | undefined;
|
|
378
388
|
stockText?: string | undefined;
|
|
379
389
|
usageNoticeText?: string | undefined;
|
|
380
390
|
guaranteeText?: string | undefined;
|
|
381
391
|
usageSceneText?: string | undefined;
|
|
382
|
-
usageTimeText?: string | undefined;
|
|
383
392
|
claimTimeText?: string | undefined;
|
|
384
|
-
usageRuleText?: string | undefined;
|
|
385
393
|
validityText?: string | undefined;
|
|
386
|
-
imageUrl?: string | undefined;
|
|
387
|
-
description?: string | undefined;
|
|
388
|
-
notice?: string | undefined;
|
|
389
|
-
steps?: {
|
|
390
|
-
title: string;
|
|
391
|
-
description?: string | undefined;
|
|
392
|
-
}[] | undefined;
|
|
393
|
-
presentation?: "package" | "coupon" | "promotion" | "offer" | "promotion-guide" | undefined;
|
|
394
394
|
participationMode?: "UNKNOWN" | "AUTOMATIC_DISCOUNT" | "CLAIM_THEN_PURCHASE" | "REGISTER_THEN_ATTEND" | "GROUP_PURCHASE" | undefined;
|
|
395
395
|
requirements?: string[] | undefined;
|
|
396
396
|
stores?: {
|
|
@@ -406,36 +406,36 @@ declare const promotionCards: {
|
|
|
406
406
|
}[] | undefined;
|
|
407
407
|
unavailableReason?: string | undefined;
|
|
408
408
|
}, {
|
|
409
|
-
offerRef: string;
|
|
410
409
|
title: string;
|
|
410
|
+
offerRef: string;
|
|
411
|
+
caveats: string[];
|
|
411
412
|
offerType: "COUPON" | "BUNDLE" | "PROMOTION" | "ACTIVITY" | "GROUPON";
|
|
412
413
|
claimable: boolean;
|
|
413
|
-
caveats: string[];
|
|
414
414
|
rules: string[];
|
|
415
|
+
description?: string | undefined;
|
|
416
|
+
notice?: string | undefined;
|
|
417
|
+
steps?: {
|
|
418
|
+
title: string;
|
|
419
|
+
description?: string | undefined;
|
|
420
|
+
}[] | undefined;
|
|
421
|
+
presentation?: "package" | "coupon" | "promotion" | "offer" | "promotion-guide" | undefined;
|
|
415
422
|
subtitle?: string | undefined;
|
|
423
|
+
imageUrl?: string | undefined;
|
|
424
|
+
usageRuleText?: string | undefined;
|
|
425
|
+
usageTimeText?: string | undefined;
|
|
426
|
+
purchaseUrl?: string | undefined;
|
|
416
427
|
benefitText?: string | undefined;
|
|
417
428
|
thresholdText?: string | undefined;
|
|
418
429
|
priceText?: string | undefined;
|
|
419
430
|
originalPriceText?: string | undefined;
|
|
420
431
|
discountLabel?: string | undefined;
|
|
421
432
|
claimActionLabel?: string | undefined;
|
|
422
|
-
purchaseUrl?: string | undefined;
|
|
423
433
|
stockText?: string | undefined;
|
|
424
434
|
usageNoticeText?: string | undefined;
|
|
425
435
|
guaranteeText?: string | undefined;
|
|
426
436
|
usageSceneText?: string | undefined;
|
|
427
|
-
usageTimeText?: string | undefined;
|
|
428
437
|
claimTimeText?: string | undefined;
|
|
429
|
-
usageRuleText?: string | undefined;
|
|
430
438
|
validityText?: string | undefined;
|
|
431
|
-
imageUrl?: string | undefined;
|
|
432
|
-
description?: string | undefined;
|
|
433
|
-
notice?: string | undefined;
|
|
434
|
-
steps?: {
|
|
435
|
-
title: string;
|
|
436
|
-
description?: string | undefined;
|
|
437
|
-
}[] | undefined;
|
|
438
|
-
presentation?: "package" | "coupon" | "promotion" | "offer" | "promotion-guide" | undefined;
|
|
439
439
|
participationMode?: "UNKNOWN" | "AUTOMATIC_DISCOUNT" | "CLAIM_THEN_PURCHASE" | "REGISTER_THEN_ATTEND" | "GROUP_PURCHASE" | undefined;
|
|
440
440
|
requirements?: string[] | undefined;
|
|
441
441
|
stores?: {
|
|
@@ -452,6 +452,7 @@ declare const promotionCards: {
|
|
|
452
452
|
unavailableReason?: string | undefined;
|
|
453
453
|
}>>;
|
|
454
454
|
readonly 'promotion-entitlement-list': _tbox_cn_app_contracts.CardMeta<zod.ZodObject<{
|
|
455
|
+
showAlipayWallet: zod.ZodOptional<zod.ZodBoolean>;
|
|
455
456
|
mallId: zod.ZodOptional<zod.ZodString>;
|
|
456
457
|
miniAppId: zod.ZodOptional<zod.ZodString>;
|
|
457
458
|
maxItems: zod.ZodOptional<zod.ZodNumber>;
|
|
@@ -480,13 +481,13 @@ declare const promotionCards: {
|
|
|
480
481
|
value: zod.ZodOptional<zod.ZodString>;
|
|
481
482
|
visibleValue: zod.ZodOptional<zod.ZodString>;
|
|
482
483
|
}, "strip", zod.ZodTypeAny, {
|
|
483
|
-
kind: "send";
|
|
484
484
|
label: string;
|
|
485
|
+
kind: "send";
|
|
485
486
|
value?: string | undefined;
|
|
486
487
|
visibleValue?: string | undefined;
|
|
487
488
|
}, {
|
|
488
|
-
kind: "send";
|
|
489
489
|
label: string;
|
|
490
|
+
kind: "send";
|
|
490
491
|
value?: string | undefined;
|
|
491
492
|
visibleValue?: string | undefined;
|
|
492
493
|
}>, zod.ZodObject<{
|
|
@@ -494,12 +495,12 @@ declare const promotionCards: {
|
|
|
494
495
|
label: zod.ZodString;
|
|
495
496
|
url: zod.ZodString;
|
|
496
497
|
}, "strip", zod.ZodTypeAny, {
|
|
497
|
-
kind: "link";
|
|
498
498
|
label: string;
|
|
499
|
+
kind: "link";
|
|
499
500
|
url: string;
|
|
500
501
|
}, {
|
|
501
|
-
kind: "link";
|
|
502
502
|
label: string;
|
|
503
|
+
kind: "link";
|
|
503
504
|
url: string;
|
|
504
505
|
}>]>, "many">>;
|
|
505
506
|
stores: zod.ZodOptional<zod.ZodArray<zod.ZodObject<{
|
|
@@ -536,25 +537,25 @@ declare const promotionCards: {
|
|
|
536
537
|
entitlementRef: string;
|
|
537
538
|
entitlementType: "COUPON" | "BUNDLE" | "PROMOTION" | "ACTIVITY" | "GROUPON";
|
|
538
539
|
code?: string | undefined;
|
|
539
|
-
benefitText?: string | undefined;
|
|
540
|
-
thresholdText?: string | undefined;
|
|
541
|
-
guaranteeText?: string | undefined;
|
|
542
|
-
usageSceneText?: string | undefined;
|
|
543
|
-
usageTimeText?: string | undefined;
|
|
544
|
-
claimTimeText?: string | undefined;
|
|
545
|
-
usageRuleText?: string | undefined;
|
|
546
|
-
validityText?: string | undefined;
|
|
547
540
|
imageUrl?: string | undefined;
|
|
541
|
+
usageRuleText?: string | undefined;
|
|
542
|
+
usageTimeText?: string | undefined;
|
|
548
543
|
itemActions?: ({
|
|
549
|
-
kind: "send";
|
|
550
544
|
label: string;
|
|
545
|
+
kind: "send";
|
|
551
546
|
value?: string | undefined;
|
|
552
547
|
visibleValue?: string | undefined;
|
|
553
548
|
} | {
|
|
554
|
-
kind: "link";
|
|
555
549
|
label: string;
|
|
550
|
+
kind: "link";
|
|
556
551
|
url: string;
|
|
557
552
|
})[] | undefined;
|
|
553
|
+
benefitText?: string | undefined;
|
|
554
|
+
thresholdText?: string | undefined;
|
|
555
|
+
guaranteeText?: string | undefined;
|
|
556
|
+
usageSceneText?: string | undefined;
|
|
557
|
+
claimTimeText?: string | undefined;
|
|
558
|
+
validityText?: string | undefined;
|
|
558
559
|
stores?: {
|
|
559
560
|
storeId: string;
|
|
560
561
|
storeName: string;
|
|
@@ -575,25 +576,25 @@ declare const promotionCards: {
|
|
|
575
576
|
entitlementRef: string;
|
|
576
577
|
entitlementType: "COUPON" | "BUNDLE" | "PROMOTION" | "ACTIVITY" | "GROUPON";
|
|
577
578
|
code?: string | undefined;
|
|
578
|
-
benefitText?: string | undefined;
|
|
579
|
-
thresholdText?: string | undefined;
|
|
580
|
-
guaranteeText?: string | undefined;
|
|
581
|
-
usageSceneText?: string | undefined;
|
|
582
|
-
usageTimeText?: string | undefined;
|
|
583
|
-
claimTimeText?: string | undefined;
|
|
584
|
-
usageRuleText?: string | undefined;
|
|
585
|
-
validityText?: string | undefined;
|
|
586
579
|
imageUrl?: string | undefined;
|
|
580
|
+
usageRuleText?: string | undefined;
|
|
581
|
+
usageTimeText?: string | undefined;
|
|
587
582
|
itemActions?: ({
|
|
588
|
-
kind: "send";
|
|
589
583
|
label: string;
|
|
584
|
+
kind: "send";
|
|
590
585
|
value?: string | undefined;
|
|
591
586
|
visibleValue?: string | undefined;
|
|
592
587
|
} | {
|
|
593
|
-
kind: "link";
|
|
594
588
|
label: string;
|
|
589
|
+
kind: "link";
|
|
595
590
|
url: string;
|
|
596
591
|
})[] | undefined;
|
|
592
|
+
benefitText?: string | undefined;
|
|
593
|
+
thresholdText?: string | undefined;
|
|
594
|
+
guaranteeText?: string | undefined;
|
|
595
|
+
usageSceneText?: string | undefined;
|
|
596
|
+
claimTimeText?: string | undefined;
|
|
597
|
+
validityText?: string | undefined;
|
|
597
598
|
stores?: {
|
|
598
599
|
storeId: string;
|
|
599
600
|
storeName: string;
|
|
@@ -618,25 +619,25 @@ declare const promotionCards: {
|
|
|
618
619
|
entitlementRef: string;
|
|
619
620
|
entitlementType: "COUPON" | "BUNDLE" | "PROMOTION" | "ACTIVITY" | "GROUPON";
|
|
620
621
|
code?: string | undefined;
|
|
621
|
-
benefitText?: string | undefined;
|
|
622
|
-
thresholdText?: string | undefined;
|
|
623
|
-
guaranteeText?: string | undefined;
|
|
624
|
-
usageSceneText?: string | undefined;
|
|
625
|
-
usageTimeText?: string | undefined;
|
|
626
|
-
claimTimeText?: string | undefined;
|
|
627
|
-
usageRuleText?: string | undefined;
|
|
628
|
-
validityText?: string | undefined;
|
|
629
622
|
imageUrl?: string | undefined;
|
|
623
|
+
usageRuleText?: string | undefined;
|
|
624
|
+
usageTimeText?: string | undefined;
|
|
630
625
|
itemActions?: ({
|
|
631
|
-
kind: "send";
|
|
632
626
|
label: string;
|
|
627
|
+
kind: "send";
|
|
633
628
|
value?: string | undefined;
|
|
634
629
|
visibleValue?: string | undefined;
|
|
635
630
|
} | {
|
|
636
|
-
kind: "link";
|
|
637
631
|
label: string;
|
|
632
|
+
kind: "link";
|
|
638
633
|
url: string;
|
|
639
634
|
})[] | undefined;
|
|
635
|
+
benefitText?: string | undefined;
|
|
636
|
+
thresholdText?: string | undefined;
|
|
637
|
+
guaranteeText?: string | undefined;
|
|
638
|
+
usageSceneText?: string | undefined;
|
|
639
|
+
claimTimeText?: string | undefined;
|
|
640
|
+
validityText?: string | undefined;
|
|
640
641
|
stores?: {
|
|
641
642
|
storeId: string;
|
|
642
643
|
storeName: string;
|
|
@@ -657,6 +658,7 @@ declare const promotionCards: {
|
|
|
657
658
|
noResultsReason?: string | undefined;
|
|
658
659
|
maxItems?: number | undefined;
|
|
659
660
|
nextCursor?: string | undefined;
|
|
661
|
+
showAlipayWallet?: boolean | undefined;
|
|
660
662
|
}, {
|
|
661
663
|
items: {
|
|
662
664
|
status: "UNKNOWN" | "USED" | "EXPIRED" | "EFFECTIVE" | "INVALID";
|
|
@@ -664,25 +666,25 @@ declare const promotionCards: {
|
|
|
664
666
|
entitlementRef: string;
|
|
665
667
|
entitlementType: "COUPON" | "BUNDLE" | "PROMOTION" | "ACTIVITY" | "GROUPON";
|
|
666
668
|
code?: string | undefined;
|
|
667
|
-
benefitText?: string | undefined;
|
|
668
|
-
thresholdText?: string | undefined;
|
|
669
|
-
guaranteeText?: string | undefined;
|
|
670
|
-
usageSceneText?: string | undefined;
|
|
671
|
-
usageTimeText?: string | undefined;
|
|
672
|
-
claimTimeText?: string | undefined;
|
|
673
|
-
usageRuleText?: string | undefined;
|
|
674
|
-
validityText?: string | undefined;
|
|
675
669
|
imageUrl?: string | undefined;
|
|
670
|
+
usageRuleText?: string | undefined;
|
|
671
|
+
usageTimeText?: string | undefined;
|
|
676
672
|
itemActions?: ({
|
|
677
|
-
kind: "send";
|
|
678
673
|
label: string;
|
|
674
|
+
kind: "send";
|
|
679
675
|
value?: string | undefined;
|
|
680
676
|
visibleValue?: string | undefined;
|
|
681
677
|
} | {
|
|
682
|
-
kind: "link";
|
|
683
678
|
label: string;
|
|
679
|
+
kind: "link";
|
|
684
680
|
url: string;
|
|
685
681
|
})[] | undefined;
|
|
682
|
+
benefitText?: string | undefined;
|
|
683
|
+
thresholdText?: string | undefined;
|
|
684
|
+
guaranteeText?: string | undefined;
|
|
685
|
+
usageSceneText?: string | undefined;
|
|
686
|
+
claimTimeText?: string | undefined;
|
|
687
|
+
validityText?: string | undefined;
|
|
686
688
|
stores?: {
|
|
687
689
|
storeId: string;
|
|
688
690
|
storeName: string;
|
|
@@ -703,6 +705,7 @@ declare const promotionCards: {
|
|
|
703
705
|
noResultsReason?: string | undefined;
|
|
704
706
|
maxItems?: number | undefined;
|
|
705
707
|
nextCursor?: string | undefined;
|
|
708
|
+
showAlipayWallet?: boolean | undefined;
|
|
706
709
|
}>>;
|
|
707
710
|
readonly 'promotion-activity-list': _tbox_cn_app_contracts.CardMeta<zod.ZodObject<{
|
|
708
711
|
items: zod.ZodArray<zod.ZodObject<{
|
|
@@ -723,13 +726,13 @@ declare const promotionCards: {
|
|
|
723
726
|
value: zod.ZodOptional<zod.ZodString>;
|
|
724
727
|
visibleValue: zod.ZodOptional<zod.ZodString>;
|
|
725
728
|
}, "strip", zod.ZodTypeAny, {
|
|
726
|
-
kind: "send";
|
|
727
729
|
label: string;
|
|
730
|
+
kind: "send";
|
|
728
731
|
value?: string | undefined;
|
|
729
732
|
visibleValue?: string | undefined;
|
|
730
733
|
}, {
|
|
731
|
-
kind: "send";
|
|
732
734
|
label: string;
|
|
735
|
+
kind: "send";
|
|
733
736
|
value?: string | undefined;
|
|
734
737
|
visibleValue?: string | undefined;
|
|
735
738
|
}>, zod.ZodObject<{
|
|
@@ -737,12 +740,12 @@ declare const promotionCards: {
|
|
|
737
740
|
label: zod.ZodString;
|
|
738
741
|
url: zod.ZodString;
|
|
739
742
|
}, "strip", zod.ZodTypeAny, {
|
|
740
|
-
kind: "link";
|
|
741
743
|
label: string;
|
|
744
|
+
kind: "link";
|
|
742
745
|
url: string;
|
|
743
746
|
}, {
|
|
744
|
-
kind: "link";
|
|
745
747
|
label: string;
|
|
748
|
+
kind: "link";
|
|
746
749
|
url: string;
|
|
747
750
|
}>]>, "many">>;
|
|
748
751
|
}, "strip", zod.ZodTypeAny, {
|
|
@@ -750,18 +753,18 @@ declare const promotionCards: {
|
|
|
750
753
|
activityRef: string;
|
|
751
754
|
registrationRequired: boolean;
|
|
752
755
|
subtitle?: string | undefined;
|
|
753
|
-
availabilityStatus?: "AVAILABLE" | "UNKNOWN" | "FULL" | "ENDED" | "UPCOMING" | undefined;
|
|
754
756
|
itemActions?: ({
|
|
755
|
-
kind: "send";
|
|
756
757
|
label: string;
|
|
758
|
+
kind: "send";
|
|
757
759
|
value?: string | undefined;
|
|
758
760
|
visibleValue?: string | undefined;
|
|
759
761
|
} | {
|
|
760
|
-
kind: "link";
|
|
761
762
|
label: string;
|
|
763
|
+
kind: "link";
|
|
762
764
|
url: string;
|
|
763
765
|
})[] | undefined;
|
|
764
766
|
coverUrl?: string | undefined;
|
|
767
|
+
availabilityStatus?: "UNKNOWN" | "AVAILABLE" | "FULL" | "ENDED" | "UPCOMING" | undefined;
|
|
765
768
|
jumpOnly?: boolean | undefined;
|
|
766
769
|
jumpLabel?: string | undefined;
|
|
767
770
|
remainingQuota?: number | undefined;
|
|
@@ -772,18 +775,18 @@ declare const promotionCards: {
|
|
|
772
775
|
activityRef: string;
|
|
773
776
|
registrationRequired: boolean;
|
|
774
777
|
subtitle?: string | undefined;
|
|
775
|
-
availabilityStatus?: "AVAILABLE" | "UNKNOWN" | "FULL" | "ENDED" | "UPCOMING" | undefined;
|
|
776
778
|
itemActions?: ({
|
|
777
|
-
kind: "send";
|
|
778
779
|
label: string;
|
|
780
|
+
kind: "send";
|
|
779
781
|
value?: string | undefined;
|
|
780
782
|
visibleValue?: string | undefined;
|
|
781
783
|
} | {
|
|
782
|
-
kind: "link";
|
|
783
784
|
label: string;
|
|
785
|
+
kind: "link";
|
|
784
786
|
url: string;
|
|
785
787
|
})[] | undefined;
|
|
786
788
|
coverUrl?: string | undefined;
|
|
789
|
+
availabilityStatus?: "UNKNOWN" | "AVAILABLE" | "FULL" | "ENDED" | "UPCOMING" | undefined;
|
|
787
790
|
jumpOnly?: boolean | undefined;
|
|
788
791
|
jumpLabel?: string | undefined;
|
|
789
792
|
remainingQuota?: number | undefined;
|
|
@@ -798,18 +801,18 @@ declare const promotionCards: {
|
|
|
798
801
|
activityRef: string;
|
|
799
802
|
registrationRequired: boolean;
|
|
800
803
|
subtitle?: string | undefined;
|
|
801
|
-
availabilityStatus?: "AVAILABLE" | "UNKNOWN" | "FULL" | "ENDED" | "UPCOMING" | undefined;
|
|
802
804
|
itemActions?: ({
|
|
803
|
-
kind: "send";
|
|
804
805
|
label: string;
|
|
806
|
+
kind: "send";
|
|
805
807
|
value?: string | undefined;
|
|
806
808
|
visibleValue?: string | undefined;
|
|
807
809
|
} | {
|
|
808
|
-
kind: "link";
|
|
809
810
|
label: string;
|
|
811
|
+
kind: "link";
|
|
810
812
|
url: string;
|
|
811
813
|
})[] | undefined;
|
|
812
814
|
coverUrl?: string | undefined;
|
|
815
|
+
availabilityStatus?: "UNKNOWN" | "AVAILABLE" | "FULL" | "ENDED" | "UPCOMING" | undefined;
|
|
813
816
|
jumpOnly?: boolean | undefined;
|
|
814
817
|
jumpLabel?: string | undefined;
|
|
815
818
|
remainingQuota?: number | undefined;
|
|
@@ -824,18 +827,18 @@ declare const promotionCards: {
|
|
|
824
827
|
activityRef: string;
|
|
825
828
|
registrationRequired: boolean;
|
|
826
829
|
subtitle?: string | undefined;
|
|
827
|
-
availabilityStatus?: "AVAILABLE" | "UNKNOWN" | "FULL" | "ENDED" | "UPCOMING" | undefined;
|
|
828
830
|
itemActions?: ({
|
|
829
|
-
kind: "send";
|
|
830
831
|
label: string;
|
|
832
|
+
kind: "send";
|
|
831
833
|
value?: string | undefined;
|
|
832
834
|
visibleValue?: string | undefined;
|
|
833
835
|
} | {
|
|
834
|
-
kind: "link";
|
|
835
836
|
label: string;
|
|
837
|
+
kind: "link";
|
|
836
838
|
url: string;
|
|
837
839
|
})[] | undefined;
|
|
838
840
|
coverUrl?: string | undefined;
|
|
841
|
+
availabilityStatus?: "UNKNOWN" | "AVAILABLE" | "FULL" | "ENDED" | "UPCOMING" | undefined;
|
|
839
842
|
jumpOnly?: boolean | undefined;
|
|
840
843
|
jumpLabel?: string | undefined;
|
|
841
844
|
remainingQuota?: number | undefined;
|
|
@@ -913,10 +916,10 @@ declare const promotionCards: {
|
|
|
913
916
|
}[];
|
|
914
917
|
guideSteps: string[];
|
|
915
918
|
conditions: string[];
|
|
916
|
-
subtitle?: string | undefined;
|
|
917
919
|
description?: string | undefined;
|
|
918
920
|
notice?: string | undefined;
|
|
919
921
|
presentation?: "detail" | "schedule" | "guide" | undefined;
|
|
922
|
+
subtitle?: string | undefined;
|
|
920
923
|
location?: string | undefined;
|
|
921
924
|
coverUrl?: string | undefined;
|
|
922
925
|
jumpOnly?: boolean | undefined;
|
|
@@ -944,10 +947,10 @@ declare const promotionCards: {
|
|
|
944
947
|
}[];
|
|
945
948
|
guideSteps: string[];
|
|
946
949
|
conditions: string[];
|
|
947
|
-
subtitle?: string | undefined;
|
|
948
950
|
description?: string | undefined;
|
|
949
951
|
notice?: string | undefined;
|
|
950
952
|
presentation?: "detail" | "schedule" | "guide" | undefined;
|
|
953
|
+
subtitle?: string | undefined;
|
|
951
954
|
location?: string | undefined;
|
|
952
955
|
coverUrl?: string | undefined;
|
|
953
956
|
jumpOnly?: boolean | undefined;
|
|
@@ -972,13 +975,13 @@ declare const promotionCards: {
|
|
|
972
975
|
value: zod.ZodOptional<zod.ZodString>;
|
|
973
976
|
visibleValue: zod.ZodOptional<zod.ZodString>;
|
|
974
977
|
}, "strip", zod.ZodTypeAny, {
|
|
975
|
-
kind: "send";
|
|
976
978
|
label: string;
|
|
979
|
+
kind: "send";
|
|
977
980
|
value?: string | undefined;
|
|
978
981
|
visibleValue?: string | undefined;
|
|
979
982
|
}, {
|
|
980
|
-
kind: "send";
|
|
981
983
|
label: string;
|
|
984
|
+
kind: "send";
|
|
982
985
|
value?: string | undefined;
|
|
983
986
|
visibleValue?: string | undefined;
|
|
984
987
|
}>, zod.ZodObject<{
|
|
@@ -986,25 +989,25 @@ declare const promotionCards: {
|
|
|
986
989
|
label: zod.ZodString;
|
|
987
990
|
url: zod.ZodString;
|
|
988
991
|
}, "strip", zod.ZodTypeAny, {
|
|
989
|
-
kind: "link";
|
|
990
992
|
label: string;
|
|
993
|
+
kind: "link";
|
|
991
994
|
url: string;
|
|
992
995
|
}, {
|
|
993
|
-
kind: "link";
|
|
994
996
|
label: string;
|
|
997
|
+
kind: "link";
|
|
995
998
|
url: string;
|
|
996
999
|
}>]>, "many">>;
|
|
997
1000
|
}, "strip", zod.ZodTypeAny, {
|
|
998
1001
|
name: string;
|
|
999
1002
|
categoryId: string;
|
|
1000
1003
|
itemActions?: ({
|
|
1001
|
-
kind: "send";
|
|
1002
1004
|
label: string;
|
|
1005
|
+
kind: "send";
|
|
1003
1006
|
value?: string | undefined;
|
|
1004
1007
|
visibleValue?: string | undefined;
|
|
1005
1008
|
} | {
|
|
1006
|
-
kind: "link";
|
|
1007
1009
|
label: string;
|
|
1010
|
+
kind: "link";
|
|
1008
1011
|
url: string;
|
|
1009
1012
|
})[] | undefined;
|
|
1010
1013
|
parentId?: string | undefined;
|
|
@@ -1012,13 +1015,13 @@ declare const promotionCards: {
|
|
|
1012
1015
|
name: string;
|
|
1013
1016
|
categoryId: string;
|
|
1014
1017
|
itemActions?: ({
|
|
1015
|
-
kind: "send";
|
|
1016
1018
|
label: string;
|
|
1019
|
+
kind: "send";
|
|
1017
1020
|
value?: string | undefined;
|
|
1018
1021
|
visibleValue?: string | undefined;
|
|
1019
1022
|
} | {
|
|
1020
|
-
kind: "link";
|
|
1021
1023
|
label: string;
|
|
1024
|
+
kind: "link";
|
|
1022
1025
|
url: string;
|
|
1023
1026
|
})[] | undefined;
|
|
1024
1027
|
parentId?: string | undefined;
|
|
@@ -1029,13 +1032,13 @@ declare const promotionCards: {
|
|
|
1029
1032
|
name: string;
|
|
1030
1033
|
categoryId: string;
|
|
1031
1034
|
itemActions?: ({
|
|
1032
|
-
kind: "send";
|
|
1033
1035
|
label: string;
|
|
1036
|
+
kind: "send";
|
|
1034
1037
|
value?: string | undefined;
|
|
1035
1038
|
visibleValue?: string | undefined;
|
|
1036
1039
|
} | {
|
|
1037
|
-
kind: "link";
|
|
1038
1040
|
label: string;
|
|
1041
|
+
kind: "link";
|
|
1039
1042
|
url: string;
|
|
1040
1043
|
})[] | undefined;
|
|
1041
1044
|
parentId?: string | undefined;
|
|
@@ -1046,13 +1049,13 @@ declare const promotionCards: {
|
|
|
1046
1049
|
name: string;
|
|
1047
1050
|
categoryId: string;
|
|
1048
1051
|
itemActions?: ({
|
|
1049
|
-
kind: "send";
|
|
1050
1052
|
label: string;
|
|
1053
|
+
kind: "send";
|
|
1051
1054
|
value?: string | undefined;
|
|
1052
1055
|
visibleValue?: string | undefined;
|
|
1053
1056
|
} | {
|
|
1054
|
-
kind: "link";
|
|
1055
1057
|
label: string;
|
|
1058
|
+
kind: "link";
|
|
1056
1059
|
url: string;
|
|
1057
1060
|
})[] | undefined;
|
|
1058
1061
|
parentId?: string | undefined;
|
|
@@ -1095,13 +1098,13 @@ declare const promotionCards: {
|
|
|
1095
1098
|
value: zod.ZodOptional<zod.ZodString>;
|
|
1096
1099
|
visibleValue: zod.ZodOptional<zod.ZodString>;
|
|
1097
1100
|
}, "strip", zod.ZodTypeAny, {
|
|
1098
|
-
kind: "send";
|
|
1099
1101
|
label: string;
|
|
1102
|
+
kind: "send";
|
|
1100
1103
|
value?: string | undefined;
|
|
1101
1104
|
visibleValue?: string | undefined;
|
|
1102
1105
|
}, {
|
|
1103
|
-
kind: "send";
|
|
1104
1106
|
label: string;
|
|
1107
|
+
kind: "send";
|
|
1105
1108
|
value?: string | undefined;
|
|
1106
1109
|
visibleValue?: string | undefined;
|
|
1107
1110
|
}>, zod.ZodObject<{
|
|
@@ -1109,172 +1112,172 @@ declare const promotionCards: {
|
|
|
1109
1112
|
label: zod.ZodString;
|
|
1110
1113
|
url: zod.ZodString;
|
|
1111
1114
|
}, "strip", zod.ZodTypeAny, {
|
|
1112
|
-
kind: "link";
|
|
1113
1115
|
label: string;
|
|
1116
|
+
kind: "link";
|
|
1114
1117
|
url: string;
|
|
1115
1118
|
}, {
|
|
1116
|
-
kind: "link";
|
|
1117
1119
|
label: string;
|
|
1120
|
+
kind: "link";
|
|
1118
1121
|
url: string;
|
|
1119
1122
|
}>]>, "many">>;
|
|
1120
1123
|
tags: zod.ZodArray<zod.ZodString, "many">;
|
|
1121
1124
|
}, "strip", zod.ZodTypeAny, {
|
|
1122
|
-
offerRef: string;
|
|
1123
1125
|
title: string;
|
|
1126
|
+
tags: string[];
|
|
1127
|
+
offerRef: string;
|
|
1124
1128
|
offerType: "COUPON" | "BUNDLE" | "PROMOTION" | "ACTIVITY" | "GROUPON";
|
|
1125
1129
|
claimable: boolean;
|
|
1126
|
-
tags: string[];
|
|
1127
1130
|
subtitle?: string | undefined;
|
|
1131
|
+
imageUrl?: string | undefined;
|
|
1132
|
+
usageRuleText?: string | undefined;
|
|
1133
|
+
usageTimeText?: string | undefined;
|
|
1134
|
+
purchaseUrl?: string | undefined;
|
|
1135
|
+
freeCouponClaimMode?: "DIRECT" | "REDIRECT" | undefined;
|
|
1136
|
+
itemActions?: ({
|
|
1137
|
+
label: string;
|
|
1138
|
+
kind: "send";
|
|
1139
|
+
value?: string | undefined;
|
|
1140
|
+
visibleValue?: string | undefined;
|
|
1141
|
+
} | {
|
|
1142
|
+
label: string;
|
|
1143
|
+
kind: "link";
|
|
1144
|
+
url: string;
|
|
1145
|
+
})[] | undefined;
|
|
1128
1146
|
benefitText?: string | undefined;
|
|
1129
1147
|
thresholdText?: string | undefined;
|
|
1130
1148
|
priceText?: string | undefined;
|
|
1131
1149
|
originalPriceText?: string | undefined;
|
|
1132
1150
|
discountLabel?: string | undefined;
|
|
1133
1151
|
claimActionLabel?: string | undefined;
|
|
1134
|
-
purchaseUrl?: string | undefined;
|
|
1135
|
-
freeCouponClaimMode?: "DIRECT" | "REDIRECT" | undefined;
|
|
1136
1152
|
stockText?: string | undefined;
|
|
1137
1153
|
usageNoticeText?: string | undefined;
|
|
1138
1154
|
guaranteeText?: string | undefined;
|
|
1139
1155
|
usageSceneText?: string | undefined;
|
|
1140
|
-
usageTimeText?: string | undefined;
|
|
1141
1156
|
claimTimeText?: string | undefined;
|
|
1142
|
-
|
|
1143
|
-
availabilityStatus?: "AVAILABLE" | "UNAVAILABLE" | "REQUIRES_ACTION" | "UNKNOWN" | undefined;
|
|
1157
|
+
availabilityStatus?: "UNKNOWN" | "AVAILABLE" | "UNAVAILABLE" | "REQUIRES_ACTION" | undefined;
|
|
1144
1158
|
validityText?: string | undefined;
|
|
1159
|
+
}, {
|
|
1160
|
+
title: string;
|
|
1161
|
+
tags: string[];
|
|
1162
|
+
offerRef: string;
|
|
1163
|
+
offerType: "COUPON" | "BUNDLE" | "PROMOTION" | "ACTIVITY" | "GROUPON";
|
|
1164
|
+
claimable: boolean;
|
|
1165
|
+
subtitle?: string | undefined;
|
|
1145
1166
|
imageUrl?: string | undefined;
|
|
1167
|
+
usageRuleText?: string | undefined;
|
|
1168
|
+
usageTimeText?: string | undefined;
|
|
1169
|
+
purchaseUrl?: string | undefined;
|
|
1170
|
+
freeCouponClaimMode?: "DIRECT" | "REDIRECT" | undefined;
|
|
1146
1171
|
itemActions?: ({
|
|
1147
|
-
kind: "send";
|
|
1148
1172
|
label: string;
|
|
1173
|
+
kind: "send";
|
|
1149
1174
|
value?: string | undefined;
|
|
1150
1175
|
visibleValue?: string | undefined;
|
|
1151
1176
|
} | {
|
|
1152
|
-
kind: "link";
|
|
1153
1177
|
label: string;
|
|
1178
|
+
kind: "link";
|
|
1154
1179
|
url: string;
|
|
1155
1180
|
})[] | undefined;
|
|
1156
|
-
}, {
|
|
1157
|
-
offerRef: string;
|
|
1158
|
-
title: string;
|
|
1159
|
-
offerType: "COUPON" | "BUNDLE" | "PROMOTION" | "ACTIVITY" | "GROUPON";
|
|
1160
|
-
claimable: boolean;
|
|
1161
|
-
tags: string[];
|
|
1162
|
-
subtitle?: string | undefined;
|
|
1163
1181
|
benefitText?: string | undefined;
|
|
1164
1182
|
thresholdText?: string | undefined;
|
|
1165
1183
|
priceText?: string | undefined;
|
|
1166
1184
|
originalPriceText?: string | undefined;
|
|
1167
1185
|
discountLabel?: string | undefined;
|
|
1168
1186
|
claimActionLabel?: string | undefined;
|
|
1169
|
-
purchaseUrl?: string | undefined;
|
|
1170
|
-
freeCouponClaimMode?: "DIRECT" | "REDIRECT" | undefined;
|
|
1171
1187
|
stockText?: string | undefined;
|
|
1172
1188
|
usageNoticeText?: string | undefined;
|
|
1173
1189
|
guaranteeText?: string | undefined;
|
|
1174
1190
|
usageSceneText?: string | undefined;
|
|
1175
|
-
usageTimeText?: string | undefined;
|
|
1176
1191
|
claimTimeText?: string | undefined;
|
|
1177
|
-
|
|
1178
|
-
availabilityStatus?: "AVAILABLE" | "UNAVAILABLE" | "REQUIRES_ACTION" | "UNKNOWN" | undefined;
|
|
1192
|
+
availabilityStatus?: "UNKNOWN" | "AVAILABLE" | "UNAVAILABLE" | "REQUIRES_ACTION" | undefined;
|
|
1179
1193
|
validityText?: string | undefined;
|
|
1180
|
-
imageUrl?: string | undefined;
|
|
1181
|
-
itemActions?: ({
|
|
1182
|
-
kind: "send";
|
|
1183
|
-
label: string;
|
|
1184
|
-
value?: string | undefined;
|
|
1185
|
-
visibleValue?: string | undefined;
|
|
1186
|
-
} | {
|
|
1187
|
-
kind: "link";
|
|
1188
|
-
label: string;
|
|
1189
|
-
url: string;
|
|
1190
|
-
})[] | undefined;
|
|
1191
1194
|
}>, "many">>;
|
|
1192
1195
|
message: zod.ZodOptional<zod.ZodString>;
|
|
1193
1196
|
}, "strip", zod.ZodTypeAny, {
|
|
1194
1197
|
authoritative: boolean;
|
|
1195
1198
|
originalAmountCents: number;
|
|
1196
1199
|
appliedOfferRefs: string[];
|
|
1200
|
+
message?: string | undefined;
|
|
1197
1201
|
savingsCents?: number | undefined;
|
|
1198
1202
|
expectedPayCents?: number | undefined;
|
|
1199
|
-
message?: string | undefined;
|
|
1200
1203
|
candidates?: {
|
|
1201
|
-
offerRef: string;
|
|
1202
1204
|
title: string;
|
|
1205
|
+
tags: string[];
|
|
1206
|
+
offerRef: string;
|
|
1203
1207
|
offerType: "COUPON" | "BUNDLE" | "PROMOTION" | "ACTIVITY" | "GROUPON";
|
|
1204
1208
|
claimable: boolean;
|
|
1205
|
-
tags: string[];
|
|
1206
1209
|
subtitle?: string | undefined;
|
|
1210
|
+
imageUrl?: string | undefined;
|
|
1211
|
+
usageRuleText?: string | undefined;
|
|
1212
|
+
usageTimeText?: string | undefined;
|
|
1213
|
+
purchaseUrl?: string | undefined;
|
|
1214
|
+
freeCouponClaimMode?: "DIRECT" | "REDIRECT" | undefined;
|
|
1215
|
+
itemActions?: ({
|
|
1216
|
+
label: string;
|
|
1217
|
+
kind: "send";
|
|
1218
|
+
value?: string | undefined;
|
|
1219
|
+
visibleValue?: string | undefined;
|
|
1220
|
+
} | {
|
|
1221
|
+
label: string;
|
|
1222
|
+
kind: "link";
|
|
1223
|
+
url: string;
|
|
1224
|
+
})[] | undefined;
|
|
1207
1225
|
benefitText?: string | undefined;
|
|
1208
1226
|
thresholdText?: string | undefined;
|
|
1209
1227
|
priceText?: string | undefined;
|
|
1210
1228
|
originalPriceText?: string | undefined;
|
|
1211
1229
|
discountLabel?: string | undefined;
|
|
1212
1230
|
claimActionLabel?: string | undefined;
|
|
1213
|
-
purchaseUrl?: string | undefined;
|
|
1214
|
-
freeCouponClaimMode?: "DIRECT" | "REDIRECT" | undefined;
|
|
1215
1231
|
stockText?: string | undefined;
|
|
1216
1232
|
usageNoticeText?: string | undefined;
|
|
1217
1233
|
guaranteeText?: string | undefined;
|
|
1218
1234
|
usageSceneText?: string | undefined;
|
|
1219
|
-
usageTimeText?: string | undefined;
|
|
1220
1235
|
claimTimeText?: string | undefined;
|
|
1221
|
-
|
|
1222
|
-
availabilityStatus?: "AVAILABLE" | "UNAVAILABLE" | "REQUIRES_ACTION" | "UNKNOWN" | undefined;
|
|
1236
|
+
availabilityStatus?: "UNKNOWN" | "AVAILABLE" | "UNAVAILABLE" | "REQUIRES_ACTION" | undefined;
|
|
1223
1237
|
validityText?: string | undefined;
|
|
1224
|
-
imageUrl?: string | undefined;
|
|
1225
|
-
itemActions?: ({
|
|
1226
|
-
kind: "send";
|
|
1227
|
-
label: string;
|
|
1228
|
-
value?: string | undefined;
|
|
1229
|
-
visibleValue?: string | undefined;
|
|
1230
|
-
} | {
|
|
1231
|
-
kind: "link";
|
|
1232
|
-
label: string;
|
|
1233
|
-
url: string;
|
|
1234
|
-
})[] | undefined;
|
|
1235
1238
|
}[] | undefined;
|
|
1236
1239
|
}, {
|
|
1237
1240
|
authoritative: boolean;
|
|
1238
1241
|
originalAmountCents: number;
|
|
1239
1242
|
appliedOfferRefs: string[];
|
|
1243
|
+
message?: string | undefined;
|
|
1240
1244
|
savingsCents?: number | undefined;
|
|
1241
1245
|
expectedPayCents?: number | undefined;
|
|
1242
|
-
message?: string | undefined;
|
|
1243
1246
|
candidates?: {
|
|
1244
|
-
offerRef: string;
|
|
1245
1247
|
title: string;
|
|
1248
|
+
tags: string[];
|
|
1249
|
+
offerRef: string;
|
|
1246
1250
|
offerType: "COUPON" | "BUNDLE" | "PROMOTION" | "ACTIVITY" | "GROUPON";
|
|
1247
1251
|
claimable: boolean;
|
|
1248
|
-
tags: string[];
|
|
1249
1252
|
subtitle?: string | undefined;
|
|
1253
|
+
imageUrl?: string | undefined;
|
|
1254
|
+
usageRuleText?: string | undefined;
|
|
1255
|
+
usageTimeText?: string | undefined;
|
|
1256
|
+
purchaseUrl?: string | undefined;
|
|
1257
|
+
freeCouponClaimMode?: "DIRECT" | "REDIRECT" | undefined;
|
|
1258
|
+
itemActions?: ({
|
|
1259
|
+
label: string;
|
|
1260
|
+
kind: "send";
|
|
1261
|
+
value?: string | undefined;
|
|
1262
|
+
visibleValue?: string | undefined;
|
|
1263
|
+
} | {
|
|
1264
|
+
label: string;
|
|
1265
|
+
kind: "link";
|
|
1266
|
+
url: string;
|
|
1267
|
+
})[] | undefined;
|
|
1250
1268
|
benefitText?: string | undefined;
|
|
1251
1269
|
thresholdText?: string | undefined;
|
|
1252
1270
|
priceText?: string | undefined;
|
|
1253
1271
|
originalPriceText?: string | undefined;
|
|
1254
1272
|
discountLabel?: string | undefined;
|
|
1255
1273
|
claimActionLabel?: string | undefined;
|
|
1256
|
-
purchaseUrl?: string | undefined;
|
|
1257
|
-
freeCouponClaimMode?: "DIRECT" | "REDIRECT" | undefined;
|
|
1258
1274
|
stockText?: string | undefined;
|
|
1259
1275
|
usageNoticeText?: string | undefined;
|
|
1260
1276
|
guaranteeText?: string | undefined;
|
|
1261
1277
|
usageSceneText?: string | undefined;
|
|
1262
|
-
usageTimeText?: string | undefined;
|
|
1263
1278
|
claimTimeText?: string | undefined;
|
|
1264
|
-
|
|
1265
|
-
availabilityStatus?: "AVAILABLE" | "UNAVAILABLE" | "REQUIRES_ACTION" | "UNKNOWN" | undefined;
|
|
1279
|
+
availabilityStatus?: "UNKNOWN" | "AVAILABLE" | "UNAVAILABLE" | "REQUIRES_ACTION" | undefined;
|
|
1266
1280
|
validityText?: string | undefined;
|
|
1267
|
-
imageUrl?: string | undefined;
|
|
1268
|
-
itemActions?: ({
|
|
1269
|
-
kind: "send";
|
|
1270
|
-
label: string;
|
|
1271
|
-
value?: string | undefined;
|
|
1272
|
-
visibleValue?: string | undefined;
|
|
1273
|
-
} | {
|
|
1274
|
-
kind: "link";
|
|
1275
|
-
label: string;
|
|
1276
|
-
url: string;
|
|
1277
|
-
})[] | undefined;
|
|
1278
1281
|
}[] | undefined;
|
|
1279
1282
|
}>>;
|
|
1280
1283
|
readonly 'promotion-deal-recall': _tbox_cn_app_contracts.CardMeta<zod.ZodObject<{
|
|
@@ -1289,44 +1292,44 @@ declare const promotionCards: {
|
|
|
1289
1292
|
price: zod.ZodOptional<zod.ZodString>;
|
|
1290
1293
|
url: zod.ZodOptional<zod.ZodString>;
|
|
1291
1294
|
}, "strip", zod.ZodTypeAny, {
|
|
1295
|
+
id: string;
|
|
1292
1296
|
title: string;
|
|
1293
1297
|
kind: "item" | "shop";
|
|
1294
|
-
|
|
1298
|
+
price?: string | undefined;
|
|
1299
|
+
url?: string | undefined;
|
|
1295
1300
|
subtitle?: string | undefined;
|
|
1296
1301
|
imageUrl?: string | undefined;
|
|
1297
|
-
url?: string | undefined;
|
|
1298
|
-
price?: string | undefined;
|
|
1299
1302
|
}, {
|
|
1303
|
+
id: string;
|
|
1300
1304
|
title: string;
|
|
1301
1305
|
kind: "item" | "shop";
|
|
1302
|
-
|
|
1306
|
+
price?: string | undefined;
|
|
1307
|
+
url?: string | undefined;
|
|
1303
1308
|
subtitle?: string | undefined;
|
|
1304
1309
|
imageUrl?: string | undefined;
|
|
1305
|
-
url?: string | undefined;
|
|
1306
|
-
price?: string | undefined;
|
|
1307
1310
|
}>, "many">;
|
|
1308
1311
|
}, "strip", zod.ZodTypeAny, {
|
|
1309
1312
|
title: string;
|
|
1310
1313
|
items: {
|
|
1314
|
+
id: string;
|
|
1311
1315
|
title: string;
|
|
1312
1316
|
kind: "item" | "shop";
|
|
1313
|
-
|
|
1317
|
+
price?: string | undefined;
|
|
1318
|
+
url?: string | undefined;
|
|
1314
1319
|
subtitle?: string | undefined;
|
|
1315
1320
|
imageUrl?: string | undefined;
|
|
1316
|
-
url?: string | undefined;
|
|
1317
|
-
price?: string | undefined;
|
|
1318
1321
|
}[];
|
|
1319
1322
|
partial?: boolean | undefined;
|
|
1320
1323
|
}, {
|
|
1321
1324
|
title: string;
|
|
1322
1325
|
items: {
|
|
1326
|
+
id: string;
|
|
1323
1327
|
title: string;
|
|
1324
1328
|
kind: "item" | "shop";
|
|
1325
|
-
|
|
1329
|
+
price?: string | undefined;
|
|
1330
|
+
url?: string | undefined;
|
|
1326
1331
|
subtitle?: string | undefined;
|
|
1327
1332
|
imageUrl?: string | undefined;
|
|
1328
|
-
url?: string | undefined;
|
|
1329
|
-
price?: string | undefined;
|
|
1330
1333
|
}[];
|
|
1331
1334
|
partial?: boolean | undefined;
|
|
1332
1335
|
}>>;
|
|
@@ -1373,13 +1376,13 @@ declare const serverModule: {
|
|
|
1373
1376
|
value: z.ZodOptional<z.ZodString>;
|
|
1374
1377
|
visibleValue: z.ZodOptional<z.ZodString>;
|
|
1375
1378
|
}, "strip", z.ZodTypeAny, {
|
|
1376
|
-
kind: "send";
|
|
1377
1379
|
label: string;
|
|
1380
|
+
kind: "send";
|
|
1378
1381
|
value?: string | undefined;
|
|
1379
1382
|
visibleValue?: string | undefined;
|
|
1380
1383
|
}, {
|
|
1381
|
-
kind: "send";
|
|
1382
1384
|
label: string;
|
|
1385
|
+
kind: "send";
|
|
1383
1386
|
value?: string | undefined;
|
|
1384
1387
|
visibleValue?: string | undefined;
|
|
1385
1388
|
}>, z.ZodObject<{
|
|
@@ -1387,127 +1390,127 @@ declare const serverModule: {
|
|
|
1387
1390
|
label: z.ZodString;
|
|
1388
1391
|
url: z.ZodString;
|
|
1389
1392
|
}, "strip", z.ZodTypeAny, {
|
|
1390
|
-
kind: "link";
|
|
1391
1393
|
label: string;
|
|
1394
|
+
kind: "link";
|
|
1392
1395
|
url: string;
|
|
1393
1396
|
}, {
|
|
1394
|
-
kind: "link";
|
|
1395
1397
|
label: string;
|
|
1398
|
+
kind: "link";
|
|
1396
1399
|
url: string;
|
|
1397
1400
|
}>]>, "many">>;
|
|
1398
1401
|
tags: z.ZodArray<z.ZodString, "many">;
|
|
1399
1402
|
}, "strip", z.ZodTypeAny, {
|
|
1400
|
-
offerRef: string;
|
|
1401
1403
|
title: string;
|
|
1404
|
+
tags: string[];
|
|
1405
|
+
offerRef: string;
|
|
1402
1406
|
offerType: "COUPON" | "BUNDLE" | "PROMOTION" | "ACTIVITY" | "GROUPON";
|
|
1403
1407
|
claimable: boolean;
|
|
1404
|
-
tags: string[];
|
|
1405
1408
|
subtitle?: string | undefined;
|
|
1409
|
+
imageUrl?: string | undefined;
|
|
1410
|
+
usageRuleText?: string | undefined;
|
|
1411
|
+
usageTimeText?: string | undefined;
|
|
1412
|
+
purchaseUrl?: string | undefined;
|
|
1413
|
+
freeCouponClaimMode?: "DIRECT" | "REDIRECT" | undefined;
|
|
1414
|
+
itemActions?: ({
|
|
1415
|
+
label: string;
|
|
1416
|
+
kind: "send";
|
|
1417
|
+
value?: string | undefined;
|
|
1418
|
+
visibleValue?: string | undefined;
|
|
1419
|
+
} | {
|
|
1420
|
+
label: string;
|
|
1421
|
+
kind: "link";
|
|
1422
|
+
url: string;
|
|
1423
|
+
})[] | undefined;
|
|
1406
1424
|
benefitText?: string | undefined;
|
|
1407
1425
|
thresholdText?: string | undefined;
|
|
1408
1426
|
priceText?: string | undefined;
|
|
1409
1427
|
originalPriceText?: string | undefined;
|
|
1410
1428
|
discountLabel?: string | undefined;
|
|
1411
1429
|
claimActionLabel?: string | undefined;
|
|
1412
|
-
purchaseUrl?: string | undefined;
|
|
1413
|
-
freeCouponClaimMode?: "DIRECT" | "REDIRECT" | undefined;
|
|
1414
1430
|
stockText?: string | undefined;
|
|
1415
1431
|
usageNoticeText?: string | undefined;
|
|
1416
1432
|
guaranteeText?: string | undefined;
|
|
1417
1433
|
usageSceneText?: string | undefined;
|
|
1418
|
-
usageTimeText?: string | undefined;
|
|
1419
1434
|
claimTimeText?: string | undefined;
|
|
1420
|
-
|
|
1421
|
-
availabilityStatus?: "AVAILABLE" | "UNAVAILABLE" | "REQUIRES_ACTION" | "UNKNOWN" | undefined;
|
|
1435
|
+
availabilityStatus?: "UNKNOWN" | "AVAILABLE" | "UNAVAILABLE" | "REQUIRES_ACTION" | undefined;
|
|
1422
1436
|
validityText?: string | undefined;
|
|
1437
|
+
}, {
|
|
1438
|
+
title: string;
|
|
1439
|
+
tags: string[];
|
|
1440
|
+
offerRef: string;
|
|
1441
|
+
offerType: "COUPON" | "BUNDLE" | "PROMOTION" | "ACTIVITY" | "GROUPON";
|
|
1442
|
+
claimable: boolean;
|
|
1443
|
+
subtitle?: string | undefined;
|
|
1423
1444
|
imageUrl?: string | undefined;
|
|
1445
|
+
usageRuleText?: string | undefined;
|
|
1446
|
+
usageTimeText?: string | undefined;
|
|
1447
|
+
purchaseUrl?: string | undefined;
|
|
1448
|
+
freeCouponClaimMode?: "DIRECT" | "REDIRECT" | undefined;
|
|
1424
1449
|
itemActions?: ({
|
|
1425
|
-
kind: "send";
|
|
1426
1450
|
label: string;
|
|
1451
|
+
kind: "send";
|
|
1427
1452
|
value?: string | undefined;
|
|
1428
1453
|
visibleValue?: string | undefined;
|
|
1429
1454
|
} | {
|
|
1430
|
-
kind: "link";
|
|
1431
1455
|
label: string;
|
|
1456
|
+
kind: "link";
|
|
1432
1457
|
url: string;
|
|
1433
1458
|
})[] | undefined;
|
|
1434
|
-
}, {
|
|
1435
|
-
offerRef: string;
|
|
1436
|
-
title: string;
|
|
1437
|
-
offerType: "COUPON" | "BUNDLE" | "PROMOTION" | "ACTIVITY" | "GROUPON";
|
|
1438
|
-
claimable: boolean;
|
|
1439
|
-
tags: string[];
|
|
1440
|
-
subtitle?: string | undefined;
|
|
1441
1459
|
benefitText?: string | undefined;
|
|
1442
1460
|
thresholdText?: string | undefined;
|
|
1443
1461
|
priceText?: string | undefined;
|
|
1444
1462
|
originalPriceText?: string | undefined;
|
|
1445
1463
|
discountLabel?: string | undefined;
|
|
1446
1464
|
claimActionLabel?: string | undefined;
|
|
1447
|
-
purchaseUrl?: string | undefined;
|
|
1448
|
-
freeCouponClaimMode?: "DIRECT" | "REDIRECT" | undefined;
|
|
1449
1465
|
stockText?: string | undefined;
|
|
1450
1466
|
usageNoticeText?: string | undefined;
|
|
1451
1467
|
guaranteeText?: string | undefined;
|
|
1452
1468
|
usageSceneText?: string | undefined;
|
|
1453
|
-
usageTimeText?: string | undefined;
|
|
1454
1469
|
claimTimeText?: string | undefined;
|
|
1455
|
-
|
|
1456
|
-
availabilityStatus?: "AVAILABLE" | "UNAVAILABLE" | "REQUIRES_ACTION" | "UNKNOWN" | undefined;
|
|
1470
|
+
availabilityStatus?: "UNKNOWN" | "AVAILABLE" | "UNAVAILABLE" | "REQUIRES_ACTION" | undefined;
|
|
1457
1471
|
validityText?: string | undefined;
|
|
1458
|
-
imageUrl?: string | undefined;
|
|
1459
|
-
itemActions?: ({
|
|
1460
|
-
kind: "send";
|
|
1461
|
-
label: string;
|
|
1462
|
-
value?: string | undefined;
|
|
1463
|
-
visibleValue?: string | undefined;
|
|
1464
|
-
} | {
|
|
1465
|
-
kind: "link";
|
|
1466
|
-
label: string;
|
|
1467
|
-
url: string;
|
|
1468
|
-
})[] | undefined;
|
|
1469
1472
|
}>, "many">;
|
|
1470
1473
|
noResultsReason: z.ZodOptional<z.ZodString>;
|
|
1471
1474
|
nextCursor: z.ZodOptional<z.ZodString>;
|
|
1472
1475
|
showDealRecall: z.ZodOptional<z.ZodLiteral<true>>;
|
|
1473
1476
|
}, "strip", z.ZodTypeAny, {
|
|
1474
1477
|
items: {
|
|
1475
|
-
offerRef: string;
|
|
1476
1478
|
title: string;
|
|
1479
|
+
tags: string[];
|
|
1480
|
+
offerRef: string;
|
|
1477
1481
|
offerType: "COUPON" | "BUNDLE" | "PROMOTION" | "ACTIVITY" | "GROUPON";
|
|
1478
1482
|
claimable: boolean;
|
|
1479
|
-
tags: string[];
|
|
1480
1483
|
subtitle?: string | undefined;
|
|
1484
|
+
imageUrl?: string | undefined;
|
|
1485
|
+
usageRuleText?: string | undefined;
|
|
1486
|
+
usageTimeText?: string | undefined;
|
|
1487
|
+
purchaseUrl?: string | undefined;
|
|
1488
|
+
freeCouponClaimMode?: "DIRECT" | "REDIRECT" | undefined;
|
|
1489
|
+
itemActions?: ({
|
|
1490
|
+
label: string;
|
|
1491
|
+
kind: "send";
|
|
1492
|
+
value?: string | undefined;
|
|
1493
|
+
visibleValue?: string | undefined;
|
|
1494
|
+
} | {
|
|
1495
|
+
label: string;
|
|
1496
|
+
kind: "link";
|
|
1497
|
+
url: string;
|
|
1498
|
+
})[] | undefined;
|
|
1481
1499
|
benefitText?: string | undefined;
|
|
1482
1500
|
thresholdText?: string | undefined;
|
|
1483
1501
|
priceText?: string | undefined;
|
|
1484
1502
|
originalPriceText?: string | undefined;
|
|
1485
1503
|
discountLabel?: string | undefined;
|
|
1486
1504
|
claimActionLabel?: string | undefined;
|
|
1487
|
-
purchaseUrl?: string | undefined;
|
|
1488
|
-
freeCouponClaimMode?: "DIRECT" | "REDIRECT" | undefined;
|
|
1489
1505
|
stockText?: string | undefined;
|
|
1490
1506
|
usageNoticeText?: string | undefined;
|
|
1491
1507
|
guaranteeText?: string | undefined;
|
|
1492
1508
|
usageSceneText?: string | undefined;
|
|
1493
|
-
usageTimeText?: string | undefined;
|
|
1494
1509
|
claimTimeText?: string | undefined;
|
|
1495
|
-
|
|
1496
|
-
availabilityStatus?: "AVAILABLE" | "UNAVAILABLE" | "REQUIRES_ACTION" | "UNKNOWN" | undefined;
|
|
1510
|
+
availabilityStatus?: "UNKNOWN" | "AVAILABLE" | "UNAVAILABLE" | "REQUIRES_ACTION" | undefined;
|
|
1497
1511
|
validityText?: string | undefined;
|
|
1498
|
-
imageUrl?: string | undefined;
|
|
1499
|
-
itemActions?: ({
|
|
1500
|
-
kind: "send";
|
|
1501
|
-
label: string;
|
|
1502
|
-
value?: string | undefined;
|
|
1503
|
-
visibleValue?: string | undefined;
|
|
1504
|
-
} | {
|
|
1505
|
-
kind: "link";
|
|
1506
|
-
label: string;
|
|
1507
|
-
url: string;
|
|
1508
|
-
})[] | undefined;
|
|
1509
1512
|
}[];
|
|
1510
|
-
mode: "
|
|
1513
|
+
mode: "search" | "claimable" | "recommend";
|
|
1511
1514
|
presentation?: "coupon" | "promotion" | "recommendation" | "offer" | undefined;
|
|
1512
1515
|
summary?: string | undefined;
|
|
1513
1516
|
noResultsReason?: string | undefined;
|
|
@@ -1516,42 +1519,42 @@ declare const serverModule: {
|
|
|
1516
1519
|
showDealRecall?: true | undefined;
|
|
1517
1520
|
}, {
|
|
1518
1521
|
items: {
|
|
1519
|
-
offerRef: string;
|
|
1520
1522
|
title: string;
|
|
1523
|
+
tags: string[];
|
|
1524
|
+
offerRef: string;
|
|
1521
1525
|
offerType: "COUPON" | "BUNDLE" | "PROMOTION" | "ACTIVITY" | "GROUPON";
|
|
1522
1526
|
claimable: boolean;
|
|
1523
|
-
tags: string[];
|
|
1524
1527
|
subtitle?: string | undefined;
|
|
1528
|
+
imageUrl?: string | undefined;
|
|
1529
|
+
usageRuleText?: string | undefined;
|
|
1530
|
+
usageTimeText?: string | undefined;
|
|
1531
|
+
purchaseUrl?: string | undefined;
|
|
1532
|
+
freeCouponClaimMode?: "DIRECT" | "REDIRECT" | undefined;
|
|
1533
|
+
itemActions?: ({
|
|
1534
|
+
label: string;
|
|
1535
|
+
kind: "send";
|
|
1536
|
+
value?: string | undefined;
|
|
1537
|
+
visibleValue?: string | undefined;
|
|
1538
|
+
} | {
|
|
1539
|
+
label: string;
|
|
1540
|
+
kind: "link";
|
|
1541
|
+
url: string;
|
|
1542
|
+
})[] | undefined;
|
|
1525
1543
|
benefitText?: string | undefined;
|
|
1526
1544
|
thresholdText?: string | undefined;
|
|
1527
1545
|
priceText?: string | undefined;
|
|
1528
1546
|
originalPriceText?: string | undefined;
|
|
1529
1547
|
discountLabel?: string | undefined;
|
|
1530
1548
|
claimActionLabel?: string | undefined;
|
|
1531
|
-
purchaseUrl?: string | undefined;
|
|
1532
|
-
freeCouponClaimMode?: "DIRECT" | "REDIRECT" | undefined;
|
|
1533
1549
|
stockText?: string | undefined;
|
|
1534
1550
|
usageNoticeText?: string | undefined;
|
|
1535
1551
|
guaranteeText?: string | undefined;
|
|
1536
1552
|
usageSceneText?: string | undefined;
|
|
1537
|
-
usageTimeText?: string | undefined;
|
|
1538
1553
|
claimTimeText?: string | undefined;
|
|
1539
|
-
|
|
1540
|
-
availabilityStatus?: "AVAILABLE" | "UNAVAILABLE" | "REQUIRES_ACTION" | "UNKNOWN" | undefined;
|
|
1554
|
+
availabilityStatus?: "UNKNOWN" | "AVAILABLE" | "UNAVAILABLE" | "REQUIRES_ACTION" | undefined;
|
|
1541
1555
|
validityText?: string | undefined;
|
|
1542
|
-
imageUrl?: string | undefined;
|
|
1543
|
-
itemActions?: ({
|
|
1544
|
-
kind: "send";
|
|
1545
|
-
label: string;
|
|
1546
|
-
value?: string | undefined;
|
|
1547
|
-
visibleValue?: string | undefined;
|
|
1548
|
-
} | {
|
|
1549
|
-
kind: "link";
|
|
1550
|
-
label: string;
|
|
1551
|
-
url: string;
|
|
1552
|
-
})[] | undefined;
|
|
1553
1556
|
}[];
|
|
1554
|
-
mode: "
|
|
1557
|
+
mode: "search" | "claimable" | "recommend";
|
|
1555
1558
|
presentation?: "coupon" | "promotion" | "recommendation" | "offer" | undefined;
|
|
1556
1559
|
summary?: string | undefined;
|
|
1557
1560
|
noResultsReason?: string | undefined;
|
|
@@ -1629,36 +1632,36 @@ declare const serverModule: {
|
|
|
1629
1632
|
unavailableReason: z.ZodOptional<z.ZodString>;
|
|
1630
1633
|
caveats: z.ZodArray<z.ZodString, "many">;
|
|
1631
1634
|
}, "strip", z.ZodTypeAny, {
|
|
1632
|
-
offerRef: string;
|
|
1633
1635
|
title: string;
|
|
1636
|
+
offerRef: string;
|
|
1637
|
+
caveats: string[];
|
|
1634
1638
|
offerType: "COUPON" | "BUNDLE" | "PROMOTION" | "ACTIVITY" | "GROUPON";
|
|
1635
1639
|
claimable: boolean;
|
|
1636
|
-
caveats: string[];
|
|
1637
1640
|
rules: string[];
|
|
1641
|
+
description?: string | undefined;
|
|
1642
|
+
notice?: string | undefined;
|
|
1643
|
+
steps?: {
|
|
1644
|
+
title: string;
|
|
1645
|
+
description?: string | undefined;
|
|
1646
|
+
}[] | undefined;
|
|
1647
|
+
presentation?: "package" | "coupon" | "promotion" | "offer" | "promotion-guide" | undefined;
|
|
1638
1648
|
subtitle?: string | undefined;
|
|
1649
|
+
imageUrl?: string | undefined;
|
|
1650
|
+
usageRuleText?: string | undefined;
|
|
1651
|
+
usageTimeText?: string | undefined;
|
|
1652
|
+
purchaseUrl?: string | undefined;
|
|
1639
1653
|
benefitText?: string | undefined;
|
|
1640
1654
|
thresholdText?: string | undefined;
|
|
1641
1655
|
priceText?: string | undefined;
|
|
1642
1656
|
originalPriceText?: string | undefined;
|
|
1643
1657
|
discountLabel?: string | undefined;
|
|
1644
1658
|
claimActionLabel?: string | undefined;
|
|
1645
|
-
purchaseUrl?: string | undefined;
|
|
1646
1659
|
stockText?: string | undefined;
|
|
1647
1660
|
usageNoticeText?: string | undefined;
|
|
1648
1661
|
guaranteeText?: string | undefined;
|
|
1649
1662
|
usageSceneText?: string | undefined;
|
|
1650
|
-
usageTimeText?: string | undefined;
|
|
1651
1663
|
claimTimeText?: string | undefined;
|
|
1652
|
-
usageRuleText?: string | undefined;
|
|
1653
1664
|
validityText?: string | undefined;
|
|
1654
|
-
imageUrl?: string | undefined;
|
|
1655
|
-
description?: string | undefined;
|
|
1656
|
-
notice?: string | undefined;
|
|
1657
|
-
steps?: {
|
|
1658
|
-
title: string;
|
|
1659
|
-
description?: string | undefined;
|
|
1660
|
-
}[] | undefined;
|
|
1661
|
-
presentation?: "package" | "coupon" | "promotion" | "offer" | "promotion-guide" | undefined;
|
|
1662
1665
|
participationMode?: "UNKNOWN" | "AUTOMATIC_DISCOUNT" | "CLAIM_THEN_PURCHASE" | "REGISTER_THEN_ATTEND" | "GROUP_PURCHASE" | undefined;
|
|
1663
1666
|
requirements?: string[] | undefined;
|
|
1664
1667
|
stores?: {
|
|
@@ -1674,36 +1677,36 @@ declare const serverModule: {
|
|
|
1674
1677
|
}[] | undefined;
|
|
1675
1678
|
unavailableReason?: string | undefined;
|
|
1676
1679
|
}, {
|
|
1677
|
-
offerRef: string;
|
|
1678
1680
|
title: string;
|
|
1681
|
+
offerRef: string;
|
|
1682
|
+
caveats: string[];
|
|
1679
1683
|
offerType: "COUPON" | "BUNDLE" | "PROMOTION" | "ACTIVITY" | "GROUPON";
|
|
1680
1684
|
claimable: boolean;
|
|
1681
|
-
caveats: string[];
|
|
1682
1685
|
rules: string[];
|
|
1686
|
+
description?: string | undefined;
|
|
1687
|
+
notice?: string | undefined;
|
|
1688
|
+
steps?: {
|
|
1689
|
+
title: string;
|
|
1690
|
+
description?: string | undefined;
|
|
1691
|
+
}[] | undefined;
|
|
1692
|
+
presentation?: "package" | "coupon" | "promotion" | "offer" | "promotion-guide" | undefined;
|
|
1683
1693
|
subtitle?: string | undefined;
|
|
1694
|
+
imageUrl?: string | undefined;
|
|
1695
|
+
usageRuleText?: string | undefined;
|
|
1696
|
+
usageTimeText?: string | undefined;
|
|
1697
|
+
purchaseUrl?: string | undefined;
|
|
1684
1698
|
benefitText?: string | undefined;
|
|
1685
1699
|
thresholdText?: string | undefined;
|
|
1686
1700
|
priceText?: string | undefined;
|
|
1687
1701
|
originalPriceText?: string | undefined;
|
|
1688
1702
|
discountLabel?: string | undefined;
|
|
1689
1703
|
claimActionLabel?: string | undefined;
|
|
1690
|
-
purchaseUrl?: string | undefined;
|
|
1691
1704
|
stockText?: string | undefined;
|
|
1692
1705
|
usageNoticeText?: string | undefined;
|
|
1693
1706
|
guaranteeText?: string | undefined;
|
|
1694
1707
|
usageSceneText?: string | undefined;
|
|
1695
|
-
usageTimeText?: string | undefined;
|
|
1696
1708
|
claimTimeText?: string | undefined;
|
|
1697
|
-
usageRuleText?: string | undefined;
|
|
1698
1709
|
validityText?: string | undefined;
|
|
1699
|
-
imageUrl?: string | undefined;
|
|
1700
|
-
description?: string | undefined;
|
|
1701
|
-
notice?: string | undefined;
|
|
1702
|
-
steps?: {
|
|
1703
|
-
title: string;
|
|
1704
|
-
description?: string | undefined;
|
|
1705
|
-
}[] | undefined;
|
|
1706
|
-
presentation?: "package" | "coupon" | "promotion" | "offer" | "promotion-guide" | undefined;
|
|
1707
1710
|
participationMode?: "UNKNOWN" | "AUTOMATIC_DISCOUNT" | "CLAIM_THEN_PURCHASE" | "REGISTER_THEN_ATTEND" | "GROUP_PURCHASE" | undefined;
|
|
1708
1711
|
requirements?: string[] | undefined;
|
|
1709
1712
|
stores?: {
|
|
@@ -1720,6 +1723,7 @@ declare const serverModule: {
|
|
|
1720
1723
|
unavailableReason?: string | undefined;
|
|
1721
1724
|
}>>;
|
|
1722
1725
|
readonly 'promotion-entitlement-list': _tbox_cn_app_contracts.CardMeta<z.ZodObject<{
|
|
1726
|
+
showAlipayWallet: z.ZodOptional<z.ZodBoolean>;
|
|
1723
1727
|
mallId: z.ZodOptional<z.ZodString>;
|
|
1724
1728
|
miniAppId: z.ZodOptional<z.ZodString>;
|
|
1725
1729
|
maxItems: z.ZodOptional<z.ZodNumber>;
|
|
@@ -1748,13 +1752,13 @@ declare const serverModule: {
|
|
|
1748
1752
|
value: z.ZodOptional<z.ZodString>;
|
|
1749
1753
|
visibleValue: z.ZodOptional<z.ZodString>;
|
|
1750
1754
|
}, "strip", z.ZodTypeAny, {
|
|
1751
|
-
kind: "send";
|
|
1752
1755
|
label: string;
|
|
1756
|
+
kind: "send";
|
|
1753
1757
|
value?: string | undefined;
|
|
1754
1758
|
visibleValue?: string | undefined;
|
|
1755
1759
|
}, {
|
|
1756
|
-
kind: "send";
|
|
1757
1760
|
label: string;
|
|
1761
|
+
kind: "send";
|
|
1758
1762
|
value?: string | undefined;
|
|
1759
1763
|
visibleValue?: string | undefined;
|
|
1760
1764
|
}>, z.ZodObject<{
|
|
@@ -1762,12 +1766,12 @@ declare const serverModule: {
|
|
|
1762
1766
|
label: z.ZodString;
|
|
1763
1767
|
url: z.ZodString;
|
|
1764
1768
|
}, "strip", z.ZodTypeAny, {
|
|
1765
|
-
kind: "link";
|
|
1766
1769
|
label: string;
|
|
1770
|
+
kind: "link";
|
|
1767
1771
|
url: string;
|
|
1768
1772
|
}, {
|
|
1769
|
-
kind: "link";
|
|
1770
1773
|
label: string;
|
|
1774
|
+
kind: "link";
|
|
1771
1775
|
url: string;
|
|
1772
1776
|
}>]>, "many">>;
|
|
1773
1777
|
stores: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
@@ -1804,25 +1808,25 @@ declare const serverModule: {
|
|
|
1804
1808
|
entitlementRef: string;
|
|
1805
1809
|
entitlementType: "COUPON" | "BUNDLE" | "PROMOTION" | "ACTIVITY" | "GROUPON";
|
|
1806
1810
|
code?: string | undefined;
|
|
1807
|
-
benefitText?: string | undefined;
|
|
1808
|
-
thresholdText?: string | undefined;
|
|
1809
|
-
guaranteeText?: string | undefined;
|
|
1810
|
-
usageSceneText?: string | undefined;
|
|
1811
|
-
usageTimeText?: string | undefined;
|
|
1812
|
-
claimTimeText?: string | undefined;
|
|
1813
|
-
usageRuleText?: string | undefined;
|
|
1814
|
-
validityText?: string | undefined;
|
|
1815
1811
|
imageUrl?: string | undefined;
|
|
1812
|
+
usageRuleText?: string | undefined;
|
|
1813
|
+
usageTimeText?: string | undefined;
|
|
1816
1814
|
itemActions?: ({
|
|
1817
|
-
kind: "send";
|
|
1818
1815
|
label: string;
|
|
1816
|
+
kind: "send";
|
|
1819
1817
|
value?: string | undefined;
|
|
1820
1818
|
visibleValue?: string | undefined;
|
|
1821
1819
|
} | {
|
|
1822
|
-
kind: "link";
|
|
1823
1820
|
label: string;
|
|
1821
|
+
kind: "link";
|
|
1824
1822
|
url: string;
|
|
1825
1823
|
})[] | undefined;
|
|
1824
|
+
benefitText?: string | undefined;
|
|
1825
|
+
thresholdText?: string | undefined;
|
|
1826
|
+
guaranteeText?: string | undefined;
|
|
1827
|
+
usageSceneText?: string | undefined;
|
|
1828
|
+
claimTimeText?: string | undefined;
|
|
1829
|
+
validityText?: string | undefined;
|
|
1826
1830
|
stores?: {
|
|
1827
1831
|
storeId: string;
|
|
1828
1832
|
storeName: string;
|
|
@@ -1843,25 +1847,25 @@ declare const serverModule: {
|
|
|
1843
1847
|
entitlementRef: string;
|
|
1844
1848
|
entitlementType: "COUPON" | "BUNDLE" | "PROMOTION" | "ACTIVITY" | "GROUPON";
|
|
1845
1849
|
code?: string | undefined;
|
|
1846
|
-
benefitText?: string | undefined;
|
|
1847
|
-
thresholdText?: string | undefined;
|
|
1848
|
-
guaranteeText?: string | undefined;
|
|
1849
|
-
usageSceneText?: string | undefined;
|
|
1850
|
-
usageTimeText?: string | undefined;
|
|
1851
|
-
claimTimeText?: string | undefined;
|
|
1852
|
-
usageRuleText?: string | undefined;
|
|
1853
|
-
validityText?: string | undefined;
|
|
1854
1850
|
imageUrl?: string | undefined;
|
|
1851
|
+
usageRuleText?: string | undefined;
|
|
1852
|
+
usageTimeText?: string | undefined;
|
|
1855
1853
|
itemActions?: ({
|
|
1856
|
-
kind: "send";
|
|
1857
1854
|
label: string;
|
|
1855
|
+
kind: "send";
|
|
1858
1856
|
value?: string | undefined;
|
|
1859
1857
|
visibleValue?: string | undefined;
|
|
1860
1858
|
} | {
|
|
1861
|
-
kind: "link";
|
|
1862
1859
|
label: string;
|
|
1860
|
+
kind: "link";
|
|
1863
1861
|
url: string;
|
|
1864
1862
|
})[] | undefined;
|
|
1863
|
+
benefitText?: string | undefined;
|
|
1864
|
+
thresholdText?: string | undefined;
|
|
1865
|
+
guaranteeText?: string | undefined;
|
|
1866
|
+
usageSceneText?: string | undefined;
|
|
1867
|
+
claimTimeText?: string | undefined;
|
|
1868
|
+
validityText?: string | undefined;
|
|
1865
1869
|
stores?: {
|
|
1866
1870
|
storeId: string;
|
|
1867
1871
|
storeName: string;
|
|
@@ -1886,25 +1890,25 @@ declare const serverModule: {
|
|
|
1886
1890
|
entitlementRef: string;
|
|
1887
1891
|
entitlementType: "COUPON" | "BUNDLE" | "PROMOTION" | "ACTIVITY" | "GROUPON";
|
|
1888
1892
|
code?: string | undefined;
|
|
1889
|
-
benefitText?: string | undefined;
|
|
1890
|
-
thresholdText?: string | undefined;
|
|
1891
|
-
guaranteeText?: string | undefined;
|
|
1892
|
-
usageSceneText?: string | undefined;
|
|
1893
|
-
usageTimeText?: string | undefined;
|
|
1894
|
-
claimTimeText?: string | undefined;
|
|
1895
|
-
usageRuleText?: string | undefined;
|
|
1896
|
-
validityText?: string | undefined;
|
|
1897
1893
|
imageUrl?: string | undefined;
|
|
1894
|
+
usageRuleText?: string | undefined;
|
|
1895
|
+
usageTimeText?: string | undefined;
|
|
1898
1896
|
itemActions?: ({
|
|
1899
|
-
kind: "send";
|
|
1900
1897
|
label: string;
|
|
1898
|
+
kind: "send";
|
|
1901
1899
|
value?: string | undefined;
|
|
1902
1900
|
visibleValue?: string | undefined;
|
|
1903
1901
|
} | {
|
|
1904
|
-
kind: "link";
|
|
1905
1902
|
label: string;
|
|
1903
|
+
kind: "link";
|
|
1906
1904
|
url: string;
|
|
1907
1905
|
})[] | undefined;
|
|
1906
|
+
benefitText?: string | undefined;
|
|
1907
|
+
thresholdText?: string | undefined;
|
|
1908
|
+
guaranteeText?: string | undefined;
|
|
1909
|
+
usageSceneText?: string | undefined;
|
|
1910
|
+
claimTimeText?: string | undefined;
|
|
1911
|
+
validityText?: string | undefined;
|
|
1908
1912
|
stores?: {
|
|
1909
1913
|
storeId: string;
|
|
1910
1914
|
storeName: string;
|
|
@@ -1925,6 +1929,7 @@ declare const serverModule: {
|
|
|
1925
1929
|
noResultsReason?: string | undefined;
|
|
1926
1930
|
maxItems?: number | undefined;
|
|
1927
1931
|
nextCursor?: string | undefined;
|
|
1932
|
+
showAlipayWallet?: boolean | undefined;
|
|
1928
1933
|
}, {
|
|
1929
1934
|
items: {
|
|
1930
1935
|
status: "UNKNOWN" | "USED" | "EXPIRED" | "EFFECTIVE" | "INVALID";
|
|
@@ -1932,25 +1937,25 @@ declare const serverModule: {
|
|
|
1932
1937
|
entitlementRef: string;
|
|
1933
1938
|
entitlementType: "COUPON" | "BUNDLE" | "PROMOTION" | "ACTIVITY" | "GROUPON";
|
|
1934
1939
|
code?: string | undefined;
|
|
1935
|
-
benefitText?: string | undefined;
|
|
1936
|
-
thresholdText?: string | undefined;
|
|
1937
|
-
guaranteeText?: string | undefined;
|
|
1938
|
-
usageSceneText?: string | undefined;
|
|
1939
|
-
usageTimeText?: string | undefined;
|
|
1940
|
-
claimTimeText?: string | undefined;
|
|
1941
|
-
usageRuleText?: string | undefined;
|
|
1942
|
-
validityText?: string | undefined;
|
|
1943
1940
|
imageUrl?: string | undefined;
|
|
1941
|
+
usageRuleText?: string | undefined;
|
|
1942
|
+
usageTimeText?: string | undefined;
|
|
1944
1943
|
itemActions?: ({
|
|
1945
|
-
kind: "send";
|
|
1946
1944
|
label: string;
|
|
1945
|
+
kind: "send";
|
|
1947
1946
|
value?: string | undefined;
|
|
1948
1947
|
visibleValue?: string | undefined;
|
|
1949
1948
|
} | {
|
|
1950
|
-
kind: "link";
|
|
1951
1949
|
label: string;
|
|
1950
|
+
kind: "link";
|
|
1952
1951
|
url: string;
|
|
1953
1952
|
})[] | undefined;
|
|
1953
|
+
benefitText?: string | undefined;
|
|
1954
|
+
thresholdText?: string | undefined;
|
|
1955
|
+
guaranteeText?: string | undefined;
|
|
1956
|
+
usageSceneText?: string | undefined;
|
|
1957
|
+
claimTimeText?: string | undefined;
|
|
1958
|
+
validityText?: string | undefined;
|
|
1954
1959
|
stores?: {
|
|
1955
1960
|
storeId: string;
|
|
1956
1961
|
storeName: string;
|
|
@@ -1971,6 +1976,7 @@ declare const serverModule: {
|
|
|
1971
1976
|
noResultsReason?: string | undefined;
|
|
1972
1977
|
maxItems?: number | undefined;
|
|
1973
1978
|
nextCursor?: string | undefined;
|
|
1979
|
+
showAlipayWallet?: boolean | undefined;
|
|
1974
1980
|
}>>;
|
|
1975
1981
|
readonly 'promotion-activity-list': _tbox_cn_app_contracts.CardMeta<z.ZodObject<{
|
|
1976
1982
|
items: z.ZodArray<z.ZodObject<{
|
|
@@ -1991,13 +1997,13 @@ declare const serverModule: {
|
|
|
1991
1997
|
value: z.ZodOptional<z.ZodString>;
|
|
1992
1998
|
visibleValue: z.ZodOptional<z.ZodString>;
|
|
1993
1999
|
}, "strip", z.ZodTypeAny, {
|
|
1994
|
-
kind: "send";
|
|
1995
2000
|
label: string;
|
|
2001
|
+
kind: "send";
|
|
1996
2002
|
value?: string | undefined;
|
|
1997
2003
|
visibleValue?: string | undefined;
|
|
1998
2004
|
}, {
|
|
1999
|
-
kind: "send";
|
|
2000
2005
|
label: string;
|
|
2006
|
+
kind: "send";
|
|
2001
2007
|
value?: string | undefined;
|
|
2002
2008
|
visibleValue?: string | undefined;
|
|
2003
2009
|
}>, z.ZodObject<{
|
|
@@ -2005,12 +2011,12 @@ declare const serverModule: {
|
|
|
2005
2011
|
label: z.ZodString;
|
|
2006
2012
|
url: z.ZodString;
|
|
2007
2013
|
}, "strip", z.ZodTypeAny, {
|
|
2008
|
-
kind: "link";
|
|
2009
2014
|
label: string;
|
|
2015
|
+
kind: "link";
|
|
2010
2016
|
url: string;
|
|
2011
2017
|
}, {
|
|
2012
|
-
kind: "link";
|
|
2013
2018
|
label: string;
|
|
2019
|
+
kind: "link";
|
|
2014
2020
|
url: string;
|
|
2015
2021
|
}>]>, "many">>;
|
|
2016
2022
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -2018,18 +2024,18 @@ declare const serverModule: {
|
|
|
2018
2024
|
activityRef: string;
|
|
2019
2025
|
registrationRequired: boolean;
|
|
2020
2026
|
subtitle?: string | undefined;
|
|
2021
|
-
availabilityStatus?: "AVAILABLE" | "UNKNOWN" | "FULL" | "ENDED" | "UPCOMING" | undefined;
|
|
2022
2027
|
itemActions?: ({
|
|
2023
|
-
kind: "send";
|
|
2024
2028
|
label: string;
|
|
2029
|
+
kind: "send";
|
|
2025
2030
|
value?: string | undefined;
|
|
2026
2031
|
visibleValue?: string | undefined;
|
|
2027
2032
|
} | {
|
|
2028
|
-
kind: "link";
|
|
2029
2033
|
label: string;
|
|
2034
|
+
kind: "link";
|
|
2030
2035
|
url: string;
|
|
2031
2036
|
})[] | undefined;
|
|
2032
2037
|
coverUrl?: string | undefined;
|
|
2038
|
+
availabilityStatus?: "UNKNOWN" | "AVAILABLE" | "FULL" | "ENDED" | "UPCOMING" | undefined;
|
|
2033
2039
|
jumpOnly?: boolean | undefined;
|
|
2034
2040
|
jumpLabel?: string | undefined;
|
|
2035
2041
|
remainingQuota?: number | undefined;
|
|
@@ -2040,18 +2046,18 @@ declare const serverModule: {
|
|
|
2040
2046
|
activityRef: string;
|
|
2041
2047
|
registrationRequired: boolean;
|
|
2042
2048
|
subtitle?: string | undefined;
|
|
2043
|
-
availabilityStatus?: "AVAILABLE" | "UNKNOWN" | "FULL" | "ENDED" | "UPCOMING" | undefined;
|
|
2044
2049
|
itemActions?: ({
|
|
2045
|
-
kind: "send";
|
|
2046
2050
|
label: string;
|
|
2051
|
+
kind: "send";
|
|
2047
2052
|
value?: string | undefined;
|
|
2048
2053
|
visibleValue?: string | undefined;
|
|
2049
2054
|
} | {
|
|
2050
|
-
kind: "link";
|
|
2051
2055
|
label: string;
|
|
2056
|
+
kind: "link";
|
|
2052
2057
|
url: string;
|
|
2053
2058
|
})[] | undefined;
|
|
2054
2059
|
coverUrl?: string | undefined;
|
|
2060
|
+
availabilityStatus?: "UNKNOWN" | "AVAILABLE" | "FULL" | "ENDED" | "UPCOMING" | undefined;
|
|
2055
2061
|
jumpOnly?: boolean | undefined;
|
|
2056
2062
|
jumpLabel?: string | undefined;
|
|
2057
2063
|
remainingQuota?: number | undefined;
|
|
@@ -2066,18 +2072,18 @@ declare const serverModule: {
|
|
|
2066
2072
|
activityRef: string;
|
|
2067
2073
|
registrationRequired: boolean;
|
|
2068
2074
|
subtitle?: string | undefined;
|
|
2069
|
-
availabilityStatus?: "AVAILABLE" | "UNKNOWN" | "FULL" | "ENDED" | "UPCOMING" | undefined;
|
|
2070
2075
|
itemActions?: ({
|
|
2071
|
-
kind: "send";
|
|
2072
2076
|
label: string;
|
|
2077
|
+
kind: "send";
|
|
2073
2078
|
value?: string | undefined;
|
|
2074
2079
|
visibleValue?: string | undefined;
|
|
2075
2080
|
} | {
|
|
2076
|
-
kind: "link";
|
|
2077
2081
|
label: string;
|
|
2082
|
+
kind: "link";
|
|
2078
2083
|
url: string;
|
|
2079
2084
|
})[] | undefined;
|
|
2080
2085
|
coverUrl?: string | undefined;
|
|
2086
|
+
availabilityStatus?: "UNKNOWN" | "AVAILABLE" | "FULL" | "ENDED" | "UPCOMING" | undefined;
|
|
2081
2087
|
jumpOnly?: boolean | undefined;
|
|
2082
2088
|
jumpLabel?: string | undefined;
|
|
2083
2089
|
remainingQuota?: number | undefined;
|
|
@@ -2092,18 +2098,18 @@ declare const serverModule: {
|
|
|
2092
2098
|
activityRef: string;
|
|
2093
2099
|
registrationRequired: boolean;
|
|
2094
2100
|
subtitle?: string | undefined;
|
|
2095
|
-
availabilityStatus?: "AVAILABLE" | "UNKNOWN" | "FULL" | "ENDED" | "UPCOMING" | undefined;
|
|
2096
2101
|
itemActions?: ({
|
|
2097
|
-
kind: "send";
|
|
2098
2102
|
label: string;
|
|
2103
|
+
kind: "send";
|
|
2099
2104
|
value?: string | undefined;
|
|
2100
2105
|
visibleValue?: string | undefined;
|
|
2101
2106
|
} | {
|
|
2102
|
-
kind: "link";
|
|
2103
2107
|
label: string;
|
|
2108
|
+
kind: "link";
|
|
2104
2109
|
url: string;
|
|
2105
2110
|
})[] | undefined;
|
|
2106
2111
|
coverUrl?: string | undefined;
|
|
2112
|
+
availabilityStatus?: "UNKNOWN" | "AVAILABLE" | "FULL" | "ENDED" | "UPCOMING" | undefined;
|
|
2107
2113
|
jumpOnly?: boolean | undefined;
|
|
2108
2114
|
jumpLabel?: string | undefined;
|
|
2109
2115
|
remainingQuota?: number | undefined;
|
|
@@ -2181,10 +2187,10 @@ declare const serverModule: {
|
|
|
2181
2187
|
}[];
|
|
2182
2188
|
guideSteps: string[];
|
|
2183
2189
|
conditions: string[];
|
|
2184
|
-
subtitle?: string | undefined;
|
|
2185
2190
|
description?: string | undefined;
|
|
2186
2191
|
notice?: string | undefined;
|
|
2187
2192
|
presentation?: "detail" | "schedule" | "guide" | undefined;
|
|
2193
|
+
subtitle?: string | undefined;
|
|
2188
2194
|
location?: string | undefined;
|
|
2189
2195
|
coverUrl?: string | undefined;
|
|
2190
2196
|
jumpOnly?: boolean | undefined;
|
|
@@ -2212,10 +2218,10 @@ declare const serverModule: {
|
|
|
2212
2218
|
}[];
|
|
2213
2219
|
guideSteps: string[];
|
|
2214
2220
|
conditions: string[];
|
|
2215
|
-
subtitle?: string | undefined;
|
|
2216
2221
|
description?: string | undefined;
|
|
2217
2222
|
notice?: string | undefined;
|
|
2218
2223
|
presentation?: "detail" | "schedule" | "guide" | undefined;
|
|
2224
|
+
subtitle?: string | undefined;
|
|
2219
2225
|
location?: string | undefined;
|
|
2220
2226
|
coverUrl?: string | undefined;
|
|
2221
2227
|
jumpOnly?: boolean | undefined;
|
|
@@ -2240,13 +2246,13 @@ declare const serverModule: {
|
|
|
2240
2246
|
value: z.ZodOptional<z.ZodString>;
|
|
2241
2247
|
visibleValue: z.ZodOptional<z.ZodString>;
|
|
2242
2248
|
}, "strip", z.ZodTypeAny, {
|
|
2243
|
-
kind: "send";
|
|
2244
2249
|
label: string;
|
|
2250
|
+
kind: "send";
|
|
2245
2251
|
value?: string | undefined;
|
|
2246
2252
|
visibleValue?: string | undefined;
|
|
2247
2253
|
}, {
|
|
2248
|
-
kind: "send";
|
|
2249
2254
|
label: string;
|
|
2255
|
+
kind: "send";
|
|
2250
2256
|
value?: string | undefined;
|
|
2251
2257
|
visibleValue?: string | undefined;
|
|
2252
2258
|
}>, z.ZodObject<{
|
|
@@ -2254,25 +2260,25 @@ declare const serverModule: {
|
|
|
2254
2260
|
label: z.ZodString;
|
|
2255
2261
|
url: z.ZodString;
|
|
2256
2262
|
}, "strip", z.ZodTypeAny, {
|
|
2257
|
-
kind: "link";
|
|
2258
2263
|
label: string;
|
|
2264
|
+
kind: "link";
|
|
2259
2265
|
url: string;
|
|
2260
2266
|
}, {
|
|
2261
|
-
kind: "link";
|
|
2262
2267
|
label: string;
|
|
2268
|
+
kind: "link";
|
|
2263
2269
|
url: string;
|
|
2264
2270
|
}>]>, "many">>;
|
|
2265
2271
|
}, "strip", z.ZodTypeAny, {
|
|
2266
2272
|
name: string;
|
|
2267
2273
|
categoryId: string;
|
|
2268
2274
|
itemActions?: ({
|
|
2269
|
-
kind: "send";
|
|
2270
2275
|
label: string;
|
|
2276
|
+
kind: "send";
|
|
2271
2277
|
value?: string | undefined;
|
|
2272
2278
|
visibleValue?: string | undefined;
|
|
2273
2279
|
} | {
|
|
2274
|
-
kind: "link";
|
|
2275
2280
|
label: string;
|
|
2281
|
+
kind: "link";
|
|
2276
2282
|
url: string;
|
|
2277
2283
|
})[] | undefined;
|
|
2278
2284
|
parentId?: string | undefined;
|
|
@@ -2280,13 +2286,13 @@ declare const serverModule: {
|
|
|
2280
2286
|
name: string;
|
|
2281
2287
|
categoryId: string;
|
|
2282
2288
|
itemActions?: ({
|
|
2283
|
-
kind: "send";
|
|
2284
2289
|
label: string;
|
|
2290
|
+
kind: "send";
|
|
2285
2291
|
value?: string | undefined;
|
|
2286
2292
|
visibleValue?: string | undefined;
|
|
2287
2293
|
} | {
|
|
2288
|
-
kind: "link";
|
|
2289
2294
|
label: string;
|
|
2295
|
+
kind: "link";
|
|
2290
2296
|
url: string;
|
|
2291
2297
|
})[] | undefined;
|
|
2292
2298
|
parentId?: string | undefined;
|
|
@@ -2297,13 +2303,13 @@ declare const serverModule: {
|
|
|
2297
2303
|
name: string;
|
|
2298
2304
|
categoryId: string;
|
|
2299
2305
|
itemActions?: ({
|
|
2300
|
-
kind: "send";
|
|
2301
2306
|
label: string;
|
|
2307
|
+
kind: "send";
|
|
2302
2308
|
value?: string | undefined;
|
|
2303
2309
|
visibleValue?: string | undefined;
|
|
2304
2310
|
} | {
|
|
2305
|
-
kind: "link";
|
|
2306
2311
|
label: string;
|
|
2312
|
+
kind: "link";
|
|
2307
2313
|
url: string;
|
|
2308
2314
|
})[] | undefined;
|
|
2309
2315
|
parentId?: string | undefined;
|
|
@@ -2314,13 +2320,13 @@ declare const serverModule: {
|
|
|
2314
2320
|
name: string;
|
|
2315
2321
|
categoryId: string;
|
|
2316
2322
|
itemActions?: ({
|
|
2317
|
-
kind: "send";
|
|
2318
2323
|
label: string;
|
|
2324
|
+
kind: "send";
|
|
2319
2325
|
value?: string | undefined;
|
|
2320
2326
|
visibleValue?: string | undefined;
|
|
2321
2327
|
} | {
|
|
2322
|
-
kind: "link";
|
|
2323
2328
|
label: string;
|
|
2329
|
+
kind: "link";
|
|
2324
2330
|
url: string;
|
|
2325
2331
|
})[] | undefined;
|
|
2326
2332
|
parentId?: string | undefined;
|
|
@@ -2363,13 +2369,13 @@ declare const serverModule: {
|
|
|
2363
2369
|
value: z.ZodOptional<z.ZodString>;
|
|
2364
2370
|
visibleValue: z.ZodOptional<z.ZodString>;
|
|
2365
2371
|
}, "strip", z.ZodTypeAny, {
|
|
2366
|
-
kind: "send";
|
|
2367
2372
|
label: string;
|
|
2373
|
+
kind: "send";
|
|
2368
2374
|
value?: string | undefined;
|
|
2369
2375
|
visibleValue?: string | undefined;
|
|
2370
2376
|
}, {
|
|
2371
|
-
kind: "send";
|
|
2372
2377
|
label: string;
|
|
2378
|
+
kind: "send";
|
|
2373
2379
|
value?: string | undefined;
|
|
2374
2380
|
visibleValue?: string | undefined;
|
|
2375
2381
|
}>, z.ZodObject<{
|
|
@@ -2377,172 +2383,172 @@ declare const serverModule: {
|
|
|
2377
2383
|
label: z.ZodString;
|
|
2378
2384
|
url: z.ZodString;
|
|
2379
2385
|
}, "strip", z.ZodTypeAny, {
|
|
2380
|
-
kind: "link";
|
|
2381
2386
|
label: string;
|
|
2387
|
+
kind: "link";
|
|
2382
2388
|
url: string;
|
|
2383
2389
|
}, {
|
|
2384
|
-
kind: "link";
|
|
2385
2390
|
label: string;
|
|
2391
|
+
kind: "link";
|
|
2386
2392
|
url: string;
|
|
2387
2393
|
}>]>, "many">>;
|
|
2388
2394
|
tags: z.ZodArray<z.ZodString, "many">;
|
|
2389
2395
|
}, "strip", z.ZodTypeAny, {
|
|
2390
|
-
offerRef: string;
|
|
2391
2396
|
title: string;
|
|
2397
|
+
tags: string[];
|
|
2398
|
+
offerRef: string;
|
|
2392
2399
|
offerType: "COUPON" | "BUNDLE" | "PROMOTION" | "ACTIVITY" | "GROUPON";
|
|
2393
2400
|
claimable: boolean;
|
|
2394
|
-
tags: string[];
|
|
2395
2401
|
subtitle?: string | undefined;
|
|
2402
|
+
imageUrl?: string | undefined;
|
|
2403
|
+
usageRuleText?: string | undefined;
|
|
2404
|
+
usageTimeText?: string | undefined;
|
|
2405
|
+
purchaseUrl?: string | undefined;
|
|
2406
|
+
freeCouponClaimMode?: "DIRECT" | "REDIRECT" | undefined;
|
|
2407
|
+
itemActions?: ({
|
|
2408
|
+
label: string;
|
|
2409
|
+
kind: "send";
|
|
2410
|
+
value?: string | undefined;
|
|
2411
|
+
visibleValue?: string | undefined;
|
|
2412
|
+
} | {
|
|
2413
|
+
label: string;
|
|
2414
|
+
kind: "link";
|
|
2415
|
+
url: string;
|
|
2416
|
+
})[] | undefined;
|
|
2396
2417
|
benefitText?: string | undefined;
|
|
2397
2418
|
thresholdText?: string | undefined;
|
|
2398
2419
|
priceText?: string | undefined;
|
|
2399
2420
|
originalPriceText?: string | undefined;
|
|
2400
2421
|
discountLabel?: string | undefined;
|
|
2401
2422
|
claimActionLabel?: string | undefined;
|
|
2402
|
-
purchaseUrl?: string | undefined;
|
|
2403
|
-
freeCouponClaimMode?: "DIRECT" | "REDIRECT" | undefined;
|
|
2404
2423
|
stockText?: string | undefined;
|
|
2405
2424
|
usageNoticeText?: string | undefined;
|
|
2406
2425
|
guaranteeText?: string | undefined;
|
|
2407
2426
|
usageSceneText?: string | undefined;
|
|
2408
|
-
usageTimeText?: string | undefined;
|
|
2409
2427
|
claimTimeText?: string | undefined;
|
|
2410
|
-
|
|
2411
|
-
availabilityStatus?: "AVAILABLE" | "UNAVAILABLE" | "REQUIRES_ACTION" | "UNKNOWN" | undefined;
|
|
2428
|
+
availabilityStatus?: "UNKNOWN" | "AVAILABLE" | "UNAVAILABLE" | "REQUIRES_ACTION" | undefined;
|
|
2412
2429
|
validityText?: string | undefined;
|
|
2430
|
+
}, {
|
|
2431
|
+
title: string;
|
|
2432
|
+
tags: string[];
|
|
2433
|
+
offerRef: string;
|
|
2434
|
+
offerType: "COUPON" | "BUNDLE" | "PROMOTION" | "ACTIVITY" | "GROUPON";
|
|
2435
|
+
claimable: boolean;
|
|
2436
|
+
subtitle?: string | undefined;
|
|
2413
2437
|
imageUrl?: string | undefined;
|
|
2438
|
+
usageRuleText?: string | undefined;
|
|
2439
|
+
usageTimeText?: string | undefined;
|
|
2440
|
+
purchaseUrl?: string | undefined;
|
|
2441
|
+
freeCouponClaimMode?: "DIRECT" | "REDIRECT" | undefined;
|
|
2414
2442
|
itemActions?: ({
|
|
2415
|
-
kind: "send";
|
|
2416
2443
|
label: string;
|
|
2444
|
+
kind: "send";
|
|
2417
2445
|
value?: string | undefined;
|
|
2418
2446
|
visibleValue?: string | undefined;
|
|
2419
2447
|
} | {
|
|
2420
|
-
kind: "link";
|
|
2421
2448
|
label: string;
|
|
2449
|
+
kind: "link";
|
|
2422
2450
|
url: string;
|
|
2423
2451
|
})[] | undefined;
|
|
2424
|
-
}, {
|
|
2425
|
-
offerRef: string;
|
|
2426
|
-
title: string;
|
|
2427
|
-
offerType: "COUPON" | "BUNDLE" | "PROMOTION" | "ACTIVITY" | "GROUPON";
|
|
2428
|
-
claimable: boolean;
|
|
2429
|
-
tags: string[];
|
|
2430
|
-
subtitle?: string | undefined;
|
|
2431
2452
|
benefitText?: string | undefined;
|
|
2432
2453
|
thresholdText?: string | undefined;
|
|
2433
2454
|
priceText?: string | undefined;
|
|
2434
2455
|
originalPriceText?: string | undefined;
|
|
2435
2456
|
discountLabel?: string | undefined;
|
|
2436
2457
|
claimActionLabel?: string | undefined;
|
|
2437
|
-
purchaseUrl?: string | undefined;
|
|
2438
|
-
freeCouponClaimMode?: "DIRECT" | "REDIRECT" | undefined;
|
|
2439
2458
|
stockText?: string | undefined;
|
|
2440
2459
|
usageNoticeText?: string | undefined;
|
|
2441
2460
|
guaranteeText?: string | undefined;
|
|
2442
2461
|
usageSceneText?: string | undefined;
|
|
2443
|
-
usageTimeText?: string | undefined;
|
|
2444
2462
|
claimTimeText?: string | undefined;
|
|
2445
|
-
|
|
2446
|
-
availabilityStatus?: "AVAILABLE" | "UNAVAILABLE" | "REQUIRES_ACTION" | "UNKNOWN" | undefined;
|
|
2463
|
+
availabilityStatus?: "UNKNOWN" | "AVAILABLE" | "UNAVAILABLE" | "REQUIRES_ACTION" | undefined;
|
|
2447
2464
|
validityText?: string | undefined;
|
|
2448
|
-
imageUrl?: string | undefined;
|
|
2449
|
-
itemActions?: ({
|
|
2450
|
-
kind: "send";
|
|
2451
|
-
label: string;
|
|
2452
|
-
value?: string | undefined;
|
|
2453
|
-
visibleValue?: string | undefined;
|
|
2454
|
-
} | {
|
|
2455
|
-
kind: "link";
|
|
2456
|
-
label: string;
|
|
2457
|
-
url: string;
|
|
2458
|
-
})[] | undefined;
|
|
2459
2465
|
}>, "many">>;
|
|
2460
2466
|
message: z.ZodOptional<z.ZodString>;
|
|
2461
2467
|
}, "strip", z.ZodTypeAny, {
|
|
2462
2468
|
authoritative: boolean;
|
|
2463
2469
|
originalAmountCents: number;
|
|
2464
2470
|
appliedOfferRefs: string[];
|
|
2471
|
+
message?: string | undefined;
|
|
2465
2472
|
savingsCents?: number | undefined;
|
|
2466
2473
|
expectedPayCents?: number | undefined;
|
|
2467
|
-
message?: string | undefined;
|
|
2468
2474
|
candidates?: {
|
|
2469
|
-
offerRef: string;
|
|
2470
2475
|
title: string;
|
|
2476
|
+
tags: string[];
|
|
2477
|
+
offerRef: string;
|
|
2471
2478
|
offerType: "COUPON" | "BUNDLE" | "PROMOTION" | "ACTIVITY" | "GROUPON";
|
|
2472
2479
|
claimable: boolean;
|
|
2473
|
-
tags: string[];
|
|
2474
2480
|
subtitle?: string | undefined;
|
|
2481
|
+
imageUrl?: string | undefined;
|
|
2482
|
+
usageRuleText?: string | undefined;
|
|
2483
|
+
usageTimeText?: string | undefined;
|
|
2484
|
+
purchaseUrl?: string | undefined;
|
|
2485
|
+
freeCouponClaimMode?: "DIRECT" | "REDIRECT" | undefined;
|
|
2486
|
+
itemActions?: ({
|
|
2487
|
+
label: string;
|
|
2488
|
+
kind: "send";
|
|
2489
|
+
value?: string | undefined;
|
|
2490
|
+
visibleValue?: string | undefined;
|
|
2491
|
+
} | {
|
|
2492
|
+
label: string;
|
|
2493
|
+
kind: "link";
|
|
2494
|
+
url: string;
|
|
2495
|
+
})[] | undefined;
|
|
2475
2496
|
benefitText?: string | undefined;
|
|
2476
2497
|
thresholdText?: string | undefined;
|
|
2477
2498
|
priceText?: string | undefined;
|
|
2478
2499
|
originalPriceText?: string | undefined;
|
|
2479
2500
|
discountLabel?: string | undefined;
|
|
2480
2501
|
claimActionLabel?: string | undefined;
|
|
2481
|
-
purchaseUrl?: string | undefined;
|
|
2482
|
-
freeCouponClaimMode?: "DIRECT" | "REDIRECT" | undefined;
|
|
2483
2502
|
stockText?: string | undefined;
|
|
2484
2503
|
usageNoticeText?: string | undefined;
|
|
2485
2504
|
guaranteeText?: string | undefined;
|
|
2486
2505
|
usageSceneText?: string | undefined;
|
|
2487
|
-
usageTimeText?: string | undefined;
|
|
2488
2506
|
claimTimeText?: string | undefined;
|
|
2489
|
-
|
|
2490
|
-
availabilityStatus?: "AVAILABLE" | "UNAVAILABLE" | "REQUIRES_ACTION" | "UNKNOWN" | undefined;
|
|
2507
|
+
availabilityStatus?: "UNKNOWN" | "AVAILABLE" | "UNAVAILABLE" | "REQUIRES_ACTION" | undefined;
|
|
2491
2508
|
validityText?: string | undefined;
|
|
2492
|
-
imageUrl?: string | undefined;
|
|
2493
|
-
itemActions?: ({
|
|
2494
|
-
kind: "send";
|
|
2495
|
-
label: string;
|
|
2496
|
-
value?: string | undefined;
|
|
2497
|
-
visibleValue?: string | undefined;
|
|
2498
|
-
} | {
|
|
2499
|
-
kind: "link";
|
|
2500
|
-
label: string;
|
|
2501
|
-
url: string;
|
|
2502
|
-
})[] | undefined;
|
|
2503
2509
|
}[] | undefined;
|
|
2504
2510
|
}, {
|
|
2505
2511
|
authoritative: boolean;
|
|
2506
2512
|
originalAmountCents: number;
|
|
2507
2513
|
appliedOfferRefs: string[];
|
|
2514
|
+
message?: string | undefined;
|
|
2508
2515
|
savingsCents?: number | undefined;
|
|
2509
2516
|
expectedPayCents?: number | undefined;
|
|
2510
|
-
message?: string | undefined;
|
|
2511
2517
|
candidates?: {
|
|
2512
|
-
offerRef: string;
|
|
2513
2518
|
title: string;
|
|
2519
|
+
tags: string[];
|
|
2520
|
+
offerRef: string;
|
|
2514
2521
|
offerType: "COUPON" | "BUNDLE" | "PROMOTION" | "ACTIVITY" | "GROUPON";
|
|
2515
2522
|
claimable: boolean;
|
|
2516
|
-
tags: string[];
|
|
2517
2523
|
subtitle?: string | undefined;
|
|
2524
|
+
imageUrl?: string | undefined;
|
|
2525
|
+
usageRuleText?: string | undefined;
|
|
2526
|
+
usageTimeText?: string | undefined;
|
|
2527
|
+
purchaseUrl?: string | undefined;
|
|
2528
|
+
freeCouponClaimMode?: "DIRECT" | "REDIRECT" | undefined;
|
|
2529
|
+
itemActions?: ({
|
|
2530
|
+
label: string;
|
|
2531
|
+
kind: "send";
|
|
2532
|
+
value?: string | undefined;
|
|
2533
|
+
visibleValue?: string | undefined;
|
|
2534
|
+
} | {
|
|
2535
|
+
label: string;
|
|
2536
|
+
kind: "link";
|
|
2537
|
+
url: string;
|
|
2538
|
+
})[] | undefined;
|
|
2518
2539
|
benefitText?: string | undefined;
|
|
2519
2540
|
thresholdText?: string | undefined;
|
|
2520
2541
|
priceText?: string | undefined;
|
|
2521
2542
|
originalPriceText?: string | undefined;
|
|
2522
2543
|
discountLabel?: string | undefined;
|
|
2523
2544
|
claimActionLabel?: string | undefined;
|
|
2524
|
-
purchaseUrl?: string | undefined;
|
|
2525
|
-
freeCouponClaimMode?: "DIRECT" | "REDIRECT" | undefined;
|
|
2526
2545
|
stockText?: string | undefined;
|
|
2527
2546
|
usageNoticeText?: string | undefined;
|
|
2528
2547
|
guaranteeText?: string | undefined;
|
|
2529
2548
|
usageSceneText?: string | undefined;
|
|
2530
|
-
usageTimeText?: string | undefined;
|
|
2531
2549
|
claimTimeText?: string | undefined;
|
|
2532
|
-
|
|
2533
|
-
availabilityStatus?: "AVAILABLE" | "UNAVAILABLE" | "REQUIRES_ACTION" | "UNKNOWN" | undefined;
|
|
2550
|
+
availabilityStatus?: "UNKNOWN" | "AVAILABLE" | "UNAVAILABLE" | "REQUIRES_ACTION" | undefined;
|
|
2534
2551
|
validityText?: string | undefined;
|
|
2535
|
-
imageUrl?: string | undefined;
|
|
2536
|
-
itemActions?: ({
|
|
2537
|
-
kind: "send";
|
|
2538
|
-
label: string;
|
|
2539
|
-
value?: string | undefined;
|
|
2540
|
-
visibleValue?: string | undefined;
|
|
2541
|
-
} | {
|
|
2542
|
-
kind: "link";
|
|
2543
|
-
label: string;
|
|
2544
|
-
url: string;
|
|
2545
|
-
})[] | undefined;
|
|
2546
2552
|
}[] | undefined;
|
|
2547
2553
|
}>>;
|
|
2548
2554
|
readonly 'promotion-deal-recall': _tbox_cn_app_contracts.CardMeta<z.ZodObject<{
|
|
@@ -2557,44 +2563,44 @@ declare const serverModule: {
|
|
|
2557
2563
|
price: z.ZodOptional<z.ZodString>;
|
|
2558
2564
|
url: z.ZodOptional<z.ZodString>;
|
|
2559
2565
|
}, "strip", z.ZodTypeAny, {
|
|
2566
|
+
id: string;
|
|
2560
2567
|
title: string;
|
|
2561
2568
|
kind: "item" | "shop";
|
|
2562
|
-
|
|
2569
|
+
price?: string | undefined;
|
|
2570
|
+
url?: string | undefined;
|
|
2563
2571
|
subtitle?: string | undefined;
|
|
2564
2572
|
imageUrl?: string | undefined;
|
|
2565
|
-
url?: string | undefined;
|
|
2566
|
-
price?: string | undefined;
|
|
2567
2573
|
}, {
|
|
2574
|
+
id: string;
|
|
2568
2575
|
title: string;
|
|
2569
2576
|
kind: "item" | "shop";
|
|
2570
|
-
|
|
2577
|
+
price?: string | undefined;
|
|
2578
|
+
url?: string | undefined;
|
|
2571
2579
|
subtitle?: string | undefined;
|
|
2572
2580
|
imageUrl?: string | undefined;
|
|
2573
|
-
url?: string | undefined;
|
|
2574
|
-
price?: string | undefined;
|
|
2575
2581
|
}>, "many">;
|
|
2576
2582
|
}, "strip", z.ZodTypeAny, {
|
|
2577
2583
|
title: string;
|
|
2578
2584
|
items: {
|
|
2585
|
+
id: string;
|
|
2579
2586
|
title: string;
|
|
2580
2587
|
kind: "item" | "shop";
|
|
2581
|
-
|
|
2588
|
+
price?: string | undefined;
|
|
2589
|
+
url?: string | undefined;
|
|
2582
2590
|
subtitle?: string | undefined;
|
|
2583
2591
|
imageUrl?: string | undefined;
|
|
2584
|
-
url?: string | undefined;
|
|
2585
|
-
price?: string | undefined;
|
|
2586
2592
|
}[];
|
|
2587
2593
|
partial?: boolean | undefined;
|
|
2588
2594
|
}, {
|
|
2589
2595
|
title: string;
|
|
2590
2596
|
items: {
|
|
2597
|
+
id: string;
|
|
2591
2598
|
title: string;
|
|
2592
2599
|
kind: "item" | "shop";
|
|
2593
|
-
|
|
2600
|
+
price?: string | undefined;
|
|
2601
|
+
url?: string | undefined;
|
|
2594
2602
|
subtitle?: string | undefined;
|
|
2595
2603
|
imageUrl?: string | undefined;
|
|
2596
|
-
url?: string | undefined;
|
|
2597
|
-
price?: string | undefined;
|
|
2598
2604
|
}[];
|
|
2599
2605
|
partial?: boolean | undefined;
|
|
2600
2606
|
}>>;
|