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