@dascompany/product 4.5.26 → 4.5.28

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 CHANGED
@@ -15,6 +15,8 @@ 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';
19
+ import PromotionDiscountI from './types/interfaces/product/PromotionDiscountI';
18
20
  import FileI from "./types/interfaces/FileI";
19
21
  import FileConnectionTypeE from './types/enums/FileConnectionTypeE';
20
22
  import CompanyDataI from "./types/interfaces/CompanyDataI";
@@ -59,4 +61,4 @@ import ClientAccountI from "./types/interfaces/ClientAccountI";
59
61
  import FileConnectionI from "./types/interfaces/FileConnectionI";
60
62
  import ChoiceTypeE from './types/enums/ChoiceTypeE';
61
63
  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 };
64
+ 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, PromotionDiscountI, FileI, FileConnectionTypeE, CompanyDataI, PriceI, MarketPlaceI, ClaimI, ClientAccountI, FileConnectionI, ChoiceTypeE, OrderConfirmationTypeE };
@@ -0,0 +1,4 @@
1
+ export default interface ChoiceTypeI {
2
+ id: string;
3
+ name: string;
4
+ }
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,7 @@
1
+ import ChoiceTypeI from "../ChoiceTypeI";
2
+ export default interface PromotionDiscountI {
3
+ id: string;
4
+ type: ChoiceTypeI;
5
+ itemType: ChoiceTypeI;
6
+ value: number;
7
+ }
@@ -1,15 +1,13 @@
1
1
  import AdminI from "../AdminI";
2
- import DiscountI from "./DiscountI";
3
- export default interface ProductI {
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: DiscountI;
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;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dascompany/product",
3
- "version": "4.5.26",
3
+ "version": "4.5.28",
4
4
  "main": "dist/index.js",
5
5
  "types": "dist/index.d.ts",
6
6