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 _0x5c65=['moment','bluebird','request-promise','rimraf','exports','define','ChatWebsite','lodash','util','../../config/logger'];(function(_0x4586f9,_0x39aee8){var _0x41d034=function(_0x31002c){while(--_0x31002c){_0x4586f9['push'](_0x4586f9['shift']());}};_0x41d034(++_0x39aee8);}(_0x5c65,0xb1));var _0x55c6=function(_0x528c42,_0x596eb4){_0x528c42=_0x528c42-0x0;var _0x607b50=_0x5c65[_0x528c42];return _0x607b50;};'use strict';var _=require(_0x55c6('0x0'));var util=require(_0x55c6('0x1'));var logger=require(_0x55c6('0x2'))('api');var moment=require(_0x55c6('0x3'));var BPromise=require(_0x55c6('0x4'));var rp=require(_0x55c6('0x5'));var fs=require('fs');var path=require('path');var rimraf=require(_0x55c6('0x6'));var config=require('../../config/environment');var attributes=require('./chatWebsite.attributes');module[_0x55c6('0x7')]=function(_0x5c01cf,_0x10a484){return _0x5c01cf[_0x55c6('0x8')](_0x55c6('0x9'),attributes,{'tableName':'chat_websites','paranoid':![],'indexes':[],'timestamps':!![]});};