Built motion from commit 85328c08.|2.5.50
[motion2.git] / server / api / userWhatsappQueue / userWhatsappQueue.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 _0xaf1e=['define','UserWhatsappQueue','lodash','util','api','moment','bluebird','request-promise','path','rimraf','../../config/environment','./userWhatsappQueue.attributes','exports'];(function(_0xcc20c0,_0x3cc91c){var _0x17c59f=function(_0x2486d9){while(--_0x2486d9){_0xcc20c0['push'](_0xcc20c0['shift']());}};_0x17c59f(++_0x3cc91c);}(_0xaf1e,0x147));var _0xeaf1=function(_0x28233c,_0xbcb6f8){_0x28233c=_0x28233c-0x0;var _0x38288b=_0xaf1e[_0x28233c];return _0x38288b;};'use strict';var _=require(_0xeaf1('0x0'));var util=require(_0xeaf1('0x1'));var logger=require('../../config/logger')(_0xeaf1('0x2'));var moment=require(_0xeaf1('0x3'));var BPromise=require(_0xeaf1('0x4'));var rp=require(_0xeaf1('0x5'));var fs=require('fs');var path=require(_0xeaf1('0x6'));var rimraf=require(_0xeaf1('0x7'));var config=require(_0xeaf1('0x8'));var attributes=require(_0xeaf1('0x9'));module[_0xeaf1('0xa')]=function(_0x8fbd6b,_0x51484b){return _0x8fbd6b[_0xeaf1('0xb')](_0xeaf1('0xc'),attributes,{'tableName':'user_has_whatsapp_queues','paranoid':![],'indexes':[],'timestamps':!![]});};