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 _0xfce8=['exports','FreshsalesConfiguration','int_freshsales_configurations','../../config/logger','api','bluebird','request-promise','path','./intFreshsalesConfiguration.attributes'];(function(_0x39b582,_0x55bc84){var _0x54e4ce=function(_0x4613cc){while(--_0x4613cc){_0x39b582['push'](_0x39b582['shift']());}};_0x54e4ce(++_0x55bc84);}(_0xfce8,0x159));var _0x8fce=function(_0x3baac3,_0x4b4056){_0x3baac3=_0x3baac3-0x0;var _0x3c0dd4=_0xfce8[_0x3baac3];return _0x3c0dd4;};'use strict';var _=require('lodash');var util=require('util');var logger=require(_0x8fce('0x0'))(_0x8fce('0x1'));var moment=require('moment');var BPromise=require(_0x8fce('0x2'));var rp=require(_0x8fce('0x3'));var fs=require('fs');var path=require(_0x8fce('0x4'));var rimraf=require('rimraf');var config=require('../../config/environment');var attributes=require(_0x8fce('0x5'));module[_0x8fce('0x6')]=function(_0x3ac8da,_0x56bfcf){return _0x3ac8da['define'](_0x8fce('0x7'),attributes,{'tableName':_0x8fce('0x8'),'paranoid':![],'indexes':[],'timestamps':!![]});};