@tbox.cn/app-module-promotion 1.0.0-alpha.20 → 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 +785 -785
- package/package.json +6 -6
package/dist/server/index.d.ts
CHANGED
|
@@ -105,13 +105,13 @@ declare const promotionCards: {
|
|
|
105
105
|
value: zod.ZodOptional<zod.ZodString>;
|
|
106
106
|
visibleValue: zod.ZodOptional<zod.ZodString>;
|
|
107
107
|
}, "strip", zod.ZodTypeAny, {
|
|
108
|
-
label: string;
|
|
109
108
|
kind: "send";
|
|
109
|
+
label: string;
|
|
110
110
|
value?: string | undefined;
|
|
111
111
|
visibleValue?: string | undefined;
|
|
112
112
|
}, {
|
|
113
|
-
label: string;
|
|
114
113
|
kind: "send";
|
|
114
|
+
label: string;
|
|
115
115
|
value?: string | undefined;
|
|
116
116
|
visibleValue?: string | undefined;
|
|
117
117
|
}>, zod.ZodObject<{
|
|
@@ -119,85 +119,85 @@ declare const promotionCards: {
|
|
|
119
119
|
label: zod.ZodString;
|
|
120
120
|
url: zod.ZodString;
|
|
121
121
|
}, "strip", zod.ZodTypeAny, {
|
|
122
|
-
label: string;
|
|
123
|
-
kind: "link";
|
|
124
122
|
url: string;
|
|
125
|
-
}, {
|
|
126
|
-
label: string;
|
|
127
123
|
kind: "link";
|
|
124
|
+
label: string;
|
|
125
|
+
}, {
|
|
128
126
|
url: string;
|
|
127
|
+
kind: "link";
|
|
128
|
+
label: string;
|
|
129
129
|
}>]>, "many">>;
|
|
130
130
|
tags: zod.ZodArray<zod.ZodString, "many">;
|
|
131
131
|
}, "strip", zod.ZodTypeAny, {
|
|
132
132
|
title: string;
|
|
133
|
-
tags: string[];
|
|
134
|
-
offerRef: string;
|
|
135
133
|
offerType: "COUPON" | "BUNDLE" | "PROMOTION" | "ACTIVITY" | "GROUPON";
|
|
134
|
+
offerRef: string;
|
|
136
135
|
claimable: boolean;
|
|
136
|
+
tags: string[];
|
|
137
137
|
subtitle?: string | undefined;
|
|
138
|
-
imageUrl?: string | undefined;
|
|
139
|
-
usageRuleText?: string | undefined;
|
|
140
|
-
usageTimeText?: string | undefined;
|
|
141
|
-
purchaseUrl?: string | undefined;
|
|
142
|
-
freeCouponClaimMode?: "DIRECT" | "REDIRECT" | undefined;
|
|
143
|
-
itemActions?: ({
|
|
144
|
-
label: string;
|
|
145
|
-
kind: "send";
|
|
146
|
-
value?: string | undefined;
|
|
147
|
-
visibleValue?: string | undefined;
|
|
148
|
-
} | {
|
|
149
|
-
label: string;
|
|
150
|
-
kind: "link";
|
|
151
|
-
url: string;
|
|
152
|
-
})[] | undefined;
|
|
153
138
|
benefitText?: string | undefined;
|
|
154
139
|
thresholdText?: string | undefined;
|
|
155
140
|
priceText?: string | undefined;
|
|
156
141
|
originalPriceText?: string | undefined;
|
|
157
142
|
discountLabel?: string | undefined;
|
|
158
143
|
claimActionLabel?: string | undefined;
|
|
144
|
+
purchaseUrl?: string | undefined;
|
|
145
|
+
freeCouponClaimMode?: "DIRECT" | "REDIRECT" | undefined;
|
|
159
146
|
stockText?: string | undefined;
|
|
160
147
|
usageNoticeText?: string | undefined;
|
|
161
|
-
guaranteeText?: string | undefined;
|
|
162
148
|
usageSceneText?: string | undefined;
|
|
149
|
+
usageTimeText?: string | undefined;
|
|
163
150
|
claimTimeText?: string | undefined;
|
|
164
|
-
|
|
151
|
+
usageRuleText?: string | undefined;
|
|
152
|
+
guaranteeText?: string | undefined;
|
|
165
153
|
validityText?: string | undefined;
|
|
166
|
-
}, {
|
|
167
|
-
title: string;
|
|
168
|
-
tags: string[];
|
|
169
|
-
offerRef: string;
|
|
170
|
-
offerType: "COUPON" | "BUNDLE" | "PROMOTION" | "ACTIVITY" | "GROUPON";
|
|
171
|
-
claimable: boolean;
|
|
172
|
-
subtitle?: string | undefined;
|
|
173
154
|
imageUrl?: string | undefined;
|
|
174
|
-
|
|
175
|
-
usageTimeText?: string | undefined;
|
|
176
|
-
purchaseUrl?: string | undefined;
|
|
177
|
-
freeCouponClaimMode?: "DIRECT" | "REDIRECT" | undefined;
|
|
155
|
+
availabilityStatus?: "AVAILABLE" | "UNKNOWN" | "UNAVAILABLE" | "REQUIRES_ACTION" | undefined;
|
|
178
156
|
itemActions?: ({
|
|
179
|
-
label: string;
|
|
180
157
|
kind: "send";
|
|
158
|
+
label: string;
|
|
181
159
|
value?: string | undefined;
|
|
182
160
|
visibleValue?: string | undefined;
|
|
183
161
|
} | {
|
|
184
|
-
label: string;
|
|
185
|
-
kind: "link";
|
|
186
162
|
url: string;
|
|
163
|
+
kind: "link";
|
|
164
|
+
label: string;
|
|
187
165
|
})[] | undefined;
|
|
166
|
+
}, {
|
|
167
|
+
title: string;
|
|
168
|
+
offerType: "COUPON" | "BUNDLE" | "PROMOTION" | "ACTIVITY" | "GROUPON";
|
|
169
|
+
offerRef: string;
|
|
170
|
+
claimable: boolean;
|
|
171
|
+
tags: string[];
|
|
172
|
+
subtitle?: string | undefined;
|
|
188
173
|
benefitText?: string | undefined;
|
|
189
174
|
thresholdText?: string | undefined;
|
|
190
175
|
priceText?: string | undefined;
|
|
191
176
|
originalPriceText?: string | undefined;
|
|
192
177
|
discountLabel?: string | undefined;
|
|
193
178
|
claimActionLabel?: string | undefined;
|
|
179
|
+
purchaseUrl?: string | undefined;
|
|
180
|
+
freeCouponClaimMode?: "DIRECT" | "REDIRECT" | undefined;
|
|
194
181
|
stockText?: string | undefined;
|
|
195
182
|
usageNoticeText?: string | undefined;
|
|
196
|
-
guaranteeText?: string | undefined;
|
|
197
183
|
usageSceneText?: string | undefined;
|
|
184
|
+
usageTimeText?: string | undefined;
|
|
198
185
|
claimTimeText?: string | undefined;
|
|
199
|
-
|
|
186
|
+
usageRuleText?: string | undefined;
|
|
187
|
+
guaranteeText?: string | undefined;
|
|
200
188
|
validityText?: string | undefined;
|
|
189
|
+
imageUrl?: string | undefined;
|
|
190
|
+
availabilityStatus?: "AVAILABLE" | "UNKNOWN" | "UNAVAILABLE" | "REQUIRES_ACTION" | undefined;
|
|
191
|
+
itemActions?: ({
|
|
192
|
+
kind: "send";
|
|
193
|
+
label: string;
|
|
194
|
+
value?: string | undefined;
|
|
195
|
+
visibleValue?: string | undefined;
|
|
196
|
+
} | {
|
|
197
|
+
url: string;
|
|
198
|
+
kind: "link";
|
|
199
|
+
label: string;
|
|
200
|
+
})[] | undefined;
|
|
201
201
|
}>, "many">;
|
|
202
202
|
noResultsReason: zod.ZodOptional<zod.ZodString>;
|
|
203
203
|
nextCursor: zod.ZodOptional<zod.ZodString>;
|
|
@@ -205,91 +205,91 @@ declare const promotionCards: {
|
|
|
205
205
|
}, "strip", zod.ZodTypeAny, {
|
|
206
206
|
items: {
|
|
207
207
|
title: string;
|
|
208
|
-
tags: string[];
|
|
209
|
-
offerRef: string;
|
|
210
208
|
offerType: "COUPON" | "BUNDLE" | "PROMOTION" | "ACTIVITY" | "GROUPON";
|
|
209
|
+
offerRef: string;
|
|
211
210
|
claimable: boolean;
|
|
211
|
+
tags: string[];
|
|
212
212
|
subtitle?: string | undefined;
|
|
213
|
-
imageUrl?: string | undefined;
|
|
214
|
-
usageRuleText?: string | undefined;
|
|
215
|
-
usageTimeText?: string | undefined;
|
|
216
|
-
purchaseUrl?: string | undefined;
|
|
217
|
-
freeCouponClaimMode?: "DIRECT" | "REDIRECT" | undefined;
|
|
218
|
-
itemActions?: ({
|
|
219
|
-
label: string;
|
|
220
|
-
kind: "send";
|
|
221
|
-
value?: string | undefined;
|
|
222
|
-
visibleValue?: string | undefined;
|
|
223
|
-
} | {
|
|
224
|
-
label: string;
|
|
225
|
-
kind: "link";
|
|
226
|
-
url: string;
|
|
227
|
-
})[] | undefined;
|
|
228
213
|
benefitText?: string | undefined;
|
|
229
214
|
thresholdText?: string | undefined;
|
|
230
215
|
priceText?: string | undefined;
|
|
231
216
|
originalPriceText?: string | undefined;
|
|
232
217
|
discountLabel?: string | undefined;
|
|
233
218
|
claimActionLabel?: string | undefined;
|
|
219
|
+
purchaseUrl?: string | undefined;
|
|
220
|
+
freeCouponClaimMode?: "DIRECT" | "REDIRECT" | undefined;
|
|
234
221
|
stockText?: string | undefined;
|
|
235
222
|
usageNoticeText?: string | undefined;
|
|
236
|
-
guaranteeText?: string | undefined;
|
|
237
223
|
usageSceneText?: string | undefined;
|
|
224
|
+
usageTimeText?: string | undefined;
|
|
238
225
|
claimTimeText?: string | undefined;
|
|
239
|
-
|
|
226
|
+
usageRuleText?: string | undefined;
|
|
227
|
+
guaranteeText?: string | undefined;
|
|
240
228
|
validityText?: string | undefined;
|
|
229
|
+
imageUrl?: string | undefined;
|
|
230
|
+
availabilityStatus?: "AVAILABLE" | "UNKNOWN" | "UNAVAILABLE" | "REQUIRES_ACTION" | undefined;
|
|
231
|
+
itemActions?: ({
|
|
232
|
+
kind: "send";
|
|
233
|
+
label: string;
|
|
234
|
+
value?: string | undefined;
|
|
235
|
+
visibleValue?: string | undefined;
|
|
236
|
+
} | {
|
|
237
|
+
url: string;
|
|
238
|
+
kind: "link";
|
|
239
|
+
label: string;
|
|
240
|
+
})[] | undefined;
|
|
241
241
|
}[];
|
|
242
242
|
mode: "search" | "claimable" | "recommend";
|
|
243
|
-
presentation?: "coupon" | "promotion" | "recommendation" | "offer" | undefined;
|
|
244
|
-
summary?: string | undefined;
|
|
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
251
|
title: string;
|
|
252
|
-
tags: string[];
|
|
253
|
-
offerRef: string;
|
|
254
252
|
offerType: "COUPON" | "BUNDLE" | "PROMOTION" | "ACTIVITY" | "GROUPON";
|
|
253
|
+
offerRef: string;
|
|
255
254
|
claimable: boolean;
|
|
255
|
+
tags: string[];
|
|
256
256
|
subtitle?: string | undefined;
|
|
257
|
-
imageUrl?: string | undefined;
|
|
258
|
-
usageRuleText?: string | undefined;
|
|
259
|
-
usageTimeText?: string | undefined;
|
|
260
|
-
purchaseUrl?: string | undefined;
|
|
261
|
-
freeCouponClaimMode?: "DIRECT" | "REDIRECT" | undefined;
|
|
262
|
-
itemActions?: ({
|
|
263
|
-
label: string;
|
|
264
|
-
kind: "send";
|
|
265
|
-
value?: string | undefined;
|
|
266
|
-
visibleValue?: string | undefined;
|
|
267
|
-
} | {
|
|
268
|
-
label: string;
|
|
269
|
-
kind: "link";
|
|
270
|
-
url: string;
|
|
271
|
-
})[] | undefined;
|
|
272
257
|
benefitText?: string | undefined;
|
|
273
258
|
thresholdText?: string | undefined;
|
|
274
259
|
priceText?: string | undefined;
|
|
275
260
|
originalPriceText?: string | undefined;
|
|
276
261
|
discountLabel?: string | undefined;
|
|
277
262
|
claimActionLabel?: string | undefined;
|
|
263
|
+
purchaseUrl?: string | undefined;
|
|
264
|
+
freeCouponClaimMode?: "DIRECT" | "REDIRECT" | undefined;
|
|
278
265
|
stockText?: string | undefined;
|
|
279
266
|
usageNoticeText?: string | undefined;
|
|
280
|
-
guaranteeText?: string | undefined;
|
|
281
267
|
usageSceneText?: string | undefined;
|
|
268
|
+
usageTimeText?: string | undefined;
|
|
282
269
|
claimTimeText?: string | undefined;
|
|
283
|
-
|
|
270
|
+
usageRuleText?: string | undefined;
|
|
271
|
+
guaranteeText?: string | undefined;
|
|
284
272
|
validityText?: string | undefined;
|
|
273
|
+
imageUrl?: string | undefined;
|
|
274
|
+
availabilityStatus?: "AVAILABLE" | "UNKNOWN" | "UNAVAILABLE" | "REQUIRES_ACTION" | undefined;
|
|
275
|
+
itemActions?: ({
|
|
276
|
+
kind: "send";
|
|
277
|
+
label: string;
|
|
278
|
+
value?: string | undefined;
|
|
279
|
+
visibleValue?: string | undefined;
|
|
280
|
+
} | {
|
|
281
|
+
url: string;
|
|
282
|
+
kind: "link";
|
|
283
|
+
label: string;
|
|
284
|
+
})[] | undefined;
|
|
285
285
|
}[];
|
|
286
286
|
mode: "search" | "claimable" | "recommend";
|
|
287
|
-
presentation?: "coupon" | "promotion" | "recommendation" | "offer" | undefined;
|
|
288
|
-
summary?: string | undefined;
|
|
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<{
|
|
@@ -362,42 +362,37 @@ declare const promotionCards: {
|
|
|
362
362
|
caveats: zod.ZodArray<zod.ZodString, "many">;
|
|
363
363
|
}, "strip", zod.ZodTypeAny, {
|
|
364
364
|
title: string;
|
|
365
|
+
offerType: "COUPON" | "BUNDLE" | "PROMOTION" | "ACTIVITY" | "GROUPON";
|
|
365
366
|
offerRef: string;
|
|
366
367
|
caveats: string[];
|
|
367
|
-
offerType: "COUPON" | "BUNDLE" | "PROMOTION" | "ACTIVITY" | "GROUPON";
|
|
368
368
|
claimable: boolean;
|
|
369
369
|
rules: string[];
|
|
370
370
|
description?: string | undefined;
|
|
371
|
-
notice?: string | undefined;
|
|
372
|
-
steps?: {
|
|
373
|
-
title: string;
|
|
374
|
-
description?: string | undefined;
|
|
375
|
-
}[] | undefined;
|
|
376
|
-
presentation?: "package" | "coupon" | "promotion" | "offer" | "promotion-guide" | undefined;
|
|
377
371
|
subtitle?: string | undefined;
|
|
378
|
-
|
|
379
|
-
|
|
380
|
-
usageTimeText?: string | undefined;
|
|
381
|
-
purchaseUrl?: string | undefined;
|
|
372
|
+
notice?: string | undefined;
|
|
373
|
+
presentation?: "coupon" | "offer" | "promotion" | "promotion-guide" | "package" | undefined;
|
|
382
374
|
benefitText?: string | undefined;
|
|
383
375
|
thresholdText?: string | undefined;
|
|
384
376
|
priceText?: string | undefined;
|
|
385
377
|
originalPriceText?: string | undefined;
|
|
386
378
|
discountLabel?: string | undefined;
|
|
387
379
|
claimActionLabel?: string | undefined;
|
|
380
|
+
purchaseUrl?: string | undefined;
|
|
388
381
|
stockText?: string | undefined;
|
|
389
382
|
usageNoticeText?: string | undefined;
|
|
390
|
-
guaranteeText?: string | undefined;
|
|
391
383
|
usageSceneText?: string | undefined;
|
|
384
|
+
usageTimeText?: string | undefined;
|
|
392
385
|
claimTimeText?: string | undefined;
|
|
386
|
+
usageRuleText?: string | undefined;
|
|
387
|
+
guaranteeText?: string | undefined;
|
|
393
388
|
validityText?: string | undefined;
|
|
389
|
+
imageUrl?: string | 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,44 +400,44 @@ 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
409
|
title: string;
|
|
410
|
+
offerType: "COUPON" | "BUNDLE" | "PROMOTION" | "ACTIVITY" | "GROUPON";
|
|
410
411
|
offerRef: string;
|
|
411
412
|
caveats: string[];
|
|
412
|
-
offerType: "COUPON" | "BUNDLE" | "PROMOTION" | "ACTIVITY" | "GROUPON";
|
|
413
413
|
claimable: boolean;
|
|
414
414
|
rules: string[];
|
|
415
415
|
description?: string | undefined;
|
|
416
|
-
notice?: string | undefined;
|
|
417
|
-
steps?: {
|
|
418
|
-
title: string;
|
|
419
|
-
description?: string | undefined;
|
|
420
|
-
}[] | undefined;
|
|
421
|
-
presentation?: "package" | "coupon" | "promotion" | "offer" | "promotion-guide" | undefined;
|
|
422
416
|
subtitle?: string | undefined;
|
|
423
|
-
|
|
424
|
-
|
|
425
|
-
usageTimeText?: string | undefined;
|
|
426
|
-
purchaseUrl?: string | undefined;
|
|
417
|
+
notice?: string | undefined;
|
|
418
|
+
presentation?: "coupon" | "offer" | "promotion" | "promotion-guide" | "package" | undefined;
|
|
427
419
|
benefitText?: string | undefined;
|
|
428
420
|
thresholdText?: string | undefined;
|
|
429
421
|
priceText?: string | undefined;
|
|
430
422
|
originalPriceText?: string | undefined;
|
|
431
423
|
discountLabel?: string | undefined;
|
|
432
424
|
claimActionLabel?: string | undefined;
|
|
425
|
+
purchaseUrl?: string | undefined;
|
|
433
426
|
stockText?: string | undefined;
|
|
434
427
|
usageNoticeText?: string | undefined;
|
|
435
|
-
guaranteeText?: string | undefined;
|
|
436
428
|
usageSceneText?: string | undefined;
|
|
429
|
+
usageTimeText?: string | undefined;
|
|
437
430
|
claimTimeText?: string | undefined;
|
|
431
|
+
usageRuleText?: string | undefined;
|
|
432
|
+
guaranteeText?: string | undefined;
|
|
438
433
|
validityText?: string | undefined;
|
|
434
|
+
imageUrl?: string | 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>;
|
|
@@ -481,13 +481,13 @@ declare const promotionCards: {
|
|
|
481
481
|
value: zod.ZodOptional<zod.ZodString>;
|
|
482
482
|
visibleValue: zod.ZodOptional<zod.ZodString>;
|
|
483
483
|
}, "strip", zod.ZodTypeAny, {
|
|
484
|
-
label: string;
|
|
485
484
|
kind: "send";
|
|
485
|
+
label: string;
|
|
486
486
|
value?: string | undefined;
|
|
487
487
|
visibleValue?: string | undefined;
|
|
488
488
|
}, {
|
|
489
|
-
label: string;
|
|
490
489
|
kind: "send";
|
|
490
|
+
label: string;
|
|
491
491
|
value?: string | undefined;
|
|
492
492
|
visibleValue?: string | undefined;
|
|
493
493
|
}>, zod.ZodObject<{
|
|
@@ -495,13 +495,13 @@ declare const promotionCards: {
|
|
|
495
495
|
label: zod.ZodString;
|
|
496
496
|
url: zod.ZodString;
|
|
497
497
|
}, "strip", zod.ZodTypeAny, {
|
|
498
|
-
label: string;
|
|
499
|
-
kind: "link";
|
|
500
498
|
url: string;
|
|
501
|
-
}, {
|
|
502
|
-
label: string;
|
|
503
499
|
kind: "link";
|
|
500
|
+
label: string;
|
|
501
|
+
}, {
|
|
504
502
|
url: string;
|
|
503
|
+
kind: "link";
|
|
504
|
+
label: 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
|
-
imageUrl?: string | undefined;
|
|
541
|
-
usageRuleText?: string | undefined;
|
|
542
|
-
usageTimeText?: string | undefined;
|
|
543
|
-
itemActions?: ({
|
|
544
|
-
label: string;
|
|
545
|
-
kind: "send";
|
|
546
|
-
value?: string | undefined;
|
|
547
|
-
visibleValue?: string | undefined;
|
|
548
|
-
} | {
|
|
549
|
-
label: string;
|
|
550
|
-
kind: "link";
|
|
551
|
-
url: string;
|
|
552
|
-
})[] | undefined;
|
|
553
540
|
benefitText?: string | undefined;
|
|
554
541
|
thresholdText?: string | undefined;
|
|
555
|
-
guaranteeText?: string | undefined;
|
|
556
542
|
usageSceneText?: string | undefined;
|
|
543
|
+
usageTimeText?: string | undefined;
|
|
557
544
|
claimTimeText?: string | undefined;
|
|
545
|
+
usageRuleText?: string | undefined;
|
|
546
|
+
guaranteeText?: string | undefined;
|
|
558
547
|
validityText?: string | undefined;
|
|
548
|
+
imageUrl?: string | 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;
|
|
573
|
-
}, {
|
|
574
|
-
status: "UNKNOWN" | "USED" | "EXPIRED" | "EFFECTIVE" | "INVALID";
|
|
575
|
-
title: string;
|
|
576
|
-
entitlementRef: string;
|
|
577
|
-
entitlementType: "COUPON" | "BUNDLE" | "PROMOTION" | "ACTIVITY" | "GROUPON";
|
|
578
|
-
code?: string | undefined;
|
|
579
|
-
imageUrl?: string | undefined;
|
|
580
|
-
usageRuleText?: string | undefined;
|
|
581
|
-
usageTimeText?: string | undefined;
|
|
582
563
|
itemActions?: ({
|
|
583
|
-
label: string;
|
|
584
564
|
kind: "send";
|
|
565
|
+
label: string;
|
|
585
566
|
value?: string | undefined;
|
|
586
567
|
visibleValue?: string | undefined;
|
|
587
568
|
} | {
|
|
588
|
-
label: string;
|
|
589
|
-
kind: "link";
|
|
590
569
|
url: string;
|
|
570
|
+
kind: "link";
|
|
571
|
+
label: string;
|
|
591
572
|
})[] | undefined;
|
|
573
|
+
}, {
|
|
574
|
+
status: "UNKNOWN" | "EFFECTIVE" | "USED" | "EXPIRED" | "INVALID";
|
|
575
|
+
title: string;
|
|
576
|
+
entitlementRef: string;
|
|
577
|
+
entitlementType: "COUPON" | "BUNDLE" | "PROMOTION" | "ACTIVITY" | "GROUPON";
|
|
578
|
+
code?: string | undefined;
|
|
592
579
|
benefitText?: string | undefined;
|
|
593
580
|
thresholdText?: string | undefined;
|
|
594
|
-
guaranteeText?: string | undefined;
|
|
595
581
|
usageSceneText?: string | undefined;
|
|
582
|
+
usageTimeText?: string | undefined;
|
|
596
583
|
claimTimeText?: string | undefined;
|
|
584
|
+
usageRuleText?: string | undefined;
|
|
585
|
+
guaranteeText?: string | undefined;
|
|
597
586
|
validityText?: string | undefined;
|
|
587
|
+
imageUrl?: string | 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
|
-
imageUrl?: string | undefined;
|
|
623
|
-
usageRuleText?: string | undefined;
|
|
624
|
-
usageTimeText?: string | undefined;
|
|
625
|
-
itemActions?: ({
|
|
626
|
-
label: string;
|
|
627
|
-
kind: "send";
|
|
628
|
-
value?: string | undefined;
|
|
629
|
-
visibleValue?: string | undefined;
|
|
630
|
-
} | {
|
|
631
|
-
label: string;
|
|
632
|
-
kind: "link";
|
|
633
|
-
url: string;
|
|
634
|
-
})[] | undefined;
|
|
635
622
|
benefitText?: string | undefined;
|
|
636
623
|
thresholdText?: string | undefined;
|
|
637
|
-
guaranteeText?: string | undefined;
|
|
638
624
|
usageSceneText?: string | undefined;
|
|
625
|
+
usageTimeText?: string | undefined;
|
|
639
626
|
claimTimeText?: string | undefined;
|
|
627
|
+
usageRuleText?: string | undefined;
|
|
628
|
+
guaranteeText?: string | undefined;
|
|
640
629
|
validityText?: string | undefined;
|
|
630
|
+
imageUrl?: string | 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
|
-
imageUrl?: string | undefined;
|
|
670
|
-
usageRuleText?: string | undefined;
|
|
671
|
-
usageTimeText?: string | undefined;
|
|
672
|
-
itemActions?: ({
|
|
673
|
-
label: string;
|
|
674
|
-
kind: "send";
|
|
675
|
-
value?: string | undefined;
|
|
676
|
-
visibleValue?: string | undefined;
|
|
677
|
-
} | {
|
|
678
|
-
label: string;
|
|
679
|
-
kind: "link";
|
|
680
|
-
url: string;
|
|
681
|
-
})[] | undefined;
|
|
682
669
|
benefitText?: string | undefined;
|
|
683
670
|
thresholdText?: string | undefined;
|
|
684
|
-
guaranteeText?: string | undefined;
|
|
685
671
|
usageSceneText?: string | undefined;
|
|
672
|
+
usageTimeText?: string | undefined;
|
|
686
673
|
claimTimeText?: string | undefined;
|
|
674
|
+
usageRuleText?: string | undefined;
|
|
675
|
+
guaranteeText?: string | undefined;
|
|
687
676
|
validityText?: string | undefined;
|
|
677
|
+
imageUrl?: string | 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<{
|
|
@@ -726,13 +726,13 @@ declare const promotionCards: {
|
|
|
726
726
|
value: zod.ZodOptional<zod.ZodString>;
|
|
727
727
|
visibleValue: zod.ZodOptional<zod.ZodString>;
|
|
728
728
|
}, "strip", zod.ZodTypeAny, {
|
|
729
|
-
label: string;
|
|
730
729
|
kind: "send";
|
|
730
|
+
label: string;
|
|
731
731
|
value?: string | undefined;
|
|
732
732
|
visibleValue?: string | undefined;
|
|
733
733
|
}, {
|
|
734
|
-
label: string;
|
|
735
734
|
kind: "send";
|
|
735
|
+
label: string;
|
|
736
736
|
value?: string | undefined;
|
|
737
737
|
visibleValue?: string | undefined;
|
|
738
738
|
}>, 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
|
-
label: string;
|
|
744
|
-
kind: "link";
|
|
745
743
|
url: string;
|
|
746
|
-
}, {
|
|
747
|
-
label: string;
|
|
748
744
|
kind: "link";
|
|
745
|
+
label: string;
|
|
746
|
+
}, {
|
|
749
747
|
url: string;
|
|
748
|
+
kind: "link";
|
|
749
|
+
label: 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
|
+
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;
|
|
756
763
|
itemActions?: ({
|
|
757
|
-
label: string;
|
|
758
764
|
kind: "send";
|
|
765
|
+
label: string;
|
|
759
766
|
value?: string | undefined;
|
|
760
767
|
visibleValue?: string | undefined;
|
|
761
768
|
} | {
|
|
762
|
-
label: string;
|
|
763
|
-
kind: "link";
|
|
764
769
|
url: string;
|
|
770
|
+
kind: "link";
|
|
771
|
+
label: string;
|
|
765
772
|
})[] | undefined;
|
|
773
|
+
}, {
|
|
774
|
+
registrationRequired: boolean;
|
|
775
|
+
activityRef: string;
|
|
776
|
+
title: string;
|
|
777
|
+
subtitle?: string | undefined;
|
|
766
778
|
coverUrl?: string | undefined;
|
|
767
|
-
availabilityStatus?: "UNKNOWN" | "AVAILABLE" | "FULL" | "ENDED" | "UPCOMING" | 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;
|
|
784
|
+
availabilityStatus?: "FULL" | "ENDED" | "UPCOMING" | "AVAILABLE" | "UNKNOWN" | undefined;
|
|
778
785
|
itemActions?: ({
|
|
779
|
-
label: string;
|
|
780
786
|
kind: "send";
|
|
787
|
+
label: string;
|
|
781
788
|
value?: string | undefined;
|
|
782
789
|
visibleValue?: string | undefined;
|
|
783
790
|
} | {
|
|
784
|
-
label: string;
|
|
785
|
-
kind: "link";
|
|
786
791
|
url: string;
|
|
792
|
+
kind: "link";
|
|
793
|
+
label: string;
|
|
787
794
|
})[] | undefined;
|
|
788
|
-
coverUrl?: string | undefined;
|
|
789
|
-
availabilityStatus?: "UNKNOWN" | "AVAILABLE" | "FULL" | "ENDED" | "UPCOMING" | 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
|
+
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;
|
|
804
811
|
itemActions?: ({
|
|
805
|
-
label: string;
|
|
806
812
|
kind: "send";
|
|
813
|
+
label: string;
|
|
807
814
|
value?: string | undefined;
|
|
808
815
|
visibleValue?: string | undefined;
|
|
809
816
|
} | {
|
|
810
|
-
label: string;
|
|
811
|
-
kind: "link";
|
|
812
817
|
url: string;
|
|
818
|
+
kind: "link";
|
|
819
|
+
label: string;
|
|
813
820
|
})[] | undefined;
|
|
814
|
-
coverUrl?: string | undefined;
|
|
815
|
-
availabilityStatus?: "UNKNOWN" | "AVAILABLE" | "FULL" | "ENDED" | "UPCOMING" | 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
|
+
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;
|
|
830
837
|
itemActions?: ({
|
|
831
|
-
label: string;
|
|
832
838
|
kind: "send";
|
|
839
|
+
label: string;
|
|
833
840
|
value?: string | undefined;
|
|
834
841
|
visibleValue?: string | undefined;
|
|
835
842
|
} | {
|
|
836
|
-
label: string;
|
|
837
|
-
kind: "link";
|
|
838
843
|
url: string;
|
|
844
|
+
kind: "link";
|
|
845
|
+
label: string;
|
|
839
846
|
})[] | undefined;
|
|
840
|
-
coverUrl?: string | undefined;
|
|
841
|
-
availabilityStatus?: "UNKNOWN" | "AVAILABLE" | "FULL" | "ENDED" | "UPCOMING" | 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
919
|
description?: string | undefined;
|
|
920
|
-
notice?: string | undefined;
|
|
921
|
-
presentation?: "detail" | "schedule" | "guide" | undefined;
|
|
922
920
|
subtitle?: string | undefined;
|
|
923
|
-
location?: 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
950
|
description?: string | undefined;
|
|
951
|
-
notice?: string | undefined;
|
|
952
|
-
presentation?: "detail" | "schedule" | "guide" | undefined;
|
|
953
951
|
subtitle?: string | undefined;
|
|
954
|
-
location?: string | undefined;
|
|
955
952
|
coverUrl?: string | undefined;
|
|
956
953
|
jumpOnly?: boolean | undefined;
|
|
957
954
|
jumpLabel?: string | undefined;
|
|
958
|
-
remainingQuota?: number | undefined;
|
|
959
|
-
periodText?: string | undefined;
|
|
960
955
|
categoryName?: string | undefined;
|
|
956
|
+
remainingQuota?: number | undefined;
|
|
961
957
|
registrationUrl?: string | undefined;
|
|
962
|
-
|
|
963
|
-
|
|
958
|
+
periodText?: string | undefined;
|
|
959
|
+
location?: string | undefined;
|
|
960
|
+
notice?: string | undefined;
|
|
961
|
+
guideItems?: {
|
|
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<{
|
|
@@ -975,13 +975,13 @@ declare const promotionCards: {
|
|
|
975
975
|
value: zod.ZodOptional<zod.ZodString>;
|
|
976
976
|
visibleValue: zod.ZodOptional<zod.ZodString>;
|
|
977
977
|
}, "strip", zod.ZodTypeAny, {
|
|
978
|
-
label: string;
|
|
979
978
|
kind: "send";
|
|
979
|
+
label: string;
|
|
980
980
|
value?: string | undefined;
|
|
981
981
|
visibleValue?: string | undefined;
|
|
982
982
|
}, {
|
|
983
|
-
label: string;
|
|
984
983
|
kind: "send";
|
|
984
|
+
label: string;
|
|
985
985
|
value?: string | undefined;
|
|
986
986
|
visibleValue?: string | undefined;
|
|
987
987
|
}>, 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
|
-
label: string;
|
|
993
|
-
kind: "link";
|
|
994
992
|
url: string;
|
|
995
|
-
}, {
|
|
996
|
-
label: string;
|
|
997
993
|
kind: "link";
|
|
994
|
+
label: string;
|
|
995
|
+
}, {
|
|
998
996
|
url: string;
|
|
997
|
+
kind: "link";
|
|
998
|
+
label: string;
|
|
999
999
|
}>]>, "many">>;
|
|
1000
1000
|
}, "strip", zod.ZodTypeAny, {
|
|
1001
|
-
name: string;
|
|
1002
1001
|
categoryId: string;
|
|
1002
|
+
name: string;
|
|
1003
1003
|
itemActions?: ({
|
|
1004
|
-
label: string;
|
|
1005
1004
|
kind: "send";
|
|
1005
|
+
label: string;
|
|
1006
1006
|
value?: string | undefined;
|
|
1007
1007
|
visibleValue?: string | undefined;
|
|
1008
1008
|
} | {
|
|
1009
|
-
label: string;
|
|
1010
|
-
kind: "link";
|
|
1011
1009
|
url: string;
|
|
1010
|
+
kind: "link";
|
|
1011
|
+
label: 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
|
-
label: string;
|
|
1019
1018
|
kind: "send";
|
|
1019
|
+
label: string;
|
|
1020
1020
|
value?: string | undefined;
|
|
1021
1021
|
visibleValue?: string | undefined;
|
|
1022
1022
|
} | {
|
|
1023
|
-
label: string;
|
|
1024
|
-
kind: "link";
|
|
1025
1023
|
url: string;
|
|
1024
|
+
kind: "link";
|
|
1025
|
+
label: 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
|
-
label: string;
|
|
1036
1035
|
kind: "send";
|
|
1036
|
+
label: string;
|
|
1037
1037
|
value?: string | undefined;
|
|
1038
1038
|
visibleValue?: string | undefined;
|
|
1039
1039
|
} | {
|
|
1040
|
-
label: string;
|
|
1041
|
-
kind: "link";
|
|
1042
1040
|
url: string;
|
|
1041
|
+
kind: "link";
|
|
1042
|
+
label: 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
|
-
label: string;
|
|
1053
1052
|
kind: "send";
|
|
1053
|
+
label: string;
|
|
1054
1054
|
value?: string | undefined;
|
|
1055
1055
|
visibleValue?: string | undefined;
|
|
1056
1056
|
} | {
|
|
1057
|
-
label: string;
|
|
1058
|
-
kind: "link";
|
|
1059
1057
|
url: string;
|
|
1058
|
+
kind: "link";
|
|
1059
|
+
label: string;
|
|
1060
1060
|
})[] | undefined;
|
|
1061
1061
|
parentId?: string | undefined;
|
|
1062
1062
|
}[];
|
|
@@ -1098,13 +1098,13 @@ declare const promotionCards: {
|
|
|
1098
1098
|
value: zod.ZodOptional<zod.ZodString>;
|
|
1099
1099
|
visibleValue: zod.ZodOptional<zod.ZodString>;
|
|
1100
1100
|
}, "strip", zod.ZodTypeAny, {
|
|
1101
|
-
label: string;
|
|
1102
1101
|
kind: "send";
|
|
1102
|
+
label: string;
|
|
1103
1103
|
value?: string | undefined;
|
|
1104
1104
|
visibleValue?: string | undefined;
|
|
1105
1105
|
}, {
|
|
1106
|
-
label: string;
|
|
1107
1106
|
kind: "send";
|
|
1107
|
+
label: string;
|
|
1108
1108
|
value?: string | undefined;
|
|
1109
1109
|
visibleValue?: string | undefined;
|
|
1110
1110
|
}>, zod.ZodObject<{
|
|
@@ -1112,172 +1112,172 @@ declare const promotionCards: {
|
|
|
1112
1112
|
label: zod.ZodString;
|
|
1113
1113
|
url: zod.ZodString;
|
|
1114
1114
|
}, "strip", zod.ZodTypeAny, {
|
|
1115
|
-
label: string;
|
|
1116
|
-
kind: "link";
|
|
1117
1115
|
url: string;
|
|
1118
|
-
}, {
|
|
1119
|
-
label: string;
|
|
1120
1116
|
kind: "link";
|
|
1117
|
+
label: string;
|
|
1118
|
+
}, {
|
|
1121
1119
|
url: string;
|
|
1120
|
+
kind: "link";
|
|
1121
|
+
label: string;
|
|
1122
1122
|
}>]>, "many">>;
|
|
1123
1123
|
tags: zod.ZodArray<zod.ZodString, "many">;
|
|
1124
1124
|
}, "strip", zod.ZodTypeAny, {
|
|
1125
1125
|
title: string;
|
|
1126
|
-
tags: string[];
|
|
1127
|
-
offerRef: string;
|
|
1128
1126
|
offerType: "COUPON" | "BUNDLE" | "PROMOTION" | "ACTIVITY" | "GROUPON";
|
|
1127
|
+
offerRef: string;
|
|
1129
1128
|
claimable: boolean;
|
|
1129
|
+
tags: string[];
|
|
1130
1130
|
subtitle?: string | undefined;
|
|
1131
|
-
imageUrl?: string | undefined;
|
|
1132
|
-
usageRuleText?: string | undefined;
|
|
1133
|
-
usageTimeText?: string | undefined;
|
|
1134
|
-
purchaseUrl?: string | undefined;
|
|
1135
|
-
freeCouponClaimMode?: "DIRECT" | "REDIRECT" | undefined;
|
|
1136
|
-
itemActions?: ({
|
|
1137
|
-
label: string;
|
|
1138
|
-
kind: "send";
|
|
1139
|
-
value?: string | undefined;
|
|
1140
|
-
visibleValue?: string | undefined;
|
|
1141
|
-
} | {
|
|
1142
|
-
label: string;
|
|
1143
|
-
kind: "link";
|
|
1144
|
-
url: string;
|
|
1145
|
-
})[] | undefined;
|
|
1146
1131
|
benefitText?: string | undefined;
|
|
1147
1132
|
thresholdText?: string | undefined;
|
|
1148
1133
|
priceText?: string | undefined;
|
|
1149
1134
|
originalPriceText?: string | undefined;
|
|
1150
1135
|
discountLabel?: string | undefined;
|
|
1151
1136
|
claimActionLabel?: string | undefined;
|
|
1137
|
+
purchaseUrl?: string | undefined;
|
|
1138
|
+
freeCouponClaimMode?: "DIRECT" | "REDIRECT" | undefined;
|
|
1152
1139
|
stockText?: string | undefined;
|
|
1153
1140
|
usageNoticeText?: string | undefined;
|
|
1154
|
-
guaranteeText?: string | undefined;
|
|
1155
1141
|
usageSceneText?: string | undefined;
|
|
1142
|
+
usageTimeText?: string | undefined;
|
|
1156
1143
|
claimTimeText?: string | undefined;
|
|
1157
|
-
|
|
1144
|
+
usageRuleText?: string | undefined;
|
|
1145
|
+
guaranteeText?: string | undefined;
|
|
1158
1146
|
validityText?: string | undefined;
|
|
1159
|
-
}, {
|
|
1160
|
-
title: string;
|
|
1161
|
-
tags: string[];
|
|
1162
|
-
offerRef: string;
|
|
1163
|
-
offerType: "COUPON" | "BUNDLE" | "PROMOTION" | "ACTIVITY" | "GROUPON";
|
|
1164
|
-
claimable: boolean;
|
|
1165
|
-
subtitle?: string | undefined;
|
|
1166
1147
|
imageUrl?: string | undefined;
|
|
1167
|
-
|
|
1168
|
-
usageTimeText?: string | undefined;
|
|
1169
|
-
purchaseUrl?: string | undefined;
|
|
1170
|
-
freeCouponClaimMode?: "DIRECT" | "REDIRECT" | undefined;
|
|
1148
|
+
availabilityStatus?: "AVAILABLE" | "UNKNOWN" | "UNAVAILABLE" | "REQUIRES_ACTION" | undefined;
|
|
1171
1149
|
itemActions?: ({
|
|
1172
|
-
label: string;
|
|
1173
1150
|
kind: "send";
|
|
1151
|
+
label: string;
|
|
1174
1152
|
value?: string | undefined;
|
|
1175
1153
|
visibleValue?: string | undefined;
|
|
1176
1154
|
} | {
|
|
1177
|
-
label: string;
|
|
1178
|
-
kind: "link";
|
|
1179
1155
|
url: string;
|
|
1156
|
+
kind: "link";
|
|
1157
|
+
label: string;
|
|
1180
1158
|
})[] | undefined;
|
|
1159
|
+
}, {
|
|
1160
|
+
title: string;
|
|
1161
|
+
offerType: "COUPON" | "BUNDLE" | "PROMOTION" | "ACTIVITY" | "GROUPON";
|
|
1162
|
+
offerRef: string;
|
|
1163
|
+
claimable: boolean;
|
|
1164
|
+
tags: string[];
|
|
1165
|
+
subtitle?: string | undefined;
|
|
1181
1166
|
benefitText?: string | undefined;
|
|
1182
1167
|
thresholdText?: string | undefined;
|
|
1183
1168
|
priceText?: string | undefined;
|
|
1184
1169
|
originalPriceText?: string | undefined;
|
|
1185
1170
|
discountLabel?: string | undefined;
|
|
1186
1171
|
claimActionLabel?: string | undefined;
|
|
1172
|
+
purchaseUrl?: string | undefined;
|
|
1173
|
+
freeCouponClaimMode?: "DIRECT" | "REDIRECT" | undefined;
|
|
1187
1174
|
stockText?: string | undefined;
|
|
1188
1175
|
usageNoticeText?: string | undefined;
|
|
1189
|
-
guaranteeText?: string | undefined;
|
|
1190
1176
|
usageSceneText?: string | undefined;
|
|
1177
|
+
usageTimeText?: string | undefined;
|
|
1191
1178
|
claimTimeText?: string | undefined;
|
|
1192
|
-
|
|
1179
|
+
usageRuleText?: string | undefined;
|
|
1180
|
+
guaranteeText?: string | undefined;
|
|
1193
1181
|
validityText?: string | undefined;
|
|
1182
|
+
imageUrl?: string | undefined;
|
|
1183
|
+
availabilityStatus?: "AVAILABLE" | "UNKNOWN" | "UNAVAILABLE" | "REQUIRES_ACTION" | undefined;
|
|
1184
|
+
itemActions?: ({
|
|
1185
|
+
kind: "send";
|
|
1186
|
+
label: string;
|
|
1187
|
+
value?: string | undefined;
|
|
1188
|
+
visibleValue?: string | undefined;
|
|
1189
|
+
} | {
|
|
1190
|
+
url: string;
|
|
1191
|
+
kind: "link";
|
|
1192
|
+
label: string;
|
|
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
1200
|
message?: string | undefined;
|
|
1201
1201
|
savingsCents?: number | undefined;
|
|
1202
1202
|
expectedPayCents?: number | undefined;
|
|
1203
1203
|
candidates?: {
|
|
1204
1204
|
title: string;
|
|
1205
|
-
tags: string[];
|
|
1206
|
-
offerRef: string;
|
|
1207
1205
|
offerType: "COUPON" | "BUNDLE" | "PROMOTION" | "ACTIVITY" | "GROUPON";
|
|
1206
|
+
offerRef: string;
|
|
1208
1207
|
claimable: boolean;
|
|
1208
|
+
tags: string[];
|
|
1209
1209
|
subtitle?: string | undefined;
|
|
1210
|
-
imageUrl?: string | undefined;
|
|
1211
|
-
usageRuleText?: string | undefined;
|
|
1212
|
-
usageTimeText?: string | undefined;
|
|
1213
|
-
purchaseUrl?: string | undefined;
|
|
1214
|
-
freeCouponClaimMode?: "DIRECT" | "REDIRECT" | undefined;
|
|
1215
|
-
itemActions?: ({
|
|
1216
|
-
label: string;
|
|
1217
|
-
kind: "send";
|
|
1218
|
-
value?: string | undefined;
|
|
1219
|
-
visibleValue?: string | undefined;
|
|
1220
|
-
} | {
|
|
1221
|
-
label: string;
|
|
1222
|
-
kind: "link";
|
|
1223
|
-
url: string;
|
|
1224
|
-
})[] | undefined;
|
|
1225
1210
|
benefitText?: string | undefined;
|
|
1226
1211
|
thresholdText?: string | undefined;
|
|
1227
1212
|
priceText?: string | undefined;
|
|
1228
1213
|
originalPriceText?: string | undefined;
|
|
1229
1214
|
discountLabel?: string | undefined;
|
|
1230
1215
|
claimActionLabel?: string | undefined;
|
|
1216
|
+
purchaseUrl?: string | undefined;
|
|
1217
|
+
freeCouponClaimMode?: "DIRECT" | "REDIRECT" | undefined;
|
|
1231
1218
|
stockText?: string | undefined;
|
|
1232
1219
|
usageNoticeText?: string | undefined;
|
|
1233
|
-
guaranteeText?: string | undefined;
|
|
1234
1220
|
usageSceneText?: string | undefined;
|
|
1221
|
+
usageTimeText?: string | undefined;
|
|
1235
1222
|
claimTimeText?: string | undefined;
|
|
1236
|
-
|
|
1223
|
+
usageRuleText?: string | undefined;
|
|
1224
|
+
guaranteeText?: string | undefined;
|
|
1237
1225
|
validityText?: string | undefined;
|
|
1226
|
+
imageUrl?: string | undefined;
|
|
1227
|
+
availabilityStatus?: "AVAILABLE" | "UNKNOWN" | "UNAVAILABLE" | "REQUIRES_ACTION" | undefined;
|
|
1228
|
+
itemActions?: ({
|
|
1229
|
+
kind: "send";
|
|
1230
|
+
label: string;
|
|
1231
|
+
value?: string | undefined;
|
|
1232
|
+
visibleValue?: string | undefined;
|
|
1233
|
+
} | {
|
|
1234
|
+
url: string;
|
|
1235
|
+
kind: "link";
|
|
1236
|
+
label: string;
|
|
1237
|
+
})[] | undefined;
|
|
1238
1238
|
}[] | undefined;
|
|
1239
1239
|
}, {
|
|
1240
|
-
authoritative: boolean;
|
|
1241
1240
|
originalAmountCents: number;
|
|
1241
|
+
authoritative: boolean;
|
|
1242
1242
|
appliedOfferRefs: string[];
|
|
1243
1243
|
message?: string | undefined;
|
|
1244
1244
|
savingsCents?: number | undefined;
|
|
1245
1245
|
expectedPayCents?: number | undefined;
|
|
1246
1246
|
candidates?: {
|
|
1247
1247
|
title: string;
|
|
1248
|
-
tags: string[];
|
|
1249
|
-
offerRef: string;
|
|
1250
1248
|
offerType: "COUPON" | "BUNDLE" | "PROMOTION" | "ACTIVITY" | "GROUPON";
|
|
1249
|
+
offerRef: string;
|
|
1251
1250
|
claimable: boolean;
|
|
1251
|
+
tags: string[];
|
|
1252
1252
|
subtitle?: string | undefined;
|
|
1253
|
-
imageUrl?: string | undefined;
|
|
1254
|
-
usageRuleText?: string | undefined;
|
|
1255
|
-
usageTimeText?: string | undefined;
|
|
1256
|
-
purchaseUrl?: string | undefined;
|
|
1257
|
-
freeCouponClaimMode?: "DIRECT" | "REDIRECT" | undefined;
|
|
1258
|
-
itemActions?: ({
|
|
1259
|
-
label: string;
|
|
1260
|
-
kind: "send";
|
|
1261
|
-
value?: string | undefined;
|
|
1262
|
-
visibleValue?: string | undefined;
|
|
1263
|
-
} | {
|
|
1264
|
-
label: string;
|
|
1265
|
-
kind: "link";
|
|
1266
|
-
url: string;
|
|
1267
|
-
})[] | undefined;
|
|
1268
1253
|
benefitText?: string | undefined;
|
|
1269
1254
|
thresholdText?: string | undefined;
|
|
1270
1255
|
priceText?: string | undefined;
|
|
1271
1256
|
originalPriceText?: string | undefined;
|
|
1272
1257
|
discountLabel?: string | undefined;
|
|
1273
1258
|
claimActionLabel?: string | undefined;
|
|
1259
|
+
purchaseUrl?: string | undefined;
|
|
1260
|
+
freeCouponClaimMode?: "DIRECT" | "REDIRECT" | undefined;
|
|
1274
1261
|
stockText?: string | undefined;
|
|
1275
1262
|
usageNoticeText?: string | undefined;
|
|
1276
|
-
guaranteeText?: string | undefined;
|
|
1277
1263
|
usageSceneText?: string | undefined;
|
|
1264
|
+
usageTimeText?: string | undefined;
|
|
1278
1265
|
claimTimeText?: string | undefined;
|
|
1279
|
-
|
|
1266
|
+
usageRuleText?: string | undefined;
|
|
1267
|
+
guaranteeText?: string | undefined;
|
|
1280
1268
|
validityText?: string | undefined;
|
|
1269
|
+
imageUrl?: string | undefined;
|
|
1270
|
+
availabilityStatus?: "AVAILABLE" | "UNKNOWN" | "UNAVAILABLE" | "REQUIRES_ACTION" | undefined;
|
|
1271
|
+
itemActions?: ({
|
|
1272
|
+
kind: "send";
|
|
1273
|
+
label: string;
|
|
1274
|
+
value?: string | undefined;
|
|
1275
|
+
visibleValue?: string | undefined;
|
|
1276
|
+
} | {
|
|
1277
|
+
url: string;
|
|
1278
|
+
kind: "link";
|
|
1279
|
+
label: string;
|
|
1280
|
+
})[] | undefined;
|
|
1281
1281
|
}[] | undefined;
|
|
1282
1282
|
}>>;
|
|
1283
1283
|
readonly 'promotion-deal-recall': _tbox_cn_app_contracts.CardMeta<zod.ZodObject<{
|
|
@@ -1295,42 +1295,42 @@ declare const promotionCards: {
|
|
|
1295
1295
|
id: string;
|
|
1296
1296
|
title: string;
|
|
1297
1297
|
kind: "item" | "shop";
|
|
1298
|
-
price?: string | undefined;
|
|
1299
|
-
url?: string | undefined;
|
|
1300
1298
|
subtitle?: string | undefined;
|
|
1299
|
+
url?: string | undefined;
|
|
1301
1300
|
imageUrl?: string | undefined;
|
|
1301
|
+
price?: string | undefined;
|
|
1302
1302
|
}, {
|
|
1303
1303
|
id: string;
|
|
1304
1304
|
title: string;
|
|
1305
1305
|
kind: "item" | "shop";
|
|
1306
|
-
price?: string | undefined;
|
|
1307
|
-
url?: string | undefined;
|
|
1308
1306
|
subtitle?: string | undefined;
|
|
1307
|
+
url?: string | undefined;
|
|
1309
1308
|
imageUrl?: string | undefined;
|
|
1309
|
+
price?: string | undefined;
|
|
1310
1310
|
}>, "many">;
|
|
1311
1311
|
}, "strip", zod.ZodTypeAny, {
|
|
1312
|
-
title: string;
|
|
1313
1312
|
items: {
|
|
1314
1313
|
id: string;
|
|
1315
1314
|
title: string;
|
|
1316
1315
|
kind: "item" | "shop";
|
|
1317
|
-
price?: string | undefined;
|
|
1318
|
-
url?: string | undefined;
|
|
1319
1316
|
subtitle?: string | undefined;
|
|
1317
|
+
url?: string | undefined;
|
|
1320
1318
|
imageUrl?: string | undefined;
|
|
1319
|
+
price?: string | undefined;
|
|
1321
1320
|
}[];
|
|
1321
|
+
title: string;
|
|
1322
1322
|
partial?: boolean | undefined;
|
|
1323
1323
|
}, {
|
|
1324
|
-
title: string;
|
|
1325
1324
|
items: {
|
|
1326
1325
|
id: string;
|
|
1327
1326
|
title: string;
|
|
1328
1327
|
kind: "item" | "shop";
|
|
1329
|
-
price?: string | undefined;
|
|
1330
|
-
url?: string | undefined;
|
|
1331
1328
|
subtitle?: string | undefined;
|
|
1329
|
+
url?: string | undefined;
|
|
1332
1330
|
imageUrl?: string | undefined;
|
|
1331
|
+
price?: string | undefined;
|
|
1333
1332
|
}[];
|
|
1333
|
+
title: string;
|
|
1334
1334
|
partial?: boolean | undefined;
|
|
1335
1335
|
}>>;
|
|
1336
1336
|
};
|
|
@@ -1376,13 +1376,13 @@ declare const serverModule: {
|
|
|
1376
1376
|
value: z.ZodOptional<z.ZodString>;
|
|
1377
1377
|
visibleValue: z.ZodOptional<z.ZodString>;
|
|
1378
1378
|
}, "strip", z.ZodTypeAny, {
|
|
1379
|
-
label: string;
|
|
1380
1379
|
kind: "send";
|
|
1380
|
+
label: string;
|
|
1381
1381
|
value?: string | undefined;
|
|
1382
1382
|
visibleValue?: string | undefined;
|
|
1383
1383
|
}, {
|
|
1384
|
-
label: string;
|
|
1385
1384
|
kind: "send";
|
|
1385
|
+
label: string;
|
|
1386
1386
|
value?: string | undefined;
|
|
1387
1387
|
visibleValue?: string | undefined;
|
|
1388
1388
|
}>, z.ZodObject<{
|
|
@@ -1390,85 +1390,85 @@ declare const serverModule: {
|
|
|
1390
1390
|
label: z.ZodString;
|
|
1391
1391
|
url: z.ZodString;
|
|
1392
1392
|
}, "strip", z.ZodTypeAny, {
|
|
1393
|
-
label: string;
|
|
1394
|
-
kind: "link";
|
|
1395
1393
|
url: string;
|
|
1396
|
-
}, {
|
|
1397
|
-
label: string;
|
|
1398
1394
|
kind: "link";
|
|
1395
|
+
label: string;
|
|
1396
|
+
}, {
|
|
1399
1397
|
url: string;
|
|
1398
|
+
kind: "link";
|
|
1399
|
+
label: string;
|
|
1400
1400
|
}>]>, "many">>;
|
|
1401
1401
|
tags: z.ZodArray<z.ZodString, "many">;
|
|
1402
1402
|
}, "strip", z.ZodTypeAny, {
|
|
1403
1403
|
title: string;
|
|
1404
|
-
tags: string[];
|
|
1405
|
-
offerRef: string;
|
|
1406
1404
|
offerType: "COUPON" | "BUNDLE" | "PROMOTION" | "ACTIVITY" | "GROUPON";
|
|
1405
|
+
offerRef: string;
|
|
1407
1406
|
claimable: boolean;
|
|
1407
|
+
tags: string[];
|
|
1408
1408
|
subtitle?: string | undefined;
|
|
1409
|
-
imageUrl?: string | undefined;
|
|
1410
|
-
usageRuleText?: string | undefined;
|
|
1411
|
-
usageTimeText?: string | undefined;
|
|
1412
|
-
purchaseUrl?: string | undefined;
|
|
1413
|
-
freeCouponClaimMode?: "DIRECT" | "REDIRECT" | undefined;
|
|
1414
|
-
itemActions?: ({
|
|
1415
|
-
label: string;
|
|
1416
|
-
kind: "send";
|
|
1417
|
-
value?: string | undefined;
|
|
1418
|
-
visibleValue?: string | undefined;
|
|
1419
|
-
} | {
|
|
1420
|
-
label: string;
|
|
1421
|
-
kind: "link";
|
|
1422
|
-
url: string;
|
|
1423
|
-
})[] | undefined;
|
|
1424
1409
|
benefitText?: string | undefined;
|
|
1425
1410
|
thresholdText?: string | undefined;
|
|
1426
1411
|
priceText?: string | undefined;
|
|
1427
1412
|
originalPriceText?: string | undefined;
|
|
1428
1413
|
discountLabel?: string | undefined;
|
|
1429
1414
|
claimActionLabel?: string | undefined;
|
|
1430
|
-
|
|
1415
|
+
purchaseUrl?: string | undefined;
|
|
1416
|
+
freeCouponClaimMode?: "DIRECT" | "REDIRECT" | undefined;
|
|
1417
|
+
stockText?: string | undefined;
|
|
1431
1418
|
usageNoticeText?: string | undefined;
|
|
1432
|
-
guaranteeText?: string | undefined;
|
|
1433
1419
|
usageSceneText?: string | undefined;
|
|
1420
|
+
usageTimeText?: string | undefined;
|
|
1434
1421
|
claimTimeText?: string | undefined;
|
|
1435
|
-
|
|
1422
|
+
usageRuleText?: string | undefined;
|
|
1423
|
+
guaranteeText?: string | undefined;
|
|
1436
1424
|
validityText?: string | undefined;
|
|
1437
|
-
}, {
|
|
1438
|
-
title: string;
|
|
1439
|
-
tags: string[];
|
|
1440
|
-
offerRef: string;
|
|
1441
|
-
offerType: "COUPON" | "BUNDLE" | "PROMOTION" | "ACTIVITY" | "GROUPON";
|
|
1442
|
-
claimable: boolean;
|
|
1443
|
-
subtitle?: string | undefined;
|
|
1444
1425
|
imageUrl?: string | undefined;
|
|
1445
|
-
|
|
1446
|
-
usageTimeText?: string | undefined;
|
|
1447
|
-
purchaseUrl?: string | undefined;
|
|
1448
|
-
freeCouponClaimMode?: "DIRECT" | "REDIRECT" | undefined;
|
|
1426
|
+
availabilityStatus?: "AVAILABLE" | "UNKNOWN" | "UNAVAILABLE" | "REQUIRES_ACTION" | undefined;
|
|
1449
1427
|
itemActions?: ({
|
|
1450
|
-
label: string;
|
|
1451
1428
|
kind: "send";
|
|
1429
|
+
label: string;
|
|
1452
1430
|
value?: string | undefined;
|
|
1453
1431
|
visibleValue?: string | undefined;
|
|
1454
1432
|
} | {
|
|
1455
|
-
label: string;
|
|
1456
|
-
kind: "link";
|
|
1457
1433
|
url: string;
|
|
1434
|
+
kind: "link";
|
|
1435
|
+
label: string;
|
|
1458
1436
|
})[] | undefined;
|
|
1437
|
+
}, {
|
|
1438
|
+
title: string;
|
|
1439
|
+
offerType: "COUPON" | "BUNDLE" | "PROMOTION" | "ACTIVITY" | "GROUPON";
|
|
1440
|
+
offerRef: string;
|
|
1441
|
+
claimable: boolean;
|
|
1442
|
+
tags: string[];
|
|
1443
|
+
subtitle?: string | undefined;
|
|
1459
1444
|
benefitText?: string | undefined;
|
|
1460
1445
|
thresholdText?: string | undefined;
|
|
1461
1446
|
priceText?: string | undefined;
|
|
1462
1447
|
originalPriceText?: string | undefined;
|
|
1463
1448
|
discountLabel?: string | undefined;
|
|
1464
1449
|
claimActionLabel?: string | undefined;
|
|
1450
|
+
purchaseUrl?: string | undefined;
|
|
1451
|
+
freeCouponClaimMode?: "DIRECT" | "REDIRECT" | undefined;
|
|
1465
1452
|
stockText?: string | undefined;
|
|
1466
1453
|
usageNoticeText?: string | undefined;
|
|
1467
|
-
guaranteeText?: string | undefined;
|
|
1468
1454
|
usageSceneText?: string | undefined;
|
|
1455
|
+
usageTimeText?: string | undefined;
|
|
1469
1456
|
claimTimeText?: string | undefined;
|
|
1470
|
-
|
|
1457
|
+
usageRuleText?: string | undefined;
|
|
1458
|
+
guaranteeText?: string | undefined;
|
|
1471
1459
|
validityText?: string | undefined;
|
|
1460
|
+
imageUrl?: string | undefined;
|
|
1461
|
+
availabilityStatus?: "AVAILABLE" | "UNKNOWN" | "UNAVAILABLE" | "REQUIRES_ACTION" | undefined;
|
|
1462
|
+
itemActions?: ({
|
|
1463
|
+
kind: "send";
|
|
1464
|
+
label: string;
|
|
1465
|
+
value?: string | undefined;
|
|
1466
|
+
visibleValue?: string | undefined;
|
|
1467
|
+
} | {
|
|
1468
|
+
url: string;
|
|
1469
|
+
kind: "link";
|
|
1470
|
+
label: string;
|
|
1471
|
+
})[] | undefined;
|
|
1472
1472
|
}>, "many">;
|
|
1473
1473
|
noResultsReason: z.ZodOptional<z.ZodString>;
|
|
1474
1474
|
nextCursor: z.ZodOptional<z.ZodString>;
|
|
@@ -1476,91 +1476,91 @@ declare const serverModule: {
|
|
|
1476
1476
|
}, "strip", z.ZodTypeAny, {
|
|
1477
1477
|
items: {
|
|
1478
1478
|
title: string;
|
|
1479
|
-
tags: string[];
|
|
1480
|
-
offerRef: string;
|
|
1481
1479
|
offerType: "COUPON" | "BUNDLE" | "PROMOTION" | "ACTIVITY" | "GROUPON";
|
|
1480
|
+
offerRef: string;
|
|
1482
1481
|
claimable: boolean;
|
|
1482
|
+
tags: string[];
|
|
1483
1483
|
subtitle?: string | undefined;
|
|
1484
|
-
imageUrl?: string | undefined;
|
|
1485
|
-
usageRuleText?: string | undefined;
|
|
1486
|
-
usageTimeText?: string | undefined;
|
|
1487
|
-
purchaseUrl?: string | undefined;
|
|
1488
|
-
freeCouponClaimMode?: "DIRECT" | "REDIRECT" | undefined;
|
|
1489
|
-
itemActions?: ({
|
|
1490
|
-
label: string;
|
|
1491
|
-
kind: "send";
|
|
1492
|
-
value?: string | undefined;
|
|
1493
|
-
visibleValue?: string | undefined;
|
|
1494
|
-
} | {
|
|
1495
|
-
label: string;
|
|
1496
|
-
kind: "link";
|
|
1497
|
-
url: string;
|
|
1498
|
-
})[] | undefined;
|
|
1499
1484
|
benefitText?: string | undefined;
|
|
1500
1485
|
thresholdText?: string | undefined;
|
|
1501
1486
|
priceText?: string | undefined;
|
|
1502
1487
|
originalPriceText?: string | undefined;
|
|
1503
1488
|
discountLabel?: string | undefined;
|
|
1504
1489
|
claimActionLabel?: string | undefined;
|
|
1490
|
+
purchaseUrl?: string | undefined;
|
|
1491
|
+
freeCouponClaimMode?: "DIRECT" | "REDIRECT" | undefined;
|
|
1505
1492
|
stockText?: string | undefined;
|
|
1506
1493
|
usageNoticeText?: string | undefined;
|
|
1507
|
-
guaranteeText?: string | undefined;
|
|
1508
1494
|
usageSceneText?: string | undefined;
|
|
1495
|
+
usageTimeText?: string | undefined;
|
|
1509
1496
|
claimTimeText?: string | undefined;
|
|
1510
|
-
|
|
1497
|
+
usageRuleText?: string | undefined;
|
|
1498
|
+
guaranteeText?: string | undefined;
|
|
1511
1499
|
validityText?: string | undefined;
|
|
1500
|
+
imageUrl?: string | undefined;
|
|
1501
|
+
availabilityStatus?: "AVAILABLE" | "UNKNOWN" | "UNAVAILABLE" | "REQUIRES_ACTION" | undefined;
|
|
1502
|
+
itemActions?: ({
|
|
1503
|
+
kind: "send";
|
|
1504
|
+
label: string;
|
|
1505
|
+
value?: string | undefined;
|
|
1506
|
+
visibleValue?: string | undefined;
|
|
1507
|
+
} | {
|
|
1508
|
+
url: string;
|
|
1509
|
+
kind: "link";
|
|
1510
|
+
label: string;
|
|
1511
|
+
})[] | undefined;
|
|
1512
1512
|
}[];
|
|
1513
1513
|
mode: "search" | "claimable" | "recommend";
|
|
1514
|
-
presentation?: "coupon" | "promotion" | "recommendation" | "offer" | undefined;
|
|
1515
|
-
summary?: string | undefined;
|
|
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
1522
|
title: string;
|
|
1523
|
-
tags: string[];
|
|
1524
|
-
offerRef: string;
|
|
1525
1523
|
offerType: "COUPON" | "BUNDLE" | "PROMOTION" | "ACTIVITY" | "GROUPON";
|
|
1524
|
+
offerRef: string;
|
|
1526
1525
|
claimable: boolean;
|
|
1526
|
+
tags: string[];
|
|
1527
1527
|
subtitle?: string | undefined;
|
|
1528
|
-
imageUrl?: string | undefined;
|
|
1529
|
-
usageRuleText?: string | undefined;
|
|
1530
|
-
usageTimeText?: string | undefined;
|
|
1531
|
-
purchaseUrl?: string | undefined;
|
|
1532
|
-
freeCouponClaimMode?: "DIRECT" | "REDIRECT" | undefined;
|
|
1533
|
-
itemActions?: ({
|
|
1534
|
-
label: string;
|
|
1535
|
-
kind: "send";
|
|
1536
|
-
value?: string | undefined;
|
|
1537
|
-
visibleValue?: string | undefined;
|
|
1538
|
-
} | {
|
|
1539
|
-
label: string;
|
|
1540
|
-
kind: "link";
|
|
1541
|
-
url: string;
|
|
1542
|
-
})[] | undefined;
|
|
1543
1528
|
benefitText?: string | undefined;
|
|
1544
1529
|
thresholdText?: string | undefined;
|
|
1545
1530
|
priceText?: string | undefined;
|
|
1546
1531
|
originalPriceText?: string | undefined;
|
|
1547
1532
|
discountLabel?: string | undefined;
|
|
1548
1533
|
claimActionLabel?: string | undefined;
|
|
1534
|
+
purchaseUrl?: string | undefined;
|
|
1535
|
+
freeCouponClaimMode?: "DIRECT" | "REDIRECT" | undefined;
|
|
1549
1536
|
stockText?: string | undefined;
|
|
1550
1537
|
usageNoticeText?: string | undefined;
|
|
1551
|
-
guaranteeText?: string | undefined;
|
|
1552
1538
|
usageSceneText?: string | undefined;
|
|
1539
|
+
usageTimeText?: string | undefined;
|
|
1553
1540
|
claimTimeText?: string | undefined;
|
|
1554
|
-
|
|
1541
|
+
usageRuleText?: string | undefined;
|
|
1542
|
+
guaranteeText?: string | undefined;
|
|
1555
1543
|
validityText?: string | undefined;
|
|
1544
|
+
imageUrl?: string | undefined;
|
|
1545
|
+
availabilityStatus?: "AVAILABLE" | "UNKNOWN" | "UNAVAILABLE" | "REQUIRES_ACTION" | undefined;
|
|
1546
|
+
itemActions?: ({
|
|
1547
|
+
kind: "send";
|
|
1548
|
+
label: string;
|
|
1549
|
+
value?: string | undefined;
|
|
1550
|
+
visibleValue?: string | undefined;
|
|
1551
|
+
} | {
|
|
1552
|
+
url: string;
|
|
1553
|
+
kind: "link";
|
|
1554
|
+
label: string;
|
|
1555
|
+
})[] | undefined;
|
|
1556
1556
|
}[];
|
|
1557
1557
|
mode: "search" | "claimable" | "recommend";
|
|
1558
|
-
presentation?: "coupon" | "promotion" | "recommendation" | "offer" | undefined;
|
|
1559
|
-
summary?: string | undefined;
|
|
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<{
|
|
@@ -1633,42 +1633,37 @@ declare const serverModule: {
|
|
|
1633
1633
|
caveats: z.ZodArray<z.ZodString, "many">;
|
|
1634
1634
|
}, "strip", z.ZodTypeAny, {
|
|
1635
1635
|
title: string;
|
|
1636
|
+
offerType: "COUPON" | "BUNDLE" | "PROMOTION" | "ACTIVITY" | "GROUPON";
|
|
1636
1637
|
offerRef: string;
|
|
1637
1638
|
caveats: string[];
|
|
1638
|
-
offerType: "COUPON" | "BUNDLE" | "PROMOTION" | "ACTIVITY" | "GROUPON";
|
|
1639
1639
|
claimable: boolean;
|
|
1640
1640
|
rules: string[];
|
|
1641
1641
|
description?: string | undefined;
|
|
1642
|
-
notice?: string | undefined;
|
|
1643
|
-
steps?: {
|
|
1644
|
-
title: string;
|
|
1645
|
-
description?: string | undefined;
|
|
1646
|
-
}[] | undefined;
|
|
1647
|
-
presentation?: "package" | "coupon" | "promotion" | "offer" | "promotion-guide" | undefined;
|
|
1648
1642
|
subtitle?: string | undefined;
|
|
1649
|
-
|
|
1650
|
-
|
|
1651
|
-
usageTimeText?: string | undefined;
|
|
1652
|
-
purchaseUrl?: string | undefined;
|
|
1643
|
+
notice?: string | undefined;
|
|
1644
|
+
presentation?: "coupon" | "offer" | "promotion" | "promotion-guide" | "package" | undefined;
|
|
1653
1645
|
benefitText?: string | undefined;
|
|
1654
1646
|
thresholdText?: string | undefined;
|
|
1655
1647
|
priceText?: string | undefined;
|
|
1656
1648
|
originalPriceText?: string | undefined;
|
|
1657
1649
|
discountLabel?: string | undefined;
|
|
1658
1650
|
claimActionLabel?: string | undefined;
|
|
1651
|
+
purchaseUrl?: string | undefined;
|
|
1659
1652
|
stockText?: string | undefined;
|
|
1660
1653
|
usageNoticeText?: string | undefined;
|
|
1661
|
-
guaranteeText?: string | undefined;
|
|
1662
1654
|
usageSceneText?: string | undefined;
|
|
1655
|
+
usageTimeText?: string | undefined;
|
|
1663
1656
|
claimTimeText?: string | undefined;
|
|
1657
|
+
usageRuleText?: string | undefined;
|
|
1658
|
+
guaranteeText?: string | undefined;
|
|
1664
1659
|
validityText?: string | undefined;
|
|
1660
|
+
imageUrl?: string | 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,44 +1671,44 @@ 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
1680
|
title: string;
|
|
1681
|
+
offerType: "COUPON" | "BUNDLE" | "PROMOTION" | "ACTIVITY" | "GROUPON";
|
|
1681
1682
|
offerRef: string;
|
|
1682
1683
|
caveats: string[];
|
|
1683
|
-
offerType: "COUPON" | "BUNDLE" | "PROMOTION" | "ACTIVITY" | "GROUPON";
|
|
1684
1684
|
claimable: boolean;
|
|
1685
1685
|
rules: string[];
|
|
1686
1686
|
description?: string | undefined;
|
|
1687
|
-
notice?: string | undefined;
|
|
1688
|
-
steps?: {
|
|
1689
|
-
title: string;
|
|
1690
|
-
description?: string | undefined;
|
|
1691
|
-
}[] | undefined;
|
|
1692
|
-
presentation?: "package" | "coupon" | "promotion" | "offer" | "promotion-guide" | undefined;
|
|
1693
1687
|
subtitle?: string | undefined;
|
|
1694
|
-
|
|
1695
|
-
|
|
1696
|
-
usageTimeText?: string | undefined;
|
|
1697
|
-
purchaseUrl?: string | undefined;
|
|
1688
|
+
notice?: string | undefined;
|
|
1689
|
+
presentation?: "coupon" | "offer" | "promotion" | "promotion-guide" | "package" | undefined;
|
|
1698
1690
|
benefitText?: string | undefined;
|
|
1699
1691
|
thresholdText?: string | undefined;
|
|
1700
1692
|
priceText?: string | undefined;
|
|
1701
1693
|
originalPriceText?: string | undefined;
|
|
1702
1694
|
discountLabel?: string | undefined;
|
|
1703
1695
|
claimActionLabel?: string | undefined;
|
|
1696
|
+
purchaseUrl?: string | undefined;
|
|
1704
1697
|
stockText?: string | undefined;
|
|
1705
1698
|
usageNoticeText?: string | undefined;
|
|
1706
|
-
guaranteeText?: string | undefined;
|
|
1707
1699
|
usageSceneText?: string | undefined;
|
|
1700
|
+
usageTimeText?: string | undefined;
|
|
1708
1701
|
claimTimeText?: string | undefined;
|
|
1702
|
+
usageRuleText?: string | undefined;
|
|
1703
|
+
guaranteeText?: string | undefined;
|
|
1709
1704
|
validityText?: string | undefined;
|
|
1705
|
+
imageUrl?: string | 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>;
|
|
@@ -1752,13 +1752,13 @@ declare const serverModule: {
|
|
|
1752
1752
|
value: z.ZodOptional<z.ZodString>;
|
|
1753
1753
|
visibleValue: z.ZodOptional<z.ZodString>;
|
|
1754
1754
|
}, "strip", z.ZodTypeAny, {
|
|
1755
|
-
label: string;
|
|
1756
1755
|
kind: "send";
|
|
1756
|
+
label: string;
|
|
1757
1757
|
value?: string | undefined;
|
|
1758
1758
|
visibleValue?: string | undefined;
|
|
1759
1759
|
}, {
|
|
1760
|
-
label: string;
|
|
1761
1760
|
kind: "send";
|
|
1761
|
+
label: string;
|
|
1762
1762
|
value?: string | undefined;
|
|
1763
1763
|
visibleValue?: string | undefined;
|
|
1764
1764
|
}>, z.ZodObject<{
|
|
@@ -1766,13 +1766,13 @@ declare const serverModule: {
|
|
|
1766
1766
|
label: z.ZodString;
|
|
1767
1767
|
url: z.ZodString;
|
|
1768
1768
|
}, "strip", z.ZodTypeAny, {
|
|
1769
|
-
label: string;
|
|
1770
|
-
kind: "link";
|
|
1771
1769
|
url: string;
|
|
1772
|
-
}, {
|
|
1773
|
-
label: string;
|
|
1774
1770
|
kind: "link";
|
|
1771
|
+
label: string;
|
|
1772
|
+
}, {
|
|
1775
1773
|
url: string;
|
|
1774
|
+
kind: "link";
|
|
1775
|
+
label: 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
|
-
imageUrl?: string | undefined;
|
|
1812
|
-
usageRuleText?: string | undefined;
|
|
1813
|
-
usageTimeText?: string | undefined;
|
|
1814
|
-
itemActions?: ({
|
|
1815
|
-
label: string;
|
|
1816
|
-
kind: "send";
|
|
1817
|
-
value?: string | undefined;
|
|
1818
|
-
visibleValue?: string | undefined;
|
|
1819
|
-
} | {
|
|
1820
|
-
label: string;
|
|
1821
|
-
kind: "link";
|
|
1822
|
-
url: string;
|
|
1823
|
-
})[] | undefined;
|
|
1824
1811
|
benefitText?: string | undefined;
|
|
1825
1812
|
thresholdText?: string | undefined;
|
|
1826
|
-
guaranteeText?: string | undefined;
|
|
1827
1813
|
usageSceneText?: string | undefined;
|
|
1814
|
+
usageTimeText?: string | undefined;
|
|
1828
1815
|
claimTimeText?: string | undefined;
|
|
1816
|
+
usageRuleText?: string | undefined;
|
|
1817
|
+
guaranteeText?: string | undefined;
|
|
1829
1818
|
validityText?: string | undefined;
|
|
1819
|
+
imageUrl?: string | 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;
|
|
1844
|
-
}, {
|
|
1845
|
-
status: "UNKNOWN" | "USED" | "EXPIRED" | "EFFECTIVE" | "INVALID";
|
|
1846
|
-
title: string;
|
|
1847
|
-
entitlementRef: string;
|
|
1848
|
-
entitlementType: "COUPON" | "BUNDLE" | "PROMOTION" | "ACTIVITY" | "GROUPON";
|
|
1849
|
-
code?: string | undefined;
|
|
1850
|
-
imageUrl?: string | undefined;
|
|
1851
|
-
usageRuleText?: string | undefined;
|
|
1852
|
-
usageTimeText?: string | undefined;
|
|
1853
1834
|
itemActions?: ({
|
|
1854
|
-
label: string;
|
|
1855
1835
|
kind: "send";
|
|
1836
|
+
label: string;
|
|
1856
1837
|
value?: string | undefined;
|
|
1857
1838
|
visibleValue?: string | undefined;
|
|
1858
1839
|
} | {
|
|
1859
|
-
label: string;
|
|
1860
|
-
kind: "link";
|
|
1861
1840
|
url: string;
|
|
1841
|
+
kind: "link";
|
|
1842
|
+
label: string;
|
|
1862
1843
|
})[] | undefined;
|
|
1844
|
+
}, {
|
|
1845
|
+
status: "UNKNOWN" | "EFFECTIVE" | "USED" | "EXPIRED" | "INVALID";
|
|
1846
|
+
title: string;
|
|
1847
|
+
entitlementRef: string;
|
|
1848
|
+
entitlementType: "COUPON" | "BUNDLE" | "PROMOTION" | "ACTIVITY" | "GROUPON";
|
|
1849
|
+
code?: string | undefined;
|
|
1863
1850
|
benefitText?: string | undefined;
|
|
1864
1851
|
thresholdText?: string | undefined;
|
|
1865
|
-
guaranteeText?: string | undefined;
|
|
1866
1852
|
usageSceneText?: string | undefined;
|
|
1853
|
+
usageTimeText?: string | undefined;
|
|
1867
1854
|
claimTimeText?: string | undefined;
|
|
1855
|
+
usageRuleText?: string | undefined;
|
|
1856
|
+
guaranteeText?: string | undefined;
|
|
1868
1857
|
validityText?: string | undefined;
|
|
1858
|
+
imageUrl?: string | 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
|
-
imageUrl?: string | undefined;
|
|
1894
|
-
usageRuleText?: string | undefined;
|
|
1895
|
-
usageTimeText?: string | undefined;
|
|
1896
|
-
itemActions?: ({
|
|
1897
|
-
label: string;
|
|
1898
|
-
kind: "send";
|
|
1899
|
-
value?: string | undefined;
|
|
1900
|
-
visibleValue?: string | undefined;
|
|
1901
|
-
} | {
|
|
1902
|
-
label: string;
|
|
1903
|
-
kind: "link";
|
|
1904
|
-
url: string;
|
|
1905
|
-
})[] | undefined;
|
|
1906
1893
|
benefitText?: string | undefined;
|
|
1907
1894
|
thresholdText?: string | undefined;
|
|
1908
|
-
guaranteeText?: string | undefined;
|
|
1909
1895
|
usageSceneText?: string | undefined;
|
|
1896
|
+
usageTimeText?: string | undefined;
|
|
1910
1897
|
claimTimeText?: string | undefined;
|
|
1898
|
+
usageRuleText?: string | undefined;
|
|
1899
|
+
guaranteeText?: string | undefined;
|
|
1911
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
|
-
imageUrl?: string | undefined;
|
|
1941
|
-
usageRuleText?: string | undefined;
|
|
1942
|
-
usageTimeText?: string | undefined;
|
|
1943
|
-
itemActions?: ({
|
|
1944
|
-
label: string;
|
|
1945
|
-
kind: "send";
|
|
1946
|
-
value?: string | undefined;
|
|
1947
|
-
visibleValue?: string | undefined;
|
|
1948
|
-
} | {
|
|
1949
|
-
label: string;
|
|
1950
|
-
kind: "link";
|
|
1951
|
-
url: string;
|
|
1952
|
-
})[] | undefined;
|
|
1953
1940
|
benefitText?: string | undefined;
|
|
1954
1941
|
thresholdText?: string | undefined;
|
|
1955
|
-
guaranteeText?: string | undefined;
|
|
1956
1942
|
usageSceneText?: string | undefined;
|
|
1943
|
+
usageTimeText?: string | undefined;
|
|
1957
1944
|
claimTimeText?: string | undefined;
|
|
1945
|
+
usageRuleText?: string | undefined;
|
|
1946
|
+
guaranteeText?: string | undefined;
|
|
1958
1947
|
validityText?: string | undefined;
|
|
1948
|
+
imageUrl?: string | 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<{
|
|
@@ -1997,13 +1997,13 @@ declare const serverModule: {
|
|
|
1997
1997
|
value: z.ZodOptional<z.ZodString>;
|
|
1998
1998
|
visibleValue: z.ZodOptional<z.ZodString>;
|
|
1999
1999
|
}, "strip", z.ZodTypeAny, {
|
|
2000
|
-
label: string;
|
|
2001
2000
|
kind: "send";
|
|
2001
|
+
label: string;
|
|
2002
2002
|
value?: string | undefined;
|
|
2003
2003
|
visibleValue?: string | undefined;
|
|
2004
2004
|
}, {
|
|
2005
|
-
label: string;
|
|
2006
2005
|
kind: "send";
|
|
2006
|
+
label: string;
|
|
2007
2007
|
value?: string | undefined;
|
|
2008
2008
|
visibleValue?: string | undefined;
|
|
2009
2009
|
}>, 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
|
-
label: string;
|
|
2015
|
-
kind: "link";
|
|
2016
2014
|
url: string;
|
|
2017
|
-
}, {
|
|
2018
|
-
label: string;
|
|
2019
2015
|
kind: "link";
|
|
2016
|
+
label: string;
|
|
2017
|
+
}, {
|
|
2020
2018
|
url: string;
|
|
2019
|
+
kind: "link";
|
|
2020
|
+
label: 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
|
+
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;
|
|
2027
2034
|
itemActions?: ({
|
|
2028
|
-
label: string;
|
|
2029
2035
|
kind: "send";
|
|
2036
|
+
label: string;
|
|
2030
2037
|
value?: string | undefined;
|
|
2031
2038
|
visibleValue?: string | undefined;
|
|
2032
2039
|
} | {
|
|
2033
|
-
label: string;
|
|
2034
|
-
kind: "link";
|
|
2035
2040
|
url: string;
|
|
2041
|
+
kind: "link";
|
|
2042
|
+
label: string;
|
|
2036
2043
|
})[] | undefined;
|
|
2044
|
+
}, {
|
|
2045
|
+
registrationRequired: boolean;
|
|
2046
|
+
activityRef: string;
|
|
2047
|
+
title: string;
|
|
2048
|
+
subtitle?: string | undefined;
|
|
2037
2049
|
coverUrl?: string | undefined;
|
|
2038
|
-
availabilityStatus?: "UNKNOWN" | "AVAILABLE" | "FULL" | "ENDED" | "UPCOMING" | 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;
|
|
2055
|
+
availabilityStatus?: "FULL" | "ENDED" | "UPCOMING" | "AVAILABLE" | "UNKNOWN" | undefined;
|
|
2049
2056
|
itemActions?: ({
|
|
2050
|
-
label: string;
|
|
2051
2057
|
kind: "send";
|
|
2058
|
+
label: string;
|
|
2052
2059
|
value?: string | undefined;
|
|
2053
2060
|
visibleValue?: string | undefined;
|
|
2054
2061
|
} | {
|
|
2055
|
-
label: string;
|
|
2056
|
-
kind: "link";
|
|
2057
2062
|
url: string;
|
|
2063
|
+
kind: "link";
|
|
2064
|
+
label: string;
|
|
2058
2065
|
})[] | undefined;
|
|
2059
|
-
coverUrl?: string | undefined;
|
|
2060
|
-
availabilityStatus?: "UNKNOWN" | "AVAILABLE" | "FULL" | "ENDED" | "UPCOMING" | 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
|
+
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;
|
|
2075
2082
|
itemActions?: ({
|
|
2076
|
-
label: string;
|
|
2077
2083
|
kind: "send";
|
|
2084
|
+
label: string;
|
|
2078
2085
|
value?: string | undefined;
|
|
2079
2086
|
visibleValue?: string | undefined;
|
|
2080
2087
|
} | {
|
|
2081
|
-
label: string;
|
|
2082
|
-
kind: "link";
|
|
2083
2088
|
url: string;
|
|
2089
|
+
kind: "link";
|
|
2090
|
+
label: string;
|
|
2084
2091
|
})[] | undefined;
|
|
2085
|
-
coverUrl?: string | undefined;
|
|
2086
|
-
availabilityStatus?: "UNKNOWN" | "AVAILABLE" | "FULL" | "ENDED" | "UPCOMING" | 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
|
+
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;
|
|
2101
2108
|
itemActions?: ({
|
|
2102
|
-
label: string;
|
|
2103
2109
|
kind: "send";
|
|
2110
|
+
label: string;
|
|
2104
2111
|
value?: string | undefined;
|
|
2105
2112
|
visibleValue?: string | undefined;
|
|
2106
2113
|
} | {
|
|
2107
|
-
label: string;
|
|
2108
|
-
kind: "link";
|
|
2109
2114
|
url: string;
|
|
2115
|
+
kind: "link";
|
|
2116
|
+
label: string;
|
|
2110
2117
|
})[] | undefined;
|
|
2111
|
-
coverUrl?: string | undefined;
|
|
2112
|
-
availabilityStatus?: "UNKNOWN" | "AVAILABLE" | "FULL" | "ENDED" | "UPCOMING" | 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
2190
|
description?: string | undefined;
|
|
2191
|
-
notice?: string | undefined;
|
|
2192
|
-
presentation?: "detail" | "schedule" | "guide" | undefined;
|
|
2193
2191
|
subtitle?: string | undefined;
|
|
2194
|
-
location?: 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
2221
|
description?: string | undefined;
|
|
2222
|
-
notice?: string | undefined;
|
|
2223
|
-
presentation?: "detail" | "schedule" | "guide" | undefined;
|
|
2224
2222
|
subtitle?: string | undefined;
|
|
2225
|
-
location?: 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<{
|
|
@@ -2246,13 +2246,13 @@ declare const serverModule: {
|
|
|
2246
2246
|
value: z.ZodOptional<z.ZodString>;
|
|
2247
2247
|
visibleValue: z.ZodOptional<z.ZodString>;
|
|
2248
2248
|
}, "strip", z.ZodTypeAny, {
|
|
2249
|
-
label: string;
|
|
2250
2249
|
kind: "send";
|
|
2250
|
+
label: string;
|
|
2251
2251
|
value?: string | undefined;
|
|
2252
2252
|
visibleValue?: string | undefined;
|
|
2253
2253
|
}, {
|
|
2254
|
-
label: string;
|
|
2255
2254
|
kind: "send";
|
|
2255
|
+
label: string;
|
|
2256
2256
|
value?: string | undefined;
|
|
2257
2257
|
visibleValue?: string | undefined;
|
|
2258
2258
|
}>, 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
|
-
label: string;
|
|
2264
|
-
kind: "link";
|
|
2265
2263
|
url: string;
|
|
2266
|
-
}, {
|
|
2267
|
-
label: string;
|
|
2268
2264
|
kind: "link";
|
|
2265
|
+
label: string;
|
|
2266
|
+
}, {
|
|
2269
2267
|
url: string;
|
|
2268
|
+
kind: "link";
|
|
2269
|
+
label: string;
|
|
2270
2270
|
}>]>, "many">>;
|
|
2271
2271
|
}, "strip", z.ZodTypeAny, {
|
|
2272
|
-
name: string;
|
|
2273
2272
|
categoryId: string;
|
|
2273
|
+
name: string;
|
|
2274
2274
|
itemActions?: ({
|
|
2275
|
-
label: string;
|
|
2276
2275
|
kind: "send";
|
|
2276
|
+
label: string;
|
|
2277
2277
|
value?: string | undefined;
|
|
2278
2278
|
visibleValue?: string | undefined;
|
|
2279
2279
|
} | {
|
|
2280
|
-
label: string;
|
|
2281
|
-
kind: "link";
|
|
2282
2280
|
url: string;
|
|
2281
|
+
kind: "link";
|
|
2282
|
+
label: 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
|
-
label: string;
|
|
2290
2289
|
kind: "send";
|
|
2290
|
+
label: string;
|
|
2291
2291
|
value?: string | undefined;
|
|
2292
2292
|
visibleValue?: string | undefined;
|
|
2293
2293
|
} | {
|
|
2294
|
-
label: string;
|
|
2295
|
-
kind: "link";
|
|
2296
2294
|
url: string;
|
|
2295
|
+
kind: "link";
|
|
2296
|
+
label: 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
|
-
label: string;
|
|
2307
2306
|
kind: "send";
|
|
2307
|
+
label: string;
|
|
2308
2308
|
value?: string | undefined;
|
|
2309
2309
|
visibleValue?: string | undefined;
|
|
2310
2310
|
} | {
|
|
2311
|
-
label: string;
|
|
2312
|
-
kind: "link";
|
|
2313
2311
|
url: string;
|
|
2312
|
+
kind: "link";
|
|
2313
|
+
label: 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
|
-
label: string;
|
|
2324
2323
|
kind: "send";
|
|
2324
|
+
label: string;
|
|
2325
2325
|
value?: string | undefined;
|
|
2326
2326
|
visibleValue?: string | undefined;
|
|
2327
2327
|
} | {
|
|
2328
|
-
label: string;
|
|
2329
|
-
kind: "link";
|
|
2330
2328
|
url: string;
|
|
2329
|
+
kind: "link";
|
|
2330
|
+
label: string;
|
|
2331
2331
|
})[] | undefined;
|
|
2332
2332
|
parentId?: string | undefined;
|
|
2333
2333
|
}[];
|
|
@@ -2369,13 +2369,13 @@ declare const serverModule: {
|
|
|
2369
2369
|
value: z.ZodOptional<z.ZodString>;
|
|
2370
2370
|
visibleValue: z.ZodOptional<z.ZodString>;
|
|
2371
2371
|
}, "strip", z.ZodTypeAny, {
|
|
2372
|
-
label: string;
|
|
2373
2372
|
kind: "send";
|
|
2373
|
+
label: string;
|
|
2374
2374
|
value?: string | undefined;
|
|
2375
2375
|
visibleValue?: string | undefined;
|
|
2376
2376
|
}, {
|
|
2377
|
-
label: string;
|
|
2378
2377
|
kind: "send";
|
|
2378
|
+
label: string;
|
|
2379
2379
|
value?: string | undefined;
|
|
2380
2380
|
visibleValue?: string | undefined;
|
|
2381
2381
|
}>, z.ZodObject<{
|
|
@@ -2383,172 +2383,172 @@ declare const serverModule: {
|
|
|
2383
2383
|
label: z.ZodString;
|
|
2384
2384
|
url: z.ZodString;
|
|
2385
2385
|
}, "strip", z.ZodTypeAny, {
|
|
2386
|
-
label: string;
|
|
2387
|
-
kind: "link";
|
|
2388
2386
|
url: string;
|
|
2389
|
-
}, {
|
|
2390
|
-
label: string;
|
|
2391
2387
|
kind: "link";
|
|
2388
|
+
label: string;
|
|
2389
|
+
}, {
|
|
2392
2390
|
url: string;
|
|
2391
|
+
kind: "link";
|
|
2392
|
+
label: string;
|
|
2393
2393
|
}>]>, "many">>;
|
|
2394
2394
|
tags: z.ZodArray<z.ZodString, "many">;
|
|
2395
2395
|
}, "strip", z.ZodTypeAny, {
|
|
2396
2396
|
title: string;
|
|
2397
|
-
tags: string[];
|
|
2398
|
-
offerRef: string;
|
|
2399
2397
|
offerType: "COUPON" | "BUNDLE" | "PROMOTION" | "ACTIVITY" | "GROUPON";
|
|
2398
|
+
offerRef: string;
|
|
2400
2399
|
claimable: boolean;
|
|
2400
|
+
tags: string[];
|
|
2401
2401
|
subtitle?: string | undefined;
|
|
2402
|
-
imageUrl?: string | undefined;
|
|
2403
|
-
usageRuleText?: string | undefined;
|
|
2404
|
-
usageTimeText?: string | undefined;
|
|
2405
|
-
purchaseUrl?: string | undefined;
|
|
2406
|
-
freeCouponClaimMode?: "DIRECT" | "REDIRECT" | undefined;
|
|
2407
|
-
itemActions?: ({
|
|
2408
|
-
label: string;
|
|
2409
|
-
kind: "send";
|
|
2410
|
-
value?: string | undefined;
|
|
2411
|
-
visibleValue?: string | undefined;
|
|
2412
|
-
} | {
|
|
2413
|
-
label: string;
|
|
2414
|
-
kind: "link";
|
|
2415
|
-
url: string;
|
|
2416
|
-
})[] | undefined;
|
|
2417
2402
|
benefitText?: string | undefined;
|
|
2418
2403
|
thresholdText?: string | undefined;
|
|
2419
2404
|
priceText?: string | undefined;
|
|
2420
2405
|
originalPriceText?: string | undefined;
|
|
2421
2406
|
discountLabel?: string | undefined;
|
|
2422
2407
|
claimActionLabel?: string | undefined;
|
|
2408
|
+
purchaseUrl?: string | undefined;
|
|
2409
|
+
freeCouponClaimMode?: "DIRECT" | "REDIRECT" | undefined;
|
|
2423
2410
|
stockText?: string | undefined;
|
|
2424
2411
|
usageNoticeText?: string | undefined;
|
|
2425
|
-
guaranteeText?: string | undefined;
|
|
2426
2412
|
usageSceneText?: string | undefined;
|
|
2413
|
+
usageTimeText?: string | undefined;
|
|
2427
2414
|
claimTimeText?: string | undefined;
|
|
2428
|
-
|
|
2415
|
+
usageRuleText?: string | undefined;
|
|
2416
|
+
guaranteeText?: string | undefined;
|
|
2429
2417
|
validityText?: string | undefined;
|
|
2430
|
-
}, {
|
|
2431
|
-
title: string;
|
|
2432
|
-
tags: string[];
|
|
2433
|
-
offerRef: string;
|
|
2434
|
-
offerType: "COUPON" | "BUNDLE" | "PROMOTION" | "ACTIVITY" | "GROUPON";
|
|
2435
|
-
claimable: boolean;
|
|
2436
|
-
subtitle?: string | undefined;
|
|
2437
2418
|
imageUrl?: string | undefined;
|
|
2438
|
-
|
|
2439
|
-
usageTimeText?: string | undefined;
|
|
2440
|
-
purchaseUrl?: string | undefined;
|
|
2441
|
-
freeCouponClaimMode?: "DIRECT" | "REDIRECT" | undefined;
|
|
2419
|
+
availabilityStatus?: "AVAILABLE" | "UNKNOWN" | "UNAVAILABLE" | "REQUIRES_ACTION" | undefined;
|
|
2442
2420
|
itemActions?: ({
|
|
2443
|
-
label: string;
|
|
2444
2421
|
kind: "send";
|
|
2422
|
+
label: string;
|
|
2445
2423
|
value?: string | undefined;
|
|
2446
2424
|
visibleValue?: string | undefined;
|
|
2447
2425
|
} | {
|
|
2448
|
-
label: string;
|
|
2449
|
-
kind: "link";
|
|
2450
2426
|
url: string;
|
|
2427
|
+
kind: "link";
|
|
2428
|
+
label: string;
|
|
2451
2429
|
})[] | undefined;
|
|
2430
|
+
}, {
|
|
2431
|
+
title: string;
|
|
2432
|
+
offerType: "COUPON" | "BUNDLE" | "PROMOTION" | "ACTIVITY" | "GROUPON";
|
|
2433
|
+
offerRef: string;
|
|
2434
|
+
claimable: boolean;
|
|
2435
|
+
tags: string[];
|
|
2436
|
+
subtitle?: string | undefined;
|
|
2452
2437
|
benefitText?: string | undefined;
|
|
2453
2438
|
thresholdText?: string | undefined;
|
|
2454
2439
|
priceText?: string | undefined;
|
|
2455
2440
|
originalPriceText?: string | undefined;
|
|
2456
2441
|
discountLabel?: string | undefined;
|
|
2457
2442
|
claimActionLabel?: string | undefined;
|
|
2443
|
+
purchaseUrl?: string | undefined;
|
|
2444
|
+
freeCouponClaimMode?: "DIRECT" | "REDIRECT" | undefined;
|
|
2458
2445
|
stockText?: string | undefined;
|
|
2459
2446
|
usageNoticeText?: string | undefined;
|
|
2460
|
-
guaranteeText?: string | undefined;
|
|
2461
2447
|
usageSceneText?: string | undefined;
|
|
2448
|
+
usageTimeText?: string | undefined;
|
|
2462
2449
|
claimTimeText?: string | undefined;
|
|
2463
|
-
|
|
2450
|
+
usageRuleText?: string | undefined;
|
|
2451
|
+
guaranteeText?: string | undefined;
|
|
2464
2452
|
validityText?: string | undefined;
|
|
2453
|
+
imageUrl?: string | undefined;
|
|
2454
|
+
availabilityStatus?: "AVAILABLE" | "UNKNOWN" | "UNAVAILABLE" | "REQUIRES_ACTION" | undefined;
|
|
2455
|
+
itemActions?: ({
|
|
2456
|
+
kind: "send";
|
|
2457
|
+
label: string;
|
|
2458
|
+
value?: string | undefined;
|
|
2459
|
+
visibleValue?: string | undefined;
|
|
2460
|
+
} | {
|
|
2461
|
+
url: string;
|
|
2462
|
+
kind: "link";
|
|
2463
|
+
label: string;
|
|
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
2471
|
message?: string | undefined;
|
|
2472
2472
|
savingsCents?: number | undefined;
|
|
2473
2473
|
expectedPayCents?: number | undefined;
|
|
2474
2474
|
candidates?: {
|
|
2475
2475
|
title: string;
|
|
2476
|
-
tags: string[];
|
|
2477
|
-
offerRef: string;
|
|
2478
2476
|
offerType: "COUPON" | "BUNDLE" | "PROMOTION" | "ACTIVITY" | "GROUPON";
|
|
2477
|
+
offerRef: string;
|
|
2479
2478
|
claimable: boolean;
|
|
2479
|
+
tags: string[];
|
|
2480
2480
|
subtitle?: string | undefined;
|
|
2481
|
-
imageUrl?: string | undefined;
|
|
2482
|
-
usageRuleText?: string | undefined;
|
|
2483
|
-
usageTimeText?: string | undefined;
|
|
2484
|
-
purchaseUrl?: string | undefined;
|
|
2485
|
-
freeCouponClaimMode?: "DIRECT" | "REDIRECT" | undefined;
|
|
2486
|
-
itemActions?: ({
|
|
2487
|
-
label: string;
|
|
2488
|
-
kind: "send";
|
|
2489
|
-
value?: string | undefined;
|
|
2490
|
-
visibleValue?: string | undefined;
|
|
2491
|
-
} | {
|
|
2492
|
-
label: string;
|
|
2493
|
-
kind: "link";
|
|
2494
|
-
url: string;
|
|
2495
|
-
})[] | undefined;
|
|
2496
2481
|
benefitText?: string | undefined;
|
|
2497
2482
|
thresholdText?: string | undefined;
|
|
2498
2483
|
priceText?: string | undefined;
|
|
2499
2484
|
originalPriceText?: string | undefined;
|
|
2500
2485
|
discountLabel?: string | undefined;
|
|
2501
2486
|
claimActionLabel?: string | undefined;
|
|
2487
|
+
purchaseUrl?: string | undefined;
|
|
2488
|
+
freeCouponClaimMode?: "DIRECT" | "REDIRECT" | undefined;
|
|
2502
2489
|
stockText?: string | undefined;
|
|
2503
2490
|
usageNoticeText?: string | undefined;
|
|
2504
|
-
guaranteeText?: string | undefined;
|
|
2505
2491
|
usageSceneText?: string | undefined;
|
|
2492
|
+
usageTimeText?: string | undefined;
|
|
2506
2493
|
claimTimeText?: string | undefined;
|
|
2507
|
-
|
|
2494
|
+
usageRuleText?: string | undefined;
|
|
2495
|
+
guaranteeText?: string | undefined;
|
|
2508
2496
|
validityText?: string | undefined;
|
|
2497
|
+
imageUrl?: string | undefined;
|
|
2498
|
+
availabilityStatus?: "AVAILABLE" | "UNKNOWN" | "UNAVAILABLE" | "REQUIRES_ACTION" | undefined;
|
|
2499
|
+
itemActions?: ({
|
|
2500
|
+
kind: "send";
|
|
2501
|
+
label: string;
|
|
2502
|
+
value?: string | undefined;
|
|
2503
|
+
visibleValue?: string | undefined;
|
|
2504
|
+
} | {
|
|
2505
|
+
url: string;
|
|
2506
|
+
kind: "link";
|
|
2507
|
+
label: string;
|
|
2508
|
+
})[] | undefined;
|
|
2509
2509
|
}[] | undefined;
|
|
2510
2510
|
}, {
|
|
2511
|
-
authoritative: boolean;
|
|
2512
2511
|
originalAmountCents: number;
|
|
2512
|
+
authoritative: boolean;
|
|
2513
2513
|
appliedOfferRefs: string[];
|
|
2514
2514
|
message?: string | undefined;
|
|
2515
2515
|
savingsCents?: number | undefined;
|
|
2516
2516
|
expectedPayCents?: number | undefined;
|
|
2517
2517
|
candidates?: {
|
|
2518
2518
|
title: string;
|
|
2519
|
-
tags: string[];
|
|
2520
|
-
offerRef: string;
|
|
2521
2519
|
offerType: "COUPON" | "BUNDLE" | "PROMOTION" | "ACTIVITY" | "GROUPON";
|
|
2520
|
+
offerRef: string;
|
|
2522
2521
|
claimable: boolean;
|
|
2522
|
+
tags: string[];
|
|
2523
2523
|
subtitle?: string | undefined;
|
|
2524
|
-
imageUrl?: string | undefined;
|
|
2525
|
-
usageRuleText?: string | undefined;
|
|
2526
|
-
usageTimeText?: string | undefined;
|
|
2527
|
-
purchaseUrl?: string | undefined;
|
|
2528
|
-
freeCouponClaimMode?: "DIRECT" | "REDIRECT" | undefined;
|
|
2529
|
-
itemActions?: ({
|
|
2530
|
-
label: string;
|
|
2531
|
-
kind: "send";
|
|
2532
|
-
value?: string | undefined;
|
|
2533
|
-
visibleValue?: string | undefined;
|
|
2534
|
-
} | {
|
|
2535
|
-
label: string;
|
|
2536
|
-
kind: "link";
|
|
2537
|
-
url: string;
|
|
2538
|
-
})[] | undefined;
|
|
2539
2524
|
benefitText?: string | undefined;
|
|
2540
2525
|
thresholdText?: string | undefined;
|
|
2541
2526
|
priceText?: string | undefined;
|
|
2542
2527
|
originalPriceText?: string | undefined;
|
|
2543
2528
|
discountLabel?: string | undefined;
|
|
2544
2529
|
claimActionLabel?: string | undefined;
|
|
2530
|
+
purchaseUrl?: string | undefined;
|
|
2531
|
+
freeCouponClaimMode?: "DIRECT" | "REDIRECT" | undefined;
|
|
2545
2532
|
stockText?: string | undefined;
|
|
2546
2533
|
usageNoticeText?: string | undefined;
|
|
2547
|
-
guaranteeText?: string | undefined;
|
|
2548
2534
|
usageSceneText?: string | undefined;
|
|
2535
|
+
usageTimeText?: string | undefined;
|
|
2549
2536
|
claimTimeText?: string | undefined;
|
|
2550
|
-
|
|
2537
|
+
usageRuleText?: string | undefined;
|
|
2538
|
+
guaranteeText?: string | undefined;
|
|
2551
2539
|
validityText?: string | undefined;
|
|
2540
|
+
imageUrl?: string | undefined;
|
|
2541
|
+
availabilityStatus?: "AVAILABLE" | "UNKNOWN" | "UNAVAILABLE" | "REQUIRES_ACTION" | undefined;
|
|
2542
|
+
itemActions?: ({
|
|
2543
|
+
kind: "send";
|
|
2544
|
+
label: string;
|
|
2545
|
+
value?: string | undefined;
|
|
2546
|
+
visibleValue?: string | undefined;
|
|
2547
|
+
} | {
|
|
2548
|
+
url: string;
|
|
2549
|
+
kind: "link";
|
|
2550
|
+
label: string;
|
|
2551
|
+
})[] | undefined;
|
|
2552
2552
|
}[] | undefined;
|
|
2553
2553
|
}>>;
|
|
2554
2554
|
readonly 'promotion-deal-recall': _tbox_cn_app_contracts.CardMeta<z.ZodObject<{
|
|
@@ -2566,42 +2566,42 @@ declare const serverModule: {
|
|
|
2566
2566
|
id: string;
|
|
2567
2567
|
title: string;
|
|
2568
2568
|
kind: "item" | "shop";
|
|
2569
|
-
price?: string | undefined;
|
|
2570
|
-
url?: string | undefined;
|
|
2571
2569
|
subtitle?: string | undefined;
|
|
2570
|
+
url?: string | undefined;
|
|
2572
2571
|
imageUrl?: string | undefined;
|
|
2572
|
+
price?: string | undefined;
|
|
2573
2573
|
}, {
|
|
2574
2574
|
id: string;
|
|
2575
2575
|
title: string;
|
|
2576
2576
|
kind: "item" | "shop";
|
|
2577
|
-
price?: string | undefined;
|
|
2578
|
-
url?: string | undefined;
|
|
2579
2577
|
subtitle?: string | undefined;
|
|
2578
|
+
url?: string | undefined;
|
|
2580
2579
|
imageUrl?: string | undefined;
|
|
2580
|
+
price?: string | undefined;
|
|
2581
2581
|
}>, "many">;
|
|
2582
2582
|
}, "strip", z.ZodTypeAny, {
|
|
2583
|
-
title: string;
|
|
2584
2583
|
items: {
|
|
2585
2584
|
id: string;
|
|
2586
2585
|
title: string;
|
|
2587
2586
|
kind: "item" | "shop";
|
|
2588
|
-
price?: string | undefined;
|
|
2589
|
-
url?: string | undefined;
|
|
2590
2587
|
subtitle?: string | undefined;
|
|
2588
|
+
url?: string | undefined;
|
|
2591
2589
|
imageUrl?: string | undefined;
|
|
2590
|
+
price?: string | undefined;
|
|
2592
2591
|
}[];
|
|
2592
|
+
title: string;
|
|
2593
2593
|
partial?: boolean | undefined;
|
|
2594
2594
|
}, {
|
|
2595
|
-
title: string;
|
|
2596
2595
|
items: {
|
|
2597
2596
|
id: string;
|
|
2598
2597
|
title: string;
|
|
2599
2598
|
kind: "item" | "shop";
|
|
2600
|
-
price?: string | undefined;
|
|
2601
|
-
url?: string | undefined;
|
|
2602
2599
|
subtitle?: string | undefined;
|
|
2600
|
+
url?: string | undefined;
|
|
2603
2601
|
imageUrl?: string | undefined;
|
|
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;
|