Built motion from commit 85328c08.|2.5.50
[motion2.git] / server / api / mailQueue / mailQueue.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 _0x3fed=['bluebird','request-promise','path','rimraf','../../config/environment','./mailQueue.attributes','define','MailQueue','mail_queues','util','../../config/logger','api'];(function(_0x237933,_0x2a5a52){var _0x206c5e=function(_0x2ddc0f){while(--_0x2ddc0f){_0x237933['push'](_0x237933['shift']());}};_0x206c5e(++_0x2a5a52);}(_0x3fed,0xf9));var _0xd3fe=function(_0x2a85ee,_0x1e9be0){_0x2a85ee=_0x2a85ee-0x0;var _0x36d691=_0x3fed[_0x2a85ee];return _0x36d691;};'use strict';var _=require('lodash');var util=require(_0xd3fe('0x0'));var logger=require(_0xd3fe('0x1'))(_0xd3fe('0x2'));var moment=require('moment');var BPromise=require(_0xd3fe('0x3'));var rp=require(_0xd3fe('0x4'));var fs=require('fs');var path=require(_0xd3fe('0x5'));var rimraf=require(_0xd3fe('0x6'));var config=require(_0xd3fe('0x7'));var attributes=require(_0xd3fe('0x8'));module['exports']=function(_0x2b615d,_0x103c99){return _0x2b615d[_0xd3fe('0x9')](_0xd3fe('0xa'),attributes,{'tableName':_0xd3fe('0xb'),'paranoid':![],'indexes':[],'timestamps':!![]});};