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 _0x617a=['util','../../config/logger','moment','bluebird','request-promise','path','rimraf','../../config/environment','exports','define','UserWhatsappQueue','user_has_whatsapp_queues'];(function(_0x236ffe,_0x31f020){var _0x469a34=function(_0x839049){while(--_0x839049){_0x236ffe['push'](_0x236ffe['shift']());}};_0x469a34(++_0x31f020);}(_0x617a,0x18c));var _0xa617=function(_0x2fc9e2,_0x1bdb51){_0x2fc9e2=_0x2fc9e2-0x0;var _0x2d1b9c=_0x617a[_0x2fc9e2];return _0x2d1b9c;};'use strict';var _=require('lodash');var util=require(_0xa617('0x0'));var logger=require(_0xa617('0x1'))('api');var moment=require(_0xa617('0x2'));var BPromise=require(_0xa617('0x3'));var rp=require(_0xa617('0x4'));var fs=require('fs');var path=require(_0xa617('0x5'));var rimraf=require(_0xa617('0x6'));var config=require(_0xa617('0x7'));var attributes=require('./userWhatsappQueue.attributes');module[_0xa617('0x8')]=function(_0x1d461a,_0x549089){return _0x1d461a[_0xa617('0x9')](_0xa617('0xa'),attributes,{'tableName':_0xa617('0xb'),'paranoid':![],'indexes':[],'timestamps':!![]});};