@tbox.cn/app-contracts-mall 1.0.0-alpha.15 → 1.0.0-alpha.17
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/domain/entitlement.d.ts +2 -0
- package/dist/index.d.ts +1 -0
- package/dist/member/cards.d.ts +6 -6
- package/dist/promotion/cards.d.ts +6 -0
- package/dist/runtime.d.ts +1 -0
- package/dist/runtime.js +689 -676
- package/dist/services/indoor-navigation.d.ts +39 -0
- package/dist/shopping-guide/cards.d.ts +45 -0
- package/package.json +2 -2
- package/src/domain/entitlement.ts +2 -0
- package/src/index.ts +1 -0
- package/src/member/cards.ts +1 -1
- package/src/promotion/cards.ts +1 -0
- package/src/runtime.ts +4 -0
- package/src/services/indoor-navigation.ts +46 -0
- package/src/services/shopping-guide.ts +4 -0
- package/src/shopping-guide/cards.ts +8 -0
|
@@ -47,6 +47,8 @@ export interface PromotionEntitlement {
|
|
|
47
47
|
readonly usageRuleText?: string;
|
|
48
48
|
}
|
|
49
49
|
export interface PromotionEntitlementPage {
|
|
50
|
+
/** 查询结果可附带支付宝卡包入口。 */
|
|
51
|
+
readonly showAlipayWallet?: boolean;
|
|
50
52
|
readonly items: readonly PromotionEntitlement[];
|
|
51
53
|
readonly nextCursor?: string;
|
|
52
54
|
readonly hasMore: boolean;
|
package/dist/index.d.ts
CHANGED
|
@@ -31,6 +31,7 @@ export * from './shopping-guide/cards';
|
|
|
31
31
|
export * from './shared/cards';
|
|
32
32
|
export * from './domain/shopping-guide';
|
|
33
33
|
export * from './services/shopping-guide';
|
|
34
|
+
export * from './services/indoor-navigation';
|
|
34
35
|
export * from './services/customer-service';
|
|
35
36
|
export * from './member/cards';
|
|
36
37
|
export * from './promotion/cards';
|
package/dist/member/cards.d.ts
CHANGED
|
@@ -69,7 +69,7 @@ export declare const memberCardSummaryCardDataSchema: z.ZodObject<{
|
|
|
69
69
|
cardDisplay: z.ZodString;
|
|
70
70
|
status: z.ZodEnum<["active", "inactive", "frozen", "expired", "unknown"]>;
|
|
71
71
|
levelName: z.ZodOptional<z.ZodString>;
|
|
72
|
-
availablePoints: z.ZodNumber
|
|
72
|
+
availablePoints: z.ZodOptional<z.ZodNumber>;
|
|
73
73
|
cardImageUrl: z.ZodOptional<z.ZodString>;
|
|
74
74
|
pointsRuleImageUrl: z.ZodOptional<z.ZodString>;
|
|
75
75
|
pointsRuleContent: z.ZodOptional<z.ZodString>;
|
|
@@ -160,8 +160,8 @@ export declare const memberCardSummaryCardDataSchema: z.ZodObject<{
|
|
|
160
160
|
userId: string;
|
|
161
161
|
cardRef: string;
|
|
162
162
|
cardDisplay: string;
|
|
163
|
-
availablePoints: number;
|
|
164
163
|
levelName?: string | undefined;
|
|
164
|
+
availablePoints?: number | undefined;
|
|
165
165
|
cardImageUrl?: string | undefined;
|
|
166
166
|
pointsRuleImageUrl?: string | undefined;
|
|
167
167
|
pointsRuleContent?: string | undefined;
|
|
@@ -197,8 +197,8 @@ export declare const memberCardSummaryCardDataSchema: z.ZodObject<{
|
|
|
197
197
|
userId: string;
|
|
198
198
|
cardRef: string;
|
|
199
199
|
cardDisplay: string;
|
|
200
|
-
availablePoints: number;
|
|
201
200
|
levelName?: string | undefined;
|
|
201
|
+
availablePoints?: number | undefined;
|
|
202
202
|
cardImageUrl?: string | undefined;
|
|
203
203
|
pointsRuleImageUrl?: string | undefined;
|
|
204
204
|
pointsRuleContent?: string | undefined;
|
|
@@ -540,7 +540,7 @@ export declare const memberCardDataSchemas: {
|
|
|
540
540
|
cardDisplay: z.ZodString;
|
|
541
541
|
status: z.ZodEnum<["active", "inactive", "frozen", "expired", "unknown"]>;
|
|
542
542
|
levelName: z.ZodOptional<z.ZodString>;
|
|
543
|
-
availablePoints: z.ZodNumber
|
|
543
|
+
availablePoints: z.ZodOptional<z.ZodNumber>;
|
|
544
544
|
cardImageUrl: z.ZodOptional<z.ZodString>;
|
|
545
545
|
pointsRuleImageUrl: z.ZodOptional<z.ZodString>;
|
|
546
546
|
pointsRuleContent: z.ZodOptional<z.ZodString>;
|
|
@@ -631,8 +631,8 @@ export declare const memberCardDataSchemas: {
|
|
|
631
631
|
userId: string;
|
|
632
632
|
cardRef: string;
|
|
633
633
|
cardDisplay: string;
|
|
634
|
-
availablePoints: number;
|
|
635
634
|
levelName?: string | undefined;
|
|
635
|
+
availablePoints?: number | undefined;
|
|
636
636
|
cardImageUrl?: string | undefined;
|
|
637
637
|
pointsRuleImageUrl?: string | undefined;
|
|
638
638
|
pointsRuleContent?: string | undefined;
|
|
@@ -668,8 +668,8 @@ export declare const memberCardDataSchemas: {
|
|
|
668
668
|
userId: string;
|
|
669
669
|
cardRef: string;
|
|
670
670
|
cardDisplay: string;
|
|
671
|
-
availablePoints: number;
|
|
672
671
|
levelName?: string | undefined;
|
|
672
|
+
availablePoints?: number | undefined;
|
|
673
673
|
cardImageUrl?: string | undefined;
|
|
674
674
|
pointsRuleImageUrl?: string | undefined;
|
|
675
675
|
pointsRuleContent?: string | undefined;
|
|
@@ -416,6 +416,7 @@ export declare const promotionOfferDetailCardDataSchema: z.ZodObject<{
|
|
|
416
416
|
export type PromotionOfferDetailCardData = z.infer<typeof promotionOfferDetailCardDataSchema>;
|
|
417
417
|
/** promotion-entitlement-list:我的券 */
|
|
418
418
|
export declare const promotionEntitlementListCardDataSchema: z.ZodObject<{
|
|
419
|
+
showAlipayWallet: z.ZodOptional<z.ZodBoolean>;
|
|
419
420
|
mallId: z.ZodOptional<z.ZodString>;
|
|
420
421
|
miniAppId: z.ZodOptional<z.ZodString>;
|
|
421
422
|
/** 客户端默认展示 4 条;传入正整数可覆盖该上限。 */
|
|
@@ -623,6 +624,7 @@ export declare const promotionEntitlementListCardDataSchema: z.ZodObject<{
|
|
|
623
624
|
noResultsReason?: string | undefined;
|
|
624
625
|
maxItems?: number | undefined;
|
|
625
626
|
nextCursor?: string | undefined;
|
|
627
|
+
showAlipayWallet?: boolean | undefined;
|
|
626
628
|
}, {
|
|
627
629
|
items: {
|
|
628
630
|
status: "USED" | "EXPIRED" | "UNKNOWN" | "EFFECTIVE" | "INVALID";
|
|
@@ -669,6 +671,7 @@ export declare const promotionEntitlementListCardDataSchema: z.ZodObject<{
|
|
|
669
671
|
noResultsReason?: string | undefined;
|
|
670
672
|
maxItems?: number | undefined;
|
|
671
673
|
nextCursor?: string | undefined;
|
|
674
|
+
showAlipayWallet?: boolean | undefined;
|
|
672
675
|
}>;
|
|
673
676
|
export type PromotionEntitlementListCardData = z.infer<typeof promotionEntitlementListCardDataSchema>;
|
|
674
677
|
/** promotion-activity-category-list:活动分类入口。 */
|
|
@@ -1684,6 +1687,7 @@ export declare const promotionCardDataSchemas: {
|
|
|
1684
1687
|
unavailableReason?: string | undefined;
|
|
1685
1688
|
}>;
|
|
1686
1689
|
readonly 'promotion-entitlement-list': z.ZodObject<{
|
|
1690
|
+
showAlipayWallet: z.ZodOptional<z.ZodBoolean>;
|
|
1687
1691
|
mallId: z.ZodOptional<z.ZodString>;
|
|
1688
1692
|
miniAppId: z.ZodOptional<z.ZodString>;
|
|
1689
1693
|
/** 客户端默认展示 4 条;传入正整数可覆盖该上限。 */
|
|
@@ -1891,6 +1895,7 @@ export declare const promotionCardDataSchemas: {
|
|
|
1891
1895
|
noResultsReason?: string | undefined;
|
|
1892
1896
|
maxItems?: number | undefined;
|
|
1893
1897
|
nextCursor?: string | undefined;
|
|
1898
|
+
showAlipayWallet?: boolean | undefined;
|
|
1894
1899
|
}, {
|
|
1895
1900
|
items: {
|
|
1896
1901
|
status: "USED" | "EXPIRED" | "UNKNOWN" | "EFFECTIVE" | "INVALID";
|
|
@@ -1937,6 +1942,7 @@ export declare const promotionCardDataSchemas: {
|
|
|
1937
1942
|
noResultsReason?: string | undefined;
|
|
1938
1943
|
maxItems?: number | undefined;
|
|
1939
1944
|
nextCursor?: string | undefined;
|
|
1945
|
+
showAlipayWallet?: boolean | undefined;
|
|
1940
1946
|
}>;
|
|
1941
1947
|
readonly 'promotion-activity-category-list': z.ZodObject<{
|
|
1942
1948
|
items: z.ZodArray<z.ZodObject<{
|
package/dist/runtime.d.ts
CHANGED
|
@@ -12,6 +12,7 @@ export { MEMBER_ACCOUNT_SERVICE, MEMBER_PROFILE_SERVICE, MEMBER_CARD_SERVICE, ME
|
|
|
12
12
|
export { PARKING_QUERY_SERVICE, PARKING_PAYMENT_SERVICE, PARKING_VEHICLE_SERVICE, PARKING_SNAPSHOT_SERVICE } from './services/parking';
|
|
13
13
|
export { PROMOTION_OFFERS_SERVICE, PROMOTION_ENTITLEMENTS_SERVICE, PROMOTION_ACTIVITIES_SERVICE, PROMOTION_ACQUISITION_SERVICE, PROMOTION_DEAL_RECALL_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
|
+
export { INDOOR_NAVIGATION_SERVICE, indoorNavigationUrlSchema, } from './services/indoor-navigation';
|
|
15
16
|
export { MALL_INFO_SERVICE } from './services/mall-info';
|
|
16
17
|
export { ACTIVITY_PLAY_QUERY_SERVICE } from './services/activity-play';
|
|
17
18
|
export { ACTIVITY_PLAY_PRIZES_SERVICE } from './services/activity-play-prize';
|