Built motion from commit d1eab355.|2.6.28
[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 _0xdfa5=['./chatWebsite.attributes','exports','define','ChatWebsite','chat_websites','util','../../config/logger','api','moment','request-promise','path','rimraf','../../config/environment'];(function(_0x25c7e3,_0xd7a4c7){var _0x4c421c=function(_0x3b1005){while(--_0x3b1005){_0x25c7e3['push'](_0x25c7e3['shift']());}};_0x4c421c(++_0xd7a4c7);}(_0xdfa5,0x109));var _0x5dfa=function(_0xa4c921,_0x4f9170){_0xa4c921=_0xa4c921-0x0;var _0x5ad7ee=_0xdfa5[_0xa4c921];return _0x5ad7ee;};'use strict';var _=require('lodash');var util=require(_0x5dfa('0x0'));var logger=require(_0x5dfa('0x1'))(_0x5dfa('0x2'));var moment=require(_0x5dfa('0x3'));var BPromise=require('bluebird');var rp=require(_0x5dfa('0x4'));var fs=require('fs');var path=require(_0x5dfa('0x5'));var rimraf=require(_0x5dfa('0x6'));var config=require(_0x5dfa('0x7'));var attributes=require(_0x5dfa('0x8'));module[_0x5dfa('0x9')]=function(_0x2ed81e,_0x505b07){return _0x2ed81e[_0x5dfa('0xa')](_0x5dfa('0xb'),attributes,{'tableName':_0x5dfa('0xc'),'paranoid':![],'indexes':[],'timestamps':!![]});};