Built motion from commit 449495f6.|2.6.27
[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 _0xacef=['../../config/logger','api','bluebird','request-promise','path','rimraf','../../config/environment','./userWhatsappQueue.attributes','user_has_whatsapp_queues','util'];(function(_0x3b0897,_0x2e2ff3){var _0x2b2989=function(_0x34c892){while(--_0x34c892){_0x3b0897['push'](_0x3b0897['shift']());}};_0x2b2989(++_0x2e2ff3);}(_0xacef,0x77));var _0xface=function(_0x518f49,_0x1e6452){_0x518f49=_0x518f49-0x0;var _0x1b0db4=_0xacef[_0x518f49];return _0x1b0db4;};'use strict';var _=require('lodash');var util=require(_0xface('0x0'));var logger=require(_0xface('0x1'))(_0xface('0x2'));var moment=require('moment');var BPromise=require(_0xface('0x3'));var rp=require(_0xface('0x4'));var fs=require('fs');var path=require(_0xface('0x5'));var rimraf=require(_0xface('0x6'));var config=require(_0xface('0x7'));var attributes=require(_0xface('0x8'));module['exports']=function(_0x47b2de,_0x1b0450){return _0x47b2de['define']('UserWhatsappQueue',attributes,{'tableName':_0xface('0x9'),'paranoid':![],'indexes':[],'timestamps':!![]});};