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 _0x04a5=['FreshdeskAccount','int_freshdesk_accounts','lodash','util','../../config/logger','moment','bluebird','request-promise','rimraf','./intFreshdeskAccount.attributes','../../components/integrations/configuration','exports','define'];(function(_0x1fc122,_0x5e2c17){var _0xa2cb13=function(_0x263b13){while(--_0x263b13){_0x1fc122['push'](_0x1fc122['shift']());}};_0xa2cb13(++_0x5e2c17);}(_0x04a5,0x1a2));var _0x504a=function(_0x5c9f56,_0x42c9ad){_0x5c9f56=_0x5c9f56-0x0;var _0x2a726b=_0x04a5[_0x5c9f56];return _0x2a726b;};'use strict';var _=require(_0x504a('0x0'));var util=require(_0x504a('0x1'));var logger=require(_0x504a('0x2'))('api');var moment=require(_0x504a('0x3'));var BPromise=require(_0x504a('0x4'));var rp=require(_0x504a('0x5'));var fs=require('fs');var path=require('path');var rimraf=require(_0x504a('0x6'));var config=require('../../config/environment');var attributes=require(_0x504a('0x7'));var integrations=require(_0x504a('0x8'));module[_0x504a('0x9')]=function(_0x390e16,_0x4c14b9){return _0x390e16[_0x504a('0xa')](_0x504a('0xb'),attributes,{'tableName':_0x504a('0xc'),'paranoid':![],'indexes':[],'timestamps':!![]});};