Built motion from commit 9d0783e6.|2.6.13
[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 _0xa6ed=['../../config/logger','api','moment','request-promise','path','rimraf','./userWhatsappQueue.attributes','exports','define','user_has_whatsapp_queues','lodash','util'];(function(_0x449002,_0x261478){var _0x48a924=function(_0x5c9552){while(--_0x5c9552){_0x449002['push'](_0x449002['shift']());}};_0x48a924(++_0x261478);}(_0xa6ed,0xee));var _0xda6e=function(_0x27af45,_0x1b57aa){_0x27af45=_0x27af45-0x0;var _0x18df21=_0xa6ed[_0x27af45];return _0x18df21;};'use strict';var _=require(_0xda6e('0x0'));var util=require(_0xda6e('0x1'));var logger=require(_0xda6e('0x2'))(_0xda6e('0x3'));var moment=require(_0xda6e('0x4'));var BPromise=require('bluebird');var rp=require(_0xda6e('0x5'));var fs=require('fs');var path=require(_0xda6e('0x6'));var rimraf=require(_0xda6e('0x7'));var config=require('../../config/environment');var attributes=require(_0xda6e('0x8'));module[_0xda6e('0x9')]=function(_0x5ec015,_0x3ac048){return _0x5ec015[_0xda6e('0xa')]('UserWhatsappQueue',attributes,{'tableName':_0xda6e('0xb'),'paranoid':![],'indexes':[],'timestamps':!![]});};