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