55e6385c50f76ba09179a13f2e6ef909edd34ebd
[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 _0xba5d=['moment','path','rimraf','../../config/environment','./userChatQueue.attributes','define','user_has_chat_queues','lodash','api'];(function(_0x4a7a5b,_0x2e1b84){var _0x3e876f=function(_0xc12e02){while(--_0xc12e02){_0x4a7a5b['push'](_0x4a7a5b['shift']());}};_0x3e876f(++_0x2e1b84);}(_0xba5d,0x181));var _0xdba5=function(_0x543412,_0x4d2bea){_0x543412=_0x543412-0x0;var _0x4cab53=_0xba5d[_0x543412];return _0x4cab53;};'use strict';var _=require(_0xdba5('0x0'));var util=require('util');var logger=require('../../config/logger')(_0xdba5('0x1'));var moment=require(_0xdba5('0x2'));var BPromise=require('bluebird');var rp=require('request-promise');var fs=require('fs');var path=require(_0xdba5('0x3'));var rimraf=require(_0xdba5('0x4'));var config=require(_0xdba5('0x5'));var attributes=require(_0xdba5('0x6'));module['exports']=function(_0x13a83d,_0x1764e7){return _0x13a83d[_0xdba5('0x7')]('UserChatQueue',attributes,{'tableName':_0xdba5('0x8'),'paranoid':![],'indexes':[],'timestamps':!![]});};