import { DataModelsPaymentStatuses as PaymentStatuses, UserTypes } from "@springtree/eva-services-core"; /** * The confirmation message for an elevation barcode magic token. * This token that was subscribed to should be set on the `EVA-Elevation-Token` header for * whichever service required the elevated permissions * * @export * @interface IHubEventElevationBarcodeConfirmed */ export interface IHubEventElevationBarcodeConfirmed { ConfirmedUserID: string; } /** * The order updated event * * @export * @interface IHubEventOrderUpdated */ export interface IHubEventOrderUpdated { OrderID: string; UserID?: string; UserType?: UserTypes; } /** * After a (PIN) payment there could be some additional user information available. * * @export * @interface IHubEventSubscribedOrderAdditionalInformation */ export interface IHubEventSubscribedOrderAdditionalInformation { OrderID: string; MatchedUserID: string; EmailAddress: string; } /** * The payment transaction properties added when it is updated * * @export * @enum {number} */ export declare enum PaymentTransactionProperties { None = 0, Reversed = 1, Chargedback = 2, DisputeResolved = 4, CaptureCancelRequested = 8, CaptureCancelConfirmed = 16, FraudCheckRequested = 32, FraudCheckPassed = 64, FraudCheckDenied = 128 } /** * The payment transaction was created event * * @export * @interface IHubEventPaymentTransactionCreated */ export interface IHubEventPaymentTransactionCreated { PaymentTransactionID: string; Status: PaymentStatuses; OrderID: string; } /** * The payment transaction was updated event * * @export * @interface IHubEventPaymentTransactionUpdated */ export interface IHubEventPaymentTransactionUpdated { PaymentTransactionID: string; Status: PaymentStatuses; OrderID: string; PaymentTransactionProperties?: PaymentTransactionProperties; } /** * The UserTask created event * * @export * @interface IHubEventUserTaskCreated */ export interface IHubEventUserTaskCreated { ID: string; UserID?: string; TypeID: string; TypeName: string; SubTypeID?: string; SubTypeName?: string; IsCompleted: boolean; IsActive: boolean; Priority: number; } /** * The UserTask updated event * * @export * @interface IHubEventUserTaskUpdated */ export interface IHubEventUserTaskUpdated { ID: string; UserID?: string; TypeID: string; TypeName: string; SubTypeID?: string; SubTypeName?: string; IsCompleted: boolean; IsActive: boolean; Priority: number; } /** * Emitted when a custom barcode scan event is received from a subscribed station */ export interface IHubEventStationScan { Barcode: string; } //# sourceMappingURL=organization-unit-hub.d.ts.map