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 _0xcb88=['../../config/logger','api','moment','bluebird','request-promise','rimraf','./trunk.attributes','exports','Trunk','tools_trunks','util'];(function(_0x31285d,_0x28f6b7){var _0x308a9b=function(_0x251c75){while(--_0x251c75){_0x31285d['push'](_0x31285d['shift']());}};_0x308a9b(++_0x28f6b7);}(_0xcb88,0xba));var _0x8cb8=function(_0x1a023c,_0x39ada1){_0x1a023c=_0x1a023c-0x0;var _0x27e79d=_0xcb88[_0x1a023c];return _0x27e79d;};'use strict';var _=require('lodash');var util=require(_0x8cb8('0x0'));var logger=require(_0x8cb8('0x1'))(_0x8cb8('0x2'));var moment=require(_0x8cb8('0x3'));var BPromise=require(_0x8cb8('0x4'));var rp=require(_0x8cb8('0x5'));var fs=require('fs');var path=require('path');var rimraf=require(_0x8cb8('0x6'));var config=require('../../config/environment');var attributes=require(_0x8cb8('0x7'));module[_0x8cb8('0x8')]=function(_0x40ce18,_0x74057e){return _0x40ce18['define'](_0x8cb8('0x9'),attributes,{'tableName':_0x8cb8('0xa'),'paranoid':![],'indexes':[],'timestamps':!![]});};