digicust_types 1.8.61 → 1.8.63

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,5 +1,5 @@
1
- import { TypeOfBusinessType, TradePreference, DigicustDocumentType, ProcedureMode } from "..";
2
- import { Money, DateTimeModel, Quantity, Workflow, Meta, UOM, Weight, Dimensions, CustomsTariffNumber } from "../..";
1
+ import { DigicustDocumentType, ProcedureMode, TradePreference, TypeOfBusinessType, UnitOfMeasurement } from "..";
2
+ import { CustomsTariffNumber, DateTimeModel, Dimensions, Meta, Money, Quantity, Weight, Workflow } from "../..";
3
3
  import { DocumentCode } from "../documents";
4
4
  export declare enum ClassificationTypes {
5
5
  noClassification = "noClassification",
@@ -46,11 +46,11 @@ export declare enum MasterDataCreationType {
46
46
  file = "file"
47
47
  }
48
48
  export interface MaterialModel {
49
- id?: string;
50
- customerId?: string;
51
- projectId?: string;
52
- creationType?: MasterDataCreationType;
53
- matchingType?: "materialNumber" | "tariffNumber";
49
+ id: string;
50
+ customerId: string;
51
+ projectId: string;
52
+ creationType: MasterDataCreationType;
53
+ matchingType: "materialNumber" | "tariffNumber";
54
54
  /**
55
55
  * Tags for material data
56
56
  */
@@ -138,7 +138,7 @@ export interface MaterialModel {
138
138
  id: string;
139
139
  name: string;
140
140
  }[];
141
- unitOfMeasurement?: Workflow<UOM>;
141
+ unitOfMeasurement?: UnitOfMeasurement;
142
142
  documentTypeCodes?: ExtendedDocumentTypeCode[];
143
143
  CAS?: Workflow<string>;
144
144
  units?: Workflow<{
@@ -1,5 +1,5 @@
1
- import { Meta } from "../..";
2
- export interface UnitOfMeasurement extends Meta<string> {
1
+ import { Meta, UOM } from "../..";
2
+ export interface UnitOfMeasurement extends Meta<UOM> {
3
3
  DE_I0700?: string;
4
4
  DE_I0700_Qualifier?: string;
5
5
  NC_66000?: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "digicust_types",
3
- "version": "1.8.61",
3
+ "version": "1.8.63",
4
4
  "description": "",
5
5
  "main": "lib/index.js",
6
6
  "types": "lib/index.d.ts",