Built motion from commit (unavailable).|2.4.4
[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 _0x0de2=['utf8mb4','utf8mb4_unicode_ci','lodash','util','../../config/logger','request-promise','path','rimraf','./chatApplication.attributes','exports','define'];(function(_0x5276f1,_0x1fcf3f){var _0xa2d451=function(_0x59de19){while(--_0x59de19){_0x5276f1['push'](_0x5276f1['shift']());}};_0xa2d451(++_0x1fcf3f);}(_0x0de2,0x1e6));var _0x20de=function(_0x4ff2bc,_0xedd1df){_0x4ff2bc=_0x4ff2bc-0x0;var _0x21751c=_0x0de2[_0x4ff2bc];return _0x21751c;};'use strict';var _=require(_0x20de('0x0'));var util=require(_0x20de('0x1'));var logger=require(_0x20de('0x2'))('api');var moment=require('moment');var BPromise=require('bluebird');var rp=require(_0x20de('0x3'));var fs=require('fs');var path=require(_0x20de('0x4'));var rimraf=require(_0x20de('0x5'));var config=require('../../config/environment');var attributes=require(_0x20de('0x6'));module[_0x20de('0x7')]=function(_0x47e719,_0x40759e){return _0x47e719[_0x20de('0x8')]('ChatApplication',attributes,{'tableName':'chat_applications','paranoid':![],'indexes':[],'timestamps':!![],'charset':_0x20de('0x9'),'collate':_0x20de('0xa')});};