Built motion from commit (unavailable).|2.5.2
[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 _0x6ffd=['../../config/environment','./mailQueue.attributes','exports','MailQueue','mail_queues','lodash','util','api','bluebird','request-promise','path','rimraf'];(function(_0x499a43,_0x3cbee7){var _0x4e607e=function(_0xd7f146){while(--_0xd7f146){_0x499a43['push'](_0x499a43['shift']());}};_0x4e607e(++_0x3cbee7);}(_0x6ffd,0xd1));var _0xd6ff=function(_0x108505,_0x1de738){_0x108505=_0x108505-0x0;var _0x47102c=_0x6ffd[_0x108505];return _0x47102c;};'use strict';var _=require(_0xd6ff('0x0'));var util=require(_0xd6ff('0x1'));var logger=require('../../config/logger')(_0xd6ff('0x2'));var moment=require('moment');var BPromise=require(_0xd6ff('0x3'));var rp=require(_0xd6ff('0x4'));var fs=require('fs');var path=require(_0xd6ff('0x5'));var rimraf=require(_0xd6ff('0x6'));var config=require(_0xd6ff('0x7'));var attributes=require(_0xd6ff('0x8'));module[_0xd6ff('0x9')]=function(_0x535f75,_0x528b4c){return _0x535f75['define'](_0xd6ff('0xa'),attributes,{'tableName':_0xd6ff('0xb'),'paranoid':![],'indexes':[],'timestamps':!![]});};