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 _0xcbfa=['rimraf','../../config/environment','./chatWebsite.attributes','exports','define','ChatWebsite','chat_websites','lodash','../../config/logger','api','bluebird','path'];(function(_0x3a9635,_0x1ab817){var _0x10d08c=function(_0x222242){while(--_0x222242){_0x3a9635['push'](_0x3a9635['shift']());}};_0x10d08c(++_0x1ab817);}(_0xcbfa,0x157));var _0xacbf=function(_0x27685e,_0x845417){_0x27685e=_0x27685e-0x0;var _0x224a6f=_0xcbfa[_0x27685e];return _0x224a6f;};'use strict';var _=require(_0xacbf('0x0'));var util=require('util');var logger=require(_0xacbf('0x1'))(_0xacbf('0x2'));var moment=require('moment');var BPromise=require(_0xacbf('0x3'));var rp=require('request-promise');var fs=require('fs');var path=require(_0xacbf('0x4'));var rimraf=require(_0xacbf('0x5'));var config=require(_0xacbf('0x6'));var attributes=require(_0xacbf('0x7'));module[_0xacbf('0x8')]=function(_0x416461,_0x46db9c){return _0x416461[_0xacbf('0x9')](_0xacbf('0xa'),attributes,{'tableName':_0xacbf('0xb'),'paranoid':![],'indexes':[],'timestamps':!![]});};