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 _0x2521=['moment','request-promise','path','rimraf','../../config/environment','./trunk.attributes','exports','define','Trunk','tools_trunks','util','api'];(function(_0x47ca97,_0x55b696){var _0x3f5ad0=function(_0x3ae487){while(--_0x3ae487){_0x47ca97['push'](_0x47ca97['shift']());}};_0x3f5ad0(++_0x55b696);}(_0x2521,0x1ea));var _0x1252=function(_0x4e11d5,_0x1ce514){_0x4e11d5=_0x4e11d5-0x0;var _0x5e4e4c=_0x2521[_0x4e11d5];return _0x5e4e4c;};'use strict';var _=require('lodash');var util=require(_0x1252('0x0'));var logger=require('../../config/logger')(_0x1252('0x1'));var moment=require(_0x1252('0x2'));var BPromise=require('bluebird');var rp=require(_0x1252('0x3'));var fs=require('fs');var path=require(_0x1252('0x4'));var rimraf=require(_0x1252('0x5'));var config=require(_0x1252('0x6'));var attributes=require(_0x1252('0x7'));module[_0x1252('0x8')]=function(_0x7a07bb,_0x124c06){return _0x7a07bb[_0x1252('0x9')](_0x1252('0xa'),attributes,{'tableName':_0x1252('0xb'),'paranoid':![],'indexes':[],'timestamps':!![]});};