Built motion from commit (unavailable).|2.5.11
[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 _0x00b3=['util','../../config/logger','api','moment','request-promise','rimraf','./chatWebsite.attributes','exports','chat_websites'];(function(_0x3fd3a3,_0x36c863){var _0xa3e4d5=function(_0x1fd03b){while(--_0x1fd03b){_0x3fd3a3['push'](_0x3fd3a3['shift']());}};_0xa3e4d5(++_0x36c863);}(_0x00b3,0x17a));var _0x300b=function(_0x5cc9e3,_0xf8dc92){_0x5cc9e3=_0x5cc9e3-0x0;var _0x555212=_0x00b3[_0x5cc9e3];return _0x555212;};'use strict';var _=require('lodash');var util=require(_0x300b('0x0'));var logger=require(_0x300b('0x1'))(_0x300b('0x2'));var moment=require(_0x300b('0x3'));var BPromise=require('bluebird');var rp=require(_0x300b('0x4'));var fs=require('fs');var path=require('path');var rimraf=require(_0x300b('0x5'));var config=require('../../config/environment');var attributes=require(_0x300b('0x6'));module[_0x300b('0x7')]=function(_0x3a8c64,_0x10b0a2){return _0x3a8c64['define']('ChatWebsite',attributes,{'tableName':_0x300b('0x8'),'paranoid':![],'indexes':[],'timestamps':!![]});};