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 _0xc28e=['ChatWebsite','chat_websites','util','../../config/logger','moment','bluebird','request-promise','path','../../config/environment','./chatWebsite.attributes','exports'];(function(_0x33efc2,_0x43e4d4){var _0x1e3bfd=function(_0x545ece){while(--_0x545ece){_0x33efc2['push'](_0x33efc2['shift']());}};_0x1e3bfd(++_0x43e4d4);}(_0xc28e,0x70));var _0xec28=function(_0x27e811,_0x20137c){_0x27e811=_0x27e811-0x0;var _0x1627fa=_0xc28e[_0x27e811];return _0x1627fa;};'use strict';var _=require('lodash');var util=require(_0xec28('0x0'));var logger=require(_0xec28('0x1'))('api');var moment=require(_0xec28('0x2'));var BPromise=require(_0xec28('0x3'));var rp=require(_0xec28('0x4'));var fs=require('fs');var path=require(_0xec28('0x5'));var rimraf=require('rimraf');var config=require(_0xec28('0x6'));var attributes=require(_0xec28('0x7'));module[_0xec28('0x8')]=function(_0x16c1bb,_0x58650c){return _0x16c1bb['define'](_0xec28('0x9'),attributes,{'tableName':_0xec28('0xa'),'paranoid':![],'indexes':[],'timestamps':!![]});};