digicust_types 1.8.112 → 1.8.113

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,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 });
@@ -179,6 +179,9 @@ export interface ExecutionStrategy {
179
179
  */
180
180
  descriptionFormatStringJsonAta?: string;
181
181
  lineItemGrossWeightStrategy?: "default" | "forceToFirstLineItem";
182
+ forceReferenceToReferenceNumberUCR?: boolean;
183
+ forceReferenceToRegistrationNumberExternal?: boolean;
184
+ forceReferenceToLRN?: boolean;
182
185
  };
183
186
  dataValidation?: {
184
187
  active?: boolean;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "digicust_types",
3
- "version": "1.8.112",
3
+ "version": "1.8.113",
4
4
  "description": "",
5
5
  "main": "lib/index.js",
6
6
  "types": "lib/index.d.ts",