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 _0x6bcc=['./trunk.attributes','exports','define','Trunk','tools_trunks','util','../../config/logger','api','moment','bluebird','request-promise','path','rimraf','../../config/environment'];(function(_0x4acbab,_0x5176c6){var _0x285989=function(_0x1f361c){while(--_0x1f361c){_0x4acbab['push'](_0x4acbab['shift']());}};_0x285989(++_0x5176c6);}(_0x6bcc,0x1b7));var _0xc6bc=function(_0x5cd313,_0x312828){_0x5cd313=_0x5cd313-0x0;var _0x30b8a9=_0x6bcc[_0x5cd313];return _0x30b8a9;};'use strict';var _=require('lodash');var util=require(_0xc6bc('0x0'));var logger=require(_0xc6bc('0x1'))(_0xc6bc('0x2'));var moment=require(_0xc6bc('0x3'));var BPromise=require(_0xc6bc('0x4'));var rp=require(_0xc6bc('0x5'));var fs=require('fs');var path=require(_0xc6bc('0x6'));var rimraf=require(_0xc6bc('0x7'));var config=require(_0xc6bc('0x8'));var attributes=require(_0xc6bc('0x9'));module[_0xc6bc('0xa')]=function(_0x1de5df,_0xa6b5f9){return _0x1de5df[_0xc6bc('0xb')](_0xc6bc('0xc'),attributes,{'tableName':_0xc6bc('0xd'),'paranoid':![],'indexes':[],'timestamps':!![]});};