c0b8d9e986d92db1266edb700d0e94e43dfceaa5
[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 _0xf916=['MailServerIn','lodash','util','../../config/logger','api','moment','bluebird','rimraf','../../config/environment','exports','define'];(function(_0x16a234,_0x32d113){var _0x11bacd=function(_0x1e27a2){while(--_0x1e27a2){_0x16a234['push'](_0x16a234['shift']());}};_0x11bacd(++_0x32d113);}(_0xf916,0x14b));var _0x6f91=function(_0x1314e5,_0x1d9265){_0x1314e5=_0x1314e5-0x0;var _0x3b0982=_0xf916[_0x1314e5];return _0x3b0982;};'use strict';var _=require(_0x6f91('0x0'));var util=require(_0x6f91('0x1'));var logger=require(_0x6f91('0x2'))(_0x6f91('0x3'));var moment=require(_0x6f91('0x4'));var BPromise=require(_0x6f91('0x5'));var rp=require('request-promise');var fs=require('fs');var path=require('path');var rimraf=require(_0x6f91('0x6'));var config=require(_0x6f91('0x7'));var attributes=require('./mailServerIn.attributes');module[_0x6f91('0x8')]=function(_0x11f0ff,_0x3bdef0){return _0x11f0ff[_0x6f91('0x9')](_0x6f91('0xa'),attributes,{'tableName':'mail_servers_in','paranoid':![],'indexes':[],'timestamps':!![]});};