UNPKG

skyflow-node

Version:
49 lines 1.94 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.SDK_METRICS_HEADER_KEY = exports.ContentType = exports.TYPES = exports.MessageType = exports.LogLevel = exports.RequestMethod = exports.RedactionType = void 0; var RedactionType; (function (RedactionType) { RedactionType["DEFAULT"] = "DEFAULT"; RedactionType["PLAIN_TEXT"] = "PLAIN_TEXT"; RedactionType["MASKED"] = "MASKED"; RedactionType["REDACTED"] = "REDACTED"; })(RedactionType = exports.RedactionType || (exports.RedactionType = {})); var RequestMethod; (function (RequestMethod) { RequestMethod["GET"] = "GET"; RequestMethod["POST"] = "POST"; RequestMethod["PUT"] = "PUT"; RequestMethod["PATCH"] = "PATCH"; RequestMethod["DELETE"] = "DELETE"; })(RequestMethod = exports.RequestMethod || (exports.RequestMethod = {})); var LogLevel; (function (LogLevel) { LogLevel["WARN"] = "WARN"; LogLevel["INFO"] = "INFO"; LogLevel["DEBUG"] = "DEBUG"; LogLevel["ERROR"] = "ERROR"; LogLevel["OFF"] = "OFF"; })(LogLevel = exports.LogLevel || (exports.LogLevel = {})); var MessageType; (function (MessageType) { MessageType["LOG"] = "LOG"; MessageType["WARN"] = "WARN"; MessageType["ERROR"] = "ERROR"; })(MessageType = exports.MessageType || (exports.MessageType = {})); exports.TYPES = { INSERT: 'INSERT', DETOKENIZE: 'DETOKENIZE', GET_BY_ID: 'GET_BY_ID', GET: 'GET', INVOKE_CONNECTION: 'INVOKE_CONNECTION', }; var ContentType; (function (ContentType) { ContentType["APPLICATIONORJSON"] = "application/json"; ContentType["TEXTORPLAIN"] = "text/plain"; ContentType["TEXTORXML"] = "text/xml"; ContentType["FORMURLENCODED"] = "application/x-www-form-urlencoded"; ContentType["FORMDATA"] = "multipart/form-data"; })(ContentType = exports.ContentType || (exports.ContentType = {})); exports.SDK_METRICS_HEADER_KEY = "sky-metadata"; //# sourceMappingURL=index.js.map