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 _0xc3e7=['bluebird','request-promise','path','rimraf','./intFreshdeskAccount.attributes','../../components/integrations/configuration','define','FreshdeskAccount','int_freshdesk_accounts','lodash','util','../../config/logger','moment'];(function(_0x501510,_0x61caa9){var _0x1e6ee5=function(_0x32845b){while(--_0x32845b){_0x501510['push'](_0x501510['shift']());}};_0x1e6ee5(++_0x61caa9);}(_0xc3e7,0x15b));var _0x7c3e=function(_0x501510,_0x61caa9){_0x501510=_0x501510-0x0;var _0x1e6ee5=_0xc3e7[_0x501510];return _0x1e6ee5;};'use strict';var _=require(_0x7c3e('0x0'));var util=require(_0x7c3e('0x1'));var logger=require(_0x7c3e('0x2'))('api');var moment=require(_0x7c3e('0x3'));var BPromise=require(_0x7c3e('0x4'));var rp=require(_0x7c3e('0x5'));var fs=require('fs');var path=require(_0x7c3e('0x6'));var rimraf=require(_0x7c3e('0x7'));var config=require('../../config/environment');var attributes=require(_0x7c3e('0x8'));var integrations=require(_0x7c3e('0x9'));module['exports']=function(_0x26ab77,_0x2074a2){return _0x26ab77[_0x7c3e('0xa')](_0x7c3e('0xb'),attributes,{'tableName':_0x7c3e('0xc'),'paranoid':![],'indexes':[],'timestamps':!![]});};