@dascompany/product 4.5.26 → 4.5.27
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 +2 -1
- package/dist/types/interfaces/ChoiceTypeI.d.ts +4 -0
- package/dist/types/interfaces/ChoiceTypeI.js +1 -0
- package/dist/types/interfaces/product/PromotionDiscountI.d.ts +7 -0
- package/dist/types/interfaces/product/PromotionDiscountI.js +1 -0
- package/dist/types/interfaces/product/PromotionI.d.ts +5 -7
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -15,6 +15,7 @@ import OrderProductI from './types/interfaces/OrderProductI';
|
|
|
15
15
|
import StatusI from "./types/interfaces/StatusI";
|
|
16
16
|
import OrderStatusTypeE from "./types/enums/OrderStatusTypeE";
|
|
17
17
|
import ProductI from './types/interfaces/product/ProductI';
|
|
18
|
+
import PromotionI from './types/interfaces/product/PromotionI';
|
|
18
19
|
import FileI from "./types/interfaces/FileI";
|
|
19
20
|
import FileConnectionTypeE from './types/enums/FileConnectionTypeE';
|
|
20
21
|
import CompanyDataI from "./types/interfaces/CompanyDataI";
|
|
@@ -59,4 +60,4 @@ import ClientAccountI from "./types/interfaces/ClientAccountI";
|
|
|
59
60
|
import FileConnectionI from "./types/interfaces/FileConnectionI";
|
|
60
61
|
import ChoiceTypeE from './types/enums/ChoiceTypeE';
|
|
61
62
|
import OrderConfirmationTypeE from './types/enums/OrderConfirmationTypeE';
|
|
62
|
-
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, PromotionListProductsRow, PromotionRow, StatusRow, OrderHashRow, OrderPaymentDetailsRow, AdminI, AddressI, CompanyDetailsI, DeliveryDetailsI, DeliveryMenI, DeliveryMethodI, DeliveryMethodTypeE, DeliveryMensE, DeliveryStatusTypeE, PaymentDetailsI, PaymentMethodsE, PaymentMethodI, PersonalDataI, PaymentStatusE, OrderI, OrderHashI, OrderProductI, StatusI, OrderStatusTypeE, ProductI, FileI, FileConnectionTypeE, CompanyDataI, PriceI, MarketPlaceI, ClaimI, ClientAccountI, FileConnectionI, ChoiceTypeE, OrderConfirmationTypeE };
|
|
63
|
+
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, PromotionListProductsRow, 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, FileI, FileConnectionTypeE, CompanyDataI, PriceI, MarketPlaceI, ClaimI, ClientAccountI, FileConnectionI, ChoiceTypeE, OrderConfirmationTypeE };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -1,15 +1,13 @@
|
|
|
1
1
|
import AdminI from "../AdminI";
|
|
2
|
-
import
|
|
3
|
-
|
|
2
|
+
import ChoiceTypeI from "../ChoiceTypeI";
|
|
3
|
+
import PromotionDiscountI from "./PromotionDiscountI";
|
|
4
|
+
export default interface PromotionI {
|
|
4
5
|
id: string;
|
|
5
6
|
name: string;
|
|
6
7
|
informationForUser: string;
|
|
7
8
|
weight: number;
|
|
8
|
-
discount:
|
|
9
|
-
audienceType:
|
|
10
|
-
id: string;
|
|
11
|
-
name: string;
|
|
12
|
-
};
|
|
9
|
+
discount: PromotionDiscountI;
|
|
10
|
+
audienceType: ChoiceTypeI;
|
|
13
11
|
startDate: string;
|
|
14
12
|
endDate: string;
|
|
15
13
|
activated: boolean;
|