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 _0x1bdd=['exports','define','FreshdeskAccount','int_freshdesk_accounts','lodash','util','../../config/logger','api','request-promise','./intFreshdeskAccount.attributes','../../components/integrations/configuration'];(function(_0xd511d,_0x3546b9){var _0x3f148e=function(_0x51f35f){while(--_0x51f35f){_0xd511d['push'](_0xd511d['shift']());}};_0x3f148e(++_0x3546b9);}(_0x1bdd,0x143));var _0xd1bd=function(_0x12aa5f,_0x1a6cc9){_0x12aa5f=_0x12aa5f-0x0;var _0x1302d1=_0x1bdd[_0x12aa5f];return _0x1302d1;};'use strict';var _=require(_0xd1bd('0x0'));var util=require(_0xd1bd('0x1'));var logger=require(_0xd1bd('0x2'))(_0xd1bd('0x3'));var moment=require('moment');var BPromise=require('bluebird');var rp=require(_0xd1bd('0x4'));var attributes=require(_0xd1bd('0x5'));var integrations=require(_0xd1bd('0x6'));module[_0xd1bd('0x7')]=function(_0x21c1fc,_0x57acea){return _0x21c1fc[_0xd1bd('0x8')](_0xd1bd('0x9'),attributes,{'tableName':_0xd1bd('0xa'),'paranoid':![],'indexes':[],'timestamps':!![]});};