Built motion from commit 96f8de6d.|2.6.3
[motion2.git] / server / api / userChatQueue / userChatQueue.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 _0xde56=['../../config/environment','./userChatQueue.attributes','exports','define','UserChatQueue','user_has_chat_queues','util','../../config/logger','api','moment','bluebird','request-promise','rimraf'];(function(_0x5e08ee,_0x45c038){var _0x3b1dcc=function(_0x533646){while(--_0x533646){_0x5e08ee['push'](_0x5e08ee['shift']());}};_0x3b1dcc(++_0x45c038);}(_0xde56,0x1da));var _0x6de5=function(_0x4bb581,_0x6f7037){_0x4bb581=_0x4bb581-0x0;var _0x316bf5=_0xde56[_0x4bb581];return _0x316bf5;};'use strict';var _=require('lodash');var util=require(_0x6de5('0x0'));var logger=require(_0x6de5('0x1'))(_0x6de5('0x2'));var moment=require(_0x6de5('0x3'));var BPromise=require(_0x6de5('0x4'));var rp=require(_0x6de5('0x5'));var fs=require('fs');var path=require('path');var rimraf=require(_0x6de5('0x6'));var config=require(_0x6de5('0x7'));var attributes=require(_0x6de5('0x8'));module[_0x6de5('0x9')]=function(_0x4b110f,_0x5ed07e){return _0x4b110f[_0x6de5('0xa')](_0x6de5('0xb'),attributes,{'tableName':_0x6de5('0xc'),'paranoid':![],'indexes':[],'timestamps':!![]});};