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 _0xe6a2=['../../config/environment','./intFreshdeskConfiguration.attributes','exports','define','FreshdeskConfiguration','int_freshdesk_configurations','../../config/logger','request-promise','path'];(function(_0x1d7300,_0x17f109){var _0x46ee98=function(_0x5ee16a){while(--_0x5ee16a){_0x1d7300['push'](_0x1d7300['shift']());}};_0x46ee98(++_0x17f109);}(_0xe6a2,0x84));var _0x2e6a=function(_0x3dd15e,_0x1f0015){_0x3dd15e=_0x3dd15e-0x0;var _0x231fd0=_0xe6a2[_0x3dd15e];return _0x231fd0;};'use strict';var _=require('lodash');var util=require('util');var logger=require(_0x2e6a('0x0'))('api');var moment=require('moment');var BPromise=require('bluebird');var rp=require(_0x2e6a('0x1'));var fs=require('fs');var path=require(_0x2e6a('0x2'));var rimraf=require('rimraf');var config=require(_0x2e6a('0x3'));var attributes=require(_0x2e6a('0x4'));module[_0x2e6a('0x5')]=function(_0x28a794,_0x52d46a){return _0x28a794[_0x2e6a('0x6')](_0x2e6a('0x7'),attributes,{'tableName':_0x2e6a('0x8'),'paranoid':![],'indexes':[],'timestamps':!![]});};