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 _0x6a44=['bluebird','request-promise','path','rimraf','../../config/environment','./intFreshdeskAccount.attributes','../../components/integrations/configuration','exports','define','FreshdeskAccount','int_freshdesk_accounts','util','../../config/logger','api','moment'];(function(_0x7095ef,_0x5008d8){var _0x844bf4=function(_0x298bdd){while(--_0x298bdd){_0x7095ef['push'](_0x7095ef['shift']());}};_0x844bf4(++_0x5008d8);}(_0x6a44,0x74));var _0x46a4=function(_0x13df49,_0x52fedd){_0x13df49=_0x13df49-0x0;var _0x44cc47=_0x6a44[_0x13df49];return _0x44cc47;};'use strict';var _=require('lodash');var util=require(_0x46a4('0x0'));var logger=require(_0x46a4('0x1'))(_0x46a4('0x2'));var moment=require(_0x46a4('0x3'));var BPromise=require(_0x46a4('0x4'));var rp=require(_0x46a4('0x5'));var fs=require('fs');var path=require(_0x46a4('0x6'));var rimraf=require(_0x46a4('0x7'));var config=require(_0x46a4('0x8'));var attributes=require(_0x46a4('0x9'));var integrations=require(_0x46a4('0xa'));module[_0x46a4('0xb')]=function(_0x31090c,_0x3b3bdc){return _0x31090c[_0x46a4('0xc')](_0x46a4('0xd'),attributes,{'tableName':_0x46a4('0xe'),'paranoid':![],'indexes':[],'timestamps':!![]});};