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 _0xe591=['path','rimraf','../../config/environment','./intFreshdeskAccount.attributes','../../components/integrations/configuration','exports','define','FreshdeskAccount','int_freshdesk_accounts','lodash','util','../../config/logger','api','moment','bluebird'];(function(_0x526876,_0x2473ec){var _0x379ab5=function(_0x55d1fb){while(--_0x55d1fb){_0x526876['push'](_0x526876['shift']());}};_0x379ab5(++_0x2473ec);}(_0xe591,0x153));var _0x1e59=function(_0x5930bf,_0x4504fb){_0x5930bf=_0x5930bf-0x0;var _0x399da1=_0xe591[_0x5930bf];return _0x399da1;};'use strict';var _=require(_0x1e59('0x0'));var util=require(_0x1e59('0x1'));var logger=require(_0x1e59('0x2'))(_0x1e59('0x3'));var moment=require(_0x1e59('0x4'));var BPromise=require(_0x1e59('0x5'));var rp=require('request-promise');var fs=require('fs');var path=require(_0x1e59('0x6'));var rimraf=require(_0x1e59('0x7'));var config=require(_0x1e59('0x8'));var attributes=require(_0x1e59('0x9'));var integrations=require(_0x1e59('0xa'));module[_0x1e59('0xb')]=function(_0x56441d,_0x42a1d8){return _0x56441d[_0x1e59('0xc')](_0x1e59('0xd'),attributes,{'tableName':_0x1e59('0xe'),'paranoid':![],'indexes':[],'timestamps':!![]});};