@weiliang79/ubl-builder
Version:
Tool to create xml documents with UBL 2.1 standard
37 lines • 1.6 kB
TypeScript
import GenericAggregateComponent from './GenericAggregateComponent';
import { UdtIdentifier, UdtDate, UdtTime, UdtText } from '../types/UnqualifiedDataTypes';
import { DespatchAddress } from './AddressTypeGroup';
import { DespatchLocation } from './LocationTypeGroup';
import { DespatchParty, CarrierParty, NotifyParty } from './PartyTypeGroup';
import { Contact } from './ContactTypeGroup';
import { EstimatedDespatchPeriod } from './PeriodTypeGroup';
type AllowedParams = {
id: string | UdtIdentifier;
requestedDespatchDate: string | UdtDate;
requestedDespatchTime: string | UdtTime;
estimatedDespatchDate: string | UdtDate;
estimatedDespatchTime: string | UdtTime;
actualDespatchDate: string | UdtDate;
actualDespatchTime: string | UdtTime;
guaranteedDespatchDate: string | UdtDate;
guaranteedDespatchTime: string | UdtTime;
releaseID: string | UdtIdentifier;
instructions: string | UdtText;
despatchAddress: DespatchAddress;
despatchLocation: DespatchLocation;
despatchParty: DespatchParty;
carrierParty: CarrierParty;
NotifyParties: NotifyParty;
contact: Contact;
estimatedDespatchPeriod: EstimatedDespatchPeriod;
requestedDespatchPeriod: EstimatedDespatchPeriod;
};
/**
* A class to describe the despatching of goods (their pickup for delivery).
* More info: http://www.datypic.com/sc/ubl21/t-cac_DespatchType.html
*/
declare class Despatch extends GenericAggregateComponent {
constructor(content: AllowedParams);
}
export { Despatch, AllowedParams as DespatchParams };
//# sourceMappingURL=Despatch.d.ts.map