Built motion from commit 19a84241.|2.5.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 _0x2580=['../../config/environment','define','mail_servers_in','lodash','util','api','moment','request-promise','path','rimraf'];(function(_0x49b485,_0x59d3cc){var _0x309fe7=function(_0x3cf21b){while(--_0x3cf21b){_0x49b485['push'](_0x49b485['shift']());}};_0x309fe7(++_0x59d3cc);}(_0x2580,0xf3));var _0x0258=function(_0x356096,_0x411ddb){_0x356096=_0x356096-0x0;var _0x5bc2ef=_0x2580[_0x356096];return _0x5bc2ef;};'use strict';var _=require(_0x0258('0x0'));var util=require(_0x0258('0x1'));var logger=require('../../config/logger')(_0x0258('0x2'));var moment=require(_0x0258('0x3'));var BPromise=require('bluebird');var rp=require(_0x0258('0x4'));var fs=require('fs');var path=require(_0x0258('0x5'));var rimraf=require(_0x0258('0x6'));var config=require(_0x0258('0x7'));var attributes=require('./mailServerIn.attributes');module['exports']=function(_0x48f7ee,_0x23dcfe){return _0x48f7ee[_0x0258('0x8')]('MailServerIn',attributes,{'tableName':_0x0258('0x9'),'paranoid':![],'indexes':[],'timestamps':!![]});};