375cf16394ab560356bd387eb28af5506a77c9af
[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 _0x1a08=['path','rimraf','../../config/environment','./userChatQueue.attributes','define','user_has_chat_queues','lodash','util','../../config/logger','bluebird','request-promise'];(function(_0x2f6f4c,_0xed796e){var _0x19583f=function(_0x4a07d2){while(--_0x4a07d2){_0x2f6f4c['push'](_0x2f6f4c['shift']());}};_0x19583f(++_0xed796e);}(_0x1a08,0xb6));var _0x81a0=function(_0x480bc8,_0x1fac40){_0x480bc8=_0x480bc8-0x0;var _0x28c245=_0x1a08[_0x480bc8];return _0x28c245;};'use strict';var _=require(_0x81a0('0x0'));var util=require(_0x81a0('0x1'));var logger=require(_0x81a0('0x2'))('api');var moment=require('moment');var BPromise=require(_0x81a0('0x3'));var rp=require(_0x81a0('0x4'));var fs=require('fs');var path=require(_0x81a0('0x5'));var rimraf=require(_0x81a0('0x6'));var config=require(_0x81a0('0x7'));var attributes=require(_0x81a0('0x8'));module['exports']=function(_0x2cd204,_0x34868a){return _0x2cd204[_0x81a0('0x9')]('UserChatQueue',attributes,{'tableName':_0x81a0('0xa'),'paranoid':![],'indexes':[],'timestamps':!![]});};