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 _0x80ed=['api','moment','request-promise','path','rimraf','../../config/environment','exports','ChatWebsite','chat_websites','lodash','../../config/logger'];(function(_0x55dd6c,_0x45aff3){var _0x2351ae=function(_0x34cfba){while(--_0x34cfba){_0x55dd6c['push'](_0x55dd6c['shift']());}};_0x2351ae(++_0x45aff3);}(_0x80ed,0x11c));var _0xd80e=function(_0x38ce1e,_0x44b1f9){_0x38ce1e=_0x38ce1e-0x0;var _0x322411=_0x80ed[_0x38ce1e];return _0x322411;};'use strict';var _=require(_0xd80e('0x0'));var util=require('util');var logger=require(_0xd80e('0x1'))(_0xd80e('0x2'));var moment=require(_0xd80e('0x3'));var BPromise=require('bluebird');var rp=require(_0xd80e('0x4'));var fs=require('fs');var path=require(_0xd80e('0x5'));var rimraf=require(_0xd80e('0x6'));var config=require(_0xd80e('0x7'));var attributes=require('./chatWebsite.attributes');module[_0xd80e('0x8')]=function(_0x2b4742,_0x252fec){return _0x2b4742['define'](_0xd80e('0x9'),attributes,{'tableName':_0xd80e('0xa'),'paranoid':![],'indexes':[],'timestamps':!![]});};