@tbox.cn/app-module-promotion 1.0.0-alpha.8 → 1.0.0-alpha.9
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/README.md +4 -0
- package/dist/{chunk-ONDEOXMY.js → chunk-5GWOZC6X.js} +17 -5
- package/dist/index.js +1 -1
- package/dist/server/index.d.ts +496 -496
- package/dist/server/index.js +1 -1
- package/package.json +5 -5
- package/skills/promotion/SKILL.md +5 -15
- package/src/server/handler.ts +10 -3
- package/src/server/index.ts +15 -2
- package/tbox.module.json +0 -5
- package/tests/activity-visibility.test.ts +54 -0
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,126 +118,126 @@ declare const promotionCards: {
|
|
|
118
118
|
label: zod.ZodString;
|
|
119
119
|
url: zod.ZodString;
|
|
120
120
|
}, "strip", zod.ZodTypeAny, {
|
|
121
|
-
kind: "link";
|
|
122
121
|
label: string;
|
|
122
|
+
kind: "link";
|
|
123
123
|
url: string;
|
|
124
124
|
}, {
|
|
125
|
-
kind: "link";
|
|
126
125
|
label: string;
|
|
126
|
+
kind: "link";
|
|
127
127
|
url: string;
|
|
128
128
|
}>]>, "many">>;
|
|
129
129
|
tags: zod.ZodArray<zod.ZodString, "many">;
|
|
130
130
|
}, "strip", zod.ZodTypeAny, {
|
|
131
|
-
offerRef: string;
|
|
132
131
|
title: string;
|
|
132
|
+
tags: string[];
|
|
133
|
+
offerRef: string;
|
|
133
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;
|
|
147
160
|
guaranteeText?: string | undefined;
|
|
148
161
|
usageSceneText?: string | undefined;
|
|
149
|
-
usageTimeText?: string | undefined;
|
|
150
162
|
claimTimeText?: string | undefined;
|
|
151
|
-
|
|
152
|
-
availabilityStatus?: "AVAILABLE" | "UNAVAILABLE" | "REQUIRES_ACTION" | "UNKNOWN" | undefined;
|
|
163
|
+
availabilityStatus?: "UNKNOWN" | "AVAILABLE" | "UNAVAILABLE" | "REQUIRES_ACTION" | undefined;
|
|
153
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;
|
|
154
172
|
imageUrl?: string | undefined;
|
|
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
|
-
kind: "link";
|
|
162
183
|
label: string;
|
|
184
|
+
kind: "link";
|
|
163
185
|
url: string;
|
|
164
186
|
})[] | undefined;
|
|
165
|
-
}, {
|
|
166
|
-
offerRef: string;
|
|
167
|
-
title: string;
|
|
168
|
-
offerType: "COUPON" | "BUNDLE" | "PROMOTION" | "ACTIVITY" | "GROUPON";
|
|
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;
|
|
182
195
|
guaranteeText?: string | undefined;
|
|
183
196
|
usageSceneText?: string | undefined;
|
|
184
|
-
usageTimeText?: string | undefined;
|
|
185
197
|
claimTimeText?: string | undefined;
|
|
186
|
-
|
|
187
|
-
availabilityStatus?: "AVAILABLE" | "UNAVAILABLE" | "REQUIRES_ACTION" | "UNKNOWN" | undefined;
|
|
198
|
+
availabilityStatus?: "UNKNOWN" | "AVAILABLE" | "UNAVAILABLE" | "REQUIRES_ACTION" | undefined;
|
|
188
199
|
validityText?: string | undefined;
|
|
189
|
-
imageUrl?: string | undefined;
|
|
190
|
-
itemActions?: ({
|
|
191
|
-
kind: "send";
|
|
192
|
-
label: string;
|
|
193
|
-
value?: string | undefined;
|
|
194
|
-
visibleValue?: string | undefined;
|
|
195
|
-
} | {
|
|
196
|
-
kind: "link";
|
|
197
|
-
label: string;
|
|
198
|
-
url: 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
|
-
offerRef: string;
|
|
206
205
|
title: string;
|
|
206
|
+
tags: string[];
|
|
207
|
+
offerRef: string;
|
|
207
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;
|
|
221
234
|
guaranteeText?: string | undefined;
|
|
222
235
|
usageSceneText?: string | undefined;
|
|
223
|
-
usageTimeText?: string | undefined;
|
|
224
236
|
claimTimeText?: string | undefined;
|
|
225
|
-
|
|
226
|
-
availabilityStatus?: "AVAILABLE" | "UNAVAILABLE" | "REQUIRES_ACTION" | "UNKNOWN" | undefined;
|
|
237
|
+
availabilityStatus?: "UNKNOWN" | "AVAILABLE" | "UNAVAILABLE" | "REQUIRES_ACTION" | undefined;
|
|
227
238
|
validityText?: string | undefined;
|
|
228
|
-
imageUrl?: string | undefined;
|
|
229
|
-
itemActions?: ({
|
|
230
|
-
kind: "send";
|
|
231
|
-
label: string;
|
|
232
|
-
value?: string | undefined;
|
|
233
|
-
visibleValue?: string | undefined;
|
|
234
|
-
} | {
|
|
235
|
-
kind: "link";
|
|
236
|
-
label: string;
|
|
237
|
-
url: string;
|
|
238
|
-
})[] | undefined;
|
|
239
239
|
}[];
|
|
240
|
-
mode: "
|
|
240
|
+
mode: "search" | "claimable" | "recommend";
|
|
241
241
|
presentation?: "coupon" | "promotion" | "recommendation" | "offer" | undefined;
|
|
242
242
|
summary?: string | undefined;
|
|
243
243
|
noResultsReason?: string | undefined;
|
|
@@ -245,42 +245,42 @@ declare const promotionCards: {
|
|
|
245
245
|
nextCursor?: string | undefined;
|
|
246
246
|
}, {
|
|
247
247
|
items: {
|
|
248
|
-
offerRef: string;
|
|
249
248
|
title: string;
|
|
249
|
+
tags: string[];
|
|
250
|
+
offerRef: string;
|
|
250
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;
|
|
264
277
|
guaranteeText?: string | undefined;
|
|
265
278
|
usageSceneText?: string | undefined;
|
|
266
|
-
usageTimeText?: string | undefined;
|
|
267
279
|
claimTimeText?: string | undefined;
|
|
268
|
-
|
|
269
|
-
availabilityStatus?: "AVAILABLE" | "UNAVAILABLE" | "REQUIRES_ACTION" | "UNKNOWN" | undefined;
|
|
280
|
+
availabilityStatus?: "UNKNOWN" | "AVAILABLE" | "UNAVAILABLE" | "REQUIRES_ACTION" | undefined;
|
|
270
281
|
validityText?: string | undefined;
|
|
271
|
-
imageUrl?: string | undefined;
|
|
272
|
-
itemActions?: ({
|
|
273
|
-
kind: "send";
|
|
274
|
-
label: string;
|
|
275
|
-
value?: string | undefined;
|
|
276
|
-
visibleValue?: string | undefined;
|
|
277
|
-
} | {
|
|
278
|
-
kind: "link";
|
|
279
|
-
label: string;
|
|
280
|
-
url: string;
|
|
281
|
-
})[] | undefined;
|
|
282
282
|
}[];
|
|
283
|
-
mode: "
|
|
283
|
+
mode: "search" | "claimable" | "recommend";
|
|
284
284
|
presentation?: "coupon" | "promotion" | "recommendation" | "offer" | undefined;
|
|
285
285
|
summary?: string | undefined;
|
|
286
286
|
noResultsReason?: string | undefined;
|
|
@@ -357,36 +357,36 @@ declare const promotionCards: {
|
|
|
357
357
|
unavailableReason: zod.ZodOptional<zod.ZodString>;
|
|
358
358
|
caveats: zod.ZodArray<zod.ZodString, "many">;
|
|
359
359
|
}, "strip", zod.ZodTypeAny, {
|
|
360
|
-
offerRef: string;
|
|
361
360
|
title: string;
|
|
361
|
+
offerRef: string;
|
|
362
|
+
caveats: string[];
|
|
362
363
|
offerType: "COUPON" | "BUNDLE" | "PROMOTION" | "ACTIVITY" | "GROUPON";
|
|
363
364
|
claimable: boolean;
|
|
364
|
-
caveats: string[];
|
|
365
365
|
rules: string[];
|
|
366
|
+
description?: string | undefined;
|
|
367
|
+
notice?: string | undefined;
|
|
368
|
+
steps?: {
|
|
369
|
+
title: string;
|
|
370
|
+
description?: string | undefined;
|
|
371
|
+
}[] | undefined;
|
|
366
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;
|
|
367
378
|
benefitText?: string | undefined;
|
|
368
379
|
thresholdText?: string | undefined;
|
|
369
380
|
priceText?: string | undefined;
|
|
370
381
|
originalPriceText?: string | undefined;
|
|
371
382
|
discountLabel?: string | undefined;
|
|
372
383
|
claimActionLabel?: string | undefined;
|
|
373
|
-
purchaseUrl?: string | undefined;
|
|
374
384
|
stockText?: string | undefined;
|
|
375
385
|
usageNoticeText?: string | undefined;
|
|
376
386
|
guaranteeText?: string | undefined;
|
|
377
387
|
usageSceneText?: string | undefined;
|
|
378
|
-
usageTimeText?: string | undefined;
|
|
379
388
|
claimTimeText?: string | undefined;
|
|
380
|
-
usageRuleText?: string | undefined;
|
|
381
389
|
validityText?: string | undefined;
|
|
382
|
-
imageUrl?: string | undefined;
|
|
383
|
-
description?: string | undefined;
|
|
384
|
-
notice?: string | undefined;
|
|
385
|
-
steps?: {
|
|
386
|
-
title: string;
|
|
387
|
-
description?: string | undefined;
|
|
388
|
-
}[] | undefined;
|
|
389
|
-
presentation?: "package" | "coupon" | "promotion" | "offer" | "promotion-guide" | undefined;
|
|
390
390
|
participationMode?: "UNKNOWN" | "AUTOMATIC_DISCOUNT" | "CLAIM_THEN_PURCHASE" | "REGISTER_THEN_ATTEND" | "GROUP_PURCHASE" | undefined;
|
|
391
391
|
requirements?: string[] | undefined;
|
|
392
392
|
stores?: {
|
|
@@ -402,36 +402,36 @@ declare const promotionCards: {
|
|
|
402
402
|
}[] | undefined;
|
|
403
403
|
unavailableReason?: string | undefined;
|
|
404
404
|
}, {
|
|
405
|
-
offerRef: string;
|
|
406
405
|
title: string;
|
|
406
|
+
offerRef: string;
|
|
407
|
+
caveats: string[];
|
|
407
408
|
offerType: "COUPON" | "BUNDLE" | "PROMOTION" | "ACTIVITY" | "GROUPON";
|
|
408
409
|
claimable: boolean;
|
|
409
|
-
caveats: string[];
|
|
410
410
|
rules: string[];
|
|
411
|
+
description?: string | undefined;
|
|
412
|
+
notice?: string | undefined;
|
|
413
|
+
steps?: {
|
|
414
|
+
title: string;
|
|
415
|
+
description?: string | undefined;
|
|
416
|
+
}[] | undefined;
|
|
411
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;
|
|
412
423
|
benefitText?: string | undefined;
|
|
413
424
|
thresholdText?: string | undefined;
|
|
414
425
|
priceText?: string | undefined;
|
|
415
426
|
originalPriceText?: string | undefined;
|
|
416
427
|
discountLabel?: string | undefined;
|
|
417
428
|
claimActionLabel?: string | undefined;
|
|
418
|
-
purchaseUrl?: string | undefined;
|
|
419
429
|
stockText?: string | undefined;
|
|
420
430
|
usageNoticeText?: string | undefined;
|
|
421
431
|
guaranteeText?: string | undefined;
|
|
422
432
|
usageSceneText?: string | undefined;
|
|
423
|
-
usageTimeText?: string | undefined;
|
|
424
433
|
claimTimeText?: string | undefined;
|
|
425
|
-
usageRuleText?: string | undefined;
|
|
426
434
|
validityText?: string | undefined;
|
|
427
|
-
imageUrl?: string | undefined;
|
|
428
|
-
description?: string | undefined;
|
|
429
|
-
notice?: string | undefined;
|
|
430
|
-
steps?: {
|
|
431
|
-
title: string;
|
|
432
|
-
description?: string | undefined;
|
|
433
|
-
}[] | undefined;
|
|
434
|
-
presentation?: "package" | "coupon" | "promotion" | "offer" | "promotion-guide" | undefined;
|
|
435
435
|
participationMode?: "UNKNOWN" | "AUTOMATIC_DISCOUNT" | "CLAIM_THEN_PURCHASE" | "REGISTER_THEN_ATTEND" | "GROUP_PURCHASE" | undefined;
|
|
436
436
|
requirements?: string[] | undefined;
|
|
437
437
|
stores?: {
|
|
@@ -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,12 +490,12 @@ declare const promotionCards: {
|
|
|
490
490
|
label: zod.ZodString;
|
|
491
491
|
url: zod.ZodString;
|
|
492
492
|
}, "strip", zod.ZodTypeAny, {
|
|
493
|
-
kind: "link";
|
|
494
493
|
label: string;
|
|
494
|
+
kind: "link";
|
|
495
495
|
url: string;
|
|
496
496
|
}, {
|
|
497
|
-
kind: "link";
|
|
498
497
|
label: string;
|
|
498
|
+
kind: "link";
|
|
499
499
|
url: string;
|
|
500
500
|
}>]>, "many">>;
|
|
501
501
|
stores: zod.ZodOptional<zod.ZodArray<zod.ZodObject<{
|
|
@@ -532,25 +532,25 @@ declare const promotionCards: {
|
|
|
532
532
|
entitlementRef: string;
|
|
533
533
|
entitlementType: "COUPON" | "BUNDLE" | "PROMOTION" | "ACTIVITY" | "GROUPON";
|
|
534
534
|
code?: string | undefined;
|
|
535
|
-
benefitText?: string | undefined;
|
|
536
|
-
thresholdText?: string | undefined;
|
|
537
|
-
guaranteeText?: string | undefined;
|
|
538
|
-
usageSceneText?: string | undefined;
|
|
539
|
-
usageTimeText?: string | undefined;
|
|
540
|
-
claimTimeText?: string | undefined;
|
|
541
|
-
usageRuleText?: string | undefined;
|
|
542
|
-
validityText?: string | undefined;
|
|
543
535
|
imageUrl?: string | undefined;
|
|
536
|
+
usageRuleText?: string | undefined;
|
|
537
|
+
usageTimeText?: string | undefined;
|
|
544
538
|
itemActions?: ({
|
|
545
|
-
kind: "send";
|
|
546
539
|
label: string;
|
|
540
|
+
kind: "send";
|
|
547
541
|
value?: string | undefined;
|
|
548
542
|
visibleValue?: string | undefined;
|
|
549
543
|
} | {
|
|
550
|
-
kind: "link";
|
|
551
544
|
label: string;
|
|
545
|
+
kind: "link";
|
|
552
546
|
url: string;
|
|
553
547
|
})[] | undefined;
|
|
548
|
+
benefitText?: string | undefined;
|
|
549
|
+
thresholdText?: string | undefined;
|
|
550
|
+
guaranteeText?: string | undefined;
|
|
551
|
+
usageSceneText?: string | undefined;
|
|
552
|
+
claimTimeText?: string | undefined;
|
|
553
|
+
validityText?: string | undefined;
|
|
554
554
|
stores?: {
|
|
555
555
|
storeId: string;
|
|
556
556
|
storeName: string;
|
|
@@ -571,25 +571,25 @@ declare const promotionCards: {
|
|
|
571
571
|
entitlementRef: string;
|
|
572
572
|
entitlementType: "COUPON" | "BUNDLE" | "PROMOTION" | "ACTIVITY" | "GROUPON";
|
|
573
573
|
code?: string | undefined;
|
|
574
|
-
benefitText?: string | undefined;
|
|
575
|
-
thresholdText?: string | undefined;
|
|
576
|
-
guaranteeText?: string | undefined;
|
|
577
|
-
usageSceneText?: string | undefined;
|
|
578
|
-
usageTimeText?: string | undefined;
|
|
579
|
-
claimTimeText?: string | undefined;
|
|
580
|
-
usageRuleText?: string | undefined;
|
|
581
|
-
validityText?: string | undefined;
|
|
582
574
|
imageUrl?: string | undefined;
|
|
575
|
+
usageRuleText?: string | undefined;
|
|
576
|
+
usageTimeText?: string | undefined;
|
|
583
577
|
itemActions?: ({
|
|
584
|
-
kind: "send";
|
|
585
578
|
label: string;
|
|
579
|
+
kind: "send";
|
|
586
580
|
value?: string | undefined;
|
|
587
581
|
visibleValue?: string | undefined;
|
|
588
582
|
} | {
|
|
589
|
-
kind: "link";
|
|
590
583
|
label: string;
|
|
584
|
+
kind: "link";
|
|
591
585
|
url: string;
|
|
592
586
|
})[] | undefined;
|
|
587
|
+
benefitText?: string | undefined;
|
|
588
|
+
thresholdText?: string | undefined;
|
|
589
|
+
guaranteeText?: string | undefined;
|
|
590
|
+
usageSceneText?: string | undefined;
|
|
591
|
+
claimTimeText?: string | undefined;
|
|
592
|
+
validityText?: string | undefined;
|
|
593
593
|
stores?: {
|
|
594
594
|
storeId: string;
|
|
595
595
|
storeName: string;
|
|
@@ -614,25 +614,25 @@ declare const promotionCards: {
|
|
|
614
614
|
entitlementRef: string;
|
|
615
615
|
entitlementType: "COUPON" | "BUNDLE" | "PROMOTION" | "ACTIVITY" | "GROUPON";
|
|
616
616
|
code?: string | undefined;
|
|
617
|
-
benefitText?: string | undefined;
|
|
618
|
-
thresholdText?: string | undefined;
|
|
619
|
-
guaranteeText?: string | undefined;
|
|
620
|
-
usageSceneText?: string | undefined;
|
|
621
|
-
usageTimeText?: string | undefined;
|
|
622
|
-
claimTimeText?: string | undefined;
|
|
623
|
-
usageRuleText?: string | undefined;
|
|
624
|
-
validityText?: string | undefined;
|
|
625
617
|
imageUrl?: string | undefined;
|
|
618
|
+
usageRuleText?: string | undefined;
|
|
619
|
+
usageTimeText?: string | undefined;
|
|
626
620
|
itemActions?: ({
|
|
627
|
-
kind: "send";
|
|
628
621
|
label: string;
|
|
622
|
+
kind: "send";
|
|
629
623
|
value?: string | undefined;
|
|
630
624
|
visibleValue?: string | undefined;
|
|
631
625
|
} | {
|
|
632
|
-
kind: "link";
|
|
633
626
|
label: string;
|
|
627
|
+
kind: "link";
|
|
634
628
|
url: string;
|
|
635
629
|
})[] | undefined;
|
|
630
|
+
benefitText?: string | undefined;
|
|
631
|
+
thresholdText?: string | undefined;
|
|
632
|
+
guaranteeText?: string | undefined;
|
|
633
|
+
usageSceneText?: string | undefined;
|
|
634
|
+
claimTimeText?: string | undefined;
|
|
635
|
+
validityText?: string | undefined;
|
|
636
636
|
stores?: {
|
|
637
637
|
storeId: string;
|
|
638
638
|
storeName: string;
|
|
@@ -660,25 +660,25 @@ declare const promotionCards: {
|
|
|
660
660
|
entitlementRef: string;
|
|
661
661
|
entitlementType: "COUPON" | "BUNDLE" | "PROMOTION" | "ACTIVITY" | "GROUPON";
|
|
662
662
|
code?: string | undefined;
|
|
663
|
-
benefitText?: string | undefined;
|
|
664
|
-
thresholdText?: string | undefined;
|
|
665
|
-
guaranteeText?: string | undefined;
|
|
666
|
-
usageSceneText?: string | undefined;
|
|
667
|
-
usageTimeText?: string | undefined;
|
|
668
|
-
claimTimeText?: string | undefined;
|
|
669
|
-
usageRuleText?: string | undefined;
|
|
670
|
-
validityText?: string | undefined;
|
|
671
663
|
imageUrl?: string | undefined;
|
|
664
|
+
usageRuleText?: string | undefined;
|
|
665
|
+
usageTimeText?: string | undefined;
|
|
672
666
|
itemActions?: ({
|
|
673
|
-
kind: "send";
|
|
674
667
|
label: string;
|
|
668
|
+
kind: "send";
|
|
675
669
|
value?: string | undefined;
|
|
676
670
|
visibleValue?: string | undefined;
|
|
677
671
|
} | {
|
|
678
|
-
kind: "link";
|
|
679
672
|
label: string;
|
|
673
|
+
kind: "link";
|
|
680
674
|
url: string;
|
|
681
675
|
})[] | undefined;
|
|
676
|
+
benefitText?: string | undefined;
|
|
677
|
+
thresholdText?: string | undefined;
|
|
678
|
+
guaranteeText?: string | undefined;
|
|
679
|
+
usageSceneText?: string | undefined;
|
|
680
|
+
claimTimeText?: string | undefined;
|
|
681
|
+
validityText?: string | undefined;
|
|
682
682
|
stores?: {
|
|
683
683
|
storeId: string;
|
|
684
684
|
storeName: string;
|
|
@@ -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,12 +733,12 @@ declare const promotionCards: {
|
|
|
733
733
|
label: zod.ZodString;
|
|
734
734
|
url: zod.ZodString;
|
|
735
735
|
}, "strip", zod.ZodTypeAny, {
|
|
736
|
-
kind: "link";
|
|
737
736
|
label: string;
|
|
737
|
+
kind: "link";
|
|
738
738
|
url: string;
|
|
739
739
|
}, {
|
|
740
|
-
kind: "link";
|
|
741
740
|
label: string;
|
|
741
|
+
kind: "link";
|
|
742
742
|
url: string;
|
|
743
743
|
}>]>, "many">>;
|
|
744
744
|
}, "strip", zod.ZodTypeAny, {
|
|
@@ -746,18 +746,18 @@ declare const promotionCards: {
|
|
|
746
746
|
activityRef: string;
|
|
747
747
|
registrationRequired: boolean;
|
|
748
748
|
subtitle?: string | undefined;
|
|
749
|
-
availabilityStatus?: "AVAILABLE" | "UNKNOWN" | "FULL" | "ENDED" | "UPCOMING" | undefined;
|
|
750
749
|
itemActions?: ({
|
|
751
|
-
kind: "send";
|
|
752
750
|
label: string;
|
|
751
|
+
kind: "send";
|
|
753
752
|
value?: string | undefined;
|
|
754
753
|
visibleValue?: string | undefined;
|
|
755
754
|
} | {
|
|
756
|
-
kind: "link";
|
|
757
755
|
label: string;
|
|
756
|
+
kind: "link";
|
|
758
757
|
url: string;
|
|
759
758
|
})[] | undefined;
|
|
760
759
|
coverUrl?: string | undefined;
|
|
760
|
+
availabilityStatus?: "UNKNOWN" | "AVAILABLE" | "FULL" | "ENDED" | "UPCOMING" | undefined;
|
|
761
761
|
jumpOnly?: boolean | undefined;
|
|
762
762
|
jumpLabel?: string | undefined;
|
|
763
763
|
remainingQuota?: number | undefined;
|
|
@@ -768,18 +768,18 @@ declare const promotionCards: {
|
|
|
768
768
|
activityRef: string;
|
|
769
769
|
registrationRequired: boolean;
|
|
770
770
|
subtitle?: string | undefined;
|
|
771
|
-
availabilityStatus?: "AVAILABLE" | "UNKNOWN" | "FULL" | "ENDED" | "UPCOMING" | undefined;
|
|
772
771
|
itemActions?: ({
|
|
773
|
-
kind: "send";
|
|
774
772
|
label: string;
|
|
773
|
+
kind: "send";
|
|
775
774
|
value?: string | undefined;
|
|
776
775
|
visibleValue?: string | undefined;
|
|
777
776
|
} | {
|
|
778
|
-
kind: "link";
|
|
779
777
|
label: string;
|
|
778
|
+
kind: "link";
|
|
780
779
|
url: string;
|
|
781
780
|
})[] | undefined;
|
|
782
781
|
coverUrl?: string | undefined;
|
|
782
|
+
availabilityStatus?: "UNKNOWN" | "AVAILABLE" | "FULL" | "ENDED" | "UPCOMING" | undefined;
|
|
783
783
|
jumpOnly?: boolean | undefined;
|
|
784
784
|
jumpLabel?: string | undefined;
|
|
785
785
|
remainingQuota?: number | undefined;
|
|
@@ -794,18 +794,18 @@ declare const promotionCards: {
|
|
|
794
794
|
activityRef: string;
|
|
795
795
|
registrationRequired: boolean;
|
|
796
796
|
subtitle?: string | undefined;
|
|
797
|
-
availabilityStatus?: "AVAILABLE" | "UNKNOWN" | "FULL" | "ENDED" | "UPCOMING" | undefined;
|
|
798
797
|
itemActions?: ({
|
|
799
|
-
kind: "send";
|
|
800
798
|
label: string;
|
|
799
|
+
kind: "send";
|
|
801
800
|
value?: string | undefined;
|
|
802
801
|
visibleValue?: string | undefined;
|
|
803
802
|
} | {
|
|
804
|
-
kind: "link";
|
|
805
803
|
label: string;
|
|
804
|
+
kind: "link";
|
|
806
805
|
url: string;
|
|
807
806
|
})[] | undefined;
|
|
808
807
|
coverUrl?: string | undefined;
|
|
808
|
+
availabilityStatus?: "UNKNOWN" | "AVAILABLE" | "FULL" | "ENDED" | "UPCOMING" | undefined;
|
|
809
809
|
jumpOnly?: boolean | undefined;
|
|
810
810
|
jumpLabel?: string | undefined;
|
|
811
811
|
remainingQuota?: number | undefined;
|
|
@@ -820,18 +820,18 @@ declare const promotionCards: {
|
|
|
820
820
|
activityRef: string;
|
|
821
821
|
registrationRequired: boolean;
|
|
822
822
|
subtitle?: string | undefined;
|
|
823
|
-
availabilityStatus?: "AVAILABLE" | "UNKNOWN" | "FULL" | "ENDED" | "UPCOMING" | undefined;
|
|
824
823
|
itemActions?: ({
|
|
825
|
-
kind: "send";
|
|
826
824
|
label: string;
|
|
825
|
+
kind: "send";
|
|
827
826
|
value?: string | undefined;
|
|
828
827
|
visibleValue?: string | undefined;
|
|
829
828
|
} | {
|
|
830
|
-
kind: "link";
|
|
831
829
|
label: string;
|
|
830
|
+
kind: "link";
|
|
832
831
|
url: string;
|
|
833
832
|
})[] | undefined;
|
|
834
833
|
coverUrl?: string | undefined;
|
|
834
|
+
availabilityStatus?: "UNKNOWN" | "AVAILABLE" | "FULL" | "ENDED" | "UPCOMING" | undefined;
|
|
835
835
|
jumpOnly?: boolean | undefined;
|
|
836
836
|
jumpLabel?: string | undefined;
|
|
837
837
|
remainingQuota?: number | undefined;
|
|
@@ -909,9 +909,9 @@ declare const promotionCards: {
|
|
|
909
909
|
}[];
|
|
910
910
|
guideSteps: string[];
|
|
911
911
|
conditions: string[];
|
|
912
|
-
subtitle?: string | undefined;
|
|
913
912
|
description?: string | undefined;
|
|
914
913
|
notice?: string | undefined;
|
|
914
|
+
subtitle?: string | undefined;
|
|
915
915
|
presentation?: "detail" | "schedule" | "guide" | undefined;
|
|
916
916
|
location?: string | undefined;
|
|
917
917
|
coverUrl?: string | undefined;
|
|
@@ -940,9 +940,9 @@ declare const promotionCards: {
|
|
|
940
940
|
}[];
|
|
941
941
|
guideSteps: string[];
|
|
942
942
|
conditions: string[];
|
|
943
|
-
subtitle?: string | undefined;
|
|
944
943
|
description?: string | undefined;
|
|
945
944
|
notice?: string | undefined;
|
|
945
|
+
subtitle?: string | undefined;
|
|
946
946
|
presentation?: "detail" | "schedule" | "guide" | undefined;
|
|
947
947
|
location?: string | undefined;
|
|
948
948
|
coverUrl?: string | undefined;
|
|
@@ -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,25 +982,25 @@ declare const promotionCards: {
|
|
|
982
982
|
label: zod.ZodString;
|
|
983
983
|
url: zod.ZodString;
|
|
984
984
|
}, "strip", zod.ZodTypeAny, {
|
|
985
|
-
kind: "link";
|
|
986
985
|
label: string;
|
|
986
|
+
kind: "link";
|
|
987
987
|
url: string;
|
|
988
988
|
}, {
|
|
989
|
-
kind: "link";
|
|
990
989
|
label: string;
|
|
990
|
+
kind: "link";
|
|
991
991
|
url: string;
|
|
992
992
|
}>]>, "many">>;
|
|
993
993
|
}, "strip", zod.ZodTypeAny, {
|
|
994
994
|
name: string;
|
|
995
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
|
-
kind: "link";
|
|
1003
1002
|
label: string;
|
|
1003
|
+
kind: "link";
|
|
1004
1004
|
url: string;
|
|
1005
1005
|
})[] | undefined;
|
|
1006
1006
|
parentId?: string | undefined;
|
|
@@ -1008,13 +1008,13 @@ declare const promotionCards: {
|
|
|
1008
1008
|
name: string;
|
|
1009
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
|
-
kind: "link";
|
|
1017
1016
|
label: string;
|
|
1017
|
+
kind: "link";
|
|
1018
1018
|
url: string;
|
|
1019
1019
|
})[] | undefined;
|
|
1020
1020
|
parentId?: string | undefined;
|
|
@@ -1025,13 +1025,13 @@ declare const promotionCards: {
|
|
|
1025
1025
|
name: string;
|
|
1026
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
|
-
kind: "link";
|
|
1034
1033
|
label: string;
|
|
1034
|
+
kind: "link";
|
|
1035
1035
|
url: string;
|
|
1036
1036
|
})[] | undefined;
|
|
1037
1037
|
parentId?: string | undefined;
|
|
@@ -1042,13 +1042,13 @@ declare const promotionCards: {
|
|
|
1042
1042
|
name: string;
|
|
1043
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
|
-
kind: "link";
|
|
1051
1050
|
label: string;
|
|
1051
|
+
kind: "link";
|
|
1052
1052
|
url: string;
|
|
1053
1053
|
})[] | undefined;
|
|
1054
1054
|
parentId?: string | undefined;
|
|
@@ -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
|
-
kind: "link";
|
|
1109
1108
|
label: string;
|
|
1109
|
+
kind: "link";
|
|
1110
1110
|
url: string;
|
|
1111
1111
|
}, {
|
|
1112
|
-
kind: "link";
|
|
1113
1112
|
label: string;
|
|
1113
|
+
kind: "link";
|
|
1114
1114
|
url: string;
|
|
1115
1115
|
}>]>, "many">>;
|
|
1116
1116
|
tags: zod.ZodArray<zod.ZodString, "many">;
|
|
1117
1117
|
}, "strip", zod.ZodTypeAny, {
|
|
1118
|
-
offerRef: string;
|
|
1119
1118
|
title: string;
|
|
1119
|
+
tags: string[];
|
|
1120
|
+
offerRef: string;
|
|
1120
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;
|
|
1134
1147
|
guaranteeText?: string | undefined;
|
|
1135
1148
|
usageSceneText?: string | undefined;
|
|
1136
|
-
usageTimeText?: string | undefined;
|
|
1137
1149
|
claimTimeText?: string | undefined;
|
|
1138
|
-
|
|
1139
|
-
availabilityStatus?: "AVAILABLE" | "UNAVAILABLE" | "REQUIRES_ACTION" | "UNKNOWN" | undefined;
|
|
1150
|
+
availabilityStatus?: "UNKNOWN" | "AVAILABLE" | "UNAVAILABLE" | "REQUIRES_ACTION" | undefined;
|
|
1140
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;
|
|
1141
1159
|
imageUrl?: string | undefined;
|
|
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
|
-
kind: "link";
|
|
1149
1170
|
label: string;
|
|
1171
|
+
kind: "link";
|
|
1150
1172
|
url: string;
|
|
1151
1173
|
})[] | undefined;
|
|
1152
|
-
}, {
|
|
1153
|
-
offerRef: string;
|
|
1154
|
-
title: string;
|
|
1155
|
-
offerType: "COUPON" | "BUNDLE" | "PROMOTION" | "ACTIVITY" | "GROUPON";
|
|
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;
|
|
1169
1182
|
guaranteeText?: string | undefined;
|
|
1170
1183
|
usageSceneText?: string | undefined;
|
|
1171
|
-
usageTimeText?: string | undefined;
|
|
1172
1184
|
claimTimeText?: string | undefined;
|
|
1173
|
-
|
|
1174
|
-
availabilityStatus?: "AVAILABLE" | "UNAVAILABLE" | "REQUIRES_ACTION" | "UNKNOWN" | undefined;
|
|
1185
|
+
availabilityStatus?: "UNKNOWN" | "AVAILABLE" | "UNAVAILABLE" | "REQUIRES_ACTION" | undefined;
|
|
1175
1186
|
validityText?: string | undefined;
|
|
1176
|
-
imageUrl?: string | undefined;
|
|
1177
|
-
itemActions?: ({
|
|
1178
|
-
kind: "send";
|
|
1179
|
-
label: string;
|
|
1180
|
-
value?: string | undefined;
|
|
1181
|
-
visibleValue?: string | undefined;
|
|
1182
|
-
} | {
|
|
1183
|
-
kind: "link";
|
|
1184
|
-
label: string;
|
|
1185
|
-
url: string;
|
|
1186
|
-
})[] | undefined;
|
|
1187
1187
|
}>, "many">>;
|
|
1188
1188
|
message: zod.ZodOptional<zod.ZodString>;
|
|
1189
1189
|
}, "strip", zod.ZodTypeAny, {
|
|
1190
1190
|
authoritative: boolean;
|
|
1191
1191
|
originalAmountCents: number;
|
|
1192
1192
|
appliedOfferRefs: string[];
|
|
1193
|
+
message?: string | undefined;
|
|
1193
1194
|
savingsCents?: number | undefined;
|
|
1194
1195
|
expectedPayCents?: number | undefined;
|
|
1195
|
-
message?: string | undefined;
|
|
1196
1196
|
candidates?: {
|
|
1197
|
-
offerRef: string;
|
|
1198
1197
|
title: string;
|
|
1198
|
+
tags: string[];
|
|
1199
|
+
offerRef: string;
|
|
1199
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;
|
|
1213
1226
|
guaranteeText?: string | undefined;
|
|
1214
1227
|
usageSceneText?: string | undefined;
|
|
1215
|
-
usageTimeText?: string | undefined;
|
|
1216
1228
|
claimTimeText?: string | undefined;
|
|
1217
|
-
|
|
1218
|
-
availabilityStatus?: "AVAILABLE" | "UNAVAILABLE" | "REQUIRES_ACTION" | "UNKNOWN" | undefined;
|
|
1229
|
+
availabilityStatus?: "UNKNOWN" | "AVAILABLE" | "UNAVAILABLE" | "REQUIRES_ACTION" | undefined;
|
|
1219
1230
|
validityText?: string | undefined;
|
|
1220
|
-
imageUrl?: string | undefined;
|
|
1221
|
-
itemActions?: ({
|
|
1222
|
-
kind: "send";
|
|
1223
|
-
label: string;
|
|
1224
|
-
value?: string | undefined;
|
|
1225
|
-
visibleValue?: string | undefined;
|
|
1226
|
-
} | {
|
|
1227
|
-
kind: "link";
|
|
1228
|
-
label: string;
|
|
1229
|
-
url: string;
|
|
1230
|
-
})[] | undefined;
|
|
1231
1231
|
}[] | undefined;
|
|
1232
1232
|
}, {
|
|
1233
1233
|
authoritative: boolean;
|
|
1234
1234
|
originalAmountCents: number;
|
|
1235
1235
|
appliedOfferRefs: string[];
|
|
1236
|
+
message?: string | undefined;
|
|
1236
1237
|
savingsCents?: number | undefined;
|
|
1237
1238
|
expectedPayCents?: number | undefined;
|
|
1238
|
-
message?: string | undefined;
|
|
1239
1239
|
candidates?: {
|
|
1240
|
-
offerRef: string;
|
|
1241
1240
|
title: string;
|
|
1241
|
+
tags: string[];
|
|
1242
|
+
offerRef: string;
|
|
1242
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;
|
|
1256
1269
|
guaranteeText?: string | undefined;
|
|
1257
1270
|
usageSceneText?: string | undefined;
|
|
1258
|
-
usageTimeText?: string | undefined;
|
|
1259
1271
|
claimTimeText?: string | undefined;
|
|
1260
|
-
|
|
1261
|
-
availabilityStatus?: "AVAILABLE" | "UNAVAILABLE" | "REQUIRES_ACTION" | "UNKNOWN" | undefined;
|
|
1272
|
+
availabilityStatus?: "UNKNOWN" | "AVAILABLE" | "UNAVAILABLE" | "REQUIRES_ACTION" | undefined;
|
|
1262
1273
|
validityText?: string | undefined;
|
|
1263
|
-
imageUrl?: string | undefined;
|
|
1264
|
-
itemActions?: ({
|
|
1265
|
-
kind: "send";
|
|
1266
|
-
label: string;
|
|
1267
|
-
value?: string | undefined;
|
|
1268
|
-
visibleValue?: string | undefined;
|
|
1269
|
-
} | {
|
|
1270
|
-
kind: "link";
|
|
1271
|
-
label: string;
|
|
1272
|
-
url: 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,126 +1330,126 @@ declare const serverModule: {
|
|
|
1330
1330
|
label: zod.ZodString;
|
|
1331
1331
|
url: zod.ZodString;
|
|
1332
1332
|
}, "strip", zod.ZodTypeAny, {
|
|
1333
|
-
kind: "link";
|
|
1334
1333
|
label: string;
|
|
1334
|
+
kind: "link";
|
|
1335
1335
|
url: string;
|
|
1336
1336
|
}, {
|
|
1337
|
-
kind: "link";
|
|
1338
1337
|
label: string;
|
|
1338
|
+
kind: "link";
|
|
1339
1339
|
url: string;
|
|
1340
1340
|
}>]>, "many">>;
|
|
1341
1341
|
tags: zod.ZodArray<zod.ZodString, "many">;
|
|
1342
1342
|
}, "strip", zod.ZodTypeAny, {
|
|
1343
|
-
offerRef: string;
|
|
1344
1343
|
title: string;
|
|
1344
|
+
tags: string[];
|
|
1345
|
+
offerRef: string;
|
|
1345
1346
|
offerType: "COUPON" | "BUNDLE" | "PROMOTION" | "ACTIVITY" | "GROUPON";
|
|
1346
1347
|
claimable: boolean;
|
|
1347
|
-
tags: string[];
|
|
1348
1348
|
subtitle?: string | undefined;
|
|
1349
|
+
imageUrl?: string | undefined;
|
|
1350
|
+
usageRuleText?: string | undefined;
|
|
1351
|
+
usageTimeText?: string | undefined;
|
|
1352
|
+
purchaseUrl?: string | undefined;
|
|
1353
|
+
freeCouponClaimMode?: "DIRECT" | "REDIRECT" | undefined;
|
|
1354
|
+
itemActions?: ({
|
|
1355
|
+
label: string;
|
|
1356
|
+
kind: "send";
|
|
1357
|
+
value?: string | undefined;
|
|
1358
|
+
visibleValue?: string | undefined;
|
|
1359
|
+
} | {
|
|
1360
|
+
label: string;
|
|
1361
|
+
kind: "link";
|
|
1362
|
+
url: string;
|
|
1363
|
+
})[] | undefined;
|
|
1349
1364
|
benefitText?: string | undefined;
|
|
1350
1365
|
thresholdText?: string | undefined;
|
|
1351
1366
|
priceText?: string | undefined;
|
|
1352
1367
|
originalPriceText?: string | undefined;
|
|
1353
1368
|
discountLabel?: string | undefined;
|
|
1354
1369
|
claimActionLabel?: string | undefined;
|
|
1355
|
-
purchaseUrl?: string | undefined;
|
|
1356
|
-
freeCouponClaimMode?: "DIRECT" | "REDIRECT" | undefined;
|
|
1357
1370
|
stockText?: string | undefined;
|
|
1358
1371
|
usageNoticeText?: string | undefined;
|
|
1359
1372
|
guaranteeText?: string | undefined;
|
|
1360
1373
|
usageSceneText?: string | undefined;
|
|
1361
|
-
usageTimeText?: string | undefined;
|
|
1362
1374
|
claimTimeText?: string | undefined;
|
|
1363
|
-
|
|
1364
|
-
availabilityStatus?: "AVAILABLE" | "UNAVAILABLE" | "REQUIRES_ACTION" | "UNKNOWN" | undefined;
|
|
1375
|
+
availabilityStatus?: "UNKNOWN" | "AVAILABLE" | "UNAVAILABLE" | "REQUIRES_ACTION" | undefined;
|
|
1365
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;
|
|
1366
1384
|
imageUrl?: string | undefined;
|
|
1385
|
+
usageRuleText?: string | undefined;
|
|
1386
|
+
usageTimeText?: string | undefined;
|
|
1387
|
+
purchaseUrl?: string | undefined;
|
|
1388
|
+
freeCouponClaimMode?: "DIRECT" | "REDIRECT" | undefined;
|
|
1367
1389
|
itemActions?: ({
|
|
1368
|
-
kind: "send";
|
|
1369
1390
|
label: string;
|
|
1391
|
+
kind: "send";
|
|
1370
1392
|
value?: string | undefined;
|
|
1371
1393
|
visibleValue?: string | undefined;
|
|
1372
1394
|
} | {
|
|
1373
|
-
kind: "link";
|
|
1374
1395
|
label: string;
|
|
1396
|
+
kind: "link";
|
|
1375
1397
|
url: string;
|
|
1376
1398
|
})[] | undefined;
|
|
1377
|
-
}, {
|
|
1378
|
-
offerRef: string;
|
|
1379
|
-
title: string;
|
|
1380
|
-
offerType: "COUPON" | "BUNDLE" | "PROMOTION" | "ACTIVITY" | "GROUPON";
|
|
1381
|
-
claimable: boolean;
|
|
1382
|
-
tags: string[];
|
|
1383
|
-
subtitle?: string | undefined;
|
|
1384
1399
|
benefitText?: string | undefined;
|
|
1385
1400
|
thresholdText?: string | undefined;
|
|
1386
1401
|
priceText?: string | undefined;
|
|
1387
1402
|
originalPriceText?: string | undefined;
|
|
1388
1403
|
discountLabel?: string | undefined;
|
|
1389
1404
|
claimActionLabel?: string | undefined;
|
|
1390
|
-
purchaseUrl?: string | undefined;
|
|
1391
|
-
freeCouponClaimMode?: "DIRECT" | "REDIRECT" | undefined;
|
|
1392
1405
|
stockText?: string | undefined;
|
|
1393
1406
|
usageNoticeText?: string | undefined;
|
|
1394
1407
|
guaranteeText?: string | undefined;
|
|
1395
1408
|
usageSceneText?: string | undefined;
|
|
1396
|
-
usageTimeText?: string | undefined;
|
|
1397
1409
|
claimTimeText?: string | undefined;
|
|
1398
|
-
|
|
1399
|
-
availabilityStatus?: "AVAILABLE" | "UNAVAILABLE" | "REQUIRES_ACTION" | "UNKNOWN" | undefined;
|
|
1410
|
+
availabilityStatus?: "UNKNOWN" | "AVAILABLE" | "UNAVAILABLE" | "REQUIRES_ACTION" | undefined;
|
|
1400
1411
|
validityText?: string | undefined;
|
|
1401
|
-
imageUrl?: string | undefined;
|
|
1402
|
-
itemActions?: ({
|
|
1403
|
-
kind: "send";
|
|
1404
|
-
label: string;
|
|
1405
|
-
value?: string | undefined;
|
|
1406
|
-
visibleValue?: string | undefined;
|
|
1407
|
-
} | {
|
|
1408
|
-
kind: "link";
|
|
1409
|
-
label: string;
|
|
1410
|
-
url: string;
|
|
1411
|
-
})[] | 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
|
-
offerRef: string;
|
|
1418
1417
|
title: string;
|
|
1418
|
+
tags: string[];
|
|
1419
|
+
offerRef: string;
|
|
1419
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;
|
|
1433
1446
|
guaranteeText?: string | undefined;
|
|
1434
1447
|
usageSceneText?: string | undefined;
|
|
1435
|
-
usageTimeText?: string | undefined;
|
|
1436
1448
|
claimTimeText?: string | undefined;
|
|
1437
|
-
|
|
1438
|
-
availabilityStatus?: "AVAILABLE" | "UNAVAILABLE" | "REQUIRES_ACTION" | "UNKNOWN" | undefined;
|
|
1449
|
+
availabilityStatus?: "UNKNOWN" | "AVAILABLE" | "UNAVAILABLE" | "REQUIRES_ACTION" | undefined;
|
|
1439
1450
|
validityText?: string | undefined;
|
|
1440
|
-
imageUrl?: string | undefined;
|
|
1441
|
-
itemActions?: ({
|
|
1442
|
-
kind: "send";
|
|
1443
|
-
label: string;
|
|
1444
|
-
value?: string | undefined;
|
|
1445
|
-
visibleValue?: string | undefined;
|
|
1446
|
-
} | {
|
|
1447
|
-
kind: "link";
|
|
1448
|
-
label: string;
|
|
1449
|
-
url: string;
|
|
1450
|
-
})[] | undefined;
|
|
1451
1451
|
}[];
|
|
1452
|
-
mode: "
|
|
1452
|
+
mode: "search" | "claimable" | "recommend";
|
|
1453
1453
|
presentation?: "coupon" | "promotion" | "recommendation" | "offer" | undefined;
|
|
1454
1454
|
summary?: string | undefined;
|
|
1455
1455
|
noResultsReason?: string | undefined;
|
|
@@ -1457,42 +1457,42 @@ declare const serverModule: {
|
|
|
1457
1457
|
nextCursor?: string | undefined;
|
|
1458
1458
|
}, {
|
|
1459
1459
|
items: {
|
|
1460
|
-
offerRef: string;
|
|
1461
1460
|
title: string;
|
|
1461
|
+
tags: string[];
|
|
1462
|
+
offerRef: string;
|
|
1462
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;
|
|
1476
1489
|
guaranteeText?: string | undefined;
|
|
1477
1490
|
usageSceneText?: string | undefined;
|
|
1478
|
-
usageTimeText?: string | undefined;
|
|
1479
1491
|
claimTimeText?: string | undefined;
|
|
1480
|
-
|
|
1481
|
-
availabilityStatus?: "AVAILABLE" | "UNAVAILABLE" | "REQUIRES_ACTION" | "UNKNOWN" | undefined;
|
|
1492
|
+
availabilityStatus?: "UNKNOWN" | "AVAILABLE" | "UNAVAILABLE" | "REQUIRES_ACTION" | undefined;
|
|
1482
1493
|
validityText?: string | undefined;
|
|
1483
|
-
imageUrl?: string | undefined;
|
|
1484
|
-
itemActions?: ({
|
|
1485
|
-
kind: "send";
|
|
1486
|
-
label: string;
|
|
1487
|
-
value?: string | undefined;
|
|
1488
|
-
visibleValue?: string | undefined;
|
|
1489
|
-
} | {
|
|
1490
|
-
kind: "link";
|
|
1491
|
-
label: string;
|
|
1492
|
-
url: string;
|
|
1493
|
-
})[] | undefined;
|
|
1494
1494
|
}[];
|
|
1495
|
-
mode: "
|
|
1495
|
+
mode: "search" | "claimable" | "recommend";
|
|
1496
1496
|
presentation?: "coupon" | "promotion" | "recommendation" | "offer" | undefined;
|
|
1497
1497
|
summary?: string | undefined;
|
|
1498
1498
|
noResultsReason?: string | undefined;
|
|
@@ -1569,36 +1569,36 @@ declare const serverModule: {
|
|
|
1569
1569
|
unavailableReason: zod.ZodOptional<zod.ZodString>;
|
|
1570
1570
|
caveats: zod.ZodArray<zod.ZodString, "many">;
|
|
1571
1571
|
}, "strip", zod.ZodTypeAny, {
|
|
1572
|
-
offerRef: string;
|
|
1573
1572
|
title: string;
|
|
1573
|
+
offerRef: string;
|
|
1574
|
+
caveats: string[];
|
|
1574
1575
|
offerType: "COUPON" | "BUNDLE" | "PROMOTION" | "ACTIVITY" | "GROUPON";
|
|
1575
1576
|
claimable: boolean;
|
|
1576
|
-
caveats: string[];
|
|
1577
1577
|
rules: string[];
|
|
1578
|
+
description?: string | undefined;
|
|
1579
|
+
notice?: string | undefined;
|
|
1580
|
+
steps?: {
|
|
1581
|
+
title: string;
|
|
1582
|
+
description?: string | undefined;
|
|
1583
|
+
}[] | undefined;
|
|
1578
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;
|
|
1579
1590
|
benefitText?: string | undefined;
|
|
1580
1591
|
thresholdText?: string | undefined;
|
|
1581
1592
|
priceText?: string | undefined;
|
|
1582
1593
|
originalPriceText?: string | undefined;
|
|
1583
1594
|
discountLabel?: string | undefined;
|
|
1584
1595
|
claimActionLabel?: string | undefined;
|
|
1585
|
-
purchaseUrl?: string | undefined;
|
|
1586
1596
|
stockText?: string | undefined;
|
|
1587
1597
|
usageNoticeText?: string | undefined;
|
|
1588
1598
|
guaranteeText?: string | undefined;
|
|
1589
1599
|
usageSceneText?: string | undefined;
|
|
1590
|
-
usageTimeText?: string | undefined;
|
|
1591
1600
|
claimTimeText?: string | undefined;
|
|
1592
|
-
usageRuleText?: string | undefined;
|
|
1593
1601
|
validityText?: string | undefined;
|
|
1594
|
-
imageUrl?: string | undefined;
|
|
1595
|
-
description?: string | undefined;
|
|
1596
|
-
notice?: string | undefined;
|
|
1597
|
-
steps?: {
|
|
1598
|
-
title: string;
|
|
1599
|
-
description?: string | undefined;
|
|
1600
|
-
}[] | undefined;
|
|
1601
|
-
presentation?: "package" | "coupon" | "promotion" | "offer" | "promotion-guide" | undefined;
|
|
1602
1602
|
participationMode?: "UNKNOWN" | "AUTOMATIC_DISCOUNT" | "CLAIM_THEN_PURCHASE" | "REGISTER_THEN_ATTEND" | "GROUP_PURCHASE" | undefined;
|
|
1603
1603
|
requirements?: string[] | undefined;
|
|
1604
1604
|
stores?: {
|
|
@@ -1614,36 +1614,36 @@ declare const serverModule: {
|
|
|
1614
1614
|
}[] | undefined;
|
|
1615
1615
|
unavailableReason?: string | undefined;
|
|
1616
1616
|
}, {
|
|
1617
|
-
offerRef: string;
|
|
1618
1617
|
title: string;
|
|
1618
|
+
offerRef: string;
|
|
1619
|
+
caveats: string[];
|
|
1619
1620
|
offerType: "COUPON" | "BUNDLE" | "PROMOTION" | "ACTIVITY" | "GROUPON";
|
|
1620
1621
|
claimable: boolean;
|
|
1621
|
-
caveats: string[];
|
|
1622
1622
|
rules: string[];
|
|
1623
|
+
description?: string | undefined;
|
|
1624
|
+
notice?: string | undefined;
|
|
1625
|
+
steps?: {
|
|
1626
|
+
title: string;
|
|
1627
|
+
description?: string | undefined;
|
|
1628
|
+
}[] | undefined;
|
|
1623
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;
|
|
1624
1635
|
benefitText?: string | undefined;
|
|
1625
1636
|
thresholdText?: string | undefined;
|
|
1626
1637
|
priceText?: string | undefined;
|
|
1627
1638
|
originalPriceText?: string | undefined;
|
|
1628
1639
|
discountLabel?: string | undefined;
|
|
1629
1640
|
claimActionLabel?: string | undefined;
|
|
1630
|
-
purchaseUrl?: string | undefined;
|
|
1631
1641
|
stockText?: string | undefined;
|
|
1632
1642
|
usageNoticeText?: string | undefined;
|
|
1633
1643
|
guaranteeText?: string | undefined;
|
|
1634
1644
|
usageSceneText?: string | undefined;
|
|
1635
|
-
usageTimeText?: string | undefined;
|
|
1636
1645
|
claimTimeText?: string | undefined;
|
|
1637
|
-
usageRuleText?: string | undefined;
|
|
1638
1646
|
validityText?: string | undefined;
|
|
1639
|
-
imageUrl?: string | undefined;
|
|
1640
|
-
description?: string | undefined;
|
|
1641
|
-
notice?: string | undefined;
|
|
1642
|
-
steps?: {
|
|
1643
|
-
title: string;
|
|
1644
|
-
description?: string | undefined;
|
|
1645
|
-
}[] | undefined;
|
|
1646
|
-
presentation?: "package" | "coupon" | "promotion" | "offer" | "promotion-guide" | undefined;
|
|
1647
1647
|
participationMode?: "UNKNOWN" | "AUTOMATIC_DISCOUNT" | "CLAIM_THEN_PURCHASE" | "REGISTER_THEN_ATTEND" | "GROUP_PURCHASE" | undefined;
|
|
1648
1648
|
requirements?: string[] | undefined;
|
|
1649
1649
|
stores?: {
|
|
@@ -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,12 +1702,12 @@ declare const serverModule: {
|
|
|
1702
1702
|
label: zod.ZodString;
|
|
1703
1703
|
url: zod.ZodString;
|
|
1704
1704
|
}, "strip", zod.ZodTypeAny, {
|
|
1705
|
-
kind: "link";
|
|
1706
1705
|
label: string;
|
|
1706
|
+
kind: "link";
|
|
1707
1707
|
url: string;
|
|
1708
1708
|
}, {
|
|
1709
|
-
kind: "link";
|
|
1710
1709
|
label: string;
|
|
1710
|
+
kind: "link";
|
|
1711
1711
|
url: string;
|
|
1712
1712
|
}>]>, "many">>;
|
|
1713
1713
|
stores: zod.ZodOptional<zod.ZodArray<zod.ZodObject<{
|
|
@@ -1744,25 +1744,25 @@ declare const serverModule: {
|
|
|
1744
1744
|
entitlementRef: string;
|
|
1745
1745
|
entitlementType: "COUPON" | "BUNDLE" | "PROMOTION" | "ACTIVITY" | "GROUPON";
|
|
1746
1746
|
code?: string | undefined;
|
|
1747
|
-
benefitText?: string | undefined;
|
|
1748
|
-
thresholdText?: string | undefined;
|
|
1749
|
-
guaranteeText?: string | undefined;
|
|
1750
|
-
usageSceneText?: string | undefined;
|
|
1751
|
-
usageTimeText?: string | undefined;
|
|
1752
|
-
claimTimeText?: string | undefined;
|
|
1753
|
-
usageRuleText?: string | undefined;
|
|
1754
|
-
validityText?: string | undefined;
|
|
1755
1747
|
imageUrl?: string | undefined;
|
|
1748
|
+
usageRuleText?: string | undefined;
|
|
1749
|
+
usageTimeText?: string | undefined;
|
|
1756
1750
|
itemActions?: ({
|
|
1757
|
-
kind: "send";
|
|
1758
1751
|
label: string;
|
|
1752
|
+
kind: "send";
|
|
1759
1753
|
value?: string | undefined;
|
|
1760
1754
|
visibleValue?: string | undefined;
|
|
1761
1755
|
} | {
|
|
1762
|
-
kind: "link";
|
|
1763
1756
|
label: string;
|
|
1757
|
+
kind: "link";
|
|
1764
1758
|
url: string;
|
|
1765
1759
|
})[] | undefined;
|
|
1760
|
+
benefitText?: string | undefined;
|
|
1761
|
+
thresholdText?: string | undefined;
|
|
1762
|
+
guaranteeText?: string | undefined;
|
|
1763
|
+
usageSceneText?: string | undefined;
|
|
1764
|
+
claimTimeText?: string | undefined;
|
|
1765
|
+
validityText?: string | undefined;
|
|
1766
1766
|
stores?: {
|
|
1767
1767
|
storeId: string;
|
|
1768
1768
|
storeName: string;
|
|
@@ -1783,25 +1783,25 @@ declare const serverModule: {
|
|
|
1783
1783
|
entitlementRef: string;
|
|
1784
1784
|
entitlementType: "COUPON" | "BUNDLE" | "PROMOTION" | "ACTIVITY" | "GROUPON";
|
|
1785
1785
|
code?: string | undefined;
|
|
1786
|
-
benefitText?: string | undefined;
|
|
1787
|
-
thresholdText?: string | undefined;
|
|
1788
|
-
guaranteeText?: string | undefined;
|
|
1789
|
-
usageSceneText?: string | undefined;
|
|
1790
|
-
usageTimeText?: string | undefined;
|
|
1791
|
-
claimTimeText?: string | undefined;
|
|
1792
|
-
usageRuleText?: string | undefined;
|
|
1793
|
-
validityText?: string | undefined;
|
|
1794
1786
|
imageUrl?: string | undefined;
|
|
1787
|
+
usageRuleText?: string | undefined;
|
|
1788
|
+
usageTimeText?: string | undefined;
|
|
1795
1789
|
itemActions?: ({
|
|
1796
|
-
kind: "send";
|
|
1797
1790
|
label: string;
|
|
1791
|
+
kind: "send";
|
|
1798
1792
|
value?: string | undefined;
|
|
1799
1793
|
visibleValue?: string | undefined;
|
|
1800
1794
|
} | {
|
|
1801
|
-
kind: "link";
|
|
1802
1795
|
label: string;
|
|
1796
|
+
kind: "link";
|
|
1803
1797
|
url: string;
|
|
1804
1798
|
})[] | undefined;
|
|
1799
|
+
benefitText?: string | undefined;
|
|
1800
|
+
thresholdText?: string | undefined;
|
|
1801
|
+
guaranteeText?: string | undefined;
|
|
1802
|
+
usageSceneText?: string | undefined;
|
|
1803
|
+
claimTimeText?: string | undefined;
|
|
1804
|
+
validityText?: string | undefined;
|
|
1805
1805
|
stores?: {
|
|
1806
1806
|
storeId: string;
|
|
1807
1807
|
storeName: string;
|
|
@@ -1826,25 +1826,25 @@ declare const serverModule: {
|
|
|
1826
1826
|
entitlementRef: string;
|
|
1827
1827
|
entitlementType: "COUPON" | "BUNDLE" | "PROMOTION" | "ACTIVITY" | "GROUPON";
|
|
1828
1828
|
code?: string | undefined;
|
|
1829
|
-
benefitText?: string | undefined;
|
|
1830
|
-
thresholdText?: string | undefined;
|
|
1831
|
-
guaranteeText?: string | undefined;
|
|
1832
|
-
usageSceneText?: string | undefined;
|
|
1833
|
-
usageTimeText?: string | undefined;
|
|
1834
|
-
claimTimeText?: string | undefined;
|
|
1835
|
-
usageRuleText?: string | undefined;
|
|
1836
|
-
validityText?: string | undefined;
|
|
1837
1829
|
imageUrl?: string | undefined;
|
|
1830
|
+
usageRuleText?: string | undefined;
|
|
1831
|
+
usageTimeText?: string | undefined;
|
|
1838
1832
|
itemActions?: ({
|
|
1839
|
-
kind: "send";
|
|
1840
1833
|
label: string;
|
|
1834
|
+
kind: "send";
|
|
1841
1835
|
value?: string | undefined;
|
|
1842
1836
|
visibleValue?: string | undefined;
|
|
1843
1837
|
} | {
|
|
1844
|
-
kind: "link";
|
|
1845
1838
|
label: string;
|
|
1839
|
+
kind: "link";
|
|
1846
1840
|
url: string;
|
|
1847
1841
|
})[] | undefined;
|
|
1842
|
+
benefitText?: string | undefined;
|
|
1843
|
+
thresholdText?: string | undefined;
|
|
1844
|
+
guaranteeText?: string | undefined;
|
|
1845
|
+
usageSceneText?: string | undefined;
|
|
1846
|
+
claimTimeText?: string | undefined;
|
|
1847
|
+
validityText?: string | undefined;
|
|
1848
1848
|
stores?: {
|
|
1849
1849
|
storeId: string;
|
|
1850
1850
|
storeName: string;
|
|
@@ -1872,25 +1872,25 @@ declare const serverModule: {
|
|
|
1872
1872
|
entitlementRef: string;
|
|
1873
1873
|
entitlementType: "COUPON" | "BUNDLE" | "PROMOTION" | "ACTIVITY" | "GROUPON";
|
|
1874
1874
|
code?: string | undefined;
|
|
1875
|
-
benefitText?: string | undefined;
|
|
1876
|
-
thresholdText?: string | undefined;
|
|
1877
|
-
guaranteeText?: string | undefined;
|
|
1878
|
-
usageSceneText?: string | undefined;
|
|
1879
|
-
usageTimeText?: string | undefined;
|
|
1880
|
-
claimTimeText?: string | undefined;
|
|
1881
|
-
usageRuleText?: string | undefined;
|
|
1882
|
-
validityText?: string | undefined;
|
|
1883
1875
|
imageUrl?: string | undefined;
|
|
1876
|
+
usageRuleText?: string | undefined;
|
|
1877
|
+
usageTimeText?: string | undefined;
|
|
1884
1878
|
itemActions?: ({
|
|
1885
|
-
kind: "send";
|
|
1886
1879
|
label: string;
|
|
1880
|
+
kind: "send";
|
|
1887
1881
|
value?: string | undefined;
|
|
1888
1882
|
visibleValue?: string | undefined;
|
|
1889
1883
|
} | {
|
|
1890
|
-
kind: "link";
|
|
1891
1884
|
label: string;
|
|
1885
|
+
kind: "link";
|
|
1892
1886
|
url: string;
|
|
1893
1887
|
})[] | undefined;
|
|
1888
|
+
benefitText?: string | undefined;
|
|
1889
|
+
thresholdText?: string | undefined;
|
|
1890
|
+
guaranteeText?: string | undefined;
|
|
1891
|
+
usageSceneText?: string | undefined;
|
|
1892
|
+
claimTimeText?: string | undefined;
|
|
1893
|
+
validityText?: string | undefined;
|
|
1894
1894
|
stores?: {
|
|
1895
1895
|
storeId: string;
|
|
1896
1896
|
storeName: string;
|
|
@@ -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,12 +1945,12 @@ declare const serverModule: {
|
|
|
1945
1945
|
label: zod.ZodString;
|
|
1946
1946
|
url: zod.ZodString;
|
|
1947
1947
|
}, "strip", zod.ZodTypeAny, {
|
|
1948
|
-
kind: "link";
|
|
1949
1948
|
label: string;
|
|
1949
|
+
kind: "link";
|
|
1950
1950
|
url: string;
|
|
1951
1951
|
}, {
|
|
1952
|
-
kind: "link";
|
|
1953
1952
|
label: string;
|
|
1953
|
+
kind: "link";
|
|
1954
1954
|
url: string;
|
|
1955
1955
|
}>]>, "many">>;
|
|
1956
1956
|
}, "strip", zod.ZodTypeAny, {
|
|
@@ -1958,18 +1958,18 @@ declare const serverModule: {
|
|
|
1958
1958
|
activityRef: string;
|
|
1959
1959
|
registrationRequired: boolean;
|
|
1960
1960
|
subtitle?: string | undefined;
|
|
1961
|
-
availabilityStatus?: "AVAILABLE" | "UNKNOWN" | "FULL" | "ENDED" | "UPCOMING" | undefined;
|
|
1962
1961
|
itemActions?: ({
|
|
1963
|
-
kind: "send";
|
|
1964
1962
|
label: string;
|
|
1963
|
+
kind: "send";
|
|
1965
1964
|
value?: string | undefined;
|
|
1966
1965
|
visibleValue?: string | undefined;
|
|
1967
1966
|
} | {
|
|
1968
|
-
kind: "link";
|
|
1969
1967
|
label: string;
|
|
1968
|
+
kind: "link";
|
|
1970
1969
|
url: string;
|
|
1971
1970
|
})[] | undefined;
|
|
1972
1971
|
coverUrl?: string | undefined;
|
|
1972
|
+
availabilityStatus?: "UNKNOWN" | "AVAILABLE" | "FULL" | "ENDED" | "UPCOMING" | undefined;
|
|
1973
1973
|
jumpOnly?: boolean | undefined;
|
|
1974
1974
|
jumpLabel?: string | undefined;
|
|
1975
1975
|
remainingQuota?: number | undefined;
|
|
@@ -1980,18 +1980,18 @@ declare const serverModule: {
|
|
|
1980
1980
|
activityRef: string;
|
|
1981
1981
|
registrationRequired: boolean;
|
|
1982
1982
|
subtitle?: string | undefined;
|
|
1983
|
-
availabilityStatus?: "AVAILABLE" | "UNKNOWN" | "FULL" | "ENDED" | "UPCOMING" | undefined;
|
|
1984
1983
|
itemActions?: ({
|
|
1985
|
-
kind: "send";
|
|
1986
1984
|
label: string;
|
|
1985
|
+
kind: "send";
|
|
1987
1986
|
value?: string | undefined;
|
|
1988
1987
|
visibleValue?: string | undefined;
|
|
1989
1988
|
} | {
|
|
1990
|
-
kind: "link";
|
|
1991
1989
|
label: string;
|
|
1990
|
+
kind: "link";
|
|
1992
1991
|
url: string;
|
|
1993
1992
|
})[] | undefined;
|
|
1994
1993
|
coverUrl?: string | undefined;
|
|
1994
|
+
availabilityStatus?: "UNKNOWN" | "AVAILABLE" | "FULL" | "ENDED" | "UPCOMING" | undefined;
|
|
1995
1995
|
jumpOnly?: boolean | undefined;
|
|
1996
1996
|
jumpLabel?: string | undefined;
|
|
1997
1997
|
remainingQuota?: number | undefined;
|
|
@@ -2006,18 +2006,18 @@ declare const serverModule: {
|
|
|
2006
2006
|
activityRef: string;
|
|
2007
2007
|
registrationRequired: boolean;
|
|
2008
2008
|
subtitle?: string | undefined;
|
|
2009
|
-
availabilityStatus?: "AVAILABLE" | "UNKNOWN" | "FULL" | "ENDED" | "UPCOMING" | undefined;
|
|
2010
2009
|
itemActions?: ({
|
|
2011
|
-
kind: "send";
|
|
2012
2010
|
label: string;
|
|
2011
|
+
kind: "send";
|
|
2013
2012
|
value?: string | undefined;
|
|
2014
2013
|
visibleValue?: string | undefined;
|
|
2015
2014
|
} | {
|
|
2016
|
-
kind: "link";
|
|
2017
2015
|
label: string;
|
|
2016
|
+
kind: "link";
|
|
2018
2017
|
url: string;
|
|
2019
2018
|
})[] | undefined;
|
|
2020
2019
|
coverUrl?: string | undefined;
|
|
2020
|
+
availabilityStatus?: "UNKNOWN" | "AVAILABLE" | "FULL" | "ENDED" | "UPCOMING" | undefined;
|
|
2021
2021
|
jumpOnly?: boolean | undefined;
|
|
2022
2022
|
jumpLabel?: string | undefined;
|
|
2023
2023
|
remainingQuota?: number | undefined;
|
|
@@ -2032,18 +2032,18 @@ declare const serverModule: {
|
|
|
2032
2032
|
activityRef: string;
|
|
2033
2033
|
registrationRequired: boolean;
|
|
2034
2034
|
subtitle?: string | undefined;
|
|
2035
|
-
availabilityStatus?: "AVAILABLE" | "UNKNOWN" | "FULL" | "ENDED" | "UPCOMING" | undefined;
|
|
2036
2035
|
itemActions?: ({
|
|
2037
|
-
kind: "send";
|
|
2038
2036
|
label: string;
|
|
2037
|
+
kind: "send";
|
|
2039
2038
|
value?: string | undefined;
|
|
2040
2039
|
visibleValue?: string | undefined;
|
|
2041
2040
|
} | {
|
|
2042
|
-
kind: "link";
|
|
2043
2041
|
label: string;
|
|
2042
|
+
kind: "link";
|
|
2044
2043
|
url: string;
|
|
2045
2044
|
})[] | undefined;
|
|
2046
2045
|
coverUrl?: string | undefined;
|
|
2046
|
+
availabilityStatus?: "UNKNOWN" | "AVAILABLE" | "FULL" | "ENDED" | "UPCOMING" | undefined;
|
|
2047
2047
|
jumpOnly?: boolean | undefined;
|
|
2048
2048
|
jumpLabel?: string | undefined;
|
|
2049
2049
|
remainingQuota?: number | undefined;
|
|
@@ -2121,9 +2121,9 @@ declare const serverModule: {
|
|
|
2121
2121
|
}[];
|
|
2122
2122
|
guideSteps: string[];
|
|
2123
2123
|
conditions: string[];
|
|
2124
|
-
subtitle?: string | undefined;
|
|
2125
2124
|
description?: string | undefined;
|
|
2126
2125
|
notice?: string | undefined;
|
|
2126
|
+
subtitle?: string | undefined;
|
|
2127
2127
|
presentation?: "detail" | "schedule" | "guide" | undefined;
|
|
2128
2128
|
location?: string | undefined;
|
|
2129
2129
|
coverUrl?: string | undefined;
|
|
@@ -2152,9 +2152,9 @@ declare const serverModule: {
|
|
|
2152
2152
|
}[];
|
|
2153
2153
|
guideSteps: string[];
|
|
2154
2154
|
conditions: string[];
|
|
2155
|
-
subtitle?: string | undefined;
|
|
2156
2155
|
description?: string | undefined;
|
|
2157
2156
|
notice?: string | undefined;
|
|
2157
|
+
subtitle?: string | undefined;
|
|
2158
2158
|
presentation?: "detail" | "schedule" | "guide" | undefined;
|
|
2159
2159
|
location?: string | undefined;
|
|
2160
2160
|
coverUrl?: string | undefined;
|
|
@@ -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,25 +2194,25 @@ declare const serverModule: {
|
|
|
2194
2194
|
label: zod.ZodString;
|
|
2195
2195
|
url: zod.ZodString;
|
|
2196
2196
|
}, "strip", zod.ZodTypeAny, {
|
|
2197
|
-
kind: "link";
|
|
2198
2197
|
label: string;
|
|
2198
|
+
kind: "link";
|
|
2199
2199
|
url: string;
|
|
2200
2200
|
}, {
|
|
2201
|
-
kind: "link";
|
|
2202
2201
|
label: string;
|
|
2202
|
+
kind: "link";
|
|
2203
2203
|
url: string;
|
|
2204
2204
|
}>]>, "many">>;
|
|
2205
2205
|
}, "strip", zod.ZodTypeAny, {
|
|
2206
2206
|
name: string;
|
|
2207
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
|
-
kind: "link";
|
|
2215
2214
|
label: string;
|
|
2215
|
+
kind: "link";
|
|
2216
2216
|
url: string;
|
|
2217
2217
|
})[] | undefined;
|
|
2218
2218
|
parentId?: string | undefined;
|
|
@@ -2220,13 +2220,13 @@ declare const serverModule: {
|
|
|
2220
2220
|
name: string;
|
|
2221
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
|
-
kind: "link";
|
|
2229
2228
|
label: string;
|
|
2229
|
+
kind: "link";
|
|
2230
2230
|
url: string;
|
|
2231
2231
|
})[] | undefined;
|
|
2232
2232
|
parentId?: string | undefined;
|
|
@@ -2237,13 +2237,13 @@ declare const serverModule: {
|
|
|
2237
2237
|
name: string;
|
|
2238
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
|
-
kind: "link";
|
|
2246
2245
|
label: string;
|
|
2246
|
+
kind: "link";
|
|
2247
2247
|
url: string;
|
|
2248
2248
|
})[] | undefined;
|
|
2249
2249
|
parentId?: string | undefined;
|
|
@@ -2254,13 +2254,13 @@ declare const serverModule: {
|
|
|
2254
2254
|
name: string;
|
|
2255
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
|
-
kind: "link";
|
|
2263
2262
|
label: string;
|
|
2263
|
+
kind: "link";
|
|
2264
2264
|
url: string;
|
|
2265
2265
|
})[] | undefined;
|
|
2266
2266
|
parentId?: string | undefined;
|
|
@@ -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
|
-
kind: "link";
|
|
2321
2320
|
label: string;
|
|
2321
|
+
kind: "link";
|
|
2322
2322
|
url: string;
|
|
2323
2323
|
}, {
|
|
2324
|
-
kind: "link";
|
|
2325
2324
|
label: string;
|
|
2325
|
+
kind: "link";
|
|
2326
2326
|
url: string;
|
|
2327
2327
|
}>]>, "many">>;
|
|
2328
2328
|
tags: zod.ZodArray<zod.ZodString, "many">;
|
|
2329
2329
|
}, "strip", zod.ZodTypeAny, {
|
|
2330
|
-
offerRef: string;
|
|
2331
2330
|
title: string;
|
|
2331
|
+
tags: string[];
|
|
2332
|
+
offerRef: string;
|
|
2332
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;
|
|
2346
2359
|
guaranteeText?: string | undefined;
|
|
2347
2360
|
usageSceneText?: string | undefined;
|
|
2348
|
-
usageTimeText?: string | undefined;
|
|
2349
2361
|
claimTimeText?: string | undefined;
|
|
2350
|
-
|
|
2351
|
-
availabilityStatus?: "AVAILABLE" | "UNAVAILABLE" | "REQUIRES_ACTION" | "UNKNOWN" | undefined;
|
|
2362
|
+
availabilityStatus?: "UNKNOWN" | "AVAILABLE" | "UNAVAILABLE" | "REQUIRES_ACTION" | undefined;
|
|
2352
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;
|
|
2353
2371
|
imageUrl?: string | undefined;
|
|
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
|
-
kind: "link";
|
|
2361
2382
|
label: string;
|
|
2383
|
+
kind: "link";
|
|
2362
2384
|
url: string;
|
|
2363
2385
|
})[] | undefined;
|
|
2364
|
-
}, {
|
|
2365
|
-
offerRef: string;
|
|
2366
|
-
title: string;
|
|
2367
|
-
offerType: "COUPON" | "BUNDLE" | "PROMOTION" | "ACTIVITY" | "GROUPON";
|
|
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;
|
|
2381
2394
|
guaranteeText?: string | undefined;
|
|
2382
2395
|
usageSceneText?: string | undefined;
|
|
2383
|
-
usageTimeText?: string | undefined;
|
|
2384
2396
|
claimTimeText?: string | undefined;
|
|
2385
|
-
|
|
2386
|
-
availabilityStatus?: "AVAILABLE" | "UNAVAILABLE" | "REQUIRES_ACTION" | "UNKNOWN" | undefined;
|
|
2397
|
+
availabilityStatus?: "UNKNOWN" | "AVAILABLE" | "UNAVAILABLE" | "REQUIRES_ACTION" | undefined;
|
|
2387
2398
|
validityText?: string | undefined;
|
|
2388
|
-
imageUrl?: string | undefined;
|
|
2389
|
-
itemActions?: ({
|
|
2390
|
-
kind: "send";
|
|
2391
|
-
label: string;
|
|
2392
|
-
value?: string | undefined;
|
|
2393
|
-
visibleValue?: string | undefined;
|
|
2394
|
-
} | {
|
|
2395
|
-
kind: "link";
|
|
2396
|
-
label: string;
|
|
2397
|
-
url: string;
|
|
2398
|
-
})[] | undefined;
|
|
2399
2399
|
}>, "many">>;
|
|
2400
2400
|
message: zod.ZodOptional<zod.ZodString>;
|
|
2401
2401
|
}, "strip", zod.ZodTypeAny, {
|
|
2402
2402
|
authoritative: boolean;
|
|
2403
2403
|
originalAmountCents: number;
|
|
2404
2404
|
appliedOfferRefs: string[];
|
|
2405
|
+
message?: string | undefined;
|
|
2405
2406
|
savingsCents?: number | undefined;
|
|
2406
2407
|
expectedPayCents?: number | undefined;
|
|
2407
|
-
message?: string | undefined;
|
|
2408
2408
|
candidates?: {
|
|
2409
|
-
offerRef: string;
|
|
2410
2409
|
title: string;
|
|
2410
|
+
tags: string[];
|
|
2411
|
+
offerRef: string;
|
|
2411
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;
|
|
2425
2438
|
guaranteeText?: string | undefined;
|
|
2426
2439
|
usageSceneText?: string | undefined;
|
|
2427
|
-
usageTimeText?: string | undefined;
|
|
2428
2440
|
claimTimeText?: string | undefined;
|
|
2429
|
-
|
|
2430
|
-
availabilityStatus?: "AVAILABLE" | "UNAVAILABLE" | "REQUIRES_ACTION" | "UNKNOWN" | undefined;
|
|
2441
|
+
availabilityStatus?: "UNKNOWN" | "AVAILABLE" | "UNAVAILABLE" | "REQUIRES_ACTION" | undefined;
|
|
2431
2442
|
validityText?: string | undefined;
|
|
2432
|
-
imageUrl?: string | undefined;
|
|
2433
|
-
itemActions?: ({
|
|
2434
|
-
kind: "send";
|
|
2435
|
-
label: string;
|
|
2436
|
-
value?: string | undefined;
|
|
2437
|
-
visibleValue?: string | undefined;
|
|
2438
|
-
} | {
|
|
2439
|
-
kind: "link";
|
|
2440
|
-
label: string;
|
|
2441
|
-
url: string;
|
|
2442
|
-
})[] | undefined;
|
|
2443
2443
|
}[] | undefined;
|
|
2444
2444
|
}, {
|
|
2445
2445
|
authoritative: boolean;
|
|
2446
2446
|
originalAmountCents: number;
|
|
2447
2447
|
appliedOfferRefs: string[];
|
|
2448
|
+
message?: string | undefined;
|
|
2448
2449
|
savingsCents?: number | undefined;
|
|
2449
2450
|
expectedPayCents?: number | undefined;
|
|
2450
|
-
message?: string | undefined;
|
|
2451
2451
|
candidates?: {
|
|
2452
|
-
offerRef: string;
|
|
2453
2452
|
title: string;
|
|
2453
|
+
tags: string[];
|
|
2454
|
+
offerRef: string;
|
|
2454
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;
|
|
2468
2481
|
guaranteeText?: string | undefined;
|
|
2469
2482
|
usageSceneText?: string | undefined;
|
|
2470
|
-
usageTimeText?: string | undefined;
|
|
2471
2483
|
claimTimeText?: string | undefined;
|
|
2472
|
-
|
|
2473
|
-
availabilityStatus?: "AVAILABLE" | "UNAVAILABLE" | "REQUIRES_ACTION" | "UNKNOWN" | undefined;
|
|
2484
|
+
availabilityStatus?: "UNKNOWN" | "AVAILABLE" | "UNAVAILABLE" | "REQUIRES_ACTION" | undefined;
|
|
2474
2485
|
validityText?: string | undefined;
|
|
2475
|
-
imageUrl?: string | undefined;
|
|
2476
|
-
itemActions?: ({
|
|
2477
|
-
kind: "send";
|
|
2478
|
-
label: string;
|
|
2479
|
-
value?: string | undefined;
|
|
2480
|
-
visibleValue?: string | undefined;
|
|
2481
|
-
} | {
|
|
2482
|
-
kind: "link";
|
|
2483
|
-
label: string;
|
|
2484
|
-
url: string;
|
|
2485
|
-
})[] | undefined;
|
|
2486
2486
|
}[] | undefined;
|
|
2487
2487
|
}>>;
|
|
2488
2488
|
};
|