Built motion from commit (unavailable).|2.5.4
[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 _0xcef5=['bluebird','path','./mailServerOut.attributes','define','mail_servers_out','lodash','../../config/logger'];(function(_0x10a6c5,_0x3b8168){var _0x79e4b8=function(_0x4699c8){while(--_0x4699c8){_0x10a6c5['push'](_0x10a6c5['shift']());}};_0x79e4b8(++_0x3b8168);}(_0xcef5,0x1c5));var _0x5cef=function(_0x531eb8,_0x2460ac){_0x531eb8=_0x531eb8-0x0;var _0x59e715=_0xcef5[_0x531eb8];return _0x59e715;};'use strict';var _=require(_0x5cef('0x0'));var util=require('util');var logger=require(_0x5cef('0x1'))('api');var moment=require('moment');var BPromise=require(_0x5cef('0x2'));var rp=require('request-promise');var fs=require('fs');var path=require(_0x5cef('0x3'));var rimraf=require('rimraf');var config=require('../../config/environment');var attributes=require(_0x5cef('0x4'));module['exports']=function(_0x5a96e9,_0x26336f){return _0x5a96e9[_0x5cef('0x5')]('MailServerOut',attributes,{'tableName':_0x5cef('0x6'),'paranoid':![],'indexes':[],'timestamps':!![]});};