@tbox.cn/app-contracts-mall 0.14.0 → 0.17.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/activity-play/cards.d.ts +98 -0
- package/dist/activity-play-prize/cards.d.ts +314 -0
- package/dist/alipay-activity/cards.d.ts +4 -4
- package/dist/domain/activity-play-prize.d.ts +208 -0
- package/dist/domain/activity-play.d.ts +215 -0
- package/dist/index.d.ts +6 -0
- package/dist/member/cards.d.ts +28 -28
- package/dist/parking/cards.d.ts +20 -20
- package/dist/promotion/cards.d.ts +44 -44
- package/dist/runtime.d.ts +6 -0
- package/dist/runtime.js +856 -634
- package/dist/services/activity-play-prize.d.ts +36 -0
- package/dist/services/activity-play.d.ts +63 -0
- package/dist/shopping-guide/cards.d.ts +36 -36
- package/package.json +1 -1
- package/src/activity-play/cards.ts +32 -0
- package/src/activity-play-prize/cards.ts +69 -0
- package/src/domain/activity-play-prize.ts +105 -0
- package/src/domain/activity-play.ts +231 -0
- package/src/index.ts +6 -0
- package/src/runtime.ts +36 -0
- package/src/service-slots.json +88 -19
- package/src/services/activity-play-prize.ts +47 -0
- package/src/services/activity-play.ts +71 -0
- package/tests/activity-play-prize.test.ts +175 -0
- package/tests/activity-play.test.ts +232 -0
- package/tests/service-slots.test.ts +12 -7
|
@@ -89,6 +89,7 @@ export declare const promotionOfferListCardDataSchema: z.ZodObject<{
|
|
|
89
89
|
claimable: boolean;
|
|
90
90
|
tags: string[];
|
|
91
91
|
imageUrl?: string | undefined;
|
|
92
|
+
usageRuleText?: string | undefined;
|
|
92
93
|
usageTimeText?: string | undefined;
|
|
93
94
|
purchaseUrl?: string | undefined;
|
|
94
95
|
freeCouponClaimMode?: "DIRECT" | "REDIRECT" | undefined;
|
|
@@ -114,7 +115,6 @@ export declare const promotionOfferListCardDataSchema: z.ZodObject<{
|
|
|
114
115
|
guaranteeText?: string | undefined;
|
|
115
116
|
usageSceneText?: string | undefined;
|
|
116
117
|
claimTimeText?: string | undefined;
|
|
117
|
-
usageRuleText?: string | undefined;
|
|
118
118
|
availabilityStatus?: "AVAILABLE" | "UNKNOWN" | "UNAVAILABLE" | "REQUIRES_ACTION" | undefined;
|
|
119
119
|
validityText?: string | undefined;
|
|
120
120
|
}, {
|
|
@@ -124,6 +124,7 @@ export declare const promotionOfferListCardDataSchema: z.ZodObject<{
|
|
|
124
124
|
claimable: boolean;
|
|
125
125
|
tags: string[];
|
|
126
126
|
imageUrl?: string | undefined;
|
|
127
|
+
usageRuleText?: string | undefined;
|
|
127
128
|
usageTimeText?: string | undefined;
|
|
128
129
|
purchaseUrl?: string | undefined;
|
|
129
130
|
freeCouponClaimMode?: "DIRECT" | "REDIRECT" | undefined;
|
|
@@ -149,7 +150,6 @@ export declare const promotionOfferListCardDataSchema: z.ZodObject<{
|
|
|
149
150
|
guaranteeText?: string | undefined;
|
|
150
151
|
usageSceneText?: string | undefined;
|
|
151
152
|
claimTimeText?: string | undefined;
|
|
152
|
-
usageRuleText?: string | undefined;
|
|
153
153
|
availabilityStatus?: "AVAILABLE" | "UNKNOWN" | "UNAVAILABLE" | "REQUIRES_ACTION" | undefined;
|
|
154
154
|
validityText?: string | undefined;
|
|
155
155
|
}>, "many">;
|
|
@@ -163,6 +163,7 @@ export declare const promotionOfferListCardDataSchema: z.ZodObject<{
|
|
|
163
163
|
claimable: boolean;
|
|
164
164
|
tags: string[];
|
|
165
165
|
imageUrl?: string | undefined;
|
|
166
|
+
usageRuleText?: string | undefined;
|
|
166
167
|
usageTimeText?: string | undefined;
|
|
167
168
|
purchaseUrl?: string | undefined;
|
|
168
169
|
freeCouponClaimMode?: "DIRECT" | "REDIRECT" | undefined;
|
|
@@ -188,7 +189,6 @@ export declare const promotionOfferListCardDataSchema: z.ZodObject<{
|
|
|
188
189
|
guaranteeText?: string | undefined;
|
|
189
190
|
usageSceneText?: string | undefined;
|
|
190
191
|
claimTimeText?: string | undefined;
|
|
191
|
-
usageRuleText?: string | undefined;
|
|
192
192
|
availabilityStatus?: "AVAILABLE" | "UNKNOWN" | "UNAVAILABLE" | "REQUIRES_ACTION" | undefined;
|
|
193
193
|
validityText?: string | undefined;
|
|
194
194
|
}[];
|
|
@@ -206,6 +206,7 @@ export declare const promotionOfferListCardDataSchema: z.ZodObject<{
|
|
|
206
206
|
claimable: boolean;
|
|
207
207
|
tags: string[];
|
|
208
208
|
imageUrl?: string | undefined;
|
|
209
|
+
usageRuleText?: string | undefined;
|
|
209
210
|
usageTimeText?: string | undefined;
|
|
210
211
|
purchaseUrl?: string | undefined;
|
|
211
212
|
freeCouponClaimMode?: "DIRECT" | "REDIRECT" | undefined;
|
|
@@ -231,7 +232,6 @@ export declare const promotionOfferListCardDataSchema: z.ZodObject<{
|
|
|
231
232
|
guaranteeText?: string | undefined;
|
|
232
233
|
usageSceneText?: string | undefined;
|
|
233
234
|
claimTimeText?: string | undefined;
|
|
234
|
-
usageRuleText?: string | undefined;
|
|
235
235
|
availabilityStatus?: "AVAILABLE" | "UNKNOWN" | "UNAVAILABLE" | "REQUIRES_ACTION" | undefined;
|
|
236
236
|
validityText?: string | undefined;
|
|
237
237
|
}[];
|
|
@@ -327,8 +327,9 @@ export declare const promotionOfferDetailCardDataSchema: z.ZodObject<{
|
|
|
327
327
|
claimable: boolean;
|
|
328
328
|
rules: string[];
|
|
329
329
|
description?: string | undefined;
|
|
330
|
-
notice?: string | undefined;
|
|
331
330
|
imageUrl?: string | undefined;
|
|
331
|
+
usageRuleText?: string | undefined;
|
|
332
|
+
notice?: string | undefined;
|
|
332
333
|
usageTimeText?: string | undefined;
|
|
333
334
|
purchaseUrl?: string | undefined;
|
|
334
335
|
presentation?: "coupon" | "promotion" | "offer" | "promotion-guide" | "package" | undefined;
|
|
@@ -348,7 +349,6 @@ export declare const promotionOfferDetailCardDataSchema: z.ZodObject<{
|
|
|
348
349
|
guaranteeText?: string | undefined;
|
|
349
350
|
usageSceneText?: string | undefined;
|
|
350
351
|
claimTimeText?: string | undefined;
|
|
351
|
-
usageRuleText?: string | undefined;
|
|
352
352
|
validityText?: string | undefined;
|
|
353
353
|
participationMode?: "UNKNOWN" | "AUTOMATIC_DISCOUNT" | "CLAIM_THEN_PURCHASE" | "REGISTER_THEN_ATTEND" | "GROUP_PURCHASE" | undefined;
|
|
354
354
|
requirements?: string[] | undefined;
|
|
@@ -372,8 +372,9 @@ export declare const promotionOfferDetailCardDataSchema: z.ZodObject<{
|
|
|
372
372
|
claimable: boolean;
|
|
373
373
|
rules: string[];
|
|
374
374
|
description?: string | undefined;
|
|
375
|
-
notice?: string | undefined;
|
|
376
375
|
imageUrl?: string | undefined;
|
|
376
|
+
usageRuleText?: string | undefined;
|
|
377
|
+
notice?: string | undefined;
|
|
377
378
|
usageTimeText?: string | undefined;
|
|
378
379
|
purchaseUrl?: string | undefined;
|
|
379
380
|
presentation?: "coupon" | "promotion" | "offer" | "promotion-guide" | "package" | undefined;
|
|
@@ -393,7 +394,6 @@ export declare const promotionOfferDetailCardDataSchema: z.ZodObject<{
|
|
|
393
394
|
guaranteeText?: string | undefined;
|
|
394
395
|
usageSceneText?: string | undefined;
|
|
395
396
|
claimTimeText?: string | undefined;
|
|
396
|
-
usageRuleText?: string | undefined;
|
|
397
397
|
validityText?: string | undefined;
|
|
398
398
|
participationMode?: "UNKNOWN" | "AUTOMATIC_DISCOUNT" | "CLAIM_THEN_PURCHASE" | "REGISTER_THEN_ATTEND" | "GROUP_PURCHASE" | undefined;
|
|
399
399
|
requirements?: string[] | undefined;
|
|
@@ -500,6 +500,7 @@ export declare const promotionEntitlementListCardDataSchema: z.ZodObject<{
|
|
|
500
500
|
entitlementType: "COUPON" | "BUNDLE" | "PROMOTION" | "ACTIVITY" | "GROUPON";
|
|
501
501
|
code?: string | undefined;
|
|
502
502
|
imageUrl?: string | undefined;
|
|
503
|
+
usageRuleText?: string | undefined;
|
|
503
504
|
usageTimeText?: string | undefined;
|
|
504
505
|
itemActions?: ({
|
|
505
506
|
kind: "send";
|
|
@@ -516,7 +517,6 @@ export declare const promotionEntitlementListCardDataSchema: z.ZodObject<{
|
|
|
516
517
|
guaranteeText?: string | undefined;
|
|
517
518
|
usageSceneText?: string | undefined;
|
|
518
519
|
claimTimeText?: string | undefined;
|
|
519
|
-
usageRuleText?: string | undefined;
|
|
520
520
|
validityText?: string | undefined;
|
|
521
521
|
stores?: {
|
|
522
522
|
storeId: string;
|
|
@@ -539,6 +539,7 @@ export declare const promotionEntitlementListCardDataSchema: z.ZodObject<{
|
|
|
539
539
|
entitlementType: "COUPON" | "BUNDLE" | "PROMOTION" | "ACTIVITY" | "GROUPON";
|
|
540
540
|
code?: string | undefined;
|
|
541
541
|
imageUrl?: string | undefined;
|
|
542
|
+
usageRuleText?: string | undefined;
|
|
542
543
|
usageTimeText?: string | undefined;
|
|
543
544
|
itemActions?: ({
|
|
544
545
|
kind: "send";
|
|
@@ -555,7 +556,6 @@ export declare const promotionEntitlementListCardDataSchema: z.ZodObject<{
|
|
|
555
556
|
guaranteeText?: string | undefined;
|
|
556
557
|
usageSceneText?: string | undefined;
|
|
557
558
|
claimTimeText?: string | undefined;
|
|
558
|
-
usageRuleText?: string | undefined;
|
|
559
559
|
validityText?: string | undefined;
|
|
560
560
|
stores?: {
|
|
561
561
|
storeId: string;
|
|
@@ -582,6 +582,7 @@ export declare const promotionEntitlementListCardDataSchema: z.ZodObject<{
|
|
|
582
582
|
entitlementType: "COUPON" | "BUNDLE" | "PROMOTION" | "ACTIVITY" | "GROUPON";
|
|
583
583
|
code?: string | undefined;
|
|
584
584
|
imageUrl?: string | undefined;
|
|
585
|
+
usageRuleText?: string | undefined;
|
|
585
586
|
usageTimeText?: string | undefined;
|
|
586
587
|
itemActions?: ({
|
|
587
588
|
kind: "send";
|
|
@@ -598,7 +599,6 @@ export declare const promotionEntitlementListCardDataSchema: z.ZodObject<{
|
|
|
598
599
|
guaranteeText?: string | undefined;
|
|
599
600
|
usageSceneText?: string | undefined;
|
|
600
601
|
claimTimeText?: string | undefined;
|
|
601
|
-
usageRuleText?: string | undefined;
|
|
602
602
|
validityText?: string | undefined;
|
|
603
603
|
stores?: {
|
|
604
604
|
storeId: string;
|
|
@@ -628,6 +628,7 @@ export declare const promotionEntitlementListCardDataSchema: z.ZodObject<{
|
|
|
628
628
|
entitlementType: "COUPON" | "BUNDLE" | "PROMOTION" | "ACTIVITY" | "GROUPON";
|
|
629
629
|
code?: string | undefined;
|
|
630
630
|
imageUrl?: string | undefined;
|
|
631
|
+
usageRuleText?: string | undefined;
|
|
631
632
|
usageTimeText?: string | undefined;
|
|
632
633
|
itemActions?: ({
|
|
633
634
|
kind: "send";
|
|
@@ -644,7 +645,6 @@ export declare const promotionEntitlementListCardDataSchema: z.ZodObject<{
|
|
|
644
645
|
guaranteeText?: string | undefined;
|
|
645
646
|
usageSceneText?: string | undefined;
|
|
646
647
|
claimTimeText?: string | undefined;
|
|
647
|
-
usageRuleText?: string | undefined;
|
|
648
648
|
validityText?: string | undefined;
|
|
649
649
|
stores?: {
|
|
650
650
|
storeId: string;
|
|
@@ -854,6 +854,7 @@ export declare const promotionBestDealCardDataSchema: z.ZodObject<{
|
|
|
854
854
|
claimable: boolean;
|
|
855
855
|
tags: string[];
|
|
856
856
|
imageUrl?: string | undefined;
|
|
857
|
+
usageRuleText?: string | undefined;
|
|
857
858
|
usageTimeText?: string | undefined;
|
|
858
859
|
purchaseUrl?: string | undefined;
|
|
859
860
|
freeCouponClaimMode?: "DIRECT" | "REDIRECT" | undefined;
|
|
@@ -879,7 +880,6 @@ export declare const promotionBestDealCardDataSchema: z.ZodObject<{
|
|
|
879
880
|
guaranteeText?: string | undefined;
|
|
880
881
|
usageSceneText?: string | undefined;
|
|
881
882
|
claimTimeText?: string | undefined;
|
|
882
|
-
usageRuleText?: string | undefined;
|
|
883
883
|
availabilityStatus?: "AVAILABLE" | "UNKNOWN" | "UNAVAILABLE" | "REQUIRES_ACTION" | undefined;
|
|
884
884
|
validityText?: string | undefined;
|
|
885
885
|
}, {
|
|
@@ -889,6 +889,7 @@ export declare const promotionBestDealCardDataSchema: z.ZodObject<{
|
|
|
889
889
|
claimable: boolean;
|
|
890
890
|
tags: string[];
|
|
891
891
|
imageUrl?: string | undefined;
|
|
892
|
+
usageRuleText?: string | undefined;
|
|
892
893
|
usageTimeText?: string | undefined;
|
|
893
894
|
purchaseUrl?: string | undefined;
|
|
894
895
|
freeCouponClaimMode?: "DIRECT" | "REDIRECT" | undefined;
|
|
@@ -914,7 +915,6 @@ export declare const promotionBestDealCardDataSchema: z.ZodObject<{
|
|
|
914
915
|
guaranteeText?: string | undefined;
|
|
915
916
|
usageSceneText?: string | undefined;
|
|
916
917
|
claimTimeText?: string | undefined;
|
|
917
|
-
usageRuleText?: string | undefined;
|
|
918
918
|
availabilityStatus?: "AVAILABLE" | "UNKNOWN" | "UNAVAILABLE" | "REQUIRES_ACTION" | undefined;
|
|
919
919
|
validityText?: string | undefined;
|
|
920
920
|
}>, "many">>;
|
|
@@ -933,6 +933,7 @@ export declare const promotionBestDealCardDataSchema: z.ZodObject<{
|
|
|
933
933
|
claimable: boolean;
|
|
934
934
|
tags: string[];
|
|
935
935
|
imageUrl?: string | undefined;
|
|
936
|
+
usageRuleText?: string | undefined;
|
|
936
937
|
usageTimeText?: string | undefined;
|
|
937
938
|
purchaseUrl?: string | undefined;
|
|
938
939
|
freeCouponClaimMode?: "DIRECT" | "REDIRECT" | undefined;
|
|
@@ -958,7 +959,6 @@ export declare const promotionBestDealCardDataSchema: z.ZodObject<{
|
|
|
958
959
|
guaranteeText?: string | undefined;
|
|
959
960
|
usageSceneText?: string | undefined;
|
|
960
961
|
claimTimeText?: string | undefined;
|
|
961
|
-
usageRuleText?: string | undefined;
|
|
962
962
|
availabilityStatus?: "AVAILABLE" | "UNKNOWN" | "UNAVAILABLE" | "REQUIRES_ACTION" | undefined;
|
|
963
963
|
validityText?: string | undefined;
|
|
964
964
|
}[] | undefined;
|
|
@@ -976,6 +976,7 @@ export declare const promotionBestDealCardDataSchema: z.ZodObject<{
|
|
|
976
976
|
claimable: boolean;
|
|
977
977
|
tags: string[];
|
|
978
978
|
imageUrl?: string | undefined;
|
|
979
|
+
usageRuleText?: string | undefined;
|
|
979
980
|
usageTimeText?: string | undefined;
|
|
980
981
|
purchaseUrl?: string | undefined;
|
|
981
982
|
freeCouponClaimMode?: "DIRECT" | "REDIRECT" | undefined;
|
|
@@ -1001,7 +1002,6 @@ export declare const promotionBestDealCardDataSchema: z.ZodObject<{
|
|
|
1001
1002
|
guaranteeText?: string | undefined;
|
|
1002
1003
|
usageSceneText?: string | undefined;
|
|
1003
1004
|
claimTimeText?: string | undefined;
|
|
1004
|
-
usageRuleText?: string | undefined;
|
|
1005
1005
|
availabilityStatus?: "AVAILABLE" | "UNKNOWN" | "UNAVAILABLE" | "REQUIRES_ACTION" | undefined;
|
|
1006
1006
|
validityText?: string | undefined;
|
|
1007
1007
|
}[] | undefined;
|
|
@@ -1050,8 +1050,8 @@ export declare const promotionActivityListCardDataSchema: z.ZodObject<{
|
|
|
1050
1050
|
label: string;
|
|
1051
1051
|
}>]>, "many">>;
|
|
1052
1052
|
}, "strip", z.ZodTypeAny, {
|
|
1053
|
-
title: string;
|
|
1054
1053
|
activityRef: string;
|
|
1054
|
+
title: string;
|
|
1055
1055
|
registrationRequired: boolean;
|
|
1056
1056
|
itemActions?: ({
|
|
1057
1057
|
kind: "send";
|
|
@@ -1072,8 +1072,8 @@ export declare const promotionActivityListCardDataSchema: z.ZodObject<{
|
|
|
1072
1072
|
periodText?: string | undefined;
|
|
1073
1073
|
categoryName?: string | undefined;
|
|
1074
1074
|
}, {
|
|
1075
|
-
title: string;
|
|
1076
1075
|
activityRef: string;
|
|
1076
|
+
title: string;
|
|
1077
1077
|
registrationRequired: boolean;
|
|
1078
1078
|
itemActions?: ({
|
|
1079
1079
|
kind: "send";
|
|
@@ -1098,8 +1098,8 @@ export declare const promotionActivityListCardDataSchema: z.ZodObject<{
|
|
|
1098
1098
|
nextCursor: z.ZodOptional<z.ZodString>;
|
|
1099
1099
|
}, "strip", z.ZodTypeAny, {
|
|
1100
1100
|
items: {
|
|
1101
|
-
title: string;
|
|
1102
1101
|
activityRef: string;
|
|
1102
|
+
title: string;
|
|
1103
1103
|
registrationRequired: boolean;
|
|
1104
1104
|
itemActions?: ({
|
|
1105
1105
|
kind: "send";
|
|
@@ -1124,8 +1124,8 @@ export declare const promotionActivityListCardDataSchema: z.ZodObject<{
|
|
|
1124
1124
|
nextCursor?: string | undefined;
|
|
1125
1125
|
}, {
|
|
1126
1126
|
items: {
|
|
1127
|
-
title: string;
|
|
1128
1127
|
activityRef: string;
|
|
1128
|
+
title: string;
|
|
1129
1129
|
registrationRequired: boolean;
|
|
1130
1130
|
itemActions?: ({
|
|
1131
1131
|
kind: "send";
|
|
@@ -1206,8 +1206,8 @@ export declare const promotionActivityDetailCardDataSchema: z.ZodObject<{
|
|
|
1206
1206
|
conditions: z.ZodArray<z.ZodString, "many">;
|
|
1207
1207
|
notice: z.ZodOptional<z.ZodString>;
|
|
1208
1208
|
}, "strip", z.ZodTypeAny, {
|
|
1209
|
-
title: string;
|
|
1210
1209
|
activityRef: string;
|
|
1210
|
+
title: string;
|
|
1211
1211
|
registrationRequired: boolean;
|
|
1212
1212
|
sessions: {
|
|
1213
1213
|
status: "CLOSED" | "UNKNOWN" | "OPEN" | "FULL";
|
|
@@ -1237,8 +1237,8 @@ export declare const promotionActivityDetailCardDataSchema: z.ZodObject<{
|
|
|
1237
1237
|
description?: string | undefined;
|
|
1238
1238
|
}[] | undefined;
|
|
1239
1239
|
}, {
|
|
1240
|
-
title: string;
|
|
1241
1240
|
activityRef: string;
|
|
1241
|
+
title: string;
|
|
1242
1242
|
registrationRequired: boolean;
|
|
1243
1243
|
sessions: {
|
|
1244
1244
|
status: "CLOSED" | "UNKNOWN" | "OPEN" | "FULL";
|
|
@@ -1358,6 +1358,7 @@ export declare const promotionCardDataSchemas: {
|
|
|
1358
1358
|
claimable: boolean;
|
|
1359
1359
|
tags: string[];
|
|
1360
1360
|
imageUrl?: string | undefined;
|
|
1361
|
+
usageRuleText?: string | undefined;
|
|
1361
1362
|
usageTimeText?: string | undefined;
|
|
1362
1363
|
purchaseUrl?: string | undefined;
|
|
1363
1364
|
freeCouponClaimMode?: "DIRECT" | "REDIRECT" | undefined;
|
|
@@ -1383,7 +1384,6 @@ export declare const promotionCardDataSchemas: {
|
|
|
1383
1384
|
guaranteeText?: string | undefined;
|
|
1384
1385
|
usageSceneText?: string | undefined;
|
|
1385
1386
|
claimTimeText?: string | undefined;
|
|
1386
|
-
usageRuleText?: string | undefined;
|
|
1387
1387
|
availabilityStatus?: "AVAILABLE" | "UNKNOWN" | "UNAVAILABLE" | "REQUIRES_ACTION" | undefined;
|
|
1388
1388
|
validityText?: string | undefined;
|
|
1389
1389
|
}, {
|
|
@@ -1393,6 +1393,7 @@ export declare const promotionCardDataSchemas: {
|
|
|
1393
1393
|
claimable: boolean;
|
|
1394
1394
|
tags: string[];
|
|
1395
1395
|
imageUrl?: string | undefined;
|
|
1396
|
+
usageRuleText?: string | undefined;
|
|
1396
1397
|
usageTimeText?: string | undefined;
|
|
1397
1398
|
purchaseUrl?: string | undefined;
|
|
1398
1399
|
freeCouponClaimMode?: "DIRECT" | "REDIRECT" | undefined;
|
|
@@ -1418,7 +1419,6 @@ export declare const promotionCardDataSchemas: {
|
|
|
1418
1419
|
guaranteeText?: string | undefined;
|
|
1419
1420
|
usageSceneText?: string | undefined;
|
|
1420
1421
|
claimTimeText?: string | undefined;
|
|
1421
|
-
usageRuleText?: string | undefined;
|
|
1422
1422
|
availabilityStatus?: "AVAILABLE" | "UNKNOWN" | "UNAVAILABLE" | "REQUIRES_ACTION" | undefined;
|
|
1423
1423
|
validityText?: string | undefined;
|
|
1424
1424
|
}>, "many">;
|
|
@@ -1432,6 +1432,7 @@ export declare const promotionCardDataSchemas: {
|
|
|
1432
1432
|
claimable: boolean;
|
|
1433
1433
|
tags: string[];
|
|
1434
1434
|
imageUrl?: string | undefined;
|
|
1435
|
+
usageRuleText?: string | undefined;
|
|
1435
1436
|
usageTimeText?: string | undefined;
|
|
1436
1437
|
purchaseUrl?: string | undefined;
|
|
1437
1438
|
freeCouponClaimMode?: "DIRECT" | "REDIRECT" | undefined;
|
|
@@ -1457,7 +1458,6 @@ export declare const promotionCardDataSchemas: {
|
|
|
1457
1458
|
guaranteeText?: string | undefined;
|
|
1458
1459
|
usageSceneText?: string | undefined;
|
|
1459
1460
|
claimTimeText?: string | undefined;
|
|
1460
|
-
usageRuleText?: string | undefined;
|
|
1461
1461
|
availabilityStatus?: "AVAILABLE" | "UNKNOWN" | "UNAVAILABLE" | "REQUIRES_ACTION" | undefined;
|
|
1462
1462
|
validityText?: string | undefined;
|
|
1463
1463
|
}[];
|
|
@@ -1475,6 +1475,7 @@ export declare const promotionCardDataSchemas: {
|
|
|
1475
1475
|
claimable: boolean;
|
|
1476
1476
|
tags: string[];
|
|
1477
1477
|
imageUrl?: string | undefined;
|
|
1478
|
+
usageRuleText?: string | undefined;
|
|
1478
1479
|
usageTimeText?: string | undefined;
|
|
1479
1480
|
purchaseUrl?: string | undefined;
|
|
1480
1481
|
freeCouponClaimMode?: "DIRECT" | "REDIRECT" | undefined;
|
|
@@ -1500,7 +1501,6 @@ export declare const promotionCardDataSchemas: {
|
|
|
1500
1501
|
guaranteeText?: string | undefined;
|
|
1501
1502
|
usageSceneText?: string | undefined;
|
|
1502
1503
|
claimTimeText?: string | undefined;
|
|
1503
|
-
usageRuleText?: string | undefined;
|
|
1504
1504
|
availabilityStatus?: "AVAILABLE" | "UNKNOWN" | "UNAVAILABLE" | "REQUIRES_ACTION" | undefined;
|
|
1505
1505
|
validityText?: string | undefined;
|
|
1506
1506
|
}[];
|
|
@@ -1594,8 +1594,9 @@ export declare const promotionCardDataSchemas: {
|
|
|
1594
1594
|
claimable: boolean;
|
|
1595
1595
|
rules: string[];
|
|
1596
1596
|
description?: string | undefined;
|
|
1597
|
-
notice?: string | undefined;
|
|
1598
1597
|
imageUrl?: string | undefined;
|
|
1598
|
+
usageRuleText?: string | undefined;
|
|
1599
|
+
notice?: string | undefined;
|
|
1599
1600
|
usageTimeText?: string | undefined;
|
|
1600
1601
|
purchaseUrl?: string | undefined;
|
|
1601
1602
|
presentation?: "coupon" | "promotion" | "offer" | "promotion-guide" | "package" | undefined;
|
|
@@ -1615,7 +1616,6 @@ export declare const promotionCardDataSchemas: {
|
|
|
1615
1616
|
guaranteeText?: string | undefined;
|
|
1616
1617
|
usageSceneText?: string | undefined;
|
|
1617
1618
|
claimTimeText?: string | undefined;
|
|
1618
|
-
usageRuleText?: string | undefined;
|
|
1619
1619
|
validityText?: string | undefined;
|
|
1620
1620
|
participationMode?: "UNKNOWN" | "AUTOMATIC_DISCOUNT" | "CLAIM_THEN_PURCHASE" | "REGISTER_THEN_ATTEND" | "GROUP_PURCHASE" | undefined;
|
|
1621
1621
|
requirements?: string[] | undefined;
|
|
@@ -1639,8 +1639,9 @@ export declare const promotionCardDataSchemas: {
|
|
|
1639
1639
|
claimable: boolean;
|
|
1640
1640
|
rules: string[];
|
|
1641
1641
|
description?: string | undefined;
|
|
1642
|
-
notice?: string | undefined;
|
|
1643
1642
|
imageUrl?: string | undefined;
|
|
1643
|
+
usageRuleText?: string | undefined;
|
|
1644
|
+
notice?: string | undefined;
|
|
1644
1645
|
usageTimeText?: string | undefined;
|
|
1645
1646
|
purchaseUrl?: string | undefined;
|
|
1646
1647
|
presentation?: "coupon" | "promotion" | "offer" | "promotion-guide" | "package" | undefined;
|
|
@@ -1660,7 +1661,6 @@ export declare const promotionCardDataSchemas: {
|
|
|
1660
1661
|
guaranteeText?: string | undefined;
|
|
1661
1662
|
usageSceneText?: string | undefined;
|
|
1662
1663
|
claimTimeText?: string | undefined;
|
|
1663
|
-
usageRuleText?: string | undefined;
|
|
1664
1664
|
validityText?: string | undefined;
|
|
1665
1665
|
participationMode?: "UNKNOWN" | "AUTOMATIC_DISCOUNT" | "CLAIM_THEN_PURCHASE" | "REGISTER_THEN_ATTEND" | "GROUP_PURCHASE" | undefined;
|
|
1666
1666
|
requirements?: string[] | undefined;
|
|
@@ -1765,6 +1765,7 @@ export declare const promotionCardDataSchemas: {
|
|
|
1765
1765
|
entitlementType: "COUPON" | "BUNDLE" | "PROMOTION" | "ACTIVITY" | "GROUPON";
|
|
1766
1766
|
code?: string | undefined;
|
|
1767
1767
|
imageUrl?: string | undefined;
|
|
1768
|
+
usageRuleText?: string | undefined;
|
|
1768
1769
|
usageTimeText?: string | undefined;
|
|
1769
1770
|
itemActions?: ({
|
|
1770
1771
|
kind: "send";
|
|
@@ -1781,7 +1782,6 @@ export declare const promotionCardDataSchemas: {
|
|
|
1781
1782
|
guaranteeText?: string | undefined;
|
|
1782
1783
|
usageSceneText?: string | undefined;
|
|
1783
1784
|
claimTimeText?: string | undefined;
|
|
1784
|
-
usageRuleText?: string | undefined;
|
|
1785
1785
|
validityText?: string | undefined;
|
|
1786
1786
|
stores?: {
|
|
1787
1787
|
storeId: string;
|
|
@@ -1804,6 +1804,7 @@ export declare const promotionCardDataSchemas: {
|
|
|
1804
1804
|
entitlementType: "COUPON" | "BUNDLE" | "PROMOTION" | "ACTIVITY" | "GROUPON";
|
|
1805
1805
|
code?: string | undefined;
|
|
1806
1806
|
imageUrl?: string | undefined;
|
|
1807
|
+
usageRuleText?: string | undefined;
|
|
1807
1808
|
usageTimeText?: string | undefined;
|
|
1808
1809
|
itemActions?: ({
|
|
1809
1810
|
kind: "send";
|
|
@@ -1820,7 +1821,6 @@ export declare const promotionCardDataSchemas: {
|
|
|
1820
1821
|
guaranteeText?: string | undefined;
|
|
1821
1822
|
usageSceneText?: string | undefined;
|
|
1822
1823
|
claimTimeText?: string | undefined;
|
|
1823
|
-
usageRuleText?: string | undefined;
|
|
1824
1824
|
validityText?: string | undefined;
|
|
1825
1825
|
stores?: {
|
|
1826
1826
|
storeId: string;
|
|
@@ -1847,6 +1847,7 @@ export declare const promotionCardDataSchemas: {
|
|
|
1847
1847
|
entitlementType: "COUPON" | "BUNDLE" | "PROMOTION" | "ACTIVITY" | "GROUPON";
|
|
1848
1848
|
code?: string | undefined;
|
|
1849
1849
|
imageUrl?: string | undefined;
|
|
1850
|
+
usageRuleText?: string | undefined;
|
|
1850
1851
|
usageTimeText?: string | undefined;
|
|
1851
1852
|
itemActions?: ({
|
|
1852
1853
|
kind: "send";
|
|
@@ -1863,7 +1864,6 @@ export declare const promotionCardDataSchemas: {
|
|
|
1863
1864
|
guaranteeText?: string | undefined;
|
|
1864
1865
|
usageSceneText?: string | undefined;
|
|
1865
1866
|
claimTimeText?: string | undefined;
|
|
1866
|
-
usageRuleText?: string | undefined;
|
|
1867
1867
|
validityText?: string | undefined;
|
|
1868
1868
|
stores?: {
|
|
1869
1869
|
storeId: string;
|
|
@@ -1893,6 +1893,7 @@ export declare const promotionCardDataSchemas: {
|
|
|
1893
1893
|
entitlementType: "COUPON" | "BUNDLE" | "PROMOTION" | "ACTIVITY" | "GROUPON";
|
|
1894
1894
|
code?: string | undefined;
|
|
1895
1895
|
imageUrl?: string | undefined;
|
|
1896
|
+
usageRuleText?: string | undefined;
|
|
1896
1897
|
usageTimeText?: string | undefined;
|
|
1897
1898
|
itemActions?: ({
|
|
1898
1899
|
kind: "send";
|
|
@@ -1909,7 +1910,6 @@ export declare const promotionCardDataSchemas: {
|
|
|
1909
1910
|
guaranteeText?: string | undefined;
|
|
1910
1911
|
usageSceneText?: string | undefined;
|
|
1911
1912
|
claimTimeText?: string | undefined;
|
|
1912
|
-
usageRuleText?: string | undefined;
|
|
1913
1913
|
validityText?: string | undefined;
|
|
1914
1914
|
stores?: {
|
|
1915
1915
|
storeId: string;
|
|
@@ -2115,6 +2115,7 @@ export declare const promotionCardDataSchemas: {
|
|
|
2115
2115
|
claimable: boolean;
|
|
2116
2116
|
tags: string[];
|
|
2117
2117
|
imageUrl?: string | undefined;
|
|
2118
|
+
usageRuleText?: string | undefined;
|
|
2118
2119
|
usageTimeText?: string | undefined;
|
|
2119
2120
|
purchaseUrl?: string | undefined;
|
|
2120
2121
|
freeCouponClaimMode?: "DIRECT" | "REDIRECT" | undefined;
|
|
@@ -2140,7 +2141,6 @@ export declare const promotionCardDataSchemas: {
|
|
|
2140
2141
|
guaranteeText?: string | undefined;
|
|
2141
2142
|
usageSceneText?: string | undefined;
|
|
2142
2143
|
claimTimeText?: string | undefined;
|
|
2143
|
-
usageRuleText?: string | undefined;
|
|
2144
2144
|
availabilityStatus?: "AVAILABLE" | "UNKNOWN" | "UNAVAILABLE" | "REQUIRES_ACTION" | undefined;
|
|
2145
2145
|
validityText?: string | undefined;
|
|
2146
2146
|
}, {
|
|
@@ -2150,6 +2150,7 @@ export declare const promotionCardDataSchemas: {
|
|
|
2150
2150
|
claimable: boolean;
|
|
2151
2151
|
tags: string[];
|
|
2152
2152
|
imageUrl?: string | undefined;
|
|
2153
|
+
usageRuleText?: string | undefined;
|
|
2153
2154
|
usageTimeText?: string | undefined;
|
|
2154
2155
|
purchaseUrl?: string | undefined;
|
|
2155
2156
|
freeCouponClaimMode?: "DIRECT" | "REDIRECT" | undefined;
|
|
@@ -2175,7 +2176,6 @@ export declare const promotionCardDataSchemas: {
|
|
|
2175
2176
|
guaranteeText?: string | undefined;
|
|
2176
2177
|
usageSceneText?: string | undefined;
|
|
2177
2178
|
claimTimeText?: string | undefined;
|
|
2178
|
-
usageRuleText?: string | undefined;
|
|
2179
2179
|
availabilityStatus?: "AVAILABLE" | "UNKNOWN" | "UNAVAILABLE" | "REQUIRES_ACTION" | undefined;
|
|
2180
2180
|
validityText?: string | undefined;
|
|
2181
2181
|
}>, "many">>;
|
|
@@ -2194,6 +2194,7 @@ export declare const promotionCardDataSchemas: {
|
|
|
2194
2194
|
claimable: boolean;
|
|
2195
2195
|
tags: string[];
|
|
2196
2196
|
imageUrl?: string | undefined;
|
|
2197
|
+
usageRuleText?: string | undefined;
|
|
2197
2198
|
usageTimeText?: string | undefined;
|
|
2198
2199
|
purchaseUrl?: string | undefined;
|
|
2199
2200
|
freeCouponClaimMode?: "DIRECT" | "REDIRECT" | undefined;
|
|
@@ -2219,7 +2220,6 @@ export declare const promotionCardDataSchemas: {
|
|
|
2219
2220
|
guaranteeText?: string | undefined;
|
|
2220
2221
|
usageSceneText?: string | undefined;
|
|
2221
2222
|
claimTimeText?: string | undefined;
|
|
2222
|
-
usageRuleText?: string | undefined;
|
|
2223
2223
|
availabilityStatus?: "AVAILABLE" | "UNKNOWN" | "UNAVAILABLE" | "REQUIRES_ACTION" | undefined;
|
|
2224
2224
|
validityText?: string | undefined;
|
|
2225
2225
|
}[] | undefined;
|
|
@@ -2237,6 +2237,7 @@ export declare const promotionCardDataSchemas: {
|
|
|
2237
2237
|
claimable: boolean;
|
|
2238
2238
|
tags: string[];
|
|
2239
2239
|
imageUrl?: string | undefined;
|
|
2240
|
+
usageRuleText?: string | undefined;
|
|
2240
2241
|
usageTimeText?: string | undefined;
|
|
2241
2242
|
purchaseUrl?: string | undefined;
|
|
2242
2243
|
freeCouponClaimMode?: "DIRECT" | "REDIRECT" | undefined;
|
|
@@ -2262,7 +2263,6 @@ export declare const promotionCardDataSchemas: {
|
|
|
2262
2263
|
guaranteeText?: string | undefined;
|
|
2263
2264
|
usageSceneText?: string | undefined;
|
|
2264
2265
|
claimTimeText?: string | undefined;
|
|
2265
|
-
usageRuleText?: string | undefined;
|
|
2266
2266
|
availabilityStatus?: "AVAILABLE" | "UNKNOWN" | "UNAVAILABLE" | "REQUIRES_ACTION" | undefined;
|
|
2267
2267
|
validityText?: string | undefined;
|
|
2268
2268
|
}[] | undefined;
|
|
@@ -2309,8 +2309,8 @@ export declare const promotionCardDataSchemas: {
|
|
|
2309
2309
|
label: string;
|
|
2310
2310
|
}>]>, "many">>;
|
|
2311
2311
|
}, "strip", z.ZodTypeAny, {
|
|
2312
|
-
title: string;
|
|
2313
2312
|
activityRef: string;
|
|
2313
|
+
title: string;
|
|
2314
2314
|
registrationRequired: boolean;
|
|
2315
2315
|
itemActions?: ({
|
|
2316
2316
|
kind: "send";
|
|
@@ -2331,8 +2331,8 @@ export declare const promotionCardDataSchemas: {
|
|
|
2331
2331
|
periodText?: string | undefined;
|
|
2332
2332
|
categoryName?: string | undefined;
|
|
2333
2333
|
}, {
|
|
2334
|
-
title: string;
|
|
2335
2334
|
activityRef: string;
|
|
2335
|
+
title: string;
|
|
2336
2336
|
registrationRequired: boolean;
|
|
2337
2337
|
itemActions?: ({
|
|
2338
2338
|
kind: "send";
|
|
@@ -2357,8 +2357,8 @@ export declare const promotionCardDataSchemas: {
|
|
|
2357
2357
|
nextCursor: z.ZodOptional<z.ZodString>;
|
|
2358
2358
|
}, "strip", z.ZodTypeAny, {
|
|
2359
2359
|
items: {
|
|
2360
|
-
title: string;
|
|
2361
2360
|
activityRef: string;
|
|
2361
|
+
title: string;
|
|
2362
2362
|
registrationRequired: boolean;
|
|
2363
2363
|
itemActions?: ({
|
|
2364
2364
|
kind: "send";
|
|
@@ -2383,8 +2383,8 @@ export declare const promotionCardDataSchemas: {
|
|
|
2383
2383
|
nextCursor?: string | undefined;
|
|
2384
2384
|
}, {
|
|
2385
2385
|
items: {
|
|
2386
|
-
title: string;
|
|
2387
2386
|
activityRef: string;
|
|
2387
|
+
title: string;
|
|
2388
2388
|
registrationRequired: boolean;
|
|
2389
2389
|
itemActions?: ({
|
|
2390
2390
|
kind: "send";
|
|
@@ -2463,8 +2463,8 @@ export declare const promotionCardDataSchemas: {
|
|
|
2463
2463
|
conditions: z.ZodArray<z.ZodString, "many">;
|
|
2464
2464
|
notice: z.ZodOptional<z.ZodString>;
|
|
2465
2465
|
}, "strip", z.ZodTypeAny, {
|
|
2466
|
-
title: string;
|
|
2467
2466
|
activityRef: string;
|
|
2467
|
+
title: string;
|
|
2468
2468
|
registrationRequired: boolean;
|
|
2469
2469
|
sessions: {
|
|
2470
2470
|
status: "CLOSED" | "UNKNOWN" | "OPEN" | "FULL";
|
|
@@ -2494,8 +2494,8 @@ export declare const promotionCardDataSchemas: {
|
|
|
2494
2494
|
description?: string | undefined;
|
|
2495
2495
|
}[] | undefined;
|
|
2496
2496
|
}, {
|
|
2497
|
-
title: string;
|
|
2498
2497
|
activityRef: string;
|
|
2498
|
+
title: string;
|
|
2499
2499
|
registrationRequired: boolean;
|
|
2500
2500
|
sessions: {
|
|
2501
2501
|
status: "CLOSED" | "UNKNOWN" | "OPEN" | "FULL";
|
package/dist/runtime.d.ts
CHANGED
|
@@ -13,9 +13,15 @@ export { PARKING_QUERY_SERVICE, PARKING_PAYMENT_SERVICE, PARKING_VEHICLE_SERVICE
|
|
|
13
13
|
export { PROMOTION_OFFERS_SERVICE, PROMOTION_ENTITLEMENTS_SERVICE, PROMOTION_ACTIVITIES_SERVICE, PROMOTION_ACQUISITION_SERVICE, PROMOTION_ACTIVITY_ROUTING_POLICY, } from './services/promotion';
|
|
14
14
|
export { SHOPPING_CATALOG_SERVICE, SHOPPING_SHOPS_SERVICE, SHOPPING_CATEGORIES_SERVICE, SHOPPING_DIRECTORY_SERVICE, } from './services/shopping-guide';
|
|
15
15
|
export { MALL_INFO_SERVICE } from './services/mall-info';
|
|
16
|
+
export { ACTIVITY_PLAY_QUERY_SERVICE, ACTIVITY_PLAY_ENTRY_SERVICE } from './services/activity-play';
|
|
17
|
+
export { ACTIVITY_PLAY_PRIZES_SERVICE } from './services/activity-play-prize';
|
|
18
|
+
export { ACTIVITY_PLAY_ENTRY_PROTOCOL_VERSION, ACTIVITY_PLAY_TARGET_KIND, activityPlayActivitySchema, activityPlayEntrySchema, activityPlayTargetSchema, activityPlayPluginAliasSchema, activityPlayTargetPageSchema, activityPlayDirectoryEntrySchema, activityPlayRefSchema, activityPlayTitleSchema, activityPlayDescriptionSchema, activityPlayTimeSchema, activityPlayImageUrlSchema, activityPlayStatusOf, } from './domain/activity-play';
|
|
19
|
+
export { ACTIVITY_PLAY_PRIZE_STATUS_UNKNOWN, activityPlayPrizeRecordRefSchema, activityPlayPrizeTitleSchema, activityPlayPrizeActivityIdSchema, activityPlayPrizeActivityTitleSchema, activityPlayPrizeStatusTagSchema, activityPlayPrizeUsageRuleTextSchema, activityPlayPrizeRedemptionMethodSchema, activityPlayPrizeRedemptionInstructionSchema, activityPlayPrizeUrlSchema, activityPlayPrizeRecordSchema, activityPlayPrizeDetailSchema, activityPlayPrizeListResultSchema, toActivityPlayPrizeStatusTag, } from './domain/activity-play-prize';
|
|
16
20
|
export { mallLocationSchema, parseMallLocation, mallUserRefSchema, parseMallUserRef } from './guard';
|
|
17
21
|
export * from './shopping-guide/cards';
|
|
18
22
|
export * from './member/cards';
|
|
19
23
|
export * from './promotion/cards';
|
|
20
24
|
export * from './parking/cards';
|
|
25
|
+
export * from './activity-play/cards';
|
|
26
|
+
export * from './activity-play-prize/cards';
|
|
21
27
|
export * from './shared/cards';
|