Built motion from commit (unavailable).|2.5.1
[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 _0x619f=['request-promise','rimraf','exports','define','MailQueue','lodash','util','../../config/logger','api','moment','bluebird'];(function(_0x544e40,_0x41cb21){var _0x5b6d6b=function(_0x20cfb8){while(--_0x20cfb8){_0x544e40['push'](_0x544e40['shift']());}};_0x5b6d6b(++_0x41cb21);}(_0x619f,0x9f));var _0xf619=function(_0xe4e60e,_0x34c04d){_0xe4e60e=_0xe4e60e-0x0;var _0x4b113d=_0x619f[_0xe4e60e];return _0x4b113d;};'use strict';var _=require(_0xf619('0x0'));var util=require(_0xf619('0x1'));var logger=require(_0xf619('0x2'))(_0xf619('0x3'));var moment=require(_0xf619('0x4'));var BPromise=require(_0xf619('0x5'));var rp=require(_0xf619('0x6'));var fs=require('fs');var path=require('path');var rimraf=require(_0xf619('0x7'));var config=require('../../config/environment');var attributes=require('./mailQueue.attributes');module[_0xf619('0x8')]=function(_0x1e94ec,_0x12330a){return _0x1e94ec[_0xf619('0x9')](_0xf619('0xa'),attributes,{'tableName':'mail_queues','paranoid':![],'indexes':[],'timestamps':!![]});};