Built motion from commit f74363e9.|2.6.34
[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 _0x9c82=['util','../../config/logger','api','moment','bluebird','path','./mailServerIn.attributes','exports','define','mail_servers_in','lodash'];(function(_0x29859f,_0x2f7896){var _0x3a4118=function(_0x724cc7){while(--_0x724cc7){_0x29859f['push'](_0x29859f['shift']());}};_0x3a4118(++_0x2f7896);}(_0x9c82,0xd0));var _0x29c8=function(_0x8fd540,_0xdeae87){_0x8fd540=_0x8fd540-0x0;var _0xcc2f35=_0x9c82[_0x8fd540];return _0xcc2f35;};'use strict';var _=require(_0x29c8('0x0'));var util=require(_0x29c8('0x1'));var logger=require(_0x29c8('0x2'))(_0x29c8('0x3'));var moment=require(_0x29c8('0x4'));var BPromise=require(_0x29c8('0x5'));var rp=require('request-promise');var fs=require('fs');var path=require(_0x29c8('0x6'));var rimraf=require('rimraf');var config=require('../../config/environment');var attributes=require(_0x29c8('0x7'));module[_0x29c8('0x8')]=function(_0x3eb7ef,_0xea9bb4){return _0x3eb7ef[_0x29c8('0x9')]('MailServerIn',attributes,{'tableName':_0x29c8('0xa'),'paranoid':![],'indexes':[],'timestamps':!![]});};