1a6284906ceabb26c0ad62389910bfcd4d5826f7
[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 _0xefed=['define','lodash','util','../../config/logger','api','moment','bluebird','../../config/environment','./mailServerIn.attributes'];(function(_0x50a0c2,_0x4befab){var _0x5ebadd=function(_0x3a3342){while(--_0x3a3342){_0x50a0c2['push'](_0x50a0c2['shift']());}};_0x5ebadd(++_0x4befab);}(_0xefed,0x91));var _0xdefe=function(_0x5f0089,_0x227e2c){_0x5f0089=_0x5f0089-0x0;var _0x193892=_0xefed[_0x5f0089];return _0x193892;};'use strict';var _=require(_0xdefe('0x0'));var util=require(_0xdefe('0x1'));var logger=require(_0xdefe('0x2'))(_0xdefe('0x3'));var moment=require(_0xdefe('0x4'));var BPromise=require(_0xdefe('0x5'));var rp=require('request-promise');var fs=require('fs');var path=require('path');var rimraf=require('rimraf');var config=require(_0xdefe('0x6'));var attributes=require(_0xdefe('0x7'));module['exports']=function(_0x448082,_0x543f70){return _0x448082[_0xdefe('0x8')]('MailServerIn',attributes,{'tableName':'mail_servers_in','paranoid':![],'indexes':[],'timestamps':!![]});};