05c679f1651fe4aa6c0f5238e9fcf6ba8eb4d2c7
[motion2.git] / server / api / mailServerOut / mailServerOut.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 _0x52dc=['exports','MailServerOut','mail_servers_out','util','../../config/logger','api','moment','rimraf','./mailServerOut.attributes'];(function(_0xed20db,_0x2efd04){var _0x12fb5d=function(_0x53dab5){while(--_0x53dab5){_0xed20db['push'](_0xed20db['shift']());}};_0x12fb5d(++_0x2efd04);}(_0x52dc,0x81));var _0xc52d=function(_0x407710,_0x40def5){_0x407710=_0x407710-0x0;var _0x18c701=_0x52dc[_0x407710];return _0x18c701;};'use strict';var _=require('lodash');var util=require(_0xc52d('0x0'));var logger=require(_0xc52d('0x1'))(_0xc52d('0x2'));var moment=require(_0xc52d('0x3'));var BPromise=require('bluebird');var rp=require('request-promise');var fs=require('fs');var path=require('path');var rimraf=require(_0xc52d('0x4'));var config=require('../../config/environment');var attributes=require(_0xc52d('0x5'));module[_0xc52d('0x6')]=function(_0x1ea8b4,_0x1b6575){return _0x1ea8b4['define'](_0xc52d('0x7'),attributes,{'tableName':_0xc52d('0x8'),'paranoid':![],'indexes':[],'timestamps':!![]});};