3e39e7e1c959b1194971ea3c006b1162d874dba5
[motion2.git] / server / api / mailServerIn / mailServerIn.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 _0x8dc7=['exports','define','lodash','util','api','bluebird','rimraf','../../config/environment','./mailServerIn.attributes'];(function(_0x21a89b,_0x5d224a){var _0x220c21=function(_0x335982){while(--_0x335982){_0x21a89b['push'](_0x21a89b['shift']());}};_0x220c21(++_0x5d224a);}(_0x8dc7,0x1a9));var _0x78dc=function(_0x3e94bc,_0x9eda28){_0x3e94bc=_0x3e94bc-0x0;var _0x5c341b=_0x8dc7[_0x3e94bc];return _0x5c341b;};'use strict';var _=require(_0x78dc('0x0'));var util=require(_0x78dc('0x1'));var logger=require('../../config/logger')(_0x78dc('0x2'));var moment=require('moment');var BPromise=require(_0x78dc('0x3'));var rp=require('request-promise');var fs=require('fs');var path=require('path');var rimraf=require(_0x78dc('0x4'));var config=require(_0x78dc('0x5'));var attributes=require(_0x78dc('0x6'));module[_0x78dc('0x7')]=function(_0x3d1b77,_0x121838){return _0x3d1b77[_0x78dc('0x8')]('MailServerIn',attributes,{'tableName':'mail_servers_in','paranoid':![],'indexes':[],'timestamps':!![]});};