opennms
Version:
Client API for the OpenNMS network monitoring platform
1 lines • 15 kB
JSON
{"remainingRequest":"/data/node_modules/babel-loader/lib/index.js!/data/node_modules/ts-loader/index.js!/data/src/model/OnmsTroubleTicketState.ts","dependencies":[{"path":"/data/src/model/OnmsTroubleTicketState.ts","mtime":1553611371628},{"path":"/data/node_modules/typescript-logging/dist/commonjs/typescript-logging.d.ts","mtime":1553611387808},{"path":"/data/node_modules/typescript-logging/dist/commonjs/control/LogGroupControl.d.ts","mtime":1553611387932},{"path":"/data/node_modules/typescript-logging/dist/commonjs/control/CategoryServiceControl.d.ts","mtime":1553611387932},{"path":"/data/node_modules/typescript-logging/dist/commonjs/extension/MessagesToExtensionJSON.d.ts","mtime":1553611387932},{"path":"/data/node_modules/typescript-logging/dist/commonjs/extension/MessagesFromExtensionJSON.d.ts","mtime":1553611387932},{"path":"/data/node_modules/typescript-logging/dist/commonjs/extension/ExtensionMessageJSON.d.ts","mtime":1553611387932},{"path":"/data/node_modules/typescript-logging/dist/commonjs/extension/ExtensionHelper.d.ts","mtime":1553611387932},{"path":"/data/node_modules/typescript-logging/dist/commonjs/log/category/AbstractCategoryLogger.d.ts","mtime":1553611388000},{"path":"/data/node_modules/typescript-logging/dist/commonjs/log/LoggerOptions.d.ts","mtime":1553611387932},{"path":"/data/node_modules/typescript-logging/dist/commonjs/log/category/CategoryLogger.d.ts","mtime":1553611388000},{"path":"/data/node_modules/typescript-logging/dist/commonjs/log/category/CategoryService.d.ts","mtime":1553611388000},{"path":"/data/node_modules/typescript-logging/dist/commonjs/log/category/CategoryConsoleLoggerImpl.d.ts","mtime":1553611388000},{"path":"/data/node_modules/typescript-logging/dist/commonjs/log/category/CategoryDelegateLoggerImpl.d.ts","mtime":1553611388000},{"path":"/data/node_modules/typescript-logging/dist/commonjs/log/category/CategoryMessageBufferImpl.d.ts","mtime":1553611388000},{"path":"/data/node_modules/typescript-logging/dist/commonjs/log/standard/Logger.d.ts","mtime":1553611388000},{"path":"/data/node_modules/typescript-logging/dist/commonjs/log/standard/LoggerFactory.d.ts","mtime":1553611388004},{"path":"/data/node_modules/typescript-logging/dist/commonjs/log/standard/LoggerFactoryService.d.ts","mtime":1553611388004},{"path":"/data/node_modules/typescript-logging/dist/commonjs/log/standard/LoggerFactoryRuntimeSettings.d.ts","mtime":1553611388004},{"path":"/data/node_modules/typescript-logging/dist/commonjs/log/standard/AbstractLogger.d.ts","mtime":1553611388000},{"path":"/data/node_modules/typescript-logging/dist/commonjs/log/standard/ConsoleLoggerImpl.d.ts","mtime":1553611388000},{"path":"/data/node_modules/typescript-logging/dist/commonjs/log/standard/MessageBufferLoggerImpl.d.ts","mtime":1553611388004},{"path":"/data/node_modules/typescript-logging/dist/commonjs/utils/DataStructures.d.ts","mtime":1553611387936},{"path":"/data/node_modules/typescript-logging/dist/commonjs/utils/JSONHelper.d.ts","mtime":1553611387936},{"path":"/data/node_modules/typescript-logging/dist/commonjs/utils/MessageUtils.d.ts","mtime":1553611387936},{"path":"/data/node_modules/moment/moment.d.ts","mtime":1553611386704},{"path":"/data/node_modules/axios/index.d.ts","mtime":1553611386356},{"path":"/data/typings/index.d.ts","mtime":1553611371628},{"path":"/data/node_modules/@types/fs-extra/index.d.ts","mtime":1553611386380},{"path":"/data/node_modules/@types/node/index.d.ts","mtime":1553611386380},{"path":"/data/node_modules/@types/node/inspector.d.ts","mtime":1553611386380},{"path":"/data/node_modules/@types/glob/index.d.ts","mtime":1553611386380},{"path":"/data/node_modules/@types/minimatch/index.d.ts","mtime":1553611386380},{"path":"/data/node_modules/@types/glob/node_modules/@types/minimatch/index.d.ts","mtime":1553611386368},{"path":"/data/node_modules/@types/handlebars/index.d.ts","mtime":1553611386368},{"path":"/data/node_modules/@types/highlight.js/index.d.ts","mtime":1553611386368},{"path":"/data/node_modules/@types/jest/index.d.ts","mtime":1553611386368},{"path":"/data/node_modules/@types/jquery/index.d.ts","mtime":1553611386368},{"path":"/data/node_modules/@types/lodash/index.d.ts","mtime":1553611386320},{"path":"/data/node_modules/@types/lodash/common/common.d.ts","mtime":1553611386984},{"path":"/data/node_modules/@types/lodash/common/array.d.ts","mtime":1553611386984},{"path":"/data/node_modules/@types/lodash/common/collection.d.ts","mtime":1553611386984},{"path":"/data/node_modules/@types/lodash/common/date.d.ts","mtime":1553611386984},{"path":"/data/node_modules/@types/lodash/common/function.d.ts","mtime":1553611386984},{"path":"/data/node_modules/@types/lodash/common/lang.d.ts","mtime":1553611386984},{"path":"/data/node_modules/@types/lodash/common/math.d.ts","mtime":1553611386984},{"path":"/data/node_modules/@types/lodash/common/number.d.ts","mtime":1553611386984},{"path":"/data/node_modules/@types/lodash/common/object.d.ts","mtime":1553611386984},{"path":"/data/node_modules/@types/lodash/common/seq.d.ts","mtime":1553611386984},{"path":"/data/node_modules/@types/lodash/common/string.d.ts","mtime":1553611386984},{"path":"/data/node_modules/@types/lodash/common/util.d.ts","mtime":1553611386984},{"path":"/data/node_modules/@types/marked/index.d.ts","mtime":1553611386368},{"path":"/data/node_modules/@types/shelljs/index.d.ts","mtime":1553611386380},{"path":"/data/node_modules/@types/urijs/index.d.ts","mtime":1553611386380},{"path":"/data/node_modules/typescript/lib/lib.es2015.d.ts","mtime":1553611387384},{"path":"/data/node_modules/typescript/lib/lib.es2015.core.d.ts","mtime":1553611387384},{"path":"/data/node_modules/typescript/lib/lib.es2015.collection.d.ts","mtime":1553611387384},{"path":"/data/node_modules/typescript/lib/lib.es2015.generator.d.ts","mtime":1553611387384},{"path":"/data/node_modules/typescript/lib/lib.es2015.promise.d.ts","mtime":1553611387384},{"path":"/data/node_modules/typescript/lib/lib.es2015.iterable.d.ts","mtime":1553611387384},{"path":"/data/node_modules/typescript/lib/lib.es2015.symbol.d.ts","mtime":1553611387384},{"path":"/data/node_modules/typescript/lib/lib.es2015.proxy.d.ts","mtime":1553611387384},{"path":"/data/node_modules/typescript/lib/lib.es2015.reflect.d.ts","mtime":1553611387384},{"path":"/data/node_modules/typescript/lib/lib.es2015.symbol.wellknown.d.ts","mtime":1553611387384},{"path":"/data/node_modules/typescript/lib/lib.es5.d.ts","mtime":1553611387388},{"path":"/data/node_modules/typescript/lib/lib.dom.d.ts","mtime":1553611387384},{"path":"/data/src/api/IHasUrlValue.ts","mtime":1553611371624},{"path":"/data/src/internal/OnmsEnum.ts","mtime":1553611371628},{"path":"/data/.babelrc","mtime":1553611371556},{"path":"/data/node_modules/cache-loader/dist/cjs.js","mtime":1553611387012},{"path":"/data/node_modules/babel-loader/lib/index.js","mtime":1553611386992},{"path":"/data/node_modules/ts-loader/index.js","mtime":1553611386824}],"contextDependencies":[],"result":["\"use strict\";\n\nvar _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if (\"value\" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();\n\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\nfunction _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return call && (typeof call === \"object\" || typeof call === \"function\") ? call : self; }\n\nfunction _inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function, not \" + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }\n\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar OnmsEnum_1 = require(\"../internal/OnmsEnum\");\n/**\n * Represents an OpenNMS trouble ticket state.\n * @module OnmsTroubleTicketState\n */\n\nvar OnmsTroubleTicketState = function (_OnmsEnum_1$OnmsEnum) {\n _inherits(OnmsTroubleTicketState, _OnmsEnum_1$OnmsEnum);\n\n function OnmsTroubleTicketState() {\n _classCallCheck(this, OnmsTroubleTicketState);\n\n return _possibleConstructorReturn(this, (OnmsTroubleTicketState.__proto__ || Object.getPrototypeOf(OnmsTroubleTicketState)).apply(this, arguments));\n }\n\n _createClass(OnmsTroubleTicketState, [{\n key: \"urlValue\",\n get: function get() {\n return this.label;\n }\n }]);\n\n return OnmsTroubleTicketState;\n}(OnmsEnum_1.OnmsEnum);\n\nexports.OnmsTroubleTicketState = OnmsTroubleTicketState;\n/* tslint:disable:object-literal-sort-keys */\nvar TroubleTicketStates = {\n /** Trouble ticket is currently open */\n OPEN: new OnmsTroubleTicketState(0, 'OPEN'),\n /** Trouble ticket is being created */\n CREATE_PENDING: new OnmsTroubleTicketState(1, 'CREATE_PENDING'),\n /** Trouble ticket creation has failed */\n CREATE_FAILED: new OnmsTroubleTicketState(2, 'CREATE_FAILED'),\n /** Trouble ticket is pending an update from the remote helpdesk system */\n UPDATE_PENDING: new OnmsTroubleTicketState(3, 'UPDATE_PENDING'),\n /** Updating ticket state from the remote helpdesk system failed */\n UPDATE_FAILED: new OnmsTroubleTicketState(4, 'UPDATE_FAILED'),\n /** Trouble ticket has been closed */\n CLOSED: new OnmsTroubleTicketState(5, 'CLOSED'),\n /** Trouble ticket is pending closure in the remote helpdesk system */\n CLOSE_PENDING: new OnmsTroubleTicketState(6, 'CLOSE_PENDING'),\n /** An attempt to mark the ticket closed in the remote helpdesk system has failed */\n CLOSE_FAILED: new OnmsTroubleTicketState(7, 'CLOSE_FAILED'),\n /** Trouble ticket has been resolved */\n RESOLVED: new OnmsTroubleTicketState(8, 'RESOLVED'),\n /** Trouble ticket is in the process of being marked resolved */\n RESOLVE_PENDING: new OnmsTroubleTicketState(9, 'RESOLVE_PENDING'),\n /** Resolving ticket in the remote helpdesk system has failed */\n RESOLVE_FAILED: new OnmsTroubleTicketState(10, 'RESOLVE_FAILED'),\n /** Trouble ticket has been canceled */\n CANCELLED: new OnmsTroubleTicketState(11, 'CANCELLED'),\n /** Trouble ticket is in the process of being marked as canceled */\n CANCEL_PENDING: new OnmsTroubleTicketState(12, 'CANCEL_PENDING'),\n /** An attempt to mark the ticket canceled in the remote helpdesk system has failed */\n CANCEL_FAILED: new OnmsTroubleTicketState(13, 'CANCEL_FAILED')\n};\n/** @hidden */\nvar frozen = Object.freeze(TroubleTicketStates);\nexports.TroubleTicketStates = frozen;",{"version":3,"file":"/data/src/model/OnmsTroubleTicketState.ts","sourceRoot":"","sources":["/data/src/model/OnmsTroubleTicketState.ts"],"names":[],"mappings":";;;;;;;;;;;AAEA,yBAA8C;AAE9C,AAGG,AACH;;;;;IAAoC;;;;;;;;;;;;AAEhC,AAAM,mBAAC,AAAI,KAAC,AAAK,AAAC,AACpB;AAAC,AACF;;;;EAJ2C,WAAgB,AAC1D,AAAW,AAAQ;;AADrB,iCAIC;AAED,AAA6C;AAC7C,IAAM,AAAmB;AACvB,AAAuC;AACvC,AAAI,UAAE,IAAI,AAAsB,uBAAC,AAAC,GAAE,AAAM,AAAC;AAC3C,AAAsC;AACtC,AAAc,oBAAE,IAAI,AAAsB,uBAAC,AAAC,GAAE,AAAgB,AAAC;AAC/D,AAAyC;AACzC,AAAa,mBAAE,IAAI,AAAsB,uBAAC,AAAC,GAAE,AAAe,AAAC;AAC7D,AAA0E;AAC1E,AAAc,oBAAE,IAAI,AAAsB,uBAAC,AAAC,GAAE,AAAgB,AAAC;AAC/D,AAAmE;AACnE,AAAa,mBAAE,IAAI,AAAsB,uBAAC,AAAC,GAAE,AAAe,AAAC;AAC7D,AAAqC;AACrC,AAAM,YAAE,IAAI,AAAsB,uBAAC,AAAC,GAAE,AAAQ,AAAC;AAC/C,AAAsE;AACtE,AAAa,mBAAE,IAAI,AAAsB,uBAAC,AAAC,GAAE,AAAe,AAAC;AAC7D,AAAoF;AACpF,AAAY,kBAAE,IAAI,AAAsB,uBAAC,AAAC,GAAE,AAAc,AAAC;AAC3D,AAAuC;AACvC,AAAQ,cAAE,IAAI,AAAsB,uBAAC,AAAC,GAAE,AAAU,AAAC;AACnD,AAAgE;AAChE,AAAe,qBAAE,IAAI,AAAsB,uBAAC,AAAC,GAAE,AAAiB,AAAC;AACjE,AAAgE;AAChE,AAAc,oBAAE,IAAI,AAAsB,uBAAC,AAAE,IAAE,AAAgB,AAAC;AAChE,AAAuC;AACvC,AAAS,eAAE,IAAI,AAAsB,uBAAC,AAAE,IAAE,AAAW,AAAC;AACtD,AAAmE;AACnE,AAAc,oBAAE,IAAI,AAAsB,uBAAC,AAAE,IAAE,AAAgB,AAAC;AAChE,AAAsF;AACtF,AAAa,mBAAE,IAAI,AAAsB,uBAAC,AAAE,IAAE,AAAe,AAAC,AAC/D,AAAC;AA7B0B;AA+B5B,AAAc;AACd,IAAM,AAAM,SAAG,AAAM,OAAC,AAAM,OAAC,AAAmB,AAAC,AAAC;AAChC,8BAAmB","sourcesContent":["import {IHasUrlValue} from '../api/IHasUrlValue';\n\nimport {OnmsEnum} from '../internal/OnmsEnum';\n\n/**\n * Represents an OpenNMS trouble ticket state.\n * @module OnmsTroubleTicketState\n */\nexport class OnmsTroubleTicketState extends OnmsEnum<number> implements IHasUrlValue {\n public get urlValue() {\n return this.label;\n }\n}\n\n/* tslint:disable:object-literal-sort-keys */\nconst TroubleTicketStates = {\n /** Trouble ticket is currently open */\n OPEN: new OnmsTroubleTicketState(0, 'OPEN'),\n /** Trouble ticket is being created */\n CREATE_PENDING: new OnmsTroubleTicketState(1, 'CREATE_PENDING'),\n /** Trouble ticket creation has failed */\n CREATE_FAILED: new OnmsTroubleTicketState(2, 'CREATE_FAILED'),\n /** Trouble ticket is pending an update from the remote helpdesk system */\n UPDATE_PENDING: new OnmsTroubleTicketState(3, 'UPDATE_PENDING'),\n /** Updating ticket state from the remote helpdesk system failed */\n UPDATE_FAILED: new OnmsTroubleTicketState(4, 'UPDATE_FAILED'),\n /** Trouble ticket has been closed */\n CLOSED: new OnmsTroubleTicketState(5, 'CLOSED'),\n /** Trouble ticket is pending closure in the remote helpdesk system */\n CLOSE_PENDING: new OnmsTroubleTicketState(6, 'CLOSE_PENDING'),\n /** An attempt to mark the ticket closed in the remote helpdesk system has failed */\n CLOSE_FAILED: new OnmsTroubleTicketState(7, 'CLOSE_FAILED'),\n /** Trouble ticket has been resolved */\n RESOLVED: new OnmsTroubleTicketState(8, 'RESOLVED'),\n /** Trouble ticket is in the process of being marked resolved */\n RESOLVE_PENDING: new OnmsTroubleTicketState(9, 'RESOLVE_PENDING'),\n /** Resolving ticket in the remote helpdesk system has failed */\n RESOLVE_FAILED: new OnmsTroubleTicketState(10, 'RESOLVE_FAILED'),\n /** Trouble ticket has been canceled */\n CANCELLED: new OnmsTroubleTicketState(11, 'CANCELLED'),\n /** Trouble ticket is in the process of being marked as canceled */\n CANCEL_PENDING: new OnmsTroubleTicketState(12, 'CANCEL_PENDING'),\n /** An attempt to mark the ticket canceled in the remote helpdesk system has failed */\n CANCEL_FAILED: new OnmsTroubleTicketState(13, 'CANCEL_FAILED'),\n};\n\n/** @hidden */\nconst frozen = Object.freeze(TroubleTicketStates);\nexport {frozen as TroubleTicketStates};\n"]}]}