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 _0xff8d=['exports','define','UserChatQueue','user_has_chat_queues','util','../../config/logger','bluebird','request-promise','path','rimraf','./userChatQueue.attributes'];(function(_0x308d54,_0x15e32c){var _0x4de8c4=function(_0x425b4c){while(--_0x425b4c){_0x308d54['push'](_0x308d54['shift']());}};_0x4de8c4(++_0x15e32c);}(_0xff8d,0x7d));var _0xdff8=function(_0x470194,_0x15b56d){_0x470194=_0x470194-0x0;var _0x44895f=_0xff8d[_0x470194];return _0x44895f;};'use strict';var _=require('lodash');var util=require(_0xdff8('0x0'));var logger=require(_0xdff8('0x1'))('api');var moment=require('moment');var BPromise=require(_0xdff8('0x2'));var rp=require(_0xdff8('0x3'));var fs=require('fs');var path=require(_0xdff8('0x4'));var rimraf=require(_0xdff8('0x5'));var config=require('../../config/environment');var attributes=require(_0xdff8('0x6'));module[_0xdff8('0x7')]=function(_0xdaf0a3,_0x42a72c){return _0xdaf0a3[_0xdff8('0x8')](_0xdff8('0x9'),attributes,{'tableName':_0xdff8('0xa'),'paranoid':![],'indexes':[],'timestamps':!![]});};