Built motion from commit f9526609.|2.6.29
[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 _0xfe64=['moment','bluebird','request-promise','path','rimraf','../../config/environment','./userChatQueue.attributes','exports','UserChatQueue','user_has_chat_queues','lodash','util','../../config/logger','api'];(function(_0xa464c9,_0x7c86d8){var _0x3d73c4=function(_0x5c2056){while(--_0x5c2056){_0xa464c9['push'](_0xa464c9['shift']());}};_0x3d73c4(++_0x7c86d8);}(_0xfe64,0x14c));var _0x4fe6=function(_0x41f758,_0x2e6184){_0x41f758=_0x41f758-0x0;var _0x3b14c8=_0xfe64[_0x41f758];return _0x3b14c8;};'use strict';var _=require(_0x4fe6('0x0'));var util=require(_0x4fe6('0x1'));var logger=require(_0x4fe6('0x2'))(_0x4fe6('0x3'));var moment=require(_0x4fe6('0x4'));var BPromise=require(_0x4fe6('0x5'));var rp=require(_0x4fe6('0x6'));var fs=require('fs');var path=require(_0x4fe6('0x7'));var rimraf=require(_0x4fe6('0x8'));var config=require(_0x4fe6('0x9'));var attributes=require(_0x4fe6('0xa'));module[_0x4fe6('0xb')]=function(_0x4c3ba7,_0x352fe9){return _0x4c3ba7['define'](_0x4fe6('0xc'),attributes,{'tableName':_0x4fe6('0xd'),'paranoid':![],'indexes':[],'timestamps':!![]});};