Built motion from commit (unavailable).|2.5.11
[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 _0xe48d=['../../config/environment','./mailQueue.attributes','exports','mail_queues','api','moment','request-promise','path','rimraf'];(function(_0x2b37aa,_0x1d40dc){var _0x52b73d=function(_0x5eb623){while(--_0x5eb623){_0x2b37aa['push'](_0x2b37aa['shift']());}};_0x52b73d(++_0x1d40dc);}(_0xe48d,0x1d8));var _0xde48=function(_0x51e999,_0x1e7e76){_0x51e999=_0x51e999-0x0;var _0x46a243=_0xe48d[_0x51e999];return _0x46a243;};'use strict';var _=require('lodash');var util=require('util');var logger=require('../../config/logger')(_0xde48('0x0'));var moment=require(_0xde48('0x1'));var BPromise=require('bluebird');var rp=require(_0xde48('0x2'));var fs=require('fs');var path=require(_0xde48('0x3'));var rimraf=require(_0xde48('0x4'));var config=require(_0xde48('0x5'));var attributes=require(_0xde48('0x6'));module[_0xde48('0x7')]=function(_0x573ecf,_0x17fe9b){return _0x573ecf['define']('MailQueue',attributes,{'tableName':_0xde48('0x8'),'paranoid':![],'indexes':[],'timestamps':!![]});};