Built motion from commit da24aabd.|2.6.20
[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 _0xe3e6=['exports','define','UserWhatsappQueue','lodash','../../config/logger','moment','bluebird','request-promise','path','rimraf','../../config/environment','./userWhatsappQueue.attributes'];(function(_0x59a803,_0x18d193){var _0x22b534=function(_0x1b1254){while(--_0x1b1254){_0x59a803['push'](_0x59a803['shift']());}};_0x22b534(++_0x18d193);}(_0xe3e6,0x123));var _0x6e3e=function(_0x4207f4,_0x1f778b){_0x4207f4=_0x4207f4-0x0;var _0x29a621=_0xe3e6[_0x4207f4];return _0x29a621;};'use strict';var _=require(_0x6e3e('0x0'));var util=require('util');var logger=require(_0x6e3e('0x1'))('api');var moment=require(_0x6e3e('0x2'));var BPromise=require(_0x6e3e('0x3'));var rp=require(_0x6e3e('0x4'));var fs=require('fs');var path=require(_0x6e3e('0x5'));var rimraf=require(_0x6e3e('0x6'));var config=require(_0x6e3e('0x7'));var attributes=require(_0x6e3e('0x8'));module[_0x6e3e('0x9')]=function(_0x337f5a,_0x3d2ad5){return _0x337f5a[_0x6e3e('0xa')](_0x6e3e('0xb'),attributes,{'tableName':'user_has_whatsapp_queues','paranoid':![],'indexes':[],'timestamps':!![]});};