digicust_types 1.7.233 → 1.7.236

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.
@@ -2,6 +2,7 @@
2
2
  * Identifies different document types
3
3
  */
4
4
  export declare enum DigicustDocumentType {
5
+ Email = "email",
5
6
  Invoice = "invoice",
6
7
  Waybill = "waybill",
7
8
  PackingList = "packingList",
@@ -6,6 +6,7 @@ exports.DigicustDocumentType = void 0;
6
6
  */
7
7
  var DigicustDocumentType;
8
8
  (function (DigicustDocumentType) {
9
+ DigicustDocumentType["Email"] = "email";
9
10
  DigicustDocumentType["Invoice"] = "invoice";
10
11
  DigicustDocumentType["Waybill"] = "waybill";
11
12
  DigicustDocumentType["PackingList"] = "packingList";
@@ -0,0 +1,14 @@
1
+ import { DigicustDocumentModel } from ".";
2
+ import { Meta } from "../..";
3
+ import { Money } from "../measures";
4
+ /**
5
+ * Identifies an Email
6
+ */
7
+ export interface EmailDocument extends DigicustDocumentModel {
8
+ subject?: string;
9
+ sender?: string;
10
+ body?: string;
11
+ ATBNumber?: Meta<string>;
12
+ foreignFreightCosts?: Money;
13
+ domesticFreightCosts?: Money;
14
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,3 +1,4 @@
1
+ export * from "./email-document.model";
1
2
  export * from "./invoice-type.model";
2
3
  export * from "./invoice.model";
3
4
  export * from "./packing-list.model";
@@ -14,6 +14,8 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
14
  for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
15
  };
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
+ // Email
18
+ __exportStar(require("./email-document.model"), exports);
17
19
  // Invoice
18
20
  __exportStar(require("./invoice-type.model"), exports);
19
21
  __exportStar(require("./invoice.model"), exports);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "digicust_types",
3
- "version": "1.7.233",
3
+ "version": "1.7.236",
4
4
  "description": "",
5
5
  "main": "lib/index.js",
6
6
  "types": "lib/index.d.ts",