"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.RW_DESKTOP_DETECTOR_REGEX = exports.EIKON_DESKTOP_DETECTOR_REGEX = exports.RTK_DETECTOR_OBJECT = exports.SXS_WEB_DETECTOR_OBJECT = exports.WORKSPACE_SDK_DETECTOR_OBJECT = exports.ExecutionContainer = exports.TransportType = exports.Platform = exports.STREAM_FIRST_REQUEST_ID = exports.APP_DEFAULT_SCOPE = exports.RW_REQUEST_PREFIX = exports.TSI_ENDPOINT_ROOT = exports.UDF_ENDPOINT_ROOT = exports.RDP_ENDPOINT_ROOT = void 0;
/**
 * Endpoint prefixes for data accessor
 */
exports.RDP_ENDPOINT_ROOT = '/api/rdp';
exports.UDF_ENDPOINT_ROOT = '/api/udf';
exports.TSI_ENDPOINT_ROOT = '/api/tsi';
exports.RW_REQUEST_PREFIX = '/eds';
/**
 * The default scope of an Container session if the user doesn't provide their own
 */
exports.APP_DEFAULT_SCOPE = 'trapi';
/**
 * The default number of the first message through the streaming channel
 * In general the first message should be used for initialization or authorization
 */
exports.STREAM_FIRST_REQUEST_ID = 1;
/**
 * Platform of Eikon/RefinitivWorkspace container we are working on
 */
var Platform;
(function (Platform) {
    Platform["ALPHA"] = "alpha";
    Platform["BETA"] = "beta";
    Platform["PROD"] = "prod";
})(Platform = exports.Platform || (exports.Platform = {}));
/**
 * The network protocol types to be used for the container session
 */
var TransportType;
(function (TransportType) {
    TransportType["PIPE"] = "PIPE";
    TransportType["HTTP"] = "HTTP";
    TransportType["MIX"] = "MIX";
})(TransportType = exports.TransportType || (exports.TransportType = {}));
var ExecutionContainer;
(function (ExecutionContainer) {
    // uses specific bus requester with { disableStringify: true }
    ExecutionContainer["DESKTOP_RW_1_9"] = "DESKTOP_RW_1_9";
    // uses general bus requester
    ExecutionContainer["DESKTOP_RW_NON_1_9_OR_EIKON"] = "DESKTOP_RW_NON_1_9_OR_EIKON";
    // RTK object is used
    ExecutionContainer["RTK"] = "RTK";
    // sxsWeb library is used (@df-streaming)
    ExecutionContainer["SXS_WEB"] = "SXS_WEB";
    // workspaceSdk library is used (@df-streaming)
    ExecutionContainer["WORKSPACE_SDK"] = "WSDK";
    // RW Web - http for Request/Response, pipe - for a streaming (@df-streaming)
    // E4 Web - http for Request/Response, streaming is not supported
    ExecutionContainer["WEB_RW_OR_EIKON"] = "WEB_RW_OR_EIKON";
    ExecutionContainer["UNKNOWN"] = "UNKNOWN";
})(ExecutionContainer = exports.ExecutionContainer || (exports.ExecutionContainer = {}));
exports.WORKSPACE_SDK_DETECTOR_OBJECT = 'WSDK';
exports.SXS_WEB_DETECTOR_OBJECT = 'sxsWeb';
exports.RTK_DETECTOR_OBJECT = 'RTK';
exports.EIKON_DESKTOP_DETECTOR_REGEX = /EikonViewer/i;
exports.RW_DESKTOP_DETECTOR_REGEX = /(TR-EikonLight|RefinitivWorkspace)/i;
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY29udGFpbmVyLXNlc3Npb24uanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi9zcmMvY29uc3RhbnRzL2NvbnRhaW5lci1zZXNzaW9uLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7OztBQUFBOztHQUVHO0FBQ1UsUUFBQSxpQkFBaUIsR0FBRyxVQUFVLENBQUM7QUFDL0IsUUFBQSxpQkFBaUIsR0FBRyxVQUFVLENBQUM7QUFDL0IsUUFBQSxpQkFBaUIsR0FBRyxVQUFVLENBQUM7QUFFL0IsUUFBQSxpQkFBaUIsR0FBRyxNQUFNLENBQUM7QUFFeEM7O0dBRUc7QUFDVSxRQUFBLGlCQUFpQixHQUFHLE9BQU8sQ0FBQztBQUV6Qzs7O0dBR0c7QUFDVSxRQUFBLHVCQUF1QixHQUFXLENBQUMsQ0FBQztBQUVqRDs7R0FFRztBQUNILElBQVksUUFJWDtBQUpELFdBQVksUUFBUTtJQUNoQiwyQkFBZSxDQUFBO0lBQ2YseUJBQW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