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 _0x16a0=['../../components/integrations/configuration','exports','define','int_freshdesk_accounts','lodash','util','api','request-promise','rimraf'];(function(_0x382201,_0x3f8f89){var _0xb375ea=function(_0x1356ef){while(--_0x1356ef){_0x382201['push'](_0x382201['shift']());}};_0xb375ea(++_0x3f8f89);}(_0x16a0,0x1c6));var _0x016a=function(_0x24831e,_0x420541){_0x24831e=_0x24831e-0x0;var _0x8cdfb7=_0x16a0[_0x24831e];return _0x8cdfb7;};'use strict';var _=require(_0x016a('0x0'));var util=require(_0x016a('0x1'));var logger=require('../../config/logger')(_0x016a('0x2'));var moment=require('moment');var BPromise=require('bluebird');var rp=require(_0x016a('0x3'));var fs=require('fs');var path=require('path');var rimraf=require(_0x016a('0x4'));var config=require('../../config/environment');var attributes=require('./intFreshdeskAccount.attributes');var integrations=require(_0x016a('0x5'));module[_0x016a('0x6')]=function(_0x33d959,_0x2bde4a){return _0x33d959[_0x016a('0x7')]('FreshdeskAccount',attributes,{'tableName':_0x016a('0x8'),'paranoid':![],'indexes':[],'timestamps':!![]});};