Built motion from commit da617fac.|2.6.6
[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 _0x5973=['request-promise','path','rimraf','./chatWebsite.attributes','lodash','../../config/logger','api','bluebird'];(function(_0x4909de,_0x5bc251){var _0x384a9f=function(_0x5226b4){while(--_0x5226b4){_0x4909de['push'](_0x4909de['shift']());}};_0x384a9f(++_0x5bc251);}(_0x5973,0x10c));var _0x3597=function(_0x4aa4af,_0x210cde){_0x4aa4af=_0x4aa4af-0x0;var _0x3bf44a=_0x5973[_0x4aa4af];return _0x3bf44a;};'use strict';var _=require(_0x3597('0x0'));var util=require('util');var logger=require(_0x3597('0x1'))(_0x3597('0x2'));var moment=require('moment');var BPromise=require(_0x3597('0x3'));var rp=require(_0x3597('0x4'));var fs=require('fs');var path=require(_0x3597('0x5'));var rimraf=require(_0x3597('0x6'));var config=require('../../config/environment');var attributes=require(_0x3597('0x7'));module['exports']=function(_0x19e278,_0x2d25cd){return _0x19e278['define']('ChatWebsite',attributes,{'tableName':'chat_websites','paranoid':![],'indexes':[],'timestamps':!![]});};