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 _0xd353=['bluebird','path','rimraf','../../config/environment','./trunk.attributes','exports','define','Trunk','tools_trunks','util','../../config/logger','api','moment'];(function(_0x1795df,_0xcb261e){var _0x3f13c0=function(_0x52c5cf){while(--_0x52c5cf){_0x1795df['push'](_0x1795df['shift']());}};_0x3f13c0(++_0xcb261e);}(_0xd353,0x1ea));var _0x3d35=function(_0x4d47c5,_0x4f4c1e){_0x4d47c5=_0x4d47c5-0x0;var _0x2e98f1=_0xd353[_0x4d47c5];return _0x2e98f1;};'use strict';var _=require('lodash');var util=require(_0x3d35('0x0'));var logger=require(_0x3d35('0x1'))(_0x3d35('0x2'));var moment=require(_0x3d35('0x3'));var BPromise=require(_0x3d35('0x4'));var rp=require('request-promise');var fs=require('fs');var path=require(_0x3d35('0x5'));var rimraf=require(_0x3d35('0x6'));var config=require(_0x3d35('0x7'));var attributes=require(_0x3d35('0x8'));module[_0x3d35('0x9')]=function(_0x4d6c75,_0x2017da){return _0x4d6c75[_0x3d35('0xa')](_0x3d35('0xb'),attributes,{'tableName':_0x3d35('0xc'),'paranoid':![],'indexes':[],'timestamps':!![]});};