Built motion from commit e0fa946e.|2.6.5
[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 _0x9064=['../../config/environment','define','chat_websites','util','moment','bluebird','rimraf'];(function(_0x313ef1,_0x24190d){var _0x5e0b99=function(_0x53b476){while(--_0x53b476){_0x313ef1['push'](_0x313ef1['shift']());}};_0x5e0b99(++_0x24190d);}(_0x9064,0x153));var _0x4906=function(_0x52759b,_0xfb8ab3){_0x52759b=_0x52759b-0x0;var _0x166f76=_0x9064[_0x52759b];return _0x166f76;};'use strict';var _=require('lodash');var util=require(_0x4906('0x0'));var logger=require('../../config/logger')('api');var moment=require(_0x4906('0x1'));var BPromise=require(_0x4906('0x2'));var rp=require('request-promise');var fs=require('fs');var path=require('path');var rimraf=require(_0x4906('0x3'));var config=require(_0x4906('0x4'));var attributes=require('./chatWebsite.attributes');module['exports']=function(_0x5027ba,_0x58f82c){return _0x5027ba[_0x4906('0x5')]('ChatWebsite',attributes,{'tableName':_0x4906('0x6'),'paranoid':![],'indexes':[],'timestamps':!![]});};