@dascompany/product 4.5.34 → 4.5.36
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/dist/index.d.ts +3 -3
- package/dist/types/enums/ChoiceTypeE.d.ts +0 -1
- package/dist/types/enums/ChoiceTypeE.js +0 -1
- package/dist/types/interfaces/product/PromotionI.d.ts +2 -9
- package/dist/types/interfaces/product/PromotionalProductsI.d.ts +4 -0
- package/dist/types/interfaces/product/PromotionalProductsI.js +1 -0
- package/dist/types/rows/product/PromotionProductsRow.d.ts +4 -0
- package/dist/types/rows/product/PromotionProductsRow.js +1 -0
- package/dist/types/rows/product/PromotionRow.d.ts +2 -3
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -17,7 +17,7 @@ import OrderStatusTypeE from "./types/enums/OrderStatusTypeE";
|
|
|
17
17
|
import ProductI from './types/interfaces/product/ProductI';
|
|
18
18
|
import PromotionI from './types/interfaces/product/PromotionI';
|
|
19
19
|
import PromotionDiscountI from './types/interfaces/product/PromotionDiscountI';
|
|
20
|
-
import
|
|
20
|
+
import PromotionalProductsI from './types/interfaces/product/PromotionalProductsI';
|
|
21
21
|
import FileI from "./types/interfaces/FileI";
|
|
22
22
|
import FileConnectionTypeE from './types/enums/FileConnectionTypeE';
|
|
23
23
|
import CompanyDataI from "./types/interfaces/CompanyDataI";
|
|
@@ -49,7 +49,7 @@ import PromotionAudienceRolesTypeRow from "./types/rows/product/PromotionAudienc
|
|
|
49
49
|
import PromotionAudienceUsersTypeRow from "./types/rows/product/PromotionAudienceUsersTypeRow";
|
|
50
50
|
import PromotionCodesRow from "./types/rows/product/PromotionCodesRow";
|
|
51
51
|
import PromotionDiscountRow from "./types/rows/product/PromotionDiscountRow";
|
|
52
|
-
import
|
|
52
|
+
import PromotionProductsRow from "./types/rows/product/PromotionProductsRow";
|
|
53
53
|
import PromotionRow from "./types/rows/product/PromotionRow";
|
|
54
54
|
import StatusRow from "./types/rows/StatusRow";
|
|
55
55
|
import OrderHashRow from './types/rows/OrderHashRow';
|
|
@@ -62,4 +62,4 @@ import ClientAccountI from "./types/interfaces/ClientAccountI";
|
|
|
62
62
|
import FileConnectionI from "./types/interfaces/FileConnectionI";
|
|
63
63
|
import ChoiceTypeE from './types/enums/ChoiceTypeE';
|
|
64
64
|
import OrderConfirmationTypeE from './types/enums/OrderConfirmationTypeE';
|
|
65
|
-
export { AccountCartRow, AccountCompanyDetailsRow, AccountDeliveryDetailsRow, AddressRow, AdminRow, ClientAccountRow, CompanyDataRow, CompanyDetailsRow, DeliveryDetailsRow, DeliveryDetailsMensRow, DeliveryMethodRow, DeliveryStatusRow, FileConnectionRow, FileRow, MarketPlaceRow, OrderProductRow, OrderRow, PaymentDetailsRow, PaymentMethodRow, PaymentStatusRow, PersonalDataRow, ProductRow, PromotionAudienceRolesTypeRow, PromotionAudienceUsersTypeRow, PromotionCodesRow, PromotionDiscountRow,
|
|
65
|
+
export { AccountCartRow, AccountCompanyDetailsRow, AccountDeliveryDetailsRow, AddressRow, AdminRow, ClientAccountRow, CompanyDataRow, CompanyDetailsRow, DeliveryDetailsRow, DeliveryDetailsMensRow, DeliveryMethodRow, DeliveryStatusRow, FileConnectionRow, FileRow, MarketPlaceRow, OrderProductRow, OrderRow, PaymentDetailsRow, PaymentMethodRow, PaymentStatusRow, PersonalDataRow, ProductRow, PromotionAudienceRolesTypeRow, PromotionAudienceUsersTypeRow, PromotionCodesRow, PromotionDiscountRow, PromotionProductsRow, PromotionRow, StatusRow, OrderHashRow, OrderPaymentDetailsRow, AdminI, AddressI, CompanyDetailsI, DeliveryDetailsI, DeliveryMenI, DeliveryMethodI, DeliveryMethodTypeE, DeliveryMensE, DeliveryStatusTypeE, PaymentDetailsI, PaymentMethodsE, PaymentMethodI, PersonalDataI, PaymentStatusE, OrderI, OrderHashI, OrderProductI, StatusI, OrderStatusTypeE, ProductI, PromotionI, PromotionDiscountI, PromotionalProductsI, FileI, FileConnectionTypeE, CompanyDataI, PriceI, MarketPlaceI, ClaimI, ClientAccountI, FileConnectionI, ChoiceTypeE, OrderConfirmationTypeE };
|
|
@@ -4,7 +4,6 @@ declare enum ChoiceTypeE {
|
|
|
4
4
|
TentCoverWindowsType = "tentCoverWindowsType",
|
|
5
5
|
Type = "type",
|
|
6
6
|
Color = "color",
|
|
7
|
-
PromotionList = "promotionList",
|
|
8
7
|
PromotionAudienceType = "promotionAudienceType",
|
|
9
8
|
PromotionDiscountItemType = "promotionDiscountItemType",
|
|
10
9
|
PromotionDiscountType = "promotionDiscountType"
|
|
@@ -5,7 +5,6 @@ var ChoiceTypeE;
|
|
|
5
5
|
ChoiceTypeE["TentCoverWindowsType"] = "tentCoverWindowsType";
|
|
6
6
|
ChoiceTypeE["Type"] = "type";
|
|
7
7
|
ChoiceTypeE["Color"] = "color";
|
|
8
|
-
ChoiceTypeE["PromotionList"] = "promotionList";
|
|
9
8
|
ChoiceTypeE["PromotionAudienceType"] = "promotionAudienceType";
|
|
10
9
|
ChoiceTypeE["PromotionDiscountItemType"] = "promotionDiscountItemType";
|
|
11
10
|
ChoiceTypeE["PromotionDiscountType"] = "promotionDiscountType";
|
|
@@ -3,24 +3,17 @@ import ChoiceTypeI from "../ChoiceTypeI";
|
|
|
3
3
|
import PromotionDiscountI from "./PromotionDiscountI";
|
|
4
4
|
export default interface PromotionI {
|
|
5
5
|
id: string;
|
|
6
|
-
|
|
7
|
-
|
|
6
|
+
title: string;
|
|
7
|
+
informationForClient: string;
|
|
8
8
|
weight: number;
|
|
9
9
|
discount: PromotionDiscountI;
|
|
10
10
|
audienceType: ChoiceTypeI;
|
|
11
11
|
startDate: string;
|
|
12
12
|
endDate: string;
|
|
13
13
|
activated: boolean;
|
|
14
|
-
includedList: ListI;
|
|
15
14
|
responsiblePerson: {
|
|
16
15
|
id: string;
|
|
17
16
|
email: string;
|
|
18
17
|
};
|
|
19
18
|
addingPerson: AdminI;
|
|
20
19
|
}
|
|
21
|
-
interface ListI {
|
|
22
|
-
id: string;
|
|
23
|
-
name: string;
|
|
24
|
-
productIds: string[];
|
|
25
|
-
}
|
|
26
|
-
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -1,15 +1,14 @@
|
|
|
1
1
|
import ChoiceTypeRow from "../ChoiceTypeRow";
|
|
2
2
|
export default interface PromotionRow {
|
|
3
3
|
id: string;
|
|
4
|
-
|
|
5
|
-
|
|
4
|
+
title: string;
|
|
5
|
+
information_for_client: string;
|
|
6
6
|
weight: number;
|
|
7
7
|
promotion_discount_id: string;
|
|
8
8
|
audience_type: ChoiceTypeRow;
|
|
9
9
|
start_date: string;
|
|
10
10
|
end_date: string;
|
|
11
11
|
activated: boolean;
|
|
12
|
-
promotion_included_list_id: string;
|
|
13
12
|
responsible_person: {
|
|
14
13
|
id: string;
|
|
15
14
|
email: string;
|