@be-link/pos-cli-nodejs 0.0.179 → 1.0.0
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/package.json +1 -1
- package/types.d.ts +99 -1
package/package.json
CHANGED
package/types.d.ts
CHANGED
|
@@ -708,6 +708,101 @@ export interface IPositiveChangeSkuRecord {
|
|
|
708
708
|
/** 附件文件的URL列表 */
|
|
709
709
|
attachment: string[];
|
|
710
710
|
}
|
|
711
|
+
export interface IDescriptionItem {
|
|
712
|
+
type: 'text' | 'image';
|
|
713
|
+
value: string;
|
|
714
|
+
}
|
|
715
|
+
export interface IStore {
|
|
716
|
+
_id: string;
|
|
717
|
+
diamond: number;
|
|
718
|
+
star: number;
|
|
719
|
+
openTime: string;
|
|
720
|
+
closeTime: string;
|
|
721
|
+
_createTime: number;
|
|
722
|
+
_updateTime: number;
|
|
723
|
+
name: string;
|
|
724
|
+
phone: string;
|
|
725
|
+
isInsideScenicSpot?: boolean;
|
|
726
|
+
isFriendlyForPet?: boolean;
|
|
727
|
+
description?: IDescriptionItem[];
|
|
728
|
+
chatId: string;
|
|
729
|
+
mealInfo?: {
|
|
730
|
+
breakfast: {
|
|
731
|
+
begin: string;
|
|
732
|
+
end: string;
|
|
733
|
+
type: 'BUFFET' | 'ORDER' | 'COMBO' | 'LIGHTMEAL';
|
|
734
|
+
pricePerPerson: number;
|
|
735
|
+
};
|
|
736
|
+
lunch: {
|
|
737
|
+
begin: string;
|
|
738
|
+
end: string;
|
|
739
|
+
type: 'BUFFET' | 'ORDER' | 'COMBO' | 'LIGHTMEAL';
|
|
740
|
+
pricePerPerson: number;
|
|
741
|
+
};
|
|
742
|
+
dinner: {
|
|
743
|
+
begin: string;
|
|
744
|
+
end: string;
|
|
745
|
+
type: 'BUFFET' | 'ORDER' | 'COMBO' | 'LIGHTMEAL';
|
|
746
|
+
pricePerPerson: number;
|
|
747
|
+
};
|
|
748
|
+
description: IDescriptionItem[];
|
|
749
|
+
};
|
|
750
|
+
trafficInfo?: {
|
|
751
|
+
parking: {
|
|
752
|
+
pricePerHour: number;
|
|
753
|
+
};
|
|
754
|
+
pickUp: string;
|
|
755
|
+
desc: {
|
|
756
|
+
metro: string;
|
|
757
|
+
bus: string;
|
|
758
|
+
};
|
|
759
|
+
shuttleBus: {
|
|
760
|
+
pricePerPerson: number;
|
|
761
|
+
boardingPoint: string;
|
|
762
|
+
};
|
|
763
|
+
};
|
|
764
|
+
facilities?: string[];
|
|
765
|
+
customerRoomInfo?: {
|
|
766
|
+
delayCheckOutPricePerHour: number;
|
|
767
|
+
isOfferToiletries: boolean;
|
|
768
|
+
checkInTime: string;
|
|
769
|
+
checkOutTime: string;
|
|
770
|
+
room: {
|
|
771
|
+
singleBed?: {
|
|
772
|
+
area: number;
|
|
773
|
+
};
|
|
774
|
+
doubleBed?: {
|
|
775
|
+
area: number;
|
|
776
|
+
};
|
|
777
|
+
};
|
|
778
|
+
description: IDescriptionItem[];
|
|
779
|
+
};
|
|
780
|
+
attractionInfo?: IDescriptionItem[];
|
|
781
|
+
attractionInfoV2?: {
|
|
782
|
+
name: string;
|
|
783
|
+
images: string[];
|
|
784
|
+
distanceDesc: string;
|
|
785
|
+
ticket: {
|
|
786
|
+
isNeedTicket: boolean;
|
|
787
|
+
purchaseDesc: string;
|
|
788
|
+
discount: {
|
|
789
|
+
crowd: string;
|
|
790
|
+
application: string;
|
|
791
|
+
policy: string;
|
|
792
|
+
}[];
|
|
793
|
+
};
|
|
794
|
+
openTime: string;
|
|
795
|
+
desc: string;
|
|
796
|
+
}[];
|
|
797
|
+
poi: {
|
|
798
|
+
province: string;
|
|
799
|
+
city: string;
|
|
800
|
+
region: string;
|
|
801
|
+
address: string;
|
|
802
|
+
longitude: number;
|
|
803
|
+
latitude: number;
|
|
804
|
+
};
|
|
805
|
+
}
|
|
711
806
|
export interface IRawOrderStructure {
|
|
712
807
|
basicInfo: IPositiveOrder;
|
|
713
808
|
attributes?: {
|
|
@@ -726,6 +821,7 @@ export interface IRawOrderStructure {
|
|
|
726
821
|
};
|
|
727
822
|
commodityInfo?: (IPositiveItemInfo & {
|
|
728
823
|
skus: IPositiveSkuInfo[];
|
|
824
|
+
storeInfo?: IStore;
|
|
729
825
|
})[];
|
|
730
826
|
paymentInfo?: IPositivePaymentInfo[];
|
|
731
827
|
promotionInfo?: IPositivePromotionInfo[];
|
|
@@ -858,7 +954,9 @@ export interface QueryDataBlockTypeMap {
|
|
|
858
954
|
/** 标记信息 */
|
|
859
955
|
attributes: IPositiveAttributes;
|
|
860
956
|
/** 商品快照信息 */
|
|
861
|
-
itemInfo: IPositiveItemInfo
|
|
957
|
+
itemInfo: (IPositiveItemInfo & {
|
|
958
|
+
storeInfo: IStore;
|
|
959
|
+
})[];
|
|
862
960
|
/** sku快照信息 */
|
|
863
961
|
skuInfo: IPositiveSkuInfo[];
|
|
864
962
|
/** 支付信息 */
|