Built motion from commit 746c7d2a.|2.5.35
[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 _0xbda6=['bluebird','request-promise','../../config/environment','exports','define','whatsapp_queues','lodash','util','../../config/logger','api','moment'];(function(_0x254cb2,_0x122da0){var _0x1b6247=function(_0xa4791){while(--_0xa4791){_0x254cb2['push'](_0x254cb2['shift']());}};_0x1b6247(++_0x122da0);}(_0xbda6,0x17c));var _0x6bda=function(_0x4f0b55,_0x5419a9){_0x4f0b55=_0x4f0b55-0x0;var _0x18c327=_0xbda6[_0x4f0b55];return _0x18c327;};'use strict';var _=require(_0x6bda('0x0'));var util=require(_0x6bda('0x1'));var logger=require(_0x6bda('0x2'))(_0x6bda('0x3'));var moment=require(_0x6bda('0x4'));var BPromise=require(_0x6bda('0x5'));var rp=require(_0x6bda('0x6'));var fs=require('fs');var path=require('path');var rimraf=require('rimraf');var config=require(_0x6bda('0x7'));var attributes=require('./whatsappQueue.attributes');module[_0x6bda('0x8')]=function(_0x127df0,_0x27cf83){return _0x127df0[_0x6bda('0x9')]('WhatsappQueue',attributes,{'tableName':_0x6bda('0xa'),'paranoid':![],'indexes':[],'timestamps':!![]});};