rtech-struct
Version:
Rtech Platform Superstruct Entity
41 lines (38 loc) • 1.39 kB
text/typescript
import Package from './Package';
import PartialPoint from './PartialPoint';
import RequestedTransport from './RequestedTransport';
import Reference from './Reference';
import CustomerInterlocutor from './CustomerInterlocutor';
import CustomField from './CustomField';
import Invoice from './Invoice';
import GetItNow from './GetItNow';
import Spot from './Spot';
import AgreedPrice from './AgreedPrice';
import AgreedPriceNoPurchase from './AgreedPriceNoPurchase';
import MarketplaceSpot from './MarketplaceSpot';
import VirtualOrder from './VirtualOrder';
import ValidityTime from './ValidityTime';
import LegacyAgreedPrice from './LegacyAgreedPrice';
import Shipper from './Shipper';
import PurchasingExtras from './PurchasingExtras';
type Request = {
key?: string,
source: string[],
packages: Package[],
points: PartialPoint[],
transports: RequestedTransport[],
extras?: string[],
references?: Reference[],
customer_interlocutor?: CustomerInterlocutor,
custom_fields?: CustomField[],
invoice?: Invoice,
order_type?: Spot | AgreedPrice | AgreedPriceNoPurchase | VirtualOrder | MarketplaceSpot | GetItNow | LegacyAgreedPrice ,
validity_time?: ValidityTime,
issuer?: string,
creator?: string,
target?: string[],
comment?: string,
shipper?: Shipper,
purchasingExtras?: PurchasingExtras[],
};
export default Request;