Built motion from commit 3c2ce842.|2.6.31
[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 _0xa77e=['../../config/logger','api','moment','bluebird','path','rimraf','../../config/environment','./mailQueue.attributes','exports','MailQueue','lodash','util'];(function(_0x5d6456,_0x58ecc7){var _0x4d66c1=function(_0x4335e3){while(--_0x4335e3){_0x5d6456['push'](_0x5d6456['shift']());}};_0x4d66c1(++_0x58ecc7);}(_0xa77e,0x142));var _0xea77=function(_0x2c5487,_0x4a08c6){_0x2c5487=_0x2c5487-0x0;var _0x14e4a5=_0xa77e[_0x2c5487];return _0x14e4a5;};'use strict';var _=require(_0xea77('0x0'));var util=require(_0xea77('0x1'));var logger=require(_0xea77('0x2'))(_0xea77('0x3'));var moment=require(_0xea77('0x4'));var BPromise=require(_0xea77('0x5'));var rp=require('request-promise');var fs=require('fs');var path=require(_0xea77('0x6'));var rimraf=require(_0xea77('0x7'));var config=require(_0xea77('0x8'));var attributes=require(_0xea77('0x9'));module[_0xea77('0xa')]=function(_0x40d2eb,_0x436cec){return _0x40d2eb['define'](_0xea77('0xb'),attributes,{'tableName':'mail_queues','paranoid':![],'indexes':[],'timestamps':!![]});};