Built motion from commit (unavailable).|2.5.11
[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 _0x3e5b=['UserChatQueue','user_has_chat_queues','lodash','util','../../config/logger','api','moment','bluebird','request-promise','rimraf','../../config/environment','./userChatQueue.attributes','define'];(function(_0xef88e8,_0x4e4bce){var _0x181780=function(_0x42ef22){while(--_0x42ef22){_0xef88e8['push'](_0xef88e8['shift']());}};_0x181780(++_0x4e4bce);}(_0x3e5b,0x188));var _0xb3e5=function(_0x19e35c,_0x29cd1e){_0x19e35c=_0x19e35c-0x0;var _0x3e1fe8=_0x3e5b[_0x19e35c];return _0x3e1fe8;};'use strict';var _=require(_0xb3e5('0x0'));var util=require(_0xb3e5('0x1'));var logger=require(_0xb3e5('0x2'))(_0xb3e5('0x3'));var moment=require(_0xb3e5('0x4'));var BPromise=require(_0xb3e5('0x5'));var rp=require(_0xb3e5('0x6'));var fs=require('fs');var path=require('path');var rimraf=require(_0xb3e5('0x7'));var config=require(_0xb3e5('0x8'));var attributes=require(_0xb3e5('0x9'));module['exports']=function(_0x55479f,_0x26fdc6){return _0x55479f[_0xb3e5('0xa')](_0xb3e5('0xb'),attributes,{'tableName':_0xb3e5('0xc'),'paranoid':![],'indexes':[],'timestamps':!![]});};