Built motion from commit ce9a7520.|2.5.39
[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 _0xcc14=['./userMailQueue.attributes','exports','user_has_mail_queues','lodash','util','api','moment','bluebird','request-promise','../../config/environment'];(function(_0x42bdad,_0x12836c){var _0x122626=function(_0x2eb29c){while(--_0x2eb29c){_0x42bdad['push'](_0x42bdad['shift']());}};_0x122626(++_0x12836c);}(_0xcc14,0x17f));var _0x4cc1=function(_0x369132,_0x2f7730){_0x369132=_0x369132-0x0;var _0x749393=_0xcc14[_0x369132];return _0x749393;};'use strict';var _=require(_0x4cc1('0x0'));var util=require(_0x4cc1('0x1'));var logger=require('../../config/logger')(_0x4cc1('0x2'));var moment=require(_0x4cc1('0x3'));var BPromise=require(_0x4cc1('0x4'));var rp=require(_0x4cc1('0x5'));var fs=require('fs');var path=require('path');var rimraf=require('rimraf');var config=require(_0x4cc1('0x6'));var attributes=require(_0x4cc1('0x7'));module[_0x4cc1('0x8')]=function(_0x3d0e6f,_0x307ed8){return _0x3d0e6f['define']('UserMailQueue',attributes,{'tableName':_0x4cc1('0x9'),'paranoid':![],'indexes':[],'timestamps':!![]});};