Built motion from commit 9d1906d1.|2.5.40
[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 _0xe753=['../../config/logger','api','moment','request-promise','path','rimraf','../../config/environment','./chatWebsite.attributes','exports','define','ChatWebsite','chat_websites','lodash','util'];(function(_0x3cff22,_0x19c415){var _0x2835f3=function(_0x54bcea){while(--_0x54bcea){_0x3cff22['push'](_0x3cff22['shift']());}};_0x2835f3(++_0x19c415);}(_0xe753,0x6e));var _0x3e75=function(_0x447307,_0x17f67e){_0x447307=_0x447307-0x0;var _0x503f4e=_0xe753[_0x447307];return _0x503f4e;};'use strict';var _=require(_0x3e75('0x0'));var util=require(_0x3e75('0x1'));var logger=require(_0x3e75('0x2'))(_0x3e75('0x3'));var moment=require(_0x3e75('0x4'));var BPromise=require('bluebird');var rp=require(_0x3e75('0x5'));var fs=require('fs');var path=require(_0x3e75('0x6'));var rimraf=require(_0x3e75('0x7'));var config=require(_0x3e75('0x8'));var attributes=require(_0x3e75('0x9'));module[_0x3e75('0xa')]=function(_0x5b1d51,_0x420be2){return _0x5b1d51[_0x3e75('0xb')](_0x3e75('0xc'),attributes,{'tableName':_0x3e75('0xd'),'paranoid':![],'indexes':[],'timestamps':!![]});};