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 _0x72eb=['util','api','request-promise','path','rimraf','exports','define','ChatWebsite','chat_websites','lodash'];(function(_0x35b86c,_0x177411){var _0x1f150e=function(_0x133e36){while(--_0x133e36){_0x35b86c['push'](_0x35b86c['shift']());}};_0x1f150e(++_0x177411);}(_0x72eb,0x185));var _0xb72e=function(_0x20a7ab,_0x11af39){_0x20a7ab=_0x20a7ab-0x0;var _0x5977c2=_0x72eb[_0x20a7ab];return _0x5977c2;};'use strict';var _=require(_0xb72e('0x0'));var util=require(_0xb72e('0x1'));var logger=require('../../config/logger')(_0xb72e('0x2'));var moment=require('moment');var BPromise=require('bluebird');var rp=require(_0xb72e('0x3'));var fs=require('fs');var path=require(_0xb72e('0x4'));var rimraf=require(_0xb72e('0x5'));var config=require('../../config/environment');var attributes=require('./chatWebsite.attributes');module[_0xb72e('0x6')]=function(_0x21e17f,_0x31e89b){return _0x21e17f[_0xb72e('0x7')](_0xb72e('0x8'),attributes,{'tableName':_0xb72e('0x9'),'paranoid':![],'indexes':[],'timestamps':!![]});};