Built motion from commit f7863d46.|2.5.41
[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 _0x0f62=['define','lodash','../../config/logger','api','moment','bluebird','request-promise','rimraf','./userMailQueue.attributes','exports'];(function(_0x2e6de2,_0x385091){var _0x1b2b98=function(_0x4dd9ed){while(--_0x4dd9ed){_0x2e6de2['push'](_0x2e6de2['shift']());}};_0x1b2b98(++_0x385091);}(_0x0f62,0x141));var _0x20f6=function(_0x4f37f6,_0x1c01c8){_0x4f37f6=_0x4f37f6-0x0;var _0x40aba9=_0x0f62[_0x4f37f6];return _0x40aba9;};'use strict';var _=require(_0x20f6('0x0'));var util=require('util');var logger=require(_0x20f6('0x1'))(_0x20f6('0x2'));var moment=require(_0x20f6('0x3'));var BPromise=require(_0x20f6('0x4'));var rp=require(_0x20f6('0x5'));var fs=require('fs');var path=require('path');var rimraf=require(_0x20f6('0x6'));var config=require('../../config/environment');var attributes=require(_0x20f6('0x7'));module[_0x20f6('0x8')]=function(_0x40e38e,_0x41320d){return _0x40e38e[_0x20f6('0x9')]('UserMailQueue',attributes,{'tableName':'user_has_mail_queues','paranoid':![],'indexes':[],'timestamps':!![]});};