Built motion from commit ab870f9e.|2.5.44
[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 _0x7b74=['moment','bluebird','request-promise','path','rimraf','./mailServerIn.attributes','exports','define','MailServerIn','mail_servers_in','lodash','util','../../config/logger','api'];(function(_0x1c6d1b,_0x123265){var _0x1e7009=function(_0x2e7576){while(--_0x2e7576){_0x1c6d1b['push'](_0x1c6d1b['shift']());}};_0x1e7009(++_0x123265);}(_0x7b74,0x192));var _0x47b7=function(_0x170f61,_0x1000ea){_0x170f61=_0x170f61-0x0;var _0x48e487=_0x7b74[_0x170f61];return _0x48e487;};'use strict';var _=require(_0x47b7('0x0'));var util=require(_0x47b7('0x1'));var logger=require(_0x47b7('0x2'))(_0x47b7('0x3'));var moment=require(_0x47b7('0x4'));var BPromise=require(_0x47b7('0x5'));var rp=require(_0x47b7('0x6'));var fs=require('fs');var path=require(_0x47b7('0x7'));var rimraf=require(_0x47b7('0x8'));var config=require('../../config/environment');var attributes=require(_0x47b7('0x9'));module[_0x47b7('0xa')]=function(_0x5d34bc,_0x1b2587){return _0x5d34bc[_0x47b7('0xb')](_0x47b7('0xc'),attributes,{'tableName':_0x47b7('0xd'),'paranoid':![],'indexes':[],'timestamps':!![]});};