Built motion from commit fe909640.|2.6.8
[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 _0xb2de=['./mailQueue.attributes','MailQueue','util','../../config/logger','bluebird','request-promise','path','rimraf','../../config/environment'];(function(_0x152121,_0x120c53){var _0x592a85=function(_0x241cab){while(--_0x241cab){_0x152121['push'](_0x152121['shift']());}};_0x592a85(++_0x120c53);}(_0xb2de,0x1c4));var _0xeb2d=function(_0x44c5cc,_0x4a835c){_0x44c5cc=_0x44c5cc-0x0;var _0x48bf71=_0xb2de[_0x44c5cc];return _0x48bf71;};'use strict';var _=require('lodash');var util=require(_0xeb2d('0x0'));var logger=require(_0xeb2d('0x1'))('api');var moment=require('moment');var BPromise=require(_0xeb2d('0x2'));var rp=require(_0xeb2d('0x3'));var fs=require('fs');var path=require(_0xeb2d('0x4'));var rimraf=require(_0xeb2d('0x5'));var config=require(_0xeb2d('0x6'));var attributes=require(_0xeb2d('0x7'));module['exports']=function(_0x5a191b,_0x39142d){return _0x5a191b['define'](_0xeb2d('0x8'),attributes,{'tableName':'mail_queues','paranoid':![],'indexes':[],'timestamps':!![]});};