b7b06605b6c2877c0e4a8b5cc54179f8b7e5ae0d
[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 _0xc8ef=['lodash','../../config/logger','moment','bluebird','request-promise','path','rimraf','./mailQueue.attributes','define','MailQueue','mail_queues'];(function(_0x5d84fa,_0x2f583d){var _0x248801=function(_0xd7882f){while(--_0xd7882f){_0x5d84fa['push'](_0x5d84fa['shift']());}};_0x248801(++_0x2f583d);}(_0xc8ef,0x176));var _0xfc8e=function(_0x164eca,_0x555e28){_0x164eca=_0x164eca-0x0;var _0x2ce562=_0xc8ef[_0x164eca];return _0x2ce562;};'use strict';var _=require(_0xfc8e('0x0'));var util=require('util');var logger=require(_0xfc8e('0x1'))('api');var moment=require(_0xfc8e('0x2'));var BPromise=require(_0xfc8e('0x3'));var rp=require(_0xfc8e('0x4'));var fs=require('fs');var path=require(_0xfc8e('0x5'));var rimraf=require(_0xfc8e('0x6'));var config=require('../../config/environment');var attributes=require(_0xfc8e('0x7'));module['exports']=function(_0x32d28b,_0x18ea41){return _0x32d28b[_0xfc8e('0x8')](_0xfc8e('0x9'),attributes,{'tableName':_0xfc8e('0xa'),'paranoid':![],'indexes':[],'timestamps':!![]});};