Built motion from commit 85328c08.|2.5.50
[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 _0x0999=['bluebird','request-promise','../../config/environment','./chatQueue.attributes','chat_queues','api'];(function(_0x4fdc46,_0x2a3759){var _0x2c178a=function(_0x59ead9){while(--_0x59ead9){_0x4fdc46['push'](_0x4fdc46['shift']());}};_0x2c178a(++_0x2a3759);}(_0x0999,0x9b));var _0x9099=function(_0x387dc1,_0x3ba649){_0x387dc1=_0x387dc1-0x0;var _0x17567c=_0x0999[_0x387dc1];return _0x17567c;};'use strict';var _=require('lodash');var util=require('util');var logger=require('../../config/logger')(_0x9099('0x0'));var moment=require('moment');var BPromise=require(_0x9099('0x1'));var rp=require(_0x9099('0x2'));var fs=require('fs');var path=require('path');var rimraf=require('rimraf');var config=require(_0x9099('0x3'));var attributes=require(_0x9099('0x4'));module['exports']=function(_0x637c0c,_0x3d2597){return _0x637c0c['define']('ChatQueue',attributes,{'tableName':_0x9099('0x5'),'paranoid':![],'indexes':[],'timestamps':!![]});};