@jagota/interfaces 1.2.42 → 1.2.44
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 +27 -27
- package/src/interfaces/bidding.interface.ts +85 -69
package/package.json
CHANGED
|
@@ -1,28 +1,28 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "@jagota/interfaces",
|
|
3
|
-
"version": "1.2.
|
|
4
|
-
"type": "module",
|
|
5
|
-
"description": "Interfaces for the Jagota Brothers project",
|
|
6
|
-
"main": "src/index.ts",
|
|
7
|
-
"scripts": {
|
|
8
|
-
"dev": "ts-node-dev src/index.ts"
|
|
9
|
-
},
|
|
10
|
-
"author": "Narendra Gupta",
|
|
11
|
-
"license": "MIT",
|
|
12
|
-
"keywords": [
|
|
13
|
-
"typescript",
|
|
14
|
-
"interfaces",
|
|
15
|
-
"nodejs",
|
|
16
|
-
"npm-package",
|
|
17
|
-
"jagota"
|
|
18
|
-
],
|
|
19
|
-
"repository": {
|
|
20
|
-
"type": "git",
|
|
21
|
-
"url": "https://github.com/jagota/jagota_pwa_interface.git"
|
|
22
|
-
},
|
|
23
|
-
"private": false,
|
|
24
|
-
"devDependencies": {
|
|
25
|
-
"ts-node-dev": "^1.1.8",
|
|
26
|
-
"typescript": "^5.5.4"
|
|
27
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"name": "@jagota/interfaces",
|
|
3
|
+
"version": "1.2.44",
|
|
4
|
+
"type": "module",
|
|
5
|
+
"description": "Interfaces for the Jagota Brothers project",
|
|
6
|
+
"main": "src/index.ts",
|
|
7
|
+
"scripts": {
|
|
8
|
+
"dev": "ts-node-dev src/index.ts"
|
|
9
|
+
},
|
|
10
|
+
"author": "Narendra Gupta",
|
|
11
|
+
"license": "MIT",
|
|
12
|
+
"keywords": [
|
|
13
|
+
"typescript",
|
|
14
|
+
"interfaces",
|
|
15
|
+
"nodejs",
|
|
16
|
+
"npm-package",
|
|
17
|
+
"jagota"
|
|
18
|
+
],
|
|
19
|
+
"repository": {
|
|
20
|
+
"type": "git",
|
|
21
|
+
"url": "https://github.com/jagota/jagota_pwa_interface.git"
|
|
22
|
+
},
|
|
23
|
+
"private": false,
|
|
24
|
+
"devDependencies": {
|
|
25
|
+
"ts-node-dev": "^1.1.8",
|
|
26
|
+
"typescript": "^5.5.4"
|
|
27
|
+
}
|
|
28
28
|
}
|
|
@@ -1,70 +1,86 @@
|
|
|
1
|
-
export interface IBiddingType {
|
|
2
|
-
recordId: number;
|
|
3
|
-
name: string;
|
|
4
|
-
}
|
|
5
|
-
|
|
6
|
-
export interface IBiddingPeriod {
|
|
7
|
-
recordId: number;
|
|
8
|
-
biddingTypeRid: number;
|
|
9
|
-
biddingTypeName: string;
|
|
10
|
-
startDate: Date;
|
|
11
|
-
submissionDay: number;
|
|
12
|
-
tenderDay: number;
|
|
13
|
-
status: string;
|
|
14
|
-
}
|
|
15
|
-
|
|
16
|
-
export interface ICustomerForBidding {
|
|
17
|
-
custCode: string;
|
|
18
|
-
custName: string;
|
|
19
|
-
status: string;
|
|
20
|
-
statusText: string;
|
|
21
|
-
tradeName: string;
|
|
22
|
-
biddingStatus: string;
|
|
23
|
-
}
|
|
24
|
-
export interface IBiddingCustomer {
|
|
25
|
-
custCode: string;
|
|
26
|
-
custName: string;
|
|
27
|
-
status: string;
|
|
28
|
-
statusText: string;
|
|
29
|
-
tradeName: string;
|
|
30
|
-
}
|
|
31
|
-
export interface IBiddingCustomerInfo {
|
|
32
|
-
custCode: string;
|
|
33
|
-
custName: string;
|
|
34
|
-
address: string;
|
|
35
|
-
tradeName: string;
|
|
36
|
-
salesCode: string;
|
|
37
|
-
salesName: string;
|
|
38
|
-
lastSalesDate?: Date;
|
|
39
|
-
win?: number;
|
|
40
|
-
loss?: number;
|
|
41
|
-
}
|
|
42
|
-
export interface IBiddingCustomerProductList {
|
|
43
|
-
custProductCode: string;
|
|
44
|
-
custProductName: string;
|
|
45
|
-
seq: number;
|
|
46
|
-
}
|
|
47
|
-
export interface IBiddingProductList extends IBiddingCustomerProductList {
|
|
48
|
-
productCode: string;
|
|
49
|
-
productShortCode: string;
|
|
50
|
-
productName: string;
|
|
51
|
-
thumbnail: string;
|
|
52
|
-
brand: string;
|
|
53
|
-
}
|
|
54
|
-
export interface IBiddingMarketList extends IBiddingCustomerProductList {
|
|
55
|
-
recordId: number;
|
|
56
|
-
productCode: string;
|
|
57
|
-
productShortCode: string;
|
|
58
|
-
productName: string;
|
|
59
|
-
thumbnail: string;
|
|
60
|
-
status: string;
|
|
61
|
-
}
|
|
62
|
-
export interface IBiddingMarketPayloadItem extends IBiddingCustomerProductList {
|
|
63
|
-
recordId: number;
|
|
64
|
-
productCode: string;
|
|
65
|
-
status: string;
|
|
66
|
-
}
|
|
67
|
-
export interface IBiddingMarketPayload
|
|
68
|
-
custCode: string;
|
|
69
|
-
list: IBiddingMarketPayloadItem[];
|
|
1
|
+
export interface IBiddingType {
|
|
2
|
+
recordId: number;
|
|
3
|
+
name: string;
|
|
4
|
+
}
|
|
5
|
+
|
|
6
|
+
export interface IBiddingPeriod {
|
|
7
|
+
recordId: number;
|
|
8
|
+
biddingTypeRid: number;
|
|
9
|
+
biddingTypeName: string;
|
|
10
|
+
startDate: Date;
|
|
11
|
+
submissionDay: number;
|
|
12
|
+
tenderDay: number;
|
|
13
|
+
status: string;
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
export interface ICustomerForBidding {
|
|
17
|
+
custCode: string;
|
|
18
|
+
custName: string;
|
|
19
|
+
status: string;
|
|
20
|
+
statusText: string;
|
|
21
|
+
tradeName: string;
|
|
22
|
+
biddingStatus: string;
|
|
23
|
+
}
|
|
24
|
+
export interface IBiddingCustomer {
|
|
25
|
+
custCode: string;
|
|
26
|
+
custName: string;
|
|
27
|
+
status: string;
|
|
28
|
+
statusText: string;
|
|
29
|
+
tradeName: string;
|
|
30
|
+
}
|
|
31
|
+
export interface IBiddingCustomerInfo {
|
|
32
|
+
custCode: string;
|
|
33
|
+
custName: string;
|
|
34
|
+
address: string;
|
|
35
|
+
tradeName: string;
|
|
36
|
+
salesCode: string;
|
|
37
|
+
salesName: string;
|
|
38
|
+
lastSalesDate?: Date;
|
|
39
|
+
win?: number;
|
|
40
|
+
loss?: number;
|
|
41
|
+
}
|
|
42
|
+
export interface IBiddingCustomerProductList {
|
|
43
|
+
custProductCode: string;
|
|
44
|
+
custProductName: string;
|
|
45
|
+
seq: number;
|
|
46
|
+
}
|
|
47
|
+
export interface IBiddingProductList extends IBiddingCustomerProductList {
|
|
48
|
+
productCode: string;
|
|
49
|
+
productShortCode: string;
|
|
50
|
+
productName: string;
|
|
51
|
+
thumbnail: string;
|
|
52
|
+
brand: string;
|
|
53
|
+
}
|
|
54
|
+
export interface IBiddingMarketList extends IBiddingCustomerProductList {
|
|
55
|
+
recordId: number;
|
|
56
|
+
productCode: string;
|
|
57
|
+
productShortCode: string;
|
|
58
|
+
productName: string;
|
|
59
|
+
thumbnail: string;
|
|
60
|
+
status: string;
|
|
61
|
+
}
|
|
62
|
+
export interface IBiddingMarketPayloadItem extends IBiddingCustomerProductList {
|
|
63
|
+
recordId: number;
|
|
64
|
+
productCode: string;
|
|
65
|
+
status: string;
|
|
66
|
+
}
|
|
67
|
+
export interface IBiddingMarketPayload {
|
|
68
|
+
custCode: string;
|
|
69
|
+
list: IBiddingMarketPayloadItem[];
|
|
70
|
+
}
|
|
71
|
+
export interface IBiddingPricelist extends IBiddingCustomerProductList {
|
|
72
|
+
recordId: number;
|
|
73
|
+
productCode: string;
|
|
74
|
+
productShortCode: string;
|
|
75
|
+
productName: string;
|
|
76
|
+
thumbnail: string;
|
|
77
|
+
unit: string;
|
|
78
|
+
minPrice?: number;
|
|
79
|
+
centerPrice?: number;
|
|
80
|
+
price?: number;
|
|
81
|
+
}
|
|
82
|
+
export interface IBiddingPricelistPayload {
|
|
83
|
+
custCode: string;
|
|
84
|
+
periodFrom: string;
|
|
85
|
+
periodTo: string;
|
|
70
86
|
}
|