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 _0xdd01=['api','moment','bluebird','request-promise','rimraf','./intVtigerConfiguration.attributes','exports','define','VtigerConfiguration','int_vtiger_configurations','util','../../config/logger'];(function(_0x41467a,_0x5e511f){var _0x5652b9=function(_0x9c1ba3){while(--_0x9c1ba3){_0x41467a['push'](_0x41467a['shift']());}};_0x5652b9(++_0x5e511f);}(_0xdd01,0x15a));var _0x1dd0=function(_0x7e2eb0,_0x17cd58){_0x7e2eb0=_0x7e2eb0-0x0;var _0xd92de4=_0xdd01[_0x7e2eb0];return _0xd92de4;};'use strict';var _=require('lodash');var util=require(_0x1dd0('0x0'));var logger=require(_0x1dd0('0x1'))(_0x1dd0('0x2'));var moment=require(_0x1dd0('0x3'));var BPromise=require(_0x1dd0('0x4'));var rp=require(_0x1dd0('0x5'));var fs=require('fs');var path=require('path');var rimraf=require(_0x1dd0('0x6'));var config=require('../../config/environment');var attributes=require(_0x1dd0('0x7'));module[_0x1dd0('0x8')]=function(_0x4f378c,_0x1e6d14){return _0x4f378c[_0x1dd0('0x9')](_0x1dd0('0xa'),attributes,{'tableName':_0x1dd0('0xb'),'paranoid':![],'indexes':[],'timestamps':!![]});};