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 _0x5edd=['exports','define','FreshsalesAccount','util','../../config/logger','moment','bluebird','path','rimraf','./intFreshsalesAccount.attributes'];(function(_0x47501e,_0x35623b){var _0x5713df=function(_0x40745f){while(--_0x40745f){_0x47501e['push'](_0x47501e['shift']());}};_0x5713df(++_0x35623b);}(_0x5edd,0xf3));var _0xd5ed=function(_0xa148b7,_0x2f3eb2){_0xa148b7=_0xa148b7-0x0;var _0x51efd3=_0x5edd[_0xa148b7];return _0x51efd3;};'use strict';var _=require('lodash');var util=require(_0xd5ed('0x0'));var logger=require(_0xd5ed('0x1'))('api');var moment=require(_0xd5ed('0x2'));var BPromise=require(_0xd5ed('0x3'));var rp=require('request-promise');var fs=require('fs');var path=require(_0xd5ed('0x4'));var rimraf=require(_0xd5ed('0x5'));var config=require('../../config/environment');var attributes=require(_0xd5ed('0x6'));var integrations=require('../../components/integrations/configuration');module[_0xd5ed('0x7')]=function(_0x41b3eb,_0x3a91d8){return _0x41b3eb[_0xd5ed('0x8')](_0xd5ed('0x9'),attributes,{'tableName':'int_freshsales_accounts','paranoid':![],'indexes':[],'timestamps':!![]});};