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 _0xdbee=['lodash','../../config/logger','bluebird','./intVtigerAccount.attributes','../../components/integrations/configuration','exports','VtigerAccount'];(function(_0x1fbdd6,_0x21ad1f){var _0x8a8600=function(_0x31a1c3){while(--_0x31a1c3){_0x1fbdd6['push'](_0x1fbdd6['shift']());}};_0x8a8600(++_0x21ad1f);}(_0xdbee,0x1c0));var _0xedbe=function(_0xc84695,_0x5e17e3){_0xc84695=_0xc84695-0x0;var _0x310f79=_0xdbee[_0xc84695];return _0x310f79;};'use strict';var _=require(_0xedbe('0x0'));var util=require('util');var logger=require(_0xedbe('0x1'))('api');var moment=require('moment');var BPromise=require(_0xedbe('0x2'));var rp=require('request-promise');var fs=require('fs');var path=require('path');var rimraf=require('rimraf');var config=require('../../config/environment');var attributes=require(_0xedbe('0x3'));var integrations=require(_0xedbe('0x4'));module[_0xedbe('0x5')]=function(_0x45215a,_0x6d221b){return _0x45215a['define'](_0xedbe('0x6'),attributes,{'tableName':'int_vtiger_accounts','paranoid':![],'indexes':[],'timestamps':!![]});};