Built motion from commit 25580385.|2.6.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 _0xb969=['../../config/logger','request-promise','rimraf','./mailQueue.attributes','exports','define','mail_queues'];(function(_0x422da9,_0x5ae0d3){var _0x9b2166=function(_0x352e8c){while(--_0x352e8c){_0x422da9['push'](_0x422da9['shift']());}};_0x9b2166(++_0x5ae0d3);}(_0xb969,0x1dc));var _0x9b96=function(_0x1cee9a,_0x22feda){_0x1cee9a=_0x1cee9a-0x0;var _0x53afaa=_0xb969[_0x1cee9a];return _0x53afaa;};'use strict';var _=require('lodash');var util=require('util');var logger=require(_0x9b96('0x0'))('api');var moment=require('moment');var BPromise=require('bluebird');var rp=require(_0x9b96('0x1'));var fs=require('fs');var path=require('path');var rimraf=require(_0x9b96('0x2'));var config=require('../../config/environment');var attributes=require(_0x9b96('0x3'));module[_0x9b96('0x4')]=function(_0x4af010,_0x3c8368){return _0x4af010[_0x9b96('0x5')]('MailQueue',attributes,{'tableName':_0x9b96('0x6'),'paranoid':![],'indexes':[],'timestamps':!![]});};