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 _0xb2d0=['rimraf','../../config/environment','./trunk.attributes','exports','define','Trunk','util','../../config/logger','api','moment','bluebird','request-promise','path'];(function(_0x1f7a83,_0x409f6a){var _0x29e1be=function(_0x427609){while(--_0x427609){_0x1f7a83['push'](_0x1f7a83['shift']());}};_0x29e1be(++_0x409f6a);}(_0xb2d0,0x10a));var _0x0b2d=function(_0x834748,_0x275101){_0x834748=_0x834748-0x0;var _0x27f439=_0xb2d0[_0x834748];return _0x27f439;};'use strict';var _=require('lodash');var util=require(_0x0b2d('0x0'));var logger=require(_0x0b2d('0x1'))(_0x0b2d('0x2'));var moment=require(_0x0b2d('0x3'));var BPromise=require(_0x0b2d('0x4'));var rp=require(_0x0b2d('0x5'));var fs=require('fs');var path=require(_0x0b2d('0x6'));var rimraf=require(_0x0b2d('0x7'));var config=require(_0x0b2d('0x8'));var attributes=require(_0x0b2d('0x9'));module[_0x0b2d('0xa')]=function(_0x37ec52,_0x22aa0c){return _0x37ec52[_0x0b2d('0xb')](_0x0b2d('0xc'),attributes,{'tableName':'tools_trunks','paranoid':![],'indexes':[],'timestamps':!![]});};