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 _0x6ae9=['../../config/environment','./trunk.attributes','exports','define','Trunk','tools_trunks','lodash','util','../../config/logger','api','moment','bluebird','path','rimraf'];(function(_0x15e49a,_0x2abda3){var _0x509c09=function(_0x3e9252){while(--_0x3e9252){_0x15e49a['push'](_0x15e49a['shift']());}};_0x509c09(++_0x2abda3);}(_0x6ae9,0xd8));var _0x96ae=function(_0x2098ca,_0x250f36){_0x2098ca=_0x2098ca-0x0;var _0x237e56=_0x6ae9[_0x2098ca];return _0x237e56;};'use strict';var _=require(_0x96ae('0x0'));var util=require(_0x96ae('0x1'));var logger=require(_0x96ae('0x2'))(_0x96ae('0x3'));var moment=require(_0x96ae('0x4'));var BPromise=require(_0x96ae('0x5'));var rp=require('request-promise');var fs=require('fs');var path=require(_0x96ae('0x6'));var rimraf=require(_0x96ae('0x7'));var config=require(_0x96ae('0x8'));var attributes=require(_0x96ae('0x9'));module[_0x96ae('0xa')]=function(_0x5337fa,_0x57a027){return _0x5337fa[_0x96ae('0xb')](_0x96ae('0xc'),attributes,{'tableName':_0x96ae('0xd'),'paranoid':![],'indexes':[],'timestamps':!![]});};