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 _0x416c=['FreshdeskAccount','int_freshdesk_accounts','lodash','util','../../config/logger','moment','request-promise','path','rimraf','../../config/environment','./intFreshdeskAccount.attributes','exports','define'];(function(_0x5f1fa5,_0x3963cd){var _0x1c99c0=function(_0x278e36){while(--_0x278e36){_0x5f1fa5['push'](_0x5f1fa5['shift']());}};_0x1c99c0(++_0x3963cd);}(_0x416c,0x147));var _0xc416=function(_0x3b8c31,_0x2ceed5){_0x3b8c31=_0x3b8c31-0x0;var _0x2f6030=_0x416c[_0x3b8c31];return _0x2f6030;};'use strict';var _=require(_0xc416('0x0'));var util=require(_0xc416('0x1'));var logger=require(_0xc416('0x2'))('api');var moment=require(_0xc416('0x3'));var BPromise=require('bluebird');var rp=require(_0xc416('0x4'));var fs=require('fs');var path=require(_0xc416('0x5'));var rimraf=require(_0xc416('0x6'));var config=require(_0xc416('0x7'));var attributes=require(_0xc416('0x8'));var integrations=require('../../components/integrations/configuration');module[_0xc416('0x9')]=function(_0x3be346,_0x527885){return _0x3be346[_0xc416('0xa')](_0xc416('0xb'),attributes,{'tableName':_0xc416('0xc'),'paranoid':![],'indexes':[],'timestamps':!![]});};