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 _0xdc97=['path','../../config/environment','./plugin.attributes','exports','define','lodash','util','../../config/logger','moment','request-promise'];(function(_0x53785b,_0x14b386){var _0x2ae6da=function(_0x262d6b){while(--_0x262d6b){_0x53785b['push'](_0x53785b['shift']());}};_0x2ae6da(++_0x14b386);}(_0xdc97,0x13b));var _0x7dc9=function(_0x4791fd,_0x3aae6e){_0x4791fd=_0x4791fd-0x0;var _0x324f4c=_0xdc97[_0x4791fd];return _0x324f4c;};'use strict';var _=require(_0x7dc9('0x0'));var util=require(_0x7dc9('0x1'));var logger=require(_0x7dc9('0x2'))('api');var moment=require(_0x7dc9('0x3'));var BPromise=require('bluebird');var rp=require(_0x7dc9('0x4'));var fs=require('fs');var path=require(_0x7dc9('0x5'));var rimraf=require('rimraf');var config=require(_0x7dc9('0x6'));var attributes=require(_0x7dc9('0x7'));module[_0x7dc9('0x8')]=function(_0x3ba3ca,_0x589f02){return _0x3ba3ca[_0x7dc9('0x9')]('Plugin',attributes,{'tableName':'plugins','paranoid':![],'indexes':[],'timestamps':!![]});};