mangdto 1.2.1 → 1.2.3

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.
@@ -1,5 +1,5 @@
1
- import { BestellungFiliale } from "./bestellung_filiale";
2
1
  import { BstlArtikel } from "./bstl_artikel";
2
+ import Buchung from "./buchung";
3
3
  import { AbholzeitType } from "./enums/abholzeit_type";
4
4
  import { Bezahlart } from "./enums/bezahlart";
5
5
  import { BuchungBestellart } from "./enums/buchung_bestellart";
@@ -8,11 +8,10 @@ import { Terminart } from "./enums/terminart";
8
8
  import { TrinkgeldType } from "./enums/trinkgeld_type";
9
9
  import { Verzehrart } from "./enums/verzehrart";
10
10
  import Nachbestellung from "./nachbestellung";
11
+ import NachbestellungPending from "./nachbestellung_pending";
11
12
  import Serviceanforderung from "./serviceanforderung";
12
- export declare class Bestellung {
13
- id?: string;
13
+ export declare class Bestellung extends Buchung {
14
14
  bezeichnung?: string;
15
- filiale: BestellungFiliale;
16
15
  datum?: string;
17
16
  bestellZp?: string;
18
17
  lastModified?: string;
@@ -39,6 +38,7 @@ export declare class Bestellung {
39
38
  bestellNr?: number;
40
39
  trinkgeldType?: TrinkgeldType;
41
40
  trinkgeld?: number;
41
+ nachbestellungPending: NachbestellungPending;
42
42
  }
43
43
  export declare class Abholung {
44
44
  id?: string;
@@ -1,10 +1,10 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.Lieferung = exports.Sofort = exports.Reservierung = exports.Abholung = exports.Bestellung = void 0;
4
- const bestellung_filiale_1 = require("./bestellung_filiale");
5
- class Bestellung {
4
+ const buchung_1 = require("./buchung");
5
+ class Bestellung extends buchung_1.default {
6
6
  constructor() {
7
- this.filiale = new bestellung_filiale_1.BestellungFiliale();
7
+ super(...arguments);
8
8
  this.abgeschlossen = false;
9
9
  this.storniert = false;
10
10
  this.aktuellerStatus = null;
@@ -36,6 +36,7 @@ export declare class AbholungSettings {
36
36
  supportsMehrereTage: boolean;
37
37
  zeitVorSchliessung: number;
38
38
  vorbestellungTage: number;
39
+ verzehrVorOrt: boolean;
39
40
  }
40
41
  export declare class ReservierungSettings {
41
42
  supportsVorbestellung: boolean;
@@ -44,6 +45,9 @@ export declare class ReservierungSettings {
44
45
  }
45
46
  export declare class SofortbestellungSettings {
46
47
  zeitVorSchliessung: number;
48
+ serviceRufbar: boolean;
49
+ nachbestellbar: boolean;
50
+ nurSelbstbestellung: boolean;
47
51
  }
48
52
  export declare class LieferungSettings {
49
53
  supportsTermin: boolean;
@@ -54,4 +58,5 @@ export declare class LieferungSettings {
54
58
  lieferzeitBis: number;
55
59
  mindestbestellwert: number;
56
60
  kostenlosAb: number;
61
+ lieferkostenAb?: string;
57
62
  }
@@ -19,6 +19,7 @@ class AbholungSettings {
19
19
  this.supportsMehrereTage = false;
20
20
  this.zeitVorSchliessung = 0;
21
21
  this.vorbestellungTage = 0;
22
+ this.verzehrVorOrt = false;
22
23
  }
23
24
  }
24
25
  exports.AbholungSettings = AbholungSettings;
@@ -33,6 +34,9 @@ exports.ReservierungSettings = ReservierungSettings;
33
34
  class SofortbestellungSettings {
34
35
  constructor() {
35
36
  this.zeitVorSchliessung = 0;
37
+ this.serviceRufbar = false;
38
+ this.nachbestellbar = false;
39
+ this.nurSelbstbestellung = false;
36
40
  }
37
41
  }
38
42
  exports.SofortbestellungSettings = SofortbestellungSettings;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mangdto",
3
- "version": "1.2.1",
3
+ "version": "1.2.3",
4
4
  "description": "Die Mangeroo DTO Library",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",