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 _0x0b0a=['../../config/environment','./trunk.attributes','Trunk','tools_trunks','lodash','../../config/logger','moment','rimraf'];(function(_0x353f08,_0x1510ac){var _0x2b90bd=function(_0x4ac5a8){while(--_0x4ac5a8){_0x353f08['push'](_0x353f08['shift']());}};_0x2b90bd(++_0x1510ac);}(_0x0b0a,0x15c));var _0xa0b0=function(_0x1ed4ee,_0x5f0730){_0x1ed4ee=_0x1ed4ee-0x0;var _0x4eabc9=_0x0b0a[_0x1ed4ee];return _0x4eabc9;};'use strict';var _=require(_0xa0b0('0x0'));var util=require('util');var logger=require(_0xa0b0('0x1'))('api');var moment=require(_0xa0b0('0x2'));var BPromise=require('bluebird');var rp=require('request-promise');var fs=require('fs');var path=require('path');var rimraf=require(_0xa0b0('0x3'));var config=require(_0xa0b0('0x4'));var attributes=require(_0xa0b0('0x5'));module['exports']=function(_0xc64588,_0x51d012){return _0xc64588['define'](_0xa0b0('0x6'),attributes,{'tableName':_0xa0b0('0x7'),'paranoid':![],'indexes':[],'timestamps':!![]});};