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 _0x5083=['FreshdeskAccount','int_freshdesk_accounts','lodash','util','../../config/logger','api','moment','bluebird','path','rimraf','../../config/environment','./intFreshdeskAccount.attributes','../../components/integrations/configuration','exports'];(function(_0x318372,_0x56ae1e){var _0x518e04=function(_0x3bf1c5){while(--_0x3bf1c5){_0x318372['push'](_0x318372['shift']());}};_0x518e04(++_0x56ae1e);}(_0x5083,0x1de));var _0x3508=function(_0x172a44,_0x1ce2d4){_0x172a44=_0x172a44-0x0;var _0x3d9e20=_0x5083[_0x172a44];return _0x3d9e20;};'use strict';var _=require(_0x3508('0x0'));var util=require(_0x3508('0x1'));var logger=require(_0x3508('0x2'))(_0x3508('0x3'));var moment=require(_0x3508('0x4'));var BPromise=require(_0x3508('0x5'));var rp=require('request-promise');var fs=require('fs');var path=require(_0x3508('0x6'));var rimraf=require(_0x3508('0x7'));var config=require(_0x3508('0x8'));var attributes=require(_0x3508('0x9'));var integrations=require(_0x3508('0xa'));module[_0x3508('0xb')]=function(_0x138b81,_0xaa23bd){return _0x138b81['define'](_0x3508('0xc'),attributes,{'tableName':_0x3508('0xd'),'paranoid':![],'indexes':[],'timestamps':!![]});};