@tbox.cn/app-module-promotion 1.0.0-alpha.19 → 1.0.0-alpha.21
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/server/index.d.ts +474 -474
- package/package.json +6 -6
package/dist/server/index.d.ts
CHANGED
|
@@ -119,19 +119,19 @@ declare const promotionCards: {
|
|
|
119
119
|
label: zod.ZodString;
|
|
120
120
|
url: zod.ZodString;
|
|
121
121
|
}, "strip", zod.ZodTypeAny, {
|
|
122
|
+
url: string;
|
|
122
123
|
kind: "link";
|
|
123
124
|
label: string;
|
|
124
|
-
url: string;
|
|
125
125
|
}, {
|
|
126
|
+
url: string;
|
|
126
127
|
kind: "link";
|
|
127
128
|
label: string;
|
|
128
|
-
url: string;
|
|
129
129
|
}>]>, "many">>;
|
|
130
130
|
tags: zod.ZodArray<zod.ZodString, "many">;
|
|
131
131
|
}, "strip", zod.ZodTypeAny, {
|
|
132
|
-
offerRef: string;
|
|
133
132
|
title: string;
|
|
134
133
|
offerType: "COUPON" | "BUNDLE" | "PROMOTION" | "ACTIVITY" | "GROUPON";
|
|
134
|
+
offerRef: string;
|
|
135
135
|
claimable: boolean;
|
|
136
136
|
tags: string[];
|
|
137
137
|
subtitle?: string | undefined;
|
|
@@ -145,28 +145,28 @@ declare const promotionCards: {
|
|
|
145
145
|
freeCouponClaimMode?: "DIRECT" | "REDIRECT" | undefined;
|
|
146
146
|
stockText?: string | undefined;
|
|
147
147
|
usageNoticeText?: string | undefined;
|
|
148
|
-
guaranteeText?: string | undefined;
|
|
149
148
|
usageSceneText?: string | undefined;
|
|
150
149
|
usageTimeText?: string | undefined;
|
|
151
150
|
claimTimeText?: string | undefined;
|
|
152
151
|
usageRuleText?: string | undefined;
|
|
153
|
-
|
|
152
|
+
guaranteeText?: string | undefined;
|
|
154
153
|
validityText?: string | undefined;
|
|
155
154
|
imageUrl?: string | undefined;
|
|
155
|
+
availabilityStatus?: "AVAILABLE" | "UNKNOWN" | "UNAVAILABLE" | "REQUIRES_ACTION" | undefined;
|
|
156
156
|
itemActions?: ({
|
|
157
157
|
kind: "send";
|
|
158
158
|
label: string;
|
|
159
159
|
value?: string | undefined;
|
|
160
160
|
visibleValue?: string | undefined;
|
|
161
161
|
} | {
|
|
162
|
+
url: string;
|
|
162
163
|
kind: "link";
|
|
163
164
|
label: string;
|
|
164
|
-
url: string;
|
|
165
165
|
})[] | undefined;
|
|
166
166
|
}, {
|
|
167
|
-
offerRef: string;
|
|
168
167
|
title: string;
|
|
169
168
|
offerType: "COUPON" | "BUNDLE" | "PROMOTION" | "ACTIVITY" | "GROUPON";
|
|
169
|
+
offerRef: string;
|
|
170
170
|
claimable: boolean;
|
|
171
171
|
tags: string[];
|
|
172
172
|
subtitle?: string | undefined;
|
|
@@ -180,23 +180,23 @@ declare const promotionCards: {
|
|
|
180
180
|
freeCouponClaimMode?: "DIRECT" | "REDIRECT" | undefined;
|
|
181
181
|
stockText?: string | undefined;
|
|
182
182
|
usageNoticeText?: string | undefined;
|
|
183
|
-
guaranteeText?: string | undefined;
|
|
184
183
|
usageSceneText?: string | undefined;
|
|
185
184
|
usageTimeText?: string | undefined;
|
|
186
185
|
claimTimeText?: string | undefined;
|
|
187
186
|
usageRuleText?: string | undefined;
|
|
188
|
-
|
|
187
|
+
guaranteeText?: string | undefined;
|
|
189
188
|
validityText?: string | undefined;
|
|
190
189
|
imageUrl?: string | undefined;
|
|
190
|
+
availabilityStatus?: "AVAILABLE" | "UNKNOWN" | "UNAVAILABLE" | "REQUIRES_ACTION" | undefined;
|
|
191
191
|
itemActions?: ({
|
|
192
192
|
kind: "send";
|
|
193
193
|
label: string;
|
|
194
194
|
value?: string | undefined;
|
|
195
195
|
visibleValue?: string | undefined;
|
|
196
196
|
} | {
|
|
197
|
+
url: string;
|
|
197
198
|
kind: "link";
|
|
198
199
|
label: string;
|
|
199
|
-
url: string;
|
|
200
200
|
})[] | undefined;
|
|
201
201
|
}>, "many">;
|
|
202
202
|
noResultsReason: zod.ZodOptional<zod.ZodString>;
|
|
@@ -204,9 +204,9 @@ declare const promotionCards: {
|
|
|
204
204
|
showDealRecall: zod.ZodOptional<zod.ZodLiteral<true>>;
|
|
205
205
|
}, "strip", zod.ZodTypeAny, {
|
|
206
206
|
items: {
|
|
207
|
-
offerRef: string;
|
|
208
207
|
title: string;
|
|
209
208
|
offerType: "COUPON" | "BUNDLE" | "PROMOTION" | "ACTIVITY" | "GROUPON";
|
|
209
|
+
offerRef: string;
|
|
210
210
|
claimable: boolean;
|
|
211
211
|
tags: string[];
|
|
212
212
|
subtitle?: string | undefined;
|
|
@@ -220,37 +220,37 @@ declare const promotionCards: {
|
|
|
220
220
|
freeCouponClaimMode?: "DIRECT" | "REDIRECT" | undefined;
|
|
221
221
|
stockText?: string | undefined;
|
|
222
222
|
usageNoticeText?: string | undefined;
|
|
223
|
-
guaranteeText?: string | undefined;
|
|
224
223
|
usageSceneText?: string | undefined;
|
|
225
224
|
usageTimeText?: string | undefined;
|
|
226
225
|
claimTimeText?: string | undefined;
|
|
227
226
|
usageRuleText?: string | undefined;
|
|
228
|
-
|
|
227
|
+
guaranteeText?: string | undefined;
|
|
229
228
|
validityText?: string | undefined;
|
|
230
229
|
imageUrl?: string | undefined;
|
|
230
|
+
availabilityStatus?: "AVAILABLE" | "UNKNOWN" | "UNAVAILABLE" | "REQUIRES_ACTION" | undefined;
|
|
231
231
|
itemActions?: ({
|
|
232
232
|
kind: "send";
|
|
233
233
|
label: string;
|
|
234
234
|
value?: string | undefined;
|
|
235
235
|
visibleValue?: string | undefined;
|
|
236
236
|
} | {
|
|
237
|
+
url: string;
|
|
237
238
|
kind: "link";
|
|
238
239
|
label: string;
|
|
239
|
-
url: string;
|
|
240
240
|
})[] | undefined;
|
|
241
241
|
}[];
|
|
242
|
-
mode: "
|
|
243
|
-
presentation?: "coupon" | "promotion" | "recommendation" | "offer" | undefined;
|
|
244
|
-
summary?: string | undefined;
|
|
242
|
+
mode: "search" | "claimable" | "recommend";
|
|
245
243
|
noResultsReason?: string | undefined;
|
|
246
|
-
maxItems?: number | undefined;
|
|
247
244
|
nextCursor?: string | undefined;
|
|
245
|
+
presentation?: "coupon" | "offer" | "promotion" | "recommendation" | undefined;
|
|
246
|
+
summary?: string | undefined;
|
|
248
247
|
showDealRecall?: true | undefined;
|
|
248
|
+
maxItems?: number | undefined;
|
|
249
249
|
}, {
|
|
250
250
|
items: {
|
|
251
|
-
offerRef: string;
|
|
252
251
|
title: string;
|
|
253
252
|
offerType: "COUPON" | "BUNDLE" | "PROMOTION" | "ACTIVITY" | "GROUPON";
|
|
253
|
+
offerRef: string;
|
|
254
254
|
claimable: boolean;
|
|
255
255
|
tags: string[];
|
|
256
256
|
subtitle?: string | undefined;
|
|
@@ -264,32 +264,32 @@ declare const promotionCards: {
|
|
|
264
264
|
freeCouponClaimMode?: "DIRECT" | "REDIRECT" | undefined;
|
|
265
265
|
stockText?: string | undefined;
|
|
266
266
|
usageNoticeText?: string | undefined;
|
|
267
|
-
guaranteeText?: string | undefined;
|
|
268
267
|
usageSceneText?: string | undefined;
|
|
269
268
|
usageTimeText?: string | undefined;
|
|
270
269
|
claimTimeText?: string | undefined;
|
|
271
270
|
usageRuleText?: string | undefined;
|
|
272
|
-
|
|
271
|
+
guaranteeText?: string | undefined;
|
|
273
272
|
validityText?: string | undefined;
|
|
274
273
|
imageUrl?: string | undefined;
|
|
274
|
+
availabilityStatus?: "AVAILABLE" | "UNKNOWN" | "UNAVAILABLE" | "REQUIRES_ACTION" | undefined;
|
|
275
275
|
itemActions?: ({
|
|
276
276
|
kind: "send";
|
|
277
277
|
label: string;
|
|
278
278
|
value?: string | undefined;
|
|
279
279
|
visibleValue?: string | undefined;
|
|
280
280
|
} | {
|
|
281
|
+
url: string;
|
|
281
282
|
kind: "link";
|
|
282
283
|
label: string;
|
|
283
|
-
url: string;
|
|
284
284
|
})[] | undefined;
|
|
285
285
|
}[];
|
|
286
|
-
mode: "
|
|
287
|
-
presentation?: "coupon" | "promotion" | "recommendation" | "offer" | undefined;
|
|
288
|
-
summary?: string | undefined;
|
|
286
|
+
mode: "search" | "claimable" | "recommend";
|
|
289
287
|
noResultsReason?: string | undefined;
|
|
290
|
-
maxItems?: number | undefined;
|
|
291
288
|
nextCursor?: string | undefined;
|
|
289
|
+
presentation?: "coupon" | "offer" | "promotion" | "recommendation" | undefined;
|
|
290
|
+
summary?: string | undefined;
|
|
292
291
|
showDealRecall?: true | undefined;
|
|
292
|
+
maxItems?: number | undefined;
|
|
293
293
|
}>>;
|
|
294
294
|
readonly 'promotion-offer-detail': _tbox_cn_app_contracts.CardMeta<zod.ZodObject<{
|
|
295
295
|
presentation: zod.ZodOptional<zod.ZodEnum<["offer", "promotion", "promotion-guide", "coupon", "package"]>>;
|
|
@@ -337,14 +337,14 @@ declare const promotionCards: {
|
|
|
337
337
|
}, "strip", zod.ZodTypeAny, {
|
|
338
338
|
storeId: string;
|
|
339
339
|
storeName: string;
|
|
340
|
-
address?: string | undefined;
|
|
341
340
|
businessName?: string | undefined;
|
|
341
|
+
address?: string | undefined;
|
|
342
342
|
floor?: string | undefined;
|
|
343
343
|
}, {
|
|
344
344
|
storeId: string;
|
|
345
345
|
storeName: string;
|
|
346
|
-
address?: string | undefined;
|
|
347
346
|
businessName?: string | undefined;
|
|
347
|
+
address?: string | undefined;
|
|
348
348
|
floor?: string | undefined;
|
|
349
349
|
}>, "many">>;
|
|
350
350
|
bundleItems: zod.ZodOptional<zod.ZodArray<zod.ZodObject<{
|
|
@@ -361,13 +361,16 @@ declare const promotionCards: {
|
|
|
361
361
|
unavailableReason: zod.ZodOptional<zod.ZodString>;
|
|
362
362
|
caveats: zod.ZodArray<zod.ZodString, "many">;
|
|
363
363
|
}, "strip", zod.ZodTypeAny, {
|
|
364
|
-
offerRef: string;
|
|
365
364
|
title: string;
|
|
366
365
|
offerType: "COUPON" | "BUNDLE" | "PROMOTION" | "ACTIVITY" | "GROUPON";
|
|
367
|
-
|
|
366
|
+
offerRef: string;
|
|
368
367
|
caveats: string[];
|
|
368
|
+
claimable: boolean;
|
|
369
369
|
rules: string[];
|
|
370
|
+
description?: string | undefined;
|
|
370
371
|
subtitle?: string | undefined;
|
|
372
|
+
notice?: string | undefined;
|
|
373
|
+
presentation?: "coupon" | "offer" | "promotion" | "promotion-guide" | "package" | undefined;
|
|
371
374
|
benefitText?: string | undefined;
|
|
372
375
|
thresholdText?: string | undefined;
|
|
373
376
|
priceText?: string | undefined;
|
|
@@ -377,27 +380,19 @@ declare const promotionCards: {
|
|
|
377
380
|
purchaseUrl?: string | undefined;
|
|
378
381
|
stockText?: string | undefined;
|
|
379
382
|
usageNoticeText?: string | undefined;
|
|
380
|
-
guaranteeText?: string | undefined;
|
|
381
383
|
usageSceneText?: string | undefined;
|
|
382
384
|
usageTimeText?: string | undefined;
|
|
383
385
|
claimTimeText?: string | undefined;
|
|
384
386
|
usageRuleText?: string | undefined;
|
|
387
|
+
guaranteeText?: string | undefined;
|
|
385
388
|
validityText?: string | undefined;
|
|
386
389
|
imageUrl?: string | undefined;
|
|
387
|
-
description?: string | undefined;
|
|
388
|
-
notice?: string | undefined;
|
|
389
|
-
steps?: {
|
|
390
|
-
title: string;
|
|
391
|
-
description?: string | undefined;
|
|
392
|
-
}[] | undefined;
|
|
393
|
-
presentation?: "package" | "coupon" | "promotion" | "offer" | "promotion-guide" | undefined;
|
|
394
390
|
participationMode?: "UNKNOWN" | "AUTOMATIC_DISCOUNT" | "CLAIM_THEN_PURCHASE" | "REGISTER_THEN_ATTEND" | "GROUP_PURCHASE" | undefined;
|
|
395
|
-
requirements?: string[] | undefined;
|
|
396
391
|
stores?: {
|
|
397
392
|
storeId: string;
|
|
398
393
|
storeName: string;
|
|
399
|
-
address?: string | undefined;
|
|
400
394
|
businessName?: string | undefined;
|
|
395
|
+
address?: string | undefined;
|
|
401
396
|
floor?: string | undefined;
|
|
402
397
|
}[] | undefined;
|
|
403
398
|
bundleItems?: {
|
|
@@ -405,14 +400,22 @@ declare const promotionCards: {
|
|
|
405
400
|
quantity: number;
|
|
406
401
|
}[] | undefined;
|
|
407
402
|
unavailableReason?: string | undefined;
|
|
403
|
+
steps?: {
|
|
404
|
+
title: string;
|
|
405
|
+
description?: string | undefined;
|
|
406
|
+
}[] | undefined;
|
|
407
|
+
requirements?: string[] | undefined;
|
|
408
408
|
}, {
|
|
409
|
-
offerRef: string;
|
|
410
409
|
title: string;
|
|
411
410
|
offerType: "COUPON" | "BUNDLE" | "PROMOTION" | "ACTIVITY" | "GROUPON";
|
|
412
|
-
|
|
411
|
+
offerRef: string;
|
|
413
412
|
caveats: string[];
|
|
413
|
+
claimable: boolean;
|
|
414
414
|
rules: string[];
|
|
415
|
+
description?: string | undefined;
|
|
415
416
|
subtitle?: string | undefined;
|
|
417
|
+
notice?: string | undefined;
|
|
418
|
+
presentation?: "coupon" | "offer" | "promotion" | "promotion-guide" | "package" | undefined;
|
|
416
419
|
benefitText?: string | undefined;
|
|
417
420
|
thresholdText?: string | undefined;
|
|
418
421
|
priceText?: string | undefined;
|
|
@@ -422,27 +425,19 @@ declare const promotionCards: {
|
|
|
422
425
|
purchaseUrl?: string | undefined;
|
|
423
426
|
stockText?: string | undefined;
|
|
424
427
|
usageNoticeText?: string | undefined;
|
|
425
|
-
guaranteeText?: string | undefined;
|
|
426
428
|
usageSceneText?: string | undefined;
|
|
427
429
|
usageTimeText?: string | undefined;
|
|
428
430
|
claimTimeText?: string | undefined;
|
|
429
431
|
usageRuleText?: string | undefined;
|
|
432
|
+
guaranteeText?: string | undefined;
|
|
430
433
|
validityText?: string | undefined;
|
|
431
434
|
imageUrl?: string | undefined;
|
|
432
|
-
description?: string | undefined;
|
|
433
|
-
notice?: string | undefined;
|
|
434
|
-
steps?: {
|
|
435
|
-
title: string;
|
|
436
|
-
description?: string | undefined;
|
|
437
|
-
}[] | undefined;
|
|
438
|
-
presentation?: "package" | "coupon" | "promotion" | "offer" | "promotion-guide" | undefined;
|
|
439
435
|
participationMode?: "UNKNOWN" | "AUTOMATIC_DISCOUNT" | "CLAIM_THEN_PURCHASE" | "REGISTER_THEN_ATTEND" | "GROUP_PURCHASE" | undefined;
|
|
440
|
-
requirements?: string[] | undefined;
|
|
441
436
|
stores?: {
|
|
442
437
|
storeId: string;
|
|
443
438
|
storeName: string;
|
|
444
|
-
address?: string | undefined;
|
|
445
439
|
businessName?: string | undefined;
|
|
440
|
+
address?: string | undefined;
|
|
446
441
|
floor?: string | undefined;
|
|
447
442
|
}[] | undefined;
|
|
448
443
|
bundleItems?: {
|
|
@@ -450,6 +445,11 @@ declare const promotionCards: {
|
|
|
450
445
|
quantity: number;
|
|
451
446
|
}[] | undefined;
|
|
452
447
|
unavailableReason?: string | undefined;
|
|
448
|
+
steps?: {
|
|
449
|
+
title: string;
|
|
450
|
+
description?: string | undefined;
|
|
451
|
+
}[] | undefined;
|
|
452
|
+
requirements?: string[] | undefined;
|
|
453
453
|
}>>;
|
|
454
454
|
readonly 'promotion-entitlement-list': _tbox_cn_app_contracts.CardMeta<zod.ZodObject<{
|
|
455
455
|
showAlipayWallet: zod.ZodOptional<zod.ZodBoolean>;
|
|
@@ -495,13 +495,13 @@ declare const promotionCards: {
|
|
|
495
495
|
label: zod.ZodString;
|
|
496
496
|
url: zod.ZodString;
|
|
497
497
|
}, "strip", zod.ZodTypeAny, {
|
|
498
|
+
url: string;
|
|
498
499
|
kind: "link";
|
|
499
500
|
label: string;
|
|
500
|
-
url: string;
|
|
501
501
|
}, {
|
|
502
|
+
url: string;
|
|
502
503
|
kind: "link";
|
|
503
504
|
label: string;
|
|
504
|
-
url: string;
|
|
505
505
|
}>]>, "many">>;
|
|
506
506
|
stores: zod.ZodOptional<zod.ZodArray<zod.ZodObject<{
|
|
507
507
|
storeId: zod.ZodString;
|
|
@@ -516,196 +516,196 @@ declare const promotionCards: {
|
|
|
516
516
|
storeId: string;
|
|
517
517
|
storeName: string;
|
|
518
518
|
imageUrl?: string | undefined;
|
|
519
|
-
latitude?: number | undefined;
|
|
520
|
-
longitude?: number | undefined;
|
|
521
|
-
address?: string | undefined;
|
|
522
519
|
businessName?: string | undefined;
|
|
520
|
+
address?: string | undefined;
|
|
523
521
|
floor?: string | undefined;
|
|
522
|
+
latitude?: number | undefined;
|
|
523
|
+
longitude?: number | undefined;
|
|
524
524
|
}, {
|
|
525
525
|
storeId: string;
|
|
526
526
|
storeName: string;
|
|
527
527
|
imageUrl?: string | undefined;
|
|
528
|
-
latitude?: number | undefined;
|
|
529
|
-
longitude?: number | undefined;
|
|
530
|
-
address?: string | undefined;
|
|
531
528
|
businessName?: string | undefined;
|
|
529
|
+
address?: string | undefined;
|
|
532
530
|
floor?: string | undefined;
|
|
531
|
+
latitude?: number | undefined;
|
|
532
|
+
longitude?: number | undefined;
|
|
533
533
|
}>, "many">>;
|
|
534
534
|
}, "strip", zod.ZodTypeAny, {
|
|
535
|
-
status: "UNKNOWN" | "
|
|
535
|
+
status: "UNKNOWN" | "EFFECTIVE" | "USED" | "EXPIRED" | "INVALID";
|
|
536
536
|
title: string;
|
|
537
537
|
entitlementRef: string;
|
|
538
538
|
entitlementType: "COUPON" | "BUNDLE" | "PROMOTION" | "ACTIVITY" | "GROUPON";
|
|
539
539
|
code?: string | undefined;
|
|
540
540
|
benefitText?: string | undefined;
|
|
541
541
|
thresholdText?: string | undefined;
|
|
542
|
-
guaranteeText?: string | undefined;
|
|
543
542
|
usageSceneText?: string | undefined;
|
|
544
543
|
usageTimeText?: string | undefined;
|
|
545
544
|
claimTimeText?: string | undefined;
|
|
546
545
|
usageRuleText?: string | undefined;
|
|
546
|
+
guaranteeText?: string | undefined;
|
|
547
547
|
validityText?: string | undefined;
|
|
548
548
|
imageUrl?: string | undefined;
|
|
549
|
-
itemActions?: ({
|
|
550
|
-
kind: "send";
|
|
551
|
-
label: string;
|
|
552
|
-
value?: string | undefined;
|
|
553
|
-
visibleValue?: string | undefined;
|
|
554
|
-
} | {
|
|
555
|
-
kind: "link";
|
|
556
|
-
label: string;
|
|
557
|
-
url: string;
|
|
558
|
-
})[] | undefined;
|
|
559
549
|
stores?: {
|
|
560
550
|
storeId: string;
|
|
561
551
|
storeName: string;
|
|
562
552
|
imageUrl?: string | undefined;
|
|
563
|
-
latitude?: number | undefined;
|
|
564
|
-
longitude?: number | undefined;
|
|
565
|
-
address?: string | undefined;
|
|
566
553
|
businessName?: string | undefined;
|
|
554
|
+
address?: string | undefined;
|
|
567
555
|
floor?: string | undefined;
|
|
556
|
+
latitude?: number | undefined;
|
|
557
|
+
longitude?: number | undefined;
|
|
568
558
|
}[] | undefined;
|
|
569
559
|
codeMasked?: string | undefined;
|
|
570
560
|
qrCodeEnabled?: boolean | undefined;
|
|
571
561
|
usageNotice?: string | undefined;
|
|
572
562
|
validUntilText?: string | undefined;
|
|
563
|
+
itemActions?: ({
|
|
564
|
+
kind: "send";
|
|
565
|
+
label: string;
|
|
566
|
+
value?: string | undefined;
|
|
567
|
+
visibleValue?: string | undefined;
|
|
568
|
+
} | {
|
|
569
|
+
url: string;
|
|
570
|
+
kind: "link";
|
|
571
|
+
label: string;
|
|
572
|
+
})[] | undefined;
|
|
573
573
|
}, {
|
|
574
|
-
status: "UNKNOWN" | "
|
|
574
|
+
status: "UNKNOWN" | "EFFECTIVE" | "USED" | "EXPIRED" | "INVALID";
|
|
575
575
|
title: string;
|
|
576
576
|
entitlementRef: string;
|
|
577
577
|
entitlementType: "COUPON" | "BUNDLE" | "PROMOTION" | "ACTIVITY" | "GROUPON";
|
|
578
578
|
code?: string | undefined;
|
|
579
579
|
benefitText?: string | undefined;
|
|
580
580
|
thresholdText?: string | undefined;
|
|
581
|
-
guaranteeText?: string | undefined;
|
|
582
581
|
usageSceneText?: string | undefined;
|
|
583
582
|
usageTimeText?: string | undefined;
|
|
584
583
|
claimTimeText?: string | undefined;
|
|
585
584
|
usageRuleText?: string | undefined;
|
|
585
|
+
guaranteeText?: string | undefined;
|
|
586
586
|
validityText?: string | undefined;
|
|
587
587
|
imageUrl?: string | undefined;
|
|
588
|
-
itemActions?: ({
|
|
589
|
-
kind: "send";
|
|
590
|
-
label: string;
|
|
591
|
-
value?: string | undefined;
|
|
592
|
-
visibleValue?: string | undefined;
|
|
593
|
-
} | {
|
|
594
|
-
kind: "link";
|
|
595
|
-
label: string;
|
|
596
|
-
url: string;
|
|
597
|
-
})[] | undefined;
|
|
598
588
|
stores?: {
|
|
599
589
|
storeId: string;
|
|
600
590
|
storeName: string;
|
|
601
591
|
imageUrl?: string | undefined;
|
|
602
|
-
latitude?: number | undefined;
|
|
603
|
-
longitude?: number | undefined;
|
|
604
|
-
address?: string | undefined;
|
|
605
592
|
businessName?: string | undefined;
|
|
593
|
+
address?: string | undefined;
|
|
606
594
|
floor?: string | undefined;
|
|
595
|
+
latitude?: number | undefined;
|
|
596
|
+
longitude?: number | undefined;
|
|
607
597
|
}[] | undefined;
|
|
608
598
|
codeMasked?: string | undefined;
|
|
609
599
|
qrCodeEnabled?: boolean | undefined;
|
|
610
600
|
usageNotice?: string | undefined;
|
|
611
601
|
validUntilText?: string | undefined;
|
|
602
|
+
itemActions?: ({
|
|
603
|
+
kind: "send";
|
|
604
|
+
label: string;
|
|
605
|
+
value?: string | undefined;
|
|
606
|
+
visibleValue?: string | undefined;
|
|
607
|
+
} | {
|
|
608
|
+
url: string;
|
|
609
|
+
kind: "link";
|
|
610
|
+
label: string;
|
|
611
|
+
})[] | undefined;
|
|
612
612
|
}>, "many">;
|
|
613
613
|
noResultsReason: zod.ZodOptional<zod.ZodString>;
|
|
614
614
|
nextCursor: zod.ZodOptional<zod.ZodString>;
|
|
615
615
|
}, "strip", zod.ZodTypeAny, {
|
|
616
616
|
items: {
|
|
617
|
-
status: "UNKNOWN" | "
|
|
617
|
+
status: "UNKNOWN" | "EFFECTIVE" | "USED" | "EXPIRED" | "INVALID";
|
|
618
618
|
title: string;
|
|
619
619
|
entitlementRef: string;
|
|
620
620
|
entitlementType: "COUPON" | "BUNDLE" | "PROMOTION" | "ACTIVITY" | "GROUPON";
|
|
621
621
|
code?: string | undefined;
|
|
622
622
|
benefitText?: string | undefined;
|
|
623
623
|
thresholdText?: string | undefined;
|
|
624
|
-
guaranteeText?: string | undefined;
|
|
625
624
|
usageSceneText?: string | undefined;
|
|
626
625
|
usageTimeText?: string | undefined;
|
|
627
626
|
claimTimeText?: string | undefined;
|
|
628
627
|
usageRuleText?: string | undefined;
|
|
628
|
+
guaranteeText?: string | undefined;
|
|
629
629
|
validityText?: string | undefined;
|
|
630
630
|
imageUrl?: string | undefined;
|
|
631
|
-
itemActions?: ({
|
|
632
|
-
kind: "send";
|
|
633
|
-
label: string;
|
|
634
|
-
value?: string | undefined;
|
|
635
|
-
visibleValue?: string | undefined;
|
|
636
|
-
} | {
|
|
637
|
-
kind: "link";
|
|
638
|
-
label: string;
|
|
639
|
-
url: string;
|
|
640
|
-
})[] | undefined;
|
|
641
631
|
stores?: {
|
|
642
632
|
storeId: string;
|
|
643
633
|
storeName: string;
|
|
644
634
|
imageUrl?: string | undefined;
|
|
645
|
-
latitude?: number | undefined;
|
|
646
|
-
longitude?: number | undefined;
|
|
647
|
-
address?: string | undefined;
|
|
648
635
|
businessName?: string | undefined;
|
|
636
|
+
address?: string | undefined;
|
|
649
637
|
floor?: string | undefined;
|
|
638
|
+
latitude?: number | undefined;
|
|
639
|
+
longitude?: number | undefined;
|
|
650
640
|
}[] | undefined;
|
|
651
641
|
codeMasked?: string | undefined;
|
|
652
642
|
qrCodeEnabled?: boolean | undefined;
|
|
653
643
|
usageNotice?: string | undefined;
|
|
654
644
|
validUntilText?: string | undefined;
|
|
645
|
+
itemActions?: ({
|
|
646
|
+
kind: "send";
|
|
647
|
+
label: string;
|
|
648
|
+
value?: string | undefined;
|
|
649
|
+
visibleValue?: string | undefined;
|
|
650
|
+
} | {
|
|
651
|
+
url: string;
|
|
652
|
+
kind: "link";
|
|
653
|
+
label: string;
|
|
654
|
+
})[] | undefined;
|
|
655
655
|
}[];
|
|
656
|
-
mallId?: string | undefined;
|
|
657
|
-
miniAppId?: string | undefined;
|
|
658
656
|
noResultsReason?: string | undefined;
|
|
659
|
-
maxItems?: number | undefined;
|
|
660
657
|
nextCursor?: string | undefined;
|
|
661
658
|
showAlipayWallet?: boolean | undefined;
|
|
659
|
+
mallId?: string | undefined;
|
|
660
|
+
miniAppId?: string | undefined;
|
|
661
|
+
maxItems?: number | undefined;
|
|
662
662
|
}, {
|
|
663
663
|
items: {
|
|
664
|
-
status: "UNKNOWN" | "
|
|
664
|
+
status: "UNKNOWN" | "EFFECTIVE" | "USED" | "EXPIRED" | "INVALID";
|
|
665
665
|
title: string;
|
|
666
666
|
entitlementRef: string;
|
|
667
667
|
entitlementType: "COUPON" | "BUNDLE" | "PROMOTION" | "ACTIVITY" | "GROUPON";
|
|
668
668
|
code?: string | undefined;
|
|
669
669
|
benefitText?: string | undefined;
|
|
670
670
|
thresholdText?: string | undefined;
|
|
671
|
-
guaranteeText?: string | undefined;
|
|
672
671
|
usageSceneText?: string | undefined;
|
|
673
672
|
usageTimeText?: string | undefined;
|
|
674
673
|
claimTimeText?: string | undefined;
|
|
675
674
|
usageRuleText?: string | undefined;
|
|
675
|
+
guaranteeText?: string | undefined;
|
|
676
676
|
validityText?: string | undefined;
|
|
677
677
|
imageUrl?: string | undefined;
|
|
678
|
-
itemActions?: ({
|
|
679
|
-
kind: "send";
|
|
680
|
-
label: string;
|
|
681
|
-
value?: string | undefined;
|
|
682
|
-
visibleValue?: string | undefined;
|
|
683
|
-
} | {
|
|
684
|
-
kind: "link";
|
|
685
|
-
label: string;
|
|
686
|
-
url: string;
|
|
687
|
-
})[] | undefined;
|
|
688
678
|
stores?: {
|
|
689
679
|
storeId: string;
|
|
690
680
|
storeName: string;
|
|
691
681
|
imageUrl?: string | undefined;
|
|
692
|
-
latitude?: number | undefined;
|
|
693
|
-
longitude?: number | undefined;
|
|
694
|
-
address?: string | undefined;
|
|
695
682
|
businessName?: string | undefined;
|
|
683
|
+
address?: string | undefined;
|
|
696
684
|
floor?: string | undefined;
|
|
685
|
+
latitude?: number | undefined;
|
|
686
|
+
longitude?: number | undefined;
|
|
697
687
|
}[] | undefined;
|
|
698
688
|
codeMasked?: string | undefined;
|
|
699
689
|
qrCodeEnabled?: boolean | undefined;
|
|
700
690
|
usageNotice?: string | undefined;
|
|
701
691
|
validUntilText?: string | undefined;
|
|
692
|
+
itemActions?: ({
|
|
693
|
+
kind: "send";
|
|
694
|
+
label: string;
|
|
695
|
+
value?: string | undefined;
|
|
696
|
+
visibleValue?: string | undefined;
|
|
697
|
+
} | {
|
|
698
|
+
url: string;
|
|
699
|
+
kind: "link";
|
|
700
|
+
label: string;
|
|
701
|
+
})[] | undefined;
|
|
702
702
|
}[];
|
|
703
|
-
mallId?: string | undefined;
|
|
704
|
-
miniAppId?: string | undefined;
|
|
705
703
|
noResultsReason?: string | undefined;
|
|
706
|
-
maxItems?: number | undefined;
|
|
707
704
|
nextCursor?: string | undefined;
|
|
708
705
|
showAlipayWallet?: boolean | undefined;
|
|
706
|
+
mallId?: string | undefined;
|
|
707
|
+
miniAppId?: string | undefined;
|
|
708
|
+
maxItems?: number | undefined;
|
|
709
709
|
}>>;
|
|
710
710
|
readonly 'promotion-activity-list': _tbox_cn_app_contracts.CardMeta<zod.ZodObject<{
|
|
711
711
|
items: zod.ZodArray<zod.ZodObject<{
|
|
@@ -740,110 +740,110 @@ declare const promotionCards: {
|
|
|
740
740
|
label: zod.ZodString;
|
|
741
741
|
url: zod.ZodString;
|
|
742
742
|
}, "strip", zod.ZodTypeAny, {
|
|
743
|
+
url: string;
|
|
743
744
|
kind: "link";
|
|
744
745
|
label: string;
|
|
745
|
-
url: string;
|
|
746
746
|
}, {
|
|
747
|
+
url: string;
|
|
747
748
|
kind: "link";
|
|
748
749
|
label: string;
|
|
749
|
-
url: string;
|
|
750
750
|
}>]>, "many">>;
|
|
751
751
|
}, "strip", zod.ZodTypeAny, {
|
|
752
|
-
title: string;
|
|
753
|
-
activityRef: string;
|
|
754
752
|
registrationRequired: boolean;
|
|
753
|
+
activityRef: string;
|
|
754
|
+
title: string;
|
|
755
755
|
subtitle?: string | undefined;
|
|
756
|
-
|
|
756
|
+
coverUrl?: string | undefined;
|
|
757
|
+
jumpOnly?: boolean | undefined;
|
|
758
|
+
jumpLabel?: string | undefined;
|
|
759
|
+
categoryName?: string | undefined;
|
|
760
|
+
remainingQuota?: number | undefined;
|
|
761
|
+
periodText?: string | undefined;
|
|
762
|
+
availabilityStatus?: "FULL" | "ENDED" | "UPCOMING" | "AVAILABLE" | "UNKNOWN" | undefined;
|
|
757
763
|
itemActions?: ({
|
|
758
764
|
kind: "send";
|
|
759
765
|
label: string;
|
|
760
766
|
value?: string | undefined;
|
|
761
767
|
visibleValue?: string | undefined;
|
|
762
768
|
} | {
|
|
769
|
+
url: string;
|
|
763
770
|
kind: "link";
|
|
764
771
|
label: string;
|
|
765
|
-
url: string;
|
|
766
772
|
})[] | undefined;
|
|
773
|
+
}, {
|
|
774
|
+
registrationRequired: boolean;
|
|
775
|
+
activityRef: string;
|
|
776
|
+
title: string;
|
|
777
|
+
subtitle?: string | undefined;
|
|
767
778
|
coverUrl?: string | undefined;
|
|
768
779
|
jumpOnly?: boolean | undefined;
|
|
769
780
|
jumpLabel?: string | undefined;
|
|
781
|
+
categoryName?: string | undefined;
|
|
770
782
|
remainingQuota?: number | undefined;
|
|
771
783
|
periodText?: string | undefined;
|
|
772
|
-
|
|
773
|
-
}, {
|
|
774
|
-
title: string;
|
|
775
|
-
activityRef: string;
|
|
776
|
-
registrationRequired: boolean;
|
|
777
|
-
subtitle?: string | undefined;
|
|
778
|
-
availabilityStatus?: "AVAILABLE" | "UNKNOWN" | "FULL" | "ENDED" | "UPCOMING" | undefined;
|
|
784
|
+
availabilityStatus?: "FULL" | "ENDED" | "UPCOMING" | "AVAILABLE" | "UNKNOWN" | undefined;
|
|
779
785
|
itemActions?: ({
|
|
780
786
|
kind: "send";
|
|
781
787
|
label: string;
|
|
782
788
|
value?: string | undefined;
|
|
783
789
|
visibleValue?: string | undefined;
|
|
784
790
|
} | {
|
|
791
|
+
url: string;
|
|
785
792
|
kind: "link";
|
|
786
793
|
label: string;
|
|
787
|
-
url: string;
|
|
788
794
|
})[] | undefined;
|
|
789
|
-
coverUrl?: string | undefined;
|
|
790
|
-
jumpOnly?: boolean | undefined;
|
|
791
|
-
jumpLabel?: string | undefined;
|
|
792
|
-
remainingQuota?: number | undefined;
|
|
793
|
-
periodText?: string | undefined;
|
|
794
|
-
categoryName?: string | undefined;
|
|
795
795
|
}>, "many">;
|
|
796
796
|
noResultsReason: zod.ZodOptional<zod.ZodString>;
|
|
797
797
|
nextCursor: zod.ZodOptional<zod.ZodString>;
|
|
798
798
|
}, "strip", zod.ZodTypeAny, {
|
|
799
799
|
items: {
|
|
800
|
-
title: string;
|
|
801
|
-
activityRef: string;
|
|
802
800
|
registrationRequired: boolean;
|
|
801
|
+
activityRef: string;
|
|
802
|
+
title: string;
|
|
803
803
|
subtitle?: string | undefined;
|
|
804
|
-
|
|
804
|
+
coverUrl?: string | undefined;
|
|
805
|
+
jumpOnly?: boolean | undefined;
|
|
806
|
+
jumpLabel?: string | undefined;
|
|
807
|
+
categoryName?: string | undefined;
|
|
808
|
+
remainingQuota?: number | undefined;
|
|
809
|
+
periodText?: string | undefined;
|
|
810
|
+
availabilityStatus?: "FULL" | "ENDED" | "UPCOMING" | "AVAILABLE" | "UNKNOWN" | undefined;
|
|
805
811
|
itemActions?: ({
|
|
806
812
|
kind: "send";
|
|
807
813
|
label: string;
|
|
808
814
|
value?: string | undefined;
|
|
809
815
|
visibleValue?: string | undefined;
|
|
810
816
|
} | {
|
|
817
|
+
url: string;
|
|
811
818
|
kind: "link";
|
|
812
819
|
label: string;
|
|
813
|
-
url: string;
|
|
814
820
|
})[] | undefined;
|
|
815
|
-
coverUrl?: string | undefined;
|
|
816
|
-
jumpOnly?: boolean | undefined;
|
|
817
|
-
jumpLabel?: string | undefined;
|
|
818
|
-
remainingQuota?: number | undefined;
|
|
819
|
-
periodText?: string | undefined;
|
|
820
|
-
categoryName?: string | undefined;
|
|
821
821
|
}[];
|
|
822
822
|
noResultsReason?: string | undefined;
|
|
823
823
|
nextCursor?: string | undefined;
|
|
824
824
|
}, {
|
|
825
825
|
items: {
|
|
826
|
-
title: string;
|
|
827
|
-
activityRef: string;
|
|
828
826
|
registrationRequired: boolean;
|
|
827
|
+
activityRef: string;
|
|
828
|
+
title: string;
|
|
829
829
|
subtitle?: string | undefined;
|
|
830
|
-
|
|
830
|
+
coverUrl?: string | undefined;
|
|
831
|
+
jumpOnly?: boolean | undefined;
|
|
832
|
+
jumpLabel?: string | undefined;
|
|
833
|
+
categoryName?: string | undefined;
|
|
834
|
+
remainingQuota?: number | undefined;
|
|
835
|
+
periodText?: string | undefined;
|
|
836
|
+
availabilityStatus?: "FULL" | "ENDED" | "UPCOMING" | "AVAILABLE" | "UNKNOWN" | undefined;
|
|
831
837
|
itemActions?: ({
|
|
832
838
|
kind: "send";
|
|
833
839
|
label: string;
|
|
834
840
|
value?: string | undefined;
|
|
835
841
|
visibleValue?: string | undefined;
|
|
836
842
|
} | {
|
|
843
|
+
url: string;
|
|
837
844
|
kind: "link";
|
|
838
845
|
label: string;
|
|
839
|
-
url: string;
|
|
840
846
|
})[] | undefined;
|
|
841
|
-
coverUrl?: string | undefined;
|
|
842
|
-
jumpOnly?: boolean | undefined;
|
|
843
|
-
jumpLabel?: string | undefined;
|
|
844
|
-
remainingQuota?: number | undefined;
|
|
845
|
-
periodText?: string | undefined;
|
|
846
|
-
categoryName?: string | undefined;
|
|
847
847
|
}[];
|
|
848
848
|
noResultsReason?: string | undefined;
|
|
849
849
|
nextCursor?: string | undefined;
|
|
@@ -872,21 +872,21 @@ declare const promotionCards: {
|
|
|
872
872
|
remainingQuota: zod.ZodOptional<zod.ZodNumber>;
|
|
873
873
|
status: zod.ZodEnum<["OPEN", "FULL", "CLOSED", "UNKNOWN"]>;
|
|
874
874
|
}, "strip", zod.ZodTypeAny, {
|
|
875
|
-
status: "
|
|
875
|
+
status: "FULL" | "OPEN" | "CLOSED" | "UNKNOWN";
|
|
876
876
|
title: string;
|
|
877
877
|
sessionRef: string;
|
|
878
878
|
startText: string;
|
|
879
|
-
location?: string | undefined;
|
|
880
879
|
remainingQuota?: number | undefined;
|
|
881
880
|
endText?: string | undefined;
|
|
881
|
+
location?: string | undefined;
|
|
882
882
|
}, {
|
|
883
|
-
status: "
|
|
883
|
+
status: "FULL" | "OPEN" | "CLOSED" | "UNKNOWN";
|
|
884
884
|
title: string;
|
|
885
885
|
sessionRef: string;
|
|
886
886
|
startText: string;
|
|
887
|
-
location?: string | undefined;
|
|
888
887
|
remainingQuota?: number | undefined;
|
|
889
888
|
endText?: string | undefined;
|
|
889
|
+
location?: string | undefined;
|
|
890
890
|
}>, "many">;
|
|
891
891
|
guideSteps: zod.ZodArray<zod.ZodString, "many">;
|
|
892
892
|
guideItems: zod.ZodOptional<zod.ZodArray<zod.ZodObject<{
|
|
@@ -902,67 +902,67 @@ declare const promotionCards: {
|
|
|
902
902
|
conditions: zod.ZodArray<zod.ZodString, "many">;
|
|
903
903
|
notice: zod.ZodOptional<zod.ZodString>;
|
|
904
904
|
}, "strip", zod.ZodTypeAny, {
|
|
905
|
-
title: string;
|
|
906
|
-
activityRef: string;
|
|
907
905
|
registrationRequired: boolean;
|
|
906
|
+
activityRef: string;
|
|
907
|
+
title: string;
|
|
908
908
|
sessions: {
|
|
909
|
-
status: "
|
|
909
|
+
status: "FULL" | "OPEN" | "CLOSED" | "UNKNOWN";
|
|
910
910
|
title: string;
|
|
911
911
|
sessionRef: string;
|
|
912
912
|
startText: string;
|
|
913
|
-
location?: string | undefined;
|
|
914
913
|
remainingQuota?: number | undefined;
|
|
915
914
|
endText?: string | undefined;
|
|
915
|
+
location?: string | undefined;
|
|
916
916
|
}[];
|
|
917
917
|
guideSteps: string[];
|
|
918
918
|
conditions: string[];
|
|
919
|
-
subtitle?: string | undefined;
|
|
920
919
|
description?: string | undefined;
|
|
921
|
-
|
|
922
|
-
presentation?: "detail" | "schedule" | "guide" | undefined;
|
|
923
|
-
location?: string | undefined;
|
|
920
|
+
subtitle?: string | undefined;
|
|
924
921
|
coverUrl?: string | undefined;
|
|
925
922
|
jumpOnly?: boolean | undefined;
|
|
926
923
|
jumpLabel?: string | undefined;
|
|
927
|
-
remainingQuota?: number | undefined;
|
|
928
|
-
periodText?: string | undefined;
|
|
929
924
|
categoryName?: string | undefined;
|
|
925
|
+
remainingQuota?: number | undefined;
|
|
930
926
|
registrationUrl?: string | undefined;
|
|
927
|
+
periodText?: string | undefined;
|
|
928
|
+
location?: string | undefined;
|
|
929
|
+
notice?: string | undefined;
|
|
931
930
|
guideItems?: {
|
|
932
931
|
title: string;
|
|
933
932
|
description?: string | undefined;
|
|
934
933
|
}[] | undefined;
|
|
934
|
+
presentation?: "detail" | "schedule" | "guide" | undefined;
|
|
935
935
|
}, {
|
|
936
|
-
title: string;
|
|
937
|
-
activityRef: string;
|
|
938
936
|
registrationRequired: boolean;
|
|
937
|
+
activityRef: string;
|
|
938
|
+
title: string;
|
|
939
939
|
sessions: {
|
|
940
|
-
status: "
|
|
940
|
+
status: "FULL" | "OPEN" | "CLOSED" | "UNKNOWN";
|
|
941
941
|
title: string;
|
|
942
942
|
sessionRef: string;
|
|
943
943
|
startText: string;
|
|
944
|
-
location?: string | undefined;
|
|
945
944
|
remainingQuota?: number | undefined;
|
|
946
945
|
endText?: string | undefined;
|
|
946
|
+
location?: string | undefined;
|
|
947
947
|
}[];
|
|
948
948
|
guideSteps: string[];
|
|
949
949
|
conditions: string[];
|
|
950
|
-
subtitle?: string | undefined;
|
|
951
950
|
description?: string | undefined;
|
|
952
|
-
|
|
953
|
-
presentation?: "detail" | "schedule" | "guide" | undefined;
|
|
954
|
-
location?: string | undefined;
|
|
951
|
+
subtitle?: string | undefined;
|
|
955
952
|
coverUrl?: string | undefined;
|
|
956
953
|
jumpOnly?: boolean | undefined;
|
|
957
|
-
jumpLabel?: string | undefined;
|
|
958
|
-
remainingQuota?: number | undefined;
|
|
959
|
-
periodText?: string | undefined;
|
|
954
|
+
jumpLabel?: string | undefined;
|
|
960
955
|
categoryName?: string | undefined;
|
|
956
|
+
remainingQuota?: number | undefined;
|
|
961
957
|
registrationUrl?: string | undefined;
|
|
958
|
+
periodText?: string | undefined;
|
|
959
|
+
location?: string | undefined;
|
|
960
|
+
notice?: string | undefined;
|
|
962
961
|
guideItems?: {
|
|
963
962
|
title: string;
|
|
964
963
|
description?: string | undefined;
|
|
965
964
|
}[] | undefined;
|
|
965
|
+
presentation?: "detail" | "schedule" | "guide" | undefined;
|
|
966
966
|
}>>;
|
|
967
967
|
readonly 'promotion-activity-category-list': _tbox_cn_app_contracts.CardMeta<zod.ZodObject<{
|
|
968
968
|
items: zod.ZodArray<zod.ZodObject<{
|
|
@@ -989,74 +989,74 @@ declare const promotionCards: {
|
|
|
989
989
|
label: zod.ZodString;
|
|
990
990
|
url: zod.ZodString;
|
|
991
991
|
}, "strip", zod.ZodTypeAny, {
|
|
992
|
+
url: string;
|
|
992
993
|
kind: "link";
|
|
993
994
|
label: string;
|
|
994
|
-
url: string;
|
|
995
995
|
}, {
|
|
996
|
+
url: string;
|
|
996
997
|
kind: "link";
|
|
997
998
|
label: string;
|
|
998
|
-
url: string;
|
|
999
999
|
}>]>, "many">>;
|
|
1000
1000
|
}, "strip", zod.ZodTypeAny, {
|
|
1001
|
-
name: string;
|
|
1002
1001
|
categoryId: string;
|
|
1002
|
+
name: string;
|
|
1003
1003
|
itemActions?: ({
|
|
1004
1004
|
kind: "send";
|
|
1005
1005
|
label: string;
|
|
1006
1006
|
value?: string | undefined;
|
|
1007
1007
|
visibleValue?: string | undefined;
|
|
1008
1008
|
} | {
|
|
1009
|
+
url: string;
|
|
1009
1010
|
kind: "link";
|
|
1010
1011
|
label: string;
|
|
1011
|
-
url: string;
|
|
1012
1012
|
})[] | undefined;
|
|
1013
1013
|
parentId?: string | undefined;
|
|
1014
1014
|
}, {
|
|
1015
|
-
name: string;
|
|
1016
1015
|
categoryId: string;
|
|
1016
|
+
name: string;
|
|
1017
1017
|
itemActions?: ({
|
|
1018
1018
|
kind: "send";
|
|
1019
1019
|
label: string;
|
|
1020
1020
|
value?: string | undefined;
|
|
1021
1021
|
visibleValue?: string | undefined;
|
|
1022
1022
|
} | {
|
|
1023
|
+
url: string;
|
|
1023
1024
|
kind: "link";
|
|
1024
1025
|
label: string;
|
|
1025
|
-
url: string;
|
|
1026
1026
|
})[] | undefined;
|
|
1027
1027
|
parentId?: string | undefined;
|
|
1028
1028
|
}>, "many">;
|
|
1029
1029
|
noResultsReason: zod.ZodOptional<zod.ZodString>;
|
|
1030
1030
|
}, "strip", zod.ZodTypeAny, {
|
|
1031
1031
|
items: {
|
|
1032
|
-
name: string;
|
|
1033
1032
|
categoryId: string;
|
|
1033
|
+
name: string;
|
|
1034
1034
|
itemActions?: ({
|
|
1035
1035
|
kind: "send";
|
|
1036
1036
|
label: string;
|
|
1037
1037
|
value?: string | undefined;
|
|
1038
1038
|
visibleValue?: string | undefined;
|
|
1039
1039
|
} | {
|
|
1040
|
+
url: string;
|
|
1040
1041
|
kind: "link";
|
|
1041
1042
|
label: string;
|
|
1042
|
-
url: string;
|
|
1043
1043
|
})[] | undefined;
|
|
1044
1044
|
parentId?: string | undefined;
|
|
1045
1045
|
}[];
|
|
1046
1046
|
noResultsReason?: string | undefined;
|
|
1047
1047
|
}, {
|
|
1048
1048
|
items: {
|
|
1049
|
-
name: string;
|
|
1050
1049
|
categoryId: string;
|
|
1050
|
+
name: string;
|
|
1051
1051
|
itemActions?: ({
|
|
1052
1052
|
kind: "send";
|
|
1053
1053
|
label: string;
|
|
1054
1054
|
value?: string | undefined;
|
|
1055
1055
|
visibleValue?: string | undefined;
|
|
1056
1056
|
} | {
|
|
1057
|
+
url: string;
|
|
1057
1058
|
kind: "link";
|
|
1058
1059
|
label: string;
|
|
1059
|
-
url: string;
|
|
1060
1060
|
})[] | undefined;
|
|
1061
1061
|
parentId?: string | undefined;
|
|
1062
1062
|
}[];
|
|
@@ -1112,19 +1112,19 @@ declare const promotionCards: {
|
|
|
1112
1112
|
label: zod.ZodString;
|
|
1113
1113
|
url: zod.ZodString;
|
|
1114
1114
|
}, "strip", zod.ZodTypeAny, {
|
|
1115
|
+
url: string;
|
|
1115
1116
|
kind: "link";
|
|
1116
1117
|
label: string;
|
|
1117
|
-
url: string;
|
|
1118
1118
|
}, {
|
|
1119
|
+
url: string;
|
|
1119
1120
|
kind: "link";
|
|
1120
1121
|
label: string;
|
|
1121
|
-
url: string;
|
|
1122
1122
|
}>]>, "many">>;
|
|
1123
1123
|
tags: zod.ZodArray<zod.ZodString, "many">;
|
|
1124
1124
|
}, "strip", zod.ZodTypeAny, {
|
|
1125
|
-
offerRef: string;
|
|
1126
1125
|
title: string;
|
|
1127
1126
|
offerType: "COUPON" | "BUNDLE" | "PROMOTION" | "ACTIVITY" | "GROUPON";
|
|
1127
|
+
offerRef: string;
|
|
1128
1128
|
claimable: boolean;
|
|
1129
1129
|
tags: string[];
|
|
1130
1130
|
subtitle?: string | undefined;
|
|
@@ -1138,28 +1138,28 @@ declare const promotionCards: {
|
|
|
1138
1138
|
freeCouponClaimMode?: "DIRECT" | "REDIRECT" | undefined;
|
|
1139
1139
|
stockText?: string | undefined;
|
|
1140
1140
|
usageNoticeText?: string | undefined;
|
|
1141
|
-
guaranteeText?: string | undefined;
|
|
1142
1141
|
usageSceneText?: string | undefined;
|
|
1143
1142
|
usageTimeText?: string | undefined;
|
|
1144
1143
|
claimTimeText?: string | undefined;
|
|
1145
1144
|
usageRuleText?: string | undefined;
|
|
1146
|
-
|
|
1145
|
+
guaranteeText?: string | undefined;
|
|
1147
1146
|
validityText?: string | undefined;
|
|
1148
1147
|
imageUrl?: string | undefined;
|
|
1148
|
+
availabilityStatus?: "AVAILABLE" | "UNKNOWN" | "UNAVAILABLE" | "REQUIRES_ACTION" | undefined;
|
|
1149
1149
|
itemActions?: ({
|
|
1150
1150
|
kind: "send";
|
|
1151
1151
|
label: string;
|
|
1152
1152
|
value?: string | undefined;
|
|
1153
1153
|
visibleValue?: string | undefined;
|
|
1154
1154
|
} | {
|
|
1155
|
+
url: string;
|
|
1155
1156
|
kind: "link";
|
|
1156
1157
|
label: string;
|
|
1157
|
-
url: string;
|
|
1158
1158
|
})[] | undefined;
|
|
1159
1159
|
}, {
|
|
1160
|
-
offerRef: string;
|
|
1161
1160
|
title: string;
|
|
1162
1161
|
offerType: "COUPON" | "BUNDLE" | "PROMOTION" | "ACTIVITY" | "GROUPON";
|
|
1162
|
+
offerRef: string;
|
|
1163
1163
|
claimable: boolean;
|
|
1164
1164
|
tags: string[];
|
|
1165
1165
|
subtitle?: string | undefined;
|
|
@@ -1173,37 +1173,37 @@ declare const promotionCards: {
|
|
|
1173
1173
|
freeCouponClaimMode?: "DIRECT" | "REDIRECT" | undefined;
|
|
1174
1174
|
stockText?: string | undefined;
|
|
1175
1175
|
usageNoticeText?: string | undefined;
|
|
1176
|
-
guaranteeText?: string | undefined;
|
|
1177
1176
|
usageSceneText?: string | undefined;
|
|
1178
1177
|
usageTimeText?: string | undefined;
|
|
1179
1178
|
claimTimeText?: string | undefined;
|
|
1180
1179
|
usageRuleText?: string | undefined;
|
|
1181
|
-
|
|
1180
|
+
guaranteeText?: string | undefined;
|
|
1182
1181
|
validityText?: string | undefined;
|
|
1183
1182
|
imageUrl?: string | undefined;
|
|
1183
|
+
availabilityStatus?: "AVAILABLE" | "UNKNOWN" | "UNAVAILABLE" | "REQUIRES_ACTION" | undefined;
|
|
1184
1184
|
itemActions?: ({
|
|
1185
1185
|
kind: "send";
|
|
1186
1186
|
label: string;
|
|
1187
1187
|
value?: string | undefined;
|
|
1188
1188
|
visibleValue?: string | undefined;
|
|
1189
1189
|
} | {
|
|
1190
|
+
url: string;
|
|
1190
1191
|
kind: "link";
|
|
1191
1192
|
label: string;
|
|
1192
|
-
url: string;
|
|
1193
1193
|
})[] | undefined;
|
|
1194
1194
|
}>, "many">>;
|
|
1195
1195
|
message: zod.ZodOptional<zod.ZodString>;
|
|
1196
1196
|
}, "strip", zod.ZodTypeAny, {
|
|
1197
|
-
authoritative: boolean;
|
|
1198
1197
|
originalAmountCents: number;
|
|
1198
|
+
authoritative: boolean;
|
|
1199
1199
|
appliedOfferRefs: string[];
|
|
1200
|
+
message?: string | undefined;
|
|
1200
1201
|
savingsCents?: number | undefined;
|
|
1201
1202
|
expectedPayCents?: number | undefined;
|
|
1202
|
-
message?: string | undefined;
|
|
1203
1203
|
candidates?: {
|
|
1204
|
-
offerRef: string;
|
|
1205
1204
|
title: string;
|
|
1206
1205
|
offerType: "COUPON" | "BUNDLE" | "PROMOTION" | "ACTIVITY" | "GROUPON";
|
|
1206
|
+
offerRef: string;
|
|
1207
1207
|
claimable: boolean;
|
|
1208
1208
|
tags: string[];
|
|
1209
1209
|
subtitle?: string | undefined;
|
|
@@ -1217,36 +1217,36 @@ declare const promotionCards: {
|
|
|
1217
1217
|
freeCouponClaimMode?: "DIRECT" | "REDIRECT" | undefined;
|
|
1218
1218
|
stockText?: string | undefined;
|
|
1219
1219
|
usageNoticeText?: string | undefined;
|
|
1220
|
-
guaranteeText?: string | undefined;
|
|
1221
1220
|
usageSceneText?: string | undefined;
|
|
1222
1221
|
usageTimeText?: string | undefined;
|
|
1223
1222
|
claimTimeText?: string | undefined;
|
|
1224
1223
|
usageRuleText?: string | undefined;
|
|
1225
|
-
|
|
1224
|
+
guaranteeText?: string | undefined;
|
|
1226
1225
|
validityText?: string | undefined;
|
|
1227
1226
|
imageUrl?: string | undefined;
|
|
1227
|
+
availabilityStatus?: "AVAILABLE" | "UNKNOWN" | "UNAVAILABLE" | "REQUIRES_ACTION" | undefined;
|
|
1228
1228
|
itemActions?: ({
|
|
1229
1229
|
kind: "send";
|
|
1230
1230
|
label: string;
|
|
1231
1231
|
value?: string | undefined;
|
|
1232
1232
|
visibleValue?: string | undefined;
|
|
1233
1233
|
} | {
|
|
1234
|
+
url: string;
|
|
1234
1235
|
kind: "link";
|
|
1235
1236
|
label: string;
|
|
1236
|
-
url: string;
|
|
1237
1237
|
})[] | undefined;
|
|
1238
1238
|
}[] | undefined;
|
|
1239
1239
|
}, {
|
|
1240
|
-
authoritative: boolean;
|
|
1241
1240
|
originalAmountCents: number;
|
|
1241
|
+
authoritative: boolean;
|
|
1242
1242
|
appliedOfferRefs: string[];
|
|
1243
|
+
message?: string | undefined;
|
|
1243
1244
|
savingsCents?: number | undefined;
|
|
1244
1245
|
expectedPayCents?: number | undefined;
|
|
1245
|
-
message?: string | undefined;
|
|
1246
1246
|
candidates?: {
|
|
1247
|
-
offerRef: string;
|
|
1248
1247
|
title: string;
|
|
1249
1248
|
offerType: "COUPON" | "BUNDLE" | "PROMOTION" | "ACTIVITY" | "GROUPON";
|
|
1249
|
+
offerRef: string;
|
|
1250
1250
|
claimable: boolean;
|
|
1251
1251
|
tags: string[];
|
|
1252
1252
|
subtitle?: string | undefined;
|
|
@@ -1260,23 +1260,23 @@ declare const promotionCards: {
|
|
|
1260
1260
|
freeCouponClaimMode?: "DIRECT" | "REDIRECT" | undefined;
|
|
1261
1261
|
stockText?: string | undefined;
|
|
1262
1262
|
usageNoticeText?: string | undefined;
|
|
1263
|
-
guaranteeText?: string | undefined;
|
|
1264
1263
|
usageSceneText?: string | undefined;
|
|
1265
1264
|
usageTimeText?: string | undefined;
|
|
1266
1265
|
claimTimeText?: string | undefined;
|
|
1267
1266
|
usageRuleText?: string | undefined;
|
|
1268
|
-
|
|
1267
|
+
guaranteeText?: string | undefined;
|
|
1269
1268
|
validityText?: string | undefined;
|
|
1270
1269
|
imageUrl?: string | undefined;
|
|
1270
|
+
availabilityStatus?: "AVAILABLE" | "UNKNOWN" | "UNAVAILABLE" | "REQUIRES_ACTION" | undefined;
|
|
1271
1271
|
itemActions?: ({
|
|
1272
1272
|
kind: "send";
|
|
1273
1273
|
label: string;
|
|
1274
1274
|
value?: string | undefined;
|
|
1275
1275
|
visibleValue?: string | undefined;
|
|
1276
1276
|
} | {
|
|
1277
|
+
url: string;
|
|
1277
1278
|
kind: "link";
|
|
1278
1279
|
label: string;
|
|
1279
|
-
url: string;
|
|
1280
1280
|
})[] | undefined;
|
|
1281
1281
|
}[] | undefined;
|
|
1282
1282
|
}>>;
|
|
@@ -1292,45 +1292,45 @@ declare const promotionCards: {
|
|
|
1292
1292
|
price: zod.ZodOptional<zod.ZodString>;
|
|
1293
1293
|
url: zod.ZodOptional<zod.ZodString>;
|
|
1294
1294
|
}, "strip", zod.ZodTypeAny, {
|
|
1295
|
+
id: string;
|
|
1295
1296
|
title: string;
|
|
1296
1297
|
kind: "item" | "shop";
|
|
1297
|
-
id: string;
|
|
1298
1298
|
subtitle?: string | undefined;
|
|
1299
|
-
imageUrl?: string | undefined;
|
|
1300
1299
|
url?: string | undefined;
|
|
1300
|
+
imageUrl?: string | undefined;
|
|
1301
1301
|
price?: string | undefined;
|
|
1302
1302
|
}, {
|
|
1303
|
+
id: string;
|
|
1303
1304
|
title: string;
|
|
1304
1305
|
kind: "item" | "shop";
|
|
1305
|
-
id: string;
|
|
1306
1306
|
subtitle?: string | undefined;
|
|
1307
|
-
imageUrl?: string | undefined;
|
|
1308
1307
|
url?: string | undefined;
|
|
1308
|
+
imageUrl?: string | undefined;
|
|
1309
1309
|
price?: string | undefined;
|
|
1310
1310
|
}>, "many">;
|
|
1311
1311
|
}, "strip", zod.ZodTypeAny, {
|
|
1312
|
-
title: string;
|
|
1313
1312
|
items: {
|
|
1313
|
+
id: string;
|
|
1314
1314
|
title: string;
|
|
1315
1315
|
kind: "item" | "shop";
|
|
1316
|
-
id: string;
|
|
1317
1316
|
subtitle?: string | undefined;
|
|
1318
|
-
imageUrl?: string | undefined;
|
|
1319
1317
|
url?: string | undefined;
|
|
1318
|
+
imageUrl?: string | undefined;
|
|
1320
1319
|
price?: string | undefined;
|
|
1321
1320
|
}[];
|
|
1321
|
+
title: string;
|
|
1322
1322
|
partial?: boolean | undefined;
|
|
1323
1323
|
}, {
|
|
1324
|
-
title: string;
|
|
1325
1324
|
items: {
|
|
1325
|
+
id: string;
|
|
1326
1326
|
title: string;
|
|
1327
1327
|
kind: "item" | "shop";
|
|
1328
|
-
id: string;
|
|
1329
1328
|
subtitle?: string | undefined;
|
|
1330
|
-
imageUrl?: string | undefined;
|
|
1331
1329
|
url?: string | undefined;
|
|
1330
|
+
imageUrl?: string | undefined;
|
|
1332
1331
|
price?: string | undefined;
|
|
1333
1332
|
}[];
|
|
1333
|
+
title: string;
|
|
1334
1334
|
partial?: boolean | undefined;
|
|
1335
1335
|
}>>;
|
|
1336
1336
|
};
|
|
@@ -1390,19 +1390,19 @@ declare const serverModule: {
|
|
|
1390
1390
|
label: z.ZodString;
|
|
1391
1391
|
url: z.ZodString;
|
|
1392
1392
|
}, "strip", z.ZodTypeAny, {
|
|
1393
|
+
url: string;
|
|
1393
1394
|
kind: "link";
|
|
1394
1395
|
label: string;
|
|
1395
|
-
url: string;
|
|
1396
1396
|
}, {
|
|
1397
|
+
url: string;
|
|
1397
1398
|
kind: "link";
|
|
1398
1399
|
label: string;
|
|
1399
|
-
url: string;
|
|
1400
1400
|
}>]>, "many">>;
|
|
1401
1401
|
tags: z.ZodArray<z.ZodString, "many">;
|
|
1402
1402
|
}, "strip", z.ZodTypeAny, {
|
|
1403
|
-
offerRef: string;
|
|
1404
1403
|
title: string;
|
|
1405
1404
|
offerType: "COUPON" | "BUNDLE" | "PROMOTION" | "ACTIVITY" | "GROUPON";
|
|
1405
|
+
offerRef: string;
|
|
1406
1406
|
claimable: boolean;
|
|
1407
1407
|
tags: string[];
|
|
1408
1408
|
subtitle?: string | undefined;
|
|
@@ -1416,28 +1416,28 @@ declare const serverModule: {
|
|
|
1416
1416
|
freeCouponClaimMode?: "DIRECT" | "REDIRECT" | undefined;
|
|
1417
1417
|
stockText?: string | undefined;
|
|
1418
1418
|
usageNoticeText?: string | undefined;
|
|
1419
|
-
guaranteeText?: string | undefined;
|
|
1420
1419
|
usageSceneText?: string | undefined;
|
|
1421
1420
|
usageTimeText?: string | undefined;
|
|
1422
1421
|
claimTimeText?: string | undefined;
|
|
1423
1422
|
usageRuleText?: string | undefined;
|
|
1424
|
-
|
|
1423
|
+
guaranteeText?: string | undefined;
|
|
1425
1424
|
validityText?: string | undefined;
|
|
1426
1425
|
imageUrl?: string | undefined;
|
|
1426
|
+
availabilityStatus?: "AVAILABLE" | "UNKNOWN" | "UNAVAILABLE" | "REQUIRES_ACTION" | undefined;
|
|
1427
1427
|
itemActions?: ({
|
|
1428
1428
|
kind: "send";
|
|
1429
1429
|
label: string;
|
|
1430
1430
|
value?: string | undefined;
|
|
1431
1431
|
visibleValue?: string | undefined;
|
|
1432
1432
|
} | {
|
|
1433
|
+
url: string;
|
|
1433
1434
|
kind: "link";
|
|
1434
1435
|
label: string;
|
|
1435
|
-
url: string;
|
|
1436
1436
|
})[] | undefined;
|
|
1437
1437
|
}, {
|
|
1438
|
-
offerRef: string;
|
|
1439
1438
|
title: string;
|
|
1440
1439
|
offerType: "COUPON" | "BUNDLE" | "PROMOTION" | "ACTIVITY" | "GROUPON";
|
|
1440
|
+
offerRef: string;
|
|
1441
1441
|
claimable: boolean;
|
|
1442
1442
|
tags: string[];
|
|
1443
1443
|
subtitle?: string | undefined;
|
|
@@ -1451,23 +1451,23 @@ declare const serverModule: {
|
|
|
1451
1451
|
freeCouponClaimMode?: "DIRECT" | "REDIRECT" | undefined;
|
|
1452
1452
|
stockText?: string | undefined;
|
|
1453
1453
|
usageNoticeText?: string | undefined;
|
|
1454
|
-
guaranteeText?: string | undefined;
|
|
1455
1454
|
usageSceneText?: string | undefined;
|
|
1456
1455
|
usageTimeText?: string | undefined;
|
|
1457
1456
|
claimTimeText?: string | undefined;
|
|
1458
1457
|
usageRuleText?: string | undefined;
|
|
1459
|
-
|
|
1458
|
+
guaranteeText?: string | undefined;
|
|
1460
1459
|
validityText?: string | undefined;
|
|
1461
1460
|
imageUrl?: string | undefined;
|
|
1461
|
+
availabilityStatus?: "AVAILABLE" | "UNKNOWN" | "UNAVAILABLE" | "REQUIRES_ACTION" | undefined;
|
|
1462
1462
|
itemActions?: ({
|
|
1463
1463
|
kind: "send";
|
|
1464
1464
|
label: string;
|
|
1465
1465
|
value?: string | undefined;
|
|
1466
1466
|
visibleValue?: string | undefined;
|
|
1467
1467
|
} | {
|
|
1468
|
+
url: string;
|
|
1468
1469
|
kind: "link";
|
|
1469
1470
|
label: string;
|
|
1470
|
-
url: string;
|
|
1471
1471
|
})[] | undefined;
|
|
1472
1472
|
}>, "many">;
|
|
1473
1473
|
noResultsReason: z.ZodOptional<z.ZodString>;
|
|
@@ -1475,9 +1475,9 @@ declare const serverModule: {
|
|
|
1475
1475
|
showDealRecall: z.ZodOptional<z.ZodLiteral<true>>;
|
|
1476
1476
|
}, "strip", z.ZodTypeAny, {
|
|
1477
1477
|
items: {
|
|
1478
|
-
offerRef: string;
|
|
1479
1478
|
title: string;
|
|
1480
1479
|
offerType: "COUPON" | "BUNDLE" | "PROMOTION" | "ACTIVITY" | "GROUPON";
|
|
1480
|
+
offerRef: string;
|
|
1481
1481
|
claimable: boolean;
|
|
1482
1482
|
tags: string[];
|
|
1483
1483
|
subtitle?: string | undefined;
|
|
@@ -1491,37 +1491,37 @@ declare const serverModule: {
|
|
|
1491
1491
|
freeCouponClaimMode?: "DIRECT" | "REDIRECT" | undefined;
|
|
1492
1492
|
stockText?: string | undefined;
|
|
1493
1493
|
usageNoticeText?: string | undefined;
|
|
1494
|
-
guaranteeText?: string | undefined;
|
|
1495
1494
|
usageSceneText?: string | undefined;
|
|
1496
1495
|
usageTimeText?: string | undefined;
|
|
1497
1496
|
claimTimeText?: string | undefined;
|
|
1498
1497
|
usageRuleText?: string | undefined;
|
|
1499
|
-
|
|
1498
|
+
guaranteeText?: string | undefined;
|
|
1500
1499
|
validityText?: string | undefined;
|
|
1501
1500
|
imageUrl?: string | undefined;
|
|
1501
|
+
availabilityStatus?: "AVAILABLE" | "UNKNOWN" | "UNAVAILABLE" | "REQUIRES_ACTION" | undefined;
|
|
1502
1502
|
itemActions?: ({
|
|
1503
1503
|
kind: "send";
|
|
1504
1504
|
label: string;
|
|
1505
1505
|
value?: string | undefined;
|
|
1506
1506
|
visibleValue?: string | undefined;
|
|
1507
1507
|
} | {
|
|
1508
|
+
url: string;
|
|
1508
1509
|
kind: "link";
|
|
1509
1510
|
label: string;
|
|
1510
|
-
url: string;
|
|
1511
1511
|
})[] | undefined;
|
|
1512
1512
|
}[];
|
|
1513
|
-
mode: "
|
|
1514
|
-
presentation?: "coupon" | "promotion" | "recommendation" | "offer" | undefined;
|
|
1515
|
-
summary?: string | undefined;
|
|
1513
|
+
mode: "search" | "claimable" | "recommend";
|
|
1516
1514
|
noResultsReason?: string | undefined;
|
|
1517
|
-
maxItems?: number | undefined;
|
|
1518
1515
|
nextCursor?: string | undefined;
|
|
1516
|
+
presentation?: "coupon" | "offer" | "promotion" | "recommendation" | undefined;
|
|
1517
|
+
summary?: string | undefined;
|
|
1519
1518
|
showDealRecall?: true | undefined;
|
|
1519
|
+
maxItems?: number | undefined;
|
|
1520
1520
|
}, {
|
|
1521
1521
|
items: {
|
|
1522
|
-
offerRef: string;
|
|
1523
1522
|
title: string;
|
|
1524
1523
|
offerType: "COUPON" | "BUNDLE" | "PROMOTION" | "ACTIVITY" | "GROUPON";
|
|
1524
|
+
offerRef: string;
|
|
1525
1525
|
claimable: boolean;
|
|
1526
1526
|
tags: string[];
|
|
1527
1527
|
subtitle?: string | undefined;
|
|
@@ -1535,32 +1535,32 @@ declare const serverModule: {
|
|
|
1535
1535
|
freeCouponClaimMode?: "DIRECT" | "REDIRECT" | undefined;
|
|
1536
1536
|
stockText?: string | undefined;
|
|
1537
1537
|
usageNoticeText?: string | undefined;
|
|
1538
|
-
guaranteeText?: string | undefined;
|
|
1539
1538
|
usageSceneText?: string | undefined;
|
|
1540
1539
|
usageTimeText?: string | undefined;
|
|
1541
1540
|
claimTimeText?: string | undefined;
|
|
1542
1541
|
usageRuleText?: string | undefined;
|
|
1543
|
-
|
|
1542
|
+
guaranteeText?: string | undefined;
|
|
1544
1543
|
validityText?: string | undefined;
|
|
1545
1544
|
imageUrl?: string | undefined;
|
|
1545
|
+
availabilityStatus?: "AVAILABLE" | "UNKNOWN" | "UNAVAILABLE" | "REQUIRES_ACTION" | undefined;
|
|
1546
1546
|
itemActions?: ({
|
|
1547
1547
|
kind: "send";
|
|
1548
1548
|
label: string;
|
|
1549
1549
|
value?: string | undefined;
|
|
1550
1550
|
visibleValue?: string | undefined;
|
|
1551
1551
|
} | {
|
|
1552
|
+
url: string;
|
|
1552
1553
|
kind: "link";
|
|
1553
1554
|
label: string;
|
|
1554
|
-
url: string;
|
|
1555
1555
|
})[] | undefined;
|
|
1556
1556
|
}[];
|
|
1557
|
-
mode: "
|
|
1558
|
-
presentation?: "coupon" | "promotion" | "recommendation" | "offer" | undefined;
|
|
1559
|
-
summary?: string | undefined;
|
|
1557
|
+
mode: "search" | "claimable" | "recommend";
|
|
1560
1558
|
noResultsReason?: string | undefined;
|
|
1561
|
-
maxItems?: number | undefined;
|
|
1562
1559
|
nextCursor?: string | undefined;
|
|
1560
|
+
presentation?: "coupon" | "offer" | "promotion" | "recommendation" | undefined;
|
|
1561
|
+
summary?: string | undefined;
|
|
1563
1562
|
showDealRecall?: true | undefined;
|
|
1563
|
+
maxItems?: number | undefined;
|
|
1564
1564
|
}>>;
|
|
1565
1565
|
readonly 'promotion-offer-detail': _tbox_cn_app_contracts.CardMeta<z.ZodObject<{
|
|
1566
1566
|
presentation: z.ZodOptional<z.ZodEnum<["offer", "promotion", "promotion-guide", "coupon", "package"]>>;
|
|
@@ -1608,14 +1608,14 @@ declare const serverModule: {
|
|
|
1608
1608
|
}, "strip", z.ZodTypeAny, {
|
|
1609
1609
|
storeId: string;
|
|
1610
1610
|
storeName: string;
|
|
1611
|
-
address?: string | undefined;
|
|
1612
1611
|
businessName?: string | undefined;
|
|
1612
|
+
address?: string | undefined;
|
|
1613
1613
|
floor?: string | undefined;
|
|
1614
1614
|
}, {
|
|
1615
1615
|
storeId: string;
|
|
1616
1616
|
storeName: string;
|
|
1617
|
-
address?: string | undefined;
|
|
1618
1617
|
businessName?: string | undefined;
|
|
1618
|
+
address?: string | undefined;
|
|
1619
1619
|
floor?: string | undefined;
|
|
1620
1620
|
}>, "many">>;
|
|
1621
1621
|
bundleItems: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
@@ -1632,13 +1632,16 @@ declare const serverModule: {
|
|
|
1632
1632
|
unavailableReason: z.ZodOptional<z.ZodString>;
|
|
1633
1633
|
caveats: z.ZodArray<z.ZodString, "many">;
|
|
1634
1634
|
}, "strip", z.ZodTypeAny, {
|
|
1635
|
-
offerRef: string;
|
|
1636
1635
|
title: string;
|
|
1637
1636
|
offerType: "COUPON" | "BUNDLE" | "PROMOTION" | "ACTIVITY" | "GROUPON";
|
|
1638
|
-
|
|
1637
|
+
offerRef: string;
|
|
1639
1638
|
caveats: string[];
|
|
1639
|
+
claimable: boolean;
|
|
1640
1640
|
rules: string[];
|
|
1641
|
+
description?: string | undefined;
|
|
1641
1642
|
subtitle?: string | undefined;
|
|
1643
|
+
notice?: string | undefined;
|
|
1644
|
+
presentation?: "coupon" | "offer" | "promotion" | "promotion-guide" | "package" | undefined;
|
|
1642
1645
|
benefitText?: string | undefined;
|
|
1643
1646
|
thresholdText?: string | undefined;
|
|
1644
1647
|
priceText?: string | undefined;
|
|
@@ -1648,27 +1651,19 @@ declare const serverModule: {
|
|
|
1648
1651
|
purchaseUrl?: string | undefined;
|
|
1649
1652
|
stockText?: string | undefined;
|
|
1650
1653
|
usageNoticeText?: string | undefined;
|
|
1651
|
-
guaranteeText?: string | undefined;
|
|
1652
1654
|
usageSceneText?: string | undefined;
|
|
1653
1655
|
usageTimeText?: string | undefined;
|
|
1654
1656
|
claimTimeText?: string | undefined;
|
|
1655
1657
|
usageRuleText?: string | undefined;
|
|
1658
|
+
guaranteeText?: string | undefined;
|
|
1656
1659
|
validityText?: string | undefined;
|
|
1657
1660
|
imageUrl?: string | undefined;
|
|
1658
|
-
description?: string | undefined;
|
|
1659
|
-
notice?: string | undefined;
|
|
1660
|
-
steps?: {
|
|
1661
|
-
title: string;
|
|
1662
|
-
description?: string | undefined;
|
|
1663
|
-
}[] | undefined;
|
|
1664
|
-
presentation?: "package" | "coupon" | "promotion" | "offer" | "promotion-guide" | undefined;
|
|
1665
1661
|
participationMode?: "UNKNOWN" | "AUTOMATIC_DISCOUNT" | "CLAIM_THEN_PURCHASE" | "REGISTER_THEN_ATTEND" | "GROUP_PURCHASE" | undefined;
|
|
1666
|
-
requirements?: string[] | undefined;
|
|
1667
1662
|
stores?: {
|
|
1668
1663
|
storeId: string;
|
|
1669
1664
|
storeName: string;
|
|
1670
|
-
address?: string | undefined;
|
|
1671
1665
|
businessName?: string | undefined;
|
|
1666
|
+
address?: string | undefined;
|
|
1672
1667
|
floor?: string | undefined;
|
|
1673
1668
|
}[] | undefined;
|
|
1674
1669
|
bundleItems?: {
|
|
@@ -1676,14 +1671,22 @@ declare const serverModule: {
|
|
|
1676
1671
|
quantity: number;
|
|
1677
1672
|
}[] | undefined;
|
|
1678
1673
|
unavailableReason?: string | undefined;
|
|
1674
|
+
steps?: {
|
|
1675
|
+
title: string;
|
|
1676
|
+
description?: string | undefined;
|
|
1677
|
+
}[] | undefined;
|
|
1678
|
+
requirements?: string[] | undefined;
|
|
1679
1679
|
}, {
|
|
1680
|
-
offerRef: string;
|
|
1681
1680
|
title: string;
|
|
1682
1681
|
offerType: "COUPON" | "BUNDLE" | "PROMOTION" | "ACTIVITY" | "GROUPON";
|
|
1683
|
-
|
|
1682
|
+
offerRef: string;
|
|
1684
1683
|
caveats: string[];
|
|
1684
|
+
claimable: boolean;
|
|
1685
1685
|
rules: string[];
|
|
1686
|
+
description?: string | undefined;
|
|
1686
1687
|
subtitle?: string | undefined;
|
|
1688
|
+
notice?: string | undefined;
|
|
1689
|
+
presentation?: "coupon" | "offer" | "promotion" | "promotion-guide" | "package" | undefined;
|
|
1687
1690
|
benefitText?: string | undefined;
|
|
1688
1691
|
thresholdText?: string | undefined;
|
|
1689
1692
|
priceText?: string | undefined;
|
|
@@ -1693,27 +1696,19 @@ declare const serverModule: {
|
|
|
1693
1696
|
purchaseUrl?: string | undefined;
|
|
1694
1697
|
stockText?: string | undefined;
|
|
1695
1698
|
usageNoticeText?: string | undefined;
|
|
1696
|
-
guaranteeText?: string | undefined;
|
|
1697
1699
|
usageSceneText?: string | undefined;
|
|
1698
1700
|
usageTimeText?: string | undefined;
|
|
1699
1701
|
claimTimeText?: string | undefined;
|
|
1700
1702
|
usageRuleText?: string | undefined;
|
|
1703
|
+
guaranteeText?: string | undefined;
|
|
1701
1704
|
validityText?: string | undefined;
|
|
1702
1705
|
imageUrl?: string | undefined;
|
|
1703
|
-
description?: string | undefined;
|
|
1704
|
-
notice?: string | undefined;
|
|
1705
|
-
steps?: {
|
|
1706
|
-
title: string;
|
|
1707
|
-
description?: string | undefined;
|
|
1708
|
-
}[] | undefined;
|
|
1709
|
-
presentation?: "package" | "coupon" | "promotion" | "offer" | "promotion-guide" | undefined;
|
|
1710
1706
|
participationMode?: "UNKNOWN" | "AUTOMATIC_DISCOUNT" | "CLAIM_THEN_PURCHASE" | "REGISTER_THEN_ATTEND" | "GROUP_PURCHASE" | undefined;
|
|
1711
|
-
requirements?: string[] | undefined;
|
|
1712
1707
|
stores?: {
|
|
1713
1708
|
storeId: string;
|
|
1714
1709
|
storeName: string;
|
|
1715
|
-
address?: string | undefined;
|
|
1716
1710
|
businessName?: string | undefined;
|
|
1711
|
+
address?: string | undefined;
|
|
1717
1712
|
floor?: string | undefined;
|
|
1718
1713
|
}[] | undefined;
|
|
1719
1714
|
bundleItems?: {
|
|
@@ -1721,6 +1716,11 @@ declare const serverModule: {
|
|
|
1721
1716
|
quantity: number;
|
|
1722
1717
|
}[] | undefined;
|
|
1723
1718
|
unavailableReason?: string | undefined;
|
|
1719
|
+
steps?: {
|
|
1720
|
+
title: string;
|
|
1721
|
+
description?: string | undefined;
|
|
1722
|
+
}[] | undefined;
|
|
1723
|
+
requirements?: string[] | undefined;
|
|
1724
1724
|
}>>;
|
|
1725
1725
|
readonly 'promotion-entitlement-list': _tbox_cn_app_contracts.CardMeta<z.ZodObject<{
|
|
1726
1726
|
showAlipayWallet: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -1766,13 +1766,13 @@ declare const serverModule: {
|
|
|
1766
1766
|
label: z.ZodString;
|
|
1767
1767
|
url: z.ZodString;
|
|
1768
1768
|
}, "strip", z.ZodTypeAny, {
|
|
1769
|
+
url: string;
|
|
1769
1770
|
kind: "link";
|
|
1770
1771
|
label: string;
|
|
1771
|
-
url: string;
|
|
1772
1772
|
}, {
|
|
1773
|
+
url: string;
|
|
1773
1774
|
kind: "link";
|
|
1774
1775
|
label: string;
|
|
1775
|
-
url: string;
|
|
1776
1776
|
}>]>, "many">>;
|
|
1777
1777
|
stores: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1778
1778
|
storeId: z.ZodString;
|
|
@@ -1787,196 +1787,196 @@ declare const serverModule: {
|
|
|
1787
1787
|
storeId: string;
|
|
1788
1788
|
storeName: string;
|
|
1789
1789
|
imageUrl?: string | undefined;
|
|
1790
|
-
latitude?: number | undefined;
|
|
1791
|
-
longitude?: number | undefined;
|
|
1792
|
-
address?: string | undefined;
|
|
1793
1790
|
businessName?: string | undefined;
|
|
1791
|
+
address?: string | undefined;
|
|
1794
1792
|
floor?: string | undefined;
|
|
1793
|
+
latitude?: number | undefined;
|
|
1794
|
+
longitude?: number | undefined;
|
|
1795
1795
|
}, {
|
|
1796
1796
|
storeId: string;
|
|
1797
1797
|
storeName: string;
|
|
1798
1798
|
imageUrl?: string | undefined;
|
|
1799
|
-
latitude?: number | undefined;
|
|
1800
|
-
longitude?: number | undefined;
|
|
1801
|
-
address?: string | undefined;
|
|
1802
1799
|
businessName?: string | undefined;
|
|
1800
|
+
address?: string | undefined;
|
|
1803
1801
|
floor?: string | undefined;
|
|
1802
|
+
latitude?: number | undefined;
|
|
1803
|
+
longitude?: number | undefined;
|
|
1804
1804
|
}>, "many">>;
|
|
1805
1805
|
}, "strip", z.ZodTypeAny, {
|
|
1806
|
-
status: "UNKNOWN" | "
|
|
1806
|
+
status: "UNKNOWN" | "EFFECTIVE" | "USED" | "EXPIRED" | "INVALID";
|
|
1807
1807
|
title: string;
|
|
1808
1808
|
entitlementRef: string;
|
|
1809
1809
|
entitlementType: "COUPON" | "BUNDLE" | "PROMOTION" | "ACTIVITY" | "GROUPON";
|
|
1810
1810
|
code?: string | undefined;
|
|
1811
1811
|
benefitText?: string | undefined;
|
|
1812
1812
|
thresholdText?: string | undefined;
|
|
1813
|
-
guaranteeText?: string | undefined;
|
|
1814
1813
|
usageSceneText?: string | undefined;
|
|
1815
1814
|
usageTimeText?: string | undefined;
|
|
1816
1815
|
claimTimeText?: string | undefined;
|
|
1817
1816
|
usageRuleText?: string | undefined;
|
|
1817
|
+
guaranteeText?: string | undefined;
|
|
1818
1818
|
validityText?: string | undefined;
|
|
1819
1819
|
imageUrl?: string | undefined;
|
|
1820
|
-
itemActions?: ({
|
|
1821
|
-
kind: "send";
|
|
1822
|
-
label: string;
|
|
1823
|
-
value?: string | undefined;
|
|
1824
|
-
visibleValue?: string | undefined;
|
|
1825
|
-
} | {
|
|
1826
|
-
kind: "link";
|
|
1827
|
-
label: string;
|
|
1828
|
-
url: string;
|
|
1829
|
-
})[] | undefined;
|
|
1830
1820
|
stores?: {
|
|
1831
1821
|
storeId: string;
|
|
1832
1822
|
storeName: string;
|
|
1833
1823
|
imageUrl?: string | undefined;
|
|
1834
|
-
latitude?: number | undefined;
|
|
1835
|
-
longitude?: number | undefined;
|
|
1836
|
-
address?: string | undefined;
|
|
1837
1824
|
businessName?: string | undefined;
|
|
1825
|
+
address?: string | undefined;
|
|
1838
1826
|
floor?: string | undefined;
|
|
1827
|
+
latitude?: number | undefined;
|
|
1828
|
+
longitude?: number | undefined;
|
|
1839
1829
|
}[] | undefined;
|
|
1840
1830
|
codeMasked?: string | undefined;
|
|
1841
1831
|
qrCodeEnabled?: boolean | undefined;
|
|
1842
1832
|
usageNotice?: string | undefined;
|
|
1843
1833
|
validUntilText?: string | undefined;
|
|
1834
|
+
itemActions?: ({
|
|
1835
|
+
kind: "send";
|
|
1836
|
+
label: string;
|
|
1837
|
+
value?: string | undefined;
|
|
1838
|
+
visibleValue?: string | undefined;
|
|
1839
|
+
} | {
|
|
1840
|
+
url: string;
|
|
1841
|
+
kind: "link";
|
|
1842
|
+
label: string;
|
|
1843
|
+
})[] | undefined;
|
|
1844
1844
|
}, {
|
|
1845
|
-
status: "UNKNOWN" | "
|
|
1845
|
+
status: "UNKNOWN" | "EFFECTIVE" | "USED" | "EXPIRED" | "INVALID";
|
|
1846
1846
|
title: string;
|
|
1847
1847
|
entitlementRef: string;
|
|
1848
1848
|
entitlementType: "COUPON" | "BUNDLE" | "PROMOTION" | "ACTIVITY" | "GROUPON";
|
|
1849
1849
|
code?: string | undefined;
|
|
1850
1850
|
benefitText?: string | undefined;
|
|
1851
1851
|
thresholdText?: string | undefined;
|
|
1852
|
-
guaranteeText?: string | undefined;
|
|
1853
1852
|
usageSceneText?: string | undefined;
|
|
1854
1853
|
usageTimeText?: string | undefined;
|
|
1855
1854
|
claimTimeText?: string | undefined;
|
|
1856
1855
|
usageRuleText?: string | undefined;
|
|
1856
|
+
guaranteeText?: string | undefined;
|
|
1857
1857
|
validityText?: string | undefined;
|
|
1858
1858
|
imageUrl?: string | undefined;
|
|
1859
|
-
itemActions?: ({
|
|
1860
|
-
kind: "send";
|
|
1861
|
-
label: string;
|
|
1862
|
-
value?: string | undefined;
|
|
1863
|
-
visibleValue?: string | undefined;
|
|
1864
|
-
} | {
|
|
1865
|
-
kind: "link";
|
|
1866
|
-
label: string;
|
|
1867
|
-
url: string;
|
|
1868
|
-
})[] | undefined;
|
|
1869
1859
|
stores?: {
|
|
1870
1860
|
storeId: string;
|
|
1871
1861
|
storeName: string;
|
|
1872
1862
|
imageUrl?: string | undefined;
|
|
1873
|
-
latitude?: number | undefined;
|
|
1874
|
-
longitude?: number | undefined;
|
|
1875
|
-
address?: string | undefined;
|
|
1876
1863
|
businessName?: string | undefined;
|
|
1864
|
+
address?: string | undefined;
|
|
1877
1865
|
floor?: string | undefined;
|
|
1866
|
+
latitude?: number | undefined;
|
|
1867
|
+
longitude?: number | undefined;
|
|
1878
1868
|
}[] | undefined;
|
|
1879
1869
|
codeMasked?: string | undefined;
|
|
1880
1870
|
qrCodeEnabled?: boolean | undefined;
|
|
1881
1871
|
usageNotice?: string | undefined;
|
|
1882
1872
|
validUntilText?: string | undefined;
|
|
1873
|
+
itemActions?: ({
|
|
1874
|
+
kind: "send";
|
|
1875
|
+
label: string;
|
|
1876
|
+
value?: string | undefined;
|
|
1877
|
+
visibleValue?: string | undefined;
|
|
1878
|
+
} | {
|
|
1879
|
+
url: string;
|
|
1880
|
+
kind: "link";
|
|
1881
|
+
label: string;
|
|
1882
|
+
})[] | undefined;
|
|
1883
1883
|
}>, "many">;
|
|
1884
1884
|
noResultsReason: z.ZodOptional<z.ZodString>;
|
|
1885
1885
|
nextCursor: z.ZodOptional<z.ZodString>;
|
|
1886
1886
|
}, "strip", z.ZodTypeAny, {
|
|
1887
1887
|
items: {
|
|
1888
|
-
status: "UNKNOWN" | "
|
|
1888
|
+
status: "UNKNOWN" | "EFFECTIVE" | "USED" | "EXPIRED" | "INVALID";
|
|
1889
1889
|
title: string;
|
|
1890
1890
|
entitlementRef: string;
|
|
1891
1891
|
entitlementType: "COUPON" | "BUNDLE" | "PROMOTION" | "ACTIVITY" | "GROUPON";
|
|
1892
1892
|
code?: string | undefined;
|
|
1893
1893
|
benefitText?: string | undefined;
|
|
1894
|
-
thresholdText?: string | undefined;
|
|
1895
|
-
|
|
1896
|
-
|
|
1897
|
-
|
|
1898
|
-
|
|
1899
|
-
|
|
1900
|
-
validityText?: string | undefined;
|
|
1901
|
-
imageUrl?: string | undefined;
|
|
1902
|
-
itemActions?: ({
|
|
1903
|
-
kind: "send";
|
|
1904
|
-
label: string;
|
|
1905
|
-
value?: string | undefined;
|
|
1906
|
-
visibleValue?: string | undefined;
|
|
1907
|
-
} | {
|
|
1908
|
-
kind: "link";
|
|
1909
|
-
label: string;
|
|
1910
|
-
url: string;
|
|
1911
|
-
})[] | undefined;
|
|
1894
|
+
thresholdText?: string | undefined;
|
|
1895
|
+
usageSceneText?: string | undefined;
|
|
1896
|
+
usageTimeText?: string | undefined;
|
|
1897
|
+
claimTimeText?: string | undefined;
|
|
1898
|
+
usageRuleText?: string | undefined;
|
|
1899
|
+
guaranteeText?: string | undefined;
|
|
1900
|
+
validityText?: string | undefined;
|
|
1901
|
+
imageUrl?: string | undefined;
|
|
1912
1902
|
stores?: {
|
|
1913
1903
|
storeId: string;
|
|
1914
1904
|
storeName: string;
|
|
1915
1905
|
imageUrl?: string | undefined;
|
|
1916
|
-
latitude?: number | undefined;
|
|
1917
|
-
longitude?: number | undefined;
|
|
1918
|
-
address?: string | undefined;
|
|
1919
1906
|
businessName?: string | undefined;
|
|
1907
|
+
address?: string | undefined;
|
|
1920
1908
|
floor?: string | undefined;
|
|
1909
|
+
latitude?: number | undefined;
|
|
1910
|
+
longitude?: number | undefined;
|
|
1921
1911
|
}[] | undefined;
|
|
1922
1912
|
codeMasked?: string | undefined;
|
|
1923
1913
|
qrCodeEnabled?: boolean | undefined;
|
|
1924
1914
|
usageNotice?: string | undefined;
|
|
1925
1915
|
validUntilText?: string | undefined;
|
|
1916
|
+
itemActions?: ({
|
|
1917
|
+
kind: "send";
|
|
1918
|
+
label: string;
|
|
1919
|
+
value?: string | undefined;
|
|
1920
|
+
visibleValue?: string | undefined;
|
|
1921
|
+
} | {
|
|
1922
|
+
url: string;
|
|
1923
|
+
kind: "link";
|
|
1924
|
+
label: string;
|
|
1925
|
+
})[] | undefined;
|
|
1926
1926
|
}[];
|
|
1927
|
-
mallId?: string | undefined;
|
|
1928
|
-
miniAppId?: string | undefined;
|
|
1929
1927
|
noResultsReason?: string | undefined;
|
|
1930
|
-
maxItems?: number | undefined;
|
|
1931
1928
|
nextCursor?: string | undefined;
|
|
1932
1929
|
showAlipayWallet?: boolean | undefined;
|
|
1930
|
+
mallId?: string | undefined;
|
|
1931
|
+
miniAppId?: string | undefined;
|
|
1932
|
+
maxItems?: number | undefined;
|
|
1933
1933
|
}, {
|
|
1934
1934
|
items: {
|
|
1935
|
-
status: "UNKNOWN" | "
|
|
1935
|
+
status: "UNKNOWN" | "EFFECTIVE" | "USED" | "EXPIRED" | "INVALID";
|
|
1936
1936
|
title: string;
|
|
1937
1937
|
entitlementRef: string;
|
|
1938
1938
|
entitlementType: "COUPON" | "BUNDLE" | "PROMOTION" | "ACTIVITY" | "GROUPON";
|
|
1939
1939
|
code?: string | undefined;
|
|
1940
1940
|
benefitText?: string | undefined;
|
|
1941
1941
|
thresholdText?: string | undefined;
|
|
1942
|
-
guaranteeText?: string | undefined;
|
|
1943
1942
|
usageSceneText?: string | undefined;
|
|
1944
1943
|
usageTimeText?: string | undefined;
|
|
1945
1944
|
claimTimeText?: string | undefined;
|
|
1946
1945
|
usageRuleText?: string | undefined;
|
|
1946
|
+
guaranteeText?: string | undefined;
|
|
1947
1947
|
validityText?: string | undefined;
|
|
1948
1948
|
imageUrl?: string | undefined;
|
|
1949
|
-
itemActions?: ({
|
|
1950
|
-
kind: "send";
|
|
1951
|
-
label: string;
|
|
1952
|
-
value?: string | undefined;
|
|
1953
|
-
visibleValue?: string | undefined;
|
|
1954
|
-
} | {
|
|
1955
|
-
kind: "link";
|
|
1956
|
-
label: string;
|
|
1957
|
-
url: string;
|
|
1958
|
-
})[] | undefined;
|
|
1959
1949
|
stores?: {
|
|
1960
1950
|
storeId: string;
|
|
1961
1951
|
storeName: string;
|
|
1962
1952
|
imageUrl?: string | undefined;
|
|
1963
|
-
latitude?: number | undefined;
|
|
1964
|
-
longitude?: number | undefined;
|
|
1965
|
-
address?: string | undefined;
|
|
1966
1953
|
businessName?: string | undefined;
|
|
1954
|
+
address?: string | undefined;
|
|
1967
1955
|
floor?: string | undefined;
|
|
1956
|
+
latitude?: number | undefined;
|
|
1957
|
+
longitude?: number | undefined;
|
|
1968
1958
|
}[] | undefined;
|
|
1969
1959
|
codeMasked?: string | undefined;
|
|
1970
1960
|
qrCodeEnabled?: boolean | undefined;
|
|
1971
1961
|
usageNotice?: string | undefined;
|
|
1972
1962
|
validUntilText?: string | undefined;
|
|
1963
|
+
itemActions?: ({
|
|
1964
|
+
kind: "send";
|
|
1965
|
+
label: string;
|
|
1966
|
+
value?: string | undefined;
|
|
1967
|
+
visibleValue?: string | undefined;
|
|
1968
|
+
} | {
|
|
1969
|
+
url: string;
|
|
1970
|
+
kind: "link";
|
|
1971
|
+
label: string;
|
|
1972
|
+
})[] | undefined;
|
|
1973
1973
|
}[];
|
|
1974
|
-
mallId?: string | undefined;
|
|
1975
|
-
miniAppId?: string | undefined;
|
|
1976
1974
|
noResultsReason?: string | undefined;
|
|
1977
|
-
maxItems?: number | undefined;
|
|
1978
1975
|
nextCursor?: string | undefined;
|
|
1979
1976
|
showAlipayWallet?: boolean | undefined;
|
|
1977
|
+
mallId?: string | undefined;
|
|
1978
|
+
miniAppId?: string | undefined;
|
|
1979
|
+
maxItems?: number | undefined;
|
|
1980
1980
|
}>>;
|
|
1981
1981
|
readonly 'promotion-activity-list': _tbox_cn_app_contracts.CardMeta<z.ZodObject<{
|
|
1982
1982
|
items: z.ZodArray<z.ZodObject<{
|
|
@@ -2011,110 +2011,110 @@ declare const serverModule: {
|
|
|
2011
2011
|
label: z.ZodString;
|
|
2012
2012
|
url: z.ZodString;
|
|
2013
2013
|
}, "strip", z.ZodTypeAny, {
|
|
2014
|
+
url: string;
|
|
2014
2015
|
kind: "link";
|
|
2015
2016
|
label: string;
|
|
2016
|
-
url: string;
|
|
2017
2017
|
}, {
|
|
2018
|
+
url: string;
|
|
2018
2019
|
kind: "link";
|
|
2019
2020
|
label: string;
|
|
2020
|
-
url: string;
|
|
2021
2021
|
}>]>, "many">>;
|
|
2022
2022
|
}, "strip", z.ZodTypeAny, {
|
|
2023
|
-
title: string;
|
|
2024
|
-
activityRef: string;
|
|
2025
2023
|
registrationRequired: boolean;
|
|
2024
|
+
activityRef: string;
|
|
2025
|
+
title: string;
|
|
2026
2026
|
subtitle?: string | undefined;
|
|
2027
|
-
|
|
2027
|
+
coverUrl?: string | undefined;
|
|
2028
|
+
jumpOnly?: boolean | undefined;
|
|
2029
|
+
jumpLabel?: string | undefined;
|
|
2030
|
+
categoryName?: string | undefined;
|
|
2031
|
+
remainingQuota?: number | undefined;
|
|
2032
|
+
periodText?: string | undefined;
|
|
2033
|
+
availabilityStatus?: "FULL" | "ENDED" | "UPCOMING" | "AVAILABLE" | "UNKNOWN" | undefined;
|
|
2028
2034
|
itemActions?: ({
|
|
2029
2035
|
kind: "send";
|
|
2030
2036
|
label: string;
|
|
2031
2037
|
value?: string | undefined;
|
|
2032
2038
|
visibleValue?: string | undefined;
|
|
2033
2039
|
} | {
|
|
2040
|
+
url: string;
|
|
2034
2041
|
kind: "link";
|
|
2035
2042
|
label: string;
|
|
2036
|
-
url: string;
|
|
2037
2043
|
})[] | undefined;
|
|
2044
|
+
}, {
|
|
2045
|
+
registrationRequired: boolean;
|
|
2046
|
+
activityRef: string;
|
|
2047
|
+
title: string;
|
|
2048
|
+
subtitle?: string | undefined;
|
|
2038
2049
|
coverUrl?: string | undefined;
|
|
2039
2050
|
jumpOnly?: boolean | undefined;
|
|
2040
2051
|
jumpLabel?: string | undefined;
|
|
2052
|
+
categoryName?: string | undefined;
|
|
2041
2053
|
remainingQuota?: number | undefined;
|
|
2042
2054
|
periodText?: string | undefined;
|
|
2043
|
-
|
|
2044
|
-
}, {
|
|
2045
|
-
title: string;
|
|
2046
|
-
activityRef: string;
|
|
2047
|
-
registrationRequired: boolean;
|
|
2048
|
-
subtitle?: string | undefined;
|
|
2049
|
-
availabilityStatus?: "AVAILABLE" | "UNKNOWN" | "FULL" | "ENDED" | "UPCOMING" | undefined;
|
|
2055
|
+
availabilityStatus?: "FULL" | "ENDED" | "UPCOMING" | "AVAILABLE" | "UNKNOWN" | undefined;
|
|
2050
2056
|
itemActions?: ({
|
|
2051
2057
|
kind: "send";
|
|
2052
2058
|
label: string;
|
|
2053
2059
|
value?: string | undefined;
|
|
2054
2060
|
visibleValue?: string | undefined;
|
|
2055
2061
|
} | {
|
|
2062
|
+
url: string;
|
|
2056
2063
|
kind: "link";
|
|
2057
2064
|
label: string;
|
|
2058
|
-
url: string;
|
|
2059
2065
|
})[] | undefined;
|
|
2060
|
-
coverUrl?: string | undefined;
|
|
2061
|
-
jumpOnly?: boolean | undefined;
|
|
2062
|
-
jumpLabel?: string | undefined;
|
|
2063
|
-
remainingQuota?: number | undefined;
|
|
2064
|
-
periodText?: string | undefined;
|
|
2065
|
-
categoryName?: string | undefined;
|
|
2066
2066
|
}>, "many">;
|
|
2067
2067
|
noResultsReason: z.ZodOptional<z.ZodString>;
|
|
2068
2068
|
nextCursor: z.ZodOptional<z.ZodString>;
|
|
2069
2069
|
}, "strip", z.ZodTypeAny, {
|
|
2070
2070
|
items: {
|
|
2071
|
-
title: string;
|
|
2072
|
-
activityRef: string;
|
|
2073
2071
|
registrationRequired: boolean;
|
|
2072
|
+
activityRef: string;
|
|
2073
|
+
title: string;
|
|
2074
2074
|
subtitle?: string | undefined;
|
|
2075
|
-
|
|
2075
|
+
coverUrl?: string | undefined;
|
|
2076
|
+
jumpOnly?: boolean | undefined;
|
|
2077
|
+
jumpLabel?: string | undefined;
|
|
2078
|
+
categoryName?: string | undefined;
|
|
2079
|
+
remainingQuota?: number | undefined;
|
|
2080
|
+
periodText?: string | undefined;
|
|
2081
|
+
availabilityStatus?: "FULL" | "ENDED" | "UPCOMING" | "AVAILABLE" | "UNKNOWN" | undefined;
|
|
2076
2082
|
itemActions?: ({
|
|
2077
2083
|
kind: "send";
|
|
2078
2084
|
label: string;
|
|
2079
2085
|
value?: string | undefined;
|
|
2080
2086
|
visibleValue?: string | undefined;
|
|
2081
2087
|
} | {
|
|
2088
|
+
url: string;
|
|
2082
2089
|
kind: "link";
|
|
2083
2090
|
label: string;
|
|
2084
|
-
url: string;
|
|
2085
2091
|
})[] | undefined;
|
|
2086
|
-
coverUrl?: string | undefined;
|
|
2087
|
-
jumpOnly?: boolean | undefined;
|
|
2088
|
-
jumpLabel?: string | undefined;
|
|
2089
|
-
remainingQuota?: number | undefined;
|
|
2090
|
-
periodText?: string | undefined;
|
|
2091
|
-
categoryName?: string | undefined;
|
|
2092
2092
|
}[];
|
|
2093
2093
|
noResultsReason?: string | undefined;
|
|
2094
2094
|
nextCursor?: string | undefined;
|
|
2095
2095
|
}, {
|
|
2096
2096
|
items: {
|
|
2097
|
-
title: string;
|
|
2098
|
-
activityRef: string;
|
|
2099
2097
|
registrationRequired: boolean;
|
|
2098
|
+
activityRef: string;
|
|
2099
|
+
title: string;
|
|
2100
2100
|
subtitle?: string | undefined;
|
|
2101
|
-
|
|
2101
|
+
coverUrl?: string | undefined;
|
|
2102
|
+
jumpOnly?: boolean | undefined;
|
|
2103
|
+
jumpLabel?: string | undefined;
|
|
2104
|
+
categoryName?: string | undefined;
|
|
2105
|
+
remainingQuota?: number | undefined;
|
|
2106
|
+
periodText?: string | undefined;
|
|
2107
|
+
availabilityStatus?: "FULL" | "ENDED" | "UPCOMING" | "AVAILABLE" | "UNKNOWN" | undefined;
|
|
2102
2108
|
itemActions?: ({
|
|
2103
2109
|
kind: "send";
|
|
2104
2110
|
label: string;
|
|
2105
2111
|
value?: string | undefined;
|
|
2106
2112
|
visibleValue?: string | undefined;
|
|
2107
2113
|
} | {
|
|
2114
|
+
url: string;
|
|
2108
2115
|
kind: "link";
|
|
2109
2116
|
label: string;
|
|
2110
|
-
url: string;
|
|
2111
2117
|
})[] | undefined;
|
|
2112
|
-
coverUrl?: string | undefined;
|
|
2113
|
-
jumpOnly?: boolean | undefined;
|
|
2114
|
-
jumpLabel?: string | undefined;
|
|
2115
|
-
remainingQuota?: number | undefined;
|
|
2116
|
-
periodText?: string | undefined;
|
|
2117
|
-
categoryName?: string | undefined;
|
|
2118
2118
|
}[];
|
|
2119
2119
|
noResultsReason?: string | undefined;
|
|
2120
2120
|
nextCursor?: string | undefined;
|
|
@@ -2143,21 +2143,21 @@ declare const serverModule: {
|
|
|
2143
2143
|
remainingQuota: z.ZodOptional<z.ZodNumber>;
|
|
2144
2144
|
status: z.ZodEnum<["OPEN", "FULL", "CLOSED", "UNKNOWN"]>;
|
|
2145
2145
|
}, "strip", z.ZodTypeAny, {
|
|
2146
|
-
status: "
|
|
2146
|
+
status: "FULL" | "OPEN" | "CLOSED" | "UNKNOWN";
|
|
2147
2147
|
title: string;
|
|
2148
2148
|
sessionRef: string;
|
|
2149
2149
|
startText: string;
|
|
2150
|
-
location?: string | undefined;
|
|
2151
2150
|
remainingQuota?: number | undefined;
|
|
2152
2151
|
endText?: string | undefined;
|
|
2152
|
+
location?: string | undefined;
|
|
2153
2153
|
}, {
|
|
2154
|
-
status: "
|
|
2154
|
+
status: "FULL" | "OPEN" | "CLOSED" | "UNKNOWN";
|
|
2155
2155
|
title: string;
|
|
2156
2156
|
sessionRef: string;
|
|
2157
2157
|
startText: string;
|
|
2158
|
-
location?: string | undefined;
|
|
2159
2158
|
remainingQuota?: number | undefined;
|
|
2160
2159
|
endText?: string | undefined;
|
|
2160
|
+
location?: string | undefined;
|
|
2161
2161
|
}>, "many">;
|
|
2162
2162
|
guideSteps: z.ZodArray<z.ZodString, "many">;
|
|
2163
2163
|
guideItems: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
@@ -2173,67 +2173,67 @@ declare const serverModule: {
|
|
|
2173
2173
|
conditions: z.ZodArray<z.ZodString, "many">;
|
|
2174
2174
|
notice: z.ZodOptional<z.ZodString>;
|
|
2175
2175
|
}, "strip", z.ZodTypeAny, {
|
|
2176
|
-
title: string;
|
|
2177
|
-
activityRef: string;
|
|
2178
2176
|
registrationRequired: boolean;
|
|
2177
|
+
activityRef: string;
|
|
2178
|
+
title: string;
|
|
2179
2179
|
sessions: {
|
|
2180
|
-
status: "
|
|
2180
|
+
status: "FULL" | "OPEN" | "CLOSED" | "UNKNOWN";
|
|
2181
2181
|
title: string;
|
|
2182
2182
|
sessionRef: string;
|
|
2183
2183
|
startText: string;
|
|
2184
|
-
location?: string | undefined;
|
|
2185
2184
|
remainingQuota?: number | undefined;
|
|
2186
2185
|
endText?: string | undefined;
|
|
2186
|
+
location?: string | undefined;
|
|
2187
2187
|
}[];
|
|
2188
2188
|
guideSteps: string[];
|
|
2189
2189
|
conditions: string[];
|
|
2190
|
-
subtitle?: string | undefined;
|
|
2191
2190
|
description?: string | undefined;
|
|
2192
|
-
|
|
2193
|
-
presentation?: "detail" | "schedule" | "guide" | undefined;
|
|
2194
|
-
location?: string | undefined;
|
|
2191
|
+
subtitle?: string | undefined;
|
|
2195
2192
|
coverUrl?: string | undefined;
|
|
2196
2193
|
jumpOnly?: boolean | undefined;
|
|
2197
2194
|
jumpLabel?: string | undefined;
|
|
2198
|
-
remainingQuota?: number | undefined;
|
|
2199
|
-
periodText?: string | undefined;
|
|
2200
2195
|
categoryName?: string | undefined;
|
|
2196
|
+
remainingQuota?: number | undefined;
|
|
2201
2197
|
registrationUrl?: string | undefined;
|
|
2198
|
+
periodText?: string | undefined;
|
|
2199
|
+
location?: string | undefined;
|
|
2200
|
+
notice?: string | undefined;
|
|
2202
2201
|
guideItems?: {
|
|
2203
2202
|
title: string;
|
|
2204
2203
|
description?: string | undefined;
|
|
2205
2204
|
}[] | undefined;
|
|
2205
|
+
presentation?: "detail" | "schedule" | "guide" | undefined;
|
|
2206
2206
|
}, {
|
|
2207
|
-
title: string;
|
|
2208
|
-
activityRef: string;
|
|
2209
2207
|
registrationRequired: boolean;
|
|
2208
|
+
activityRef: string;
|
|
2209
|
+
title: string;
|
|
2210
2210
|
sessions: {
|
|
2211
|
-
status: "
|
|
2211
|
+
status: "FULL" | "OPEN" | "CLOSED" | "UNKNOWN";
|
|
2212
2212
|
title: string;
|
|
2213
2213
|
sessionRef: string;
|
|
2214
2214
|
startText: string;
|
|
2215
|
-
location?: string | undefined;
|
|
2216
2215
|
remainingQuota?: number | undefined;
|
|
2217
2216
|
endText?: string | undefined;
|
|
2217
|
+
location?: string | undefined;
|
|
2218
2218
|
}[];
|
|
2219
2219
|
guideSteps: string[];
|
|
2220
2220
|
conditions: string[];
|
|
2221
|
-
subtitle?: string | undefined;
|
|
2222
2221
|
description?: string | undefined;
|
|
2223
|
-
|
|
2224
|
-
presentation?: "detail" | "schedule" | "guide" | undefined;
|
|
2225
|
-
location?: string | undefined;
|
|
2222
|
+
subtitle?: string | undefined;
|
|
2226
2223
|
coverUrl?: string | undefined;
|
|
2227
2224
|
jumpOnly?: boolean | undefined;
|
|
2228
2225
|
jumpLabel?: string | undefined;
|
|
2229
|
-
remainingQuota?: number | undefined;
|
|
2230
|
-
periodText?: string | undefined;
|
|
2231
2226
|
categoryName?: string | undefined;
|
|
2227
|
+
remainingQuota?: number | undefined;
|
|
2232
2228
|
registrationUrl?: string | undefined;
|
|
2229
|
+
periodText?: string | undefined;
|
|
2230
|
+
location?: string | undefined;
|
|
2231
|
+
notice?: string | undefined;
|
|
2233
2232
|
guideItems?: {
|
|
2234
2233
|
title: string;
|
|
2235
2234
|
description?: string | undefined;
|
|
2236
2235
|
}[] | undefined;
|
|
2236
|
+
presentation?: "detail" | "schedule" | "guide" | undefined;
|
|
2237
2237
|
}>>;
|
|
2238
2238
|
readonly 'promotion-activity-category-list': _tbox_cn_app_contracts.CardMeta<z.ZodObject<{
|
|
2239
2239
|
items: z.ZodArray<z.ZodObject<{
|
|
@@ -2260,74 +2260,74 @@ declare const serverModule: {
|
|
|
2260
2260
|
label: z.ZodString;
|
|
2261
2261
|
url: z.ZodString;
|
|
2262
2262
|
}, "strip", z.ZodTypeAny, {
|
|
2263
|
+
url: string;
|
|
2263
2264
|
kind: "link";
|
|
2264
2265
|
label: string;
|
|
2265
|
-
url: string;
|
|
2266
2266
|
}, {
|
|
2267
|
+
url: string;
|
|
2267
2268
|
kind: "link";
|
|
2268
2269
|
label: string;
|
|
2269
|
-
url: string;
|
|
2270
2270
|
}>]>, "many">>;
|
|
2271
2271
|
}, "strip", z.ZodTypeAny, {
|
|
2272
|
-
name: string;
|
|
2273
2272
|
categoryId: string;
|
|
2273
|
+
name: string;
|
|
2274
2274
|
itemActions?: ({
|
|
2275
2275
|
kind: "send";
|
|
2276
2276
|
label: string;
|
|
2277
2277
|
value?: string | undefined;
|
|
2278
2278
|
visibleValue?: string | undefined;
|
|
2279
2279
|
} | {
|
|
2280
|
+
url: string;
|
|
2280
2281
|
kind: "link";
|
|
2281
2282
|
label: string;
|
|
2282
|
-
url: string;
|
|
2283
2283
|
})[] | undefined;
|
|
2284
2284
|
parentId?: string | undefined;
|
|
2285
2285
|
}, {
|
|
2286
|
-
name: string;
|
|
2287
2286
|
categoryId: string;
|
|
2287
|
+
name: string;
|
|
2288
2288
|
itemActions?: ({
|
|
2289
2289
|
kind: "send";
|
|
2290
2290
|
label: string;
|
|
2291
2291
|
value?: string | undefined;
|
|
2292
2292
|
visibleValue?: string | undefined;
|
|
2293
2293
|
} | {
|
|
2294
|
+
url: string;
|
|
2294
2295
|
kind: "link";
|
|
2295
2296
|
label: string;
|
|
2296
|
-
url: string;
|
|
2297
2297
|
})[] | undefined;
|
|
2298
2298
|
parentId?: string | undefined;
|
|
2299
2299
|
}>, "many">;
|
|
2300
2300
|
noResultsReason: z.ZodOptional<z.ZodString>;
|
|
2301
2301
|
}, "strip", z.ZodTypeAny, {
|
|
2302
2302
|
items: {
|
|
2303
|
-
name: string;
|
|
2304
2303
|
categoryId: string;
|
|
2304
|
+
name: string;
|
|
2305
2305
|
itemActions?: ({
|
|
2306
2306
|
kind: "send";
|
|
2307
2307
|
label: string;
|
|
2308
2308
|
value?: string | undefined;
|
|
2309
2309
|
visibleValue?: string | undefined;
|
|
2310
2310
|
} | {
|
|
2311
|
+
url: string;
|
|
2311
2312
|
kind: "link";
|
|
2312
2313
|
label: string;
|
|
2313
|
-
url: string;
|
|
2314
2314
|
})[] | undefined;
|
|
2315
2315
|
parentId?: string | undefined;
|
|
2316
2316
|
}[];
|
|
2317
2317
|
noResultsReason?: string | undefined;
|
|
2318
2318
|
}, {
|
|
2319
2319
|
items: {
|
|
2320
|
-
name: string;
|
|
2321
2320
|
categoryId: string;
|
|
2321
|
+
name: string;
|
|
2322
2322
|
itemActions?: ({
|
|
2323
2323
|
kind: "send";
|
|
2324
2324
|
label: string;
|
|
2325
2325
|
value?: string | undefined;
|
|
2326
2326
|
visibleValue?: string | undefined;
|
|
2327
2327
|
} | {
|
|
2328
|
+
url: string;
|
|
2328
2329
|
kind: "link";
|
|
2329
2330
|
label: string;
|
|
2330
|
-
url: string;
|
|
2331
2331
|
})[] | undefined;
|
|
2332
2332
|
parentId?: string | undefined;
|
|
2333
2333
|
}[];
|
|
@@ -2383,19 +2383,19 @@ declare const serverModule: {
|
|
|
2383
2383
|
label: z.ZodString;
|
|
2384
2384
|
url: z.ZodString;
|
|
2385
2385
|
}, "strip", z.ZodTypeAny, {
|
|
2386
|
+
url: string;
|
|
2386
2387
|
kind: "link";
|
|
2387
2388
|
label: string;
|
|
2388
|
-
url: string;
|
|
2389
2389
|
}, {
|
|
2390
|
+
url: string;
|
|
2390
2391
|
kind: "link";
|
|
2391
2392
|
label: string;
|
|
2392
|
-
url: string;
|
|
2393
2393
|
}>]>, "many">>;
|
|
2394
2394
|
tags: z.ZodArray<z.ZodString, "many">;
|
|
2395
2395
|
}, "strip", z.ZodTypeAny, {
|
|
2396
|
-
offerRef: string;
|
|
2397
2396
|
title: string;
|
|
2398
2397
|
offerType: "COUPON" | "BUNDLE" | "PROMOTION" | "ACTIVITY" | "GROUPON";
|
|
2398
|
+
offerRef: string;
|
|
2399
2399
|
claimable: boolean;
|
|
2400
2400
|
tags: string[];
|
|
2401
2401
|
subtitle?: string | undefined;
|
|
@@ -2409,28 +2409,28 @@ declare const serverModule: {
|
|
|
2409
2409
|
freeCouponClaimMode?: "DIRECT" | "REDIRECT" | undefined;
|
|
2410
2410
|
stockText?: string | undefined;
|
|
2411
2411
|
usageNoticeText?: string | undefined;
|
|
2412
|
-
guaranteeText?: string | undefined;
|
|
2413
2412
|
usageSceneText?: string | undefined;
|
|
2414
2413
|
usageTimeText?: string | undefined;
|
|
2415
2414
|
claimTimeText?: string | undefined;
|
|
2416
2415
|
usageRuleText?: string | undefined;
|
|
2417
|
-
|
|
2416
|
+
guaranteeText?: string | undefined;
|
|
2418
2417
|
validityText?: string | undefined;
|
|
2419
2418
|
imageUrl?: string | undefined;
|
|
2419
|
+
availabilityStatus?: "AVAILABLE" | "UNKNOWN" | "UNAVAILABLE" | "REQUIRES_ACTION" | undefined;
|
|
2420
2420
|
itemActions?: ({
|
|
2421
2421
|
kind: "send";
|
|
2422
2422
|
label: string;
|
|
2423
2423
|
value?: string | undefined;
|
|
2424
2424
|
visibleValue?: string | undefined;
|
|
2425
2425
|
} | {
|
|
2426
|
+
url: string;
|
|
2426
2427
|
kind: "link";
|
|
2427
2428
|
label: string;
|
|
2428
|
-
url: string;
|
|
2429
2429
|
})[] | undefined;
|
|
2430
2430
|
}, {
|
|
2431
|
-
offerRef: string;
|
|
2432
2431
|
title: string;
|
|
2433
2432
|
offerType: "COUPON" | "BUNDLE" | "PROMOTION" | "ACTIVITY" | "GROUPON";
|
|
2433
|
+
offerRef: string;
|
|
2434
2434
|
claimable: boolean;
|
|
2435
2435
|
tags: string[];
|
|
2436
2436
|
subtitle?: string | undefined;
|
|
@@ -2444,37 +2444,37 @@ declare const serverModule: {
|
|
|
2444
2444
|
freeCouponClaimMode?: "DIRECT" | "REDIRECT" | undefined;
|
|
2445
2445
|
stockText?: string | undefined;
|
|
2446
2446
|
usageNoticeText?: string | undefined;
|
|
2447
|
-
guaranteeText?: string | undefined;
|
|
2448
2447
|
usageSceneText?: string | undefined;
|
|
2449
2448
|
usageTimeText?: string | undefined;
|
|
2450
2449
|
claimTimeText?: string | undefined;
|
|
2451
2450
|
usageRuleText?: string | undefined;
|
|
2452
|
-
|
|
2451
|
+
guaranteeText?: string | undefined;
|
|
2453
2452
|
validityText?: string | undefined;
|
|
2454
2453
|
imageUrl?: string | undefined;
|
|
2454
|
+
availabilityStatus?: "AVAILABLE" | "UNKNOWN" | "UNAVAILABLE" | "REQUIRES_ACTION" | undefined;
|
|
2455
2455
|
itemActions?: ({
|
|
2456
2456
|
kind: "send";
|
|
2457
2457
|
label: string;
|
|
2458
2458
|
value?: string | undefined;
|
|
2459
2459
|
visibleValue?: string | undefined;
|
|
2460
2460
|
} | {
|
|
2461
|
+
url: string;
|
|
2461
2462
|
kind: "link";
|
|
2462
2463
|
label: string;
|
|
2463
|
-
url: string;
|
|
2464
2464
|
})[] | undefined;
|
|
2465
2465
|
}>, "many">>;
|
|
2466
2466
|
message: z.ZodOptional<z.ZodString>;
|
|
2467
2467
|
}, "strip", z.ZodTypeAny, {
|
|
2468
|
-
authoritative: boolean;
|
|
2469
2468
|
originalAmountCents: number;
|
|
2469
|
+
authoritative: boolean;
|
|
2470
2470
|
appliedOfferRefs: string[];
|
|
2471
|
+
message?: string | undefined;
|
|
2471
2472
|
savingsCents?: number | undefined;
|
|
2472
2473
|
expectedPayCents?: number | undefined;
|
|
2473
|
-
message?: string | undefined;
|
|
2474
2474
|
candidates?: {
|
|
2475
|
-
offerRef: string;
|
|
2476
2475
|
title: string;
|
|
2477
2476
|
offerType: "COUPON" | "BUNDLE" | "PROMOTION" | "ACTIVITY" | "GROUPON";
|
|
2477
|
+
offerRef: string;
|
|
2478
2478
|
claimable: boolean;
|
|
2479
2479
|
tags: string[];
|
|
2480
2480
|
subtitle?: string | undefined;
|
|
@@ -2488,36 +2488,36 @@ declare const serverModule: {
|
|
|
2488
2488
|
freeCouponClaimMode?: "DIRECT" | "REDIRECT" | undefined;
|
|
2489
2489
|
stockText?: string | undefined;
|
|
2490
2490
|
usageNoticeText?: string | undefined;
|
|
2491
|
-
guaranteeText?: string | undefined;
|
|
2492
2491
|
usageSceneText?: string | undefined;
|
|
2493
2492
|
usageTimeText?: string | undefined;
|
|
2494
2493
|
claimTimeText?: string | undefined;
|
|
2495
2494
|
usageRuleText?: string | undefined;
|
|
2496
|
-
|
|
2495
|
+
guaranteeText?: string | undefined;
|
|
2497
2496
|
validityText?: string | undefined;
|
|
2498
2497
|
imageUrl?: string | undefined;
|
|
2498
|
+
availabilityStatus?: "AVAILABLE" | "UNKNOWN" | "UNAVAILABLE" | "REQUIRES_ACTION" | undefined;
|
|
2499
2499
|
itemActions?: ({
|
|
2500
2500
|
kind: "send";
|
|
2501
2501
|
label: string;
|
|
2502
2502
|
value?: string | undefined;
|
|
2503
2503
|
visibleValue?: string | undefined;
|
|
2504
2504
|
} | {
|
|
2505
|
+
url: string;
|
|
2505
2506
|
kind: "link";
|
|
2506
2507
|
label: string;
|
|
2507
|
-
url: string;
|
|
2508
2508
|
})[] | undefined;
|
|
2509
2509
|
}[] | undefined;
|
|
2510
2510
|
}, {
|
|
2511
|
-
authoritative: boolean;
|
|
2512
2511
|
originalAmountCents: number;
|
|
2512
|
+
authoritative: boolean;
|
|
2513
2513
|
appliedOfferRefs: string[];
|
|
2514
|
+
message?: string | undefined;
|
|
2514
2515
|
savingsCents?: number | undefined;
|
|
2515
2516
|
expectedPayCents?: number | undefined;
|
|
2516
|
-
message?: string | undefined;
|
|
2517
2517
|
candidates?: {
|
|
2518
|
-
offerRef: string;
|
|
2519
2518
|
title: string;
|
|
2520
2519
|
offerType: "COUPON" | "BUNDLE" | "PROMOTION" | "ACTIVITY" | "GROUPON";
|
|
2520
|
+
offerRef: string;
|
|
2521
2521
|
claimable: boolean;
|
|
2522
2522
|
tags: string[];
|
|
2523
2523
|
subtitle?: string | undefined;
|
|
@@ -2531,23 +2531,23 @@ declare const serverModule: {
|
|
|
2531
2531
|
freeCouponClaimMode?: "DIRECT" | "REDIRECT" | undefined;
|
|
2532
2532
|
stockText?: string | undefined;
|
|
2533
2533
|
usageNoticeText?: string | undefined;
|
|
2534
|
-
guaranteeText?: string | undefined;
|
|
2535
2534
|
usageSceneText?: string | undefined;
|
|
2536
2535
|
usageTimeText?: string | undefined;
|
|
2537
2536
|
claimTimeText?: string | undefined;
|
|
2538
2537
|
usageRuleText?: string | undefined;
|
|
2539
|
-
|
|
2538
|
+
guaranteeText?: string | undefined;
|
|
2540
2539
|
validityText?: string | undefined;
|
|
2541
2540
|
imageUrl?: string | undefined;
|
|
2541
|
+
availabilityStatus?: "AVAILABLE" | "UNKNOWN" | "UNAVAILABLE" | "REQUIRES_ACTION" | undefined;
|
|
2542
2542
|
itemActions?: ({
|
|
2543
2543
|
kind: "send";
|
|
2544
2544
|
label: string;
|
|
2545
2545
|
value?: string | undefined;
|
|
2546
2546
|
visibleValue?: string | undefined;
|
|
2547
2547
|
} | {
|
|
2548
|
+
url: string;
|
|
2548
2549
|
kind: "link";
|
|
2549
2550
|
label: string;
|
|
2550
|
-
url: string;
|
|
2551
2551
|
})[] | undefined;
|
|
2552
2552
|
}[] | undefined;
|
|
2553
2553
|
}>>;
|
|
@@ -2563,45 +2563,45 @@ declare const serverModule: {
|
|
|
2563
2563
|
price: z.ZodOptional<z.ZodString>;
|
|
2564
2564
|
url: z.ZodOptional<z.ZodString>;
|
|
2565
2565
|
}, "strip", z.ZodTypeAny, {
|
|
2566
|
+
id: string;
|
|
2566
2567
|
title: string;
|
|
2567
2568
|
kind: "item" | "shop";
|
|
2568
|
-
id: string;
|
|
2569
2569
|
subtitle?: string | undefined;
|
|
2570
|
-
imageUrl?: string | undefined;
|
|
2571
2570
|
url?: string | undefined;
|
|
2571
|
+
imageUrl?: string | undefined;
|
|
2572
2572
|
price?: string | undefined;
|
|
2573
2573
|
}, {
|
|
2574
|
+
id: string;
|
|
2574
2575
|
title: string;
|
|
2575
2576
|
kind: "item" | "shop";
|
|
2576
|
-
id: string;
|
|
2577
2577
|
subtitle?: string | undefined;
|
|
2578
|
-
imageUrl?: string | undefined;
|
|
2579
2578
|
url?: string | undefined;
|
|
2579
|
+
imageUrl?: string | undefined;
|
|
2580
2580
|
price?: string | undefined;
|
|
2581
2581
|
}>, "many">;
|
|
2582
2582
|
}, "strip", z.ZodTypeAny, {
|
|
2583
|
-
title: string;
|
|
2584
2583
|
items: {
|
|
2584
|
+
id: string;
|
|
2585
2585
|
title: string;
|
|
2586
2586
|
kind: "item" | "shop";
|
|
2587
|
-
id: string;
|
|
2588
2587
|
subtitle?: string | undefined;
|
|
2589
|
-
imageUrl?: string | undefined;
|
|
2590
2588
|
url?: string | undefined;
|
|
2589
|
+
imageUrl?: string | undefined;
|
|
2591
2590
|
price?: string | undefined;
|
|
2592
2591
|
}[];
|
|
2592
|
+
title: string;
|
|
2593
2593
|
partial?: boolean | undefined;
|
|
2594
2594
|
}, {
|
|
2595
|
-
title: string;
|
|
2596
2595
|
items: {
|
|
2596
|
+
id: string;
|
|
2597
2597
|
title: string;
|
|
2598
2598
|
kind: "item" | "shop";
|
|
2599
|
-
id: string;
|
|
2600
2599
|
subtitle?: string | undefined;
|
|
2601
|
-
imageUrl?: string | undefined;
|
|
2602
2600
|
url?: string | undefined;
|
|
2601
|
+
imageUrl?: string | undefined;
|
|
2603
2602
|
price?: string | undefined;
|
|
2604
2603
|
}[];
|
|
2604
|
+
title: string;
|
|
2605
2605
|
partial?: boolean | undefined;
|
|
2606
2606
|
}>>;
|
|
2607
2607
|
};
|
|
@@ -2611,14 +2611,14 @@ declare const serverModule: {
|
|
|
2611
2611
|
preTools: {
|
|
2612
2612
|
listCoupons: PreToolDef<_tbox_cn_app_agent_sdk_server.Tool<{
|
|
2613
2613
|
mode: "CLAIMABLE" | "OWNED";
|
|
2614
|
-
limit?: string | undefined;
|
|
2615
2614
|
keyword?: string | undefined;
|
|
2616
2615
|
cursor?: string | undefined;
|
|
2616
|
+
limit?: string | undefined;
|
|
2617
2617
|
}, unknown, unknown, unknown, _mastra_core_tools.ToolExecutionContext<unknown, unknown, unknown>, "listCoupons", unknown>, {
|
|
2618
2618
|
mode: "CLAIMABLE" | "OWNED";
|
|
2619
|
-
limit?: string | undefined;
|
|
2620
2619
|
keyword?: string | undefined;
|
|
2621
2620
|
cursor?: string | undefined;
|
|
2621
|
+
limit?: string | undefined;
|
|
2622
2622
|
}>;
|
|
2623
2623
|
};
|
|
2624
2624
|
register(ctx: ServerContext): void;
|