@tbox.cn/app-module-promotion 0.10.5 → 0.10.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/server/index.d.ts +589 -589
- package/package.json +5 -5
package/dist/server/index.d.ts
CHANGED
|
@@ -129,50 +129,29 @@ declare const promotionCards: {
|
|
|
129
129
|
tags: zod.ZodArray<zod.ZodString, "many">;
|
|
130
130
|
}, "strip", zod.ZodTypeAny, {
|
|
131
131
|
title: string;
|
|
132
|
-
offerRef: string;
|
|
133
132
|
offerType: "COUPON" | "BUNDLE" | "PROMOTION" | "ACTIVITY" | "GROUPON";
|
|
133
|
+
offerRef: string;
|
|
134
134
|
claimable: boolean;
|
|
135
135
|
tags: string[];
|
|
136
136
|
subtitle?: string | undefined;
|
|
137
|
-
imageUrl?: string | undefined;
|
|
138
|
-
usageTimeText?: string | undefined;
|
|
139
|
-
purchaseUrl?: string | undefined;
|
|
140
|
-
freeCouponClaimMode?: "DIRECT" | "REDIRECT" | undefined;
|
|
141
|
-
itemActions?: ({
|
|
142
|
-
kind: "send";
|
|
143
|
-
label: string;
|
|
144
|
-
value?: string | undefined;
|
|
145
|
-
visibleValue?: string | undefined;
|
|
146
|
-
} | {
|
|
147
|
-
url: string;
|
|
148
|
-
kind: "link";
|
|
149
|
-
label: string;
|
|
150
|
-
})[] | undefined;
|
|
151
137
|
benefitText?: string | undefined;
|
|
152
138
|
thresholdText?: string | undefined;
|
|
153
139
|
priceText?: string | undefined;
|
|
154
140
|
originalPriceText?: string | undefined;
|
|
155
141
|
discountLabel?: string | undefined;
|
|
156
142
|
claimActionLabel?: string | undefined;
|
|
143
|
+
purchaseUrl?: string | undefined;
|
|
144
|
+
freeCouponClaimMode?: "DIRECT" | "REDIRECT" | undefined;
|
|
157
145
|
stockText?: string | undefined;
|
|
158
146
|
usageNoticeText?: string | undefined;
|
|
159
|
-
guaranteeText?: string | undefined;
|
|
160
147
|
usageSceneText?: string | undefined;
|
|
148
|
+
usageTimeText?: string | undefined;
|
|
161
149
|
claimTimeText?: string | undefined;
|
|
162
150
|
usageRuleText?: string | undefined;
|
|
163
|
-
|
|
151
|
+
guaranteeText?: string | undefined;
|
|
164
152
|
validityText?: string | undefined;
|
|
165
|
-
}, {
|
|
166
|
-
title: string;
|
|
167
|
-
offerRef: string;
|
|
168
|
-
offerType: "COUPON" | "BUNDLE" | "PROMOTION" | "ACTIVITY" | "GROUPON";
|
|
169
|
-
claimable: boolean;
|
|
170
|
-
tags: string[];
|
|
171
|
-
subtitle?: string | undefined;
|
|
172
153
|
imageUrl?: string | undefined;
|
|
173
|
-
|
|
174
|
-
purchaseUrl?: string | undefined;
|
|
175
|
-
freeCouponClaimMode?: "DIRECT" | "REDIRECT" | undefined;
|
|
154
|
+
availabilityStatus?: "AVAILABLE" | "UNKNOWN" | "UNAVAILABLE" | "REQUIRES_ACTION" | undefined;
|
|
176
155
|
itemActions?: ({
|
|
177
156
|
kind: "send";
|
|
178
157
|
label: string;
|
|
@@ -183,36 +162,31 @@ declare const promotionCards: {
|
|
|
183
162
|
kind: "link";
|
|
184
163
|
label: string;
|
|
185
164
|
})[] | undefined;
|
|
165
|
+
}, {
|
|
166
|
+
title: string;
|
|
167
|
+
offerType: "COUPON" | "BUNDLE" | "PROMOTION" | "ACTIVITY" | "GROUPON";
|
|
168
|
+
offerRef: string;
|
|
169
|
+
claimable: boolean;
|
|
170
|
+
tags: string[];
|
|
171
|
+
subtitle?: string | undefined;
|
|
186
172
|
benefitText?: string | undefined;
|
|
187
173
|
thresholdText?: string | undefined;
|
|
188
174
|
priceText?: string | undefined;
|
|
189
175
|
originalPriceText?: string | undefined;
|
|
190
176
|
discountLabel?: string | undefined;
|
|
191
177
|
claimActionLabel?: string | undefined;
|
|
178
|
+
purchaseUrl?: string | undefined;
|
|
179
|
+
freeCouponClaimMode?: "DIRECT" | "REDIRECT" | undefined;
|
|
192
180
|
stockText?: string | undefined;
|
|
193
181
|
usageNoticeText?: string | undefined;
|
|
194
|
-
guaranteeText?: string | undefined;
|
|
195
182
|
usageSceneText?: string | undefined;
|
|
183
|
+
usageTimeText?: string | undefined;
|
|
196
184
|
claimTimeText?: string | undefined;
|
|
197
185
|
usageRuleText?: string | undefined;
|
|
198
|
-
|
|
186
|
+
guaranteeText?: string | undefined;
|
|
199
187
|
validityText?: string | undefined;
|
|
200
|
-
}>, "many">;
|
|
201
|
-
noResultsReason: zod.ZodOptional<zod.ZodString>;
|
|
202
|
-
nextCursor: zod.ZodOptional<zod.ZodString>;
|
|
203
|
-
}, "strip", zod.ZodTypeAny, {
|
|
204
|
-
mode: "search" | "claimable" | "recommend";
|
|
205
|
-
items: {
|
|
206
|
-
title: string;
|
|
207
|
-
offerRef: string;
|
|
208
|
-
offerType: "COUPON" | "BUNDLE" | "PROMOTION" | "ACTIVITY" | "GROUPON";
|
|
209
|
-
claimable: boolean;
|
|
210
|
-
tags: string[];
|
|
211
|
-
subtitle?: string | undefined;
|
|
212
188
|
imageUrl?: string | undefined;
|
|
213
|
-
|
|
214
|
-
purchaseUrl?: string | undefined;
|
|
215
|
-
freeCouponClaimMode?: "DIRECT" | "REDIRECT" | undefined;
|
|
189
|
+
availabilityStatus?: "AVAILABLE" | "UNKNOWN" | "UNAVAILABLE" | "REQUIRES_ACTION" | undefined;
|
|
216
190
|
itemActions?: ({
|
|
217
191
|
kind: "send";
|
|
218
192
|
label: string;
|
|
@@ -223,39 +197,35 @@ declare const promotionCards: {
|
|
|
223
197
|
kind: "link";
|
|
224
198
|
label: string;
|
|
225
199
|
})[] | undefined;
|
|
200
|
+
}>, "many">;
|
|
201
|
+
noResultsReason: zod.ZodOptional<zod.ZodString>;
|
|
202
|
+
nextCursor: zod.ZodOptional<zod.ZodString>;
|
|
203
|
+
}, "strip", zod.ZodTypeAny, {
|
|
204
|
+
items: {
|
|
205
|
+
title: string;
|
|
206
|
+
offerType: "COUPON" | "BUNDLE" | "PROMOTION" | "ACTIVITY" | "GROUPON";
|
|
207
|
+
offerRef: string;
|
|
208
|
+
claimable: boolean;
|
|
209
|
+
tags: string[];
|
|
210
|
+
subtitle?: string | undefined;
|
|
226
211
|
benefitText?: string | undefined;
|
|
227
212
|
thresholdText?: string | undefined;
|
|
228
213
|
priceText?: string | undefined;
|
|
229
214
|
originalPriceText?: string | undefined;
|
|
230
215
|
discountLabel?: string | undefined;
|
|
231
216
|
claimActionLabel?: string | undefined;
|
|
217
|
+
purchaseUrl?: string | undefined;
|
|
218
|
+
freeCouponClaimMode?: "DIRECT" | "REDIRECT" | undefined;
|
|
232
219
|
stockText?: string | undefined;
|
|
233
220
|
usageNoticeText?: string | undefined;
|
|
234
|
-
guaranteeText?: string | undefined;
|
|
235
221
|
usageSceneText?: string | undefined;
|
|
222
|
+
usageTimeText?: string | undefined;
|
|
236
223
|
claimTimeText?: string | undefined;
|
|
237
224
|
usageRuleText?: string | undefined;
|
|
238
|
-
|
|
225
|
+
guaranteeText?: string | undefined;
|
|
239
226
|
validityText?: string | undefined;
|
|
240
|
-
}[];
|
|
241
|
-
presentation?: "coupon" | "promotion" | "recommendation" | "offer" | undefined;
|
|
242
|
-
summary?: string | undefined;
|
|
243
|
-
noResultsReason?: string | undefined;
|
|
244
|
-
maxItems?: number | undefined;
|
|
245
|
-
nextCursor?: string | undefined;
|
|
246
|
-
}, {
|
|
247
|
-
mode: "search" | "claimable" | "recommend";
|
|
248
|
-
items: {
|
|
249
|
-
title: string;
|
|
250
|
-
offerRef: string;
|
|
251
|
-
offerType: "COUPON" | "BUNDLE" | "PROMOTION" | "ACTIVITY" | "GROUPON";
|
|
252
|
-
claimable: boolean;
|
|
253
|
-
tags: string[];
|
|
254
|
-
subtitle?: string | undefined;
|
|
255
227
|
imageUrl?: string | undefined;
|
|
256
|
-
|
|
257
|
-
purchaseUrl?: string | undefined;
|
|
258
|
-
freeCouponClaimMode?: "DIRECT" | "REDIRECT" | undefined;
|
|
228
|
+
availabilityStatus?: "AVAILABLE" | "UNKNOWN" | "UNAVAILABLE" | "REQUIRES_ACTION" | undefined;
|
|
259
229
|
itemActions?: ({
|
|
260
230
|
kind: "send";
|
|
261
231
|
label: string;
|
|
@@ -266,26 +236,56 @@ declare const promotionCards: {
|
|
|
266
236
|
kind: "link";
|
|
267
237
|
label: string;
|
|
268
238
|
})[] | undefined;
|
|
239
|
+
}[];
|
|
240
|
+
mode: "search" | "claimable" | "recommend";
|
|
241
|
+
noResultsReason?: string | undefined;
|
|
242
|
+
nextCursor?: string | undefined;
|
|
243
|
+
presentation?: "coupon" | "offer" | "promotion" | "recommendation" | undefined;
|
|
244
|
+
summary?: string | undefined;
|
|
245
|
+
maxItems?: number | undefined;
|
|
246
|
+
}, {
|
|
247
|
+
items: {
|
|
248
|
+
title: string;
|
|
249
|
+
offerType: "COUPON" | "BUNDLE" | "PROMOTION" | "ACTIVITY" | "GROUPON";
|
|
250
|
+
offerRef: string;
|
|
251
|
+
claimable: boolean;
|
|
252
|
+
tags: string[];
|
|
253
|
+
subtitle?: string | undefined;
|
|
269
254
|
benefitText?: string | undefined;
|
|
270
255
|
thresholdText?: string | undefined;
|
|
271
256
|
priceText?: string | undefined;
|
|
272
257
|
originalPriceText?: string | undefined;
|
|
273
258
|
discountLabel?: string | undefined;
|
|
274
259
|
claimActionLabel?: string | undefined;
|
|
260
|
+
purchaseUrl?: string | undefined;
|
|
261
|
+
freeCouponClaimMode?: "DIRECT" | "REDIRECT" | undefined;
|
|
275
262
|
stockText?: string | undefined;
|
|
276
263
|
usageNoticeText?: string | undefined;
|
|
277
|
-
guaranteeText?: string | undefined;
|
|
278
264
|
usageSceneText?: string | undefined;
|
|
265
|
+
usageTimeText?: string | undefined;
|
|
279
266
|
claimTimeText?: string | undefined;
|
|
280
267
|
usageRuleText?: string | undefined;
|
|
281
|
-
|
|
268
|
+
guaranteeText?: string | undefined;
|
|
282
269
|
validityText?: string | undefined;
|
|
270
|
+
imageUrl?: string | undefined;
|
|
271
|
+
availabilityStatus?: "AVAILABLE" | "UNKNOWN" | "UNAVAILABLE" | "REQUIRES_ACTION" | undefined;
|
|
272
|
+
itemActions?: ({
|
|
273
|
+
kind: "send";
|
|
274
|
+
label: string;
|
|
275
|
+
value?: string | undefined;
|
|
276
|
+
visibleValue?: string | undefined;
|
|
277
|
+
} | {
|
|
278
|
+
url: string;
|
|
279
|
+
kind: "link";
|
|
280
|
+
label: string;
|
|
281
|
+
})[] | undefined;
|
|
283
282
|
}[];
|
|
284
|
-
|
|
285
|
-
summary?: string | undefined;
|
|
283
|
+
mode: "search" | "claimable" | "recommend";
|
|
286
284
|
noResultsReason?: string | undefined;
|
|
287
|
-
maxItems?: number | undefined;
|
|
288
285
|
nextCursor?: string | undefined;
|
|
286
|
+
presentation?: "coupon" | "offer" | "promotion" | "recommendation" | undefined;
|
|
287
|
+
summary?: string | undefined;
|
|
288
|
+
maxItems?: number | 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
|
-
address?: string | undefined;
|
|
337
336
|
businessName?: string | undefined;
|
|
337
|
+
address?: string | undefined;
|
|
338
338
|
floor?: string | undefined;
|
|
339
339
|
}, {
|
|
340
340
|
storeId: string;
|
|
341
341
|
storeName: string;
|
|
342
|
-
address?: string | undefined;
|
|
343
342
|
businessName?: string | undefined;
|
|
343
|
+
address?: string | undefined;
|
|
344
344
|
floor?: string | undefined;
|
|
345
345
|
}>, "many">>;
|
|
346
346
|
bundleItems: zod.ZodOptional<zod.ZodArray<zod.ZodObject<{
|
|
@@ -358,42 +358,37 @@ declare const promotionCards: {
|
|
|
358
358
|
caveats: zod.ZodArray<zod.ZodString, "many">;
|
|
359
359
|
}, "strip", zod.ZodTypeAny, {
|
|
360
360
|
title: string;
|
|
361
|
+
offerType: "COUPON" | "BUNDLE" | "PROMOTION" | "ACTIVITY" | "GROUPON";
|
|
361
362
|
offerRef: string;
|
|
362
363
|
caveats: string[];
|
|
363
|
-
offerType: "COUPON" | "BUNDLE" | "PROMOTION" | "ACTIVITY" | "GROUPON";
|
|
364
364
|
claimable: boolean;
|
|
365
365
|
rules: string[];
|
|
366
366
|
description?: string | undefined;
|
|
367
367
|
subtitle?: string | undefined;
|
|
368
|
-
presentation?: "package" | "coupon" | "promotion" | "offer" | "promotion-guide" | undefined;
|
|
369
|
-
steps?: {
|
|
370
|
-
title: string;
|
|
371
|
-
description?: string | undefined;
|
|
372
|
-
}[] | undefined;
|
|
373
368
|
notice?: string | undefined;
|
|
374
|
-
|
|
375
|
-
usageTimeText?: string | undefined;
|
|
376
|
-
purchaseUrl?: string | undefined;
|
|
369
|
+
presentation?: "coupon" | "offer" | "promotion" | "promotion-guide" | "package" | undefined;
|
|
377
370
|
benefitText?: string | undefined;
|
|
378
371
|
thresholdText?: string | undefined;
|
|
379
372
|
priceText?: string | undefined;
|
|
380
373
|
originalPriceText?: string | undefined;
|
|
381
374
|
discountLabel?: string | undefined;
|
|
382
375
|
claimActionLabel?: string | undefined;
|
|
376
|
+
purchaseUrl?: string | undefined;
|
|
383
377
|
stockText?: string | undefined;
|
|
384
378
|
usageNoticeText?: string | undefined;
|
|
385
|
-
guaranteeText?: string | undefined;
|
|
386
379
|
usageSceneText?: string | undefined;
|
|
380
|
+
usageTimeText?: string | undefined;
|
|
387
381
|
claimTimeText?: string | undefined;
|
|
388
382
|
usageRuleText?: string | undefined;
|
|
383
|
+
guaranteeText?: string | undefined;
|
|
389
384
|
validityText?: string | undefined;
|
|
385
|
+
imageUrl?: string | undefined;
|
|
390
386
|
participationMode?: "UNKNOWN" | "AUTOMATIC_DISCOUNT" | "CLAIM_THEN_PURCHASE" | "REGISTER_THEN_ATTEND" | "GROUP_PURCHASE" | undefined;
|
|
391
|
-
requirements?: string[] | undefined;
|
|
392
387
|
stores?: {
|
|
393
388
|
storeId: string;
|
|
394
389
|
storeName: string;
|
|
395
|
-
address?: string | undefined;
|
|
396
390
|
businessName?: string | undefined;
|
|
391
|
+
address?: string | undefined;
|
|
397
392
|
floor?: string | undefined;
|
|
398
393
|
}[] | undefined;
|
|
399
394
|
bundleItems?: {
|
|
@@ -401,44 +396,44 @@ declare const promotionCards: {
|
|
|
401
396
|
quantity: number;
|
|
402
397
|
}[] | undefined;
|
|
403
398
|
unavailableReason?: string | undefined;
|
|
399
|
+
steps?: {
|
|
400
|
+
title: string;
|
|
401
|
+
description?: string | undefined;
|
|
402
|
+
}[] | undefined;
|
|
403
|
+
requirements?: string[] | undefined;
|
|
404
404
|
}, {
|
|
405
405
|
title: string;
|
|
406
|
+
offerType: "COUPON" | "BUNDLE" | "PROMOTION" | "ACTIVITY" | "GROUPON";
|
|
406
407
|
offerRef: string;
|
|
407
408
|
caveats: string[];
|
|
408
|
-
offerType: "COUPON" | "BUNDLE" | "PROMOTION" | "ACTIVITY" | "GROUPON";
|
|
409
409
|
claimable: boolean;
|
|
410
410
|
rules: string[];
|
|
411
411
|
description?: string | undefined;
|
|
412
412
|
subtitle?: string | undefined;
|
|
413
|
-
presentation?: "package" | "coupon" | "promotion" | "offer" | "promotion-guide" | undefined;
|
|
414
|
-
steps?: {
|
|
415
|
-
title: string;
|
|
416
|
-
description?: string | undefined;
|
|
417
|
-
}[] | undefined;
|
|
418
413
|
notice?: string | undefined;
|
|
419
|
-
|
|
420
|
-
usageTimeText?: string | undefined;
|
|
421
|
-
purchaseUrl?: string | undefined;
|
|
414
|
+
presentation?: "coupon" | "offer" | "promotion" | "promotion-guide" | "package" | undefined;
|
|
422
415
|
benefitText?: string | undefined;
|
|
423
416
|
thresholdText?: string | undefined;
|
|
424
417
|
priceText?: string | undefined;
|
|
425
418
|
originalPriceText?: string | undefined;
|
|
426
419
|
discountLabel?: string | undefined;
|
|
427
420
|
claimActionLabel?: string | undefined;
|
|
421
|
+
purchaseUrl?: string | undefined;
|
|
428
422
|
stockText?: string | undefined;
|
|
429
423
|
usageNoticeText?: string | undefined;
|
|
430
|
-
guaranteeText?: string | undefined;
|
|
431
424
|
usageSceneText?: string | undefined;
|
|
425
|
+
usageTimeText?: string | undefined;
|
|
432
426
|
claimTimeText?: string | undefined;
|
|
433
427
|
usageRuleText?: string | undefined;
|
|
428
|
+
guaranteeText?: string | undefined;
|
|
434
429
|
validityText?: string | undefined;
|
|
430
|
+
imageUrl?: string | undefined;
|
|
435
431
|
participationMode?: "UNKNOWN" | "AUTOMATIC_DISCOUNT" | "CLAIM_THEN_PURCHASE" | "REGISTER_THEN_ATTEND" | "GROUP_PURCHASE" | undefined;
|
|
436
|
-
requirements?: string[] | undefined;
|
|
437
432
|
stores?: {
|
|
438
433
|
storeId: string;
|
|
439
434
|
storeName: string;
|
|
440
|
-
address?: string | undefined;
|
|
441
435
|
businessName?: string | undefined;
|
|
436
|
+
address?: string | undefined;
|
|
442
437
|
floor?: string | undefined;
|
|
443
438
|
}[] | undefined;
|
|
444
439
|
bundleItems?: {
|
|
@@ -446,6 +441,11 @@ declare const promotionCards: {
|
|
|
446
441
|
quantity: number;
|
|
447
442
|
}[] | undefined;
|
|
448
443
|
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>;
|
|
@@ -510,69 +510,51 @@ declare const promotionCards: {
|
|
|
510
510
|
}, "strip", zod.ZodTypeAny, {
|
|
511
511
|
storeId: string;
|
|
512
512
|
storeName: string;
|
|
513
|
-
latitude?: number | undefined;
|
|
514
|
-
longitude?: number | undefined;
|
|
515
513
|
imageUrl?: string | undefined;
|
|
516
|
-
address?: string | undefined;
|
|
517
514
|
businessName?: string | undefined;
|
|
515
|
+
address?: string | undefined;
|
|
518
516
|
floor?: string | undefined;
|
|
517
|
+
latitude?: number | undefined;
|
|
518
|
+
longitude?: number | undefined;
|
|
519
519
|
}, {
|
|
520
520
|
storeId: string;
|
|
521
521
|
storeName: string;
|
|
522
|
-
latitude?: number | undefined;
|
|
523
|
-
longitude?: number | undefined;
|
|
524
522
|
imageUrl?: string | undefined;
|
|
525
|
-
address?: string | undefined;
|
|
526
523
|
businessName?: string | undefined;
|
|
524
|
+
address?: string | undefined;
|
|
527
525
|
floor?: string | undefined;
|
|
526
|
+
latitude?: number | undefined;
|
|
527
|
+
longitude?: number | undefined;
|
|
528
528
|
}>, "many">>;
|
|
529
529
|
}, "strip", zod.ZodTypeAny, {
|
|
530
|
-
status: "UNKNOWN" | "
|
|
530
|
+
status: "UNKNOWN" | "EFFECTIVE" | "USED" | "EXPIRED" | "INVALID";
|
|
531
531
|
title: string;
|
|
532
532
|
entitlementRef: string;
|
|
533
533
|
entitlementType: "COUPON" | "BUNDLE" | "PROMOTION" | "ACTIVITY" | "GROUPON";
|
|
534
534
|
code?: string | undefined;
|
|
535
|
-
imageUrl?: string | undefined;
|
|
536
|
-
usageTimeText?: string | undefined;
|
|
537
|
-
itemActions?: ({
|
|
538
|
-
kind: "send";
|
|
539
|
-
label: string;
|
|
540
|
-
value?: string | undefined;
|
|
541
|
-
visibleValue?: string | undefined;
|
|
542
|
-
} | {
|
|
543
|
-
url: string;
|
|
544
|
-
kind: "link";
|
|
545
|
-
label: string;
|
|
546
|
-
})[] | undefined;
|
|
547
535
|
benefitText?: string | undefined;
|
|
548
536
|
thresholdText?: string | undefined;
|
|
549
|
-
guaranteeText?: string | undefined;
|
|
550
537
|
usageSceneText?: string | undefined;
|
|
538
|
+
usageTimeText?: string | undefined;
|
|
551
539
|
claimTimeText?: string | undefined;
|
|
552
540
|
usageRuleText?: string | undefined;
|
|
541
|
+
guaranteeText?: string | undefined;
|
|
553
542
|
validityText?: string | undefined;
|
|
543
|
+
imageUrl?: string | undefined;
|
|
554
544
|
stores?: {
|
|
555
545
|
storeId: string;
|
|
556
546
|
storeName: string;
|
|
557
|
-
latitude?: number | undefined;
|
|
558
|
-
longitude?: number | undefined;
|
|
559
547
|
imageUrl?: string | undefined;
|
|
560
|
-
address?: string | undefined;
|
|
561
548
|
businessName?: string | undefined;
|
|
549
|
+
address?: string | undefined;
|
|
562
550
|
floor?: string | undefined;
|
|
551
|
+
latitude?: number | undefined;
|
|
552
|
+
longitude?: number | undefined;
|
|
563
553
|
}[] | undefined;
|
|
564
554
|
codeMasked?: string | undefined;
|
|
565
555
|
qrCodeEnabled?: boolean | undefined;
|
|
566
556
|
usageNotice?: string | undefined;
|
|
567
557
|
validUntilText?: string | undefined;
|
|
568
|
-
}, {
|
|
569
|
-
status: "UNKNOWN" | "USED" | "EXPIRED" | "EFFECTIVE" | "INVALID";
|
|
570
|
-
title: string;
|
|
571
|
-
entitlementRef: string;
|
|
572
|
-
entitlementType: "COUPON" | "BUNDLE" | "PROMOTION" | "ACTIVITY" | "GROUPON";
|
|
573
|
-
code?: string | undefined;
|
|
574
|
-
imageUrl?: string | undefined;
|
|
575
|
-
usageTimeText?: string | undefined;
|
|
576
558
|
itemActions?: ({
|
|
577
559
|
kind: "send";
|
|
578
560
|
label: string;
|
|
@@ -583,39 +565,35 @@ declare const promotionCards: {
|
|
|
583
565
|
kind: "link";
|
|
584
566
|
label: string;
|
|
585
567
|
})[] | undefined;
|
|
568
|
+
}, {
|
|
569
|
+
status: "UNKNOWN" | "EFFECTIVE" | "USED" | "EXPIRED" | "INVALID";
|
|
570
|
+
title: string;
|
|
571
|
+
entitlementRef: string;
|
|
572
|
+
entitlementType: "COUPON" | "BUNDLE" | "PROMOTION" | "ACTIVITY" | "GROUPON";
|
|
573
|
+
code?: string | undefined;
|
|
586
574
|
benefitText?: string | undefined;
|
|
587
575
|
thresholdText?: string | undefined;
|
|
588
|
-
guaranteeText?: string | undefined;
|
|
589
576
|
usageSceneText?: string | undefined;
|
|
577
|
+
usageTimeText?: string | undefined;
|
|
590
578
|
claimTimeText?: string | undefined;
|
|
591
579
|
usageRuleText?: string | undefined;
|
|
580
|
+
guaranteeText?: string | undefined;
|
|
592
581
|
validityText?: string | undefined;
|
|
582
|
+
imageUrl?: string | undefined;
|
|
593
583
|
stores?: {
|
|
594
584
|
storeId: string;
|
|
595
585
|
storeName: string;
|
|
596
|
-
latitude?: number | undefined;
|
|
597
|
-
longitude?: number | undefined;
|
|
598
586
|
imageUrl?: string | undefined;
|
|
599
|
-
address?: string | undefined;
|
|
600
587
|
businessName?: string | undefined;
|
|
588
|
+
address?: string | undefined;
|
|
601
589
|
floor?: string | undefined;
|
|
590
|
+
latitude?: number | undefined;
|
|
591
|
+
longitude?: number | undefined;
|
|
602
592
|
}[] | undefined;
|
|
603
593
|
codeMasked?: string | undefined;
|
|
604
594
|
qrCodeEnabled?: boolean | undefined;
|
|
605
595
|
usageNotice?: string | undefined;
|
|
606
596
|
validUntilText?: string | undefined;
|
|
607
|
-
}>, "many">;
|
|
608
|
-
noResultsReason: zod.ZodOptional<zod.ZodString>;
|
|
609
|
-
nextCursor: zod.ZodOptional<zod.ZodString>;
|
|
610
|
-
}, "strip", zod.ZodTypeAny, {
|
|
611
|
-
items: {
|
|
612
|
-
status: "UNKNOWN" | "USED" | "EXPIRED" | "EFFECTIVE" | "INVALID";
|
|
613
|
-
title: string;
|
|
614
|
-
entitlementRef: string;
|
|
615
|
-
entitlementType: "COUPON" | "BUNDLE" | "PROMOTION" | "ACTIVITY" | "GROUPON";
|
|
616
|
-
code?: string | undefined;
|
|
617
|
-
imageUrl?: string | undefined;
|
|
618
|
-
usageTimeText?: string | undefined;
|
|
619
597
|
itemActions?: ({
|
|
620
598
|
kind: "send";
|
|
621
599
|
label: string;
|
|
@@ -626,42 +604,39 @@ declare const promotionCards: {
|
|
|
626
604
|
kind: "link";
|
|
627
605
|
label: string;
|
|
628
606
|
})[] | undefined;
|
|
607
|
+
}>, "many">;
|
|
608
|
+
noResultsReason: zod.ZodOptional<zod.ZodString>;
|
|
609
|
+
nextCursor: zod.ZodOptional<zod.ZodString>;
|
|
610
|
+
}, "strip", zod.ZodTypeAny, {
|
|
611
|
+
items: {
|
|
612
|
+
status: "UNKNOWN" | "EFFECTIVE" | "USED" | "EXPIRED" | "INVALID";
|
|
613
|
+
title: string;
|
|
614
|
+
entitlementRef: string;
|
|
615
|
+
entitlementType: "COUPON" | "BUNDLE" | "PROMOTION" | "ACTIVITY" | "GROUPON";
|
|
616
|
+
code?: string | undefined;
|
|
629
617
|
benefitText?: string | undefined;
|
|
630
618
|
thresholdText?: string | undefined;
|
|
631
|
-
guaranteeText?: string | undefined;
|
|
632
619
|
usageSceneText?: string | undefined;
|
|
620
|
+
usageTimeText?: string | undefined;
|
|
633
621
|
claimTimeText?: string | undefined;
|
|
634
622
|
usageRuleText?: string | undefined;
|
|
623
|
+
guaranteeText?: string | undefined;
|
|
635
624
|
validityText?: string | undefined;
|
|
625
|
+
imageUrl?: string | undefined;
|
|
636
626
|
stores?: {
|
|
637
627
|
storeId: string;
|
|
638
628
|
storeName: string;
|
|
639
|
-
latitude?: number | undefined;
|
|
640
|
-
longitude?: number | undefined;
|
|
641
629
|
imageUrl?: string | undefined;
|
|
642
|
-
address?: string | undefined;
|
|
643
630
|
businessName?: string | undefined;
|
|
631
|
+
address?: string | undefined;
|
|
644
632
|
floor?: string | undefined;
|
|
633
|
+
latitude?: number | undefined;
|
|
634
|
+
longitude?: number | undefined;
|
|
645
635
|
}[] | undefined;
|
|
646
636
|
codeMasked?: string | undefined;
|
|
647
637
|
qrCodeEnabled?: boolean | undefined;
|
|
648
638
|
usageNotice?: string | undefined;
|
|
649
639
|
validUntilText?: string | undefined;
|
|
650
|
-
}[];
|
|
651
|
-
miniAppId?: string | undefined;
|
|
652
|
-
mallId?: string | undefined;
|
|
653
|
-
noResultsReason?: string | undefined;
|
|
654
|
-
maxItems?: number | undefined;
|
|
655
|
-
nextCursor?: string | undefined;
|
|
656
|
-
}, {
|
|
657
|
-
items: {
|
|
658
|
-
status: "UNKNOWN" | "USED" | "EXPIRED" | "EFFECTIVE" | "INVALID";
|
|
659
|
-
title: string;
|
|
660
|
-
entitlementRef: string;
|
|
661
|
-
entitlementType: "COUPON" | "BUNDLE" | "PROMOTION" | "ACTIVITY" | "GROUPON";
|
|
662
|
-
code?: string | undefined;
|
|
663
|
-
imageUrl?: string | undefined;
|
|
664
|
-
usageTimeText?: string | undefined;
|
|
665
640
|
itemActions?: ({
|
|
666
641
|
kind: "send";
|
|
667
642
|
label: string;
|
|
@@ -672,33 +647,58 @@ declare const promotionCards: {
|
|
|
672
647
|
kind: "link";
|
|
673
648
|
label: string;
|
|
674
649
|
})[] | undefined;
|
|
650
|
+
}[];
|
|
651
|
+
noResultsReason?: string | undefined;
|
|
652
|
+
nextCursor?: string | undefined;
|
|
653
|
+
mallId?: string | undefined;
|
|
654
|
+
miniAppId?: string | undefined;
|
|
655
|
+
maxItems?: number | undefined;
|
|
656
|
+
}, {
|
|
657
|
+
items: {
|
|
658
|
+
status: "UNKNOWN" | "EFFECTIVE" | "USED" | "EXPIRED" | "INVALID";
|
|
659
|
+
title: string;
|
|
660
|
+
entitlementRef: string;
|
|
661
|
+
entitlementType: "COUPON" | "BUNDLE" | "PROMOTION" | "ACTIVITY" | "GROUPON";
|
|
662
|
+
code?: string | undefined;
|
|
675
663
|
benefitText?: string | undefined;
|
|
676
664
|
thresholdText?: string | undefined;
|
|
677
|
-
guaranteeText?: string | undefined;
|
|
678
665
|
usageSceneText?: string | undefined;
|
|
666
|
+
usageTimeText?: string | undefined;
|
|
679
667
|
claimTimeText?: string | undefined;
|
|
680
668
|
usageRuleText?: string | undefined;
|
|
669
|
+
guaranteeText?: string | undefined;
|
|
681
670
|
validityText?: string | undefined;
|
|
671
|
+
imageUrl?: string | undefined;
|
|
682
672
|
stores?: {
|
|
683
673
|
storeId: string;
|
|
684
674
|
storeName: string;
|
|
685
|
-
latitude?: number | undefined;
|
|
686
|
-
longitude?: number | undefined;
|
|
687
675
|
imageUrl?: string | undefined;
|
|
688
|
-
address?: string | undefined;
|
|
689
676
|
businessName?: string | undefined;
|
|
677
|
+
address?: string | undefined;
|
|
690
678
|
floor?: string | undefined;
|
|
679
|
+
latitude?: number | undefined;
|
|
680
|
+
longitude?: number | undefined;
|
|
691
681
|
}[] | undefined;
|
|
692
682
|
codeMasked?: string | undefined;
|
|
693
683
|
qrCodeEnabled?: boolean | undefined;
|
|
694
684
|
usageNotice?: string | undefined;
|
|
695
685
|
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
|
-
miniAppId?: string | undefined;
|
|
698
|
-
mallId?: string | undefined;
|
|
699
697
|
noResultsReason?: string | undefined;
|
|
700
|
-
maxItems?: number | undefined;
|
|
701
698
|
nextCursor?: string | undefined;
|
|
699
|
+
mallId?: string | undefined;
|
|
700
|
+
miniAppId?: string | undefined;
|
|
701
|
+
maxItems?: number | undefined;
|
|
702
702
|
}>>;
|
|
703
703
|
readonly 'promotion-activity-list': _tbox_cn_app_contracts.CardMeta<zod.ZodObject<{
|
|
704
704
|
items: zod.ZodArray<zod.ZodObject<{
|
|
@@ -742,10 +742,17 @@ declare const promotionCards: {
|
|
|
742
742
|
label: string;
|
|
743
743
|
}>]>, "many">>;
|
|
744
744
|
}, "strip", zod.ZodTypeAny, {
|
|
745
|
-
title: string;
|
|
746
|
-
activityRef: string;
|
|
747
745
|
registrationRequired: boolean;
|
|
746
|
+
activityRef: string;
|
|
747
|
+
title: string;
|
|
748
748
|
subtitle?: string | undefined;
|
|
749
|
+
coverUrl?: string | undefined;
|
|
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
756
|
itemActions?: ({
|
|
750
757
|
kind: "send";
|
|
751
758
|
label: string;
|
|
@@ -756,18 +763,18 @@ declare const promotionCards: {
|
|
|
756
763
|
kind: "link";
|
|
757
764
|
label: string;
|
|
758
765
|
})[] | undefined;
|
|
766
|
+
}, {
|
|
767
|
+
registrationRequired: boolean;
|
|
768
|
+
activityRef: string;
|
|
769
|
+
title: string;
|
|
770
|
+
subtitle?: string | undefined;
|
|
759
771
|
coverUrl?: string | undefined;
|
|
760
|
-
availabilityStatus?: "UNKNOWN" | "AVAILABLE" | "FULL" | "ENDED" | "UPCOMING" | undefined;
|
|
761
772
|
jumpOnly?: boolean | undefined;
|
|
762
773
|
jumpLabel?: string | undefined;
|
|
774
|
+
categoryName?: string | undefined;
|
|
763
775
|
remainingQuota?: number | undefined;
|
|
764
776
|
periodText?: string | undefined;
|
|
765
|
-
|
|
766
|
-
}, {
|
|
767
|
-
title: string;
|
|
768
|
-
activityRef: string;
|
|
769
|
-
registrationRequired: boolean;
|
|
770
|
-
subtitle?: string | undefined;
|
|
777
|
+
availabilityStatus?: "FULL" | "ENDED" | "UPCOMING" | "AVAILABLE" | "UNKNOWN" | undefined;
|
|
771
778
|
itemActions?: ({
|
|
772
779
|
kind: "send";
|
|
773
780
|
label: string;
|
|
@@ -778,22 +785,22 @@ declare const promotionCards: {
|
|
|
778
785
|
kind: "link";
|
|
779
786
|
label: string;
|
|
780
787
|
})[] | undefined;
|
|
781
|
-
coverUrl?: string | undefined;
|
|
782
|
-
availabilityStatus?: "UNKNOWN" | "AVAILABLE" | "FULL" | "ENDED" | "UPCOMING" | 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
|
-
title: string;
|
|
794
|
-
activityRef: string;
|
|
795
793
|
registrationRequired: boolean;
|
|
794
|
+
activityRef: string;
|
|
795
|
+
title: string;
|
|
796
796
|
subtitle?: string | undefined;
|
|
797
|
+
coverUrl?: string | undefined;
|
|
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
804
|
itemActions?: ({
|
|
798
805
|
kind: "send";
|
|
799
806
|
label: string;
|
|
@@ -804,22 +811,22 @@ declare const promotionCards: {
|
|
|
804
811
|
kind: "link";
|
|
805
812
|
label: string;
|
|
806
813
|
})[] | undefined;
|
|
807
|
-
coverUrl?: string | undefined;
|
|
808
|
-
availabilityStatus?: "UNKNOWN" | "AVAILABLE" | "FULL" | "ENDED" | "UPCOMING" | 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
|
-
title: string;
|
|
820
|
-
activityRef: string;
|
|
821
819
|
registrationRequired: boolean;
|
|
820
|
+
activityRef: string;
|
|
821
|
+
title: string;
|
|
822
822
|
subtitle?: string | undefined;
|
|
823
|
+
coverUrl?: string | undefined;
|
|
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
830
|
itemActions?: ({
|
|
824
831
|
kind: "send";
|
|
825
832
|
label: string;
|
|
@@ -830,13 +837,6 @@ declare const promotionCards: {
|
|
|
830
837
|
kind: "link";
|
|
831
838
|
label: string;
|
|
832
839
|
})[] | undefined;
|
|
833
|
-
coverUrl?: string | undefined;
|
|
834
|
-
availabilityStatus?: "UNKNOWN" | "AVAILABLE" | "FULL" | "ENDED" | "UPCOMING" | 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: "FULL" | "OPEN" | "CLOSED" | "UNKNOWN";
|
|
869
869
|
title: string;
|
|
870
870
|
sessionRef: string;
|
|
871
871
|
startText: string;
|
|
872
|
-
location?: string | undefined;
|
|
873
872
|
remainingQuota?: number | undefined;
|
|
874
873
|
endText?: string | undefined;
|
|
874
|
+
location?: string | undefined;
|
|
875
875
|
}, {
|
|
876
|
-
status: "
|
|
876
|
+
status: "FULL" | "OPEN" | "CLOSED" | "UNKNOWN";
|
|
877
877
|
title: string;
|
|
878
878
|
sessionRef: string;
|
|
879
879
|
startText: string;
|
|
880
|
-
location?: string | undefined;
|
|
881
880
|
remainingQuota?: number | undefined;
|
|
882
881
|
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
|
-
title: string;
|
|
899
|
-
activityRef: string;
|
|
900
898
|
registrationRequired: boolean;
|
|
899
|
+
activityRef: string;
|
|
900
|
+
title: string;
|
|
901
901
|
sessions: {
|
|
902
|
-
status: "
|
|
902
|
+
status: "FULL" | "OPEN" | "CLOSED" | "UNKNOWN";
|
|
903
903
|
title: string;
|
|
904
904
|
sessionRef: string;
|
|
905
905
|
startText: string;
|
|
906
|
-
location?: string | undefined;
|
|
907
906
|
remainingQuota?: number | undefined;
|
|
908
907
|
endText?: string | undefined;
|
|
908
|
+
location?: string | undefined;
|
|
909
909
|
}[];
|
|
910
910
|
guideSteps: string[];
|
|
911
911
|
conditions: string[];
|
|
912
912
|
description?: string | undefined;
|
|
913
913
|
subtitle?: string | undefined;
|
|
914
|
-
presentation?: "detail" | "schedule" | "guide" | undefined;
|
|
915
|
-
notice?: string | undefined;
|
|
916
|
-
location?: string | undefined;
|
|
917
914
|
coverUrl?: string | undefined;
|
|
918
915
|
jumpOnly?: boolean | undefined;
|
|
919
916
|
jumpLabel?: string | undefined;
|
|
920
|
-
remainingQuota?: number | undefined;
|
|
921
|
-
periodText?: string | undefined;
|
|
922
917
|
categoryName?: string | undefined;
|
|
918
|
+
remainingQuota?: number | undefined;
|
|
923
919
|
registrationUrl?: string | undefined;
|
|
920
|
+
periodText?: string | undefined;
|
|
921
|
+
location?: string | undefined;
|
|
922
|
+
notice?: string | undefined;
|
|
924
923
|
guideItems?: {
|
|
925
924
|
title: string;
|
|
926
925
|
description?: string | undefined;
|
|
927
926
|
}[] | undefined;
|
|
927
|
+
presentation?: "detail" | "schedule" | "guide" | undefined;
|
|
928
928
|
}, {
|
|
929
|
-
title: string;
|
|
930
|
-
activityRef: string;
|
|
931
929
|
registrationRequired: boolean;
|
|
930
|
+
activityRef: string;
|
|
931
|
+
title: string;
|
|
932
932
|
sessions: {
|
|
933
|
-
status: "
|
|
933
|
+
status: "FULL" | "OPEN" | "CLOSED" | "UNKNOWN";
|
|
934
934
|
title: string;
|
|
935
935
|
sessionRef: string;
|
|
936
936
|
startText: string;
|
|
937
|
-
location?: string | undefined;
|
|
938
937
|
remainingQuota?: number | undefined;
|
|
939
938
|
endText?: string | undefined;
|
|
939
|
+
location?: string | undefined;
|
|
940
940
|
}[];
|
|
941
941
|
guideSteps: string[];
|
|
942
942
|
conditions: string[];
|
|
943
943
|
description?: string | undefined;
|
|
944
944
|
subtitle?: string | undefined;
|
|
945
|
-
presentation?: "detail" | "schedule" | "guide" | undefined;
|
|
946
|
-
notice?: string | undefined;
|
|
947
|
-
location?: string | undefined;
|
|
948
945
|
coverUrl?: string | undefined;
|
|
949
946
|
jumpOnly?: boolean | undefined;
|
|
950
947
|
jumpLabel?: string | undefined;
|
|
951
|
-
remainingQuota?: number | undefined;
|
|
952
|
-
periodText?: string | undefined;
|
|
953
948
|
categoryName?: string | undefined;
|
|
949
|
+
remainingQuota?: number | undefined;
|
|
954
950
|
registrationUrl?: string | undefined;
|
|
951
|
+
periodText?: string | undefined;
|
|
952
|
+
location?: string | undefined;
|
|
953
|
+
notice?: string | undefined;
|
|
955
954
|
guideItems?: {
|
|
956
955
|
title: string;
|
|
957
956
|
description?: string | undefined;
|
|
958
957
|
}[] | 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<{
|
|
@@ -991,8 +991,8 @@ declare const promotionCards: {
|
|
|
991
991
|
label: string;
|
|
992
992
|
}>]>, "many">>;
|
|
993
993
|
}, "strip", zod.ZodTypeAny, {
|
|
994
|
-
name: string;
|
|
995
994
|
categoryId: string;
|
|
995
|
+
name: string;
|
|
996
996
|
itemActions?: ({
|
|
997
997
|
kind: "send";
|
|
998
998
|
label: string;
|
|
@@ -1005,8 +1005,8 @@ declare const promotionCards: {
|
|
|
1005
1005
|
})[] | undefined;
|
|
1006
1006
|
parentId?: string | undefined;
|
|
1007
1007
|
}, {
|
|
1008
|
-
name: string;
|
|
1009
1008
|
categoryId: string;
|
|
1009
|
+
name: string;
|
|
1010
1010
|
itemActions?: ({
|
|
1011
1011
|
kind: "send";
|
|
1012
1012
|
label: string;
|
|
@@ -1022,8 +1022,8 @@ declare const promotionCards: {
|
|
|
1022
1022
|
noResultsReason: zod.ZodOptional<zod.ZodString>;
|
|
1023
1023
|
}, "strip", zod.ZodTypeAny, {
|
|
1024
1024
|
items: {
|
|
1025
|
-
name: string;
|
|
1026
1025
|
categoryId: string;
|
|
1026
|
+
name: string;
|
|
1027
1027
|
itemActions?: ({
|
|
1028
1028
|
kind: "send";
|
|
1029
1029
|
label: string;
|
|
@@ -1039,8 +1039,8 @@ declare const promotionCards: {
|
|
|
1039
1039
|
noResultsReason?: string | undefined;
|
|
1040
1040
|
}, {
|
|
1041
1041
|
items: {
|
|
1042
|
-
name: string;
|
|
1043
1042
|
categoryId: string;
|
|
1043
|
+
name: string;
|
|
1044
1044
|
itemActions?: ({
|
|
1045
1045
|
kind: "send";
|
|
1046
1046
|
label: string;
|
|
@@ -1116,50 +1116,29 @@ declare const promotionCards: {
|
|
|
1116
1116
|
tags: zod.ZodArray<zod.ZodString, "many">;
|
|
1117
1117
|
}, "strip", zod.ZodTypeAny, {
|
|
1118
1118
|
title: string;
|
|
1119
|
-
offerRef: string;
|
|
1120
1119
|
offerType: "COUPON" | "BUNDLE" | "PROMOTION" | "ACTIVITY" | "GROUPON";
|
|
1120
|
+
offerRef: string;
|
|
1121
1121
|
claimable: boolean;
|
|
1122
1122
|
tags: string[];
|
|
1123
1123
|
subtitle?: string | undefined;
|
|
1124
|
-
imageUrl?: string | undefined;
|
|
1125
|
-
usageTimeText?: string | undefined;
|
|
1126
|
-
purchaseUrl?: string | undefined;
|
|
1127
|
-
freeCouponClaimMode?: "DIRECT" | "REDIRECT" | undefined;
|
|
1128
|
-
itemActions?: ({
|
|
1129
|
-
kind: "send";
|
|
1130
|
-
label: string;
|
|
1131
|
-
value?: string | undefined;
|
|
1132
|
-
visibleValue?: string | undefined;
|
|
1133
|
-
} | {
|
|
1134
|
-
url: string;
|
|
1135
|
-
kind: "link";
|
|
1136
|
-
label: string;
|
|
1137
|
-
})[] | undefined;
|
|
1138
1124
|
benefitText?: string | undefined;
|
|
1139
1125
|
thresholdText?: string | undefined;
|
|
1140
1126
|
priceText?: string | undefined;
|
|
1141
1127
|
originalPriceText?: string | undefined;
|
|
1142
1128
|
discountLabel?: string | undefined;
|
|
1143
1129
|
claimActionLabel?: string | undefined;
|
|
1130
|
+
purchaseUrl?: string | undefined;
|
|
1131
|
+
freeCouponClaimMode?: "DIRECT" | "REDIRECT" | undefined;
|
|
1144
1132
|
stockText?: string | undefined;
|
|
1145
1133
|
usageNoticeText?: string | undefined;
|
|
1146
|
-
guaranteeText?: string | undefined;
|
|
1147
1134
|
usageSceneText?: string | undefined;
|
|
1135
|
+
usageTimeText?: string | undefined;
|
|
1148
1136
|
claimTimeText?: string | undefined;
|
|
1149
1137
|
usageRuleText?: string | undefined;
|
|
1150
|
-
|
|
1138
|
+
guaranteeText?: string | undefined;
|
|
1151
1139
|
validityText?: string | undefined;
|
|
1152
|
-
}, {
|
|
1153
|
-
title: string;
|
|
1154
|
-
offerRef: string;
|
|
1155
|
-
offerType: "COUPON" | "BUNDLE" | "PROMOTION" | "ACTIVITY" | "GROUPON";
|
|
1156
|
-
claimable: boolean;
|
|
1157
|
-
tags: string[];
|
|
1158
|
-
subtitle?: string | undefined;
|
|
1159
1140
|
imageUrl?: string | undefined;
|
|
1160
|
-
|
|
1161
|
-
purchaseUrl?: string | undefined;
|
|
1162
|
-
freeCouponClaimMode?: "DIRECT" | "REDIRECT" | undefined;
|
|
1141
|
+
availabilityStatus?: "AVAILABLE" | "UNKNOWN" | "UNAVAILABLE" | "REQUIRES_ACTION" | undefined;
|
|
1163
1142
|
itemActions?: ({
|
|
1164
1143
|
kind: "send";
|
|
1165
1144
|
label: string;
|
|
@@ -1170,107 +1149,128 @@ declare const promotionCards: {
|
|
|
1170
1149
|
kind: "link";
|
|
1171
1150
|
label: string;
|
|
1172
1151
|
})[] | undefined;
|
|
1152
|
+
}, {
|
|
1153
|
+
title: string;
|
|
1154
|
+
offerType: "COUPON" | "BUNDLE" | "PROMOTION" | "ACTIVITY" | "GROUPON";
|
|
1155
|
+
offerRef: string;
|
|
1156
|
+
claimable: boolean;
|
|
1157
|
+
tags: string[];
|
|
1158
|
+
subtitle?: string | undefined;
|
|
1173
1159
|
benefitText?: string | undefined;
|
|
1174
1160
|
thresholdText?: string | undefined;
|
|
1175
1161
|
priceText?: string | undefined;
|
|
1176
1162
|
originalPriceText?: string | undefined;
|
|
1177
1163
|
discountLabel?: string | undefined;
|
|
1178
1164
|
claimActionLabel?: string | undefined;
|
|
1165
|
+
purchaseUrl?: string | undefined;
|
|
1166
|
+
freeCouponClaimMode?: "DIRECT" | "REDIRECT" | undefined;
|
|
1179
1167
|
stockText?: string | undefined;
|
|
1180
1168
|
usageNoticeText?: string | undefined;
|
|
1181
|
-
guaranteeText?: string | undefined;
|
|
1182
1169
|
usageSceneText?: string | undefined;
|
|
1170
|
+
usageTimeText?: string | undefined;
|
|
1183
1171
|
claimTimeText?: string | undefined;
|
|
1184
1172
|
usageRuleText?: string | undefined;
|
|
1185
|
-
|
|
1173
|
+
guaranteeText?: string | undefined;
|
|
1186
1174
|
validityText?: string | undefined;
|
|
1175
|
+
imageUrl?: string | undefined;
|
|
1176
|
+
availabilityStatus?: "AVAILABLE" | "UNKNOWN" | "UNAVAILABLE" | "REQUIRES_ACTION" | undefined;
|
|
1177
|
+
itemActions?: ({
|
|
1178
|
+
kind: "send";
|
|
1179
|
+
label: string;
|
|
1180
|
+
value?: string | undefined;
|
|
1181
|
+
visibleValue?: string | undefined;
|
|
1182
|
+
} | {
|
|
1183
|
+
url: string;
|
|
1184
|
+
kind: "link";
|
|
1185
|
+
label: string;
|
|
1186
|
+
})[] | undefined;
|
|
1187
1187
|
}>, "many">>;
|
|
1188
1188
|
message: zod.ZodOptional<zod.ZodString>;
|
|
1189
1189
|
}, "strip", zod.ZodTypeAny, {
|
|
1190
|
-
authoritative: boolean;
|
|
1191
1190
|
originalAmountCents: number;
|
|
1191
|
+
authoritative: boolean;
|
|
1192
1192
|
appliedOfferRefs: string[];
|
|
1193
1193
|
message?: string | undefined;
|
|
1194
1194
|
savingsCents?: number | undefined;
|
|
1195
1195
|
expectedPayCents?: number | undefined;
|
|
1196
1196
|
candidates?: {
|
|
1197
1197
|
title: string;
|
|
1198
|
-
offerRef: string;
|
|
1199
1198
|
offerType: "COUPON" | "BUNDLE" | "PROMOTION" | "ACTIVITY" | "GROUPON";
|
|
1199
|
+
offerRef: string;
|
|
1200
1200
|
claimable: boolean;
|
|
1201
1201
|
tags: string[];
|
|
1202
1202
|
subtitle?: string | undefined;
|
|
1203
|
-
imageUrl?: string | undefined;
|
|
1204
|
-
usageTimeText?: string | undefined;
|
|
1205
|
-
purchaseUrl?: string | undefined;
|
|
1206
|
-
freeCouponClaimMode?: "DIRECT" | "REDIRECT" | undefined;
|
|
1207
|
-
itemActions?: ({
|
|
1208
|
-
kind: "send";
|
|
1209
|
-
label: string;
|
|
1210
|
-
value?: string | undefined;
|
|
1211
|
-
visibleValue?: string | undefined;
|
|
1212
|
-
} | {
|
|
1213
|
-
url: string;
|
|
1214
|
-
kind: "link";
|
|
1215
|
-
label: string;
|
|
1216
|
-
})[] | undefined;
|
|
1217
1203
|
benefitText?: string | undefined;
|
|
1218
1204
|
thresholdText?: string | undefined;
|
|
1219
1205
|
priceText?: string | undefined;
|
|
1220
1206
|
originalPriceText?: string | undefined;
|
|
1221
1207
|
discountLabel?: string | undefined;
|
|
1222
1208
|
claimActionLabel?: string | undefined;
|
|
1209
|
+
purchaseUrl?: string | undefined;
|
|
1210
|
+
freeCouponClaimMode?: "DIRECT" | "REDIRECT" | undefined;
|
|
1223
1211
|
stockText?: string | undefined;
|
|
1224
1212
|
usageNoticeText?: string | undefined;
|
|
1225
|
-
guaranteeText?: string | undefined;
|
|
1226
1213
|
usageSceneText?: string | undefined;
|
|
1214
|
+
usageTimeText?: string | undefined;
|
|
1227
1215
|
claimTimeText?: string | undefined;
|
|
1228
1216
|
usageRuleText?: string | undefined;
|
|
1229
|
-
|
|
1217
|
+
guaranteeText?: string | undefined;
|
|
1230
1218
|
validityText?: string | undefined;
|
|
1219
|
+
imageUrl?: string | undefined;
|
|
1220
|
+
availabilityStatus?: "AVAILABLE" | "UNKNOWN" | "UNAVAILABLE" | "REQUIRES_ACTION" | undefined;
|
|
1221
|
+
itemActions?: ({
|
|
1222
|
+
kind: "send";
|
|
1223
|
+
label: string;
|
|
1224
|
+
value?: string | undefined;
|
|
1225
|
+
visibleValue?: string | undefined;
|
|
1226
|
+
} | {
|
|
1227
|
+
url: string;
|
|
1228
|
+
kind: "link";
|
|
1229
|
+
label: string;
|
|
1230
|
+
})[] | undefined;
|
|
1231
1231
|
}[] | undefined;
|
|
1232
1232
|
}, {
|
|
1233
|
-
authoritative: boolean;
|
|
1234
1233
|
originalAmountCents: number;
|
|
1234
|
+
authoritative: boolean;
|
|
1235
1235
|
appliedOfferRefs: string[];
|
|
1236
1236
|
message?: string | undefined;
|
|
1237
1237
|
savingsCents?: number | undefined;
|
|
1238
1238
|
expectedPayCents?: number | undefined;
|
|
1239
1239
|
candidates?: {
|
|
1240
1240
|
title: string;
|
|
1241
|
-
offerRef: string;
|
|
1242
1241
|
offerType: "COUPON" | "BUNDLE" | "PROMOTION" | "ACTIVITY" | "GROUPON";
|
|
1242
|
+
offerRef: string;
|
|
1243
1243
|
claimable: boolean;
|
|
1244
1244
|
tags: string[];
|
|
1245
1245
|
subtitle?: string | undefined;
|
|
1246
|
-
imageUrl?: string | undefined;
|
|
1247
|
-
usageTimeText?: string | undefined;
|
|
1248
|
-
purchaseUrl?: string | undefined;
|
|
1249
|
-
freeCouponClaimMode?: "DIRECT" | "REDIRECT" | undefined;
|
|
1250
|
-
itemActions?: ({
|
|
1251
|
-
kind: "send";
|
|
1252
|
-
label: string;
|
|
1253
|
-
value?: string | undefined;
|
|
1254
|
-
visibleValue?: string | undefined;
|
|
1255
|
-
} | {
|
|
1256
|
-
url: string;
|
|
1257
|
-
kind: "link";
|
|
1258
|
-
label: string;
|
|
1259
|
-
})[] | undefined;
|
|
1260
1246
|
benefitText?: string | undefined;
|
|
1261
1247
|
thresholdText?: string | undefined;
|
|
1262
1248
|
priceText?: string | undefined;
|
|
1263
1249
|
originalPriceText?: string | undefined;
|
|
1264
1250
|
discountLabel?: string | undefined;
|
|
1265
1251
|
claimActionLabel?: string | undefined;
|
|
1252
|
+
purchaseUrl?: string | undefined;
|
|
1253
|
+
freeCouponClaimMode?: "DIRECT" | "REDIRECT" | undefined;
|
|
1266
1254
|
stockText?: string | undefined;
|
|
1267
1255
|
usageNoticeText?: string | undefined;
|
|
1268
|
-
guaranteeText?: string | undefined;
|
|
1269
1256
|
usageSceneText?: string | undefined;
|
|
1257
|
+
usageTimeText?: string | undefined;
|
|
1270
1258
|
claimTimeText?: string | undefined;
|
|
1271
1259
|
usageRuleText?: string | undefined;
|
|
1272
|
-
|
|
1260
|
+
guaranteeText?: string | undefined;
|
|
1273
1261
|
validityText?: string | undefined;
|
|
1262
|
+
imageUrl?: string | undefined;
|
|
1263
|
+
availabilityStatus?: "AVAILABLE" | "UNKNOWN" | "UNAVAILABLE" | "REQUIRES_ACTION" | undefined;
|
|
1264
|
+
itemActions?: ({
|
|
1265
|
+
kind: "send";
|
|
1266
|
+
label: string;
|
|
1267
|
+
value?: string | undefined;
|
|
1268
|
+
visibleValue?: string | undefined;
|
|
1269
|
+
} | {
|
|
1270
|
+
url: string;
|
|
1271
|
+
kind: "link";
|
|
1272
|
+
label: string;
|
|
1273
|
+
})[] | undefined;
|
|
1274
1274
|
}[] | undefined;
|
|
1275
1275
|
}>>;
|
|
1276
1276
|
};
|
|
@@ -1341,50 +1341,29 @@ declare const serverModule: {
|
|
|
1341
1341
|
tags: zod.ZodArray<zod.ZodString, "many">;
|
|
1342
1342
|
}, "strip", zod.ZodTypeAny, {
|
|
1343
1343
|
title: string;
|
|
1344
|
-
offerRef: string;
|
|
1345
1344
|
offerType: "COUPON" | "BUNDLE" | "PROMOTION" | "ACTIVITY" | "GROUPON";
|
|
1345
|
+
offerRef: string;
|
|
1346
1346
|
claimable: boolean;
|
|
1347
1347
|
tags: string[];
|
|
1348
1348
|
subtitle?: string | undefined;
|
|
1349
|
-
imageUrl?: string | undefined;
|
|
1350
|
-
usageTimeText?: string | undefined;
|
|
1351
|
-
purchaseUrl?: string | undefined;
|
|
1352
|
-
freeCouponClaimMode?: "DIRECT" | "REDIRECT" | undefined;
|
|
1353
|
-
itemActions?: ({
|
|
1354
|
-
kind: "send";
|
|
1355
|
-
label: string;
|
|
1356
|
-
value?: string | undefined;
|
|
1357
|
-
visibleValue?: string | undefined;
|
|
1358
|
-
} | {
|
|
1359
|
-
url: string;
|
|
1360
|
-
kind: "link";
|
|
1361
|
-
label: string;
|
|
1362
|
-
})[] | undefined;
|
|
1363
1349
|
benefitText?: string | undefined;
|
|
1364
1350
|
thresholdText?: string | undefined;
|
|
1365
1351
|
priceText?: string | undefined;
|
|
1366
1352
|
originalPriceText?: string | undefined;
|
|
1367
1353
|
discountLabel?: string | undefined;
|
|
1368
1354
|
claimActionLabel?: string | undefined;
|
|
1355
|
+
purchaseUrl?: string | undefined;
|
|
1356
|
+
freeCouponClaimMode?: "DIRECT" | "REDIRECT" | undefined;
|
|
1369
1357
|
stockText?: string | undefined;
|
|
1370
1358
|
usageNoticeText?: string | undefined;
|
|
1371
|
-
guaranteeText?: string | undefined;
|
|
1372
1359
|
usageSceneText?: string | undefined;
|
|
1360
|
+
usageTimeText?: string | undefined;
|
|
1373
1361
|
claimTimeText?: string | undefined;
|
|
1374
1362
|
usageRuleText?: string | undefined;
|
|
1375
|
-
|
|
1363
|
+
guaranteeText?: string | undefined;
|
|
1376
1364
|
validityText?: string | undefined;
|
|
1377
|
-
|
|
1378
|
-
|
|
1379
|
-
offerRef: string;
|
|
1380
|
-
offerType: "COUPON" | "BUNDLE" | "PROMOTION" | "ACTIVITY" | "GROUPON";
|
|
1381
|
-
claimable: boolean;
|
|
1382
|
-
tags: string[];
|
|
1383
|
-
subtitle?: string | undefined;
|
|
1384
|
-
imageUrl?: string | undefined;
|
|
1385
|
-
usageTimeText?: string | undefined;
|
|
1386
|
-
purchaseUrl?: string | undefined;
|
|
1387
|
-
freeCouponClaimMode?: "DIRECT" | "REDIRECT" | undefined;
|
|
1365
|
+
imageUrl?: string | undefined;
|
|
1366
|
+
availabilityStatus?: "AVAILABLE" | "UNKNOWN" | "UNAVAILABLE" | "REQUIRES_ACTION" | undefined;
|
|
1388
1367
|
itemActions?: ({
|
|
1389
1368
|
kind: "send";
|
|
1390
1369
|
label: string;
|
|
@@ -1395,36 +1374,31 @@ declare const serverModule: {
|
|
|
1395
1374
|
kind: "link";
|
|
1396
1375
|
label: string;
|
|
1397
1376
|
})[] | undefined;
|
|
1377
|
+
}, {
|
|
1378
|
+
title: string;
|
|
1379
|
+
offerType: "COUPON" | "BUNDLE" | "PROMOTION" | "ACTIVITY" | "GROUPON";
|
|
1380
|
+
offerRef: string;
|
|
1381
|
+
claimable: boolean;
|
|
1382
|
+
tags: string[];
|
|
1383
|
+
subtitle?: string | undefined;
|
|
1398
1384
|
benefitText?: string | undefined;
|
|
1399
1385
|
thresholdText?: string | undefined;
|
|
1400
1386
|
priceText?: string | undefined;
|
|
1401
1387
|
originalPriceText?: string | undefined;
|
|
1402
1388
|
discountLabel?: string | undefined;
|
|
1403
1389
|
claimActionLabel?: string | undefined;
|
|
1390
|
+
purchaseUrl?: string | undefined;
|
|
1391
|
+
freeCouponClaimMode?: "DIRECT" | "REDIRECT" | undefined;
|
|
1404
1392
|
stockText?: string | undefined;
|
|
1405
1393
|
usageNoticeText?: string | undefined;
|
|
1406
|
-
guaranteeText?: string | undefined;
|
|
1407
1394
|
usageSceneText?: string | undefined;
|
|
1395
|
+
usageTimeText?: string | undefined;
|
|
1408
1396
|
claimTimeText?: string | undefined;
|
|
1409
1397
|
usageRuleText?: string | undefined;
|
|
1410
|
-
|
|
1398
|
+
guaranteeText?: string | undefined;
|
|
1411
1399
|
validityText?: string | undefined;
|
|
1412
|
-
}>, "many">;
|
|
1413
|
-
noResultsReason: zod.ZodOptional<zod.ZodString>;
|
|
1414
|
-
nextCursor: zod.ZodOptional<zod.ZodString>;
|
|
1415
|
-
}, "strip", zod.ZodTypeAny, {
|
|
1416
|
-
mode: "search" | "claimable" | "recommend";
|
|
1417
|
-
items: {
|
|
1418
|
-
title: string;
|
|
1419
|
-
offerRef: string;
|
|
1420
|
-
offerType: "COUPON" | "BUNDLE" | "PROMOTION" | "ACTIVITY" | "GROUPON";
|
|
1421
|
-
claimable: boolean;
|
|
1422
|
-
tags: string[];
|
|
1423
|
-
subtitle?: string | undefined;
|
|
1424
1400
|
imageUrl?: string | undefined;
|
|
1425
|
-
|
|
1426
|
-
purchaseUrl?: string | undefined;
|
|
1427
|
-
freeCouponClaimMode?: "DIRECT" | "REDIRECT" | undefined;
|
|
1401
|
+
availabilityStatus?: "AVAILABLE" | "UNKNOWN" | "UNAVAILABLE" | "REQUIRES_ACTION" | undefined;
|
|
1428
1402
|
itemActions?: ({
|
|
1429
1403
|
kind: "send";
|
|
1430
1404
|
label: string;
|
|
@@ -1435,39 +1409,35 @@ declare const serverModule: {
|
|
|
1435
1409
|
kind: "link";
|
|
1436
1410
|
label: string;
|
|
1437
1411
|
})[] | undefined;
|
|
1412
|
+
}>, "many">;
|
|
1413
|
+
noResultsReason: zod.ZodOptional<zod.ZodString>;
|
|
1414
|
+
nextCursor: zod.ZodOptional<zod.ZodString>;
|
|
1415
|
+
}, "strip", zod.ZodTypeAny, {
|
|
1416
|
+
items: {
|
|
1417
|
+
title: string;
|
|
1418
|
+
offerType: "COUPON" | "BUNDLE" | "PROMOTION" | "ACTIVITY" | "GROUPON";
|
|
1419
|
+
offerRef: string;
|
|
1420
|
+
claimable: boolean;
|
|
1421
|
+
tags: string[];
|
|
1422
|
+
subtitle?: string | undefined;
|
|
1438
1423
|
benefitText?: string | undefined;
|
|
1439
1424
|
thresholdText?: string | undefined;
|
|
1440
1425
|
priceText?: string | undefined;
|
|
1441
1426
|
originalPriceText?: string | undefined;
|
|
1442
1427
|
discountLabel?: string | undefined;
|
|
1443
1428
|
claimActionLabel?: string | undefined;
|
|
1429
|
+
purchaseUrl?: string | undefined;
|
|
1430
|
+
freeCouponClaimMode?: "DIRECT" | "REDIRECT" | undefined;
|
|
1444
1431
|
stockText?: string | undefined;
|
|
1445
1432
|
usageNoticeText?: string | undefined;
|
|
1446
|
-
guaranteeText?: string | undefined;
|
|
1447
1433
|
usageSceneText?: string | undefined;
|
|
1434
|
+
usageTimeText?: string | undefined;
|
|
1448
1435
|
claimTimeText?: string | undefined;
|
|
1449
1436
|
usageRuleText?: string | undefined;
|
|
1450
|
-
|
|
1437
|
+
guaranteeText?: string | undefined;
|
|
1451
1438
|
validityText?: string | undefined;
|
|
1452
|
-
}[];
|
|
1453
|
-
presentation?: "coupon" | "promotion" | "recommendation" | "offer" | undefined;
|
|
1454
|
-
summary?: string | undefined;
|
|
1455
|
-
noResultsReason?: string | undefined;
|
|
1456
|
-
maxItems?: number | undefined;
|
|
1457
|
-
nextCursor?: string | undefined;
|
|
1458
|
-
}, {
|
|
1459
|
-
mode: "search" | "claimable" | "recommend";
|
|
1460
|
-
items: {
|
|
1461
|
-
title: string;
|
|
1462
|
-
offerRef: string;
|
|
1463
|
-
offerType: "COUPON" | "BUNDLE" | "PROMOTION" | "ACTIVITY" | "GROUPON";
|
|
1464
|
-
claimable: boolean;
|
|
1465
|
-
tags: string[];
|
|
1466
|
-
subtitle?: string | undefined;
|
|
1467
1439
|
imageUrl?: string | undefined;
|
|
1468
|
-
|
|
1469
|
-
purchaseUrl?: string | undefined;
|
|
1470
|
-
freeCouponClaimMode?: "DIRECT" | "REDIRECT" | undefined;
|
|
1440
|
+
availabilityStatus?: "AVAILABLE" | "UNKNOWN" | "UNAVAILABLE" | "REQUIRES_ACTION" | undefined;
|
|
1471
1441
|
itemActions?: ({
|
|
1472
1442
|
kind: "send";
|
|
1473
1443
|
label: string;
|
|
@@ -1478,26 +1448,56 @@ declare const serverModule: {
|
|
|
1478
1448
|
kind: "link";
|
|
1479
1449
|
label: string;
|
|
1480
1450
|
})[] | undefined;
|
|
1451
|
+
}[];
|
|
1452
|
+
mode: "search" | "claimable" | "recommend";
|
|
1453
|
+
noResultsReason?: string | undefined;
|
|
1454
|
+
nextCursor?: string | undefined;
|
|
1455
|
+
presentation?: "coupon" | "offer" | "promotion" | "recommendation" | undefined;
|
|
1456
|
+
summary?: string | undefined;
|
|
1457
|
+
maxItems?: number | undefined;
|
|
1458
|
+
}, {
|
|
1459
|
+
items: {
|
|
1460
|
+
title: string;
|
|
1461
|
+
offerType: "COUPON" | "BUNDLE" | "PROMOTION" | "ACTIVITY" | "GROUPON";
|
|
1462
|
+
offerRef: string;
|
|
1463
|
+
claimable: boolean;
|
|
1464
|
+
tags: string[];
|
|
1465
|
+
subtitle?: string | undefined;
|
|
1481
1466
|
benefitText?: string | undefined;
|
|
1482
1467
|
thresholdText?: string | undefined;
|
|
1483
1468
|
priceText?: string | undefined;
|
|
1484
1469
|
originalPriceText?: string | undefined;
|
|
1485
1470
|
discountLabel?: string | undefined;
|
|
1486
1471
|
claimActionLabel?: string | undefined;
|
|
1472
|
+
purchaseUrl?: string | undefined;
|
|
1473
|
+
freeCouponClaimMode?: "DIRECT" | "REDIRECT" | undefined;
|
|
1487
1474
|
stockText?: string | undefined;
|
|
1488
1475
|
usageNoticeText?: string | undefined;
|
|
1489
|
-
guaranteeText?: string | undefined;
|
|
1490
1476
|
usageSceneText?: string | undefined;
|
|
1477
|
+
usageTimeText?: string | undefined;
|
|
1491
1478
|
claimTimeText?: string | undefined;
|
|
1492
1479
|
usageRuleText?: string | undefined;
|
|
1493
|
-
|
|
1480
|
+
guaranteeText?: string | undefined;
|
|
1494
1481
|
validityText?: string | undefined;
|
|
1482
|
+
imageUrl?: string | undefined;
|
|
1483
|
+
availabilityStatus?: "AVAILABLE" | "UNKNOWN" | "UNAVAILABLE" | "REQUIRES_ACTION" | undefined;
|
|
1484
|
+
itemActions?: ({
|
|
1485
|
+
kind: "send";
|
|
1486
|
+
label: string;
|
|
1487
|
+
value?: string | undefined;
|
|
1488
|
+
visibleValue?: string | undefined;
|
|
1489
|
+
} | {
|
|
1490
|
+
url: string;
|
|
1491
|
+
kind: "link";
|
|
1492
|
+
label: string;
|
|
1493
|
+
})[] | undefined;
|
|
1495
1494
|
}[];
|
|
1496
|
-
|
|
1497
|
-
summary?: string | undefined;
|
|
1495
|
+
mode: "search" | "claimable" | "recommend";
|
|
1498
1496
|
noResultsReason?: string | undefined;
|
|
1499
|
-
maxItems?: number | undefined;
|
|
1500
1497
|
nextCursor?: string | undefined;
|
|
1498
|
+
presentation?: "coupon" | "offer" | "promotion" | "recommendation" | undefined;
|
|
1499
|
+
summary?: string | undefined;
|
|
1500
|
+
maxItems?: number | 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
|
-
address?: string | undefined;
|
|
1549
1548
|
businessName?: string | undefined;
|
|
1549
|
+
address?: string | undefined;
|
|
1550
1550
|
floor?: string | undefined;
|
|
1551
1551
|
}, {
|
|
1552
1552
|
storeId: string;
|
|
1553
1553
|
storeName: string;
|
|
1554
|
-
address?: string | undefined;
|
|
1555
1554
|
businessName?: string | undefined;
|
|
1555
|
+
address?: string | undefined;
|
|
1556
1556
|
floor?: string | undefined;
|
|
1557
1557
|
}>, "many">>;
|
|
1558
1558
|
bundleItems: zod.ZodOptional<zod.ZodArray<zod.ZodObject<{
|
|
@@ -1570,42 +1570,37 @@ declare const serverModule: {
|
|
|
1570
1570
|
caveats: zod.ZodArray<zod.ZodString, "many">;
|
|
1571
1571
|
}, "strip", zod.ZodTypeAny, {
|
|
1572
1572
|
title: string;
|
|
1573
|
+
offerType: "COUPON" | "BUNDLE" | "PROMOTION" | "ACTIVITY" | "GROUPON";
|
|
1573
1574
|
offerRef: string;
|
|
1574
1575
|
caveats: string[];
|
|
1575
|
-
offerType: "COUPON" | "BUNDLE" | "PROMOTION" | "ACTIVITY" | "GROUPON";
|
|
1576
1576
|
claimable: boolean;
|
|
1577
1577
|
rules: string[];
|
|
1578
1578
|
description?: string | undefined;
|
|
1579
1579
|
subtitle?: string | undefined;
|
|
1580
|
-
presentation?: "package" | "coupon" | "promotion" | "offer" | "promotion-guide" | undefined;
|
|
1581
|
-
steps?: {
|
|
1582
|
-
title: string;
|
|
1583
|
-
description?: string | undefined;
|
|
1584
|
-
}[] | undefined;
|
|
1585
1580
|
notice?: string | undefined;
|
|
1586
|
-
|
|
1587
|
-
usageTimeText?: string | undefined;
|
|
1588
|
-
purchaseUrl?: string | undefined;
|
|
1581
|
+
presentation?: "coupon" | "offer" | "promotion" | "promotion-guide" | "package" | undefined;
|
|
1589
1582
|
benefitText?: string | undefined;
|
|
1590
1583
|
thresholdText?: string | undefined;
|
|
1591
1584
|
priceText?: string | undefined;
|
|
1592
1585
|
originalPriceText?: string | undefined;
|
|
1593
1586
|
discountLabel?: string | undefined;
|
|
1594
1587
|
claimActionLabel?: string | undefined;
|
|
1588
|
+
purchaseUrl?: string | undefined;
|
|
1595
1589
|
stockText?: string | undefined;
|
|
1596
1590
|
usageNoticeText?: string | undefined;
|
|
1597
|
-
guaranteeText?: string | undefined;
|
|
1598
1591
|
usageSceneText?: string | undefined;
|
|
1592
|
+
usageTimeText?: string | undefined;
|
|
1599
1593
|
claimTimeText?: string | undefined;
|
|
1600
1594
|
usageRuleText?: string | undefined;
|
|
1595
|
+
guaranteeText?: string | undefined;
|
|
1601
1596
|
validityText?: string | undefined;
|
|
1597
|
+
imageUrl?: string | undefined;
|
|
1602
1598
|
participationMode?: "UNKNOWN" | "AUTOMATIC_DISCOUNT" | "CLAIM_THEN_PURCHASE" | "REGISTER_THEN_ATTEND" | "GROUP_PURCHASE" | undefined;
|
|
1603
|
-
requirements?: string[] | undefined;
|
|
1604
1599
|
stores?: {
|
|
1605
1600
|
storeId: string;
|
|
1606
1601
|
storeName: string;
|
|
1607
|
-
address?: string | undefined;
|
|
1608
1602
|
businessName?: string | undefined;
|
|
1603
|
+
address?: string | undefined;
|
|
1609
1604
|
floor?: string | undefined;
|
|
1610
1605
|
}[] | undefined;
|
|
1611
1606
|
bundleItems?: {
|
|
@@ -1613,44 +1608,44 @@ declare const serverModule: {
|
|
|
1613
1608
|
quantity: number;
|
|
1614
1609
|
}[] | undefined;
|
|
1615
1610
|
unavailableReason?: string | undefined;
|
|
1611
|
+
steps?: {
|
|
1612
|
+
title: string;
|
|
1613
|
+
description?: string | undefined;
|
|
1614
|
+
}[] | undefined;
|
|
1615
|
+
requirements?: string[] | undefined;
|
|
1616
1616
|
}, {
|
|
1617
1617
|
title: string;
|
|
1618
|
+
offerType: "COUPON" | "BUNDLE" | "PROMOTION" | "ACTIVITY" | "GROUPON";
|
|
1618
1619
|
offerRef: string;
|
|
1619
1620
|
caveats: string[];
|
|
1620
|
-
offerType: "COUPON" | "BUNDLE" | "PROMOTION" | "ACTIVITY" | "GROUPON";
|
|
1621
1621
|
claimable: boolean;
|
|
1622
1622
|
rules: string[];
|
|
1623
1623
|
description?: string | undefined;
|
|
1624
1624
|
subtitle?: string | undefined;
|
|
1625
|
-
presentation?: "package" | "coupon" | "promotion" | "offer" | "promotion-guide" | undefined;
|
|
1626
|
-
steps?: {
|
|
1627
|
-
title: string;
|
|
1628
|
-
description?: string | undefined;
|
|
1629
|
-
}[] | undefined;
|
|
1630
1625
|
notice?: string | undefined;
|
|
1631
|
-
|
|
1632
|
-
usageTimeText?: string | undefined;
|
|
1633
|
-
purchaseUrl?: string | undefined;
|
|
1626
|
+
presentation?: "coupon" | "offer" | "promotion" | "promotion-guide" | "package" | undefined;
|
|
1634
1627
|
benefitText?: string | undefined;
|
|
1635
1628
|
thresholdText?: string | undefined;
|
|
1636
1629
|
priceText?: string | undefined;
|
|
1637
1630
|
originalPriceText?: string | undefined;
|
|
1638
1631
|
discountLabel?: string | undefined;
|
|
1639
1632
|
claimActionLabel?: string | undefined;
|
|
1633
|
+
purchaseUrl?: string | undefined;
|
|
1640
1634
|
stockText?: string | undefined;
|
|
1641
1635
|
usageNoticeText?: string | undefined;
|
|
1642
|
-
guaranteeText?: string | undefined;
|
|
1643
1636
|
usageSceneText?: string | undefined;
|
|
1637
|
+
usageTimeText?: string | undefined;
|
|
1644
1638
|
claimTimeText?: string | undefined;
|
|
1645
1639
|
usageRuleText?: string | undefined;
|
|
1640
|
+
guaranteeText?: string | undefined;
|
|
1646
1641
|
validityText?: string | undefined;
|
|
1642
|
+
imageUrl?: string | undefined;
|
|
1647
1643
|
participationMode?: "UNKNOWN" | "AUTOMATIC_DISCOUNT" | "CLAIM_THEN_PURCHASE" | "REGISTER_THEN_ATTEND" | "GROUP_PURCHASE" | undefined;
|
|
1648
|
-
requirements?: string[] | undefined;
|
|
1649
1644
|
stores?: {
|
|
1650
1645
|
storeId: string;
|
|
1651
1646
|
storeName: string;
|
|
1652
|
-
address?: string | undefined;
|
|
1653
1647
|
businessName?: string | undefined;
|
|
1648
|
+
address?: string | undefined;
|
|
1654
1649
|
floor?: string | undefined;
|
|
1655
1650
|
}[] | undefined;
|
|
1656
1651
|
bundleItems?: {
|
|
@@ -1658,6 +1653,11 @@ declare const serverModule: {
|
|
|
1658
1653
|
quantity: number;
|
|
1659
1654
|
}[] | undefined;
|
|
1660
1655
|
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>;
|
|
@@ -1722,69 +1722,51 @@ declare const serverModule: {
|
|
|
1722
1722
|
}, "strip", zod.ZodTypeAny, {
|
|
1723
1723
|
storeId: string;
|
|
1724
1724
|
storeName: string;
|
|
1725
|
-
latitude?: number | undefined;
|
|
1726
|
-
longitude?: number | undefined;
|
|
1727
1725
|
imageUrl?: string | undefined;
|
|
1728
|
-
address?: string | undefined;
|
|
1729
1726
|
businessName?: string | undefined;
|
|
1727
|
+
address?: string | undefined;
|
|
1730
1728
|
floor?: string | undefined;
|
|
1729
|
+
latitude?: number | undefined;
|
|
1730
|
+
longitude?: number | undefined;
|
|
1731
1731
|
}, {
|
|
1732
1732
|
storeId: string;
|
|
1733
1733
|
storeName: string;
|
|
1734
|
-
latitude?: number | undefined;
|
|
1735
|
-
longitude?: number | undefined;
|
|
1736
1734
|
imageUrl?: string | undefined;
|
|
1737
|
-
address?: string | undefined;
|
|
1738
1735
|
businessName?: string | undefined;
|
|
1736
|
+
address?: string | undefined;
|
|
1739
1737
|
floor?: string | undefined;
|
|
1738
|
+
latitude?: number | undefined;
|
|
1739
|
+
longitude?: number | undefined;
|
|
1740
1740
|
}>, "many">>;
|
|
1741
1741
|
}, "strip", zod.ZodTypeAny, {
|
|
1742
|
-
status: "UNKNOWN" | "
|
|
1742
|
+
status: "UNKNOWN" | "EFFECTIVE" | "USED" | "EXPIRED" | "INVALID";
|
|
1743
1743
|
title: string;
|
|
1744
1744
|
entitlementRef: string;
|
|
1745
1745
|
entitlementType: "COUPON" | "BUNDLE" | "PROMOTION" | "ACTIVITY" | "GROUPON";
|
|
1746
1746
|
code?: string | undefined;
|
|
1747
|
-
imageUrl?: string | undefined;
|
|
1748
|
-
usageTimeText?: string | undefined;
|
|
1749
|
-
itemActions?: ({
|
|
1750
|
-
kind: "send";
|
|
1751
|
-
label: string;
|
|
1752
|
-
value?: string | undefined;
|
|
1753
|
-
visibleValue?: string | undefined;
|
|
1754
|
-
} | {
|
|
1755
|
-
url: string;
|
|
1756
|
-
kind: "link";
|
|
1757
|
-
label: string;
|
|
1758
|
-
})[] | undefined;
|
|
1759
1747
|
benefitText?: string | undefined;
|
|
1760
1748
|
thresholdText?: string | undefined;
|
|
1761
|
-
guaranteeText?: string | undefined;
|
|
1762
1749
|
usageSceneText?: string | undefined;
|
|
1750
|
+
usageTimeText?: string | undefined;
|
|
1763
1751
|
claimTimeText?: string | undefined;
|
|
1764
1752
|
usageRuleText?: string | undefined;
|
|
1753
|
+
guaranteeText?: string | undefined;
|
|
1765
1754
|
validityText?: string | undefined;
|
|
1755
|
+
imageUrl?: string | undefined;
|
|
1766
1756
|
stores?: {
|
|
1767
1757
|
storeId: string;
|
|
1768
1758
|
storeName: string;
|
|
1769
|
-
latitude?: number | undefined;
|
|
1770
|
-
longitude?: number | undefined;
|
|
1771
1759
|
imageUrl?: string | undefined;
|
|
1772
|
-
address?: string | undefined;
|
|
1773
1760
|
businessName?: string | undefined;
|
|
1761
|
+
address?: string | undefined;
|
|
1774
1762
|
floor?: string | undefined;
|
|
1763
|
+
latitude?: number | undefined;
|
|
1764
|
+
longitude?: number | undefined;
|
|
1775
1765
|
}[] | undefined;
|
|
1776
1766
|
codeMasked?: string | undefined;
|
|
1777
1767
|
qrCodeEnabled?: boolean | undefined;
|
|
1778
1768
|
usageNotice?: string | undefined;
|
|
1779
1769
|
validUntilText?: string | undefined;
|
|
1780
|
-
}, {
|
|
1781
|
-
status: "UNKNOWN" | "USED" | "EXPIRED" | "EFFECTIVE" | "INVALID";
|
|
1782
|
-
title: string;
|
|
1783
|
-
entitlementRef: string;
|
|
1784
|
-
entitlementType: "COUPON" | "BUNDLE" | "PROMOTION" | "ACTIVITY" | "GROUPON";
|
|
1785
|
-
code?: string | undefined;
|
|
1786
|
-
imageUrl?: string | undefined;
|
|
1787
|
-
usageTimeText?: string | undefined;
|
|
1788
1770
|
itemActions?: ({
|
|
1789
1771
|
kind: "send";
|
|
1790
1772
|
label: string;
|
|
@@ -1795,39 +1777,35 @@ declare const serverModule: {
|
|
|
1795
1777
|
kind: "link";
|
|
1796
1778
|
label: string;
|
|
1797
1779
|
})[] | undefined;
|
|
1780
|
+
}, {
|
|
1781
|
+
status: "UNKNOWN" | "EFFECTIVE" | "USED" | "EXPIRED" | "INVALID";
|
|
1782
|
+
title: string;
|
|
1783
|
+
entitlementRef: string;
|
|
1784
|
+
entitlementType: "COUPON" | "BUNDLE" | "PROMOTION" | "ACTIVITY" | "GROUPON";
|
|
1785
|
+
code?: string | undefined;
|
|
1798
1786
|
benefitText?: string | undefined;
|
|
1799
1787
|
thresholdText?: string | undefined;
|
|
1800
|
-
guaranteeText?: string | undefined;
|
|
1801
1788
|
usageSceneText?: string | undefined;
|
|
1789
|
+
usageTimeText?: string | undefined;
|
|
1802
1790
|
claimTimeText?: string | undefined;
|
|
1803
1791
|
usageRuleText?: string | undefined;
|
|
1792
|
+
guaranteeText?: string | undefined;
|
|
1804
1793
|
validityText?: string | undefined;
|
|
1794
|
+
imageUrl?: string | undefined;
|
|
1805
1795
|
stores?: {
|
|
1806
1796
|
storeId: string;
|
|
1807
1797
|
storeName: string;
|
|
1808
|
-
latitude?: number | undefined;
|
|
1809
|
-
longitude?: number | undefined;
|
|
1810
1798
|
imageUrl?: string | undefined;
|
|
1811
|
-
address?: string | undefined;
|
|
1812
1799
|
businessName?: string | undefined;
|
|
1800
|
+
address?: string | undefined;
|
|
1813
1801
|
floor?: string | undefined;
|
|
1802
|
+
latitude?: number | undefined;
|
|
1803
|
+
longitude?: number | undefined;
|
|
1814
1804
|
}[] | undefined;
|
|
1815
1805
|
codeMasked?: string | undefined;
|
|
1816
1806
|
qrCodeEnabled?: boolean | undefined;
|
|
1817
1807
|
usageNotice?: string | undefined;
|
|
1818
1808
|
validUntilText?: string | undefined;
|
|
1819
|
-
}>, "many">;
|
|
1820
|
-
noResultsReason: zod.ZodOptional<zod.ZodString>;
|
|
1821
|
-
nextCursor: zod.ZodOptional<zod.ZodString>;
|
|
1822
|
-
}, "strip", zod.ZodTypeAny, {
|
|
1823
|
-
items: {
|
|
1824
|
-
status: "UNKNOWN" | "USED" | "EXPIRED" | "EFFECTIVE" | "INVALID";
|
|
1825
|
-
title: string;
|
|
1826
|
-
entitlementRef: string;
|
|
1827
|
-
entitlementType: "COUPON" | "BUNDLE" | "PROMOTION" | "ACTIVITY" | "GROUPON";
|
|
1828
|
-
code?: string | undefined;
|
|
1829
|
-
imageUrl?: string | undefined;
|
|
1830
|
-
usageTimeText?: string | undefined;
|
|
1831
1809
|
itemActions?: ({
|
|
1832
1810
|
kind: "send";
|
|
1833
1811
|
label: string;
|
|
@@ -1838,42 +1816,39 @@ declare const serverModule: {
|
|
|
1838
1816
|
kind: "link";
|
|
1839
1817
|
label: string;
|
|
1840
1818
|
})[] | undefined;
|
|
1819
|
+
}>, "many">;
|
|
1820
|
+
noResultsReason: zod.ZodOptional<zod.ZodString>;
|
|
1821
|
+
nextCursor: zod.ZodOptional<zod.ZodString>;
|
|
1822
|
+
}, "strip", zod.ZodTypeAny, {
|
|
1823
|
+
items: {
|
|
1824
|
+
status: "UNKNOWN" | "EFFECTIVE" | "USED" | "EXPIRED" | "INVALID";
|
|
1825
|
+
title: string;
|
|
1826
|
+
entitlementRef: string;
|
|
1827
|
+
entitlementType: "COUPON" | "BUNDLE" | "PROMOTION" | "ACTIVITY" | "GROUPON";
|
|
1828
|
+
code?: string | undefined;
|
|
1841
1829
|
benefitText?: string | undefined;
|
|
1842
1830
|
thresholdText?: string | undefined;
|
|
1843
|
-
guaranteeText?: string | undefined;
|
|
1844
1831
|
usageSceneText?: string | undefined;
|
|
1832
|
+
usageTimeText?: string | undefined;
|
|
1845
1833
|
claimTimeText?: string | undefined;
|
|
1846
1834
|
usageRuleText?: string | undefined;
|
|
1835
|
+
guaranteeText?: string | undefined;
|
|
1847
1836
|
validityText?: string | undefined;
|
|
1837
|
+
imageUrl?: string | undefined;
|
|
1848
1838
|
stores?: {
|
|
1849
1839
|
storeId: string;
|
|
1850
1840
|
storeName: string;
|
|
1851
|
-
latitude?: number | undefined;
|
|
1852
|
-
longitude?: number | undefined;
|
|
1853
1841
|
imageUrl?: string | undefined;
|
|
1854
|
-
address?: string | undefined;
|
|
1855
1842
|
businessName?: string | undefined;
|
|
1843
|
+
address?: string | undefined;
|
|
1856
1844
|
floor?: string | undefined;
|
|
1845
|
+
latitude?: number | undefined;
|
|
1846
|
+
longitude?: number | undefined;
|
|
1857
1847
|
}[] | undefined;
|
|
1858
1848
|
codeMasked?: string | undefined;
|
|
1859
1849
|
qrCodeEnabled?: boolean | undefined;
|
|
1860
1850
|
usageNotice?: string | undefined;
|
|
1861
1851
|
validUntilText?: string | undefined;
|
|
1862
|
-
}[];
|
|
1863
|
-
miniAppId?: string | undefined;
|
|
1864
|
-
mallId?: string | undefined;
|
|
1865
|
-
noResultsReason?: string | undefined;
|
|
1866
|
-
maxItems?: number | undefined;
|
|
1867
|
-
nextCursor?: string | undefined;
|
|
1868
|
-
}, {
|
|
1869
|
-
items: {
|
|
1870
|
-
status: "UNKNOWN" | "USED" | "EXPIRED" | "EFFECTIVE" | "INVALID";
|
|
1871
|
-
title: string;
|
|
1872
|
-
entitlementRef: string;
|
|
1873
|
-
entitlementType: "COUPON" | "BUNDLE" | "PROMOTION" | "ACTIVITY" | "GROUPON";
|
|
1874
|
-
code?: string | undefined;
|
|
1875
|
-
imageUrl?: string | undefined;
|
|
1876
|
-
usageTimeText?: string | undefined;
|
|
1877
1852
|
itemActions?: ({
|
|
1878
1853
|
kind: "send";
|
|
1879
1854
|
label: string;
|
|
@@ -1884,33 +1859,58 @@ declare const serverModule: {
|
|
|
1884
1859
|
kind: "link";
|
|
1885
1860
|
label: string;
|
|
1886
1861
|
})[] | undefined;
|
|
1862
|
+
}[];
|
|
1863
|
+
noResultsReason?: string | undefined;
|
|
1864
|
+
nextCursor?: string | undefined;
|
|
1865
|
+
mallId?: string | undefined;
|
|
1866
|
+
miniAppId?: string | undefined;
|
|
1867
|
+
maxItems?: number | undefined;
|
|
1868
|
+
}, {
|
|
1869
|
+
items: {
|
|
1870
|
+
status: "UNKNOWN" | "EFFECTIVE" | "USED" | "EXPIRED" | "INVALID";
|
|
1871
|
+
title: string;
|
|
1872
|
+
entitlementRef: string;
|
|
1873
|
+
entitlementType: "COUPON" | "BUNDLE" | "PROMOTION" | "ACTIVITY" | "GROUPON";
|
|
1874
|
+
code?: string | undefined;
|
|
1887
1875
|
benefitText?: string | undefined;
|
|
1888
1876
|
thresholdText?: string | undefined;
|
|
1889
|
-
guaranteeText?: string | undefined;
|
|
1890
1877
|
usageSceneText?: string | undefined;
|
|
1878
|
+
usageTimeText?: string | undefined;
|
|
1891
1879
|
claimTimeText?: string | undefined;
|
|
1892
1880
|
usageRuleText?: string | undefined;
|
|
1881
|
+
guaranteeText?: string | undefined;
|
|
1893
1882
|
validityText?: string | undefined;
|
|
1883
|
+
imageUrl?: string | undefined;
|
|
1894
1884
|
stores?: {
|
|
1895
1885
|
storeId: string;
|
|
1896
1886
|
storeName: string;
|
|
1897
|
-
latitude?: number | undefined;
|
|
1898
|
-
longitude?: number | undefined;
|
|
1899
1887
|
imageUrl?: string | undefined;
|
|
1900
|
-
address?: string | undefined;
|
|
1901
1888
|
businessName?: string | undefined;
|
|
1889
|
+
address?: string | undefined;
|
|
1902
1890
|
floor?: string | undefined;
|
|
1891
|
+
latitude?: number | undefined;
|
|
1892
|
+
longitude?: number | undefined;
|
|
1903
1893
|
}[] | undefined;
|
|
1904
1894
|
codeMasked?: string | undefined;
|
|
1905
1895
|
qrCodeEnabled?: boolean | undefined;
|
|
1906
1896
|
usageNotice?: string | undefined;
|
|
1907
1897
|
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
|
-
miniAppId?: string | undefined;
|
|
1910
|
-
mallId?: string | undefined;
|
|
1911
1909
|
noResultsReason?: string | undefined;
|
|
1912
|
-
maxItems?: number | undefined;
|
|
1913
1910
|
nextCursor?: string | undefined;
|
|
1911
|
+
mallId?: string | undefined;
|
|
1912
|
+
miniAppId?: string | undefined;
|
|
1913
|
+
maxItems?: number | undefined;
|
|
1914
1914
|
}>>;
|
|
1915
1915
|
readonly 'promotion-activity-list': _tbox_cn_app_contracts.CardMeta<zod.ZodObject<{
|
|
1916
1916
|
items: zod.ZodArray<zod.ZodObject<{
|
|
@@ -1954,10 +1954,17 @@ declare const serverModule: {
|
|
|
1954
1954
|
label: string;
|
|
1955
1955
|
}>]>, "many">>;
|
|
1956
1956
|
}, "strip", zod.ZodTypeAny, {
|
|
1957
|
-
title: string;
|
|
1958
|
-
activityRef: string;
|
|
1959
1957
|
registrationRequired: boolean;
|
|
1958
|
+
activityRef: string;
|
|
1959
|
+
title: string;
|
|
1960
1960
|
subtitle?: string | undefined;
|
|
1961
|
+
coverUrl?: string | undefined;
|
|
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
1968
|
itemActions?: ({
|
|
1962
1969
|
kind: "send";
|
|
1963
1970
|
label: string;
|
|
@@ -1968,18 +1975,18 @@ declare const serverModule: {
|
|
|
1968
1975
|
kind: "link";
|
|
1969
1976
|
label: string;
|
|
1970
1977
|
})[] | undefined;
|
|
1978
|
+
}, {
|
|
1979
|
+
registrationRequired: boolean;
|
|
1980
|
+
activityRef: string;
|
|
1981
|
+
title: string;
|
|
1982
|
+
subtitle?: string | undefined;
|
|
1971
1983
|
coverUrl?: string | undefined;
|
|
1972
|
-
availabilityStatus?: "UNKNOWN" | "AVAILABLE" | "FULL" | "ENDED" | "UPCOMING" | undefined;
|
|
1973
1984
|
jumpOnly?: boolean | undefined;
|
|
1974
1985
|
jumpLabel?: string | undefined;
|
|
1986
|
+
categoryName?: string | undefined;
|
|
1975
1987
|
remainingQuota?: number | undefined;
|
|
1976
1988
|
periodText?: string | undefined;
|
|
1977
|
-
|
|
1978
|
-
}, {
|
|
1979
|
-
title: string;
|
|
1980
|
-
activityRef: string;
|
|
1981
|
-
registrationRequired: boolean;
|
|
1982
|
-
subtitle?: string | undefined;
|
|
1989
|
+
availabilityStatus?: "FULL" | "ENDED" | "UPCOMING" | "AVAILABLE" | "UNKNOWN" | undefined;
|
|
1983
1990
|
itemActions?: ({
|
|
1984
1991
|
kind: "send";
|
|
1985
1992
|
label: string;
|
|
@@ -1990,22 +1997,22 @@ declare const serverModule: {
|
|
|
1990
1997
|
kind: "link";
|
|
1991
1998
|
label: string;
|
|
1992
1999
|
})[] | undefined;
|
|
1993
|
-
coverUrl?: string | undefined;
|
|
1994
|
-
availabilityStatus?: "UNKNOWN" | "AVAILABLE" | "FULL" | "ENDED" | "UPCOMING" | 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
|
-
title: string;
|
|
2006
|
-
activityRef: string;
|
|
2007
2005
|
registrationRequired: boolean;
|
|
2006
|
+
activityRef: string;
|
|
2007
|
+
title: string;
|
|
2008
2008
|
subtitle?: string | undefined;
|
|
2009
|
+
coverUrl?: string | undefined;
|
|
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
2016
|
itemActions?: ({
|
|
2010
2017
|
kind: "send";
|
|
2011
2018
|
label: string;
|
|
@@ -2016,22 +2023,22 @@ declare const serverModule: {
|
|
|
2016
2023
|
kind: "link";
|
|
2017
2024
|
label: string;
|
|
2018
2025
|
})[] | undefined;
|
|
2019
|
-
coverUrl?: string | undefined;
|
|
2020
|
-
availabilityStatus?: "UNKNOWN" | "AVAILABLE" | "FULL" | "ENDED" | "UPCOMING" | 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
|
-
title: string;
|
|
2032
|
-
activityRef: string;
|
|
2033
2031
|
registrationRequired: boolean;
|
|
2032
|
+
activityRef: string;
|
|
2033
|
+
title: string;
|
|
2034
2034
|
subtitle?: string | undefined;
|
|
2035
|
+
coverUrl?: string | undefined;
|
|
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
2042
|
itemActions?: ({
|
|
2036
2043
|
kind: "send";
|
|
2037
2044
|
label: string;
|
|
@@ -2042,13 +2049,6 @@ declare const serverModule: {
|
|
|
2042
2049
|
kind: "link";
|
|
2043
2050
|
label: string;
|
|
2044
2051
|
})[] | undefined;
|
|
2045
|
-
coverUrl?: string | undefined;
|
|
2046
|
-
availabilityStatus?: "UNKNOWN" | "AVAILABLE" | "FULL" | "ENDED" | "UPCOMING" | 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: "FULL" | "OPEN" | "CLOSED" | "UNKNOWN";
|
|
2081
2081
|
title: string;
|
|
2082
2082
|
sessionRef: string;
|
|
2083
2083
|
startText: string;
|
|
2084
|
-
location?: string | undefined;
|
|
2085
2084
|
remainingQuota?: number | undefined;
|
|
2086
2085
|
endText?: string | undefined;
|
|
2086
|
+
location?: string | undefined;
|
|
2087
2087
|
}, {
|
|
2088
|
-
status: "
|
|
2088
|
+
status: "FULL" | "OPEN" | "CLOSED" | "UNKNOWN";
|
|
2089
2089
|
title: string;
|
|
2090
2090
|
sessionRef: string;
|
|
2091
2091
|
startText: string;
|
|
2092
|
-
location?: string | undefined;
|
|
2093
2092
|
remainingQuota?: number | undefined;
|
|
2094
2093
|
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
|
-
title: string;
|
|
2111
|
-
activityRef: string;
|
|
2112
2110
|
registrationRequired: boolean;
|
|
2111
|
+
activityRef: string;
|
|
2112
|
+
title: string;
|
|
2113
2113
|
sessions: {
|
|
2114
|
-
status: "
|
|
2114
|
+
status: "FULL" | "OPEN" | "CLOSED" | "UNKNOWN";
|
|
2115
2115
|
title: string;
|
|
2116
2116
|
sessionRef: string;
|
|
2117
2117
|
startText: string;
|
|
2118
|
-
location?: string | undefined;
|
|
2119
2118
|
remainingQuota?: number | undefined;
|
|
2120
2119
|
endText?: string | undefined;
|
|
2120
|
+
location?: string | undefined;
|
|
2121
2121
|
}[];
|
|
2122
2122
|
guideSteps: string[];
|
|
2123
2123
|
conditions: string[];
|
|
2124
2124
|
description?: string | undefined;
|
|
2125
2125
|
subtitle?: string | undefined;
|
|
2126
|
-
presentation?: "detail" | "schedule" | "guide" | undefined;
|
|
2127
|
-
notice?: string | undefined;
|
|
2128
|
-
location?: string | undefined;
|
|
2129
2126
|
coverUrl?: string | undefined;
|
|
2130
2127
|
jumpOnly?: boolean | undefined;
|
|
2131
2128
|
jumpLabel?: string | undefined;
|
|
2132
|
-
remainingQuota?: number | undefined;
|
|
2133
|
-
periodText?: string | undefined;
|
|
2134
2129
|
categoryName?: string | undefined;
|
|
2130
|
+
remainingQuota?: number | undefined;
|
|
2135
2131
|
registrationUrl?: string | undefined;
|
|
2132
|
+
periodText?: string | undefined;
|
|
2133
|
+
location?: string | undefined;
|
|
2134
|
+
notice?: string | undefined;
|
|
2136
2135
|
guideItems?: {
|
|
2137
2136
|
title: string;
|
|
2138
2137
|
description?: string | undefined;
|
|
2139
2138
|
}[] | undefined;
|
|
2139
|
+
presentation?: "detail" | "schedule" | "guide" | undefined;
|
|
2140
2140
|
}, {
|
|
2141
|
-
title: string;
|
|
2142
|
-
activityRef: string;
|
|
2143
2141
|
registrationRequired: boolean;
|
|
2142
|
+
activityRef: string;
|
|
2143
|
+
title: string;
|
|
2144
2144
|
sessions: {
|
|
2145
|
-
status: "
|
|
2145
|
+
status: "FULL" | "OPEN" | "CLOSED" | "UNKNOWN";
|
|
2146
2146
|
title: string;
|
|
2147
2147
|
sessionRef: string;
|
|
2148
2148
|
startText: string;
|
|
2149
|
-
location?: string | undefined;
|
|
2150
2149
|
remainingQuota?: number | undefined;
|
|
2151
2150
|
endText?: string | undefined;
|
|
2151
|
+
location?: string | undefined;
|
|
2152
2152
|
}[];
|
|
2153
2153
|
guideSteps: string[];
|
|
2154
2154
|
conditions: string[];
|
|
2155
2155
|
description?: string | undefined;
|
|
2156
2156
|
subtitle?: string | undefined;
|
|
2157
|
-
presentation?: "detail" | "schedule" | "guide" | undefined;
|
|
2158
|
-
notice?: string | undefined;
|
|
2159
|
-
location?: string | undefined;
|
|
2160
2157
|
coverUrl?: string | undefined;
|
|
2161
2158
|
jumpOnly?: boolean | undefined;
|
|
2162
2159
|
jumpLabel?: string | undefined;
|
|
2163
|
-
remainingQuota?: number | undefined;
|
|
2164
|
-
periodText?: string | undefined;
|
|
2165
2160
|
categoryName?: string | undefined;
|
|
2161
|
+
remainingQuota?: number | undefined;
|
|
2166
2162
|
registrationUrl?: string | undefined;
|
|
2163
|
+
periodText?: string | undefined;
|
|
2164
|
+
location?: string | undefined;
|
|
2165
|
+
notice?: string | undefined;
|
|
2167
2166
|
guideItems?: {
|
|
2168
2167
|
title: string;
|
|
2169
2168
|
description?: string | undefined;
|
|
2170
2169
|
}[] | 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<{
|
|
@@ -2203,8 +2203,8 @@ declare const serverModule: {
|
|
|
2203
2203
|
label: string;
|
|
2204
2204
|
}>]>, "many">>;
|
|
2205
2205
|
}, "strip", zod.ZodTypeAny, {
|
|
2206
|
-
name: string;
|
|
2207
2206
|
categoryId: string;
|
|
2207
|
+
name: string;
|
|
2208
2208
|
itemActions?: ({
|
|
2209
2209
|
kind: "send";
|
|
2210
2210
|
label: string;
|
|
@@ -2217,8 +2217,8 @@ declare const serverModule: {
|
|
|
2217
2217
|
})[] | undefined;
|
|
2218
2218
|
parentId?: string | undefined;
|
|
2219
2219
|
}, {
|
|
2220
|
-
name: string;
|
|
2221
2220
|
categoryId: string;
|
|
2221
|
+
name: string;
|
|
2222
2222
|
itemActions?: ({
|
|
2223
2223
|
kind: "send";
|
|
2224
2224
|
label: string;
|
|
@@ -2234,8 +2234,8 @@ declare const serverModule: {
|
|
|
2234
2234
|
noResultsReason: zod.ZodOptional<zod.ZodString>;
|
|
2235
2235
|
}, "strip", zod.ZodTypeAny, {
|
|
2236
2236
|
items: {
|
|
2237
|
-
name: string;
|
|
2238
2237
|
categoryId: string;
|
|
2238
|
+
name: string;
|
|
2239
2239
|
itemActions?: ({
|
|
2240
2240
|
kind: "send";
|
|
2241
2241
|
label: string;
|
|
@@ -2251,8 +2251,8 @@ declare const serverModule: {
|
|
|
2251
2251
|
noResultsReason?: string | undefined;
|
|
2252
2252
|
}, {
|
|
2253
2253
|
items: {
|
|
2254
|
-
name: string;
|
|
2255
2254
|
categoryId: string;
|
|
2255
|
+
name: string;
|
|
2256
2256
|
itemActions?: ({
|
|
2257
2257
|
kind: "send";
|
|
2258
2258
|
label: string;
|
|
@@ -2328,50 +2328,29 @@ declare const serverModule: {
|
|
|
2328
2328
|
tags: zod.ZodArray<zod.ZodString, "many">;
|
|
2329
2329
|
}, "strip", zod.ZodTypeAny, {
|
|
2330
2330
|
title: string;
|
|
2331
|
-
offerRef: string;
|
|
2332
2331
|
offerType: "COUPON" | "BUNDLE" | "PROMOTION" | "ACTIVITY" | "GROUPON";
|
|
2332
|
+
offerRef: string;
|
|
2333
2333
|
claimable: boolean;
|
|
2334
2334
|
tags: string[];
|
|
2335
2335
|
subtitle?: string | undefined;
|
|
2336
|
-
imageUrl?: string | undefined;
|
|
2337
|
-
usageTimeText?: string | undefined;
|
|
2338
|
-
purchaseUrl?: string | undefined;
|
|
2339
|
-
freeCouponClaimMode?: "DIRECT" | "REDIRECT" | undefined;
|
|
2340
|
-
itemActions?: ({
|
|
2341
|
-
kind: "send";
|
|
2342
|
-
label: string;
|
|
2343
|
-
value?: string | undefined;
|
|
2344
|
-
visibleValue?: string | undefined;
|
|
2345
|
-
} | {
|
|
2346
|
-
url: string;
|
|
2347
|
-
kind: "link";
|
|
2348
|
-
label: string;
|
|
2349
|
-
})[] | undefined;
|
|
2350
2336
|
benefitText?: string | undefined;
|
|
2351
2337
|
thresholdText?: string | undefined;
|
|
2352
2338
|
priceText?: string | undefined;
|
|
2353
2339
|
originalPriceText?: string | undefined;
|
|
2354
2340
|
discountLabel?: string | undefined;
|
|
2355
2341
|
claimActionLabel?: string | undefined;
|
|
2342
|
+
purchaseUrl?: string | undefined;
|
|
2343
|
+
freeCouponClaimMode?: "DIRECT" | "REDIRECT" | undefined;
|
|
2356
2344
|
stockText?: string | undefined;
|
|
2357
2345
|
usageNoticeText?: string | undefined;
|
|
2358
|
-
guaranteeText?: string | undefined;
|
|
2359
2346
|
usageSceneText?: string | undefined;
|
|
2347
|
+
usageTimeText?: string | undefined;
|
|
2360
2348
|
claimTimeText?: string | undefined;
|
|
2361
2349
|
usageRuleText?: string | undefined;
|
|
2362
|
-
|
|
2350
|
+
guaranteeText?: string | undefined;
|
|
2363
2351
|
validityText?: string | undefined;
|
|
2364
|
-
}, {
|
|
2365
|
-
title: string;
|
|
2366
|
-
offerRef: string;
|
|
2367
|
-
offerType: "COUPON" | "BUNDLE" | "PROMOTION" | "ACTIVITY" | "GROUPON";
|
|
2368
|
-
claimable: boolean;
|
|
2369
|
-
tags: string[];
|
|
2370
|
-
subtitle?: string | undefined;
|
|
2371
2352
|
imageUrl?: string | undefined;
|
|
2372
|
-
|
|
2373
|
-
purchaseUrl?: string | undefined;
|
|
2374
|
-
freeCouponClaimMode?: "DIRECT" | "REDIRECT" | undefined;
|
|
2353
|
+
availabilityStatus?: "AVAILABLE" | "UNKNOWN" | "UNAVAILABLE" | "REQUIRES_ACTION" | undefined;
|
|
2375
2354
|
itemActions?: ({
|
|
2376
2355
|
kind: "send";
|
|
2377
2356
|
label: string;
|
|
@@ -2382,107 +2361,128 @@ declare const serverModule: {
|
|
|
2382
2361
|
kind: "link";
|
|
2383
2362
|
label: string;
|
|
2384
2363
|
})[] | undefined;
|
|
2364
|
+
}, {
|
|
2365
|
+
title: string;
|
|
2366
|
+
offerType: "COUPON" | "BUNDLE" | "PROMOTION" | "ACTIVITY" | "GROUPON";
|
|
2367
|
+
offerRef: string;
|
|
2368
|
+
claimable: boolean;
|
|
2369
|
+
tags: string[];
|
|
2370
|
+
subtitle?: string | undefined;
|
|
2385
2371
|
benefitText?: string | undefined;
|
|
2386
2372
|
thresholdText?: string | undefined;
|
|
2387
2373
|
priceText?: string | undefined;
|
|
2388
2374
|
originalPriceText?: string | undefined;
|
|
2389
2375
|
discountLabel?: string | undefined;
|
|
2390
2376
|
claimActionLabel?: string | undefined;
|
|
2377
|
+
purchaseUrl?: string | undefined;
|
|
2378
|
+
freeCouponClaimMode?: "DIRECT" | "REDIRECT" | undefined;
|
|
2391
2379
|
stockText?: string | undefined;
|
|
2392
2380
|
usageNoticeText?: string | undefined;
|
|
2393
|
-
guaranteeText?: string | undefined;
|
|
2394
2381
|
usageSceneText?: string | undefined;
|
|
2382
|
+
usageTimeText?: string | undefined;
|
|
2395
2383
|
claimTimeText?: string | undefined;
|
|
2396
2384
|
usageRuleText?: string | undefined;
|
|
2397
|
-
|
|
2385
|
+
guaranteeText?: string | undefined;
|
|
2398
2386
|
validityText?: string | undefined;
|
|
2387
|
+
imageUrl?: string | undefined;
|
|
2388
|
+
availabilityStatus?: "AVAILABLE" | "UNKNOWN" | "UNAVAILABLE" | "REQUIRES_ACTION" | undefined;
|
|
2389
|
+
itemActions?: ({
|
|
2390
|
+
kind: "send";
|
|
2391
|
+
label: string;
|
|
2392
|
+
value?: string | undefined;
|
|
2393
|
+
visibleValue?: string | undefined;
|
|
2394
|
+
} | {
|
|
2395
|
+
url: string;
|
|
2396
|
+
kind: "link";
|
|
2397
|
+
label: string;
|
|
2398
|
+
})[] | undefined;
|
|
2399
2399
|
}>, "many">>;
|
|
2400
2400
|
message: zod.ZodOptional<zod.ZodString>;
|
|
2401
2401
|
}, "strip", zod.ZodTypeAny, {
|
|
2402
|
-
authoritative: boolean;
|
|
2403
2402
|
originalAmountCents: number;
|
|
2403
|
+
authoritative: boolean;
|
|
2404
2404
|
appliedOfferRefs: string[];
|
|
2405
2405
|
message?: string | undefined;
|
|
2406
2406
|
savingsCents?: number | undefined;
|
|
2407
2407
|
expectedPayCents?: number | undefined;
|
|
2408
2408
|
candidates?: {
|
|
2409
2409
|
title: string;
|
|
2410
|
-
offerRef: string;
|
|
2411
2410
|
offerType: "COUPON" | "BUNDLE" | "PROMOTION" | "ACTIVITY" | "GROUPON";
|
|
2411
|
+
offerRef: string;
|
|
2412
2412
|
claimable: boolean;
|
|
2413
2413
|
tags: string[];
|
|
2414
2414
|
subtitle?: string | undefined;
|
|
2415
|
-
imageUrl?: string | undefined;
|
|
2416
|
-
usageTimeText?: string | undefined;
|
|
2417
|
-
purchaseUrl?: string | undefined;
|
|
2418
|
-
freeCouponClaimMode?: "DIRECT" | "REDIRECT" | undefined;
|
|
2419
|
-
itemActions?: ({
|
|
2420
|
-
kind: "send";
|
|
2421
|
-
label: string;
|
|
2422
|
-
value?: string | undefined;
|
|
2423
|
-
visibleValue?: string | undefined;
|
|
2424
|
-
} | {
|
|
2425
|
-
url: string;
|
|
2426
|
-
kind: "link";
|
|
2427
|
-
label: string;
|
|
2428
|
-
})[] | undefined;
|
|
2429
2415
|
benefitText?: string | undefined;
|
|
2430
2416
|
thresholdText?: string | undefined;
|
|
2431
2417
|
priceText?: string | undefined;
|
|
2432
2418
|
originalPriceText?: string | undefined;
|
|
2433
2419
|
discountLabel?: string | undefined;
|
|
2434
2420
|
claimActionLabel?: string | undefined;
|
|
2421
|
+
purchaseUrl?: string | undefined;
|
|
2422
|
+
freeCouponClaimMode?: "DIRECT" | "REDIRECT" | undefined;
|
|
2435
2423
|
stockText?: string | undefined;
|
|
2436
2424
|
usageNoticeText?: string | undefined;
|
|
2437
|
-
guaranteeText?: string | undefined;
|
|
2438
2425
|
usageSceneText?: string | undefined;
|
|
2426
|
+
usageTimeText?: string | undefined;
|
|
2439
2427
|
claimTimeText?: string | undefined;
|
|
2440
2428
|
usageRuleText?: string | undefined;
|
|
2441
|
-
|
|
2429
|
+
guaranteeText?: string | undefined;
|
|
2442
2430
|
validityText?: string | undefined;
|
|
2431
|
+
imageUrl?: string | undefined;
|
|
2432
|
+
availabilityStatus?: "AVAILABLE" | "UNKNOWN" | "UNAVAILABLE" | "REQUIRES_ACTION" | undefined;
|
|
2433
|
+
itemActions?: ({
|
|
2434
|
+
kind: "send";
|
|
2435
|
+
label: string;
|
|
2436
|
+
value?: string | undefined;
|
|
2437
|
+
visibleValue?: string | undefined;
|
|
2438
|
+
} | {
|
|
2439
|
+
url: string;
|
|
2440
|
+
kind: "link";
|
|
2441
|
+
label: string;
|
|
2442
|
+
})[] | undefined;
|
|
2443
2443
|
}[] | undefined;
|
|
2444
2444
|
}, {
|
|
2445
|
-
authoritative: boolean;
|
|
2446
2445
|
originalAmountCents: number;
|
|
2446
|
+
authoritative: boolean;
|
|
2447
2447
|
appliedOfferRefs: string[];
|
|
2448
2448
|
message?: string | undefined;
|
|
2449
2449
|
savingsCents?: number | undefined;
|
|
2450
2450
|
expectedPayCents?: number | undefined;
|
|
2451
2451
|
candidates?: {
|
|
2452
2452
|
title: string;
|
|
2453
|
-
offerRef: string;
|
|
2454
2453
|
offerType: "COUPON" | "BUNDLE" | "PROMOTION" | "ACTIVITY" | "GROUPON";
|
|
2454
|
+
offerRef: string;
|
|
2455
2455
|
claimable: boolean;
|
|
2456
2456
|
tags: string[];
|
|
2457
2457
|
subtitle?: string | undefined;
|
|
2458
|
-
imageUrl?: string | undefined;
|
|
2459
|
-
usageTimeText?: string | undefined;
|
|
2460
|
-
purchaseUrl?: string | undefined;
|
|
2461
|
-
freeCouponClaimMode?: "DIRECT" | "REDIRECT" | undefined;
|
|
2462
|
-
itemActions?: ({
|
|
2463
|
-
kind: "send";
|
|
2464
|
-
label: string;
|
|
2465
|
-
value?: string | undefined;
|
|
2466
|
-
visibleValue?: string | undefined;
|
|
2467
|
-
} | {
|
|
2468
|
-
url: string;
|
|
2469
|
-
kind: "link";
|
|
2470
|
-
label: string;
|
|
2471
|
-
})[] | undefined;
|
|
2472
2458
|
benefitText?: string | undefined;
|
|
2473
2459
|
thresholdText?: string | undefined;
|
|
2474
2460
|
priceText?: string | undefined;
|
|
2475
2461
|
originalPriceText?: string | undefined;
|
|
2476
2462
|
discountLabel?: string | undefined;
|
|
2477
2463
|
claimActionLabel?: string | undefined;
|
|
2464
|
+
purchaseUrl?: string | undefined;
|
|
2465
|
+
freeCouponClaimMode?: "DIRECT" | "REDIRECT" | undefined;
|
|
2478
2466
|
stockText?: string | undefined;
|
|
2479
2467
|
usageNoticeText?: string | undefined;
|
|
2480
|
-
guaranteeText?: string | undefined;
|
|
2481
2468
|
usageSceneText?: string | undefined;
|
|
2469
|
+
usageTimeText?: string | undefined;
|
|
2482
2470
|
claimTimeText?: string | undefined;
|
|
2483
2471
|
usageRuleText?: string | undefined;
|
|
2484
|
-
|
|
2472
|
+
guaranteeText?: string | undefined;
|
|
2485
2473
|
validityText?: string | undefined;
|
|
2474
|
+
imageUrl?: string | undefined;
|
|
2475
|
+
availabilityStatus?: "AVAILABLE" | "UNKNOWN" | "UNAVAILABLE" | "REQUIRES_ACTION" | undefined;
|
|
2476
|
+
itemActions?: ({
|
|
2477
|
+
kind: "send";
|
|
2478
|
+
label: string;
|
|
2479
|
+
value?: string | undefined;
|
|
2480
|
+
visibleValue?: string | undefined;
|
|
2481
|
+
} | {
|
|
2482
|
+
url: string;
|
|
2483
|
+
kind: "link";
|
|
2484
|
+
label: string;
|
|
2485
|
+
})[] | undefined;
|
|
2486
2486
|
}[] | undefined;
|
|
2487
2487
|
}>>;
|
|
2488
2488
|
};
|
|
@@ -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;
|
|
2496
2495
|
keyword?: string | undefined;
|
|
2497
2496
|
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;
|
|
2501
2500
|
keyword?: string | undefined;
|
|
2502
2501
|
cursor?: string | undefined;
|
|
2502
|
+
limit?: string | undefined;
|
|
2503
2503
|
}>;
|
|
2504
2504
|
};
|
|
2505
2505
|
register(ctx: ServerContext): void;
|