ts-edifact
Version:
Edifact parser library
1,263 lines (1,262 loc) • 52.7 kB
TypeScript
import { ResultType } from "./reader";
export declare function sanitizeFloat(str: string, decimalSymbol: string): number;
export interface Segment {
tag: string;
}
export declare function toSegmentObject(data: ResultType, version: string, decimalSeparator: string): Segment;
export declare class AdjustmentDetails implements Segment {
tag: string;
adjustmentReasonDescriptionCode: string;
lineItemIdentifier: string | undefined;
constructor(data: ResultType);
}
declare class AllowanceOrChargeInformation {
allowanceOrChargeIdentifier: string | undefined;
allowanceOrChargeIdentificationCode: string | undefined;
constructor(data: string[]);
}
declare class SpecialServicesIdentification {
specialServiceDescriptionCode: string | undefined;
codeListIdentificationCode: string | undefined;
codeListResponsibleAgencyCode: string | undefined;
specialServiceDescription: string | undefined;
specialServiceDescription2: string | undefined;
constructor(data: string[]);
}
export declare class AllowanceOrCharge implements Segment {
tag: string;
allowanceOrChargeCodeQualifier: string;
allowanceOrChargeInformation: AllowanceOrChargeInformation | undefined;
settlementMeansCode: string | undefined;
calculationSequenceCode: string | undefined;
specialServicesIdentification: SpecialServicesIdentification | undefined;
constructor(data: ResultType);
}
export declare class AdditionalInformation implements Segment {
tag: string;
countryOfOriginIdentifier: string | undefined;
dutyRegimeTypeCode: string | undefined;
specialConditionCode1: string | undefined;
specialConditionCode2: string | undefined;
specialConditionCode3: string | undefined;
specialConditionCode4: string | undefined;
specialConditionCode5: string | undefined;
constructor(data: ResultType);
}
declare class PriceMultiplierInformation {
priceMuliplierRate: number;
priceMuliplierTypeCodeQualifier: string | undefined;
constructor(data: string[], decimalSeparator: string);
}
declare class ReasonForChange {
changeReasonDescriptionCode: string | undefined;
codeListIdentificationCode: string | undefined;
codeListResponsibleAgencyCoe: string | undefined;
changeReasonDescription: string | undefined;
constructor(data: string[]);
}
export declare class AdditionalPriceInformation implements Segment {
tag: string;
tradeClassCode: string | undefined;
priceMultiplierInformation: PriceMultiplierInformation | undefined;
reasonForChange: ReasonForChange | undefined;
constructor(data: ResultType, decimalSeparator: string);
}
declare class MonetaryAmountFunctionData {
monetaryAmountFunctionDescriptionCode: string | undefined;
codeListIdentificationCode: string | undefined;
codeListResponsibleAgencyCode: string | undefined;
monetaryAmountFunctionDescription: string | undefined;
constructor(data: string[]);
}
declare class MonetaryAmountFunctionDetail {
monetaryAmountFunctionDetailDescriptionCode: string | undefined;
codeListIdentificationCode: string | undefined;
codeListResponsibleAgencyCode: string | undefined;
monetaryAmountFunctionDetailDescription: string | undefined;
constructor(data: string[]);
}
export declare class MonetaryAmountFunction implements Segment {
tag: string;
monetaryAmountFunction: MonetaryAmountFunctionData | undefined;
monetaryAmountFunctionDetail: MonetaryAmountFunctionDetail | undefined;
constructor(data: ResultType);
}
export declare class AuthenticationResult implements Segment {
tag: string;
validationResultText: string;
validationKeyIdentifier: string | undefined;
constructor(data: ResultType);
}
declare class MessageName {
documentNameCode: string | undefined;
codeListIdentificationCode: string | undefined;
codeListResponsibleAgencyCode: string | undefined;
documentName: string | undefined;
constructor(data: string[]);
}
declare class MessageIdentification {
documentIdentifier: string | undefined;
versionIdentifier: string | undefined;
revisionIdentifier: string | undefined;
constructor(data: string[]);
}
export declare class BeginOfMessage implements Segment {
tag: string;
messageName: MessageName | undefined;
messageIdentification: MessageIdentification | undefined;
messageFunctionCode: string | undefined;
responseTypeCode: string | undefined;
documentStatusCode: string | undefined;
languageNameCode: string | undefined;
constructor(data: ResultType);
}
declare class BusinessFunctionData {
businessFunctionTypeCodeQualifier: string;
businessFunctionCode: string;
codeListIdentificationCode: string | undefined;
codeListResponsibleAgencyCode: string | undefined;
businessDescription: string | undefined;
constructor(data: string[]);
}
declare class BankOperation {
bankOperationCode: string;
codeListIdentificationCode: string | undefined;
codeListResponsibleAgencyCode: string | undefined;
constructor(data: string[]);
}
export declare class BusinessFunction implements Segment {
tag: string;
businessFunction: BusinessFunctionData | undefined;
geographicAreaCode: string | undefined;
financialTransactionTypeCode: string | undefined;
bankOperation: BankOperation | undefined;
intraCompanyPaymentIndicatorCode: string | undefined;
constructor(data: ResultType);
}
declare class CharacteristicValueData {
characteristicValueDescriptionCode: string | undefined;
codeListIdentificationCode: string | undefined;
codeListResponsibleAgencyCode: string | undefined;
characteristicValueDescription: string | undefined;
characteristicValueDescription2: string | undefined;
constructor(data: string[]);
}
export declare class CharacteristicValue implements Segment {
tag: string;
characteristicValue: CharacteristicValueData;
constructor(data: ResultType);
}
declare class CharacteristicDescription {
characteristicDescriptionCode: string;
codeListIdentificationCode: string | undefined;
codeListResponsibleAgencyCode: string | undefined;
characteristicDescription: string | undefined;
characteristicDescription2: string | undefined;
constructor(data: string[]);
}
export declare class CharacteristicClassID implements Segment {
tag: string;
classTypeCode: string | undefined;
measurementDetails: MeasurementDetails | undefined;
characteristicDescription: CharacteristicDescription | undefined;
characteristicRelevanceCode: string | undefined;
constructor(data: ResultType);
}
declare class ComputerEnviornmentIdentification {
computerEnvironmentNameCode: string | undefined;
codeListIdentificationCode: string | undefined;
codeListResponsibleAgencyCode: string | undefined;
computerEnvironmentName: string | undefined;
versionIdentifier: string | undefined;
releaseIdentifier: string | undefined;
objectIdentifier: string | undefined;
constructor(data: string[]);
}
export declare class ComputerEnvironmentDetails implements Segment {
tag: string;
computerEnvironmentDetailsCodeQualifier: string;
computerEnviornmentIdentification: ComputerEnviornmentIdentification;
fileGenerationCommandName: string | undefined;
constructor(data: ResultType);
}
declare class Control {
controlTotalTypeCodeQualifier: string;
controlTotalValue: number;
measurementUnitCode: string | undefined;
constructor(data: string[], decimalSeparator: string);
}
export declare class ControlTotal implements Segment {
tag: string;
control: Control;
constructor(data: ResultType, decimalSeparator: string);
}
declare class TypeOfUnit {
unitOrComponentTypeDescriptionCode: string | undefined;
codeListIdentificationCode: string | undefined;
codeListResponsibleAgencyCode: string | undefined;
unitOrComponentTypeDescription: string | undefined;
constructor(data: string[]);
}
declare class ComponentMaterial {
componentMaterialDescriptionCode: string | undefined;
codeListIdentificationCode: string | undefined;
codeListResponsibleAgencyCode: string | undefined;
componentMaterialDescription: string | undefined;
constructor(data: string[]);
}
export declare class ComponentDetails implements Segment {
tag: string;
typeOfUnit: TypeOfUnit | undefined;
componentMaterial: ComponentMaterial | undefined;
constructor(data: ResultType);
}
declare class CommunicationContactData {
communicationAddressIdentifier: string;
communicationAddressCodeQualifier: string;
constructor(data: string[]);
}
export declare class CommunicationContact implements Segment {
tag: string;
communicationContact: CommunicationContactData;
constructor(data: ResultType);
}
export declare class ConsignmentPackingSequence implements Segment {
tag: string;
hierarchicalStructureLevelIdentifier: string;
hierarchicalStructureParentIdentifier: string | undefined;
packagingLevelCode: string | undefined;
constructor(data: ResultType);
}
declare class DepartmentOrEmployeeDetails {
departmentOrEmployeeNameCode: string | undefined;
departmentOrEmployeeName: string | undefined;
constructor(data: string[]);
}
export declare class ContactInformation implements Segment {
tag: string;
contactFunctionCode: string | undefined;
departmentOrEmployeeDetails: DepartmentOrEmployeeDetails | undefined;
constructor(data: ResultType);
}
declare class CurrencyDetails {
currencyUsageCodeQualifier: string;
currencyIdentificationCode: string | undefined;
currencyTypeCodeQualifier: string | undefined;
currencyRate: number | undefined;
constructor(data: string[]);
}
export declare class Currencies implements Segment {
tag: string;
currencyDetails1: CurrencyDetails | undefined;
currencyDetails2: CurrencyDetails | undefined;
currencyExchangeRate: number | undefined;
exchangeRateCurrencyMarketIdentifier: string | undefined;
constructor(data: ResultType, decimalSymbol: string);
}
declare class HazardCode {
hazardIdentificationCode: string;
additionalHazardClassificationIdentifier: string | undefined;
hazardCodeVersionIdentifier: string | undefined;
constructor(data: string[]);
}
declare class UnitedNationsDagneoursGoodsInformation {
unitedNationsangerousGoodsIdentifier: number | undefined;
dangerousGoodsFlashpointValue: string | undefined;
constructor(data: string[]);
}
declare class DangerousGoodsShipmentFlashpoint {
shipmentFlashpointValue: number | undefined;
measurementUnitCode: string | undefined;
constructor(data: string[]);
}
declare class HazardIdentificationPlacardDetails {
orangeHazardPlacardUpperPardIdentifier: string | undefined;
orangeHazardPlacardLowerPartIdentifier: string | undefined;
constructor(data: string[]);
}
declare class DangerousGoodsLabel {
dangerousGoodsMarkingIdentifier1: string | undefined;
dangerousGoodsMarkingIdentifier2: string | undefined;
dangerousGoodsMarkingIdentifier3: string | undefined;
constructor(data: string[]);
}
export declare class DangerousGoods implements Segment {
tag: string;
dangerousGoodsRegulationsCode: string;
hazardCode: HazardCode | undefined;
undgInformation: UnitedNationsDagneoursGoodsInformation | undefined;
dangerousGoodsShipmentFlashpoint: DangerousGoodsShipmentFlashpoint | undefined;
packagingDangerLevelCode: string | undefined;
emergencyProcedureForShipsIdentifier: string | undefined;
hazardMedicalFirstAidGuideIdentifier: string | undefined;
transportEmergencyCardIdentifier: string | undefined;
hazardIdentificationPlacardDetails: HazardIdentificationPlacardDetails | undefined;
dangerousGoodsLabel: DangerousGoodsLabel | undefined;
packingInstructionTypeCode: string | undefined;
hazardousMeansOfTransportCategoryCode: string | undefined;
hazardousCargoTransportAuthorizationCode: string | undefined;
constructor(data: ResultType);
}
export declare class DeliveryLimitations implements Segment {
tag: string;
backOrderArrangementTypeCode: string | undefined;
instruction: Instruction | undefined;
specialServicesIdentification: SpecialServicesIdentification | undefined;
substitutionConditionCode: string | undefined;
constructor(data: ResultType);
}
export declare class MessageSummary implements Segment {
tag: string;
messageIdentification: MessageIdentification | undefined;
messageName: MessageName | undefined;
itemTotalQuantity: number | undefined;
constructor(data: ResultType);
}
declare class MessageDetailsData {
documentIdentifer: string | undefined;
documentStatusCode: string | undefined;
documentSourceDescription: string | undefined;
languageNameCode: string | undefined;
versionIdentifier: string | undefined;
revisionIdentifier: string | undefined;
constructor(data: string[]);
}
export declare class MessageDetails implements Segment {
tag: string;
messageName: MessageName;
messageDetails: MessageDetailsData | undefined;
communicationMediumTypeCode: string | undefined;
documentCopiesRequiredQuantity: number | undefined;
doucmentOriginalsRequiredQuantity: number | undefined;
constructor(data: ResultType);
}
export declare class DateTimePeriod implements Segment {
tag: string;
dateTimeOrPeriodFunctionCodeQualifier: string;
dateTimeOrPeriodText: string | undefined;
dateTimeOrPeriodFormatCode: string | undefined;
constructor(data: ResultType);
}
declare class FileIdentification {
fileName: string | undefined;
itemDescription: string | undefined;
constructor(data: string[]);
}
declare class FileDetails {
fileFormatName: string;
versionIdentifier: string | undefined;
dataFormatDescriptionCode: string | undefined;
dataFormatDescription: string | undefined;
constructor(data: string[]);
}
export declare class ExternalFileLinkIdentification implements Segment {
tag: string;
fileIdentification: FileIdentification;
fileDetails: FileDetails | undefined;
sequencePositionIdentifier: string | undefined;
fileCompressionTechniqueName: string | undefined;
constructor(data: ResultType);
}
export declare class AttachedEquipment implements Segment {
tag: string;
equipmentTypeCodeQualifier: string;
equipmentIdentification: EquipmentIdentification | undefined;
constructor(data: ResultType);
}
declare class EquipmentIdentification {
equipmentIdentifier: string | undefined;
codeListIdentificationCode: string | undefined;
codeListResponsibleAgencyCode: string | undefined;
countryNameCode: string | undefined;
constructor(data: string[]);
}
declare class EquipmentSizeAndType {
equipmentSizeAndTypeDescriptionCode: string | undefined;
codeListIdentificationCode: string | undefined;
codeListResponsibleAgencyCode: string | undefined;
equipmentSizeAndTypeDescription: string | undefined;
constructor(data: string[]);
}
export declare class EquipmentDetails implements Segment {
tag: string;
equipmentTypeCodeQualifier: string;
equipmentIdentification: EquipmentIdentification | undefined;
equipmentSizeAndType: EquipmentSizeAndType | undefined;
equipmentSupplierCode: string | undefined;
equipmentStatusCode: string | undefined;
fullOrEmptyIndicatorCode: string | undefined;
constructor(data: ResultType);
}
declare class ApplicationErrorDetail {
applicationErrorCode: string;
codeListIdentificationCode: string | undefined;
codeListResponsibleAgencyCode: string | undefined;
constructor(data: string[]);
}
export declare class ApplicationErrorInformation implements Segment {
tag: string;
applicationErrorDetail: ApplicationErrorDetail;
constructor(data: ResultType);
}
declare class AccountHolderIdentification {
accountHolderIdentifier: string | undefined;
accountHolderName: string | undefined;
accountHolderName2: string | undefined;
currencyIdentificationCode: string | undefined;
constructor(data: string[]);
}
declare class InstitutionIdentification {
institutionNameCode: string | undefined;
codeListIdentificationCode: string | undefined;
codeListResponsibleAgencyCode: string | undefined;
institutionBranchIdentifier: string | undefined;
codeListIdentificationCode2: string | undefined;
codeListResponsibleAgencyCode2: string | undefined;
institutionName: string | undefined;
institutionBranchLocationName: string | undefined;
constructor(data: string[]);
}
export declare class FinancialInstitutionInformation implements Segment {
tag: string;
partyFunctionCodeQualifier: string;
accountHolderIdentification: AccountHolderIdentification | undefined;
institutionIdentification: InstitutionIdentification | undefined;
countryNameCode: string | undefined;
constructor(data: ResultType);
}
declare class TextReference {
freeTextValueCode: string;
codeListIdentificationCode: string | undefined;
codeListResponsibleAgencyCode: string | undefined;
constructor(data: string[]);
}
declare class TextLiteral {
freeTextValue1: string;
freeTextValue2: string | undefined;
freeTextValue3: string | undefined;
freeTextValue4: string | undefined;
freeTextValue5: string | undefined;
constructor(data: string[]);
}
export declare class FreeText implements Segment {
tag: string;
textSubjectCodeQualifier: string;
freeTextFunctionCode: string | undefined;
textReference: TextReference | undefined;
textLiteral: TextLiteral | undefined;
languageNameCode: string | undefined;
freeTextFormatCode: string | undefined;
constructor(data: ResultType);
}
declare class ProcessingIndicator {
processingIndicatorDescriptionCode: string;
codeListIdentificationCode: string | undefined;
codeListResponsibleAgencyCode: string | undefined;
processTypeDescriptionCode: string | undefined;
constructor(data: string[]);
}
export declare class ProcessingInformation implements Segment {
tag: string;
processingInformationCodeQualifier: string;
processingIndicator: ProcessingIndicator | undefined;
processTypeDescriptionCode: string | undefined;
constructor(data: ResultType);
}
declare class IdentityNumberRange {
objectIdentifier1: string;
objectIdentifier2: string | undefined;
constructor(data: string[]);
}
export declare class GoodsIdentityNumber implements Segment {
tag: string;
objectIdentificationCodeQualifier: string;
identityNumberRange1: IdentityNumberRange;
identityNumberRange2: IdentityNumberRange | undefined;
identityNumberRange3: IdentityNumberRange | undefined;
identityNumberRange4: IdentityNumberRange | undefined;
identityNumberRange5: IdentityNumberRange | undefined;
constructor(data: ResultType);
}
declare class IdentificationNumber {
objectIdentifier: string;
objectIdentificationCodeQualifier: string | undefined;
statusDescriptionCode: string | undefined;
constructor(data: string[]);
}
export declare class RelatedInformationNumbers implements Segment {
tag: string;
setTypeCodeQualifier: string;
identificationNumber1: IdentificationNumber;
identificationNumber2: IdentificationNumber | undefined;
identificationNumber3: IdentificationNumber | undefined;
identificationNumber4: IdentificationNumber | undefined;
identificationNumber5: IdentificationNumber | undefined;
constructor(data: ResultType);
}
export declare class GeneralIndicator implements Segment {
tag: string;
processingIndicator: ProcessingIndicator;
constructor(data: ResultType);
}
declare class HandlingInstructionsData {
handlingInstructionDescriptionCode: string | undefined;
codeListIdentificationCode: string | undefined;
codeListResponsibleAgencyCode: string | undefined;
handlingInstructionDescription: string | undefined;
constructor(data: string[]);
}
declare class HazardousMaterial {
hazardousMaterialCategoryNameCode: string | undefined;
codeListIdentificationCode: string | undefined;
codeListResponsibleAgencyCode: string | undefined;
hazardousMaterialCategoryName: string | undefined;
constructor(data: string[]);
}
export declare class HandlingInstructions implements Segment {
tag: string;
handlingInstructions: HandlingInstructionsData | undefined;
hazardousMaterial: HazardousMaterial | undefined;
constructor(data: ResultType);
}
export declare class HierarchyInformation implements Segment {
tag: string;
hierarchyObjectCodeQualifier: string;
hierarchicalStructureRelationshipCode: string | undefined;
actionCode: string | undefined;
itemNumberIdentification: ItemNumberIdentification | undefined;
hierarchicalStructureParentIdentifier: string | undefined;
constructor(data: ResultType);
}
declare class PositionIdentification {
hierarchicalStructureLevelIdentifier: string | undefined;
sequencePositionIdentifier: string | undefined;
constructor(data: string[]);
}
export declare class Identity implements Segment {
tag: string;
objectTypeCodeQualifier: string;
identificationNumber: IdentificationNumber | undefined;
partyIdentificationDetails: PartyIdentificationDetails | undefined;
statusDescriptionCode: string | undefined;
configurationLevelNumber: number | undefined;
positionIdentification: PositionIdentification | undefined;
characteristicDescription: CharacteristicDescription | undefined;
constructor(data: ResultType);
}
declare class ItemCharacteristic {
itemCharacteristicCode: string | undefined;
codeListIdentificationCode: string | undefined;
codeListResponsibleAgencyCode: string | undefined;
constructor(data: string[]);
}
declare class ItemDescriptionData {
itemDescriptionCode: string | undefined;
codeListIdentificationCode: string | undefined;
codeListResponsibleAgencyCode: string | undefined;
itemDescription: string | undefined;
itemDescription2: string | undefined;
languageNameCode: string | undefined;
constructor(data: string[]);
}
export declare class ItemDescription implements Segment {
tag: string;
descriptionFormatCode: string | undefined;
itemCharacteristic: ItemCharacteristic | undefined;
itemDescription: ItemDescriptionData | undefined;
surfaceOrLayerCode: string | undefined;
constructor(data: ResultType);
}
declare class PartiesToInstruction {
enactingPartyIdentifier: string;
instructionReceivingPartyIdentifier: string | undefined;
constructor(data: string[]);
}
declare class Instruction {
instructionTypeCodeQualifier: string;
instructionDescriptionCode: string | undefined;
codeListIdentificationCode: string | undefined;
codeListResponsibleAgencyCode: string | undefined;
instructionDescription: string | undefined;
constructor(data: string[]);
}
declare class StatusOfInstruction {
statusDescriptionCode: string;
partyName: string | undefined;
constructor(data: string[]);
}
export declare class PartiesAndInstruction implements Segment {
tag: string;
partiesToInstruction: PartiesToInstruction | undefined;
instruction: Instruction | undefined;
statusOfInstruction: StatusOfInstruction | undefined;
actionRequestNotificationDescriptionCode: string | undefined;
constructor(data: ResultType);
}
declare class InformationRequest {
requestInformationDescriptionCode: string | undefined;
codeListIdentificationCode: string | undefined;
codeListResponsibleAgencyCode: string | undefined;
requestInformationDescription: string | undefined;
constructor(data: string[]);
}
export declare class InformationRequired implements Segment {
tag: string;
informationRequest: InformationRequest;
constructor(data: ResultType);
}
declare class ItemNumberIdentification {
itemIdentifier: string | undefined;
itemTypeIdentificationCode: string | undefined;
codeListIdentificationCode: string | undefined;
codeListResponsibleAgencyCode: string | undefined;
constructor(data: string[]);
}
declare class SubLineInformation {
subLineIndicatorCode: string | undefined;
lineItemIdentifier: string | undefined;
constructor(data: string[]);
}
export declare class LineItem implements Segment {
tag: string;
lineItemIdendifier: string | undefined;
actionRequestNotificationDescriptionCode: string | undefined;
itemNumberIdentification: ItemNumberIdentification | undefined;
subLineInformatin: SubLineInformation | undefined;
configurationLevelNumber: number | undefined;
configurationOperationCode: string | undefined;
constructor(data: ResultType);
}
declare class LocationIdentificationData {
locationNameCode: string | undefined;
codeListIdentificationCode: string | undefined;
codeListResponsibleAgencyCode: string | undefined;
locationName: string | undefined;
constructor(data: string[]);
}
declare class RelatedLocationOneIdentification {
firstRelatedLocationNameCode: string | undefined;
codeListIdentificationCode: string | undefined;
codeListResponsibleAgencyCode: string | undefined;
firstRelatedLocationName: string | undefined;
constructor(data: string[]);
}
declare class RelatedLocationTwoIdentification {
secondRelatedLocationNameCode: string | undefined;
codeListIdentificationCode: string | undefined;
codeListResponsibleAgencyCode: string | undefined;
secondRelatedLocationName: string | undefined;
constructor(data: string[]);
}
export declare class LocationIdentification implements Segment {
tag: string;
locationFunctionCodeQualifier: string;
locationIdentification: LocationIdentificationData | undefined;
relatedLocationOneIdentification: RelatedLocationOneIdentification | undefined;
relatedLocationTwoIdentification: RelatedLocationTwoIdentification | undefined;
relationCode: string | undefined;
constructor(data: ResultType);
}
declare class MeasurementDetails {
measuredAttributeCode: string | undefined;
measurementSignificanceCode: string | undefined;
nonDiscreteMeasurementNameCode: string | undefined;
nonDiscreteMeasurementName: string | undefined;
constructor(data: string[]);
}
declare class ValueRange {
measurementUnitCode: string | undefined;
measure: string | undefined;
rangeMinimumQuantity: number | undefined;
rangeMaximumQuantity: number | undefined;
significantDigitsQuantity: number | undefined;
constructor(data: string[]);
}
export declare class Measurements implements Segment {
tag: string;
measurementPurposeCodeQualifier: string;
measurementDetails: MeasurementDetails | undefined;
valueRange: ValueRange | undefined;
surfaceOrLayerCode: string | undefined;
constructor(data: ResultType);
}
declare class MonetaryAmountData {
monetaryAmountTypeCodeQualifier: string;
monetaryAmount: number | undefined;
currencyIdentificationCode: string | undefined;
currencyTypeCodeQualifier: string | undefined;
statusDescriptionCode: string | undefined;
constructor(data: string[], decimalSeparator: string);
}
export declare class MonetaryAmount implements Segment {
tag: string;
monetaryAmount: MonetaryAmountData;
constructor(data: ResultType, decimalSeparator: string);
}
export declare class MaintenanceOperationDetails implements Segment {
tag: string;
objectTypeCodeQualifier: string;
maintenanceOperationCode: string | undefined;
maintenanceOperationOperatorCode: string | undefined;
maintenanceOperationPayerCode: string | undefined;
constructor(data: ResultType);
}
declare class PartyIdentificationDetails {
partyIdentifier: string;
codeListIdentificationCode: string | undefined;
codeListResponsibleAgencyCode: string | undefined;
constructor(data: string[]);
}
declare class NameAndAddressData {
nameAndAddressDescription1: string;
nameAndAddressDescription2: string | undefined;
nameAndAddressDescription3: string | undefined;
nameAndAddressDescription4: string | undefined;
nameAndAddressDescription5: string | undefined;
constructor(data: string[]);
}
declare class PartyName {
partyName1: string;
partyName2: string | undefined;
partyName3: string | undefined;
partyName4: string | undefined;
partyName5: string | undefined;
partyNameFormatCode: string | undefined;
constructor(data: string[]);
}
declare class Street {
streetAndNumberOrPostOfficeBoxIdentifier1: string;
streetAndNumberOrPostOfficeBoxIdentifier2: string | undefined;
streetAndNumberOrPostOfficeBoxIdentifier3: string | undefined;
streetAndNumberOrPostOfficeBoxIdentifier4: string | undefined;
constructor(data: string[]);
}
declare class CountrySubEntityDetails {
countrySubEntityNameCode: string | undefined;
codeListIdentificationCode: string | undefined;
codeListResponsibleAgencyCode: string | undefined;
countrySubEntityName: string | undefined;
constructor(data: string[]);
}
export declare class NameAndAddress implements Segment {
tag: string;
partyFunctionCodeQualifier: string;
partyIdentificationDetails: PartyIdentificationDetails | undefined;
nameAndAddress: NameAndAddressData | undefined;
partyName: PartyName | undefined;
street: Street | undefined;
cityName: string | undefined;
countrySubEntityDetails: CountrySubEntityDetails | undefined;
postalIdentificationCode: string | undefined;
countryNameCode: string | undefined;
constructor(data: ResultType);
}
declare class PackagingDetails {
packagingLevelCode: string | undefined;
packagingRelatedDescriptionCode: string | undefined;
packagingTermsAndConditionsCode: string | undefined;
constructor(data: string[]);
}
declare class PackageType {
packageTypeDescriptionCode: string | undefined;
codeListIdentificationCode: string | undefined;
codeListResponsibleAgencyCode: string | undefined;
typeOfPackages: string | undefined;
constructor(data: string[]);
}
declare class PackageTypeIdentification {
descriptionFormatCode: string;
typeOfPackages: string;
itemTypeIdentificationCode: string | undefined;
typeOfPackages2: string | undefined;
itemTypeIdentificationCode2: string | undefined;
constructor(data: string[]);
}
declare class ReturnablePackageDetails {
returnablePackageFreightPaymentResponsibilityCode: string | undefined;
returnablePackageLoadContentsCode: string | undefined;
constructor(data: string[]);
}
export declare class Package implements Segment {
tag: string;
packageQuantity: number | undefined;
packagingDetails: PackagingDetails | undefined;
packageType: PackageType | undefined;
packageTypeIdentification: PackageTypeIdentification | undefined;
returnablePackageDetails: ReturnablePackageDetails | undefined;
constructor(data: ResultType);
}
export declare class PaymentInstructions implements Segment {
tag: string;
paymendConditionsCode: string | undefined;
paymentGuaranteeMeansCode: string | undefined;
paymentMeansCode: string | undefined;
codeListIdentificatinCode: string | undefined;
codeListResponsibleAgencyCode: string | undefined;
paymentChannelCode: string | undefined;
constructor(data: ResultType);
}
declare class PATPaymentTerms {
paymentTermsDescriptionIdentifier: string;
codeListIdentificationCode: string | undefined;
codeListResponsibleAgencyCode: string | undefined;
paymentTermsDescription1: string | undefined;
paymentTermsDescription2: string | undefined;
constructor(data: string[]);
}
declare class TermsTimeInformation {
timeReferenceCode: string;
termsTimeRelationCode: string | undefined;
periodTypeCode: string | undefined;
periodCountQuality: number | undefined;
constructor(data: string[]);
}
export declare class PaymentTermsBasis implements Segment {
tag: string;
paymentTermsTypeCodeQualifier: string;
paymentTerms: PATPaymentTerms | undefined;
termsTimeInformation: TermsTimeInformation | undefined;
constructor(data: ResultType);
}
declare class PercentageDetailsData {
percentageTypeCodeQualifier: string;
percentage: number | undefined;
percentageBasisIdentificationCode: string | undefined;
codeListIdentificationCode: string | undefined;
codeListResponsibleAgencyCode: string | undefined;
constructor(data: string[], decimalSeparator: string);
}
export declare class PercentageDetails implements Segment {
tag: string;
percentageDetails: PercentageDetailsData;
statusDescriptionCode: string | undefined;
constructor(data: ResultType, decimalSeparator: string);
}
declare class MarksAndLabels {
shippingMarksDescription1: string;
shippingMarksDescription2: string | undefined;
shippingMarksDescription3: string | undefined;
shippingMarksDescription4: string | undefined;
shippingMarksDescription5: string | undefined;
shippingMarksDescription6: string | undefined;
shippingMarksDescription7: string | undefined;
shippingMarksDescription8: string | undefined;
shippingMarksDescription9: string | undefined;
shippingMarksDescription10: string | undefined;
constructor(data: string[]);
}
declare class TypeOfMarking {
markingTypeCode: string;
codeListIdentificationCode: string | undefined;
codeListResponsibleAgencyCode: string | undefined;
constructor(data: string[]);
}
export declare class PackageIdentification implements Segment {
tag: string;
markingInstructionCode: string | undefined;
marksAndLabels: MarksAndLabels | undefined;
containerOrPackageContentsIndicatorCode: string | undefined;
typeOfMarking: TypeOfMarking | undefined;
constructor(data: ResultType);
}
declare class ProductGroup {
productGroupNameCode: string | undefined;
codeListIdentificationCode: string | undefined;
codeListResponsibleAgencyCode: string | undefined;
productGroupName: string | undefined;
constructor(data: string[]);
}
export declare class ProductGroupInformation implements Segment {
tag: string;
productGroupTypeCode: string;
productGroup: ProductGroup | undefined;
constructor(data: ResultType);
}
export declare class AdditionalProductId implements Segment {
tag: string;
productIdentifierCodeQualifier: string;
itemNumberIdentification1: ItemNumberIdentification;
itemNumberIdentification2: ItemNumberIdentification | undefined;
itemNumberIdentification3: ItemNumberIdentification | undefined;
itemNumberIdentification4: ItemNumberIdentification | undefined;
itemNumberIdentification5: ItemNumberIdentification | undefined;
constructor(data: ResultType);
}
declare class PriceInformation {
priceCodeQualifier: string;
priceAmount: number | undefined;
priceTypeCode: string | undefined;
priceSpecificationCode: string | undefined;
unitPriceBasisValue: number | undefined;
measurementUnitCode: string | undefined;
constructor(data: string[], decimalSeparator: string);
}
export declare class PriceDetails implements Segment {
tag: string;
priceInformation: PriceInformation | undefined;
subLineItemPriceChangeOperationCode: string | undefined;
constructor(data: ResultType, decimalSeparator: string);
}
declare class PaymentTermsData {
paymentTermsDescriptionIdentifier: string;
codeListIdentificationCode: string | undefined;
codeListResponsibleAgencyCode: string | undefined;
paymentTermsDescription: string | undefined;
constructor(data: string[]);
}
export declare class PaymentTerms implements Segment {
tag: string;
paymentTermsTypeCodeQualifier: string;
paymentTerms: PaymentTermsData | undefined;
eventTimeReferenceCode: string | undefined;
termsTimeRelationCode: string | undefined;
periodTypeCode: string | undefined;
periodCountQuantity: number | undefined;
constructor(data: ResultType);
}
declare class QuantityDetails {
quantityTypeCodeQualifier: string;
quantity: string;
measurementUnitCode: string | undefined;
constructor(data: string[]);
}
export declare class Quantity implements Segment {
tag: string;
quantityDetails: QuantityDetails;
constructor(data: ResultType);
}
declare class QuantityDifferenceInformation {
varianceQuantity: number;
quantityTypeCodeQualifier: string | undefined;
constructor(data: string[], decimalSeparator: string);
}
export declare class QuantityVariances implements Segment {
tag: string;
quantityDifferenceInformation: QuantityDifferenceInformation | undefined;
discrepancyNatureIdentificationCode: string | undefined;
reasonForChange: ReasonForChange | undefined;
constructor(data: ResultType, decimalSeparator: string);
}
declare class RequirementOrConditionIdentification {
requirementOrConditionDescriptionIdentifier: string;
codeListIdentificationCode: string | undefined;
codeListResponsibleAgencyCode: string | undefined;
requirementOrConditionDescription: string | undefined;
constructor(data: string[]);
}
export declare class RequirementsAndConditions implements Segment {
tag: string;
sectorAreaIdentificationCodeQualifier: string;
requirementOrConditionIdentification: RequirementOrConditionIdentification | undefined;
actionRequestNotificationDescriptionCode: string | undefined;
countryNameCode: string | undefined;
constructor(data: ResultType);
}
declare class ReferenceData {
referenceCodeQualifier: string;
referenceIdentifier: string | undefined;
documentLineIdentifier: string | undefined;
referenceVersionIdentifier: string | undefined;
revisionIdentifier: string | undefined;
constructor(data: string[]);
}
export declare class Reference implements Segment {
tag: string;
reference: ReferenceData;
constructor(data: ResultType);
}
declare class AccountingJournalIdentificationData {
accountingJournalIdentification: string;
codeListIdentificationCode: string | undefined;
codeListResponsibleAgencyCode: string | undefined;
accountingJournalName: string | undefined;
constructor(data: string[]);
}
declare class AccountingEntryTypeDetails {
accountingEntryTypeNameCode: string;
codeListIdentificationCode: string | undefined;
codeListResponsibleAgencyCode: string | undefined;
accountingEntryTypeName: string | undefined;
constructor(data: string[]);
}
export declare class AccountingJournalIdentification implements Segment {
tag: string;
accountingJournalIdentification: AccountingJournalIdentificationData | undefined;
accountingEntryTypeDetails: AccountingEntryTypeDetails | undefined;
constructor(data: ResultType);
}
declare class Range {
measurementUnitCode: string;
rangeMinimumValue: number | undefined;
rangeMaximumValue: number | undefined;
constructor(data: string[], decimalSeparator: string);
}
export declare class RangeDetails implements Segment {
tag: string;
rangeTypeCodeQualifier: string;
range: Range | undefined;
constructor(data: ResultType, decimalSeparator: string);
}
declare class RateDetailsData {
rateTypeCodeQualifier: string;
unitPriceBasisRate: number;
unitPriceBasisValue: number | undefined;
measurementUnitCode: string | undefined;
constructor(data: string[], decimalSeparator: string);
}
export declare class RateDetails implements Segment {
tag: string;
rateDetails: RateDetailsData;
statusDescriptionCode: string | undefined;
constructor(data: ResultType, decimalSeparator: string);
}
declare class SealIssuer {
sealingPartyNameCode: string | undefined;
codeListIdentificationCode: string | undefined;
codeListResponsibleAgencyCode: string | undefined;
sealingPartyName: string | undefined;
constructor(data: string[]);
}
export declare class SealNumber implements Segment {
tag: string;
sealIdentifier: string | undefined;
sealIssuer: SealIssuer | undefined;
sealConditionCode: string | undefined;
identityNumberRange: IdentityNumberRange | undefined;
constructor(data: ResultType);
}
declare class PatternDescription {
frequencyCode: string | undefined;
despatchPatternCode: string | undefined;
despatchPatternTimingCode: string | undefined;
constructor(data: string[]);
}
export declare class SchedulingConditions implements Segment {
tag: string;
deliveryPlanCommitmentLevelCode: string;
deliveryInstructionCode: string | undefined;
patternDescription: PatternDescription | undefined;
constructor(data: ResultType);
}
declare class SequenceInformation {
sequencePositionIdentifier: string;
sequenceIdentifierSoruceCode: string | undefined;
codeListIdentificationCode: string | undefined;
codeListResponsibleAgencyCode: string | undefined;
constructor(data: string[]);
}
export declare class SequenceDetails implements Segment {
tag: string;
actionCode: string | undefined;
sequenceInformation: SequenceInformation | undefined;
constructor(data: ResultType);
}
export declare class SplitGoodsPlacement implements Segment {
tag: string;
equipmentIdentification: EquipmentIdentification;
packageQuantity: number | undefined;
constructor(data: ResultType);
}
declare class StatusCategory {
statusCategoryCode: string;
codeListIdentificationCode: string | undefined;
codeListResponsibleAgencyCode: string | undefined;
constructor(data: string[]);
}
declare class StatusData {
statusDescriptionCode: string;
codeListIdentificationCode: string | undefined;
codeListResponsibleAgencyCode: string | undefined;
statusDescription: string | undefined;
constructor(data: string[]);
}
declare class StatusReason {
statusReasonDescriptionCode: string;
codeListIdentificationCode: string | undefined;
codeListResponsibleAgencyCode: string | undefined;
statusReasonDescription: string | undefined;
constructor(data: string[]);
}
export declare class Status implements Segment {
tag: string;
statusCategory: StatusCategory | undefined;
status: StatusData | undefined;
statusReason1: StatusReason | undefined;
statusReason2: StatusReason | undefined;
statusReason3: StatusReason | undefined;
statusReason4: StatusReason | undefined;
statusReason5: StatusReason | undefined;
constructor(data: ResultType);
}
declare class DutyTaxOrFeeType {
dutyTaxOrFeeTypeNameCode: string | undefined;
codeListIdentificationCode: string | undefined;
codeListResponsibleAgencyCode: string | undefined;
dutyTaxOrFreeTypeName: string | undefined;
constructor(data: string[]);
}
declare class DutyTaxOrFeeAccountDetail {
dutyTaxOrFeeTypeNameCode: string | undefined;
codeListIdentificationCode: string | undefined;
codeListResponsibleAgencyCode: string | undefined;
constructor(data: string[]);
}
declare class DutyTaxOrFeeDetail {
dutyTaxOrFeeRateDescriptionCode: string | undefined;
codeListIdentificationCode: string | undefined;
codeListResponsibleAgencyCode: string | undefined;
dutyTaxOrFeeRateDescription: string | undefined;
dutyTaxOrFeeRateBasisCode: string | undefined;
codeListIdentificationCode2: string | undefined;
codeListResponsibleAgencyCode2: string | undefined;
constructor(data: string[]);
}
export declare class TaxDetails implements Segment {
tag: string;
dutyTaxOrFeeFunctionCodeQualifier: string;
dutyTaxOrFeeType: DutyTaxOrFeeType | undefined;
dutyTaxOrFeeAcountDetail: DutyTaxOrFeeAccountDetail | undefined;
dutyTaxOrFreeAssessmentBasisValue: string | undefined;
dutyTaxOrFeeDetail: DutyTaxOrFeeDetail | undefined;
dutyTaxOrFeeCategoryCode: string | undefined;
partyTaxIdentifier: string | undefined;
calculationSequenceCode: string | undefined;
constructor(data: ResultType);
}
declare class ModeOfTransport {
transportModeNameCode: string | undefined;
transportModeName: string | undefined;
constructor(data: string[]);
}
declare class TransportMeans {
transportMeansDescriptionCode: string | undefined;
transportMeansDescription: string | undefined;
constructor(data: string[]);
}
declare class TransportMeansD02b {
transportMeansDescriptionCode: string | undefined;
codeListIdentificationCode: string | undefined;
codeListResponsibleAgencyCode: string | undefined;
transportMeansDescription: string | undefined;
constructor(data: string[]);
}
declare class Carrier {
carrierIdentifier: string | undefined;
codeListIdentificationcode: string | undefined;
codeListResponsibleAgencyCode: string | undefined;
carrierName: string | undefined;
constructor(data: string[]);
}
declare class ExcessTransportationInformation {
excessTransportationReasonCode: string;
excessTransportationResponsibilityCode: string;
customerShipmentAuthorisationIdentifier: string | undefined;
constructor(data: string[]);
}
declare class TransportIdentification {
transportMeansIdentificationNameIdentifier: string | undefined;
codeListIdentificationCode: string | undefined;
codeListResponsibleAgencyCode: string | undefined;
transportMeansIdentificationName: string | undefined;
transportMeansNationalityCode: string | undefined;
constructor(data: string[]);
}
declare class PowerType {
powerTypeCode: string | undefined;
codeListIdentificationCode: string | undefined;
codeListResponsibleAgencyCode: string | undefined;
powerTypeDescription: string | undefined;
constructor(data: string[]);
}
export declare class DetailsOfTransport implements Segment {
tag: string;
transportStageCodeQualifier: string;
meansOfTransportJourneyIdentifier: string | undefined;
modeOfTransport: ModeOfTransport | undefined;
transportMeans: TransportMeans | undefined;
carrier: Carrier | undefined;
transitDirectionIndicatorCode: string | undefined;
excessTransportationInformation: ExcessTransportationInformation | undefined;
transportIdentification: TransportIdentification | undefined;
transportMeansOwnershipIndicatorCode: string | undefined;
constructor(data: ResultType);
}
export declare class TransportInformationD02b implements Segment {
tag: string;
transportStageCodeQualifier: string;
meansOfTransportJourneyIdentifier: string | undefined;
modeOfTransport: ModeOfTransport | undefined;
transportMeans: TransportMeansD02b | undefined;
carrier: Carrier | undefined;
transitDirectionIndicatorCode: string | undefined;
excessTransportationInformation: ExcessTransportationInformation | undefined;
transportIdentification: TransportIdentification | undefined;
transportMeansOwnershipIndicatorCode: string | undefined;
constructor(data: ResultType);
}
export declare class TransportInformationD11a implements Segment {
tag: string;
transportStageCodeQualifier: string;
meansOfTransportJourneyIdentifier: string | undefined;
modeOfTransport: ModeOfTransport | undefined;
transportMeans: TransportMeansD02b | undefined;
carrier: Carrier | undefined;
transitDirectionIndicatorCode: string | undefined;
excessTransportationInformation: ExcessTransportationInformation | undefined;
transportIdentification: TransportIdentification | undefined;
transportMeansOwnershipIndicatorCode: string | undefined;
powerTypeDescription: PowerType | undefined;
constructor(data: ResultType);
}
declare class MovementType {
movementTypeDescriptionCode: string | undefined;
movementTypeDescription: string | undefined;
constructor(data: string[]);
}
export declare class TransportMovementDetails implements Segment {
tag: string;
movementType: MovementType | undefined;
equipmentPlanDescription: string | undefined;
haulageArrangementsCode: string | undefined;
constructor(data: ResultType);
}
declare class TermsOfDeliveryOrTransportData {
deliveryOrTransportTermsDescriptionCode: string | undefined;
codeListIdentificationCode: string | undefined;
codeListResponsibleAgencyCode: string | undefined;
deliveryOrTransportTermsDescription: string | undefined;
deliveryOrTransportTermsDescription2: string | undefined;
constructor(data: string[]);
}
export declare class TermsOfDeliveryOrTransport implements Segment {
tag: string;
deliveryOrTransportTermsFunctionCode: string | undefined;
transportChargesPaymentMethodCode: string | undefined;
termsOfDeliveryOrTransport: TermsOfDeliveryOrTransportData | undefined;
constructor(data: ResultType);
}
declare class ContractAndCarriageCondition {
contractAndCarriageConditionCode: string;
codeListIdentificationCode: string | undefined;
codeListResponsibleAgencyCode: string | undefined;
constructor(data: string[]);
}
declare class Service {
serviceRequirementCode: string;
codeListIdentificationCode: string | undefined;
codeListResponsibleAgencyCode: string | undefined;
serviceRequirementCode2: string | undefined;
codeListIdentificationCode2: string | undefined;
codeListResponsibleAgencyCode2: string | undefined;
constructor(data: string[]);
}
declare class TransportPriority {
transportServicePriorityCode: string;
codeListIdentificationCode: string | undefined;
codeListResponsibleAgencyCode: string | undefined;
constructor(data: string[]);
}
declare class NatureOfCargo {
cargoTypeClassificationCode: string;
codeListIdentificationCode: string | undefined;
codeListResponsibleAgencyCode: string | undefined;