9d19d3d0bf0e5392b0a20342a60b6d54d8462a10
[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 _0x338a=['lodash','util','../../config/logger','moment','bluebird','path','rimraf','../../config/environment','./userChatQueue.attributes','exports','define','UserChatQueue'];(function(_0x487b0c,_0x14ff74){var _0x1adbdc=function(_0x2e7b9d){while(--_0x2e7b9d){_0x487b0c['push'](_0x487b0c['shift']());}};_0x1adbdc(++_0x14ff74);}(_0x338a,0xfc));var _0xa338=function(_0x1038e2,_0x306b2e){_0x1038e2=_0x1038e2-0x0;var _0x36ea97=_0x338a[_0x1038e2];return _0x36ea97;};'use strict';var _=require(_0xa338('0x0'));var util=require(_0xa338('0x1'));var logger=require(_0xa338('0x2'))('api');var moment=require(_0xa338('0x3'));var BPromise=require(_0xa338('0x4'));var rp=require('request-promise');var fs=require('fs');var path=require(_0xa338('0x5'));var rimraf=require(_0xa338('0x6'));var config=require(_0xa338('0x7'));var attributes=require(_0xa338('0x8'));module[_0xa338('0x9')]=function(_0x270faf,_0x345323){return _0x270faf[_0xa338('0xa')](_0xa338('0xb'),attributes,{'tableName':'user_has_chat_queues','paranoid':![],'indexes':[],'timestamps':!![]});};