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 _0xbf1b=['api','moment','bluebird','rimraf','../../config/environment','./crmNation.attributes','define','CrmNation','crm_nations','lodash'];(function(_0x488ca1,_0x194c14){var _0x3a0dab=function(_0x5e3f5e){while(--_0x5e3f5e){_0x488ca1['push'](_0x488ca1['shift']());}};_0x3a0dab(++_0x194c14);}(_0xbf1b,0x121));var _0xbbf1=function(_0x173441,_0x26b0d9){_0x173441=_0x173441-0x0;var _0x2423a8=_0xbf1b[_0x173441];return _0x2423a8;};'use strict';var _=require(_0xbbf1('0x0'));var util=require('util');var logger=require('../../config/logger')(_0xbbf1('0x1'));var moment=require(_0xbbf1('0x2'));var BPromise=require(_0xbbf1('0x3'));var rp=require('request-promise');var fs=require('fs');var path=require('path');var rimraf=require(_0xbbf1('0x4'));var config=require(_0xbbf1('0x5'));var attributes=require(_0xbbf1('0x6'));module['exports']=function(_0x38d3eb,_0x5ed47a){return _0x38d3eb[_0xbbf1('0x7')](_0xbbf1('0x8'),attributes,{'tableName':_0xbbf1('0x9'),'paranoid':![],'indexes':[],'timestamps':!![]});};