Built motion from commit (unavailable).|2.5.7
[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 _0xbade=['rimraf','../../config/environment','define','user_has_chat_queues','lodash','util','../../config/logger','api','moment','bluebird','request-promise','path'];(function(_0x28ec8b,_0x3b74b6){var _0x1352ec=function(_0x447fcf){while(--_0x447fcf){_0x28ec8b['push'](_0x28ec8b['shift']());}};_0x1352ec(++_0x3b74b6);}(_0xbade,0xd0));var _0xebad=function(_0xe896bf,_0x4f8e5e){_0xe896bf=_0xe896bf-0x0;var _0x4c7a8a=_0xbade[_0xe896bf];return _0x4c7a8a;};'use strict';var _=require(_0xebad('0x0'));var util=require(_0xebad('0x1'));var logger=require(_0xebad('0x2'))(_0xebad('0x3'));var moment=require(_0xebad('0x4'));var BPromise=require(_0xebad('0x5'));var rp=require(_0xebad('0x6'));var fs=require('fs');var path=require(_0xebad('0x7'));var rimraf=require(_0xebad('0x8'));var config=require(_0xebad('0x9'));var attributes=require('./userChatQueue.attributes');module['exports']=function(_0x2aaf53,_0x2e0dc2){return _0x2aaf53[_0xebad('0xa')]('UserChatQueue',attributes,{'tableName':_0xebad('0xb'),'paranoid':![],'indexes':[],'timestamps':!![]});};