Built motion from commit (unavailable).|2.5.7
[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 _0x36a4=['exports','define','ChatQueue','chat_queues','lodash','moment','bluebird','request-promise','path','../../config/environment','./chatQueue.attributes'];(function(_0x1f16de,_0x548eb9){var _0x36cd80=function(_0x4e1a45){while(--_0x4e1a45){_0x1f16de['push'](_0x1f16de['shift']());}};_0x36cd80(++_0x548eb9);}(_0x36a4,0x185));var _0x436a=function(_0x24e6b3,_0x426b42){_0x24e6b3=_0x24e6b3-0x0;var _0x29437a=_0x36a4[_0x24e6b3];return _0x29437a;};'use strict';var _=require(_0x436a('0x0'));var util=require('util');var logger=require('../../config/logger')('api');var moment=require(_0x436a('0x1'));var BPromise=require(_0x436a('0x2'));var rp=require(_0x436a('0x3'));var fs=require('fs');var path=require(_0x436a('0x4'));var rimraf=require('rimraf');var config=require(_0x436a('0x5'));var attributes=require(_0x436a('0x6'));module[_0x436a('0x7')]=function(_0x40ba14,_0x352975){return _0x40ba14[_0x436a('0x8')](_0x436a('0x9'),attributes,{'tableName':_0x436a('0xa'),'paranoid':![],'indexes':[],'timestamps':!![]});};