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 _0x1eb6=['define','FreshdeskConfiguration','int_freshdesk_configurations','../../config/logger','api','bluebird','request-promise','path','../../config/environment','./intFreshdeskConfiguration.attributes','exports'];(function(_0xdb9c8f,_0x122f98){var _0x36da45=function(_0x4833ff){while(--_0x4833ff){_0xdb9c8f['push'](_0xdb9c8f['shift']());}};_0x36da45(++_0x122f98);}(_0x1eb6,0xf5));var _0x61eb=function(_0x2802c9,_0x4801ec){_0x2802c9=_0x2802c9-0x0;var _0x2f3a71=_0x1eb6[_0x2802c9];return _0x2f3a71;};'use strict';var _=require('lodash');var util=require('util');var logger=require(_0x61eb('0x0'))(_0x61eb('0x1'));var moment=require('moment');var BPromise=require(_0x61eb('0x2'));var rp=require(_0x61eb('0x3'));var fs=require('fs');var path=require(_0x61eb('0x4'));var rimraf=require('rimraf');var config=require(_0x61eb('0x5'));var attributes=require(_0x61eb('0x6'));module[_0x61eb('0x7')]=function(_0x396352,_0x3a8897){return _0x396352[_0x61eb('0x8')](_0x61eb('0x9'),attributes,{'tableName':_0x61eb('0xa'),'paranoid':![],'indexes':[],'timestamps':!![]});};