@dascompany/product 4.5.29 → 4.5.31

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.
@@ -0,0 +1,4 @@
1
+ export default interface ChoiceTypeRow {
2
+ id: string;
3
+ name: string;
4
+ }
@@ -0,0 +1 @@
1
+ export {};
@@ -1,6 +1,7 @@
1
+ import ChoiceTypeRow from "../ChoiceTypeRow";
1
2
  export default interface PromotionDiscountRow {
2
3
  id: string;
3
- type: string;
4
- item_type: string;
4
+ type: ChoiceTypeRow;
5
+ item_type: ChoiceTypeRow;
5
6
  value: number;
6
7
  }
@@ -1,15 +1,19 @@
1
+ import ChoiceTypeRow from "../ChoiceTypeRow";
1
2
  export default interface PromotionRow {
2
3
  id: string;
3
4
  name: string;
4
5
  information_for_user: string;
5
6
  weight: number;
6
7
  promotion_discount_id: string;
7
- audience_type: string;
8
+ audience_type: ChoiceTypeRow;
8
9
  start_date: string;
9
10
  end_date: string;
10
11
  activated: boolean;
11
12
  promotion_rules_out_list_id: string;
12
13
  promotion_included_list_id: string;
13
- promotional_responsible_person_id: string;
14
+ responsible_person: {
15
+ id: string;
16
+ email: string;
17
+ };
14
18
  adding_person_user_id: string;
15
19
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dascompany/product",
3
- "version": "4.5.29",
3
+ "version": "4.5.31",
4
4
  "main": "dist/index.js",
5
5
  "types": "dist/index.d.ts",
6
6