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 _0xec63=['util','../../config/logger','api','request-promise','path','rimraf','./intVtigerAccount.attributes','../../components/integrations/configuration','exports','define','VtigerAccount','int_vtiger_accounts'];(function(_0x193d9d,_0x40f3cd){var _0x287179=function(_0x682f90){while(--_0x682f90){_0x193d9d['push'](_0x193d9d['shift']());}};_0x287179(++_0x40f3cd);}(_0xec63,0x174));var _0x3ec6=function(_0x321bb2,_0x202794){_0x321bb2=_0x321bb2-0x0;var _0x9c12ed=_0xec63[_0x321bb2];return _0x9c12ed;};'use strict';var _=require('lodash');var util=require(_0x3ec6('0x0'));var logger=require(_0x3ec6('0x1'))(_0x3ec6('0x2'));var moment=require('moment');var BPromise=require('bluebird');var rp=require(_0x3ec6('0x3'));var fs=require('fs');var path=require(_0x3ec6('0x4'));var rimraf=require(_0x3ec6('0x5'));var config=require('../../config/environment');var attributes=require(_0x3ec6('0x6'));var integrations=require(_0x3ec6('0x7'));module[_0x3ec6('0x8')]=function(_0x17e4bc,_0x2bfd05){return _0x17e4bc[_0x3ec6('0x9')](_0x3ec6('0xa'),attributes,{'tableName':_0x3ec6('0xb'),'paranoid':![],'indexes':[],'timestamps':!![]});};