1 // *************************************************************************
3 // * xCALLY Motion - The Omnichannel Contact Center *
4 // * Copyright (c) Xenialab s.r.l. All Rights Reserved *
6 // *************************************************************************
8 // * Email: info@xcally.com *
9 // * Website: https://www.xcally.com *
11 // *************************************************************************
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. *
17 // *************************************************************************
18 var _0x2d81=['../../config/logger','bluebird','request-promise','path','rimraf','./plugin.attributes','exports','util'];(function(_0x413feb,_0x10477f){var _0x40ee88=function(_0x32a3f6){while(--_0x32a3f6){_0x413feb['push'](_0x413feb['shift']());}};_0x40ee88(++_0x10477f);}(_0x2d81,0xcf));var _0x12d8=function(_0x4971db,_0x1fb35c){_0x4971db=_0x4971db-0x0;var _0x28c91b=_0x2d81[_0x4971db];return _0x28c91b;};'use strict';var _=require('lodash');var util=require(_0x12d8('0x0'));var logger=require(_0x12d8('0x1'))('api');var moment=require('moment');var BPromise=require(_0x12d8('0x2'));var rp=require(_0x12d8('0x3'));var fs=require('fs');var path=require(_0x12d8('0x4'));var rimraf=require(_0x12d8('0x5'));var config=require('../../config/environment');var attributes=require(_0x12d8('0x6'));module[_0x12d8('0x7')]=function(_0x1c769c,_0x12819a){return _0x1c769c['define']('Plugin',attributes,{'tableName':'plugins','paranoid':![],'indexes':[],'timestamps':!![]});};