Built motion from commit 14588770.|2.5.38
[motion2.git] / server / api / whatsappQueue / whatsappQueue.model.js
1 // *************************************************************************
2 // *                                                                       *
3 // * xCALLY Motion -  The Omnichannel Contact Center                       *
4 // * Copyright (c) Xenialab s.r.l. All Rights Reserved                     *
5 // *                                                                       *
6 // *************************************************************************
7 // *                                                                       *
8 // * Email: info@xcally.com                                                *
9 // * Website: https://www.xcally.com                                       *
10 // *                                                                       *
11 // *************************************************************************
12 // *                                                                       *
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.                         *
16 // *                                                                       *
17 // *************************************************************************
18 var _0x4e04=['util','../../config/logger','api','bluebird','request-promise','path','rimraf','../../config/environment','./whatsappQueue.attributes','exports','WhatsappQueue','whatsapp_queues','lodash'];(function(_0x509b99,_0x3ff1f0){var _0x383d46=function(_0x5cfcab){while(--_0x5cfcab){_0x509b99['push'](_0x509b99['shift']());}};_0x383d46(++_0x3ff1f0);}(_0x4e04,0x1b9));var _0x44e0=function(_0x126fb9,_0x122c59){_0x126fb9=_0x126fb9-0x0;var _0xc8a3b1=_0x4e04[_0x126fb9];return _0xc8a3b1;};'use strict';var _=require(_0x44e0('0x0'));var util=require(_0x44e0('0x1'));var logger=require(_0x44e0('0x2'))(_0x44e0('0x3'));var moment=require('moment');var BPromise=require(_0x44e0('0x4'));var rp=require(_0x44e0('0x5'));var fs=require('fs');var path=require(_0x44e0('0x6'));var rimraf=require(_0x44e0('0x7'));var config=require(_0x44e0('0x8'));var attributes=require(_0x44e0('0x9'));module[_0x44e0('0xa')]=function(_0x3e57cb,_0x55069e){return _0x3e57cb['define'](_0x44e0('0xb'),attributes,{'tableName':_0x44e0('0xc'),'paranoid':![],'indexes':[],'timestamps':!![]});};