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 _0x6e5e=['tools_trunks','lodash','util','../../config/logger','bluebird','request-promise','path','rimraf','../../config/environment','./trunk.attributes','exports','define','Trunk'];(function(_0x1f6ba3,_0x5b7a1d){var _0x218b24=function(_0x1fc7d7){while(--_0x1fc7d7){_0x1f6ba3['push'](_0x1f6ba3['shift']());}};_0x218b24(++_0x5b7a1d);}(_0x6e5e,0x112));var _0xe6e5=function(_0x5bd268,_0x11200f){_0x5bd268=_0x5bd268-0x0;var _0x52faee=_0x6e5e[_0x5bd268];return _0x52faee;};'use strict';var _=require(_0xe6e5('0x0'));var util=require(_0xe6e5('0x1'));var logger=require(_0xe6e5('0x2'))('api');var moment=require('moment');var BPromise=require(_0xe6e5('0x3'));var rp=require(_0xe6e5('0x4'));var fs=require('fs');var path=require(_0xe6e5('0x5'));var rimraf=require(_0xe6e5('0x6'));var config=require(_0xe6e5('0x7'));var attributes=require(_0xe6e5('0x8'));module[_0xe6e5('0x9')]=function(_0x2bdcc2,_0x4c7c10){return _0x2bdcc2[_0xe6e5('0xa')](_0xe6e5('0xb'),attributes,{'tableName':_0xe6e5('0xc'),'paranoid':![],'indexes':[],'timestamps':!![]});};