Built motion from commit e6806ed6.|2.6.0
[motion2.git] / server / api / chatApplication / chatApplication.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 _0xf6cf=['./chatApplication.attributes','exports','utf8mb4','utf8mb4_unicode_ci','lodash','util','api','moment','bluebird','request-promise','path','rimraf','../../config/environment'];(function(_0x1b68df,_0x37d777){var _0x119208=function(_0x2d4ce9){while(--_0x2d4ce9){_0x1b68df['push'](_0x1b68df['shift']());}};_0x119208(++_0x37d777);}(_0xf6cf,0x156));var _0xff6c=function(_0x4f64a7,_0x1c92c8){_0x4f64a7=_0x4f64a7-0x0;var _0x1ed6c5=_0xf6cf[_0x4f64a7];return _0x1ed6c5;};'use strict';var _=require(_0xff6c('0x0'));var util=require(_0xff6c('0x1'));var logger=require('../../config/logger')(_0xff6c('0x2'));var moment=require(_0xff6c('0x3'));var BPromise=require(_0xff6c('0x4'));var rp=require(_0xff6c('0x5'));var fs=require('fs');var path=require(_0xff6c('0x6'));var rimraf=require(_0xff6c('0x7'));var config=require(_0xff6c('0x8'));var attributes=require(_0xff6c('0x9'));module[_0xff6c('0xa')]=function(_0x47b562,_0x77b1e3){return _0x47b562['define']('ChatApplication',attributes,{'tableName':'chat_applications','paranoid':![],'indexes':[],'timestamps':!![],'charset':_0xff6c('0xb'),'collate':_0xff6c('0xc')});};