import { SalesPostingMode, SalesGiftCardStatus, SalesLineStatus } from "./all.enum";
export declare class SalesPostingRequest {
    Mode?: SalesPostingMode | undefined;
    ExternalId?: string | undefined;
}
export declare class SalesReversePostingRequest {
    ExternalId?: string | undefined;
}
export declare class SalesPostingResult {
    SalesOrderId?: string | undefined;
    InvoiceId?: string | undefined;
    DeliveryNoteId?: string | undefined;
    InvoiceNumber?: string | undefined;
    DeliveryNoteNumber?: string | undefined;
    ExternalId?: string | undefined;
    PostedAt?: Date | undefined;
    WasIdempotentHit?: boolean | undefined;
    LineEffects?: SalesPostingLineEffect[] | undefined;
    ActivatedGiftCards?: SalesPostingGiftCardEffect[] | undefined;
    ActivatedVouchers?: SalesPostingVoucherEffect[] | undefined;
}
export declare class SalesPostingLineEffect {
    SalesLineId?: string | undefined;
    QtyPosted?: number | undefined;
    QtyRemaining?: number | undefined;
    LineStatusAfter?: SalesLineStatus | undefined;
}
export declare class SalesPostingGiftCardEffect {
    GiftCardId?: string | undefined;
    ActivatedValue?: number | undefined;
    StatusAfter?: SalesGiftCardStatus | undefined;
}
export declare class SalesPostingVoucherEffect {
    VoucherId?: string | undefined;
    ActivatedValue?: number | undefined;
    StatusAfter?: SalesGiftCardStatus | undefined;
}
export declare class SalesPostingLineError {
    SalesLineId?: string | undefined;
    Field?: string | undefined;
    Error?: string | undefined;
    Requested?: number | undefined;
    Available?: number | undefined;
}
export declare class SalesPostingErrorResponse {
    LineErrors?: SalesPostingLineError[] | undefined;
}
//# sourceMappingURL=sales-posting.d.ts.map