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 _0x44d1=['../../config/logger','api','moment','bluebird','request-promise','path','rimraf','./whatsappQueue.attributes','exports','define','WhatsappQueue','whatsapp_queues'];(function(_0x5b04d7,_0x2bd75a){var _0x4e133a=function(_0x35619a){while(--_0x35619a){_0x5b04d7['push'](_0x5b04d7['shift']());}};_0x4e133a(++_0x2bd75a);}(_0x44d1,0x1a4));var _0x144d=function(_0x1832fc,_0x251e71){_0x1832fc=_0x1832fc-0x0;var _0x5893c1=_0x44d1[_0x1832fc];return _0x5893c1;};'use strict';var _=require('lodash');var util=require('util');var logger=require(_0x144d('0x0'))(_0x144d('0x1'));var moment=require(_0x144d('0x2'));var BPromise=require(_0x144d('0x3'));var rp=require(_0x144d('0x4'));var fs=require('fs');var path=require(_0x144d('0x5'));var rimraf=require(_0x144d('0x6'));var config=require('../../config/environment');var attributes=require(_0x144d('0x7'));module[_0x144d('0x8')]=function(_0x288524,_0x17df6c){return _0x288524[_0x144d('0x9')](_0x144d('0xa'),attributes,{'tableName':_0x144d('0xb'),'paranoid':![],'indexes':[],'timestamps':!![]});};