digicust_types 1.8.111 → 1.8.113

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,6 +1,7 @@
1
1
  import { Procedure, LoadType, Adjustment, Container, WaybillTypeModel, IncotermModel, CostIntersection, TradePreference, CustomsOffice, MeanOfTransportation, TypeOfBusiness, CaseType, LineItemModel, Package, Meta, AddressModel, DateTimeModel, CompanyModel, Currency, WeightUnit, Weight, Money, TransitItemModel, ConstellationOfParticipantsModel, Port, PreliminaryDocument, DeclarationType, PersonModel, Seal, TypeOfExportDeclarationModel } from "..";
2
2
  import { BuyerSellerRelationship } from "../customs/buyerSellerRelationship.model";
3
3
  import { DomesticFreightCosts } from "../customs/domesticFreightCosts.model";
4
+ import { PaymentMethod } from "../customs/payment-method.model";
4
5
  /**
5
6
  * Used to store aggregated information of a case
6
7
  */
@@ -100,8 +101,11 @@ export interface AggregatedCaseDataModel {
100
101
  domesticFreightCosts?: DomesticFreightCosts;
101
102
  insuranceCosts?: Money;
102
103
  domesticInsuranceCosts?: DomesticFreightCosts;
104
+ paymentMethod?: PaymentMethod;
103
105
  statisticalValue?: Money;
104
106
  additionalInformation?: Meta<string>;
107
+ referenceNumberUCR?: Meta<string>;
108
+ registrationNumberExternal?: Meta<string>;
105
109
  GRN?: Meta<string>;
106
110
  GRNAccessCode?: Meta<string>;
107
111
  LRN?: Meta<string>;
@@ -0,0 +1,4 @@
1
+ import { Meta } from "../meta";
2
+ export interface PaymentMethod extends Meta<string> {
3
+ C0116?: string;
4
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -27,6 +27,7 @@ export interface ExecutionStrategy {
27
27
  whitelistedImportEmails?: string[];
28
28
  mergeMultipleUploads?: boolean;
29
29
  handleXLSXFileUploads?: boolean;
30
+ forceReference?: false | "invoiceNumber";
30
31
  defaultClassification?: DigicustDocumentType;
31
32
  defaultProcedureMode?: ProcedureMode;
32
33
  dataExtraction?: {
@@ -178,6 +179,9 @@ export interface ExecutionStrategy {
178
179
  */
179
180
  descriptionFormatStringJsonAta?: string;
180
181
  lineItemGrossWeightStrategy?: "default" | "forceToFirstLineItem";
182
+ forceReferenceToReferenceNumberUCR?: boolean;
183
+ forceReferenceToRegistrationNumberExternal?: boolean;
184
+ forceReferenceToLRN?: boolean;
181
185
  };
182
186
  dataValidation?: {
183
187
  active?: boolean;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "digicust_types",
3
- "version": "1.8.111",
3
+ "version": "1.8.113",
4
4
  "description": "",
5
5
  "main": "lib/index.js",
6
6
  "types": "lib/index.d.ts",