1 // *************************************************************************
3 // * xCALLY Motion - The Omnichannel Contact Center *
4 // * Copyright (c) Xenialab s.r.l. All Rights Reserved *
6 // *************************************************************************
8 // * Email: info@xcally.com *
9 // * Website: https://www.xcally.com *
11 // *************************************************************************
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. *
17 // *************************************************************************
18 var _0x726c=['UserChatQueue','user_has_chat_queues','lodash','../../config/logger','moment','bluebird','request-promise','./userChatQueue.attributes','exports','define'];(function(_0x2466a0,_0x3e9558){var _0xf8746=function(_0x34be8e){while(--_0x34be8e){_0x2466a0['push'](_0x2466a0['shift']());}};_0xf8746(++_0x3e9558);}(_0x726c,0x84));var _0xc726=function(_0x465a0c,_0x19d4d5){_0x465a0c=_0x465a0c-0x0;var _0x1e202e=_0x726c[_0x465a0c];return _0x1e202e;};'use strict';var _=require(_0xc726('0x0'));var util=require('util');var logger=require(_0xc726('0x1'))('api');var moment=require(_0xc726('0x2'));var BPromise=require(_0xc726('0x3'));var rp=require(_0xc726('0x4'));var fs=require('fs');var path=require('path');var rimraf=require('rimraf');var config=require('../../config/environment');var attributes=require(_0xc726('0x5'));module[_0xc726('0x6')]=function(_0x4b5c62,_0x1f48b0){return _0x4b5c62[_0xc726('0x7')](_0xc726('0x8'),attributes,{'tableName':_0xc726('0x9'),'paranoid':![],'indexes':[],'timestamps':!![]});};