ec97ec23d951ff58217e9db781eb581ad6799c6f
[motion2.git] / server / api / chatWebsite / chatWebsite.model.js
1 // *************************************************************************
2 // *                                                                       *
3 // * xCALLY Motion -  The Omnichannel Contact Center                       *
4 // * Copyright (c) Xenialab s.r.l. All Rights Reserved                     *
5 // *                                                                       *
6 // *************************************************************************
7 // *                                                                       *
8 // * Email: info@xcally.com                                                *
9 // * Website: https://www.xcally.com                                       *
10 // *                                                                       *
11 // *************************************************************************
12 // *                                                                       *
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.                         *
16 // *                                                                       *
17 // *************************************************************************
18 var _0x4a85=['exports','ChatWebsite','lodash','util','../../config/logger','moment','request-promise','path','./chatWebsite.attributes'];(function(_0x18ab2a,_0x4debcd){var _0x16dcee=function(_0x10107a){while(--_0x10107a){_0x18ab2a['push'](_0x18ab2a['shift']());}};_0x16dcee(++_0x4debcd);}(_0x4a85,0xfe));var _0x54a8=function(_0x36eaaa,_0x326732){_0x36eaaa=_0x36eaaa-0x0;var _0x461349=_0x4a85[_0x36eaaa];return _0x461349;};'use strict';var _=require(_0x54a8('0x0'));var util=require(_0x54a8('0x1'));var logger=require(_0x54a8('0x2'))('api');var moment=require(_0x54a8('0x3'));var BPromise=require('bluebird');var rp=require(_0x54a8('0x4'));var fs=require('fs');var path=require(_0x54a8('0x5'));var rimraf=require('rimraf');var config=require('../../config/environment');var attributes=require(_0x54a8('0x6'));module[_0x54a8('0x7')]=function(_0x3aaa80,_0x4d52e5){return _0x3aaa80['define'](_0x54a8('0x8'),attributes,{'tableName':'chat_websites','paranoid':![],'indexes':[],'timestamps':!![]});};