plaza-sdk 1.0.2 → 1.0.4
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/lib/browser/bundle.iife.js +1 -1
- package/lib/browser/bundle.umd.js +1 -1
- package/lib/cjs/common/index.d.ts +3 -0
- package/lib/cjs/common/index.js +1 -0
- package/lib/cjs/common/interfaces.d.ts +4 -0
- package/lib/cjs/index.d.ts +1 -1
- package/lib/cjs/index.js +1 -1
- package/lib/cjs/modules/index.d.ts +1 -1
- package/lib/cjs/modules/index.js +1 -1
- package/lib/cjs/modules/{uzum-market → uzum-market-api}/common/interfaces.d.ts +43 -7
- package/lib/cjs/modules/uzum-market-api/core/auth/api.d.ts +5 -0
- package/lib/cjs/modules/uzum-market-api/core/auth/api.js +1 -0
- package/lib/cjs/modules/uzum-market-api/core/auth/enums.d.ts +6 -0
- package/lib/cjs/modules/uzum-market-api/core/auth/enums.js +1 -0
- package/lib/cjs/modules/uzum-market-api/core/auth/index.js +1 -0
- package/lib/cjs/modules/uzum-market-api/core/auth/params.d.ts +4 -0
- package/lib/cjs/modules/uzum-market-api/core/auth/types.d.ts +42 -0
- package/lib/cjs/modules/uzum-market-api/core/index.js +1 -0
- package/lib/cjs/modules/{uzum-market → uzum-market-api}/core/products/api.d.ts +6 -0
- package/lib/cjs/modules/uzum-market-api/core/products/api.js +1 -0
- package/lib/cjs/modules/uzum-market-api/core/products/index.js +1 -0
- package/lib/cjs/modules/{uzum-market → uzum-market-api}/core/products/params.d.ts +3 -0
- package/lib/cjs/modules/uzum-market-api/core/products/types.d.ts +37 -0
- package/lib/cjs/modules/uzum-market-api/core/products/types.js +1 -0
- package/lib/cjs/modules/uzum-market-api/core/types.d.ts +220 -0
- package/lib/cjs/modules/uzum-market-api/core/types.js +1 -0
- package/lib/cjs/modules/uzum-market-api/index.d.ts +3 -0
- package/lib/cjs/modules/uzum-market-api/index.js +1 -0
- package/lib/esm/common/index.d.ts +3 -0
- package/lib/esm/common/index.js +1 -0
- package/lib/esm/common/interfaces.d.ts +4 -0
- package/lib/esm/index.d.ts +1 -1
- package/lib/esm/index.js +1 -1
- package/lib/esm/modules/index.d.ts +1 -1
- package/lib/esm/modules/index.js +1 -1
- package/lib/esm/modules/{uzum-market → uzum-market-api}/common/interfaces.d.ts +43 -7
- package/lib/esm/modules/uzum-market-api/core/auth/api.d.ts +5 -0
- package/lib/esm/modules/uzum-market-api/core/auth/api.js +1 -0
- package/lib/esm/modules/uzum-market-api/core/auth/enums.d.ts +6 -0
- package/lib/esm/modules/uzum-market-api/core/auth/enums.js +1 -0
- package/lib/esm/modules/uzum-market-api/core/auth/index.d.ts +1 -0
- package/lib/esm/modules/uzum-market-api/core/auth/index.js +1 -0
- package/lib/esm/modules/uzum-market-api/core/auth/params.d.ts +4 -0
- package/lib/esm/modules/uzum-market-api/core/auth/types.d.ts +42 -0
- package/lib/esm/modules/uzum-market-api/core/index.js +1 -0
- package/lib/esm/modules/{uzum-market → uzum-market-api}/core/products/api.d.ts +6 -0
- package/lib/esm/modules/{uzum-market → uzum-market-api}/core/products/api.js +1 -1
- package/lib/esm/modules/uzum-market-api/core/products/index.d.ts +1 -0
- package/lib/esm/modules/uzum-market-api/core/products/index.js +1 -0
- package/lib/esm/modules/{uzum-market → uzum-market-api}/core/products/params.d.ts +3 -0
- package/lib/esm/modules/uzum-market-api/core/products/types.d.ts +37 -0
- package/lib/esm/modules/uzum-market-api/core/products/types.js +1 -0
- package/lib/esm/modules/uzum-market-api/core/types.d.ts +220 -0
- package/lib/esm/modules/uzum-market-api/core/types.js +1 -0
- package/lib/esm/modules/uzum-market-api/index.d.ts +3 -0
- package/lib/esm/modules/uzum-market-api/index.js +1 -0
- package/package.json +9 -6
- package/lib/cjs/modules/uzum-market/core/index.js +0 -1
- package/lib/cjs/modules/uzum-market/core/products/api.js +0 -1
- package/lib/cjs/modules/uzum-market/core/products/index.js +0 -1
- package/lib/cjs/modules/uzum-market/core/products/types.d.ts +0 -46
- package/lib/cjs/modules/uzum-market/core/types.d.ts +0 -109
- package/lib/cjs/modules/uzum-market/index.d.ts +0 -1
- package/lib/cjs/modules/uzum-market/index.js +0 -1
- package/lib/esm/modules/uzum-market/core/index.js +0 -1
- package/lib/esm/modules/uzum-market/core/products/index.js +0 -1
- package/lib/esm/modules/uzum-market/core/products/types.d.ts +0 -46
- package/lib/esm/modules/uzum-market/core/types.d.ts +0 -109
- package/lib/esm/modules/uzum-market/index.d.ts +0 -1
- package/lib/esm/modules/uzum-market/index.js +0 -1
- /package/lib/cjs/modules/{uzum-market → uzum-market-api}/common/interfaces.js +0 -0
- /package/lib/cjs/modules/{uzum-market → uzum-market-api}/common/types.d.ts +0 -0
- /package/lib/cjs/modules/{uzum-market → uzum-market-api}/common/types.js +0 -0
- /package/lib/cjs/modules/{uzum-market → uzum-market-api}/common/utils.d.ts +0 -0
- /package/lib/cjs/modules/{uzum-market → uzum-market-api}/common/utils.js +0 -0
- /package/lib/cjs/modules/{uzum-market/core/products → uzum-market-api/core/auth}/index.d.ts +0 -0
- /package/lib/cjs/modules/{uzum-market/core/products → uzum-market-api/core/auth}/params.js +0 -0
- /package/lib/cjs/modules/{uzum-market/core/products → uzum-market-api/core/auth}/types.js +0 -0
- /package/lib/cjs/modules/{uzum-market → uzum-market-api}/core/index.d.ts +0 -0
- /package/lib/{esm/modules/uzum-market → cjs/modules/uzum-market-api}/core/products/index.d.ts +0 -0
- /package/lib/cjs/modules/{uzum-market → uzum-market-api}/core/products/mappers.d.ts +0 -0
- /package/lib/cjs/modules/{uzum-market → uzum-market-api}/core/products/mappers.js +0 -0
- /package/lib/cjs/modules/{uzum-market/core/types.js → uzum-market-api/core/products/params.js} +0 -0
- /package/lib/esm/modules/{uzum-market → uzum-market-api}/common/interfaces.js +0 -0
- /package/lib/esm/modules/{uzum-market → uzum-market-api}/common/types.d.ts +0 -0
- /package/lib/esm/modules/{uzum-market → uzum-market-api}/common/types.js +0 -0
- /package/lib/esm/modules/{uzum-market → uzum-market-api}/common/utils.d.ts +0 -0
- /package/lib/esm/modules/{uzum-market → uzum-market-api}/common/utils.js +0 -0
- /package/lib/esm/modules/{uzum-market/core/products → uzum-market-api/core/auth}/params.js +0 -0
- /package/lib/esm/modules/{uzum-market/core/products → uzum-market-api/core/auth}/types.js +0 -0
- /package/lib/esm/modules/{uzum-market → uzum-market-api}/core/index.d.ts +0 -0
- /package/lib/esm/modules/{uzum-market → uzum-market-api}/core/products/mappers.d.ts +0 -0
- /package/lib/esm/modules/{uzum-market → uzum-market-api}/core/products/mappers.js +0 -0
- /package/lib/esm/modules/{uzum-market/core/types.js → uzum-market-api/core/products/params.js} +0 -0
|
@@ -1,109 +0,0 @@
|
|
|
1
|
-
import { NumberNullable, StringNullable } from "@/common/types";
|
|
2
|
-
import { Dimensions, PromotionSku, RankInfo, SkuCharacteristic, Status, StatusValue } from "../common/interfaces";
|
|
3
|
-
export declare namespace UzumMarketEntity {
|
|
4
|
-
interface SkuCore {
|
|
5
|
-
id: number;
|
|
6
|
-
skuTitle: string;
|
|
7
|
-
quantityCreated: number;
|
|
8
|
-
fullPrice: number;
|
|
9
|
-
sellPrice: number;
|
|
10
|
-
barcode: string;
|
|
11
|
-
ikpu: string;
|
|
12
|
-
skuCharacteristicList: SkuCharacteristic[];
|
|
13
|
-
isActive: boolean;
|
|
14
|
-
canEdit: boolean;
|
|
15
|
-
blocked: boolean;
|
|
16
|
-
status: StatusValue;
|
|
17
|
-
commission: number;
|
|
18
|
-
}
|
|
19
|
-
interface FilledSkuItem extends SkuCore {
|
|
20
|
-
dimensions: Dimensions;
|
|
21
|
-
article: string | null;
|
|
22
|
-
switchbackActive: boolean;
|
|
23
|
-
marketPrice: number;
|
|
24
|
-
blockReasons: unknown[];
|
|
25
|
-
}
|
|
26
|
-
interface SkuWithDetails extends SkuCore {
|
|
27
|
-
dimensions: Dimensions;
|
|
28
|
-
article: StringNullable;
|
|
29
|
-
switchbackActive: boolean;
|
|
30
|
-
marketPrice: number;
|
|
31
|
-
blockReasons: unknown[];
|
|
32
|
-
}
|
|
33
|
-
interface PromotionProduct {
|
|
34
|
-
productId: number;
|
|
35
|
-
skus: PromotionSku[];
|
|
36
|
-
}
|
|
37
|
-
interface ProductQuantity {
|
|
38
|
-
quantityCreated: number;
|
|
39
|
-
quantityActive: number;
|
|
40
|
-
quantityFbs: number;
|
|
41
|
-
quantityAdditional: number;
|
|
42
|
-
quantityOnPhotoStudio: number;
|
|
43
|
-
quantityArchived?: number;
|
|
44
|
-
quantitySold: number;
|
|
45
|
-
quantityReturned: number;
|
|
46
|
-
quantityMissing: number;
|
|
47
|
-
quantityDefected: number;
|
|
48
|
-
quantityPending: number;
|
|
49
|
-
returnedPercentage: number;
|
|
50
|
-
pstorage: boolean;
|
|
51
|
-
}
|
|
52
|
-
interface SkuWithQuantities extends Required<ProductQuantity> {
|
|
53
|
-
skuTitle: string;
|
|
54
|
-
skuFullTitle: string;
|
|
55
|
-
productTitle: string;
|
|
56
|
-
skuId: number;
|
|
57
|
-
barcode: number;
|
|
58
|
-
archived: boolean;
|
|
59
|
-
commission: NumberNullable;
|
|
60
|
-
characteristics: string;
|
|
61
|
-
previewImage: string;
|
|
62
|
-
ikpu: string;
|
|
63
|
-
purchasePrice: NumberNullable;
|
|
64
|
-
price: number;
|
|
65
|
-
recommendedTotalPrice: NumberNullable;
|
|
66
|
-
blockingReason: StringNullable;
|
|
67
|
-
blockReasons: string[];
|
|
68
|
-
skuBlockReason: StringNullable;
|
|
69
|
-
blocked: boolean;
|
|
70
|
-
rankInfo: RankInfo;
|
|
71
|
-
article: unknown;
|
|
72
|
-
turnover: StringNullable;
|
|
73
|
-
dimensionalGroup: StringNullable;
|
|
74
|
-
paidStorageDimensionalGroup: StringNullable;
|
|
75
|
-
paidStoragePriceItem: StringNullable;
|
|
76
|
-
paidStorageAmount: StringNullable;
|
|
77
|
-
actualDimensionalGroup: StringNullable;
|
|
78
|
-
hasStudioPhoto: unknown;
|
|
79
|
-
forecastOutOfStock: boolean;
|
|
80
|
-
activeSale: boolean;
|
|
81
|
-
switchbackActive: boolean;
|
|
82
|
-
marketPrice: number;
|
|
83
|
-
characteristicsList: SkuCharacteristic[];
|
|
84
|
-
status: StatusValue;
|
|
85
|
-
skuDimension: Dimensions;
|
|
86
|
-
avgdsales: NumberNullable;
|
|
87
|
-
avgdquantity: NumberNullable;
|
|
88
|
-
}
|
|
89
|
-
interface Product extends ProductQuantity {
|
|
90
|
-
productId: number;
|
|
91
|
-
category: string;
|
|
92
|
-
rating: string;
|
|
93
|
-
commission: NumberNullable;
|
|
94
|
-
status: Status;
|
|
95
|
-
skuList: SkuWithQuantities[];
|
|
96
|
-
skuTitle: string;
|
|
97
|
-
image: string;
|
|
98
|
-
title: string;
|
|
99
|
-
price: number;
|
|
100
|
-
clicks: NumberNullable;
|
|
101
|
-
viewers: number;
|
|
102
|
-
conversion: number;
|
|
103
|
-
blockReason: StringNullable;
|
|
104
|
-
blockComment: StringNullable;
|
|
105
|
-
dateModerated: StringNullable;
|
|
106
|
-
auctionMember: boolean;
|
|
107
|
-
isActive: boolean;
|
|
108
|
-
}
|
|
109
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from "./core/products";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export{AddPromotion,ArchiveProduct,InvolvedProductsList,ProductDescription,ProductsList,RemovePromotion,UnarchiveProduct}from"./core/products/api.js";
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
/package/lib/{esm/modules/uzum-market → cjs/modules/uzum-market-api}/core/products/index.d.ts
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
/package/lib/cjs/modules/{uzum-market/core/types.js → uzum-market-api/core/products/params.js}
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
/package/lib/esm/modules/{uzum-market/core/types.js → uzum-market-api/core/products/params.js}
RENAMED
|
File without changes
|