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 _0x18c3=['define','WhatsappQueue','../../config/logger','moment','request-promise','path','rimraf','../../config/environment','./whatsappQueue.attributes','exports'];(function(_0x2e981c,_0x23873c){var _0x26f2ca=function(_0xddd59e){while(--_0xddd59e){_0x2e981c['push'](_0x2e981c['shift']());}};_0x26f2ca(++_0x23873c);}(_0x18c3,0x1a6));var _0x318c=function(_0x53be3d,_0xe510e5){_0x53be3d=_0x53be3d-0x0;var _0x5ad158=_0x18c3[_0x53be3d];return _0x5ad158;};'use strict';var _=require('lodash');var util=require('util');var logger=require(_0x318c('0x0'))('api');var moment=require(_0x318c('0x1'));var BPromise=require('bluebird');var rp=require(_0x318c('0x2'));var fs=require('fs');var path=require(_0x318c('0x3'));var rimraf=require(_0x318c('0x4'));var config=require(_0x318c('0x5'));var attributes=require(_0x318c('0x6'));module[_0x318c('0x7')]=function(_0x54bdee,_0x44067c){return _0x54bdee[_0x318c('0x8')](_0x318c('0x9'),attributes,{'tableName':'whatsapp_queues','paranoid':![],'indexes':[],'timestamps':!![]});};