Built motion from commit 449495f6.|2.6.27
[motion2.git] / server / api / chatQueue / chatQueue.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 _0xa7ac=['request-promise','path','../../config/environment','./chatQueue.attributes','exports','define','lodash','../../config/logger','api','bluebird'];(function(_0x5900b5,_0x2a190b){var _0x3da078=function(_0x42b551){while(--_0x42b551){_0x5900b5['push'](_0x5900b5['shift']());}};_0x3da078(++_0x2a190b);}(_0xa7ac,0xba));var _0xca7a=function(_0x3eddfa,_0x45950e){_0x3eddfa=_0x3eddfa-0x0;var _0x21a5fe=_0xa7ac[_0x3eddfa];return _0x21a5fe;};'use strict';var _=require(_0xca7a('0x0'));var util=require('util');var logger=require(_0xca7a('0x1'))(_0xca7a('0x2'));var moment=require('moment');var BPromise=require(_0xca7a('0x3'));var rp=require(_0xca7a('0x4'));var fs=require('fs');var path=require(_0xca7a('0x5'));var rimraf=require('rimraf');var config=require(_0xca7a('0x6'));var attributes=require(_0xca7a('0x7'));module[_0xca7a('0x8')]=function(_0x2c35bb,_0xb2a120){return _0x2c35bb[_0xca7a('0x9')]('ChatQueue',attributes,{'tableName':'chat_queues','paranoid':![],'indexes':[],'timestamps':!![]});};