"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.SessionState = exports.SessionEventCode = exports.SessionEvent = void 0;
const state_1 = require("../state");
const EventReceived = 'eventReceived';
exports.SessionEvent = Object.assign(Object.assign({}, state_1.StateEvent), { EventReceived });
/**
 * Each session can report different status events during its lifecycle.
 */
var SessionEventCode;
(function (SessionEventCode) {
    /** The session has failed to authenticate the client. */
    SessionEventCode["AuthenticationFailed"] = "authenticationFailed";
    /** The session has successfully authenticated the client. */
    SessionEventCode["AuthenticationSucceeded"] = "authenticationSucceeded";
    /** Token refresh failed. */
    SessionEventCode["RefreshFailed"] = "refreshFailed";
    /** Token refreshed successfully. */
    SessionEventCode["RefreshSucceeded"] = "refreshSucceeded";
})(SessionEventCode = exports.SessionEventCode || (exports.SessionEventCode = {}));
/**
 * Each session can report different status events during its lifecycle.
 */
var SessionState;
(function (SessionState) {
    /** The session is waiting to be opened or closed. */
    SessionState["Opened"] = "Opened";
    /** The session is open and ready to work. */
    SessionState["Closed"] = "Closed";
    /** The session is closed. */
    SessionState["Pending"] = "Pending";
})(SessionState = exports.SessionState || (exports.SessionState = {}));
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic2Vzc2lvbi5pbnRlcmZhY2UuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi9zcmMvc2Vzc2lvbi9zZXNzaW9uLmludGVyZmFjZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7QUFJQSxvQ0FBaUU7QUFFakUsTUFBTSxhQUFhLEdBQW9CLGVBQWUsQ0FBQztBQUUxQyxRQUFBLFlBQVksbUNBQVEsa0JBQVUsS0FBRSxhQUFhLElBQUc7QUFFN0Q7O0dBRUc7QUFDSCxJQUFZLGdCQVNYO0FBVEQsV0FBWSxnQkFBZ0I7SUFDeEIseURBQXlEO0lBQ3pELGlFQUE2QyxDQUFBO0lBQzdDLDZEQUE2RDtJQUM3RCx1RUFBbUQsQ0FBQTtJQUNuRCw0QkFBNEI7SUFDNUIsbURBQStCLENBQUE7SUFDL0Isb0NBQW9DO0lBQ3BDLHlEQUFxQyxDQUFBO0FBQ3pDLENBQUMsRUFUVyxnQkFBZ0IsR0FBaEIsd0JBQWdCLEtBQWhCLHdCQUFnQixRQVMzQjtBQUVEOztHQUVHO0FBQ0gsSUFBWSxZQU9YO0FBUEQsV0FBWSxZQUFZO0lBQ3BCLHFEQUFxRDtJQUNyRCxpQ0FBaUIsQ0FBQTtJQUNqQiw2Q0FBNkM7SUFDN0MsaUNBQWlCLENBQUE7SUFDakIsNkJBQTZCO0lBQzdCLG1DQUFtQixDQUFBO0FBQ3ZCLENBQUMsRUFQVyxZQUFZLEdBQVosb0JBQVksS0FBWixvQkFBWSxRQU92QiJ9