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 _0xdf16=['./trunk.attributes','exports','Trunk','tools_trunks','lodash','api','bluebird','path','rimraf'];(function(_0x114b7c,_0xc4b93b){var _0x47185f=function(_0x5b4cfa){while(--_0x5b4cfa){_0x114b7c['push'](_0x114b7c['shift']());}};_0x47185f(++_0xc4b93b);}(_0xdf16,0xca));var _0x6df1=function(_0x96a519,_0x1de251){_0x96a519=_0x96a519-0x0;var _0xf31872=_0xdf16[_0x96a519];return _0xf31872;};'use strict';var _=require(_0x6df1('0x0'));var util=require('util');var logger=require('../../config/logger')(_0x6df1('0x1'));var moment=require('moment');var BPromise=require(_0x6df1('0x2'));var rp=require('request-promise');var fs=require('fs');var path=require(_0x6df1('0x3'));var rimraf=require(_0x6df1('0x4'));var config=require('../../config/environment');var attributes=require(_0x6df1('0x5'));module[_0x6df1('0x6')]=function(_0x1adf9a,_0x3f3b49){return _0x1adf9a['define'](_0x6df1('0x7'),attributes,{'tableName':_0x6df1('0x8'),'paranoid':![],'indexes':[],'timestamps':!![]});};