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 _0x93bd=['bluebird','rimraf','../../config/environment','./intFreshdeskConfiguration.attributes','exports','define','FreshdeskConfiguration','int_freshdesk_configurations','lodash','util','../../config/logger','moment'];(function(_0xa25b62,_0x961f68){var _0x5a3b5e=function(_0x206d0a){while(--_0x206d0a){_0xa25b62['push'](_0xa25b62['shift']());}};_0x5a3b5e(++_0x961f68);}(_0x93bd,0x1ac));var _0xd93b=function(_0x31aa1f,_0x42ef34){_0x31aa1f=_0x31aa1f-0x0;var _0x2b4c46=_0x93bd[_0x31aa1f];return _0x2b4c46;};'use strict';var _=require(_0xd93b('0x0'));var util=require(_0xd93b('0x1'));var logger=require(_0xd93b('0x2'))('api');var moment=require(_0xd93b('0x3'));var BPromise=require(_0xd93b('0x4'));var rp=require('request-promise');var fs=require('fs');var path=require('path');var rimraf=require(_0xd93b('0x5'));var config=require(_0xd93b('0x6'));var attributes=require(_0xd93b('0x7'));module[_0xd93b('0x8')]=function(_0x2aac23,_0x20c3f7){return _0x2aac23[_0xd93b('0x9')](_0xd93b('0xa'),attributes,{'tableName':_0xd93b('0xb'),'paranoid':![],'indexes':[],'timestamps':!![]});};