Built motion from commit (unavailable).|2.5.11
[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 _0x9616=['./userChatQueue.attributes','exports','define','UserChatQueue','lodash','api','request-promise','path','rimraf','../../config/environment'];(function(_0x50b2f8,_0x129068){var _0xcdb090=function(_0x452b62){while(--_0x452b62){_0x50b2f8['push'](_0x50b2f8['shift']());}};_0xcdb090(++_0x129068);}(_0x9616,0x112));var _0x6961=function(_0x4d7f3f,_0x4d2803){_0x4d7f3f=_0x4d7f3f-0x0;var _0x5d67cc=_0x9616[_0x4d7f3f];return _0x5d67cc;};'use strict';var _=require(_0x6961('0x0'));var util=require('util');var logger=require('../../config/logger')(_0x6961('0x1'));var moment=require('moment');var BPromise=require('bluebird');var rp=require(_0x6961('0x2'));var fs=require('fs');var path=require(_0x6961('0x3'));var rimraf=require(_0x6961('0x4'));var config=require(_0x6961('0x5'));var attributes=require(_0x6961('0x6'));module[_0x6961('0x7')]=function(_0x4db7c7,_0x4a634b){return _0x4db7c7[_0x6961('0x8')](_0x6961('0x9'),attributes,{'tableName':'user_has_chat_queues','paranoid':![],'indexes':[],'timestamps':!![]});};