4574b5d11f032c171376d7fd43ac853c1e3c8539
[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 _0xec0e=['bluebird','request-promise','rimraf','../../config/environment','./chatApplication.attributes','exports','chat_applications','utf8mb4','utf8mb4_unicode_ci','lodash','api','moment'];(function(_0x199572,_0x33e667){var _0x13cfa3=function(_0x53c075){while(--_0x53c075){_0x199572['push'](_0x199572['shift']());}};_0x13cfa3(++_0x33e667);}(_0xec0e,0x1d1));var _0xeec0=function(_0x61bb05,_0x47421f){_0x61bb05=_0x61bb05-0x0;var _0x3ceb3e=_0xec0e[_0x61bb05];return _0x3ceb3e;};'use strict';var _=require(_0xeec0('0x0'));var util=require('util');var logger=require('../../config/logger')(_0xeec0('0x1'));var moment=require(_0xeec0('0x2'));var BPromise=require(_0xeec0('0x3'));var rp=require(_0xeec0('0x4'));var fs=require('fs');var path=require('path');var rimraf=require(_0xeec0('0x5'));var config=require(_0xeec0('0x6'));var attributes=require(_0xeec0('0x7'));module[_0xeec0('0x8')]=function(_0x20c9a9,_0x830f66){return _0x20c9a9['define']('ChatApplication',attributes,{'tableName':_0xeec0('0x9'),'paranoid':![],'indexes':[],'timestamps':!![],'charset':_0xeec0('0xa'),'collate':_0xeec0('0xb')});};