Built motion from commit 9d5c653a.|2.5.44
[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 _0xefe4=['lodash','util','../../config/logger','api','moment','path','../../config/environment','exports','define','user_has_mail_queues'];(function(_0x370877,_0x3641c5){var _0x418b69=function(_0x57d817){while(--_0x57d817){_0x370877['push'](_0x370877['shift']());}};_0x418b69(++_0x3641c5);}(_0xefe4,0x1a4));var _0x4efe=function(_0x176c1e,_0x4c97ef){_0x176c1e=_0x176c1e-0x0;var _0x88a9ec=_0xefe4[_0x176c1e];return _0x88a9ec;};'use strict';var _=require(_0x4efe('0x0'));var util=require(_0x4efe('0x1'));var logger=require(_0x4efe('0x2'))(_0x4efe('0x3'));var moment=require(_0x4efe('0x4'));var BPromise=require('bluebird');var rp=require('request-promise');var fs=require('fs');var path=require(_0x4efe('0x5'));var rimraf=require('rimraf');var config=require(_0x4efe('0x6'));var attributes=require('./userMailQueue.attributes');module[_0x4efe('0x7')]=function(_0x246341,_0x17c55c){return _0x246341[_0x4efe('0x8')]('UserMailQueue',attributes,{'tableName':_0x4efe('0x9'),'paranoid':![],'indexes':[],'timestamps':!![]});};