digicust_types 1.8.428 → 1.8.430

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.
@@ -36,10 +36,6 @@ export declare enum TariffSystem {
36
36
  XK = "XK",// XK for Kosovo
37
37
  CH = "CH"
38
38
  }
39
- export declare enum CustomsSystem {
40
- atlas = "atlas",
41
- eZoll = "eZoll"
42
- }
43
39
  /**
44
40
  * Project Model provides all the data related to a project and customer
45
41
  */
@@ -48,8 +44,6 @@ export interface ProjectModel {
48
44
  customerId?: string;
49
45
  projectId?: string;
50
46
  alias?: string;
51
- /** @deprecated use tariffNumberTreeSystem, PR is progress */
52
- customsSystem?: CustomsSystem;
53
47
  tariffNumberTreeSystem?: TariffSystem;
54
48
  mappings?: Mapping[];
55
49
  rules?: Rule[];
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.CustomsSystem = exports.TariffSystem = void 0;
3
+ exports.TariffSystem = void 0;
4
4
  var TariffSystem;
5
5
  (function (TariffSystem) {
6
6
  TariffSystem["DE"] = "DE";
@@ -8,8 +8,3 @@ var TariffSystem;
8
8
  TariffSystem["XK"] = "XK";
9
9
  TariffSystem["CH"] = "CH";
10
10
  })(TariffSystem || (exports.TariffSystem = TariffSystem = {}));
11
- var CustomsSystem;
12
- (function (CustomsSystem) {
13
- CustomsSystem["atlas"] = "atlas";
14
- CustomsSystem["eZoll"] = "eZoll";
15
- })(CustomsSystem || (exports.CustomsSystem = CustomsSystem = {}));
@@ -49,6 +49,7 @@ export interface InvoiceModel extends DigicustDocumentModel, LineItemContainingD
49
49
  discount?: Money;
50
50
  discount2?: Money;
51
51
  discountUnit?: Meta<Currency | "%">;
52
+ discountApplied?: boolean;
52
53
  buyerReferenceId?: Meta<string>;
53
54
  licenseFee?: Money;
54
55
  otherPayments?: Money;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "digicust_types",
3
- "version": "1.8.428",
3
+ "version": "1.8.430",
4
4
  "description": "",
5
5
  "main": "lib/index.js",
6
6
  "types": "lib/index.d.ts",