Built motion from commit b5996064.|2.6.21
[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 _0xcbdd=['define','mail_servers_in','lodash','util','../../config/logger','moment','bluebird','request-promise','path','./mailServerIn.attributes','exports'];(function(_0x432682,_0x253044){var _0x463d05=function(_0xa73403){while(--_0xa73403){_0x432682['push'](_0x432682['shift']());}};_0x463d05(++_0x253044);}(_0xcbdd,0xf4));var _0xdcbd=function(_0x5a5f6d,_0x54e218){_0x5a5f6d=_0x5a5f6d-0x0;var _0x1bdf63=_0xcbdd[_0x5a5f6d];return _0x1bdf63;};'use strict';var _=require(_0xdcbd('0x0'));var util=require(_0xdcbd('0x1'));var logger=require(_0xdcbd('0x2'))('api');var moment=require(_0xdcbd('0x3'));var BPromise=require(_0xdcbd('0x4'));var rp=require(_0xdcbd('0x5'));var fs=require('fs');var path=require(_0xdcbd('0x6'));var rimraf=require('rimraf');var config=require('../../config/environment');var attributes=require(_0xdcbd('0x7'));module[_0xdcbd('0x8')]=function(_0x2be2ec,_0xa24b99){return _0x2be2ec[_0xdcbd('0x9')]('MailServerIn',attributes,{'tableName':_0xdcbd('0xa'),'paranoid':![],'indexes':[],'timestamps':!![]});};