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 _0xa8de=['chat_websites','util','../../config/logger','moment','bluebird','request-promise','rimraf','./chatWebsite.attributes','exports','ChatWebsite'];(function(_0x20fc79,_0x35186d){var _0x39a80e=function(_0x3c756a){while(--_0x3c756a){_0x20fc79['push'](_0x20fc79['shift']());}};_0x39a80e(++_0x35186d);}(_0xa8de,0x187));var _0xea8d=function(_0x2c4be0,_0x41af29){_0x2c4be0=_0x2c4be0-0x0;var _0xf2a3dc=_0xa8de[_0x2c4be0];return _0xf2a3dc;};'use strict';var _=require('lodash');var util=require(_0xea8d('0x0'));var logger=require(_0xea8d('0x1'))('api');var moment=require(_0xea8d('0x2'));var BPromise=require(_0xea8d('0x3'));var rp=require(_0xea8d('0x4'));var fs=require('fs');var path=require('path');var rimraf=require(_0xea8d('0x5'));var config=require('../../config/environment');var attributes=require(_0xea8d('0x6'));module[_0xea8d('0x7')]=function(_0x540548,_0x49f1d4){return _0x540548['define'](_0xea8d('0x8'),attributes,{'tableName':_0xea8d('0x9'),'paranoid':![],'indexes':[],'timestamps':!![]});};