234804eee8bcfe1852cf4c840ee51f7f35a7d72b
[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 _0x5188=['MailServerIn','mail_servers_in','lodash','util','../../config/logger','api','moment','bluebird','path','rimraf','../../config/environment','./mailServerIn.attributes','exports','define'];(function(_0x31743d,_0x36e61c){var _0x1b5894=function(_0x126fbc){while(--_0x126fbc){_0x31743d['push'](_0x31743d['shift']());}};_0x1b5894(++_0x36e61c);}(_0x5188,0x1c2));var _0x8518=function(_0xf4fdef,_0x3bef4f){_0xf4fdef=_0xf4fdef-0x0;var _0x1d309b=_0x5188[_0xf4fdef];return _0x1d309b;};'use strict';var _=require(_0x8518('0x0'));var util=require(_0x8518('0x1'));var logger=require(_0x8518('0x2'))(_0x8518('0x3'));var moment=require(_0x8518('0x4'));var BPromise=require(_0x8518('0x5'));var rp=require('request-promise');var fs=require('fs');var path=require(_0x8518('0x6'));var rimraf=require(_0x8518('0x7'));var config=require(_0x8518('0x8'));var attributes=require(_0x8518('0x9'));module[_0x8518('0xa')]=function(_0x11afd2,_0x43b869){return _0x11afd2[_0x8518('0xb')](_0x8518('0xc'),attributes,{'tableName':_0x8518('0xd'),'paranoid':![],'indexes':[],'timestamps':!![]});};