cef04312ff9d917163ca24bd23b0c84830071f98
[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 _0x2e27=['./userChatQueue.attributes','define','UserChatQueue','user_has_chat_queues','lodash','util','../../config/logger','api','bluebird','request-promise','rimraf'];(function(_0x17a32f,_0x5a51a){var _0x15a293=function(_0x55fbd3){while(--_0x55fbd3){_0x17a32f['push'](_0x17a32f['shift']());}};_0x15a293(++_0x5a51a);}(_0x2e27,0x19b));var _0x72e2=function(_0x18fb16,_0x45edbc){_0x18fb16=_0x18fb16-0x0;var _0x147b0d=_0x2e27[_0x18fb16];return _0x147b0d;};'use strict';var _=require(_0x72e2('0x0'));var util=require(_0x72e2('0x1'));var logger=require(_0x72e2('0x2'))(_0x72e2('0x3'));var moment=require('moment');var BPromise=require(_0x72e2('0x4'));var rp=require(_0x72e2('0x5'));var fs=require('fs');var path=require('path');var rimraf=require(_0x72e2('0x6'));var config=require('../../config/environment');var attributes=require(_0x72e2('0x7'));module['exports']=function(_0x335266,_0x2fae29){return _0x335266[_0x72e2('0x8')](_0x72e2('0x9'),attributes,{'tableName':_0x72e2('0xa'),'paranoid':![],'indexes':[],'timestamps':!![]});};