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 _0x046f=['int_sugarcrm_accounts','lodash','util','../../config/logger','api','moment','bluebird','request-promise','rimraf','../../config/environment','./intSugarcrmAccount.attributes','../../components/integrations/configuration','exports','define','SugarcrmAccount'];(function(_0x40a045,_0x516f0e){var _0x1a687c=function(_0x48c9fe){while(--_0x48c9fe){_0x40a045['push'](_0x40a045['shift']());}};_0x1a687c(++_0x516f0e);}(_0x046f,0x1b4));var _0xf046=function(_0x41b0d5,_0x2f7baa){_0x41b0d5=_0x41b0d5-0x0;var _0xb9c58b=_0x046f[_0x41b0d5];return _0xb9c58b;};'use strict';var _=require(_0xf046('0x0'));var util=require(_0xf046('0x1'));var logger=require(_0xf046('0x2'))(_0xf046('0x3'));var moment=require(_0xf046('0x4'));var BPromise=require(_0xf046('0x5'));var rp=require(_0xf046('0x6'));var fs=require('fs');var path=require('path');var rimraf=require(_0xf046('0x7'));var config=require(_0xf046('0x8'));var attributes=require(_0xf046('0x9'));var integrations=require(_0xf046('0xa'));module[_0xf046('0xb')]=function(_0xdafbd4,_0x310429){return _0xdafbd4[_0xf046('0xc')](_0xf046('0xd'),attributes,{'tableName':_0xf046('0xe'),'paranoid':![],'indexes':[],'timestamps':!![]});};