Built motion from commit 52c8a02d.|2.6.29
[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 _0xa350=['define','MailQueue','lodash','util','api','bluebird','request-promise','../../config/environment','./mailQueue.attributes'];(function(_0xf2662b,_0x4d8f41){var _0x257dc7=function(_0x46b1d1){while(--_0x46b1d1){_0xf2662b['push'](_0xf2662b['shift']());}};_0x257dc7(++_0x4d8f41);}(_0xa350,0x14f));var _0x0a35=function(_0x44946b,_0xf874ec){_0x44946b=_0x44946b-0x0;var _0x249bc4=_0xa350[_0x44946b];return _0x249bc4;};'use strict';var _=require(_0x0a35('0x0'));var util=require(_0x0a35('0x1'));var logger=require('../../config/logger')(_0x0a35('0x2'));var moment=require('moment');var BPromise=require(_0x0a35('0x3'));var rp=require(_0x0a35('0x4'));var fs=require('fs');var path=require('path');var rimraf=require('rimraf');var config=require(_0x0a35('0x5'));var attributes=require(_0x0a35('0x6'));module['exports']=function(_0x4100eb,_0x129b7c){return _0x4100eb[_0x0a35('0x7')](_0x0a35('0x8'),attributes,{'tableName':'mail_queues','paranoid':![],'indexes':[],'timestamps':!![]});};