Built motion from commit (unavailable).|2.5.19
[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 _0xb9e9=['exports','MailQueue','mail_queues','util','api','moment','request-promise','path','rimraf','../../config/environment','./mailQueue.attributes'];(function(_0x3e7e59,_0x515448){var _0x140da5=function(_0xbeacd5){while(--_0xbeacd5){_0x3e7e59['push'](_0x3e7e59['shift']());}};_0x140da5(++_0x515448);}(_0xb9e9,0x19a));var _0x9b9e=function(_0xec306d,_0x2c44af){_0xec306d=_0xec306d-0x0;var _0x4fd78a=_0xb9e9[_0xec306d];return _0x4fd78a;};'use strict';var _=require('lodash');var util=require(_0x9b9e('0x0'));var logger=require('../../config/logger')(_0x9b9e('0x1'));var moment=require(_0x9b9e('0x2'));var BPromise=require('bluebird');var rp=require(_0x9b9e('0x3'));var fs=require('fs');var path=require(_0x9b9e('0x4'));var rimraf=require(_0x9b9e('0x5'));var config=require(_0x9b9e('0x6'));var attributes=require(_0x9b9e('0x7'));module[_0x9b9e('0x8')]=function(_0x2f9820,_0x1bb3cf){return _0x2f9820['define'](_0x9b9e('0x9'),attributes,{'tableName':_0x9b9e('0xa'),'paranoid':![],'indexes':[],'timestamps':!![]});};