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 _0xf15d=['bluebird','request-promise','path','rimraf','../../config/environment','./intZohoConfiguration.attributes','exports','define','ZohoConfiguration','int_zoho_configurations','util','moment'];(function(_0x13e239,_0x2b5884){var _0x17a730=function(_0x4c62bc){while(--_0x4c62bc){_0x13e239['push'](_0x13e239['shift']());}};_0x17a730(++_0x2b5884);}(_0xf15d,0x1ae));var _0xdf15=function(_0xc5daa2,_0x4fe5ac){_0xc5daa2=_0xc5daa2-0x0;var _0x21e811=_0xf15d[_0xc5daa2];return _0x21e811;};'use strict';var _=require('lodash');var util=require(_0xdf15('0x0'));var logger=require('../../config/logger')('api');var moment=require(_0xdf15('0x1'));var BPromise=require(_0xdf15('0x2'));var rp=require(_0xdf15('0x3'));var fs=require('fs');var path=require(_0xdf15('0x4'));var rimraf=require(_0xdf15('0x5'));var config=require(_0xdf15('0x6'));var attributes=require(_0xdf15('0x7'));module[_0xdf15('0x8')]=function(_0x8a6b95,_0x48a3df){return _0x8a6b95[_0xdf15('0x9')](_0xdf15('0xa'),attributes,{'tableName':_0xdf15('0xb'),'paranoid':![],'indexes':[],'timestamps':!![]});};