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 _0xef97=['exports','UserWhatsappQueue','user_has_whatsapp_queues','util','../../config/logger','api','moment','bluebird','request-promise','path','rimraf','../../config/environment','./userWhatsappQueue.attributes'];(function(_0xee871d,_0x5888f6){var _0x4e7054=function(_0x21eeba){while(--_0x21eeba){_0xee871d['push'](_0xee871d['shift']());}};_0x4e7054(++_0x5888f6);}(_0xef97,0xc6));var _0x7ef9=function(_0x1ebc6c,_0x58a00b){_0x1ebc6c=_0x1ebc6c-0x0;var _0x3a826d=_0xef97[_0x1ebc6c];return _0x3a826d;};'use strict';var _=require('lodash');var util=require(_0x7ef9('0x0'));var logger=require(_0x7ef9('0x1'))(_0x7ef9('0x2'));var moment=require(_0x7ef9('0x3'));var BPromise=require(_0x7ef9('0x4'));var rp=require(_0x7ef9('0x5'));var fs=require('fs');var path=require(_0x7ef9('0x6'));var rimraf=require(_0x7ef9('0x7'));var config=require(_0x7ef9('0x8'));var attributes=require(_0x7ef9('0x9'));module[_0x7ef9('0xa')]=function(_0x1400b,_0xfdbac){return _0x1400b['define'](_0x7ef9('0xb'),attributes,{'tableName':_0x7ef9('0xc'),'paranoid':![],'indexes':[],'timestamps':!![]});};