@dascompany/product 4.5.20 → 4.5.22

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
@@ -41,7 +41,13 @@ import PaymentDetailsRow from "./types/rows/PaymentDetailsRow";
41
41
  import PaymentMethodRow from "./types/rows/PaymentMethodRow";
42
42
  import PaymentStatusRow from "./types/rows/PaymentStatusRow";
43
43
  import PersonalDataRow from "./types/rows/PersonalDataRow";
44
- import ProductRow from "./types/rows/ProductRow";
44
+ import ProductRow from "./types/rows/product/ProductRow";
45
+ import PromotionAudienceRolesType from "./types/rows/product/PromotionAudienceRolesType";
46
+ import PromotionAudienceUsersType from "./types/rows/product/PromotionAudienceUsersType";
47
+ import PromotionCodes from "./types/rows/product/PromotionCodes";
48
+ import PromotionDiscount from "./types/rows/product/PromotionDiscount";
49
+ import PromotionListProducts from "./types/rows/product/PromotionListProducts";
50
+ import PromotionRow from "./types/rows/product/PromotionRow";
45
51
  import StatusRow from "./types/rows/StatusRow";
46
52
  import OrderHashRow from './types/rows/OrderHashRow';
47
53
  import OrderPaymentDetailsRow from './types/rows/OrderPaymentDetailsRow';
@@ -53,4 +59,4 @@ import ClientAccountI from "./types/ClientAccountI";
53
59
  import FileConnectionI from "./types/FileConnectionI";
54
60
  import ChoiceTypeE from './types/ChoiceTypeE';
55
61
  import OrderConfirmationTypeE from './types/OrderConfirmationTypeE';
56
- export { AccountCartRow, AccountCompanyDetailsRow, AccountDeliveryDetailsRow, AddressRow, AdminRow, ClientAccountRow, CompanyDataRow, CompanyDetailsRow, DeliveryDetailsRow, DeliveryDetailsMensRow, DeliveryMethodRow, DeliveryStatusRow, FileConnectionRow, FileRow, MarketPlaceRow, OrderProductRow, OrderRow, PaymentDetailsRow, PaymentMethodRow, PaymentStatusRow, PersonalDataRow, ProductRow, 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 };
62
+ export { AccountCartRow, AccountCompanyDetailsRow, AccountDeliveryDetailsRow, AddressRow, AdminRow, ClientAccountRow, CompanyDataRow, CompanyDetailsRow, DeliveryDetailsRow, DeliveryDetailsMensRow, DeliveryMethodRow, DeliveryStatusRow, FileConnectionRow, FileRow, MarketPlaceRow, OrderProductRow, OrderRow, PaymentDetailsRow, PaymentMethodRow, PaymentStatusRow, PersonalDataRow, ProductRow, PromotionAudienceRolesType, PromotionAudienceUsersType, PromotionCodes, PromotionDiscount, PromotionListProducts, 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 };
@@ -0,0 +1,21 @@
1
+ export default interface ProductRow {
2
+ id: string;
3
+ sku: string;
4
+ article_number: string;
5
+ url: string;
6
+ title: string;
7
+ subtitle: string;
8
+ description: string;
9
+ file_id: string;
10
+ net_price: number;
11
+ promotional_net_price: number;
12
+ vat: number;
13
+ color: string;
14
+ quantity: number;
15
+ width: number;
16
+ height: number;
17
+ length: number;
18
+ created_at: string;
19
+ deleted: boolean;
20
+ json_data: any;
21
+ }
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,4 @@
1
+ export default interface PromotionAudienceRolesType {
2
+ promotion_id: string;
3
+ role_id: string;
4
+ }
@@ -0,0 +1,4 @@
1
+ export default interface PromotionAudienceUsersType {
2
+ promotion_id: string;
3
+ user_id: string;
4
+ }
@@ -0,0 +1,7 @@
1
+ export default interface PromotionCodes {
2
+ id: string;
3
+ code: string;
4
+ promotion_id: string;
5
+ use_count: number;
6
+ use_limit: string;
7
+ }
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,6 @@
1
+ export default interface PromotionDiscount {
2
+ id: string;
3
+ type_id: string;
4
+ discount_item_type_id: string;
5
+ value: number;
6
+ }
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,4 @@
1
+ export default interface PromotionListProducts {
2
+ list_id: string;
3
+ product_id: string;
4
+ }
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,15 @@
1
+ export default interface PromotionRow {
2
+ id: string;
3
+ name: string;
4
+ information_for_user: string;
5
+ weight: number;
6
+ promotion_discount_id: string;
7
+ promotion_audience_type: string;
8
+ start_date: string;
9
+ end_date: string;
10
+ activated: boolean;
11
+ promotion_rules_out_list_id: string;
12
+ promotion_included_list_id: string;
13
+ responsible_person_id: string;
14
+ adding_person_id: string;
15
+ }
@@ -0,0 +1 @@
1
+ export {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dascompany/product",
3
- "version": "4.5.20",
3
+ "version": "4.5.22",
4
4
  "main": "dist/index.js",
5
5
  "types": "dist/index.d.ts",
6
6