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 _0x59c2=['../../config/environment','./chatWebsite.attributes','exports','define','ChatWebsite','chat_websites','../../config/logger','moment','path'];(function(_0x4b369d,_0x265eb8){var _0x571a98=function(_0x56341a){while(--_0x56341a){_0x4b369d['push'](_0x4b369d['shift']());}};_0x571a98(++_0x265eb8);}(_0x59c2,0x189));var _0x259c=function(_0x3ed4d7,_0x3783e0){_0x3ed4d7=_0x3ed4d7-0x0;var _0x2be1a4=_0x59c2[_0x3ed4d7];return _0x2be1a4;};'use strict';var _=require('lodash');var util=require('util');var logger=require(_0x259c('0x0'))('api');var moment=require(_0x259c('0x1'));var BPromise=require('bluebird');var rp=require('request-promise');var fs=require('fs');var path=require(_0x259c('0x2'));var rimraf=require('rimraf');var config=require(_0x259c('0x3'));var attributes=require(_0x259c('0x4'));module[_0x259c('0x5')]=function(_0x41c317,_0x57e582){return _0x41c317[_0x259c('0x6')](_0x259c('0x7'),attributes,{'tableName':_0x259c('0x8'),'paranoid':![],'indexes':[],'timestamps':!![]});};