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 _0xfb7c=['api','bluebird','path','rimraf','../../config/environment','./trunk.attributes','exports','define','Trunk','tools_trunks','lodash','util','../../config/logger'];(function(_0x3dd15e,_0x1f0015){var _0x231fd0=function(_0x4f680a){while(--_0x4f680a){_0x3dd15e['push'](_0x3dd15e['shift']());}};_0x231fd0(++_0x1f0015);}(_0xfb7c,0xf4));var _0xcfb7=function(_0x213e23,_0x21e245){_0x213e23=_0x213e23-0x0;var _0x92fd58=_0xfb7c[_0x213e23];return _0x92fd58;};'use strict';var _=require(_0xcfb7('0x0'));var util=require(_0xcfb7('0x1'));var logger=require(_0xcfb7('0x2'))(_0xcfb7('0x3'));var moment=require('moment');var BPromise=require(_0xcfb7('0x4'));var rp=require('request-promise');var fs=require('fs');var path=require(_0xcfb7('0x5'));var rimraf=require(_0xcfb7('0x6'));var config=require(_0xcfb7('0x7'));var attributes=require(_0xcfb7('0x8'));module[_0xcfb7('0x9')]=function(_0x321ed4,_0x404b2a){return _0x321ed4[_0xcfb7('0xa')](_0xcfb7('0xb'),attributes,{'tableName':_0xcfb7('0xc'),'paranoid':![],'indexes':[],'timestamps':!![]});};