asv-hlps-market 1.0.47 → 1.0.49
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.
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import Shop from "asv-hlps/lib/cjs/markets/shops/models/Shop";
|
|
2
2
|
import BaseSale from "asv-hlps/lib/cjs/sales/models/Sale";
|
|
3
|
+
import SaleProduct from "./SaleProduct";
|
|
3
4
|
export default interface Sale extends BaseSale {
|
|
4
5
|
isPaid: boolean;
|
|
5
6
|
isPartialPaid: boolean;
|
|
@@ -10,4 +11,5 @@ export default interface Sale extends BaseSale {
|
|
|
10
11
|
shop?: Shop;
|
|
11
12
|
shops?: Shop[];
|
|
12
13
|
mbrId?: number;
|
|
14
|
+
saleProducts?: SaleProduct[];
|
|
13
15
|
}
|
|
@@ -7,23 +7,24 @@ export declare enum TontStatus {
|
|
|
7
7
|
PUBLIC = "public"
|
|
8
8
|
}
|
|
9
9
|
export interface Tont {
|
|
10
|
-
|
|
11
|
-
createdAt: Date;
|
|
12
|
-
updatedAt: Date;
|
|
13
|
-
ref: string;
|
|
14
|
-
name: string;
|
|
15
|
-
status: TontStatus;
|
|
16
|
-
startDate: Date;
|
|
17
|
-
closeDate: Date;
|
|
10
|
+
author: User;
|
|
18
11
|
baseBet: number;
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
isActive: boolean;
|
|
22
|
-
endDate: Date;
|
|
12
|
+
cat: TontCat;
|
|
13
|
+
closeDate: Date;
|
|
23
14
|
code: string;
|
|
24
|
-
participants: number;
|
|
25
15
|
contribution: number;
|
|
26
|
-
|
|
27
|
-
|
|
16
|
+
createdAt: Date;
|
|
17
|
+
description: string;
|
|
18
|
+
endDate: Date;
|
|
19
|
+
id: number;
|
|
20
|
+
isActive: boolean;
|
|
21
|
+
limitMbr: number;
|
|
28
22
|
mbrs: TontMbr[];
|
|
23
|
+
name: string;
|
|
24
|
+
participants: number;
|
|
25
|
+
periodicity: EDatePeriodicity;
|
|
26
|
+
ref: string;
|
|
27
|
+
startDate: Date;
|
|
28
|
+
status: TontStatus;
|
|
29
|
+
updatedAt: Date;
|
|
29
30
|
}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import Shop from "asv-hlps/lib/cjs/markets/shops/models/Shop";
|
|
2
2
|
import BaseSale from "asv-hlps/lib/cjs/sales/models/Sale";
|
|
3
|
+
import SaleProduct from "./SaleProduct";
|
|
3
4
|
export default interface Sale extends BaseSale {
|
|
4
5
|
isPaid: boolean;
|
|
5
6
|
isPartialPaid: boolean;
|
|
@@ -10,4 +11,5 @@ export default interface Sale extends BaseSale {
|
|
|
10
11
|
shop?: Shop;
|
|
11
12
|
shops?: Shop[];
|
|
12
13
|
mbrId?: number;
|
|
14
|
+
saleProducts?: SaleProduct[];
|
|
13
15
|
}
|
|
@@ -7,23 +7,24 @@ export declare enum TontStatus {
|
|
|
7
7
|
PUBLIC = "public"
|
|
8
8
|
}
|
|
9
9
|
export interface Tont {
|
|
10
|
-
|
|
11
|
-
createdAt: Date;
|
|
12
|
-
updatedAt: Date;
|
|
13
|
-
ref: string;
|
|
14
|
-
name: string;
|
|
15
|
-
status: TontStatus;
|
|
16
|
-
startDate: Date;
|
|
17
|
-
closeDate: Date;
|
|
10
|
+
author: User;
|
|
18
11
|
baseBet: number;
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
isActive: boolean;
|
|
22
|
-
endDate: Date;
|
|
12
|
+
cat: TontCat;
|
|
13
|
+
closeDate: Date;
|
|
23
14
|
code: string;
|
|
24
|
-
participants: number;
|
|
25
15
|
contribution: number;
|
|
26
|
-
|
|
27
|
-
|
|
16
|
+
createdAt: Date;
|
|
17
|
+
description: string;
|
|
18
|
+
endDate: Date;
|
|
19
|
+
id: number;
|
|
20
|
+
isActive: boolean;
|
|
21
|
+
limitMbr: number;
|
|
28
22
|
mbrs: TontMbr[];
|
|
23
|
+
name: string;
|
|
24
|
+
participants: number;
|
|
25
|
+
periodicity: EDatePeriodicity;
|
|
26
|
+
ref: string;
|
|
27
|
+
startDate: Date;
|
|
28
|
+
status: TontStatus;
|
|
29
|
+
updatedAt: Date;
|
|
29
30
|
}
|