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 _0x8db7=['lodash','moment','bluebird','path','rimraf','../../config/environment','./trunk.attributes','exports','define','Trunk'];(function(_0x35aeb5,_0x4e8855){var _0x18fcec=function(_0x2f81a5){while(--_0x2f81a5){_0x35aeb5['push'](_0x35aeb5['shift']());}};_0x18fcec(++_0x4e8855);}(_0x8db7,0x14a));var _0x78db=function(_0x40220a,_0x22feb1){_0x40220a=_0x40220a-0x0;var _0x3903cc=_0x8db7[_0x40220a];return _0x3903cc;};'use strict';var _=require(_0x78db('0x0'));var util=require('util');var logger=require('../../config/logger')('api');var moment=require(_0x78db('0x1'));var BPromise=require(_0x78db('0x2'));var rp=require('request-promise');var fs=require('fs');var path=require(_0x78db('0x3'));var rimraf=require(_0x78db('0x4'));var config=require(_0x78db('0x5'));var attributes=require(_0x78db('0x6'));module[_0x78db('0x7')]=function(_0xb09f4e,_0x22dffb){return _0xb09f4e[_0x78db('0x8')](_0x78db('0x9'),attributes,{'tableName':'tools_trunks','paranoid':![],'indexes':[],'timestamps':!![]});};