Built motion from commit (unavailable).|2.2.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 _0xfbf7=['ChatApplication','lodash','../../config/logger','api','moment','./chatApplication.attributes','exports','define'];(function(_0x1a046c,_0x3f2991){var _0x219a87=function(_0x47abd3){while(--_0x47abd3){_0x1a046c['push'](_0x1a046c['shift']());}};_0x219a87(++_0x3f2991);}(_0xfbf7,0x179));var _0x7fbf=function(_0x3200c9,_0x16004e){_0x3200c9=_0x3200c9-0x0;var _0x3a7be4=_0xfbf7[_0x3200c9];return _0x3a7be4;};'use strict';var _=require(_0x7fbf('0x0'));var util=require('util');var logger=require(_0x7fbf('0x1'))(_0x7fbf('0x2'));var moment=require(_0x7fbf('0x3'));var BPromise=require('bluebird');var rp=require('request-promise');var attributes=require(_0x7fbf('0x4'));module[_0x7fbf('0x5')]=function(_0xef56a5,_0x2483d1){return _0xef56a5[_0x7fbf('0x6')](_0x7fbf('0x7'),attributes,{'tableName':'chat_applications','paranoid':![],'indexes':[],'timestamps':!![]});};