Built motion from commit 67e5df37.|2.0.66
[motion2.git] / server / api / userMailQueue / userMailQueue.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 _0x119c=['define','user_has_mail_queues','util','api','moment','bluebird','./userMailQueue.attributes','exports'];(function(_0x51637e,_0x1e574f){var _0x22633a=function(_0x543232){while(--_0x543232){_0x51637e['push'](_0x51637e['shift']());}};_0x22633a(++_0x1e574f);}(_0x119c,0xea));var _0xc119=function(_0x2c96f6,_0x877207){_0x2c96f6=_0x2c96f6-0x0;var _0x6d4808=_0x119c[_0x2c96f6];return _0x6d4808;};'use strict';var _=require('lodash');var util=require(_0xc119('0x0'));var logger=require('../../config/logger')(_0xc119('0x1'));var moment=require(_0xc119('0x2'));var BPromise=require(_0xc119('0x3'));var rp=require('request-promise');var attributes=require(_0xc119('0x4'));module[_0xc119('0x5')]=function(_0x3a0d7f,_0x573014){return _0x3a0d7f[_0xc119('0x6')]('UserMailQueue',attributes,{'tableName':_0xc119('0x7'),'paranoid':![],'indexes':[],'timestamps':!![]});};