@tbox.cn/app-contracts-mall 0.13.2 → 0.17.1

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.
@@ -72,10 +72,10 @@ export declare const parkingPaymentCardDataSchema: z.ZodObject<{
72
72
  state: z.ZodEnum<["unauthenticated", "unknown", "active", "not_enrolled", "closed", "unavailable"]>;
73
73
  availablePoints: z.ZodOptional<z.ZodNumber>;
74
74
  }, "strip", z.ZodTypeAny, {
75
- state: "unknown" | "unavailable" | "unauthenticated" | "active" | "not_enrolled" | "closed";
75
+ state: "unknown" | "unavailable" | "active" | "unauthenticated" | "not_enrolled" | "closed";
76
76
  availablePoints?: number | undefined;
77
77
  }, {
78
- state: "unknown" | "unavailable" | "unauthenticated" | "active" | "not_enrolled" | "closed";
78
+ state: "unknown" | "unavailable" | "active" | "unauthenticated" | "not_enrolled" | "closed";
79
79
  availablePoints?: number | undefined;
80
80
  }>>;
81
81
  /** 服务端归一化后的支付入口;客户端不解析权益标题。 */
@@ -322,7 +322,7 @@ export declare const parkingPaymentCardDataSchema: z.ZodObject<{
322
322
  durationText?: string | undefined;
323
323
  discountText?: string | undefined;
324
324
  membership?: {
325
- state: "unknown" | "unavailable" | "unauthenticated" | "active" | "not_enrolled" | "closed";
325
+ state: "unknown" | "unavailable" | "active" | "unauthenticated" | "not_enrolled" | "closed";
326
326
  availablePoints?: number | undefined;
327
327
  } | undefined;
328
328
  paymentOptions?: {
@@ -390,7 +390,7 @@ export declare const parkingPaymentCardDataSchema: z.ZodObject<{
390
390
  durationText?: string | undefined;
391
391
  discountText?: string | undefined;
392
392
  membership?: {
393
- state: "unknown" | "unavailable" | "unauthenticated" | "active" | "not_enrolled" | "closed";
393
+ state: "unknown" | "unavailable" | "active" | "unauthenticated" | "not_enrolled" | "closed";
394
394
  availablePoints?: number | undefined;
395
395
  } | undefined;
396
396
  paymentOptions?: {
@@ -601,9 +601,9 @@ export declare const parkingVehicleManagementCardDataSchema: z.ZodObject<{
601
601
  membership: z.ZodOptional<z.ZodObject<{
602
602
  state: z.ZodEnum<["unauthenticated", "unknown", "active", "not_enrolled", "closed", "unavailable"]>;
603
603
  }, "strip", z.ZodTypeAny, {
604
- state: "unknown" | "unavailable" | "unauthenticated" | "active" | "not_enrolled" | "closed";
604
+ state: "unknown" | "unavailable" | "active" | "unauthenticated" | "not_enrolled" | "closed";
605
605
  }, {
606
- state: "unknown" | "unavailable" | "unauthenticated" | "active" | "not_enrolled" | "closed";
606
+ state: "unknown" | "unavailable" | "active" | "unauthenticated" | "not_enrolled" | "closed";
607
607
  }>>;
608
608
  }, "strip", z.ZodTypeAny, {
609
609
  bound: {
@@ -613,7 +613,7 @@ export declare const parkingVehicleManagementCardDataSchema: z.ZodObject<{
613
613
  }[];
614
614
  message?: string | undefined;
615
615
  membership?: {
616
- state: "unknown" | "unavailable" | "unauthenticated" | "active" | "not_enrolled" | "closed";
616
+ state: "unknown" | "unavailable" | "active" | "unauthenticated" | "not_enrolled" | "closed";
617
617
  } | undefined;
618
618
  }, {
619
619
  bound: {
@@ -623,7 +623,7 @@ export declare const parkingVehicleManagementCardDataSchema: z.ZodObject<{
623
623
  }[];
624
624
  message?: string | undefined;
625
625
  membership?: {
626
- state: "unknown" | "unavailable" | "unauthenticated" | "active" | "not_enrolled" | "closed";
626
+ state: "unknown" | "unavailable" | "active" | "unauthenticated" | "not_enrolled" | "closed";
627
627
  } | undefined;
628
628
  }>;
629
629
  export type ParkingVehicleManagementCardData = z.infer<typeof parkingVehicleManagementCardDataSchema>;
@@ -691,10 +691,10 @@ export declare const parkingCardDataSchemas: {
691
691
  state: z.ZodEnum<["unauthenticated", "unknown", "active", "not_enrolled", "closed", "unavailable"]>;
692
692
  availablePoints: z.ZodOptional<z.ZodNumber>;
693
693
  }, "strip", z.ZodTypeAny, {
694
- state: "unknown" | "unavailable" | "unauthenticated" | "active" | "not_enrolled" | "closed";
694
+ state: "unknown" | "unavailable" | "active" | "unauthenticated" | "not_enrolled" | "closed";
695
695
  availablePoints?: number | undefined;
696
696
  }, {
697
- state: "unknown" | "unavailable" | "unauthenticated" | "active" | "not_enrolled" | "closed";
697
+ state: "unknown" | "unavailable" | "active" | "unauthenticated" | "not_enrolled" | "closed";
698
698
  availablePoints?: number | undefined;
699
699
  }>>;
700
700
  /** 服务端归一化后的支付入口;客户端不解析权益标题。 */
@@ -941,7 +941,7 @@ export declare const parkingCardDataSchemas: {
941
941
  durationText?: string | undefined;
942
942
  discountText?: string | undefined;
943
943
  membership?: {
944
- state: "unknown" | "unavailable" | "unauthenticated" | "active" | "not_enrolled" | "closed";
944
+ state: "unknown" | "unavailable" | "active" | "unauthenticated" | "not_enrolled" | "closed";
945
945
  availablePoints?: number | undefined;
946
946
  } | undefined;
947
947
  paymentOptions?: {
@@ -1009,7 +1009,7 @@ export declare const parkingCardDataSchemas: {
1009
1009
  durationText?: string | undefined;
1010
1010
  discountText?: string | undefined;
1011
1011
  membership?: {
1012
- state: "unknown" | "unavailable" | "unauthenticated" | "active" | "not_enrolled" | "closed";
1012
+ state: "unknown" | "unavailable" | "active" | "unauthenticated" | "not_enrolled" | "closed";
1013
1013
  availablePoints?: number | undefined;
1014
1014
  } | undefined;
1015
1015
  paymentOptions?: {
@@ -1214,9 +1214,9 @@ export declare const parkingCardDataSchemas: {
1214
1214
  membership: z.ZodOptional<z.ZodObject<{
1215
1215
  state: z.ZodEnum<["unauthenticated", "unknown", "active", "not_enrolled", "closed", "unavailable"]>;
1216
1216
  }, "strip", z.ZodTypeAny, {
1217
- state: "unknown" | "unavailable" | "unauthenticated" | "active" | "not_enrolled" | "closed";
1217
+ state: "unknown" | "unavailable" | "active" | "unauthenticated" | "not_enrolled" | "closed";
1218
1218
  }, {
1219
- state: "unknown" | "unavailable" | "unauthenticated" | "active" | "not_enrolled" | "closed";
1219
+ state: "unknown" | "unavailable" | "active" | "unauthenticated" | "not_enrolled" | "closed";
1220
1220
  }>>;
1221
1221
  }, "strip", z.ZodTypeAny, {
1222
1222
  bound: {
@@ -1226,7 +1226,7 @@ export declare const parkingCardDataSchemas: {
1226
1226
  }[];
1227
1227
  message?: string | undefined;
1228
1228
  membership?: {
1229
- state: "unknown" | "unavailable" | "unauthenticated" | "active" | "not_enrolled" | "closed";
1229
+ state: "unknown" | "unavailable" | "active" | "unauthenticated" | "not_enrolled" | "closed";
1230
1230
  } | undefined;
1231
1231
  }, {
1232
1232
  bound: {
@@ -1236,7 +1236,7 @@ export declare const parkingCardDataSchemas: {
1236
1236
  }[];
1237
1237
  message?: string | undefined;
1238
1238
  membership?: {
1239
- state: "unknown" | "unavailable" | "unauthenticated" | "active" | "not_enrolled" | "closed";
1239
+ state: "unknown" | "unavailable" | "active" | "unauthenticated" | "not_enrolled" | "closed";
1240
1240
  } | undefined;
1241
1241
  }>;
1242
1242
  readonly 'parking-info': z.ZodObject<{
@@ -327,8 +327,8 @@ 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
+ notice?: string | undefined;
332
332
  usageTimeText?: string | undefined;
333
333
  purchaseUrl?: string | undefined;
334
334
  presentation?: "coupon" | "promotion" | "offer" | "promotion-guide" | "package" | undefined;
@@ -372,8 +372,8 @@ 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
+ notice?: string | undefined;
377
377
  usageTimeText?: string | undefined;
378
378
  purchaseUrl?: string | undefined;
379
379
  presentation?: "coupon" | "promotion" | "offer" | "promotion-guide" | "package" | 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";
@@ -1594,8 +1594,8 @@ 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
+ notice?: string | undefined;
1599
1599
  usageTimeText?: string | undefined;
1600
1600
  purchaseUrl?: string | undefined;
1601
1601
  presentation?: "coupon" | "promotion" | "offer" | "promotion-guide" | "package" | undefined;
@@ -1639,8 +1639,8 @@ 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
+ notice?: string | undefined;
1644
1644
  usageTimeText?: string | undefined;
1645
1645
  purchaseUrl?: string | undefined;
1646
1646
  presentation?: "coupon" | "promotion" | "offer" | "promotion-guide" | "package" | 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,12 @@ 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_ENTRY_PROTOCOL_VERSION, ACTIVITY_PLAY_TARGET_KIND, activityPlayActivitySchema, activityPlayEntrySchema, activityPlayTargetSchema, activityPlayPluginAliasSchema, activityPlayTargetPageSchema, activityPlayDirectoryEntrySchema, activityPlayRefSchema, activityPlayTitleSchema, activityPlayDescriptionSchema, activityPlayTimeSchema, activityPlayImageUrlSchema, activityPlayStatusOf, } from './domain/activity-play';
16
18
  export { mallLocationSchema, parseMallLocation, mallUserRefSchema, parseMallUserRef } from './guard';
17
19
  export * from './shopping-guide/cards';
18
20
  export * from './member/cards';
19
21
  export * from './promotion/cards';
20
22
  export * from './parking/cards';
23
+ export * from './activity-play/cards';
21
24
  export * from './shared/cards';