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 _0x393f=['request-promise','path','rimraf','./intVtigerAccount.attributes','../../components/integrations/configuration','exports','define','VtigerAccount','int_vtiger_accounts','lodash','util','../../config/logger','moment','bluebird'];(function(_0x3d4d5f,_0x492434){var _0x281329=function(_0x5827bc){while(--_0x5827bc){_0x3d4d5f['push'](_0x3d4d5f['shift']());}};_0x281329(++_0x492434);}(_0x393f,0xa3));var _0xf393=function(_0x2d25ee,_0x16826b){_0x2d25ee=_0x2d25ee-0x0;var _0x4db6ad=_0x393f[_0x2d25ee];return _0x4db6ad;};'use strict';var _=require(_0xf393('0x0'));var util=require(_0xf393('0x1'));var logger=require(_0xf393('0x2'))('api');var moment=require(_0xf393('0x3'));var BPromise=require(_0xf393('0x4'));var rp=require(_0xf393('0x5'));var fs=require('fs');var path=require(_0xf393('0x6'));var rimraf=require(_0xf393('0x7'));var config=require('../../config/environment');var attributes=require(_0xf393('0x8'));var integrations=require(_0xf393('0x9'));module[_0xf393('0xa')]=function(_0x4bf533,_0x91b57b){return _0x4bf533[_0xf393('0xb')](_0xf393('0xc'),attributes,{'tableName':_0xf393('0xd'),'paranoid':![],'indexes':[],'timestamps':!![]});};