df52b86d54444a0edbc01d9bc83095e85e424ef7
[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 _0x5ec6=['../../config/logger','api','moment','bluebird','request-promise','path','rimraf','../../config/environment','./chatWebsite.attributes','exports','ChatWebsite','chat_websites','lodash','util'];(function(_0x1377b2,_0x2017a6){var _0x92c9c8=function(_0x12db87){while(--_0x12db87){_0x1377b2['push'](_0x1377b2['shift']());}};_0x92c9c8(++_0x2017a6);}(_0x5ec6,0xd0));var _0x65ec=function(_0xa3271b,_0x5cccfa){_0xa3271b=_0xa3271b-0x0;var _0xf33eb9=_0x5ec6[_0xa3271b];return _0xf33eb9;};'use strict';var _=require(_0x65ec('0x0'));var util=require(_0x65ec('0x1'));var logger=require(_0x65ec('0x2'))(_0x65ec('0x3'));var moment=require(_0x65ec('0x4'));var BPromise=require(_0x65ec('0x5'));var rp=require(_0x65ec('0x6'));var fs=require('fs');var path=require(_0x65ec('0x7'));var rimraf=require(_0x65ec('0x8'));var config=require(_0x65ec('0x9'));var attributes=require(_0x65ec('0xa'));module[_0x65ec('0xb')]=function(_0x3d6373,_0x3b1e42){return _0x3d6373['define'](_0x65ec('0xc'),attributes,{'tableName':_0x65ec('0xd'),'paranoid':![],'indexes':[],'timestamps':!![]});};