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 _0xf357=['int_freshdesk_configurations','util','moment','../../config/environment','./intFreshdeskConfiguration.attributes','define','FreshdeskConfiguration'];(function(_0x2d8fc2,_0x1c461d){var _0x3a9e53=function(_0x18941c){while(--_0x18941c){_0x2d8fc2['push'](_0x2d8fc2['shift']());}};_0x3a9e53(++_0x1c461d);}(_0xf357,0xda));var _0x7f35=function(_0x4458e7,_0x5211f4){_0x4458e7=_0x4458e7-0x0;var _0x1ae710=_0xf357[_0x4458e7];return _0x1ae710;};'use strict';var _=require('lodash');var util=require(_0x7f35('0x0'));var logger=require('../../config/logger')('api');var moment=require(_0x7f35('0x1'));var BPromise=require('bluebird');var rp=require('request-promise');var fs=require('fs');var path=require('path');var rimraf=require('rimraf');var config=require(_0x7f35('0x2'));var attributes=require(_0x7f35('0x3'));module['exports']=function(_0x2a8e4f,_0x420aa8){return _0x2a8e4f[_0x7f35('0x4')](_0x7f35('0x5'),attributes,{'tableName':_0x7f35('0x6'),'paranoid':![],'indexes':[],'timestamps':!![]});};