350b63e48881b3db44053a24c35bb12a44e2d9a4
[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 _0x093c=['ChatWebsite','chat_websites','lodash','../../config/logger','api','bluebird','request-promise','path','rimraf','./chatWebsite.attributes','exports','define'];(function(_0x2bbddf,_0x22d718){var _0x42a11c=function(_0x20e3d6){while(--_0x20e3d6){_0x2bbddf['push'](_0x2bbddf['shift']());}};_0x42a11c(++_0x22d718);}(_0x093c,0x1b2));var _0xc093=function(_0x2385ee,_0x24825e){_0x2385ee=_0x2385ee-0x0;var _0x208790=_0x093c[_0x2385ee];return _0x208790;};'use strict';var _=require(_0xc093('0x0'));var util=require('util');var logger=require(_0xc093('0x1'))(_0xc093('0x2'));var moment=require('moment');var BPromise=require(_0xc093('0x3'));var rp=require(_0xc093('0x4'));var fs=require('fs');var path=require(_0xc093('0x5'));var rimraf=require(_0xc093('0x6'));var config=require('../../config/environment');var attributes=require(_0xc093('0x7'));module[_0xc093('0x8')]=function(_0x1dba58,_0x454fdb){return _0x1dba58[_0xc093('0x9')](_0xc093('0xa'),attributes,{'tableName':_0xc093('0xb'),'paranoid':![],'indexes':[],'timestamps':!![]});};