1f2b4f127a7f73eca219db84a3b6858dde187ca9
[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 _0xdec0=['lodash','../../config/logger','api','moment','bluebird','request-promise','rimraf','./userChatQueue.attributes','exports'];(function(_0x133a76,_0x454931){var _0x238ffa=function(_0x4213de){while(--_0x4213de){_0x133a76['push'](_0x133a76['shift']());}};_0x238ffa(++_0x454931);}(_0xdec0,0xab));var _0x0dec=function(_0x29ce14,_0x334166){_0x29ce14=_0x29ce14-0x0;var _0x48f289=_0xdec0[_0x29ce14];return _0x48f289;};'use strict';var _=require(_0x0dec('0x0'));var util=require('util');var logger=require(_0x0dec('0x1'))(_0x0dec('0x2'));var moment=require(_0x0dec('0x3'));var BPromise=require(_0x0dec('0x4'));var rp=require(_0x0dec('0x5'));var fs=require('fs');var path=require('path');var rimraf=require(_0x0dec('0x6'));var config=require('../../config/environment');var attributes=require(_0x0dec('0x7'));module[_0x0dec('0x8')]=function(_0x54cfb1,_0x79bd2e){return _0x54cfb1['define']('UserChatQueue',attributes,{'tableName':'user_has_chat_queues','paranoid':![],'indexes':[],'timestamps':!![]});};