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 _0x4cce=['api','moment','bluebird','path','rimraf','exports','define','chat_websites','lodash','../../config/logger'];(function(_0x24ec94,_0x232d15){var _0x550314=function(_0x47ca77){while(--_0x47ca77){_0x24ec94['push'](_0x24ec94['shift']());}};_0x550314(++_0x232d15);}(_0x4cce,0x94));var _0xe4cc=function(_0x3f4d4d,_0x27ec8f){_0x3f4d4d=_0x3f4d4d-0x0;var _0x318c15=_0x4cce[_0x3f4d4d];return _0x318c15;};'use strict';var _=require(_0xe4cc('0x0'));var util=require('util');var logger=require(_0xe4cc('0x1'))(_0xe4cc('0x2'));var moment=require(_0xe4cc('0x3'));var BPromise=require(_0xe4cc('0x4'));var rp=require('request-promise');var fs=require('fs');var path=require(_0xe4cc('0x5'));var rimraf=require(_0xe4cc('0x6'));var config=require('../../config/environment');var attributes=require('./chatWebsite.attributes');module[_0xe4cc('0x7')]=function(_0x14a6a9,_0x47a29e){return _0x14a6a9[_0xe4cc('0x8')]('ChatWebsite',attributes,{'tableName':_0xe4cc('0x9'),'paranoid':![],'indexes':[],'timestamps':!![]});};