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 _0xffe6=['define','Trunk','lodash','../../config/logger','bluebird','request-promise','path','../../config/environment','./trunk.attributes','exports'];(function(_0x1b349a,_0x22222c){var _0x5d1f7c=function(_0x368d7c){while(--_0x368d7c){_0x1b349a['push'](_0x1b349a['shift']());}};_0x5d1f7c(++_0x22222c);}(_0xffe6,0x17e));var _0x6ffe=function(_0x1a3103,_0x2d9a72){_0x1a3103=_0x1a3103-0x0;var _0x4c5d1d=_0xffe6[_0x1a3103];return _0x4c5d1d;};'use strict';var _=require(_0x6ffe('0x0'));var util=require('util');var logger=require(_0x6ffe('0x1'))('api');var moment=require('moment');var BPromise=require(_0x6ffe('0x2'));var rp=require(_0x6ffe('0x3'));var fs=require('fs');var path=require(_0x6ffe('0x4'));var rimraf=require('rimraf');var config=require(_0x6ffe('0x5'));var attributes=require(_0x6ffe('0x6'));module[_0x6ffe('0x7')]=function(_0x2f8d8a,_0x30fb74){return _0x2f8d8a[_0x6ffe('0x8')](_0x6ffe('0x9'),attributes,{'tableName':'tools_trunks','paranoid':![],'indexes':[],'timestamps':!![]});};