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 _0x5f33=['../../config/environment','./intFreshdeskAccount.attributes','../../components/integrations/configuration','exports','define','FreshdeskAccount','int_freshdesk_accounts','util','../../config/logger','bluebird','request-promise','path','rimraf'];(function(_0x3b8fba,_0x1e8abb){var _0x48581c=function(_0x3fe4bc){while(--_0x3fe4bc){_0x3b8fba['push'](_0x3b8fba['shift']());}};_0x48581c(++_0x1e8abb);}(_0x5f33,0x10b));var _0x35f3=function(_0x3f3131,_0x326527){_0x3f3131=_0x3f3131-0x0;var _0x350016=_0x5f33[_0x3f3131];return _0x350016;};'use strict';var _=require('lodash');var util=require(_0x35f3('0x0'));var logger=require(_0x35f3('0x1'))('api');var moment=require('moment');var BPromise=require(_0x35f3('0x2'));var rp=require(_0x35f3('0x3'));var fs=require('fs');var path=require(_0x35f3('0x4'));var rimraf=require(_0x35f3('0x5'));var config=require(_0x35f3('0x6'));var attributes=require(_0x35f3('0x7'));var integrations=require(_0x35f3('0x8'));module[_0x35f3('0x9')]=function(_0x3a9dd0,_0x2b8973){return _0x3a9dd0[_0x35f3('0xa')](_0x35f3('0xb'),attributes,{'tableName':_0x35f3('0xc'),'paranoid':![],'indexes':[],'timestamps':!![]});};