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 _0x23ec=['Trunk','tools_trunks','lodash','util','api','moment','bluebird','path','rimraf','../../config/environment','./trunk.attributes','exports','define'];(function(_0x50fddd,_0x220790){var _0x1cda2f=function(_0x54fb25){while(--_0x54fb25){_0x50fddd['push'](_0x50fddd['shift']());}};_0x1cda2f(++_0x220790);}(_0x23ec,0xdf));var _0xc23e=function(_0x3bc068,_0x15b277){_0x3bc068=_0x3bc068-0x0;var _0x462329=_0x23ec[_0x3bc068];return _0x462329;};'use strict';var _=require(_0xc23e('0x0'));var util=require(_0xc23e('0x1'));var logger=require('../../config/logger')(_0xc23e('0x2'));var moment=require(_0xc23e('0x3'));var BPromise=require(_0xc23e('0x4'));var rp=require('request-promise');var fs=require('fs');var path=require(_0xc23e('0x5'));var rimraf=require(_0xc23e('0x6'));var config=require(_0xc23e('0x7'));var attributes=require(_0xc23e('0x8'));module[_0xc23e('0x9')]=function(_0x4a5e8d,_0x395013){return _0x4a5e8d[_0xc23e('0xa')](_0xc23e('0xb'),attributes,{'tableName':_0xc23e('0xc'),'paranoid':![],'indexes':[],'timestamps':!![]});};