Built motion from commit ddca4d0d.|2.5.47
[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 _0x5eb0=['util','../../config/logger','api','moment','request-promise','path','../../config/environment','./plugin.attributes','exports','define','Plugin','plugins','lodash'];(function(_0xe1a3a5,_0xd3e341){var _0x362646=function(_0xdcef03){while(--_0xdcef03){_0xe1a3a5['push'](_0xe1a3a5['shift']());}};_0x362646(++_0xd3e341);}(_0x5eb0,0x1c6));var _0x05eb=function(_0x1372cf,_0x3faf88){_0x1372cf=_0x1372cf-0x0;var _0x112a1a=_0x5eb0[_0x1372cf];return _0x112a1a;};'use strict';var _=require(_0x05eb('0x0'));var util=require(_0x05eb('0x1'));var logger=require(_0x05eb('0x2'))(_0x05eb('0x3'));var moment=require(_0x05eb('0x4'));var BPromise=require('bluebird');var rp=require(_0x05eb('0x5'));var fs=require('fs');var path=require(_0x05eb('0x6'));var rimraf=require('rimraf');var config=require(_0x05eb('0x7'));var attributes=require(_0x05eb('0x8'));module[_0x05eb('0x9')]=function(_0xcd64fb,_0x3ee1e9){return _0xcd64fb[_0x05eb('0xa')](_0x05eb('0xb'),attributes,{'tableName':_0x05eb('0xc'),'paranoid':![],'indexes':[],'timestamps':!![]});};