export type TODO = unknown; export type Shop = { shopId: number; userId: number; title: string; logo: number; address: string; createTime: string; updateTime: string; }; export type ApiResult = { code: number; message: string; data: any; }; export type Setttings = { client: any; api: { url: string; }; }; export type payMethod = { id: number; enName: string; cnName: string; logoUrl: string; payWayId: string; createtime: string; currencies: string[]; customsCountries: string[]; }; export type payMethods = { list: payMethod[]; hasIdentity: boolean; idName: string; idNumber: string; }; export type Endpoints = TODO; export type BillingAddress = TODO; export type CartItem = { createTime: string; goodId: string; id: number; image: string; memberId: number; num: number; offShelves: number; price: number; properties: any; shopId: number; skuId: string; stockShortage: string; title: string; disprice?: number; discountPrice?: number; }; export type Cart = { total: number; list: CartItem[]; setType: number; }; export type Category = { name: string; slug: string; }; export type Coupon = TODO; export type Facet = { list: any[]; total: number; page: number; limit: number; }; export type FacetSearchCriteria = TODO; export type MakeOrder = { appId: string; timeStamp: string; nonceStr: string; package: string; signType: string; paySign: string; }; export type OrderItem = { orderId: string; shopId: number; goodId: number; skuId: number; num: number; price: number; discount: number; totalPayment: number; activityInfo: string; title: string; imgUrl: string; skuProp: string; isGift: number; taxFee: number; }; export type SubOrder = { subOrderId: string; payment: number; }; export type Order = { orderId: string; memberId: number; totalCount: number; discount: number; postFee: number; taxFee: number; payment: number; activityInfo: 'string'; userNote: 'string'; memberNote: 'string'; fromId: 'string'; fxId: number; payWayId: number; status: 'string'; pickupOrder: number; addressId: number; shopId: number; orderItem: OrderItem[]; createTime: string; combined: number; transCurrency: string; transAmount: string; postFeeTax: number; insuranceFee: number; insuranceTax: number; city: string; street: string; apartment: string; zipCode: string; phone: string; lastName: string; firstName: string; country: string; state: string; logisticsName: string; shipmentId: string; serviceOrder: any; currency: string; }; export type ExpressDetail = { expressName: string; postage: number; carryId: string; }; export type POrder = { orderId: string; memberId: number; totalCount: number; discount: number; postFee: number; taxFee: number; payment: number; activityInfo: 'string'; userNote: 'string'; memberNote: 'string'; fromId: 'string'; fxId: number; payWayId: number; status: 'string'; pickupOrder: number; addressId: number; shopId: number; orderItem: OrderItem[]; createTime: string; combined: number; shop: Shop; express: ExpressDetail; idName: string; idNumber: string; idType: string; country: string; state: string; city: string; street: string; apartment: string; zipCode: string; phone: string; lastName: string; firstName: string; postFeeTax: number; insuranceFee: number; insuranceTax: number; }; export type ExpressChart = { [key: string]: ExpressDetail[] | null | undefined; } | null | undefined; export type PreOrder = { prepayId: string; totalCount: number; payment: number; orders: POrder[]; errs: string[]; expressChart: ExpressChart; promoCodes: string[]; previewId: string; hasIdentityCheck: boolean; goodsService: any; transCurrency: string; }; export type PasswordResetResult = { code: number; data: any; message: string; }; export type ProductFilter = TODO; export type ReviewItem = { reviewId: number; orderId: string; goodsId: number; skuId: number; grade: number; reviewContent: string; nick: string; createTime: string; imageUrl1: string; imageUrl2: string; imageUrl3: string; imageUrl4: string; imageUrl5: string; videoUrl: string; }; export type Review = [ReviewItem]; export type User = { memberId: number; email: string; firstName: string; lastName: string; nick: string; phone: string; avatar: string; createTime: string; lastIp: string; }; export type Guest = { token: null; }; export type UserBillingAddress = TODO; export type UserBillingAddressItem = TODO; export type UserBillingAddressSearchCriteria = TODO; export type UserShippingAddressItem = { addressId: number; firstName: string; lastName: string; streetName: string; apartment: string; city: string; state: string; zipCode: number; country: string; phoneNumber: string; sort: number; isDefault: number; }; export type UserShippingAddress = { list: UserShippingAddressItem[]; total: number; page: number; limit: number; }; export type UserShippingAddressSearchCriteria = TODO; export type ShippingAddress = TODO; export type ShippingMethod = { shipId: number; shopId: number; title: string; price: number; isOpen: number; delivery: string; value: string; description: string; createAt: string; updateAt: string; }; export type ShippingProvider = { list: ShippingMethod[]; }; export type ShopView = { id: string; name: string; logo: string; logo1: string; lang: string; file: string; currency: string; isDefault: boolean; }; export type ShopViews = ShopView[]; export type Store = { id: string; name: string; logo: string; lang: string; file: string; currency: string; selected: boolean; }; export type Stores = Store[]; export type Wishlist = { total: number; list: any[]; page: number; limit: number; }; export type WishlistItem = { goods: any; sku: any; goodId: number; skuId: number; favId: number; }; export type WishAdd = { data: any; }; export type WishDelete = { data: any; }; export type GoodListsParams = { subCatId?: number; catId?: number; limit?: number; page?: number; sort?: string; q?: string; }; export type SkuDetails = { skuId: number; shopId: number; goodId: number; propsIds: string; price: number; stockNum: number; outId: string; barcode: string; taxRate: number; skuImage: string; viewId: number; originalPrice: number; }; export type SkuPropValues = { valueId: number; propValue: string; imgUrl: string; viewId: number; }; export type SkuProps = { propId: number; propName: string; imgUrl: string; viewId: string; values: SkuPropValues[]; }; export type GoodDetails = { goodId: number; shopID: number; viewID: number; catId: number; title: string; priceMin: number; priceMax: number; desc: string; note: string; videoUrl: string; imageUrl: string; imageUrl1: string; imageUrl2: string; imageUrl3: string; imageUrl4: string; imageUrl5: string; imageUrl6: string; imageUrl7: string; imageUrl8: string; imageUrl9: string; isInWishlist: boolean; rate: number; createTime: string; updateTime: string; skus: SkuDetails[]; skuProps: SkuProps[]; slug: string; goodInfos: any; subTitle: string; cId: number; relateGoods: any; discountRatio: number; discountPriceMin: number; discountPriceMax: number; }; export type GoodInfo = { goodId: number; shopID: number; viewID: number; catId: number; title: string; priceMin: number; priceMax: number; desc: string; note: string; videoUrl: string; imageUrl: string; imageUrl1: string; imageUrl2: string; imageUrl3: string; imageUrl4: string; imageUrl5: string; imageUrl6: string; imageUrl7: string; imageUrl8: string; imageUrl9: string; isInWishlist: boolean; rate: number; createTime: string; updateTime: string; skus: SkuDetails[]; skuProps: SkuProps[]; slug: string; goodInfos: any; subTitle: string; cId: number; relateGoods: any; discountRatio: number; discountPriceMin: number; discountPriceMax: number; catTree: any; shopName: string; shopDomain: string; exchangeRate: number; shippingPeriod: number; keywords: string; }; export type Product = GoodDetails; export type deliveryCountries = { Id: number; shopId: number; GoodsId: number; deliveryCountry: string; }; export type NewGoodDetails = { goodId: number; shopID: number; viewID: number; catId: number; title: string; priceMin: number; priceMax: number; desc: string; note: string; videoUrl: string; imageUrl: string; imageUrl1: string; imageUrl2: string; imageUrl3: string; imageUrl4: string; imageUrl5: string; imageUrl6: string; imageUrl7: string; imageUrl8: string; imageUrl9: string; isInWishlist: boolean; rate: number; createTime: string; updateTime: string; skus: SkuDetails[]; skuProps: SkuProps[]; slug: string; goodInfos: any; subTitle: string; cId: number; relateGoods: any; discountRatio: number; discountPriceMin: number; discountPriceMax: number; deliveryCountries: deliveryCountries[]; }; export type newGoodList = { total: number; list: NewGoodDetails[]; page: number; limit: number; }; export type GoodList = { total: number; list: GoodDetails[]; page: number; limit: number; }; export type GetCatParams = { shopId: bigint; }; export type CatDetails = { catId: bigint; shopId: bigint; name: string; pCatId: bigint; weight: number; imageUrl: string; count: number; slug: string; isSub: boolean; }; export type CatList = { catId: bigint; shopId: bigint; name: string; pCatId: bigint; weight: number; imageUrl: string; count: number; slug: string; subCats: CatDetails[]; }; export type SubscribeItem = { id: number; shopId: number; memberId: number; email: string; createTime: string; }; export type Subscribe = { list: SubscribeItem[]; total: number; }; export type SubscribeAdd = { data: any; }; export type UserReviewItem = { reviewId: number; orderId: string; goodsId: number; skuId: number; grade: number; reviewContent: string; }; export type Config = { id: number; shop_id: number; name: string; lang: string; config: any; is_default: 0; }; export type GuoJia = { name: string; simple_speech: string; key: string; }; export type GuoJias = GuoJia[]; export type WayBillItem = { Id: string; orderId: string; shopId: number; shippingCode: string; shippingCorp: string; isMain: number; sort: number; data: string; createTime: string; details: any; }; export type WayBillItems = WayBillItem[]; export type goodsService = { serviceId: string; serviceName: string; price: number; description: string; multiple: 1; };