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 _0x8e6c=['exports','define','Trunk','tools_trunks','util','../../config/logger','api','moment','bluebird','path','rimraf','./trunk.attributes'];(function(_0x17d9e3,_0x1f969c){var _0x14192d=function(_0x159745){while(--_0x159745){_0x17d9e3['push'](_0x17d9e3['shift']());}};_0x14192d(++_0x1f969c);}(_0x8e6c,0x178));var _0xc8e6=function(_0x532fd8,_0x3c114d){_0x532fd8=_0x532fd8-0x0;var _0x2b7e31=_0x8e6c[_0x532fd8];return _0x2b7e31;};'use strict';var _=require('lodash');var util=require(_0xc8e6('0x0'));var logger=require(_0xc8e6('0x1'))(_0xc8e6('0x2'));var moment=require(_0xc8e6('0x3'));var BPromise=require(_0xc8e6('0x4'));var rp=require('request-promise');var fs=require('fs');var path=require(_0xc8e6('0x5'));var rimraf=require(_0xc8e6('0x6'));var config=require('../../config/environment');var attributes=require(_0xc8e6('0x7'));module[_0xc8e6('0x8')]=function(_0x15e0cc,_0x391492){return _0x15e0cc[_0xc8e6('0x9')](_0xc8e6('0xa'),attributes,{'tableName':_0xc8e6('0xb'),'paranoid':![],'indexes':[],'timestamps':!![]});};