@tbox.cn/app-module-promotion 1.0.0-alpha.1 → 1.0.0-alpha.7
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/AGENTS.md +3 -3
- package/dist/chunk-T5Z2SDH3.js +1368 -0
- package/dist/client/index.d.ts +1 -0
- package/dist/client/index.js +1 -1
- package/dist/index.js +1 -1
- package/dist/server/index.d.ts +442 -442
- package/package.json +5 -8
- package/src/client/cards/promotion-activity-category-list/index.tsx +14 -10
- package/src/client/cards/promotion-activity-detail/index.tsx +42 -30
- package/src/client/cards/promotion-activity-list/index.tsx +16 -12
- package/src/client/cards/promotion-best-deal/index.tsx +4 -4
- package/src/client/cards/promotion-entitlement-list/index.tsx +24 -20
- package/src/client/cards/promotion-offer-detail/index.tsx +47 -37
- package/src/client/cards/promotion-offer-list/index.tsx +69 -53
- package/src/client/components/CouponQrCode.tsx +2 -2
- package/src/client/components/CouponSheet.tsx +20 -20
- package/src/client/components/ImageWithFallback.tsx +1 -1
- package/src/client/components/class-names.ts +57 -0
- package/src/client/index.ts +1 -2
- package/tbox.module.json +0 -1
- package/tsup.config.ts +0 -5
- package/dist/chunk-HZIEXNVQ.js +0 -1332
- package/dist/promotion-ESTNS7IL.css +0 -2139
- package/src/client/styles/promotion.css +0 -2139
- package/src/client/types/css.d.ts +0 -2
package/dist/server/index.d.ts
CHANGED
|
@@ -118,19 +118,19 @@ declare const promotionCards: {
|
|
|
118
118
|
label: zod.ZodString;
|
|
119
119
|
url: zod.ZodString;
|
|
120
120
|
}, "strip", zod.ZodTypeAny, {
|
|
121
|
-
url: string;
|
|
122
121
|
kind: "link";
|
|
123
122
|
label: string;
|
|
124
|
-
}, {
|
|
125
123
|
url: string;
|
|
124
|
+
}, {
|
|
126
125
|
kind: "link";
|
|
127
126
|
label: string;
|
|
127
|
+
url: string;
|
|
128
128
|
}>]>, "many">>;
|
|
129
129
|
tags: zod.ZodArray<zod.ZodString, "many">;
|
|
130
130
|
}, "strip", zod.ZodTypeAny, {
|
|
131
|
+
offerRef: string;
|
|
131
132
|
title: string;
|
|
132
133
|
offerType: "COUPON" | "BUNDLE" | "PROMOTION" | "ACTIVITY" | "GROUPON";
|
|
133
|
-
offerRef: string;
|
|
134
134
|
claimable: boolean;
|
|
135
135
|
tags: string[];
|
|
136
136
|
subtitle?: string | undefined;
|
|
@@ -144,28 +144,28 @@ declare const promotionCards: {
|
|
|
144
144
|
freeCouponClaimMode?: "DIRECT" | "REDIRECT" | undefined;
|
|
145
145
|
stockText?: string | undefined;
|
|
146
146
|
usageNoticeText?: string | undefined;
|
|
147
|
+
guaranteeText?: string | undefined;
|
|
147
148
|
usageSceneText?: string | undefined;
|
|
148
149
|
usageTimeText?: string | undefined;
|
|
149
150
|
claimTimeText?: string | undefined;
|
|
150
151
|
usageRuleText?: string | undefined;
|
|
151
|
-
|
|
152
|
+
availabilityStatus?: "AVAILABLE" | "UNAVAILABLE" | "REQUIRES_ACTION" | "UNKNOWN" | undefined;
|
|
152
153
|
validityText?: string | undefined;
|
|
153
154
|
imageUrl?: string | undefined;
|
|
154
|
-
availabilityStatus?: "AVAILABLE" | "UNKNOWN" | "UNAVAILABLE" | "REQUIRES_ACTION" | undefined;
|
|
155
155
|
itemActions?: ({
|
|
156
156
|
kind: "send";
|
|
157
157
|
label: string;
|
|
158
158
|
value?: string | undefined;
|
|
159
159
|
visibleValue?: string | undefined;
|
|
160
160
|
} | {
|
|
161
|
-
url: string;
|
|
162
161
|
kind: "link";
|
|
163
162
|
label: string;
|
|
163
|
+
url: string;
|
|
164
164
|
})[] | undefined;
|
|
165
165
|
}, {
|
|
166
|
+
offerRef: string;
|
|
166
167
|
title: string;
|
|
167
168
|
offerType: "COUPON" | "BUNDLE" | "PROMOTION" | "ACTIVITY" | "GROUPON";
|
|
168
|
-
offerRef: string;
|
|
169
169
|
claimable: boolean;
|
|
170
170
|
tags: string[];
|
|
171
171
|
subtitle?: string | undefined;
|
|
@@ -179,32 +179,33 @@ declare const promotionCards: {
|
|
|
179
179
|
freeCouponClaimMode?: "DIRECT" | "REDIRECT" | undefined;
|
|
180
180
|
stockText?: string | undefined;
|
|
181
181
|
usageNoticeText?: string | undefined;
|
|
182
|
+
guaranteeText?: string | undefined;
|
|
182
183
|
usageSceneText?: string | undefined;
|
|
183
184
|
usageTimeText?: string | undefined;
|
|
184
185
|
claimTimeText?: string | undefined;
|
|
185
186
|
usageRuleText?: string | undefined;
|
|
186
|
-
|
|
187
|
+
availabilityStatus?: "AVAILABLE" | "UNAVAILABLE" | "REQUIRES_ACTION" | "UNKNOWN" | undefined;
|
|
187
188
|
validityText?: string | undefined;
|
|
188
189
|
imageUrl?: string | undefined;
|
|
189
|
-
availabilityStatus?: "AVAILABLE" | "UNKNOWN" | "UNAVAILABLE" | "REQUIRES_ACTION" | undefined;
|
|
190
190
|
itemActions?: ({
|
|
191
191
|
kind: "send";
|
|
192
192
|
label: string;
|
|
193
193
|
value?: string | undefined;
|
|
194
194
|
visibleValue?: string | undefined;
|
|
195
195
|
} | {
|
|
196
|
-
url: string;
|
|
197
196
|
kind: "link";
|
|
198
197
|
label: string;
|
|
198
|
+
url: string;
|
|
199
199
|
})[] | undefined;
|
|
200
200
|
}>, "many">;
|
|
201
201
|
noResultsReason: zod.ZodOptional<zod.ZodString>;
|
|
202
202
|
nextCursor: zod.ZodOptional<zod.ZodString>;
|
|
203
203
|
}, "strip", zod.ZodTypeAny, {
|
|
204
|
+
mode: "claimable" | "search" | "recommend";
|
|
204
205
|
items: {
|
|
206
|
+
offerRef: string;
|
|
205
207
|
title: string;
|
|
206
208
|
offerType: "COUPON" | "BUNDLE" | "PROMOTION" | "ACTIVITY" | "GROUPON";
|
|
207
|
-
offerRef: string;
|
|
208
209
|
claimable: boolean;
|
|
209
210
|
tags: string[];
|
|
210
211
|
subtitle?: string | undefined;
|
|
@@ -218,36 +219,36 @@ declare const promotionCards: {
|
|
|
218
219
|
freeCouponClaimMode?: "DIRECT" | "REDIRECT" | undefined;
|
|
219
220
|
stockText?: string | undefined;
|
|
220
221
|
usageNoticeText?: string | undefined;
|
|
222
|
+
guaranteeText?: string | undefined;
|
|
221
223
|
usageSceneText?: string | undefined;
|
|
222
224
|
usageTimeText?: string | undefined;
|
|
223
225
|
claimTimeText?: string | undefined;
|
|
224
226
|
usageRuleText?: string | undefined;
|
|
225
|
-
|
|
227
|
+
availabilityStatus?: "AVAILABLE" | "UNAVAILABLE" | "REQUIRES_ACTION" | "UNKNOWN" | undefined;
|
|
226
228
|
validityText?: string | undefined;
|
|
227
229
|
imageUrl?: string | undefined;
|
|
228
|
-
availabilityStatus?: "AVAILABLE" | "UNKNOWN" | "UNAVAILABLE" | "REQUIRES_ACTION" | undefined;
|
|
229
230
|
itemActions?: ({
|
|
230
231
|
kind: "send";
|
|
231
232
|
label: string;
|
|
232
233
|
value?: string | undefined;
|
|
233
234
|
visibleValue?: string | undefined;
|
|
234
235
|
} | {
|
|
235
|
-
url: string;
|
|
236
236
|
kind: "link";
|
|
237
237
|
label: string;
|
|
238
|
+
url: string;
|
|
238
239
|
})[] | undefined;
|
|
239
240
|
}[];
|
|
240
|
-
|
|
241
|
-
noResultsReason?: string | undefined;
|
|
242
|
-
nextCursor?: string | undefined;
|
|
243
|
-
presentation?: "coupon" | "offer" | "promotion" | "recommendation" | undefined;
|
|
241
|
+
presentation?: "coupon" | "promotion" | "recommendation" | "offer" | undefined;
|
|
244
242
|
summary?: string | undefined;
|
|
243
|
+
noResultsReason?: string | undefined;
|
|
245
244
|
maxItems?: number | undefined;
|
|
245
|
+
nextCursor?: string | undefined;
|
|
246
246
|
}, {
|
|
247
|
+
mode: "claimable" | "search" | "recommend";
|
|
247
248
|
items: {
|
|
249
|
+
offerRef: string;
|
|
248
250
|
title: string;
|
|
249
251
|
offerType: "COUPON" | "BUNDLE" | "PROMOTION" | "ACTIVITY" | "GROUPON";
|
|
250
|
-
offerRef: string;
|
|
251
252
|
claimable: boolean;
|
|
252
253
|
tags: string[];
|
|
253
254
|
subtitle?: string | undefined;
|
|
@@ -261,31 +262,30 @@ declare const promotionCards: {
|
|
|
261
262
|
freeCouponClaimMode?: "DIRECT" | "REDIRECT" | undefined;
|
|
262
263
|
stockText?: string | undefined;
|
|
263
264
|
usageNoticeText?: string | undefined;
|
|
265
|
+
guaranteeText?: string | undefined;
|
|
264
266
|
usageSceneText?: string | undefined;
|
|
265
267
|
usageTimeText?: string | undefined;
|
|
266
268
|
claimTimeText?: string | undefined;
|
|
267
269
|
usageRuleText?: string | undefined;
|
|
268
|
-
|
|
270
|
+
availabilityStatus?: "AVAILABLE" | "UNAVAILABLE" | "REQUIRES_ACTION" | "UNKNOWN" | undefined;
|
|
269
271
|
validityText?: string | undefined;
|
|
270
272
|
imageUrl?: string | undefined;
|
|
271
|
-
availabilityStatus?: "AVAILABLE" | "UNKNOWN" | "UNAVAILABLE" | "REQUIRES_ACTION" | undefined;
|
|
272
273
|
itemActions?: ({
|
|
273
274
|
kind: "send";
|
|
274
275
|
label: string;
|
|
275
276
|
value?: string | undefined;
|
|
276
277
|
visibleValue?: string | undefined;
|
|
277
278
|
} | {
|
|
278
|
-
url: string;
|
|
279
279
|
kind: "link";
|
|
280
280
|
label: string;
|
|
281
|
+
url: string;
|
|
281
282
|
})[] | undefined;
|
|
282
283
|
}[];
|
|
283
|
-
|
|
284
|
-
noResultsReason?: string | undefined;
|
|
285
|
-
nextCursor?: string | undefined;
|
|
286
|
-
presentation?: "coupon" | "offer" | "promotion" | "recommendation" | undefined;
|
|
284
|
+
presentation?: "coupon" | "promotion" | "recommendation" | "offer" | undefined;
|
|
287
285
|
summary?: string | undefined;
|
|
286
|
+
noResultsReason?: string | undefined;
|
|
288
287
|
maxItems?: number | undefined;
|
|
288
|
+
nextCursor?: string | undefined;
|
|
289
289
|
}>>;
|
|
290
290
|
readonly 'promotion-offer-detail': _tbox_cn_app_contracts.CardMeta<zod.ZodObject<{
|
|
291
291
|
presentation: zod.ZodOptional<zod.ZodEnum<["offer", "promotion", "promotion-guide", "coupon", "package"]>>;
|
|
@@ -333,14 +333,14 @@ declare const promotionCards: {
|
|
|
333
333
|
}, "strip", zod.ZodTypeAny, {
|
|
334
334
|
storeId: string;
|
|
335
335
|
storeName: string;
|
|
336
|
-
businessName?: string | undefined;
|
|
337
336
|
address?: string | undefined;
|
|
337
|
+
businessName?: string | undefined;
|
|
338
338
|
floor?: string | undefined;
|
|
339
339
|
}, {
|
|
340
340
|
storeId: string;
|
|
341
341
|
storeName: string;
|
|
342
|
-
businessName?: string | undefined;
|
|
343
342
|
address?: string | undefined;
|
|
343
|
+
businessName?: string | undefined;
|
|
344
344
|
floor?: string | undefined;
|
|
345
345
|
}>, "many">>;
|
|
346
346
|
bundleItems: zod.ZodOptional<zod.ZodArray<zod.ZodObject<{
|
|
@@ -357,16 +357,13 @@ declare const promotionCards: {
|
|
|
357
357
|
unavailableReason: zod.ZodOptional<zod.ZodString>;
|
|
358
358
|
caveats: zod.ZodArray<zod.ZodString, "many">;
|
|
359
359
|
}, "strip", zod.ZodTypeAny, {
|
|
360
|
+
offerRef: string;
|
|
360
361
|
title: string;
|
|
361
362
|
offerType: "COUPON" | "BUNDLE" | "PROMOTION" | "ACTIVITY" | "GROUPON";
|
|
362
|
-
offerRef: string;
|
|
363
|
-
caveats: string[];
|
|
364
363
|
claimable: boolean;
|
|
364
|
+
caveats: string[];
|
|
365
365
|
rules: string[];
|
|
366
|
-
description?: string | undefined;
|
|
367
366
|
subtitle?: string | undefined;
|
|
368
|
-
notice?: string | undefined;
|
|
369
|
-
presentation?: "coupon" | "offer" | "promotion" | "promotion-guide" | "package" | undefined;
|
|
370
367
|
benefitText?: string | undefined;
|
|
371
368
|
thresholdText?: string | undefined;
|
|
372
369
|
priceText?: string | undefined;
|
|
@@ -376,19 +373,27 @@ declare const promotionCards: {
|
|
|
376
373
|
purchaseUrl?: string | undefined;
|
|
377
374
|
stockText?: string | undefined;
|
|
378
375
|
usageNoticeText?: string | undefined;
|
|
376
|
+
guaranteeText?: string | undefined;
|
|
379
377
|
usageSceneText?: string | undefined;
|
|
380
378
|
usageTimeText?: string | undefined;
|
|
381
379
|
claimTimeText?: string | undefined;
|
|
382
380
|
usageRuleText?: string | undefined;
|
|
383
|
-
guaranteeText?: string | undefined;
|
|
384
381
|
validityText?: string | undefined;
|
|
385
382
|
imageUrl?: string | undefined;
|
|
383
|
+
description?: string | undefined;
|
|
384
|
+
presentation?: "package" | "coupon" | "promotion" | "offer" | "promotion-guide" | undefined;
|
|
385
|
+
steps?: {
|
|
386
|
+
title: string;
|
|
387
|
+
description?: string | undefined;
|
|
388
|
+
}[] | undefined;
|
|
389
|
+
notice?: string | undefined;
|
|
386
390
|
participationMode?: "UNKNOWN" | "AUTOMATIC_DISCOUNT" | "CLAIM_THEN_PURCHASE" | "REGISTER_THEN_ATTEND" | "GROUP_PURCHASE" | undefined;
|
|
391
|
+
requirements?: string[] | undefined;
|
|
387
392
|
stores?: {
|
|
388
393
|
storeId: string;
|
|
389
394
|
storeName: string;
|
|
390
|
-
businessName?: string | undefined;
|
|
391
395
|
address?: string | undefined;
|
|
396
|
+
businessName?: string | undefined;
|
|
392
397
|
floor?: string | undefined;
|
|
393
398
|
}[] | undefined;
|
|
394
399
|
bundleItems?: {
|
|
@@ -396,22 +401,14 @@ declare const promotionCards: {
|
|
|
396
401
|
quantity: number;
|
|
397
402
|
}[] | undefined;
|
|
398
403
|
unavailableReason?: string | undefined;
|
|
399
|
-
steps?: {
|
|
400
|
-
title: string;
|
|
401
|
-
description?: string | undefined;
|
|
402
|
-
}[] | undefined;
|
|
403
|
-
requirements?: string[] | undefined;
|
|
404
404
|
}, {
|
|
405
|
+
offerRef: string;
|
|
405
406
|
title: string;
|
|
406
407
|
offerType: "COUPON" | "BUNDLE" | "PROMOTION" | "ACTIVITY" | "GROUPON";
|
|
407
|
-
offerRef: string;
|
|
408
|
-
caveats: string[];
|
|
409
408
|
claimable: boolean;
|
|
409
|
+
caveats: string[];
|
|
410
410
|
rules: string[];
|
|
411
|
-
description?: string | undefined;
|
|
412
411
|
subtitle?: string | undefined;
|
|
413
|
-
notice?: string | undefined;
|
|
414
|
-
presentation?: "coupon" | "offer" | "promotion" | "promotion-guide" | "package" | undefined;
|
|
415
412
|
benefitText?: string | undefined;
|
|
416
413
|
thresholdText?: string | undefined;
|
|
417
414
|
priceText?: string | undefined;
|
|
@@ -421,19 +418,27 @@ declare const promotionCards: {
|
|
|
421
418
|
purchaseUrl?: string | undefined;
|
|
422
419
|
stockText?: string | undefined;
|
|
423
420
|
usageNoticeText?: string | undefined;
|
|
421
|
+
guaranteeText?: string | undefined;
|
|
424
422
|
usageSceneText?: string | undefined;
|
|
425
423
|
usageTimeText?: string | undefined;
|
|
426
424
|
claimTimeText?: string | undefined;
|
|
427
425
|
usageRuleText?: string | undefined;
|
|
428
|
-
guaranteeText?: string | undefined;
|
|
429
426
|
validityText?: string | undefined;
|
|
430
427
|
imageUrl?: string | undefined;
|
|
428
|
+
description?: string | undefined;
|
|
429
|
+
presentation?: "package" | "coupon" | "promotion" | "offer" | "promotion-guide" | undefined;
|
|
430
|
+
steps?: {
|
|
431
|
+
title: string;
|
|
432
|
+
description?: string | undefined;
|
|
433
|
+
}[] | undefined;
|
|
434
|
+
notice?: string | undefined;
|
|
431
435
|
participationMode?: "UNKNOWN" | "AUTOMATIC_DISCOUNT" | "CLAIM_THEN_PURCHASE" | "REGISTER_THEN_ATTEND" | "GROUP_PURCHASE" | undefined;
|
|
436
|
+
requirements?: string[] | undefined;
|
|
432
437
|
stores?: {
|
|
433
438
|
storeId: string;
|
|
434
439
|
storeName: string;
|
|
435
|
-
businessName?: string | undefined;
|
|
436
440
|
address?: string | undefined;
|
|
441
|
+
businessName?: string | undefined;
|
|
437
442
|
floor?: string | undefined;
|
|
438
443
|
}[] | undefined;
|
|
439
444
|
bundleItems?: {
|
|
@@ -441,11 +446,6 @@ declare const promotionCards: {
|
|
|
441
446
|
quantity: number;
|
|
442
447
|
}[] | undefined;
|
|
443
448
|
unavailableReason?: string | undefined;
|
|
444
|
-
steps?: {
|
|
445
|
-
title: string;
|
|
446
|
-
description?: string | undefined;
|
|
447
|
-
}[] | undefined;
|
|
448
|
-
requirements?: string[] | undefined;
|
|
449
449
|
}>>;
|
|
450
450
|
readonly 'promotion-entitlement-list': _tbox_cn_app_contracts.CardMeta<zod.ZodObject<{
|
|
451
451
|
mallId: zod.ZodOptional<zod.ZodString>;
|
|
@@ -490,13 +490,13 @@ declare const promotionCards: {
|
|
|
490
490
|
label: zod.ZodString;
|
|
491
491
|
url: zod.ZodString;
|
|
492
492
|
}, "strip", zod.ZodTypeAny, {
|
|
493
|
-
url: string;
|
|
494
493
|
kind: "link";
|
|
495
494
|
label: string;
|
|
496
|
-
}, {
|
|
497
495
|
url: string;
|
|
496
|
+
}, {
|
|
498
497
|
kind: "link";
|
|
499
498
|
label: string;
|
|
499
|
+
url: string;
|
|
500
500
|
}>]>, "many">>;
|
|
501
501
|
stores: zod.ZodOptional<zod.ZodArray<zod.ZodObject<{
|
|
502
502
|
storeId: zod.ZodString;
|
|
@@ -511,194 +511,194 @@ declare const promotionCards: {
|
|
|
511
511
|
storeId: string;
|
|
512
512
|
storeName: string;
|
|
513
513
|
imageUrl?: string | undefined;
|
|
514
|
-
businessName?: string | undefined;
|
|
515
|
-
address?: string | undefined;
|
|
516
|
-
floor?: string | undefined;
|
|
517
514
|
latitude?: number | undefined;
|
|
518
515
|
longitude?: number | undefined;
|
|
516
|
+
address?: string | undefined;
|
|
517
|
+
businessName?: string | undefined;
|
|
518
|
+
floor?: string | undefined;
|
|
519
519
|
}, {
|
|
520
520
|
storeId: string;
|
|
521
521
|
storeName: string;
|
|
522
522
|
imageUrl?: string | undefined;
|
|
523
|
-
businessName?: string | undefined;
|
|
524
|
-
address?: string | undefined;
|
|
525
|
-
floor?: string | undefined;
|
|
526
523
|
latitude?: number | undefined;
|
|
527
524
|
longitude?: number | undefined;
|
|
525
|
+
address?: string | undefined;
|
|
526
|
+
businessName?: string | undefined;
|
|
527
|
+
floor?: string | undefined;
|
|
528
528
|
}>, "many">>;
|
|
529
529
|
}, "strip", zod.ZodTypeAny, {
|
|
530
|
-
status: "UNKNOWN" | "
|
|
530
|
+
status: "UNKNOWN" | "USED" | "EXPIRED" | "EFFECTIVE" | "INVALID";
|
|
531
531
|
title: string;
|
|
532
532
|
entitlementRef: string;
|
|
533
533
|
entitlementType: "COUPON" | "BUNDLE" | "PROMOTION" | "ACTIVITY" | "GROUPON";
|
|
534
534
|
code?: string | undefined;
|
|
535
535
|
benefitText?: string | undefined;
|
|
536
536
|
thresholdText?: string | undefined;
|
|
537
|
+
guaranteeText?: string | undefined;
|
|
537
538
|
usageSceneText?: string | undefined;
|
|
538
539
|
usageTimeText?: string | undefined;
|
|
539
540
|
claimTimeText?: string | undefined;
|
|
540
541
|
usageRuleText?: string | undefined;
|
|
541
|
-
guaranteeText?: string | undefined;
|
|
542
542
|
validityText?: string | undefined;
|
|
543
543
|
imageUrl?: string | undefined;
|
|
544
|
+
itemActions?: ({
|
|
545
|
+
kind: "send";
|
|
546
|
+
label: string;
|
|
547
|
+
value?: string | undefined;
|
|
548
|
+
visibleValue?: string | undefined;
|
|
549
|
+
} | {
|
|
550
|
+
kind: "link";
|
|
551
|
+
label: string;
|
|
552
|
+
url: string;
|
|
553
|
+
})[] | undefined;
|
|
544
554
|
stores?: {
|
|
545
555
|
storeId: string;
|
|
546
556
|
storeName: string;
|
|
547
557
|
imageUrl?: string | undefined;
|
|
548
|
-
businessName?: string | undefined;
|
|
549
|
-
address?: string | undefined;
|
|
550
|
-
floor?: string | undefined;
|
|
551
558
|
latitude?: number | undefined;
|
|
552
559
|
longitude?: number | undefined;
|
|
560
|
+
address?: string | undefined;
|
|
561
|
+
businessName?: string | undefined;
|
|
562
|
+
floor?: string | undefined;
|
|
553
563
|
}[] | undefined;
|
|
554
564
|
codeMasked?: string | undefined;
|
|
555
565
|
qrCodeEnabled?: boolean | undefined;
|
|
556
566
|
usageNotice?: string | undefined;
|
|
557
567
|
validUntilText?: string | undefined;
|
|
558
|
-
itemActions?: ({
|
|
559
|
-
kind: "send";
|
|
560
|
-
label: string;
|
|
561
|
-
value?: string | undefined;
|
|
562
|
-
visibleValue?: string | undefined;
|
|
563
|
-
} | {
|
|
564
|
-
url: string;
|
|
565
|
-
kind: "link";
|
|
566
|
-
label: string;
|
|
567
|
-
})[] | undefined;
|
|
568
568
|
}, {
|
|
569
|
-
status: "UNKNOWN" | "
|
|
569
|
+
status: "UNKNOWN" | "USED" | "EXPIRED" | "EFFECTIVE" | "INVALID";
|
|
570
570
|
title: string;
|
|
571
571
|
entitlementRef: string;
|
|
572
572
|
entitlementType: "COUPON" | "BUNDLE" | "PROMOTION" | "ACTIVITY" | "GROUPON";
|
|
573
573
|
code?: string | undefined;
|
|
574
574
|
benefitText?: string | undefined;
|
|
575
575
|
thresholdText?: string | undefined;
|
|
576
|
+
guaranteeText?: string | undefined;
|
|
576
577
|
usageSceneText?: string | undefined;
|
|
577
578
|
usageTimeText?: string | undefined;
|
|
578
579
|
claimTimeText?: string | undefined;
|
|
579
580
|
usageRuleText?: string | undefined;
|
|
580
|
-
guaranteeText?: string | undefined;
|
|
581
581
|
validityText?: string | undefined;
|
|
582
582
|
imageUrl?: string | undefined;
|
|
583
|
+
itemActions?: ({
|
|
584
|
+
kind: "send";
|
|
585
|
+
label: string;
|
|
586
|
+
value?: string | undefined;
|
|
587
|
+
visibleValue?: string | undefined;
|
|
588
|
+
} | {
|
|
589
|
+
kind: "link";
|
|
590
|
+
label: string;
|
|
591
|
+
url: string;
|
|
592
|
+
})[] | undefined;
|
|
583
593
|
stores?: {
|
|
584
594
|
storeId: string;
|
|
585
595
|
storeName: string;
|
|
586
596
|
imageUrl?: string | undefined;
|
|
587
|
-
businessName?: string | undefined;
|
|
588
|
-
address?: string | undefined;
|
|
589
|
-
floor?: string | undefined;
|
|
590
597
|
latitude?: number | undefined;
|
|
591
598
|
longitude?: number | undefined;
|
|
599
|
+
address?: string | undefined;
|
|
600
|
+
businessName?: string | undefined;
|
|
601
|
+
floor?: string | undefined;
|
|
592
602
|
}[] | undefined;
|
|
593
603
|
codeMasked?: string | undefined;
|
|
594
604
|
qrCodeEnabled?: boolean | undefined;
|
|
595
605
|
usageNotice?: string | undefined;
|
|
596
606
|
validUntilText?: string | undefined;
|
|
597
|
-
itemActions?: ({
|
|
598
|
-
kind: "send";
|
|
599
|
-
label: string;
|
|
600
|
-
value?: string | undefined;
|
|
601
|
-
visibleValue?: string | undefined;
|
|
602
|
-
} | {
|
|
603
|
-
url: string;
|
|
604
|
-
kind: "link";
|
|
605
|
-
label: string;
|
|
606
|
-
})[] | undefined;
|
|
607
607
|
}>, "many">;
|
|
608
608
|
noResultsReason: zod.ZodOptional<zod.ZodString>;
|
|
609
609
|
nextCursor: zod.ZodOptional<zod.ZodString>;
|
|
610
610
|
}, "strip", zod.ZodTypeAny, {
|
|
611
611
|
items: {
|
|
612
|
-
status: "UNKNOWN" | "
|
|
612
|
+
status: "UNKNOWN" | "USED" | "EXPIRED" | "EFFECTIVE" | "INVALID";
|
|
613
613
|
title: string;
|
|
614
614
|
entitlementRef: string;
|
|
615
615
|
entitlementType: "COUPON" | "BUNDLE" | "PROMOTION" | "ACTIVITY" | "GROUPON";
|
|
616
616
|
code?: string | undefined;
|
|
617
617
|
benefitText?: string | undefined;
|
|
618
618
|
thresholdText?: string | undefined;
|
|
619
|
+
guaranteeText?: string | undefined;
|
|
619
620
|
usageSceneText?: string | undefined;
|
|
620
621
|
usageTimeText?: string | undefined;
|
|
621
622
|
claimTimeText?: string | undefined;
|
|
622
623
|
usageRuleText?: string | undefined;
|
|
623
|
-
guaranteeText?: string | undefined;
|
|
624
624
|
validityText?: string | undefined;
|
|
625
625
|
imageUrl?: string | undefined;
|
|
626
|
+
itemActions?: ({
|
|
627
|
+
kind: "send";
|
|
628
|
+
label: string;
|
|
629
|
+
value?: string | undefined;
|
|
630
|
+
visibleValue?: string | undefined;
|
|
631
|
+
} | {
|
|
632
|
+
kind: "link";
|
|
633
|
+
label: string;
|
|
634
|
+
url: string;
|
|
635
|
+
})[] | undefined;
|
|
626
636
|
stores?: {
|
|
627
637
|
storeId: string;
|
|
628
638
|
storeName: string;
|
|
629
639
|
imageUrl?: string | undefined;
|
|
630
|
-
businessName?: string | undefined;
|
|
631
|
-
address?: string | undefined;
|
|
632
|
-
floor?: string | undefined;
|
|
633
640
|
latitude?: number | undefined;
|
|
634
641
|
longitude?: number | undefined;
|
|
642
|
+
address?: string | undefined;
|
|
643
|
+
businessName?: string | undefined;
|
|
644
|
+
floor?: string | undefined;
|
|
635
645
|
}[] | undefined;
|
|
636
646
|
codeMasked?: string | undefined;
|
|
637
647
|
qrCodeEnabled?: boolean | undefined;
|
|
638
648
|
usageNotice?: string | undefined;
|
|
639
649
|
validUntilText?: string | undefined;
|
|
640
|
-
itemActions?: ({
|
|
641
|
-
kind: "send";
|
|
642
|
-
label: string;
|
|
643
|
-
value?: string | undefined;
|
|
644
|
-
visibleValue?: string | undefined;
|
|
645
|
-
} | {
|
|
646
|
-
url: string;
|
|
647
|
-
kind: "link";
|
|
648
|
-
label: string;
|
|
649
|
-
})[] | undefined;
|
|
650
650
|
}[];
|
|
651
|
-
noResultsReason?: string | undefined;
|
|
652
|
-
nextCursor?: string | undefined;
|
|
653
651
|
mallId?: string | undefined;
|
|
654
652
|
miniAppId?: string | undefined;
|
|
653
|
+
noResultsReason?: string | undefined;
|
|
655
654
|
maxItems?: number | undefined;
|
|
655
|
+
nextCursor?: string | undefined;
|
|
656
656
|
}, {
|
|
657
657
|
items: {
|
|
658
|
-
status: "UNKNOWN" | "
|
|
658
|
+
status: "UNKNOWN" | "USED" | "EXPIRED" | "EFFECTIVE" | "INVALID";
|
|
659
659
|
title: string;
|
|
660
660
|
entitlementRef: string;
|
|
661
661
|
entitlementType: "COUPON" | "BUNDLE" | "PROMOTION" | "ACTIVITY" | "GROUPON";
|
|
662
662
|
code?: string | undefined;
|
|
663
663
|
benefitText?: string | undefined;
|
|
664
664
|
thresholdText?: string | undefined;
|
|
665
|
+
guaranteeText?: string | undefined;
|
|
665
666
|
usageSceneText?: string | undefined;
|
|
666
667
|
usageTimeText?: string | undefined;
|
|
667
668
|
claimTimeText?: string | undefined;
|
|
668
669
|
usageRuleText?: string | undefined;
|
|
669
|
-
guaranteeText?: string | undefined;
|
|
670
670
|
validityText?: string | undefined;
|
|
671
671
|
imageUrl?: string | undefined;
|
|
672
|
+
itemActions?: ({
|
|
673
|
+
kind: "send";
|
|
674
|
+
label: string;
|
|
675
|
+
value?: string | undefined;
|
|
676
|
+
visibleValue?: string | undefined;
|
|
677
|
+
} | {
|
|
678
|
+
kind: "link";
|
|
679
|
+
label: string;
|
|
680
|
+
url: string;
|
|
681
|
+
})[] | undefined;
|
|
672
682
|
stores?: {
|
|
673
683
|
storeId: string;
|
|
674
684
|
storeName: string;
|
|
675
685
|
imageUrl?: string | undefined;
|
|
676
|
-
businessName?: string | undefined;
|
|
677
|
-
address?: string | undefined;
|
|
678
|
-
floor?: string | undefined;
|
|
679
686
|
latitude?: number | undefined;
|
|
680
687
|
longitude?: number | undefined;
|
|
688
|
+
address?: string | undefined;
|
|
689
|
+
businessName?: string | undefined;
|
|
690
|
+
floor?: string | undefined;
|
|
681
691
|
}[] | undefined;
|
|
682
692
|
codeMasked?: string | undefined;
|
|
683
693
|
qrCodeEnabled?: boolean | undefined;
|
|
684
694
|
usageNotice?: string | undefined;
|
|
685
695
|
validUntilText?: string | undefined;
|
|
686
|
-
itemActions?: ({
|
|
687
|
-
kind: "send";
|
|
688
|
-
label: string;
|
|
689
|
-
value?: string | undefined;
|
|
690
|
-
visibleValue?: string | undefined;
|
|
691
|
-
} | {
|
|
692
|
-
url: string;
|
|
693
|
-
kind: "link";
|
|
694
|
-
label: string;
|
|
695
|
-
})[] | undefined;
|
|
696
696
|
}[];
|
|
697
|
-
noResultsReason?: string | undefined;
|
|
698
|
-
nextCursor?: string | undefined;
|
|
699
697
|
mallId?: string | undefined;
|
|
700
698
|
miniAppId?: string | undefined;
|
|
699
|
+
noResultsReason?: string | undefined;
|
|
701
700
|
maxItems?: number | undefined;
|
|
701
|
+
nextCursor?: string | undefined;
|
|
702
702
|
}>>;
|
|
703
703
|
readonly 'promotion-activity-list': _tbox_cn_app_contracts.CardMeta<zod.ZodObject<{
|
|
704
704
|
items: zod.ZodArray<zod.ZodObject<{
|
|
@@ -733,110 +733,110 @@ declare const promotionCards: {
|
|
|
733
733
|
label: zod.ZodString;
|
|
734
734
|
url: zod.ZodString;
|
|
735
735
|
}, "strip", zod.ZodTypeAny, {
|
|
736
|
-
url: string;
|
|
737
736
|
kind: "link";
|
|
738
737
|
label: string;
|
|
739
|
-
}, {
|
|
740
738
|
url: string;
|
|
739
|
+
}, {
|
|
741
740
|
kind: "link";
|
|
742
741
|
label: string;
|
|
742
|
+
url: string;
|
|
743
743
|
}>]>, "many">>;
|
|
744
744
|
}, "strip", zod.ZodTypeAny, {
|
|
745
|
-
registrationRequired: boolean;
|
|
746
|
-
activityRef: string;
|
|
747
745
|
title: string;
|
|
746
|
+
activityRef: string;
|
|
747
|
+
registrationRequired: boolean;
|
|
748
748
|
subtitle?: string | undefined;
|
|
749
|
-
|
|
750
|
-
jumpOnly?: boolean | undefined;
|
|
751
|
-
jumpLabel?: string | undefined;
|
|
752
|
-
categoryName?: string | undefined;
|
|
753
|
-
remainingQuota?: number | undefined;
|
|
754
|
-
periodText?: string | undefined;
|
|
755
|
-
availabilityStatus?: "FULL" | "ENDED" | "UPCOMING" | "AVAILABLE" | "UNKNOWN" | undefined;
|
|
749
|
+
availabilityStatus?: "AVAILABLE" | "UNKNOWN" | "FULL" | "ENDED" | "UPCOMING" | undefined;
|
|
756
750
|
itemActions?: ({
|
|
757
751
|
kind: "send";
|
|
758
752
|
label: string;
|
|
759
753
|
value?: string | undefined;
|
|
760
754
|
visibleValue?: string | undefined;
|
|
761
755
|
} | {
|
|
762
|
-
url: string;
|
|
763
756
|
kind: "link";
|
|
764
757
|
label: string;
|
|
758
|
+
url: string;
|
|
765
759
|
})[] | undefined;
|
|
766
|
-
}, {
|
|
767
|
-
registrationRequired: boolean;
|
|
768
|
-
activityRef: string;
|
|
769
|
-
title: string;
|
|
770
|
-
subtitle?: string | undefined;
|
|
771
760
|
coverUrl?: string | undefined;
|
|
772
761
|
jumpOnly?: boolean | undefined;
|
|
773
762
|
jumpLabel?: string | undefined;
|
|
774
|
-
categoryName?: string | undefined;
|
|
775
763
|
remainingQuota?: number | undefined;
|
|
776
764
|
periodText?: string | undefined;
|
|
777
|
-
|
|
765
|
+
categoryName?: string | undefined;
|
|
766
|
+
}, {
|
|
767
|
+
title: string;
|
|
768
|
+
activityRef: string;
|
|
769
|
+
registrationRequired: boolean;
|
|
770
|
+
subtitle?: string | undefined;
|
|
771
|
+
availabilityStatus?: "AVAILABLE" | "UNKNOWN" | "FULL" | "ENDED" | "UPCOMING" | undefined;
|
|
778
772
|
itemActions?: ({
|
|
779
773
|
kind: "send";
|
|
780
774
|
label: string;
|
|
781
775
|
value?: string | undefined;
|
|
782
776
|
visibleValue?: string | undefined;
|
|
783
777
|
} | {
|
|
784
|
-
url: string;
|
|
785
778
|
kind: "link";
|
|
786
779
|
label: string;
|
|
780
|
+
url: string;
|
|
787
781
|
})[] | undefined;
|
|
782
|
+
coverUrl?: string | undefined;
|
|
783
|
+
jumpOnly?: boolean | undefined;
|
|
784
|
+
jumpLabel?: string | undefined;
|
|
785
|
+
remainingQuota?: number | undefined;
|
|
786
|
+
periodText?: string | undefined;
|
|
787
|
+
categoryName?: string | undefined;
|
|
788
788
|
}>, "many">;
|
|
789
789
|
noResultsReason: zod.ZodOptional<zod.ZodString>;
|
|
790
790
|
nextCursor: zod.ZodOptional<zod.ZodString>;
|
|
791
791
|
}, "strip", zod.ZodTypeAny, {
|
|
792
792
|
items: {
|
|
793
|
-
registrationRequired: boolean;
|
|
794
|
-
activityRef: string;
|
|
795
793
|
title: string;
|
|
794
|
+
activityRef: string;
|
|
795
|
+
registrationRequired: boolean;
|
|
796
796
|
subtitle?: string | undefined;
|
|
797
|
-
|
|
798
|
-
jumpOnly?: boolean | undefined;
|
|
799
|
-
jumpLabel?: string | undefined;
|
|
800
|
-
categoryName?: string | undefined;
|
|
801
|
-
remainingQuota?: number | undefined;
|
|
802
|
-
periodText?: string | undefined;
|
|
803
|
-
availabilityStatus?: "FULL" | "ENDED" | "UPCOMING" | "AVAILABLE" | "UNKNOWN" | undefined;
|
|
797
|
+
availabilityStatus?: "AVAILABLE" | "UNKNOWN" | "FULL" | "ENDED" | "UPCOMING" | undefined;
|
|
804
798
|
itemActions?: ({
|
|
805
799
|
kind: "send";
|
|
806
800
|
label: string;
|
|
807
801
|
value?: string | undefined;
|
|
808
802
|
visibleValue?: string | undefined;
|
|
809
803
|
} | {
|
|
810
|
-
url: string;
|
|
811
804
|
kind: "link";
|
|
812
805
|
label: string;
|
|
806
|
+
url: string;
|
|
813
807
|
})[] | undefined;
|
|
808
|
+
coverUrl?: string | undefined;
|
|
809
|
+
jumpOnly?: boolean | undefined;
|
|
810
|
+
jumpLabel?: string | undefined;
|
|
811
|
+
remainingQuota?: number | undefined;
|
|
812
|
+
periodText?: string | undefined;
|
|
813
|
+
categoryName?: string | undefined;
|
|
814
814
|
}[];
|
|
815
815
|
noResultsReason?: string | undefined;
|
|
816
816
|
nextCursor?: string | undefined;
|
|
817
817
|
}, {
|
|
818
818
|
items: {
|
|
819
|
-
registrationRequired: boolean;
|
|
820
|
-
activityRef: string;
|
|
821
819
|
title: string;
|
|
820
|
+
activityRef: string;
|
|
821
|
+
registrationRequired: boolean;
|
|
822
822
|
subtitle?: string | undefined;
|
|
823
|
-
|
|
824
|
-
jumpOnly?: boolean | undefined;
|
|
825
|
-
jumpLabel?: string | undefined;
|
|
826
|
-
categoryName?: string | undefined;
|
|
827
|
-
remainingQuota?: number | undefined;
|
|
828
|
-
periodText?: string | undefined;
|
|
829
|
-
availabilityStatus?: "FULL" | "ENDED" | "UPCOMING" | "AVAILABLE" | "UNKNOWN" | undefined;
|
|
823
|
+
availabilityStatus?: "AVAILABLE" | "UNKNOWN" | "FULL" | "ENDED" | "UPCOMING" | undefined;
|
|
830
824
|
itemActions?: ({
|
|
831
825
|
kind: "send";
|
|
832
826
|
label: string;
|
|
833
827
|
value?: string | undefined;
|
|
834
828
|
visibleValue?: string | undefined;
|
|
835
829
|
} | {
|
|
836
|
-
url: string;
|
|
837
830
|
kind: "link";
|
|
838
831
|
label: string;
|
|
832
|
+
url: string;
|
|
839
833
|
})[] | undefined;
|
|
834
|
+
coverUrl?: string | undefined;
|
|
835
|
+
jumpOnly?: boolean | undefined;
|
|
836
|
+
jumpLabel?: string | undefined;
|
|
837
|
+
remainingQuota?: number | undefined;
|
|
838
|
+
periodText?: string | undefined;
|
|
839
|
+
categoryName?: string | undefined;
|
|
840
840
|
}[];
|
|
841
841
|
noResultsReason?: string | undefined;
|
|
842
842
|
nextCursor?: string | undefined;
|
|
@@ -865,21 +865,21 @@ declare const promotionCards: {
|
|
|
865
865
|
remainingQuota: zod.ZodOptional<zod.ZodNumber>;
|
|
866
866
|
status: zod.ZodEnum<["OPEN", "FULL", "CLOSED", "UNKNOWN"]>;
|
|
867
867
|
}, "strip", zod.ZodTypeAny, {
|
|
868
|
-
status: "
|
|
868
|
+
status: "UNKNOWN" | "CLOSED" | "OPEN" | "FULL";
|
|
869
869
|
title: string;
|
|
870
870
|
sessionRef: string;
|
|
871
871
|
startText: string;
|
|
872
|
+
location?: string | undefined;
|
|
872
873
|
remainingQuota?: number | undefined;
|
|
873
874
|
endText?: string | undefined;
|
|
874
|
-
location?: string | undefined;
|
|
875
875
|
}, {
|
|
876
|
-
status: "
|
|
876
|
+
status: "UNKNOWN" | "CLOSED" | "OPEN" | "FULL";
|
|
877
877
|
title: string;
|
|
878
878
|
sessionRef: string;
|
|
879
879
|
startText: string;
|
|
880
|
+
location?: string | undefined;
|
|
880
881
|
remainingQuota?: number | undefined;
|
|
881
882
|
endText?: string | undefined;
|
|
882
|
-
location?: string | undefined;
|
|
883
883
|
}>, "many">;
|
|
884
884
|
guideSteps: zod.ZodArray<zod.ZodString, "many">;
|
|
885
885
|
guideItems: zod.ZodOptional<zod.ZodArray<zod.ZodObject<{
|
|
@@ -895,67 +895,67 @@ declare const promotionCards: {
|
|
|
895
895
|
conditions: zod.ZodArray<zod.ZodString, "many">;
|
|
896
896
|
notice: zod.ZodOptional<zod.ZodString>;
|
|
897
897
|
}, "strip", zod.ZodTypeAny, {
|
|
898
|
-
registrationRequired: boolean;
|
|
899
|
-
activityRef: string;
|
|
900
898
|
title: string;
|
|
899
|
+
activityRef: string;
|
|
900
|
+
registrationRequired: boolean;
|
|
901
901
|
sessions: {
|
|
902
|
-
status: "
|
|
902
|
+
status: "UNKNOWN" | "CLOSED" | "OPEN" | "FULL";
|
|
903
903
|
title: string;
|
|
904
904
|
sessionRef: string;
|
|
905
905
|
startText: string;
|
|
906
|
+
location?: string | undefined;
|
|
906
907
|
remainingQuota?: number | undefined;
|
|
907
908
|
endText?: string | undefined;
|
|
908
|
-
location?: string | undefined;
|
|
909
909
|
}[];
|
|
910
910
|
guideSteps: string[];
|
|
911
911
|
conditions: string[];
|
|
912
|
-
description?: string | undefined;
|
|
913
912
|
subtitle?: string | undefined;
|
|
913
|
+
description?: string | undefined;
|
|
914
|
+
presentation?: "detail" | "schedule" | "guide" | undefined;
|
|
915
|
+
notice?: string | undefined;
|
|
916
|
+
location?: string | undefined;
|
|
914
917
|
coverUrl?: string | undefined;
|
|
915
918
|
jumpOnly?: boolean | undefined;
|
|
916
919
|
jumpLabel?: string | undefined;
|
|
917
|
-
categoryName?: string | undefined;
|
|
918
920
|
remainingQuota?: number | undefined;
|
|
919
|
-
registrationUrl?: string | undefined;
|
|
920
921
|
periodText?: string | undefined;
|
|
921
|
-
|
|
922
|
-
|
|
922
|
+
categoryName?: string | undefined;
|
|
923
|
+
registrationUrl?: string | undefined;
|
|
923
924
|
guideItems?: {
|
|
924
925
|
title: string;
|
|
925
926
|
description?: string | undefined;
|
|
926
927
|
}[] | undefined;
|
|
927
|
-
presentation?: "detail" | "schedule" | "guide" | undefined;
|
|
928
928
|
}, {
|
|
929
|
-
registrationRequired: boolean;
|
|
930
|
-
activityRef: string;
|
|
931
929
|
title: string;
|
|
930
|
+
activityRef: string;
|
|
931
|
+
registrationRequired: boolean;
|
|
932
932
|
sessions: {
|
|
933
|
-
status: "
|
|
933
|
+
status: "UNKNOWN" | "CLOSED" | "OPEN" | "FULL";
|
|
934
934
|
title: string;
|
|
935
935
|
sessionRef: string;
|
|
936
936
|
startText: string;
|
|
937
|
+
location?: string | undefined;
|
|
937
938
|
remainingQuota?: number | undefined;
|
|
938
939
|
endText?: string | undefined;
|
|
939
|
-
location?: string | undefined;
|
|
940
940
|
}[];
|
|
941
941
|
guideSteps: string[];
|
|
942
942
|
conditions: string[];
|
|
943
|
-
description?: string | undefined;
|
|
944
943
|
subtitle?: string | undefined;
|
|
944
|
+
description?: string | undefined;
|
|
945
|
+
presentation?: "detail" | "schedule" | "guide" | undefined;
|
|
946
|
+
notice?: string | undefined;
|
|
947
|
+
location?: string | undefined;
|
|
945
948
|
coverUrl?: string | undefined;
|
|
946
949
|
jumpOnly?: boolean | undefined;
|
|
947
950
|
jumpLabel?: string | undefined;
|
|
948
|
-
categoryName?: string | undefined;
|
|
949
951
|
remainingQuota?: number | undefined;
|
|
950
|
-
registrationUrl?: string | undefined;
|
|
951
952
|
periodText?: string | undefined;
|
|
952
|
-
|
|
953
|
-
|
|
953
|
+
categoryName?: string | undefined;
|
|
954
|
+
registrationUrl?: string | undefined;
|
|
954
955
|
guideItems?: {
|
|
955
956
|
title: string;
|
|
956
957
|
description?: string | undefined;
|
|
957
958
|
}[] | undefined;
|
|
958
|
-
presentation?: "detail" | "schedule" | "guide" | undefined;
|
|
959
959
|
}>>;
|
|
960
960
|
readonly 'promotion-activity-category-list': _tbox_cn_app_contracts.CardMeta<zod.ZodObject<{
|
|
961
961
|
items: zod.ZodArray<zod.ZodObject<{
|
|
@@ -982,74 +982,74 @@ declare const promotionCards: {
|
|
|
982
982
|
label: zod.ZodString;
|
|
983
983
|
url: zod.ZodString;
|
|
984
984
|
}, "strip", zod.ZodTypeAny, {
|
|
985
|
-
url: string;
|
|
986
985
|
kind: "link";
|
|
987
986
|
label: string;
|
|
988
|
-
}, {
|
|
989
987
|
url: string;
|
|
988
|
+
}, {
|
|
990
989
|
kind: "link";
|
|
991
990
|
label: string;
|
|
991
|
+
url: string;
|
|
992
992
|
}>]>, "many">>;
|
|
993
993
|
}, "strip", zod.ZodTypeAny, {
|
|
994
|
-
categoryId: string;
|
|
995
994
|
name: string;
|
|
995
|
+
categoryId: string;
|
|
996
996
|
itemActions?: ({
|
|
997
997
|
kind: "send";
|
|
998
998
|
label: string;
|
|
999
999
|
value?: string | undefined;
|
|
1000
1000
|
visibleValue?: string | undefined;
|
|
1001
1001
|
} | {
|
|
1002
|
-
url: string;
|
|
1003
1002
|
kind: "link";
|
|
1004
1003
|
label: string;
|
|
1004
|
+
url: string;
|
|
1005
1005
|
})[] | undefined;
|
|
1006
1006
|
parentId?: string | undefined;
|
|
1007
1007
|
}, {
|
|
1008
|
-
categoryId: string;
|
|
1009
1008
|
name: string;
|
|
1009
|
+
categoryId: string;
|
|
1010
1010
|
itemActions?: ({
|
|
1011
1011
|
kind: "send";
|
|
1012
1012
|
label: string;
|
|
1013
1013
|
value?: string | undefined;
|
|
1014
1014
|
visibleValue?: string | undefined;
|
|
1015
1015
|
} | {
|
|
1016
|
-
url: string;
|
|
1017
1016
|
kind: "link";
|
|
1018
1017
|
label: string;
|
|
1018
|
+
url: string;
|
|
1019
1019
|
})[] | undefined;
|
|
1020
1020
|
parentId?: string | undefined;
|
|
1021
1021
|
}>, "many">;
|
|
1022
1022
|
noResultsReason: zod.ZodOptional<zod.ZodString>;
|
|
1023
1023
|
}, "strip", zod.ZodTypeAny, {
|
|
1024
1024
|
items: {
|
|
1025
|
-
categoryId: string;
|
|
1026
1025
|
name: string;
|
|
1026
|
+
categoryId: string;
|
|
1027
1027
|
itemActions?: ({
|
|
1028
1028
|
kind: "send";
|
|
1029
1029
|
label: string;
|
|
1030
1030
|
value?: string | undefined;
|
|
1031
1031
|
visibleValue?: string | undefined;
|
|
1032
1032
|
} | {
|
|
1033
|
-
url: string;
|
|
1034
1033
|
kind: "link";
|
|
1035
1034
|
label: string;
|
|
1035
|
+
url: string;
|
|
1036
1036
|
})[] | undefined;
|
|
1037
1037
|
parentId?: string | undefined;
|
|
1038
1038
|
}[];
|
|
1039
1039
|
noResultsReason?: string | undefined;
|
|
1040
1040
|
}, {
|
|
1041
1041
|
items: {
|
|
1042
|
-
categoryId: string;
|
|
1043
1042
|
name: string;
|
|
1043
|
+
categoryId: string;
|
|
1044
1044
|
itemActions?: ({
|
|
1045
1045
|
kind: "send";
|
|
1046
1046
|
label: string;
|
|
1047
1047
|
value?: string | undefined;
|
|
1048
1048
|
visibleValue?: string | undefined;
|
|
1049
1049
|
} | {
|
|
1050
|
-
url: string;
|
|
1051
1050
|
kind: "link";
|
|
1052
1051
|
label: string;
|
|
1052
|
+
url: string;
|
|
1053
1053
|
})[] | undefined;
|
|
1054
1054
|
parentId?: string | undefined;
|
|
1055
1055
|
}[];
|
|
@@ -1105,19 +1105,19 @@ declare const promotionCards: {
|
|
|
1105
1105
|
label: zod.ZodString;
|
|
1106
1106
|
url: zod.ZodString;
|
|
1107
1107
|
}, "strip", zod.ZodTypeAny, {
|
|
1108
|
-
url: string;
|
|
1109
1108
|
kind: "link";
|
|
1110
1109
|
label: string;
|
|
1111
|
-
}, {
|
|
1112
1110
|
url: string;
|
|
1111
|
+
}, {
|
|
1113
1112
|
kind: "link";
|
|
1114
1113
|
label: string;
|
|
1114
|
+
url: string;
|
|
1115
1115
|
}>]>, "many">>;
|
|
1116
1116
|
tags: zod.ZodArray<zod.ZodString, "many">;
|
|
1117
1117
|
}, "strip", zod.ZodTypeAny, {
|
|
1118
|
+
offerRef: string;
|
|
1118
1119
|
title: string;
|
|
1119
1120
|
offerType: "COUPON" | "BUNDLE" | "PROMOTION" | "ACTIVITY" | "GROUPON";
|
|
1120
|
-
offerRef: string;
|
|
1121
1121
|
claimable: boolean;
|
|
1122
1122
|
tags: string[];
|
|
1123
1123
|
subtitle?: string | undefined;
|
|
@@ -1131,28 +1131,28 @@ declare const promotionCards: {
|
|
|
1131
1131
|
freeCouponClaimMode?: "DIRECT" | "REDIRECT" | undefined;
|
|
1132
1132
|
stockText?: string | undefined;
|
|
1133
1133
|
usageNoticeText?: string | undefined;
|
|
1134
|
+
guaranteeText?: string | undefined;
|
|
1134
1135
|
usageSceneText?: string | undefined;
|
|
1135
1136
|
usageTimeText?: string | undefined;
|
|
1136
1137
|
claimTimeText?: string | undefined;
|
|
1137
1138
|
usageRuleText?: string | undefined;
|
|
1138
|
-
|
|
1139
|
+
availabilityStatus?: "AVAILABLE" | "UNAVAILABLE" | "REQUIRES_ACTION" | "UNKNOWN" | undefined;
|
|
1139
1140
|
validityText?: string | undefined;
|
|
1140
1141
|
imageUrl?: string | undefined;
|
|
1141
|
-
availabilityStatus?: "AVAILABLE" | "UNKNOWN" | "UNAVAILABLE" | "REQUIRES_ACTION" | undefined;
|
|
1142
1142
|
itemActions?: ({
|
|
1143
1143
|
kind: "send";
|
|
1144
1144
|
label: string;
|
|
1145
1145
|
value?: string | undefined;
|
|
1146
1146
|
visibleValue?: string | undefined;
|
|
1147
1147
|
} | {
|
|
1148
|
-
url: string;
|
|
1149
1148
|
kind: "link";
|
|
1150
1149
|
label: string;
|
|
1150
|
+
url: string;
|
|
1151
1151
|
})[] | undefined;
|
|
1152
1152
|
}, {
|
|
1153
|
+
offerRef: string;
|
|
1153
1154
|
title: string;
|
|
1154
1155
|
offerType: "COUPON" | "BUNDLE" | "PROMOTION" | "ACTIVITY" | "GROUPON";
|
|
1155
|
-
offerRef: string;
|
|
1156
1156
|
claimable: boolean;
|
|
1157
1157
|
tags: string[];
|
|
1158
1158
|
subtitle?: string | undefined;
|
|
@@ -1166,37 +1166,37 @@ declare const promotionCards: {
|
|
|
1166
1166
|
freeCouponClaimMode?: "DIRECT" | "REDIRECT" | undefined;
|
|
1167
1167
|
stockText?: string | undefined;
|
|
1168
1168
|
usageNoticeText?: string | undefined;
|
|
1169
|
+
guaranteeText?: string | undefined;
|
|
1169
1170
|
usageSceneText?: string | undefined;
|
|
1170
1171
|
usageTimeText?: string | undefined;
|
|
1171
1172
|
claimTimeText?: string | undefined;
|
|
1172
1173
|
usageRuleText?: string | undefined;
|
|
1173
|
-
|
|
1174
|
+
availabilityStatus?: "AVAILABLE" | "UNAVAILABLE" | "REQUIRES_ACTION" | "UNKNOWN" | undefined;
|
|
1174
1175
|
validityText?: string | undefined;
|
|
1175
1176
|
imageUrl?: string | undefined;
|
|
1176
|
-
availabilityStatus?: "AVAILABLE" | "UNKNOWN" | "UNAVAILABLE" | "REQUIRES_ACTION" | undefined;
|
|
1177
1177
|
itemActions?: ({
|
|
1178
1178
|
kind: "send";
|
|
1179
1179
|
label: string;
|
|
1180
1180
|
value?: string | undefined;
|
|
1181
1181
|
visibleValue?: string | undefined;
|
|
1182
1182
|
} | {
|
|
1183
|
-
url: string;
|
|
1184
1183
|
kind: "link";
|
|
1185
1184
|
label: string;
|
|
1185
|
+
url: string;
|
|
1186
1186
|
})[] | undefined;
|
|
1187
1187
|
}>, "many">>;
|
|
1188
1188
|
message: zod.ZodOptional<zod.ZodString>;
|
|
1189
1189
|
}, "strip", zod.ZodTypeAny, {
|
|
1190
|
-
originalAmountCents: number;
|
|
1191
1190
|
authoritative: boolean;
|
|
1191
|
+
originalAmountCents: number;
|
|
1192
1192
|
appliedOfferRefs: string[];
|
|
1193
|
-
message?: string | undefined;
|
|
1194
1193
|
savingsCents?: number | undefined;
|
|
1195
1194
|
expectedPayCents?: number | undefined;
|
|
1195
|
+
message?: string | undefined;
|
|
1196
1196
|
candidates?: {
|
|
1197
|
+
offerRef: string;
|
|
1197
1198
|
title: string;
|
|
1198
1199
|
offerType: "COUPON" | "BUNDLE" | "PROMOTION" | "ACTIVITY" | "GROUPON";
|
|
1199
|
-
offerRef: string;
|
|
1200
1200
|
claimable: boolean;
|
|
1201
1201
|
tags: string[];
|
|
1202
1202
|
subtitle?: string | undefined;
|
|
@@ -1210,36 +1210,36 @@ declare const promotionCards: {
|
|
|
1210
1210
|
freeCouponClaimMode?: "DIRECT" | "REDIRECT" | undefined;
|
|
1211
1211
|
stockText?: string | undefined;
|
|
1212
1212
|
usageNoticeText?: string | undefined;
|
|
1213
|
+
guaranteeText?: string | undefined;
|
|
1213
1214
|
usageSceneText?: string | undefined;
|
|
1214
1215
|
usageTimeText?: string | undefined;
|
|
1215
1216
|
claimTimeText?: string | undefined;
|
|
1216
1217
|
usageRuleText?: string | undefined;
|
|
1217
|
-
|
|
1218
|
+
availabilityStatus?: "AVAILABLE" | "UNAVAILABLE" | "REQUIRES_ACTION" | "UNKNOWN" | undefined;
|
|
1218
1219
|
validityText?: string | undefined;
|
|
1219
1220
|
imageUrl?: string | undefined;
|
|
1220
|
-
availabilityStatus?: "AVAILABLE" | "UNKNOWN" | "UNAVAILABLE" | "REQUIRES_ACTION" | undefined;
|
|
1221
1221
|
itemActions?: ({
|
|
1222
1222
|
kind: "send";
|
|
1223
1223
|
label: string;
|
|
1224
1224
|
value?: string | undefined;
|
|
1225
1225
|
visibleValue?: string | undefined;
|
|
1226
1226
|
} | {
|
|
1227
|
-
url: string;
|
|
1228
1227
|
kind: "link";
|
|
1229
1228
|
label: string;
|
|
1229
|
+
url: string;
|
|
1230
1230
|
})[] | undefined;
|
|
1231
1231
|
}[] | undefined;
|
|
1232
1232
|
}, {
|
|
1233
|
-
originalAmountCents: number;
|
|
1234
1233
|
authoritative: boolean;
|
|
1234
|
+
originalAmountCents: number;
|
|
1235
1235
|
appliedOfferRefs: string[];
|
|
1236
|
-
message?: string | undefined;
|
|
1237
1236
|
savingsCents?: number | undefined;
|
|
1238
1237
|
expectedPayCents?: number | undefined;
|
|
1238
|
+
message?: string | undefined;
|
|
1239
1239
|
candidates?: {
|
|
1240
|
+
offerRef: string;
|
|
1240
1241
|
title: string;
|
|
1241
1242
|
offerType: "COUPON" | "BUNDLE" | "PROMOTION" | "ACTIVITY" | "GROUPON";
|
|
1242
|
-
offerRef: string;
|
|
1243
1243
|
claimable: boolean;
|
|
1244
1244
|
tags: string[];
|
|
1245
1245
|
subtitle?: string | undefined;
|
|
@@ -1253,23 +1253,23 @@ declare const promotionCards: {
|
|
|
1253
1253
|
freeCouponClaimMode?: "DIRECT" | "REDIRECT" | undefined;
|
|
1254
1254
|
stockText?: string | undefined;
|
|
1255
1255
|
usageNoticeText?: string | undefined;
|
|
1256
|
+
guaranteeText?: string | undefined;
|
|
1256
1257
|
usageSceneText?: string | undefined;
|
|
1257
1258
|
usageTimeText?: string | undefined;
|
|
1258
1259
|
claimTimeText?: string | undefined;
|
|
1259
1260
|
usageRuleText?: string | undefined;
|
|
1260
|
-
|
|
1261
|
+
availabilityStatus?: "AVAILABLE" | "UNAVAILABLE" | "REQUIRES_ACTION" | "UNKNOWN" | undefined;
|
|
1261
1262
|
validityText?: string | undefined;
|
|
1262
1263
|
imageUrl?: string | undefined;
|
|
1263
|
-
availabilityStatus?: "AVAILABLE" | "UNKNOWN" | "UNAVAILABLE" | "REQUIRES_ACTION" | undefined;
|
|
1264
1264
|
itemActions?: ({
|
|
1265
1265
|
kind: "send";
|
|
1266
1266
|
label: string;
|
|
1267
1267
|
value?: string | undefined;
|
|
1268
1268
|
visibleValue?: string | undefined;
|
|
1269
1269
|
} | {
|
|
1270
|
-
url: string;
|
|
1271
1270
|
kind: "link";
|
|
1272
1271
|
label: string;
|
|
1272
|
+
url: string;
|
|
1273
1273
|
})[] | undefined;
|
|
1274
1274
|
}[] | undefined;
|
|
1275
1275
|
}>>;
|
|
@@ -1330,19 +1330,19 @@ declare const serverModule: {
|
|
|
1330
1330
|
label: zod.ZodString;
|
|
1331
1331
|
url: zod.ZodString;
|
|
1332
1332
|
}, "strip", zod.ZodTypeAny, {
|
|
1333
|
-
url: string;
|
|
1334
1333
|
kind: "link";
|
|
1335
1334
|
label: string;
|
|
1336
|
-
}, {
|
|
1337
1335
|
url: string;
|
|
1336
|
+
}, {
|
|
1338
1337
|
kind: "link";
|
|
1339
1338
|
label: string;
|
|
1339
|
+
url: string;
|
|
1340
1340
|
}>]>, "many">>;
|
|
1341
1341
|
tags: zod.ZodArray<zod.ZodString, "many">;
|
|
1342
1342
|
}, "strip", zod.ZodTypeAny, {
|
|
1343
|
+
offerRef: string;
|
|
1343
1344
|
title: string;
|
|
1344
1345
|
offerType: "COUPON" | "BUNDLE" | "PROMOTION" | "ACTIVITY" | "GROUPON";
|
|
1345
|
-
offerRef: string;
|
|
1346
1346
|
claimable: boolean;
|
|
1347
1347
|
tags: string[];
|
|
1348
1348
|
subtitle?: string | undefined;
|
|
@@ -1356,28 +1356,28 @@ declare const serverModule: {
|
|
|
1356
1356
|
freeCouponClaimMode?: "DIRECT" | "REDIRECT" | undefined;
|
|
1357
1357
|
stockText?: string | undefined;
|
|
1358
1358
|
usageNoticeText?: string | undefined;
|
|
1359
|
+
guaranteeText?: string | undefined;
|
|
1359
1360
|
usageSceneText?: string | undefined;
|
|
1360
1361
|
usageTimeText?: string | undefined;
|
|
1361
1362
|
claimTimeText?: string | undefined;
|
|
1362
1363
|
usageRuleText?: string | undefined;
|
|
1363
|
-
|
|
1364
|
+
availabilityStatus?: "AVAILABLE" | "UNAVAILABLE" | "REQUIRES_ACTION" | "UNKNOWN" | undefined;
|
|
1364
1365
|
validityText?: string | undefined;
|
|
1365
1366
|
imageUrl?: string | undefined;
|
|
1366
|
-
availabilityStatus?: "AVAILABLE" | "UNKNOWN" | "UNAVAILABLE" | "REQUIRES_ACTION" | undefined;
|
|
1367
1367
|
itemActions?: ({
|
|
1368
1368
|
kind: "send";
|
|
1369
1369
|
label: string;
|
|
1370
1370
|
value?: string | undefined;
|
|
1371
1371
|
visibleValue?: string | undefined;
|
|
1372
1372
|
} | {
|
|
1373
|
-
url: string;
|
|
1374
1373
|
kind: "link";
|
|
1375
1374
|
label: string;
|
|
1375
|
+
url: string;
|
|
1376
1376
|
})[] | undefined;
|
|
1377
1377
|
}, {
|
|
1378
|
+
offerRef: string;
|
|
1378
1379
|
title: string;
|
|
1379
1380
|
offerType: "COUPON" | "BUNDLE" | "PROMOTION" | "ACTIVITY" | "GROUPON";
|
|
1380
|
-
offerRef: string;
|
|
1381
1381
|
claimable: boolean;
|
|
1382
1382
|
tags: string[];
|
|
1383
1383
|
subtitle?: string | undefined;
|
|
@@ -1391,32 +1391,33 @@ declare const serverModule: {
|
|
|
1391
1391
|
freeCouponClaimMode?: "DIRECT" | "REDIRECT" | undefined;
|
|
1392
1392
|
stockText?: string | undefined;
|
|
1393
1393
|
usageNoticeText?: string | undefined;
|
|
1394
|
+
guaranteeText?: string | undefined;
|
|
1394
1395
|
usageSceneText?: string | undefined;
|
|
1395
1396
|
usageTimeText?: string | undefined;
|
|
1396
1397
|
claimTimeText?: string | undefined;
|
|
1397
1398
|
usageRuleText?: string | undefined;
|
|
1398
|
-
|
|
1399
|
+
availabilityStatus?: "AVAILABLE" | "UNAVAILABLE" | "REQUIRES_ACTION" | "UNKNOWN" | undefined;
|
|
1399
1400
|
validityText?: string | undefined;
|
|
1400
1401
|
imageUrl?: string | undefined;
|
|
1401
|
-
availabilityStatus?: "AVAILABLE" | "UNKNOWN" | "UNAVAILABLE" | "REQUIRES_ACTION" | undefined;
|
|
1402
1402
|
itemActions?: ({
|
|
1403
1403
|
kind: "send";
|
|
1404
1404
|
label: string;
|
|
1405
1405
|
value?: string | undefined;
|
|
1406
1406
|
visibleValue?: string | undefined;
|
|
1407
1407
|
} | {
|
|
1408
|
-
url: string;
|
|
1409
1408
|
kind: "link";
|
|
1410
1409
|
label: string;
|
|
1410
|
+
url: string;
|
|
1411
1411
|
})[] | undefined;
|
|
1412
1412
|
}>, "many">;
|
|
1413
1413
|
noResultsReason: zod.ZodOptional<zod.ZodString>;
|
|
1414
1414
|
nextCursor: zod.ZodOptional<zod.ZodString>;
|
|
1415
1415
|
}, "strip", zod.ZodTypeAny, {
|
|
1416
|
+
mode: "claimable" | "search" | "recommend";
|
|
1416
1417
|
items: {
|
|
1418
|
+
offerRef: string;
|
|
1417
1419
|
title: string;
|
|
1418
1420
|
offerType: "COUPON" | "BUNDLE" | "PROMOTION" | "ACTIVITY" | "GROUPON";
|
|
1419
|
-
offerRef: string;
|
|
1420
1421
|
claimable: boolean;
|
|
1421
1422
|
tags: string[];
|
|
1422
1423
|
subtitle?: string | undefined;
|
|
@@ -1430,36 +1431,36 @@ declare const serverModule: {
|
|
|
1430
1431
|
freeCouponClaimMode?: "DIRECT" | "REDIRECT" | undefined;
|
|
1431
1432
|
stockText?: string | undefined;
|
|
1432
1433
|
usageNoticeText?: string | undefined;
|
|
1434
|
+
guaranteeText?: string | undefined;
|
|
1433
1435
|
usageSceneText?: string | undefined;
|
|
1434
1436
|
usageTimeText?: string | undefined;
|
|
1435
1437
|
claimTimeText?: string | undefined;
|
|
1436
1438
|
usageRuleText?: string | undefined;
|
|
1437
|
-
|
|
1439
|
+
availabilityStatus?: "AVAILABLE" | "UNAVAILABLE" | "REQUIRES_ACTION" | "UNKNOWN" | undefined;
|
|
1438
1440
|
validityText?: string | undefined;
|
|
1439
1441
|
imageUrl?: string | undefined;
|
|
1440
|
-
availabilityStatus?: "AVAILABLE" | "UNKNOWN" | "UNAVAILABLE" | "REQUIRES_ACTION" | undefined;
|
|
1441
1442
|
itemActions?: ({
|
|
1442
1443
|
kind: "send";
|
|
1443
1444
|
label: string;
|
|
1444
1445
|
value?: string | undefined;
|
|
1445
1446
|
visibleValue?: string | undefined;
|
|
1446
1447
|
} | {
|
|
1447
|
-
url: string;
|
|
1448
1448
|
kind: "link";
|
|
1449
1449
|
label: string;
|
|
1450
|
+
url: string;
|
|
1450
1451
|
})[] | undefined;
|
|
1451
1452
|
}[];
|
|
1452
|
-
|
|
1453
|
-
noResultsReason?: string | undefined;
|
|
1454
|
-
nextCursor?: string | undefined;
|
|
1455
|
-
presentation?: "coupon" | "offer" | "promotion" | "recommendation" | undefined;
|
|
1453
|
+
presentation?: "coupon" | "promotion" | "recommendation" | "offer" | undefined;
|
|
1456
1454
|
summary?: string | undefined;
|
|
1455
|
+
noResultsReason?: string | undefined;
|
|
1457
1456
|
maxItems?: number | undefined;
|
|
1457
|
+
nextCursor?: string | undefined;
|
|
1458
1458
|
}, {
|
|
1459
|
+
mode: "claimable" | "search" | "recommend";
|
|
1459
1460
|
items: {
|
|
1461
|
+
offerRef: string;
|
|
1460
1462
|
title: string;
|
|
1461
1463
|
offerType: "COUPON" | "BUNDLE" | "PROMOTION" | "ACTIVITY" | "GROUPON";
|
|
1462
|
-
offerRef: string;
|
|
1463
1464
|
claimable: boolean;
|
|
1464
1465
|
tags: string[];
|
|
1465
1466
|
subtitle?: string | undefined;
|
|
@@ -1473,31 +1474,30 @@ declare const serverModule: {
|
|
|
1473
1474
|
freeCouponClaimMode?: "DIRECT" | "REDIRECT" | undefined;
|
|
1474
1475
|
stockText?: string | undefined;
|
|
1475
1476
|
usageNoticeText?: string | undefined;
|
|
1477
|
+
guaranteeText?: string | undefined;
|
|
1476
1478
|
usageSceneText?: string | undefined;
|
|
1477
1479
|
usageTimeText?: string | undefined;
|
|
1478
1480
|
claimTimeText?: string | undefined;
|
|
1479
1481
|
usageRuleText?: string | undefined;
|
|
1480
|
-
|
|
1482
|
+
availabilityStatus?: "AVAILABLE" | "UNAVAILABLE" | "REQUIRES_ACTION" | "UNKNOWN" | undefined;
|
|
1481
1483
|
validityText?: string | undefined;
|
|
1482
1484
|
imageUrl?: string | undefined;
|
|
1483
|
-
availabilityStatus?: "AVAILABLE" | "UNKNOWN" | "UNAVAILABLE" | "REQUIRES_ACTION" | undefined;
|
|
1484
1485
|
itemActions?: ({
|
|
1485
1486
|
kind: "send";
|
|
1486
1487
|
label: string;
|
|
1487
1488
|
value?: string | undefined;
|
|
1488
1489
|
visibleValue?: string | undefined;
|
|
1489
1490
|
} | {
|
|
1490
|
-
url: string;
|
|
1491
1491
|
kind: "link";
|
|
1492
1492
|
label: string;
|
|
1493
|
+
url: string;
|
|
1493
1494
|
})[] | undefined;
|
|
1494
1495
|
}[];
|
|
1495
|
-
|
|
1496
|
-
noResultsReason?: string | undefined;
|
|
1497
|
-
nextCursor?: string | undefined;
|
|
1498
|
-
presentation?: "coupon" | "offer" | "promotion" | "recommendation" | undefined;
|
|
1496
|
+
presentation?: "coupon" | "promotion" | "recommendation" | "offer" | undefined;
|
|
1499
1497
|
summary?: string | undefined;
|
|
1498
|
+
noResultsReason?: string | undefined;
|
|
1500
1499
|
maxItems?: number | undefined;
|
|
1500
|
+
nextCursor?: string | undefined;
|
|
1501
1501
|
}>>;
|
|
1502
1502
|
readonly 'promotion-offer-detail': _tbox_cn_app_contracts.CardMeta<zod.ZodObject<{
|
|
1503
1503
|
presentation: zod.ZodOptional<zod.ZodEnum<["offer", "promotion", "promotion-guide", "coupon", "package"]>>;
|
|
@@ -1545,14 +1545,14 @@ declare const serverModule: {
|
|
|
1545
1545
|
}, "strip", zod.ZodTypeAny, {
|
|
1546
1546
|
storeId: string;
|
|
1547
1547
|
storeName: string;
|
|
1548
|
-
businessName?: string | undefined;
|
|
1549
1548
|
address?: string | undefined;
|
|
1549
|
+
businessName?: string | undefined;
|
|
1550
1550
|
floor?: string | undefined;
|
|
1551
1551
|
}, {
|
|
1552
1552
|
storeId: string;
|
|
1553
1553
|
storeName: string;
|
|
1554
|
-
businessName?: string | undefined;
|
|
1555
1554
|
address?: string | undefined;
|
|
1555
|
+
businessName?: string | undefined;
|
|
1556
1556
|
floor?: string | undefined;
|
|
1557
1557
|
}>, "many">>;
|
|
1558
1558
|
bundleItems: zod.ZodOptional<zod.ZodArray<zod.ZodObject<{
|
|
@@ -1569,16 +1569,13 @@ declare const serverModule: {
|
|
|
1569
1569
|
unavailableReason: zod.ZodOptional<zod.ZodString>;
|
|
1570
1570
|
caveats: zod.ZodArray<zod.ZodString, "many">;
|
|
1571
1571
|
}, "strip", zod.ZodTypeAny, {
|
|
1572
|
+
offerRef: string;
|
|
1572
1573
|
title: string;
|
|
1573
1574
|
offerType: "COUPON" | "BUNDLE" | "PROMOTION" | "ACTIVITY" | "GROUPON";
|
|
1574
|
-
offerRef: string;
|
|
1575
|
-
caveats: string[];
|
|
1576
1575
|
claimable: boolean;
|
|
1576
|
+
caveats: string[];
|
|
1577
1577
|
rules: string[];
|
|
1578
|
-
description?: string | undefined;
|
|
1579
1578
|
subtitle?: string | undefined;
|
|
1580
|
-
notice?: string | undefined;
|
|
1581
|
-
presentation?: "coupon" | "offer" | "promotion" | "promotion-guide" | "package" | undefined;
|
|
1582
1579
|
benefitText?: string | undefined;
|
|
1583
1580
|
thresholdText?: string | undefined;
|
|
1584
1581
|
priceText?: string | undefined;
|
|
@@ -1588,19 +1585,27 @@ declare const serverModule: {
|
|
|
1588
1585
|
purchaseUrl?: string | undefined;
|
|
1589
1586
|
stockText?: string | undefined;
|
|
1590
1587
|
usageNoticeText?: string | undefined;
|
|
1588
|
+
guaranteeText?: string | undefined;
|
|
1591
1589
|
usageSceneText?: string | undefined;
|
|
1592
1590
|
usageTimeText?: string | undefined;
|
|
1593
1591
|
claimTimeText?: string | undefined;
|
|
1594
1592
|
usageRuleText?: string | undefined;
|
|
1595
|
-
guaranteeText?: string | undefined;
|
|
1596
1593
|
validityText?: string | undefined;
|
|
1597
1594
|
imageUrl?: string | undefined;
|
|
1595
|
+
description?: string | undefined;
|
|
1596
|
+
presentation?: "package" | "coupon" | "promotion" | "offer" | "promotion-guide" | undefined;
|
|
1597
|
+
steps?: {
|
|
1598
|
+
title: string;
|
|
1599
|
+
description?: string | undefined;
|
|
1600
|
+
}[] | undefined;
|
|
1601
|
+
notice?: string | undefined;
|
|
1598
1602
|
participationMode?: "UNKNOWN" | "AUTOMATIC_DISCOUNT" | "CLAIM_THEN_PURCHASE" | "REGISTER_THEN_ATTEND" | "GROUP_PURCHASE" | undefined;
|
|
1603
|
+
requirements?: string[] | undefined;
|
|
1599
1604
|
stores?: {
|
|
1600
1605
|
storeId: string;
|
|
1601
1606
|
storeName: string;
|
|
1602
|
-
businessName?: string | undefined;
|
|
1603
1607
|
address?: string | undefined;
|
|
1608
|
+
businessName?: string | undefined;
|
|
1604
1609
|
floor?: string | undefined;
|
|
1605
1610
|
}[] | undefined;
|
|
1606
1611
|
bundleItems?: {
|
|
@@ -1608,22 +1613,14 @@ declare const serverModule: {
|
|
|
1608
1613
|
quantity: number;
|
|
1609
1614
|
}[] | undefined;
|
|
1610
1615
|
unavailableReason?: string | undefined;
|
|
1611
|
-
steps?: {
|
|
1612
|
-
title: string;
|
|
1613
|
-
description?: string | undefined;
|
|
1614
|
-
}[] | undefined;
|
|
1615
|
-
requirements?: string[] | undefined;
|
|
1616
1616
|
}, {
|
|
1617
|
+
offerRef: string;
|
|
1617
1618
|
title: string;
|
|
1618
1619
|
offerType: "COUPON" | "BUNDLE" | "PROMOTION" | "ACTIVITY" | "GROUPON";
|
|
1619
|
-
offerRef: string;
|
|
1620
|
-
caveats: string[];
|
|
1621
1620
|
claimable: boolean;
|
|
1621
|
+
caveats: string[];
|
|
1622
1622
|
rules: string[];
|
|
1623
|
-
description?: string | undefined;
|
|
1624
1623
|
subtitle?: string | undefined;
|
|
1625
|
-
notice?: string | undefined;
|
|
1626
|
-
presentation?: "coupon" | "offer" | "promotion" | "promotion-guide" | "package" | undefined;
|
|
1627
1624
|
benefitText?: string | undefined;
|
|
1628
1625
|
thresholdText?: string | undefined;
|
|
1629
1626
|
priceText?: string | undefined;
|
|
@@ -1633,19 +1630,27 @@ declare const serverModule: {
|
|
|
1633
1630
|
purchaseUrl?: string | undefined;
|
|
1634
1631
|
stockText?: string | undefined;
|
|
1635
1632
|
usageNoticeText?: string | undefined;
|
|
1633
|
+
guaranteeText?: string | undefined;
|
|
1636
1634
|
usageSceneText?: string | undefined;
|
|
1637
1635
|
usageTimeText?: string | undefined;
|
|
1638
1636
|
claimTimeText?: string | undefined;
|
|
1639
1637
|
usageRuleText?: string | undefined;
|
|
1640
|
-
guaranteeText?: string | undefined;
|
|
1641
1638
|
validityText?: string | undefined;
|
|
1642
1639
|
imageUrl?: string | undefined;
|
|
1640
|
+
description?: string | undefined;
|
|
1641
|
+
presentation?: "package" | "coupon" | "promotion" | "offer" | "promotion-guide" | undefined;
|
|
1642
|
+
steps?: {
|
|
1643
|
+
title: string;
|
|
1644
|
+
description?: string | undefined;
|
|
1645
|
+
}[] | undefined;
|
|
1646
|
+
notice?: string | undefined;
|
|
1643
1647
|
participationMode?: "UNKNOWN" | "AUTOMATIC_DISCOUNT" | "CLAIM_THEN_PURCHASE" | "REGISTER_THEN_ATTEND" | "GROUP_PURCHASE" | undefined;
|
|
1648
|
+
requirements?: string[] | undefined;
|
|
1644
1649
|
stores?: {
|
|
1645
1650
|
storeId: string;
|
|
1646
1651
|
storeName: string;
|
|
1647
|
-
businessName?: string | undefined;
|
|
1648
1652
|
address?: string | undefined;
|
|
1653
|
+
businessName?: string | undefined;
|
|
1649
1654
|
floor?: string | undefined;
|
|
1650
1655
|
}[] | undefined;
|
|
1651
1656
|
bundleItems?: {
|
|
@@ -1653,11 +1658,6 @@ declare const serverModule: {
|
|
|
1653
1658
|
quantity: number;
|
|
1654
1659
|
}[] | undefined;
|
|
1655
1660
|
unavailableReason?: string | undefined;
|
|
1656
|
-
steps?: {
|
|
1657
|
-
title: string;
|
|
1658
|
-
description?: string | undefined;
|
|
1659
|
-
}[] | undefined;
|
|
1660
|
-
requirements?: string[] | undefined;
|
|
1661
1661
|
}>>;
|
|
1662
1662
|
readonly 'promotion-entitlement-list': _tbox_cn_app_contracts.CardMeta<zod.ZodObject<{
|
|
1663
1663
|
mallId: zod.ZodOptional<zod.ZodString>;
|
|
@@ -1702,13 +1702,13 @@ declare const serverModule: {
|
|
|
1702
1702
|
label: zod.ZodString;
|
|
1703
1703
|
url: zod.ZodString;
|
|
1704
1704
|
}, "strip", zod.ZodTypeAny, {
|
|
1705
|
-
url: string;
|
|
1706
1705
|
kind: "link";
|
|
1707
1706
|
label: string;
|
|
1708
|
-
}, {
|
|
1709
1707
|
url: string;
|
|
1708
|
+
}, {
|
|
1710
1709
|
kind: "link";
|
|
1711
1710
|
label: string;
|
|
1711
|
+
url: string;
|
|
1712
1712
|
}>]>, "many">>;
|
|
1713
1713
|
stores: zod.ZodOptional<zod.ZodArray<zod.ZodObject<{
|
|
1714
1714
|
storeId: zod.ZodString;
|
|
@@ -1723,194 +1723,194 @@ declare const serverModule: {
|
|
|
1723
1723
|
storeId: string;
|
|
1724
1724
|
storeName: string;
|
|
1725
1725
|
imageUrl?: string | undefined;
|
|
1726
|
-
businessName?: string | undefined;
|
|
1727
|
-
address?: string | undefined;
|
|
1728
|
-
floor?: string | undefined;
|
|
1729
1726
|
latitude?: number | undefined;
|
|
1730
1727
|
longitude?: number | undefined;
|
|
1728
|
+
address?: string | undefined;
|
|
1729
|
+
businessName?: string | undefined;
|
|
1730
|
+
floor?: string | undefined;
|
|
1731
1731
|
}, {
|
|
1732
1732
|
storeId: string;
|
|
1733
1733
|
storeName: string;
|
|
1734
1734
|
imageUrl?: string | undefined;
|
|
1735
|
-
businessName?: string | undefined;
|
|
1736
|
-
address?: string | undefined;
|
|
1737
|
-
floor?: string | undefined;
|
|
1738
1735
|
latitude?: number | undefined;
|
|
1739
1736
|
longitude?: number | undefined;
|
|
1737
|
+
address?: string | undefined;
|
|
1738
|
+
businessName?: string | undefined;
|
|
1739
|
+
floor?: string | undefined;
|
|
1740
1740
|
}>, "many">>;
|
|
1741
1741
|
}, "strip", zod.ZodTypeAny, {
|
|
1742
|
-
status: "UNKNOWN" | "
|
|
1742
|
+
status: "UNKNOWN" | "USED" | "EXPIRED" | "EFFECTIVE" | "INVALID";
|
|
1743
1743
|
title: string;
|
|
1744
1744
|
entitlementRef: string;
|
|
1745
1745
|
entitlementType: "COUPON" | "BUNDLE" | "PROMOTION" | "ACTIVITY" | "GROUPON";
|
|
1746
1746
|
code?: string | undefined;
|
|
1747
1747
|
benefitText?: string | undefined;
|
|
1748
1748
|
thresholdText?: string | undefined;
|
|
1749
|
+
guaranteeText?: string | undefined;
|
|
1749
1750
|
usageSceneText?: string | undefined;
|
|
1750
1751
|
usageTimeText?: string | undefined;
|
|
1751
1752
|
claimTimeText?: string | undefined;
|
|
1752
1753
|
usageRuleText?: string | undefined;
|
|
1753
|
-
guaranteeText?: string | undefined;
|
|
1754
1754
|
validityText?: string | undefined;
|
|
1755
1755
|
imageUrl?: string | undefined;
|
|
1756
|
+
itemActions?: ({
|
|
1757
|
+
kind: "send";
|
|
1758
|
+
label: string;
|
|
1759
|
+
value?: string | undefined;
|
|
1760
|
+
visibleValue?: string | undefined;
|
|
1761
|
+
} | {
|
|
1762
|
+
kind: "link";
|
|
1763
|
+
label: string;
|
|
1764
|
+
url: string;
|
|
1765
|
+
})[] | undefined;
|
|
1756
1766
|
stores?: {
|
|
1757
1767
|
storeId: string;
|
|
1758
1768
|
storeName: string;
|
|
1759
1769
|
imageUrl?: string | undefined;
|
|
1760
|
-
businessName?: string | undefined;
|
|
1761
|
-
address?: string | undefined;
|
|
1762
|
-
floor?: string | undefined;
|
|
1763
1770
|
latitude?: number | undefined;
|
|
1764
1771
|
longitude?: number | undefined;
|
|
1772
|
+
address?: string | undefined;
|
|
1773
|
+
businessName?: string | undefined;
|
|
1774
|
+
floor?: string | undefined;
|
|
1765
1775
|
}[] | undefined;
|
|
1766
1776
|
codeMasked?: string | undefined;
|
|
1767
1777
|
qrCodeEnabled?: boolean | undefined;
|
|
1768
1778
|
usageNotice?: string | undefined;
|
|
1769
1779
|
validUntilText?: string | undefined;
|
|
1770
|
-
itemActions?: ({
|
|
1771
|
-
kind: "send";
|
|
1772
|
-
label: string;
|
|
1773
|
-
value?: string | undefined;
|
|
1774
|
-
visibleValue?: string | undefined;
|
|
1775
|
-
} | {
|
|
1776
|
-
url: string;
|
|
1777
|
-
kind: "link";
|
|
1778
|
-
label: string;
|
|
1779
|
-
})[] | undefined;
|
|
1780
1780
|
}, {
|
|
1781
|
-
status: "UNKNOWN" | "
|
|
1781
|
+
status: "UNKNOWN" | "USED" | "EXPIRED" | "EFFECTIVE" | "INVALID";
|
|
1782
1782
|
title: string;
|
|
1783
1783
|
entitlementRef: string;
|
|
1784
1784
|
entitlementType: "COUPON" | "BUNDLE" | "PROMOTION" | "ACTIVITY" | "GROUPON";
|
|
1785
1785
|
code?: string | undefined;
|
|
1786
1786
|
benefitText?: string | undefined;
|
|
1787
1787
|
thresholdText?: string | undefined;
|
|
1788
|
+
guaranteeText?: string | undefined;
|
|
1788
1789
|
usageSceneText?: string | undefined;
|
|
1789
1790
|
usageTimeText?: string | undefined;
|
|
1790
1791
|
claimTimeText?: string | undefined;
|
|
1791
1792
|
usageRuleText?: string | undefined;
|
|
1792
|
-
guaranteeText?: string | undefined;
|
|
1793
1793
|
validityText?: string | undefined;
|
|
1794
1794
|
imageUrl?: string | undefined;
|
|
1795
|
+
itemActions?: ({
|
|
1796
|
+
kind: "send";
|
|
1797
|
+
label: string;
|
|
1798
|
+
value?: string | undefined;
|
|
1799
|
+
visibleValue?: string | undefined;
|
|
1800
|
+
} | {
|
|
1801
|
+
kind: "link";
|
|
1802
|
+
label: string;
|
|
1803
|
+
url: string;
|
|
1804
|
+
})[] | undefined;
|
|
1795
1805
|
stores?: {
|
|
1796
1806
|
storeId: string;
|
|
1797
1807
|
storeName: string;
|
|
1798
1808
|
imageUrl?: string | undefined;
|
|
1799
|
-
businessName?: string | undefined;
|
|
1800
|
-
address?: string | undefined;
|
|
1801
|
-
floor?: string | undefined;
|
|
1802
1809
|
latitude?: number | undefined;
|
|
1803
1810
|
longitude?: number | undefined;
|
|
1811
|
+
address?: string | undefined;
|
|
1812
|
+
businessName?: string | undefined;
|
|
1813
|
+
floor?: string | undefined;
|
|
1804
1814
|
}[] | undefined;
|
|
1805
1815
|
codeMasked?: string | undefined;
|
|
1806
1816
|
qrCodeEnabled?: boolean | undefined;
|
|
1807
1817
|
usageNotice?: string | undefined;
|
|
1808
1818
|
validUntilText?: string | undefined;
|
|
1809
|
-
itemActions?: ({
|
|
1810
|
-
kind: "send";
|
|
1811
|
-
label: string;
|
|
1812
|
-
value?: string | undefined;
|
|
1813
|
-
visibleValue?: string | undefined;
|
|
1814
|
-
} | {
|
|
1815
|
-
url: string;
|
|
1816
|
-
kind: "link";
|
|
1817
|
-
label: string;
|
|
1818
|
-
})[] | undefined;
|
|
1819
1819
|
}>, "many">;
|
|
1820
1820
|
noResultsReason: zod.ZodOptional<zod.ZodString>;
|
|
1821
1821
|
nextCursor: zod.ZodOptional<zod.ZodString>;
|
|
1822
1822
|
}, "strip", zod.ZodTypeAny, {
|
|
1823
1823
|
items: {
|
|
1824
|
-
status: "UNKNOWN" | "
|
|
1824
|
+
status: "UNKNOWN" | "USED" | "EXPIRED" | "EFFECTIVE" | "INVALID";
|
|
1825
1825
|
title: string;
|
|
1826
1826
|
entitlementRef: string;
|
|
1827
1827
|
entitlementType: "COUPON" | "BUNDLE" | "PROMOTION" | "ACTIVITY" | "GROUPON";
|
|
1828
1828
|
code?: string | undefined;
|
|
1829
1829
|
benefitText?: string | undefined;
|
|
1830
1830
|
thresholdText?: string | undefined;
|
|
1831
|
+
guaranteeText?: string | undefined;
|
|
1831
1832
|
usageSceneText?: string | undefined;
|
|
1832
1833
|
usageTimeText?: string | undefined;
|
|
1833
1834
|
claimTimeText?: string | undefined;
|
|
1834
1835
|
usageRuleText?: string | undefined;
|
|
1835
|
-
guaranteeText?: string | undefined;
|
|
1836
1836
|
validityText?: string | undefined;
|
|
1837
1837
|
imageUrl?: string | undefined;
|
|
1838
|
+
itemActions?: ({
|
|
1839
|
+
kind: "send";
|
|
1840
|
+
label: string;
|
|
1841
|
+
value?: string | undefined;
|
|
1842
|
+
visibleValue?: string | undefined;
|
|
1843
|
+
} | {
|
|
1844
|
+
kind: "link";
|
|
1845
|
+
label: string;
|
|
1846
|
+
url: string;
|
|
1847
|
+
})[] | undefined;
|
|
1838
1848
|
stores?: {
|
|
1839
1849
|
storeId: string;
|
|
1840
1850
|
storeName: string;
|
|
1841
1851
|
imageUrl?: string | undefined;
|
|
1842
|
-
businessName?: string | undefined;
|
|
1843
|
-
address?: string | undefined;
|
|
1844
|
-
floor?: string | undefined;
|
|
1845
1852
|
latitude?: number | undefined;
|
|
1846
1853
|
longitude?: number | undefined;
|
|
1854
|
+
address?: string | undefined;
|
|
1855
|
+
businessName?: string | undefined;
|
|
1856
|
+
floor?: string | undefined;
|
|
1847
1857
|
}[] | undefined;
|
|
1848
1858
|
codeMasked?: string | undefined;
|
|
1849
1859
|
qrCodeEnabled?: boolean | undefined;
|
|
1850
1860
|
usageNotice?: string | undefined;
|
|
1851
1861
|
validUntilText?: string | undefined;
|
|
1852
|
-
itemActions?: ({
|
|
1853
|
-
kind: "send";
|
|
1854
|
-
label: string;
|
|
1855
|
-
value?: string | undefined;
|
|
1856
|
-
visibleValue?: string | undefined;
|
|
1857
|
-
} | {
|
|
1858
|
-
url: string;
|
|
1859
|
-
kind: "link";
|
|
1860
|
-
label: string;
|
|
1861
|
-
})[] | undefined;
|
|
1862
1862
|
}[];
|
|
1863
|
-
noResultsReason?: string | undefined;
|
|
1864
|
-
nextCursor?: string | undefined;
|
|
1865
1863
|
mallId?: string | undefined;
|
|
1866
1864
|
miniAppId?: string | undefined;
|
|
1865
|
+
noResultsReason?: string | undefined;
|
|
1867
1866
|
maxItems?: number | undefined;
|
|
1867
|
+
nextCursor?: string | undefined;
|
|
1868
1868
|
}, {
|
|
1869
1869
|
items: {
|
|
1870
|
-
status: "UNKNOWN" | "
|
|
1870
|
+
status: "UNKNOWN" | "USED" | "EXPIRED" | "EFFECTIVE" | "INVALID";
|
|
1871
1871
|
title: string;
|
|
1872
1872
|
entitlementRef: string;
|
|
1873
1873
|
entitlementType: "COUPON" | "BUNDLE" | "PROMOTION" | "ACTIVITY" | "GROUPON";
|
|
1874
1874
|
code?: string | undefined;
|
|
1875
1875
|
benefitText?: string | undefined;
|
|
1876
1876
|
thresholdText?: string | undefined;
|
|
1877
|
+
guaranteeText?: string | undefined;
|
|
1877
1878
|
usageSceneText?: string | undefined;
|
|
1878
1879
|
usageTimeText?: string | undefined;
|
|
1879
1880
|
claimTimeText?: string | undefined;
|
|
1880
1881
|
usageRuleText?: string | undefined;
|
|
1881
|
-
guaranteeText?: string | undefined;
|
|
1882
1882
|
validityText?: string | undefined;
|
|
1883
1883
|
imageUrl?: string | undefined;
|
|
1884
|
+
itemActions?: ({
|
|
1885
|
+
kind: "send";
|
|
1886
|
+
label: string;
|
|
1887
|
+
value?: string | undefined;
|
|
1888
|
+
visibleValue?: string | undefined;
|
|
1889
|
+
} | {
|
|
1890
|
+
kind: "link";
|
|
1891
|
+
label: string;
|
|
1892
|
+
url: string;
|
|
1893
|
+
})[] | undefined;
|
|
1884
1894
|
stores?: {
|
|
1885
1895
|
storeId: string;
|
|
1886
1896
|
storeName: string;
|
|
1887
1897
|
imageUrl?: string | undefined;
|
|
1888
|
-
businessName?: string | undefined;
|
|
1889
|
-
address?: string | undefined;
|
|
1890
|
-
floor?: string | undefined;
|
|
1891
1898
|
latitude?: number | undefined;
|
|
1892
1899
|
longitude?: number | undefined;
|
|
1900
|
+
address?: string | undefined;
|
|
1901
|
+
businessName?: string | undefined;
|
|
1902
|
+
floor?: string | undefined;
|
|
1893
1903
|
}[] | undefined;
|
|
1894
1904
|
codeMasked?: string | undefined;
|
|
1895
1905
|
qrCodeEnabled?: boolean | undefined;
|
|
1896
1906
|
usageNotice?: string | undefined;
|
|
1897
1907
|
validUntilText?: string | undefined;
|
|
1898
|
-
itemActions?: ({
|
|
1899
|
-
kind: "send";
|
|
1900
|
-
label: string;
|
|
1901
|
-
value?: string | undefined;
|
|
1902
|
-
visibleValue?: string | undefined;
|
|
1903
|
-
} | {
|
|
1904
|
-
url: string;
|
|
1905
|
-
kind: "link";
|
|
1906
|
-
label: string;
|
|
1907
|
-
})[] | undefined;
|
|
1908
1908
|
}[];
|
|
1909
|
-
noResultsReason?: string | undefined;
|
|
1910
|
-
nextCursor?: string | undefined;
|
|
1911
1909
|
mallId?: string | undefined;
|
|
1912
1910
|
miniAppId?: string | undefined;
|
|
1911
|
+
noResultsReason?: string | undefined;
|
|
1913
1912
|
maxItems?: number | undefined;
|
|
1913
|
+
nextCursor?: string | undefined;
|
|
1914
1914
|
}>>;
|
|
1915
1915
|
readonly 'promotion-activity-list': _tbox_cn_app_contracts.CardMeta<zod.ZodObject<{
|
|
1916
1916
|
items: zod.ZodArray<zod.ZodObject<{
|
|
@@ -1945,110 +1945,110 @@ declare const serverModule: {
|
|
|
1945
1945
|
label: zod.ZodString;
|
|
1946
1946
|
url: zod.ZodString;
|
|
1947
1947
|
}, "strip", zod.ZodTypeAny, {
|
|
1948
|
-
url: string;
|
|
1949
1948
|
kind: "link";
|
|
1950
1949
|
label: string;
|
|
1951
|
-
}, {
|
|
1952
1950
|
url: string;
|
|
1951
|
+
}, {
|
|
1953
1952
|
kind: "link";
|
|
1954
1953
|
label: string;
|
|
1954
|
+
url: string;
|
|
1955
1955
|
}>]>, "many">>;
|
|
1956
1956
|
}, "strip", zod.ZodTypeAny, {
|
|
1957
|
-
registrationRequired: boolean;
|
|
1958
|
-
activityRef: string;
|
|
1959
1957
|
title: string;
|
|
1958
|
+
activityRef: string;
|
|
1959
|
+
registrationRequired: boolean;
|
|
1960
1960
|
subtitle?: string | undefined;
|
|
1961
|
-
|
|
1962
|
-
jumpOnly?: boolean | undefined;
|
|
1963
|
-
jumpLabel?: string | undefined;
|
|
1964
|
-
categoryName?: string | undefined;
|
|
1965
|
-
remainingQuota?: number | undefined;
|
|
1966
|
-
periodText?: string | undefined;
|
|
1967
|
-
availabilityStatus?: "FULL" | "ENDED" | "UPCOMING" | "AVAILABLE" | "UNKNOWN" | undefined;
|
|
1961
|
+
availabilityStatus?: "AVAILABLE" | "UNKNOWN" | "FULL" | "ENDED" | "UPCOMING" | undefined;
|
|
1968
1962
|
itemActions?: ({
|
|
1969
1963
|
kind: "send";
|
|
1970
1964
|
label: string;
|
|
1971
1965
|
value?: string | undefined;
|
|
1972
1966
|
visibleValue?: string | undefined;
|
|
1973
1967
|
} | {
|
|
1974
|
-
url: string;
|
|
1975
1968
|
kind: "link";
|
|
1976
1969
|
label: string;
|
|
1970
|
+
url: string;
|
|
1977
1971
|
})[] | undefined;
|
|
1978
|
-
}, {
|
|
1979
|
-
registrationRequired: boolean;
|
|
1980
|
-
activityRef: string;
|
|
1981
|
-
title: string;
|
|
1982
|
-
subtitle?: string | undefined;
|
|
1983
1972
|
coverUrl?: string | undefined;
|
|
1984
1973
|
jumpOnly?: boolean | undefined;
|
|
1985
1974
|
jumpLabel?: string | undefined;
|
|
1986
|
-
categoryName?: string | undefined;
|
|
1987
1975
|
remainingQuota?: number | undefined;
|
|
1988
1976
|
periodText?: string | undefined;
|
|
1989
|
-
|
|
1977
|
+
categoryName?: string | undefined;
|
|
1978
|
+
}, {
|
|
1979
|
+
title: string;
|
|
1980
|
+
activityRef: string;
|
|
1981
|
+
registrationRequired: boolean;
|
|
1982
|
+
subtitle?: string | undefined;
|
|
1983
|
+
availabilityStatus?: "AVAILABLE" | "UNKNOWN" | "FULL" | "ENDED" | "UPCOMING" | undefined;
|
|
1990
1984
|
itemActions?: ({
|
|
1991
1985
|
kind: "send";
|
|
1992
1986
|
label: string;
|
|
1993
1987
|
value?: string | undefined;
|
|
1994
1988
|
visibleValue?: string | undefined;
|
|
1995
1989
|
} | {
|
|
1996
|
-
url: string;
|
|
1997
1990
|
kind: "link";
|
|
1998
1991
|
label: string;
|
|
1992
|
+
url: string;
|
|
1999
1993
|
})[] | undefined;
|
|
1994
|
+
coverUrl?: string | undefined;
|
|
1995
|
+
jumpOnly?: boolean | undefined;
|
|
1996
|
+
jumpLabel?: string | undefined;
|
|
1997
|
+
remainingQuota?: number | undefined;
|
|
1998
|
+
periodText?: string | undefined;
|
|
1999
|
+
categoryName?: string | undefined;
|
|
2000
2000
|
}>, "many">;
|
|
2001
2001
|
noResultsReason: zod.ZodOptional<zod.ZodString>;
|
|
2002
2002
|
nextCursor: zod.ZodOptional<zod.ZodString>;
|
|
2003
2003
|
}, "strip", zod.ZodTypeAny, {
|
|
2004
2004
|
items: {
|
|
2005
|
-
registrationRequired: boolean;
|
|
2006
|
-
activityRef: string;
|
|
2007
2005
|
title: string;
|
|
2006
|
+
activityRef: string;
|
|
2007
|
+
registrationRequired: boolean;
|
|
2008
2008
|
subtitle?: string | undefined;
|
|
2009
|
-
|
|
2010
|
-
jumpOnly?: boolean | undefined;
|
|
2011
|
-
jumpLabel?: string | undefined;
|
|
2012
|
-
categoryName?: string | undefined;
|
|
2013
|
-
remainingQuota?: number | undefined;
|
|
2014
|
-
periodText?: string | undefined;
|
|
2015
|
-
availabilityStatus?: "FULL" | "ENDED" | "UPCOMING" | "AVAILABLE" | "UNKNOWN" | undefined;
|
|
2009
|
+
availabilityStatus?: "AVAILABLE" | "UNKNOWN" | "FULL" | "ENDED" | "UPCOMING" | undefined;
|
|
2016
2010
|
itemActions?: ({
|
|
2017
2011
|
kind: "send";
|
|
2018
2012
|
label: string;
|
|
2019
2013
|
value?: string | undefined;
|
|
2020
2014
|
visibleValue?: string | undefined;
|
|
2021
2015
|
} | {
|
|
2022
|
-
url: string;
|
|
2023
2016
|
kind: "link";
|
|
2024
2017
|
label: string;
|
|
2018
|
+
url: string;
|
|
2025
2019
|
})[] | undefined;
|
|
2020
|
+
coverUrl?: string | undefined;
|
|
2021
|
+
jumpOnly?: boolean | undefined;
|
|
2022
|
+
jumpLabel?: string | undefined;
|
|
2023
|
+
remainingQuota?: number | undefined;
|
|
2024
|
+
periodText?: string | undefined;
|
|
2025
|
+
categoryName?: string | undefined;
|
|
2026
2026
|
}[];
|
|
2027
2027
|
noResultsReason?: string | undefined;
|
|
2028
2028
|
nextCursor?: string | undefined;
|
|
2029
2029
|
}, {
|
|
2030
2030
|
items: {
|
|
2031
|
-
registrationRequired: boolean;
|
|
2032
|
-
activityRef: string;
|
|
2033
2031
|
title: string;
|
|
2032
|
+
activityRef: string;
|
|
2033
|
+
registrationRequired: boolean;
|
|
2034
2034
|
subtitle?: string | undefined;
|
|
2035
|
-
|
|
2036
|
-
jumpOnly?: boolean | undefined;
|
|
2037
|
-
jumpLabel?: string | undefined;
|
|
2038
|
-
categoryName?: string | undefined;
|
|
2039
|
-
remainingQuota?: number | undefined;
|
|
2040
|
-
periodText?: string | undefined;
|
|
2041
|
-
availabilityStatus?: "FULL" | "ENDED" | "UPCOMING" | "AVAILABLE" | "UNKNOWN" | undefined;
|
|
2035
|
+
availabilityStatus?: "AVAILABLE" | "UNKNOWN" | "FULL" | "ENDED" | "UPCOMING" | undefined;
|
|
2042
2036
|
itemActions?: ({
|
|
2043
2037
|
kind: "send";
|
|
2044
2038
|
label: string;
|
|
2045
2039
|
value?: string | undefined;
|
|
2046
2040
|
visibleValue?: string | undefined;
|
|
2047
2041
|
} | {
|
|
2048
|
-
url: string;
|
|
2049
2042
|
kind: "link";
|
|
2050
2043
|
label: string;
|
|
2044
|
+
url: string;
|
|
2051
2045
|
})[] | undefined;
|
|
2046
|
+
coverUrl?: string | undefined;
|
|
2047
|
+
jumpOnly?: boolean | undefined;
|
|
2048
|
+
jumpLabel?: string | undefined;
|
|
2049
|
+
remainingQuota?: number | undefined;
|
|
2050
|
+
periodText?: string | undefined;
|
|
2051
|
+
categoryName?: string | undefined;
|
|
2052
2052
|
}[];
|
|
2053
2053
|
noResultsReason?: string | undefined;
|
|
2054
2054
|
nextCursor?: string | undefined;
|
|
@@ -2077,21 +2077,21 @@ declare const serverModule: {
|
|
|
2077
2077
|
remainingQuota: zod.ZodOptional<zod.ZodNumber>;
|
|
2078
2078
|
status: zod.ZodEnum<["OPEN", "FULL", "CLOSED", "UNKNOWN"]>;
|
|
2079
2079
|
}, "strip", zod.ZodTypeAny, {
|
|
2080
|
-
status: "
|
|
2080
|
+
status: "UNKNOWN" | "CLOSED" | "OPEN" | "FULL";
|
|
2081
2081
|
title: string;
|
|
2082
2082
|
sessionRef: string;
|
|
2083
2083
|
startText: string;
|
|
2084
|
+
location?: string | undefined;
|
|
2084
2085
|
remainingQuota?: number | undefined;
|
|
2085
2086
|
endText?: string | undefined;
|
|
2086
|
-
location?: string | undefined;
|
|
2087
2087
|
}, {
|
|
2088
|
-
status: "
|
|
2088
|
+
status: "UNKNOWN" | "CLOSED" | "OPEN" | "FULL";
|
|
2089
2089
|
title: string;
|
|
2090
2090
|
sessionRef: string;
|
|
2091
2091
|
startText: string;
|
|
2092
|
+
location?: string | undefined;
|
|
2092
2093
|
remainingQuota?: number | undefined;
|
|
2093
2094
|
endText?: string | undefined;
|
|
2094
|
-
location?: string | undefined;
|
|
2095
2095
|
}>, "many">;
|
|
2096
2096
|
guideSteps: zod.ZodArray<zod.ZodString, "many">;
|
|
2097
2097
|
guideItems: zod.ZodOptional<zod.ZodArray<zod.ZodObject<{
|
|
@@ -2107,67 +2107,67 @@ declare const serverModule: {
|
|
|
2107
2107
|
conditions: zod.ZodArray<zod.ZodString, "many">;
|
|
2108
2108
|
notice: zod.ZodOptional<zod.ZodString>;
|
|
2109
2109
|
}, "strip", zod.ZodTypeAny, {
|
|
2110
|
-
registrationRequired: boolean;
|
|
2111
|
-
activityRef: string;
|
|
2112
2110
|
title: string;
|
|
2111
|
+
activityRef: string;
|
|
2112
|
+
registrationRequired: boolean;
|
|
2113
2113
|
sessions: {
|
|
2114
|
-
status: "
|
|
2114
|
+
status: "UNKNOWN" | "CLOSED" | "OPEN" | "FULL";
|
|
2115
2115
|
title: string;
|
|
2116
2116
|
sessionRef: string;
|
|
2117
2117
|
startText: string;
|
|
2118
|
+
location?: string | undefined;
|
|
2118
2119
|
remainingQuota?: number | undefined;
|
|
2119
2120
|
endText?: string | undefined;
|
|
2120
|
-
location?: string | undefined;
|
|
2121
2121
|
}[];
|
|
2122
2122
|
guideSteps: string[];
|
|
2123
2123
|
conditions: string[];
|
|
2124
|
-
description?: string | undefined;
|
|
2125
2124
|
subtitle?: string | undefined;
|
|
2125
|
+
description?: string | undefined;
|
|
2126
|
+
presentation?: "detail" | "schedule" | "guide" | undefined;
|
|
2127
|
+
notice?: string | undefined;
|
|
2128
|
+
location?: string | undefined;
|
|
2126
2129
|
coverUrl?: string | undefined;
|
|
2127
2130
|
jumpOnly?: boolean | undefined;
|
|
2128
2131
|
jumpLabel?: string | undefined;
|
|
2129
|
-
categoryName?: string | undefined;
|
|
2130
2132
|
remainingQuota?: number | undefined;
|
|
2131
|
-
registrationUrl?: string | undefined;
|
|
2132
2133
|
periodText?: string | undefined;
|
|
2133
|
-
|
|
2134
|
-
|
|
2134
|
+
categoryName?: string | undefined;
|
|
2135
|
+
registrationUrl?: string | undefined;
|
|
2135
2136
|
guideItems?: {
|
|
2136
2137
|
title: string;
|
|
2137
2138
|
description?: string | undefined;
|
|
2138
2139
|
}[] | undefined;
|
|
2139
|
-
presentation?: "detail" | "schedule" | "guide" | undefined;
|
|
2140
2140
|
}, {
|
|
2141
|
-
registrationRequired: boolean;
|
|
2142
|
-
activityRef: string;
|
|
2143
2141
|
title: string;
|
|
2142
|
+
activityRef: string;
|
|
2143
|
+
registrationRequired: boolean;
|
|
2144
2144
|
sessions: {
|
|
2145
|
-
status: "
|
|
2145
|
+
status: "UNKNOWN" | "CLOSED" | "OPEN" | "FULL";
|
|
2146
2146
|
title: string;
|
|
2147
2147
|
sessionRef: string;
|
|
2148
2148
|
startText: string;
|
|
2149
|
+
location?: string | undefined;
|
|
2149
2150
|
remainingQuota?: number | undefined;
|
|
2150
2151
|
endText?: string | undefined;
|
|
2151
|
-
location?: string | undefined;
|
|
2152
2152
|
}[];
|
|
2153
2153
|
guideSteps: string[];
|
|
2154
2154
|
conditions: string[];
|
|
2155
|
-
description?: string | undefined;
|
|
2156
2155
|
subtitle?: string | undefined;
|
|
2156
|
+
description?: string | undefined;
|
|
2157
|
+
presentation?: "detail" | "schedule" | "guide" | undefined;
|
|
2158
|
+
notice?: string | undefined;
|
|
2159
|
+
location?: string | undefined;
|
|
2157
2160
|
coverUrl?: string | undefined;
|
|
2158
2161
|
jumpOnly?: boolean | undefined;
|
|
2159
2162
|
jumpLabel?: string | undefined;
|
|
2160
|
-
categoryName?: string | undefined;
|
|
2161
2163
|
remainingQuota?: number | undefined;
|
|
2162
|
-
registrationUrl?: string | undefined;
|
|
2163
2164
|
periodText?: string | undefined;
|
|
2164
|
-
|
|
2165
|
-
|
|
2165
|
+
categoryName?: string | undefined;
|
|
2166
|
+
registrationUrl?: string | undefined;
|
|
2166
2167
|
guideItems?: {
|
|
2167
2168
|
title: string;
|
|
2168
2169
|
description?: string | undefined;
|
|
2169
2170
|
}[] | undefined;
|
|
2170
|
-
presentation?: "detail" | "schedule" | "guide" | undefined;
|
|
2171
2171
|
}>>;
|
|
2172
2172
|
readonly 'promotion-activity-category-list': _tbox_cn_app_contracts.CardMeta<zod.ZodObject<{
|
|
2173
2173
|
items: zod.ZodArray<zod.ZodObject<{
|
|
@@ -2194,74 +2194,74 @@ declare const serverModule: {
|
|
|
2194
2194
|
label: zod.ZodString;
|
|
2195
2195
|
url: zod.ZodString;
|
|
2196
2196
|
}, "strip", zod.ZodTypeAny, {
|
|
2197
|
-
url: string;
|
|
2198
2197
|
kind: "link";
|
|
2199
2198
|
label: string;
|
|
2200
|
-
}, {
|
|
2201
2199
|
url: string;
|
|
2200
|
+
}, {
|
|
2202
2201
|
kind: "link";
|
|
2203
2202
|
label: string;
|
|
2203
|
+
url: string;
|
|
2204
2204
|
}>]>, "many">>;
|
|
2205
2205
|
}, "strip", zod.ZodTypeAny, {
|
|
2206
|
-
categoryId: string;
|
|
2207
2206
|
name: string;
|
|
2207
|
+
categoryId: string;
|
|
2208
2208
|
itemActions?: ({
|
|
2209
2209
|
kind: "send";
|
|
2210
2210
|
label: string;
|
|
2211
2211
|
value?: string | undefined;
|
|
2212
2212
|
visibleValue?: string | undefined;
|
|
2213
2213
|
} | {
|
|
2214
|
-
url: string;
|
|
2215
2214
|
kind: "link";
|
|
2216
2215
|
label: string;
|
|
2216
|
+
url: string;
|
|
2217
2217
|
})[] | undefined;
|
|
2218
2218
|
parentId?: string | undefined;
|
|
2219
2219
|
}, {
|
|
2220
|
-
categoryId: string;
|
|
2221
2220
|
name: string;
|
|
2221
|
+
categoryId: string;
|
|
2222
2222
|
itemActions?: ({
|
|
2223
2223
|
kind: "send";
|
|
2224
2224
|
label: string;
|
|
2225
2225
|
value?: string | undefined;
|
|
2226
2226
|
visibleValue?: string | undefined;
|
|
2227
2227
|
} | {
|
|
2228
|
-
url: string;
|
|
2229
2228
|
kind: "link";
|
|
2230
2229
|
label: string;
|
|
2230
|
+
url: string;
|
|
2231
2231
|
})[] | undefined;
|
|
2232
2232
|
parentId?: string | undefined;
|
|
2233
2233
|
}>, "many">;
|
|
2234
2234
|
noResultsReason: zod.ZodOptional<zod.ZodString>;
|
|
2235
2235
|
}, "strip", zod.ZodTypeAny, {
|
|
2236
2236
|
items: {
|
|
2237
|
-
categoryId: string;
|
|
2238
2237
|
name: string;
|
|
2238
|
+
categoryId: string;
|
|
2239
2239
|
itemActions?: ({
|
|
2240
2240
|
kind: "send";
|
|
2241
2241
|
label: string;
|
|
2242
2242
|
value?: string | undefined;
|
|
2243
2243
|
visibleValue?: string | undefined;
|
|
2244
2244
|
} | {
|
|
2245
|
-
url: string;
|
|
2246
2245
|
kind: "link";
|
|
2247
2246
|
label: string;
|
|
2247
|
+
url: string;
|
|
2248
2248
|
})[] | undefined;
|
|
2249
2249
|
parentId?: string | undefined;
|
|
2250
2250
|
}[];
|
|
2251
2251
|
noResultsReason?: string | undefined;
|
|
2252
2252
|
}, {
|
|
2253
2253
|
items: {
|
|
2254
|
-
categoryId: string;
|
|
2255
2254
|
name: string;
|
|
2255
|
+
categoryId: string;
|
|
2256
2256
|
itemActions?: ({
|
|
2257
2257
|
kind: "send";
|
|
2258
2258
|
label: string;
|
|
2259
2259
|
value?: string | undefined;
|
|
2260
2260
|
visibleValue?: string | undefined;
|
|
2261
2261
|
} | {
|
|
2262
|
-
url: string;
|
|
2263
2262
|
kind: "link";
|
|
2264
2263
|
label: string;
|
|
2264
|
+
url: string;
|
|
2265
2265
|
})[] | undefined;
|
|
2266
2266
|
parentId?: string | undefined;
|
|
2267
2267
|
}[];
|
|
@@ -2317,19 +2317,19 @@ declare const serverModule: {
|
|
|
2317
2317
|
label: zod.ZodString;
|
|
2318
2318
|
url: zod.ZodString;
|
|
2319
2319
|
}, "strip", zod.ZodTypeAny, {
|
|
2320
|
-
url: string;
|
|
2321
2320
|
kind: "link";
|
|
2322
2321
|
label: string;
|
|
2323
|
-
}, {
|
|
2324
2322
|
url: string;
|
|
2323
|
+
}, {
|
|
2325
2324
|
kind: "link";
|
|
2326
2325
|
label: string;
|
|
2326
|
+
url: string;
|
|
2327
2327
|
}>]>, "many">>;
|
|
2328
2328
|
tags: zod.ZodArray<zod.ZodString, "many">;
|
|
2329
2329
|
}, "strip", zod.ZodTypeAny, {
|
|
2330
|
+
offerRef: string;
|
|
2330
2331
|
title: string;
|
|
2331
2332
|
offerType: "COUPON" | "BUNDLE" | "PROMOTION" | "ACTIVITY" | "GROUPON";
|
|
2332
|
-
offerRef: string;
|
|
2333
2333
|
claimable: boolean;
|
|
2334
2334
|
tags: string[];
|
|
2335
2335
|
subtitle?: string | undefined;
|
|
@@ -2343,28 +2343,28 @@ declare const serverModule: {
|
|
|
2343
2343
|
freeCouponClaimMode?: "DIRECT" | "REDIRECT" | undefined;
|
|
2344
2344
|
stockText?: string | undefined;
|
|
2345
2345
|
usageNoticeText?: string | undefined;
|
|
2346
|
+
guaranteeText?: string | undefined;
|
|
2346
2347
|
usageSceneText?: string | undefined;
|
|
2347
2348
|
usageTimeText?: string | undefined;
|
|
2348
2349
|
claimTimeText?: string | undefined;
|
|
2349
2350
|
usageRuleText?: string | undefined;
|
|
2350
|
-
|
|
2351
|
+
availabilityStatus?: "AVAILABLE" | "UNAVAILABLE" | "REQUIRES_ACTION" | "UNKNOWN" | undefined;
|
|
2351
2352
|
validityText?: string | undefined;
|
|
2352
2353
|
imageUrl?: string | undefined;
|
|
2353
|
-
availabilityStatus?: "AVAILABLE" | "UNKNOWN" | "UNAVAILABLE" | "REQUIRES_ACTION" | undefined;
|
|
2354
2354
|
itemActions?: ({
|
|
2355
2355
|
kind: "send";
|
|
2356
2356
|
label: string;
|
|
2357
2357
|
value?: string | undefined;
|
|
2358
2358
|
visibleValue?: string | undefined;
|
|
2359
2359
|
} | {
|
|
2360
|
-
url: string;
|
|
2361
2360
|
kind: "link";
|
|
2362
2361
|
label: string;
|
|
2362
|
+
url: string;
|
|
2363
2363
|
})[] | undefined;
|
|
2364
2364
|
}, {
|
|
2365
|
+
offerRef: string;
|
|
2365
2366
|
title: string;
|
|
2366
2367
|
offerType: "COUPON" | "BUNDLE" | "PROMOTION" | "ACTIVITY" | "GROUPON";
|
|
2367
|
-
offerRef: string;
|
|
2368
2368
|
claimable: boolean;
|
|
2369
2369
|
tags: string[];
|
|
2370
2370
|
subtitle?: string | undefined;
|
|
@@ -2378,37 +2378,37 @@ declare const serverModule: {
|
|
|
2378
2378
|
freeCouponClaimMode?: "DIRECT" | "REDIRECT" | undefined;
|
|
2379
2379
|
stockText?: string | undefined;
|
|
2380
2380
|
usageNoticeText?: string | undefined;
|
|
2381
|
+
guaranteeText?: string | undefined;
|
|
2381
2382
|
usageSceneText?: string | undefined;
|
|
2382
2383
|
usageTimeText?: string | undefined;
|
|
2383
2384
|
claimTimeText?: string | undefined;
|
|
2384
2385
|
usageRuleText?: string | undefined;
|
|
2385
|
-
|
|
2386
|
+
availabilityStatus?: "AVAILABLE" | "UNAVAILABLE" | "REQUIRES_ACTION" | "UNKNOWN" | undefined;
|
|
2386
2387
|
validityText?: string | undefined;
|
|
2387
2388
|
imageUrl?: string | undefined;
|
|
2388
|
-
availabilityStatus?: "AVAILABLE" | "UNKNOWN" | "UNAVAILABLE" | "REQUIRES_ACTION" | undefined;
|
|
2389
2389
|
itemActions?: ({
|
|
2390
2390
|
kind: "send";
|
|
2391
2391
|
label: string;
|
|
2392
2392
|
value?: string | undefined;
|
|
2393
2393
|
visibleValue?: string | undefined;
|
|
2394
2394
|
} | {
|
|
2395
|
-
url: string;
|
|
2396
2395
|
kind: "link";
|
|
2397
2396
|
label: string;
|
|
2397
|
+
url: string;
|
|
2398
2398
|
})[] | undefined;
|
|
2399
2399
|
}>, "many">>;
|
|
2400
2400
|
message: zod.ZodOptional<zod.ZodString>;
|
|
2401
2401
|
}, "strip", zod.ZodTypeAny, {
|
|
2402
|
-
originalAmountCents: number;
|
|
2403
2402
|
authoritative: boolean;
|
|
2403
|
+
originalAmountCents: number;
|
|
2404
2404
|
appliedOfferRefs: string[];
|
|
2405
|
-
message?: string | undefined;
|
|
2406
2405
|
savingsCents?: number | undefined;
|
|
2407
2406
|
expectedPayCents?: number | undefined;
|
|
2407
|
+
message?: string | undefined;
|
|
2408
2408
|
candidates?: {
|
|
2409
|
+
offerRef: string;
|
|
2409
2410
|
title: string;
|
|
2410
2411
|
offerType: "COUPON" | "BUNDLE" | "PROMOTION" | "ACTIVITY" | "GROUPON";
|
|
2411
|
-
offerRef: string;
|
|
2412
2412
|
claimable: boolean;
|
|
2413
2413
|
tags: string[];
|
|
2414
2414
|
subtitle?: string | undefined;
|
|
@@ -2422,36 +2422,36 @@ declare const serverModule: {
|
|
|
2422
2422
|
freeCouponClaimMode?: "DIRECT" | "REDIRECT" | undefined;
|
|
2423
2423
|
stockText?: string | undefined;
|
|
2424
2424
|
usageNoticeText?: string | undefined;
|
|
2425
|
+
guaranteeText?: string | undefined;
|
|
2425
2426
|
usageSceneText?: string | undefined;
|
|
2426
2427
|
usageTimeText?: string | undefined;
|
|
2427
2428
|
claimTimeText?: string | undefined;
|
|
2428
2429
|
usageRuleText?: string | undefined;
|
|
2429
|
-
|
|
2430
|
+
availabilityStatus?: "AVAILABLE" | "UNAVAILABLE" | "REQUIRES_ACTION" | "UNKNOWN" | undefined;
|
|
2430
2431
|
validityText?: string | undefined;
|
|
2431
2432
|
imageUrl?: string | undefined;
|
|
2432
|
-
availabilityStatus?: "AVAILABLE" | "UNKNOWN" | "UNAVAILABLE" | "REQUIRES_ACTION" | undefined;
|
|
2433
2433
|
itemActions?: ({
|
|
2434
2434
|
kind: "send";
|
|
2435
2435
|
label: string;
|
|
2436
2436
|
value?: string | undefined;
|
|
2437
2437
|
visibleValue?: string | undefined;
|
|
2438
2438
|
} | {
|
|
2439
|
-
url: string;
|
|
2440
2439
|
kind: "link";
|
|
2441
2440
|
label: string;
|
|
2441
|
+
url: string;
|
|
2442
2442
|
})[] | undefined;
|
|
2443
2443
|
}[] | undefined;
|
|
2444
2444
|
}, {
|
|
2445
|
-
originalAmountCents: number;
|
|
2446
2445
|
authoritative: boolean;
|
|
2446
|
+
originalAmountCents: number;
|
|
2447
2447
|
appliedOfferRefs: string[];
|
|
2448
|
-
message?: string | undefined;
|
|
2449
2448
|
savingsCents?: number | undefined;
|
|
2450
2449
|
expectedPayCents?: number | undefined;
|
|
2450
|
+
message?: string | undefined;
|
|
2451
2451
|
candidates?: {
|
|
2452
|
+
offerRef: string;
|
|
2452
2453
|
title: string;
|
|
2453
2454
|
offerType: "COUPON" | "BUNDLE" | "PROMOTION" | "ACTIVITY" | "GROUPON";
|
|
2454
|
-
offerRef: string;
|
|
2455
2455
|
claimable: boolean;
|
|
2456
2456
|
tags: string[];
|
|
2457
2457
|
subtitle?: string | undefined;
|
|
@@ -2465,23 +2465,23 @@ declare const serverModule: {
|
|
|
2465
2465
|
freeCouponClaimMode?: "DIRECT" | "REDIRECT" | undefined;
|
|
2466
2466
|
stockText?: string | undefined;
|
|
2467
2467
|
usageNoticeText?: string | undefined;
|
|
2468
|
+
guaranteeText?: string | undefined;
|
|
2468
2469
|
usageSceneText?: string | undefined;
|
|
2469
2470
|
usageTimeText?: string | undefined;
|
|
2470
2471
|
claimTimeText?: string | undefined;
|
|
2471
2472
|
usageRuleText?: string | undefined;
|
|
2472
|
-
|
|
2473
|
+
availabilityStatus?: "AVAILABLE" | "UNAVAILABLE" | "REQUIRES_ACTION" | "UNKNOWN" | undefined;
|
|
2473
2474
|
validityText?: string | undefined;
|
|
2474
2475
|
imageUrl?: string | undefined;
|
|
2475
|
-
availabilityStatus?: "AVAILABLE" | "UNKNOWN" | "UNAVAILABLE" | "REQUIRES_ACTION" | undefined;
|
|
2476
2476
|
itemActions?: ({
|
|
2477
2477
|
kind: "send";
|
|
2478
2478
|
label: string;
|
|
2479
2479
|
value?: string | undefined;
|
|
2480
2480
|
visibleValue?: string | undefined;
|
|
2481
2481
|
} | {
|
|
2482
|
-
url: string;
|
|
2483
2482
|
kind: "link";
|
|
2484
2483
|
label: string;
|
|
2484
|
+
url: string;
|
|
2485
2485
|
})[] | undefined;
|
|
2486
2486
|
}[] | undefined;
|
|
2487
2487
|
}>>;
|
|
@@ -2492,14 +2492,14 @@ declare const serverModule: {
|
|
|
2492
2492
|
preTools: {
|
|
2493
2493
|
listCoupons: PreToolDef<_tbox_cn_app_agent_sdk_server.Tool<{
|
|
2494
2494
|
mode: "CLAIMABLE" | "OWNED";
|
|
2495
|
+
limit?: string | undefined;
|
|
2495
2496
|
keyword?: string | undefined;
|
|
2496
2497
|
cursor?: string | undefined;
|
|
2497
|
-
limit?: string | undefined;
|
|
2498
2498
|
}, unknown, unknown, unknown, _mastra_core_tools.ToolExecutionContext<unknown, unknown, unknown>, "listCoupons", unknown>, {
|
|
2499
2499
|
mode: "CLAIMABLE" | "OWNED";
|
|
2500
|
+
limit?: string | undefined;
|
|
2500
2501
|
keyword?: string | undefined;
|
|
2501
2502
|
cursor?: string | undefined;
|
|
2502
|
-
limit?: string | undefined;
|
|
2503
2503
|
}>;
|
|
2504
2504
|
};
|
|
2505
2505
|
register(ctx: ServerContext): void;
|