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 _0xa589=['rimraf','./plugin.attributes','exports','define','plugins','util','api','request-promise'];(function(_0x3635ce,_0x33a6f9){var _0x97ecd0=function(_0x123d98){while(--_0x123d98){_0x3635ce['push'](_0x3635ce['shift']());}};_0x97ecd0(++_0x33a6f9);}(_0xa589,0x19d));var _0x9a58=function(_0x4430a9,_0x5f0b8d){_0x4430a9=_0x4430a9-0x0;var _0x2432da=_0xa589[_0x4430a9];return _0x2432da;};'use strict';var _=require('lodash');var util=require(_0x9a58('0x0'));var logger=require('../../config/logger')(_0x9a58('0x1'));var moment=require('moment');var BPromise=require('bluebird');var rp=require(_0x9a58('0x2'));var fs=require('fs');var path=require('path');var rimraf=require(_0x9a58('0x3'));var config=require('../../config/environment');var attributes=require(_0x9a58('0x4'));module[_0x9a58('0x5')]=function(_0x485e28,_0x18b0f1){return _0x485e28[_0x9a58('0x6')]('Plugin',attributes,{'tableName':_0x9a58('0x7'),'paranoid':![],'indexes':[],'timestamps':!![]});};