Built motion from commit c116dc8b.|2.6.30
[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 _0xd8c4=['define','ChatWebsite','chat_websites','lodash','api','moment','path','rimraf','./chatWebsite.attributes','exports'];(function(_0x3a9661,_0x530b12){var _0x5bb119=function(_0x1278f){while(--_0x1278f){_0x3a9661['push'](_0x3a9661['shift']());}};_0x5bb119(++_0x530b12);}(_0xd8c4,0x99));var _0x4d8c=function(_0x20a558,_0x160e0e){_0x20a558=_0x20a558-0x0;var _0x53d3f7=_0xd8c4[_0x20a558];return _0x53d3f7;};'use strict';var _=require(_0x4d8c('0x0'));var util=require('util');var logger=require('../../config/logger')(_0x4d8c('0x1'));var moment=require(_0x4d8c('0x2'));var BPromise=require('bluebird');var rp=require('request-promise');var fs=require('fs');var path=require(_0x4d8c('0x3'));var rimraf=require(_0x4d8c('0x4'));var config=require('../../config/environment');var attributes=require(_0x4d8c('0x5'));module[_0x4d8c('0x6')]=function(_0x1f0f77,_0x480b58){return _0x1f0f77[_0x4d8c('0x7')](_0x4d8c('0x8'),attributes,{'tableName':_0x4d8c('0x9'),'paranoid':![],'indexes':[],'timestamps':!![]});};