Built motion from commit (unavailable).|2.4.19
[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 _0xa3be=['bluebird','request-promise','path','rimraf','../../config/environment','./chatQueue.attributes','exports','ChatQueue','chat_queues','util','../../config/logger','moment'];(function(_0x152678,_0x11e0ac){var _0x311a9=function(_0x4f5291){while(--_0x4f5291){_0x152678['push'](_0x152678['shift']());}};_0x311a9(++_0x11e0ac);}(_0xa3be,0x171));var _0xea3b=function(_0x1e6177,_0x2596c6){_0x1e6177=_0x1e6177-0x0;var _0x5a43b4=_0xa3be[_0x1e6177];return _0x5a43b4;};'use strict';var _=require('lodash');var util=require(_0xea3b('0x0'));var logger=require(_0xea3b('0x1'))('api');var moment=require(_0xea3b('0x2'));var BPromise=require(_0xea3b('0x3'));var rp=require(_0xea3b('0x4'));var fs=require('fs');var path=require(_0xea3b('0x5'));var rimraf=require(_0xea3b('0x6'));var config=require(_0xea3b('0x7'));var attributes=require(_0xea3b('0x8'));module[_0xea3b('0x9')]=function(_0x1f2b76,_0xd19145){return _0x1f2b76['define'](_0xea3b('0xa'),attributes,{'tableName':_0xea3b('0xb'),'paranoid':![],'indexes':[],'timestamps':!![]});};