Built motion from commit eddce310.|2.6.12
[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 _0x30e0=['lodash','api','moment','bluebird','request-promise','path','rimraf','../../config/environment','./userChatQueue.attributes','exports','define','UserChatQueue','user_has_chat_queues'];(function(_0x387dc1,_0x3ba649){var _0x17567c=function(_0x4690aa){while(--_0x4690aa){_0x387dc1['push'](_0x387dc1['shift']());}};_0x17567c(++_0x3ba649);}(_0x30e0,0x111));var _0x030e=function(_0x5ebecf,_0x5f4996){_0x5ebecf=_0x5ebecf-0x0;var _0x3c98a3=_0x30e0[_0x5ebecf];return _0x3c98a3;};'use strict';var _=require(_0x030e('0x0'));var util=require('util');var logger=require('../../config/logger')(_0x030e('0x1'));var moment=require(_0x030e('0x2'));var BPromise=require(_0x030e('0x3'));var rp=require(_0x030e('0x4'));var fs=require('fs');var path=require(_0x030e('0x5'));var rimraf=require(_0x030e('0x6'));var config=require(_0x030e('0x7'));var attributes=require(_0x030e('0x8'));module[_0x030e('0x9')]=function(_0x20e9b6,_0x2a3215){return _0x20e9b6[_0x030e('0xa')](_0x030e('0xb'),attributes,{'tableName':_0x030e('0xc'),'paranoid':![],'indexes':[],'timestamps':!![]});};