Built motion from commit 19a84241.|2.5.34
[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 _0x283e=['define','mail_servers_out','lodash','api','moment','bluebird','rimraf','../../config/environment'];(function(_0x5d8e69,_0x5304b1){var _0x2e6045=function(_0x11639e){while(--_0x11639e){_0x5d8e69['push'](_0x5d8e69['shift']());}};_0x2e6045(++_0x5304b1);}(_0x283e,0x14a));var _0xe283=function(_0x3dd15e,_0x1f0015){_0x3dd15e=_0x3dd15e-0x0;var _0x231fd0=_0x283e[_0x3dd15e];return _0x231fd0;};'use strict';var _=require(_0xe283('0x0'));var util=require('util');var logger=require('../../config/logger')(_0xe283('0x1'));var moment=require(_0xe283('0x2'));var BPromise=require(_0xe283('0x3'));var rp=require('request-promise');var fs=require('fs');var path=require('path');var rimraf=require(_0xe283('0x4'));var config=require(_0xe283('0x5'));var attributes=require('./mailServerOut.attributes');module['exports']=function(_0x2ddb6d,_0x16106d){return _0x2ddb6d[_0xe283('0x6')]('MailServerOut',attributes,{'tableName':_0xe283('0x7'),'paranoid':![],'indexes':[],'timestamps':!![]});};