Built motion from commit eddce310.|2.6.12
[motion2.git] / server / api / plugin / plugin.model.js
1 // *************************************************************************
2 // *                                                                       *
3 // * xCALLY Motion -  The Omnichannel Contact Center                       *
4 // * Copyright (c) Xenialab s.r.l. All Rights Reserved                     *
5 // *                                                                       *
6 // *************************************************************************
7 // *                                                                       *
8 // * Email: info@xcally.com                                                *
9 // * Website: https://www.xcally.com                                       *
10 // *                                                                       *
11 // *************************************************************************
12 // *                                                                       *
13 // * The SOFTWARE PRODUCT is protected by copyright laws and international *
14 // * copyright treaties, as well as other intellectual property laws and   *
15 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                         *
16 // *                                                                       *
17 // *************************************************************************
18 var _0xa86f=['../../config/logger','moment','bluebird','path','rimraf','../../config/environment','./plugin.attributes','exports','plugins','lodash'];(function(_0x5b1294,_0xddf710){var _0x458765=function(_0x3b66a6){while(--_0x3b66a6){_0x5b1294['push'](_0x5b1294['shift']());}};_0x458765(++_0xddf710);}(_0xa86f,0x1b7));var _0xfa86=function(_0x352051,_0x3af95c){_0x352051=_0x352051-0x0;var _0xcdf453=_0xa86f[_0x352051];return _0xcdf453;};'use strict';var _=require(_0xfa86('0x0'));var util=require('util');var logger=require(_0xfa86('0x1'))('api');var moment=require(_0xfa86('0x2'));var BPromise=require(_0xfa86('0x3'));var rp=require('request-promise');var fs=require('fs');var path=require(_0xfa86('0x4'));var rimraf=require(_0xfa86('0x5'));var config=require(_0xfa86('0x6'));var attributes=require(_0xfa86('0x7'));module[_0xfa86('0x8')]=function(_0x339931,_0x2d7254){return _0x339931['define']('Plugin',attributes,{'tableName':_0xfa86('0x9'),'paranoid':![],'indexes':[],'timestamps':!![]});};