mangdto 1.2.50 → 1.2.52

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.
@@ -22,6 +22,7 @@ export declare class Pdukt {
22
22
  extras: Extra[];
23
23
  auswahlen: Auswahl[];
24
24
  arten: Art[];
25
+ varianten: Variante[];
25
26
  standardart: string;
26
27
  sorte?: ProduktSorte;
27
28
  mwSt: number;
@@ -55,10 +56,6 @@ export declare class Option {
55
56
  produkt?: Pdukt;
56
57
  variante?: Variante;
57
58
  }
58
- export declare class Variante {
59
- id?: string;
60
- bezeichnung?: string;
61
- }
62
59
  export declare class Art {
63
60
  id?: string;
64
61
  artId?: string;
@@ -66,3 +63,8 @@ export declare class Art {
66
63
  standardpreis?: number;
67
64
  aktiv: boolean;
68
65
  }
66
+ export declare class Variante {
67
+ id?: string;
68
+ bezeichnung?: string;
69
+ standardpreis?: number;
70
+ }
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.Art = exports.Variante = exports.Option = exports.Auswahl = exports.Extra = exports.Subprodukt = exports.Pdukt = void 0;
3
+ exports.Variante = exports.Art = exports.Option = exports.Auswahl = exports.Extra = exports.Subprodukt = exports.Pdukt = void 0;
4
4
  class Pdukt {
5
5
  constructor() {
6
6
  this.aktiv = true;
@@ -10,6 +10,7 @@ class Pdukt {
10
10
  this.extras = [];
11
11
  this.auswahlen = [];
12
12
  this.arten = [];
13
+ this.varianten = [];
13
14
  this.mwSt = 0.0;
14
15
  this.mwStAbholung = 0.0;
15
16
  }
@@ -38,12 +39,12 @@ exports.Auswahl = Auswahl;
38
39
  class Option {
39
40
  }
40
41
  exports.Option = Option;
41
- class Variante {
42
- }
43
- exports.Variante = Variante;
44
42
  class Art {
45
43
  constructor() {
46
44
  this.aktiv = true;
47
45
  }
48
46
  }
49
47
  exports.Art = Art;
48
+ class Variante {
49
+ }
50
+ exports.Variante = Variante;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mangdto",
3
- "version": "1.2.50",
3
+ "version": "1.2.52",
4
4
  "description": "Die Mangeroo DTO Library",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",