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 _0x4b84=['rimraf','../../config/environment','define','int_freshsales_accounts','lodash','util','moment','path'];(function(_0x5788ed,_0x23ea57){var _0x1c6e5c=function(_0x5ce6e8){while(--_0x5ce6e8){_0x5788ed['push'](_0x5788ed['shift']());}};_0x1c6e5c(++_0x23ea57);}(_0x4b84,0x1cc));var _0x44b8=function(_0x23a79e,_0x235f89){_0x23a79e=_0x23a79e-0x0;var _0x3dab57=_0x4b84[_0x23a79e];return _0x3dab57;};'use strict';var _=require(_0x44b8('0x0'));var util=require(_0x44b8('0x1'));var logger=require('../../config/logger')('api');var moment=require(_0x44b8('0x2'));var BPromise=require('bluebird');var rp=require('request-promise');var fs=require('fs');var path=require(_0x44b8('0x3'));var rimraf=require(_0x44b8('0x4'));var config=require(_0x44b8('0x5'));var attributes=require('./intFreshsalesAccount.attributes');var integrations=require('../../components/integrations/configuration');module['exports']=function(_0x996a8b,_0x54274b){return _0x996a8b[_0x44b8('0x6')]('FreshsalesAccount',attributes,{'tableName':_0x44b8('0x7'),'paranoid':![],'indexes':[],'timestamps':!![]});};