@dascompany/product 4.5.40 → 4.5.41

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
@@ -64,4 +64,5 @@ import FileConnectionI from "./types/interfaces/FileConnectionI";
64
64
  import ChoiceTypeE from './types/enums/ChoiceTypeE';
65
65
  import OrderConfirmationTypeE from './types/enums/OrderConfirmationTypeE';
66
66
  import AudienceTypeE from './types/enums/AudienceTypeE';
67
- export { AccountCartRow, AccountCompanyDetailsRow, AccountDeliveryDetailsRow, AddressRow, AdminRow, ClientAccountRow, CompanyDataRow, CompanyDetailsRow, DeliveryDetailsRow, DeliveryDetailsMensRow, DeliveryMethodRow, DeliveryStatusRow, FileConnectionRow, FileRow, MarketPlaceRow, OrderProductRow, OrderRow, PaymentDetailsRow, PaymentMethodRow, PaymentStatusRow, PersonalDataRow, ProductRow, PromotionAudienceTypeRolesRow, PromotionAudienceTypeUsersRow, 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, PromotionCodeI, PromotionDiscountI, PromotionalProductsI, FileI, FileConnectionTypeE, CompanyDataI, PriceI, MarketPlaceI, ClaimI, ClientAccountI, FileConnectionI, ChoiceTypeE, OrderConfirmationTypeE, AudienceTypeE };
67
+ import AudienceI from './types/interfaces/product/AudienceI';
68
+ export { AccountCartRow, AccountCompanyDetailsRow, AccountDeliveryDetailsRow, AddressRow, AdminRow, ClientAccountRow, CompanyDataRow, CompanyDetailsRow, DeliveryDetailsRow, DeliveryDetailsMensRow, DeliveryMethodRow, DeliveryStatusRow, FileConnectionRow, FileRow, MarketPlaceRow, OrderProductRow, OrderRow, PaymentDetailsRow, PaymentMethodRow, PaymentStatusRow, PersonalDataRow, ProductRow, PromotionAudienceTypeRolesRow, PromotionAudienceTypeUsersRow, 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, PromotionCodeI, PromotionDiscountI, PromotionalProductsI, FileI, FileConnectionTypeE, CompanyDataI, PriceI, MarketPlaceI, ClaimI, ClientAccountI, FileConnectionI, ChoiceTypeE, OrderConfirmationTypeE, AudienceTypeE, AudienceI };
@@ -0,0 +1,5 @@
1
+ import ChoiceTypeI from "../ChoiceTypeI";
2
+ export default interface AudienceI {
3
+ type: ChoiceTypeI;
4
+ data: any;
5
+ }
@@ -0,0 +1 @@
1
+ export {};
@@ -1,5 +1,6 @@
1
1
  import AdminI from "../AdminI";
2
2
  import ChoiceTypeI from "../ChoiceTypeI";
3
+ import AudienceI from "./AudienceI";
3
4
  import PromotionDiscountI from "./PromotionDiscountI";
4
5
  export default interface PromotionI {
5
6
  id: string;
@@ -9,6 +10,7 @@ export default interface PromotionI {
9
10
  startDate: string;
10
11
  endDate: string;
11
12
  activated: boolean;
13
+ audience: AudienceI;
12
14
  discount: PromotionDiscountI;
13
15
  audienceType: ChoiceTypeI;
14
16
  responsiblePerson: {
@@ -1,11 +1,10 @@
1
- import ChoiceTypeRow from "../ChoiceTypeRow";
2
1
  export default interface PromotionRow {
3
2
  id: string;
4
3
  title: string;
5
4
  information_for_client: string;
6
5
  weight: number;
7
6
  promotion_discount_id: string;
8
- audience_type: ChoiceTypeRow;
7
+ promotion_audience_type_id: string;
9
8
  start_date: string;
10
9
  end_date: string;
11
10
  activated: boolean;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dascompany/product",
3
- "version": "4.5.40",
3
+ "version": "4.5.41",
4
4
  "main": "dist/index.js",
5
5
  "types": "dist/index.d.ts",
6
6