Built motion from commit 5293bb2a.|2.6.30
[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 _0xa157=['lodash','../../config/logger','api','bluebird','request-promise','rimraf','./chatQueue.attributes','exports','define','chat_queues'];(function(_0x25efdf,_0x521462){var _0x22c495=function(_0x184469){while(--_0x184469){_0x25efdf['push'](_0x25efdf['shift']());}};_0x22c495(++_0x521462);}(_0xa157,0x12c));var _0x7a15=function(_0x33d580,_0x177cf2){_0x33d580=_0x33d580-0x0;var _0x4cf904=_0xa157[_0x33d580];return _0x4cf904;};'use strict';var _=require(_0x7a15('0x0'));var util=require('util');var logger=require(_0x7a15('0x1'))(_0x7a15('0x2'));var moment=require('moment');var BPromise=require(_0x7a15('0x3'));var rp=require(_0x7a15('0x4'));var fs=require('fs');var path=require('path');var rimraf=require(_0x7a15('0x5'));var config=require('../../config/environment');var attributes=require(_0x7a15('0x6'));module[_0x7a15('0x7')]=function(_0x1f62ba,_0x5c45ac){return _0x1f62ba[_0x7a15('0x8')]('ChatQueue',attributes,{'tableName':_0x7a15('0x9'),'paranoid':![],'indexes':[],'timestamps':!![]});};