import { IHubJoinRequestBase } from './hubs'; /** * The elevation barcode hub join request payload * * @export * @interface IHubElevationBarcodeJoinRequest */ export interface IHubElevationBarcodeJoinRequest extends IHubJoinRequestBase { requestToken: string; confirmedCallback?: (confirmedEvent: IHubEventElevationBarcodeConfirmed) => void; } /** * Used to start listening to an elevation barcode magic link token for confirmation * * @export * @interface ISubscribeToElevationBarcode */ export interface ISubscribeToElevationBarcode { RequestToken: string; } /** * 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: number; }