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 _0x44fa=['moment','bluebird','request-promise','path','../../config/environment','exports','FreshsalesAccount','int_freshsales_accounts','lodash','util','../../config/logger','api'];(function(_0xd50b7f,_0x53c16c){var _0x380972=function(_0x4865d8){while(--_0x4865d8){_0xd50b7f['push'](_0xd50b7f['shift']());}};_0x380972(++_0x53c16c);}(_0x44fa,0x68));var _0xa44f=function(_0x26dfb7,_0x52a125){_0x26dfb7=_0x26dfb7-0x0;var _0x24d96c=_0x44fa[_0x26dfb7];return _0x24d96c;};'use strict';var _=require(_0xa44f('0x0'));var util=require(_0xa44f('0x1'));var logger=require(_0xa44f('0x2'))(_0xa44f('0x3'));var moment=require(_0xa44f('0x4'));var BPromise=require(_0xa44f('0x5'));var rp=require(_0xa44f('0x6'));var fs=require('fs');var path=require(_0xa44f('0x7'));var rimraf=require('rimraf');var config=require(_0xa44f('0x8'));var attributes=require('./intFreshsalesAccount.attributes');var integrations=require('../../components/integrations/configuration');module[_0xa44f('0x9')]=function(_0x3a40ba,_0x21c603){return _0x3a40ba['define'](_0xa44f('0xa'),attributes,{'tableName':_0xa44f('0xb'),'paranoid':![],'indexes':[],'timestamps':!![]});};