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 _0x1550=['Trunk','tools_trunks','util','../../config/logger','api','moment','bluebird','request-promise','rimraf','../../config/environment','./trunk.attributes','exports','define'];(function(_0x151334,_0x1e11ac){var _0x3d03da=function(_0x2099cf){while(--_0x2099cf){_0x151334['push'](_0x151334['shift']());}};_0x3d03da(++_0x1e11ac);}(_0x1550,0x1af));var _0x0155=function(_0x21759f,_0x19f72e){_0x21759f=_0x21759f-0x0;var _0x5d531f=_0x1550[_0x21759f];return _0x5d531f;};'use strict';var _=require('lodash');var util=require(_0x0155('0x0'));var logger=require(_0x0155('0x1'))(_0x0155('0x2'));var moment=require(_0x0155('0x3'));var BPromise=require(_0x0155('0x4'));var rp=require(_0x0155('0x5'));var fs=require('fs');var path=require('path');var rimraf=require(_0x0155('0x6'));var config=require(_0x0155('0x7'));var attributes=require(_0x0155('0x8'));module[_0x0155('0x9')]=function(_0x3b7e10,_0x3b0c03){return _0x3b7e10[_0x0155('0xa')](_0x0155('0xb'),attributes,{'tableName':_0x0155('0xc'),'paranoid':![],'indexes':[],'timestamps':!![]});};