Built motion from commit 953226e6.|2.6.32
[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 _0xfa1e=['plugins','lodash','../../config/logger','api','moment','bluebird','request-promise','rimraf','../../config/environment','define','Plugin'];(function(_0x171595,_0x15bd85){var _0x5cb341=function(_0x15580f){while(--_0x15580f){_0x171595['push'](_0x171595['shift']());}};_0x5cb341(++_0x15bd85);}(_0xfa1e,0xb1));var _0xefa1=function(_0x3bef2c,_0x5a86fd){_0x3bef2c=_0x3bef2c-0x0;var _0x331503=_0xfa1e[_0x3bef2c];return _0x331503;};'use strict';var _=require(_0xefa1('0x0'));var util=require('util');var logger=require(_0xefa1('0x1'))(_0xefa1('0x2'));var moment=require(_0xefa1('0x3'));var BPromise=require(_0xefa1('0x4'));var rp=require(_0xefa1('0x5'));var fs=require('fs');var path=require('path');var rimraf=require(_0xefa1('0x6'));var config=require(_0xefa1('0x7'));var attributes=require('./plugin.attributes');module['exports']=function(_0x1b7a93,_0x13e091){return _0x1b7a93[_0xefa1('0x8')](_0xefa1('0x9'),attributes,{'tableName':_0xefa1('0xa'),'paranoid':![],'indexes':[],'timestamps':!![]});};