05ba630f5f7b2911cdf10b938a6ed9eb5e895e9d
[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 _0x524c=['util','../../config/logger','api','moment','bluebird','path','rimraf','../../config/environment','define'];(function(_0x3acb67,_0xbe0faa){var _0x534936=function(_0x4724a4){while(--_0x4724a4){_0x3acb67['push'](_0x3acb67['shift']());}};_0x534936(++_0xbe0faa);}(_0x524c,0x105));var _0xc524=function(_0x49bf96,_0x3d3d03){_0x49bf96=_0x49bf96-0x0;var _0x3dfece=_0x524c[_0x49bf96];return _0x3dfece;};'use strict';var _=require('lodash');var util=require(_0xc524('0x0'));var logger=require(_0xc524('0x1'))(_0xc524('0x2'));var moment=require(_0xc524('0x3'));var BPromise=require(_0xc524('0x4'));var rp=require('request-promise');var fs=require('fs');var path=require(_0xc524('0x5'));var rimraf=require(_0xc524('0x6'));var config=require(_0xc524('0x7'));var attributes=require('./userChatQueue.attributes');module['exports']=function(_0x2fb725,_0x1ee86b){return _0x2fb725[_0xc524('0x8')]('UserChatQueue',attributes,{'tableName':'user_has_chat_queues','paranoid':![],'indexes':[],'timestamps':!![]});};