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 _0xfe7c=['lodash','../../config/logger','moment','bluebird','request-promise','path','rimraf','./whatsappQueue.attributes','exports','define'];(function(_0x2584a8,_0x2b9369){var _0x4687d4=function(_0x5c12ae){while(--_0x5c12ae){_0x2584a8['push'](_0x2584a8['shift']());}};_0x4687d4(++_0x2b9369);}(_0xfe7c,0x1c2));var _0xcfe7=function(_0x350d78,_0x57f352){_0x350d78=_0x350d78-0x0;var _0x25385a=_0xfe7c[_0x350d78];return _0x25385a;};'use strict';var _=require(_0xcfe7('0x0'));var util=require('util');var logger=require(_0xcfe7('0x1'))('api');var moment=require(_0xcfe7('0x2'));var BPromise=require(_0xcfe7('0x3'));var rp=require(_0xcfe7('0x4'));var fs=require('fs');var path=require(_0xcfe7('0x5'));var rimraf=require(_0xcfe7('0x6'));var config=require('../../config/environment');var attributes=require(_0xcfe7('0x7'));module[_0xcfe7('0x8')]=function(_0x2dae35,_0x512d5d){return _0x2dae35[_0xcfe7('0x9')]('WhatsappQueue',attributes,{'tableName':'whatsapp_queues','paranoid':![],'indexes':[],'timestamps':!![]});};