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 _0xbdb1=['exports','define','FreshdeskConfiguration','int_freshdesk_configurations','lodash','../../config/logger','api','moment','bluebird','path','rimraf'];(function(_0x33d931,_0x5bef33){var _0x5ab492=function(_0x412ac3){while(--_0x412ac3){_0x33d931['push'](_0x33d931['shift']());}};_0x5ab492(++_0x5bef33);}(_0xbdb1,0x72));var _0x1bdb=function(_0x510b98,_0x4c4cbb){_0x510b98=_0x510b98-0x0;var _0x45e775=_0xbdb1[_0x510b98];return _0x45e775;};'use strict';var _=require(_0x1bdb('0x0'));var util=require('util');var logger=require(_0x1bdb('0x1'))(_0x1bdb('0x2'));var moment=require(_0x1bdb('0x3'));var BPromise=require(_0x1bdb('0x4'));var rp=require('request-promise');var fs=require('fs');var path=require(_0x1bdb('0x5'));var rimraf=require(_0x1bdb('0x6'));var config=require('../../config/environment');var attributes=require('./intFreshdeskConfiguration.attributes');module[_0x1bdb('0x7')]=function(_0x4602ef,_0x442483){return _0x4602ef[_0x1bdb('0x8')](_0x1bdb('0x9'),attributes,{'tableName':_0x1bdb('0xa'),'paranoid':![],'indexes':[],'timestamps':!![]});};